Hartmut Holzgraefe
0e71d0b341
Merge branch 'PoiMarker-python3' of https://github.com/hholzgra/ocitysmap into PoiMarker-python3
2018-02-01 23:58:09 +01:00
Hartmut Holzgraefe
07d60e7d57
some more Python3 fixes that had gone unnoticed so far
2018-02-01 23:57:07 +01:00
Hartmut Holzgraefe
ea7fb4a76c
fix height calculation
2017-12-29 16:43:15 +01:00
Hartmut Holzgraefe
9fdcb2cc85
set up logging for surveillance plugin
2017-12-29 16:39:58 +01:00
Hartmut Holzgraefe
f7c2855cc3
add support for hungarian language
2017-12-27 19:03:42 +01:00
Hartmut Holzgraefe
4aae23d00e
provide hints for portrait vs. landscape based on aspect ratio
2017-12-27 19:02:52 +01:00
Hartmut Holzgraefe
a1215b5ae8
error handling hack on multipage scale exceptions
2017-12-27 19:01:50 +01:00
Hartmut Holzgraefe
264c96eb40
only add border polygon shading on real border polygons, not bboxes
...
(like single page has done for a while already)
2017-12-27 19:00:45 +01:00
Hartmut Holzgraefe
7f481eae7d
show page by page progress on multipage maps
2017-12-27 19:00:16 +01:00
Hartmut Holzgraefe
7fb66be1e0
assume defaults for missing tags, to make the result more similar to
...
the original
2017-12-27 18:44:22 +01:00
Hartmut Holzgraefe
7fa4655aec
create CSV street list using utf-8 encoding
2017-12-10 12:20:08 +00:00
Hartmut Holzgraefe
adf238eb44
only draw "outside of border" shadow shape when using a real border polygon
2017-10-05 22:06:05 +00:00
Hartmut Holzgraefe
10db5e8a3b
python3 fix
2017-10-05 22:05:21 +00:00
Hartmut Holzgraefe
2803d08fa7
fix locale/i18n related error reporting
2017-09-30 01:26:25 +02:00
Hartmut Holzgraefe
25b68fe02d
added hungarian translation provided by Gábor Babos
2017-09-30 00:31:31 +02:00
Hartmut Holzgraefe
f93e2bb61e
only put shade on area outside the selected polygon when it is
...
an actual boundary polygon, not for simple bounding boxes
(like we already did for single page renderers for quite a while)
2017-09-23 10:31:32 +00:00
Hartmut Holzgraefe
dbdf30c07b
can't use map() for pure side effects in Python 3
2017-09-23 10:25:05 +00:00
Hartmut Holzgraefe
e8f2faff6e
make grid lines work with python3 again
2017-09-20 22:59:08 +00:00
Hartmut Holzgraefe
536f3f5580
final(?) python3 fixes
2017-09-17 19:56:43 +00:00
Hartmut Holzgraefe
dfc50931a7
yet another batch of Python v3 fixes
2017-09-11 16:24:09 +00:00
Hartmut Holzgraefe
3be7135696
even more python2 -> python3 porting work (still in progress)
2017-09-08 22:56:42 +00:00
Hartmut Holzgraefe
3e1e8f13fd
more python2 -> python3 porting work (still in progress)
2017-09-06 22:09:37 +00:00
Hartmut Holzgraefe
8bd7131f19
first steps towards supporting both python 2 and 3
2017-09-05 22:56:46 +00:00
Hartmut Holzgraefe
8793a4f144
have frame line width independant of dpi setting
2017-08-23 20:12:14 +00:00
Hartmut Holzgraefe
a9e95b31b3
fixed paper format filter after changing Din names in master list
...
TODO: have separate lists instead of this hack
2017-08-23 20:09:42 +00:00
Hartmut Holzgraefe
fbb0199566
added scale information to scale bar
2017-08-15 08:33:21 +00:00
Hartmut Holzgraefe
77381a5321
code cleanup and make scaling work properly across all output formats
2017-08-14 19:23:16 +00:00
Hartmut Holzgraefe
b49c20dbc6
make "single page without index" first layout option
2017-08-14 11:12:45 +02:00
Hartmut Holzgraefe
5ee9f2bd63
2nd take at scale bar, now taking same scale as grid width, and with text
2017-08-14 08:02:58 +00:00
Hartmut Holzgraefe
e1ec7e1e91
ignore vim swap files
2017-08-14 06:55:15 +00:00
Hartmut Holzgraefe
fa17a68cb8
first map scale bar experiment
...
based on https://github.com/jonnyhuck/mapnik-scalebar
2017-08-14 06:53:58 +00:00
Hartmut Holzgraefe
e8b9690151
changed grid column/row limitation threshold, and scaling logic
...
now preventing double letters only, not double digits, and keeping
the 1/2/2.5/5 scheme instead of growing in steps of 5%
2017-08-14 08:45:07 +02:00
Hartmut Holzgraefe
5bd9c50677
whitespace
2017-08-14 08:44:47 +02:00
Hartmut Holzgraefe
f7de340217
added "DIN" prefix for german DIN standard formats,
...
and a "2x A0" size as some print services offer this format
2017-08-14 08:43:42 +02:00
Hartmut Holzgraefe
135dc53d6f
separated rendering of cameare view fields and survellance symbols,
...
implemented true field of view scaling across all zoom levels
2017-08-12 17:07:10 +00:00
Hartmut Holzgraefe
bcf6562f4e
support textual direction values in addition to numeric ones
2017-08-12 17:03:06 +00:00
Hartmut Holzgraefe
3a334830a7
had accidentially swapped public and outdoor fixed camera images
2017-08-12 10:58:29 +00:00
Hartmut Holzgraefe
6bacd74de6
use math.pi constant in conversion formulas
2017-08-11 23:15:02 +00:00
Hartmut Holzgraefe
0f6a6fa6b7
fixed stupid file rename error
2017-08-11 21:26:29 +00:00
Hartmut Holzgraefe
3426fac8ce
switching to a "one subdirectory per plugin" scheme
2017-08-11 17:44:59 +00:00
Hartmut Holzgraefe
023ee9dbbb
fixing code from previous commit
2017-08-11 17:44:12 +00:00
Hartmut Holzgraefe
387514027e
renamed scale to svg_scale in preparation for passing actual map
...
scale into the plugin render callback
2017-08-11 16:56:47 +00:00
Hartmut Holzgraefe
783ed8fefe
added support for different camera types (fixed, panning) and for
...
additional surveillance types (guard, automatic license plate readers)
2017-08-11 15:39:58 +00:00
Hartmut Holzgraefe
138db93230
fixed typo in speed camera file name
2017-08-11 13:18:29 +00:00
Hartmut Holzgraefe
7a6f33ea1d
additional images for fixed and panning cameras
...
mimicing the new "surveillance under surveillance" icons
2017-08-11 14:58:00 +02:00
Hartmut Holzgraefe
63344a286b
use camera angle for viewing distance calculation, not as field of
...
view angle (i mis-understood that originally)
default values for angle and height are now the same as in the
"surveillance under surveillance" online map
TODO: still doesn't properly take zoom level / scale into account
2017-08-10 22:30:34 +00:00
Hartmut Holzgraefe
6ff619ed49
no viewing area plotting for indoor cameras
2017-08-08 22:31:52 +00:00
Hartmut Holzgraefe
e5e4b1face
added GPX bounding box parsing / processing
2017-07-01 11:18:22 +00:00
Hartmut Holzgraefe
ca95659890
added support for rendering GPX files passed by command line
...
(only in single page renderer for now)
2017-05-23 01:22:53 +02:00
Hartmut Holzgraefe
0e8b38a785
updated OSM copyright link and updated translations accordingly
2017-04-05 19:22:20 +02:00