Hartmut Holzgraefe
ac04274920
set page number for index entries in multi page mode
2025-09-24 17:46:03 +00:00
Hartmut Holzgraefe
307d840d52
properly initialize map_number counter
2025-09-24 17:46:03 +00:00
Hartmut Holzgraefe
049f04cace
ignore surface finishing errors when generating PNGs
...
with PNGs writing the output file has already happened at this point,
unlike with the other formats where this is handled as part of the
finish() method
recently calls to finish() started to sometimes fail with
cairo.Error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
even though the PNG output had already successfully been written.
So we are now ignoring any exceptions thrown by finish() if the output
format is PNG
2025-09-24 17:46:03 +00:00
Hartmut Holzgraefe
9bb9cf5131
only count actual successful file creations
2025-09-24 17:46:03 +00:00
Hartmut Holzgraefe
58215692f2
adjust projection names in embedded styles to use new PROJ lib semantics
2024-10-29 10:54:02 +00:00
Hartmut Holzgraefe
949a226180
work around ProjTransform crash with older Proj library
...
See also python-mapnik issue #273
https://github.com/mapnik/python-mapnik/issues/273
2024-03-30 13:58:39 +00:00
Hartmut Holzgraefe
c72bd439f8
Work around latest projection issues with new proj library and mapnik
...
See also e.g. https://github.com/mapnik/python-mapnik/issues/246
2024-03-27 08:36:55 +00:00
Hartmut Holzgraefe
7f55ad3a4d
do not draw icon and icon backdrop on "Circle" markers ( #111 )
2024-03-23 14:39:30 +00:00
Hartmut Holzgraefe
2aeb4b81fd
fillColor needs to default to color if not set (Issue #110 )
2024-03-23 12:51:08 +00:00
Hartmut Holzgraefe
5d41e4c3b3
Merge branch 'master' of https://github.com/hholzgra/ocitysmap
2023-12-26 23:50:12 +01:00
Hartmut Holzgraefe
a58435ffbe
fix index file reading
2023-12-26 23:49:46 +01:00
Hartmut Holzgraefe
d2cb8bd084
remove newlines from note comments
2023-12-20 22:01:45 +00:00
Hartmut Holzgraefe
284552dc5b
skip over invalid / incomplete notes without comment
...
See e.g.
https://api.openstreetmap.org/api/0.6/notes/3973612.json
which can't even be displayed on the osm.org web frontent
https://www.openstreetmap.org/note/3973612
2023-12-20 14:07:04 +01:00
Hartmut Holzgraefe
e33d7b45ac
expand map by 1 arc second if too small
2023-12-11 01:33:56 +01:00
Hartmut Holzgraefe
f61cb1ed99
Merge pull request #106 from danielhjames/patch-1
...
Fix typo in the word 'landscape' in __init__.py
2023-12-07 17:57:00 +01:00
Daniel James
7248c32263
Fix typo in the word 'landscape' in __init__.py
2023-12-07 16:54:00 +00:00
Hartmut Holzgraefe
1468c04d0d
fix several overlay plugin rendering glitches (Issue #103 )
2023-11-25 17:29:45 +00:00
Hartmut Holzgraefe
471e535697
support more than one font
2023-11-23 15:21:06 +00:00
Hartmut Holzgraefe
d8e8d34483
fix "icon as text" label rendering
2023-11-23 15:20:44 +00:00
Hartmut Holzgraefe
ac4e730a5a
fix Umap marker Icon rendering to work with both .fr and .de servers
2023-11-23 11:32:01 +00:00
Hartmut Holzgraefe
1c4e28fcb6
add OSM Icon subrepository
2023-11-23 09:35:40 +00:00
Hartmut Holzgraefe
34a15d1312
add missing (c) name
2023-11-17 11:36:48 +00:00
Hartmut Holzgraefe
65e3ece10d
TODO clarifications
2023-11-17 11:13:28 +00:00
Hartmut Holzgraefe
e8a19b0317
TODO clarifications
2023-11-17 11:13:05 +00:00
Hartmut Holzgraefe
d409cfe9a1
remove another TODO that was already fixed
2023-11-02 23:35:47 +00:00
Hartmut Holzgraefe
dc34b9b02e
removed some obsolete TODO entries
2023-11-02 18:03:09 +00:00
Hartmut Holzgraefe
1ce83b0d5a
remove legacy upload file code
2023-10-31 15:12:53 +00:00
Hartmut Holzgraefe
d25c8ce6a9
fix a few more TODOs
2023-10-31 15:06:33 +00:00
Hartmut Holzgraefe
52944866dd
remove a TODO no longer needed
2023-10-31 14:04:58 +00:00
Hartmut Holzgraefe
c19eea9560
add "indexers" choice for --list to help output
2023-10-31 13:37:02 +00:00
Hartmut Holzgraefe
fd94a9621e
Merge branch 'master' of https://github.com/hholzgra/ocitysmap
2023-10-14 11:57:27 +02:00
Hartmut Holzgraefe
92ed053487
add status message for output file writing/finishing
...
this can take significant amounts of time, too
2023-10-02 21:11:48 +00:00
Hartmut Holzgraefe
fd2fe3aa85
make status updates more consistent
2023-09-30 22:06:10 +00:00
Hartmut Holzgraefe
6cc9b85793
render into temporary files at first, rename when complete
2023-09-30 21:50:29 +00:00
Hartmut Holzgraefe
efc806236e
switch to named parameters for multi-param messages (Issue #99 complete)
...
this allows for changing the parameter order in other languages
as needed
2023-09-29 04:11:21 +00:00
Hartmut Holzgraefe
1d33e1be96
make status update messages translatable (Issue #99 , WiP)
2023-09-29 03:16:35 +00:00
Hartmut Holzgraefe
86ffcf52b3
actually pass cycle color on to GPX renderer (Issue #100 )
2023-09-28 20:42:10 +02:00
Hartmut Holzgraefe
f273bb0f2a
add more fine grained status in multi page renderer (Issue #99 , WiP)
2023-09-28 09:21:44 +00:00
Hartmut Holzgraefe
a7bdf66a39
add more status update messages
2023-09-28 06:59:44 +00:00
Hartmut Holzgraefe
256e92001c
pass on cycled color to GPX style (Issue #100 )
2023-09-28 06:37:44 +00:00
Hartmut Holzgraefe
03bc841a1d
add status update messages to single page renderer (Issue #99 , WiP)
2023-09-26 19:13:30 +00:00
Hartmut Holzgraefe
a18c1c65a1
add customizable callback for status updates (Issue #99 , WiP)
2023-09-26 19:12:57 +00:00
Hartmut Holzgraefe
311e182577
Merge branch 'master' of https://github.com/hholzgra/ocitysmap
2023-09-22 08:53:31 +02:00
Hartmut Holzgraefe
9367e7850a
fix layer level Umap property processing after code rewrite (Issue #98 )
2023-09-17 10:50:35 +00:00
Hartmut Holzgraefe
78921c9f2c
fix layer level Umap property processing after code rewrite (Issue #98 )
2023-09-17 10:49:10 +00:00
Hartmut Holzgraefe
5f8cc03e30
extra logo hack
2023-08-19 08:15:16 +00:00
Hartmut Holzgraefe
d51d6074c6
slight annotation text refinements
2023-08-02 23:07:23 +02:00
Hartmut Holzgraefe
2be777cc0d
restrict street index to actual streets
...
previously all highway=* lines with a name got added to the street
index, which could lead to problems when e.g. matching a highway=platform
now only highway values positively known to be actual streets are
queried for (primary, secondary, ..., residential, ... living_street ...)
and in case of still hitting entries with an invalid "linestring"
such entries are just being skipped over now instead of throwing
an exception
2023-08-02 23:00:22 +02:00
Hartmut Holzgraefe
50ff31a7e3
support language specific config file parameters (Issue #61 )
...
When having a locale language defined assign_if_present()
will try ot find a language specific version of the key
searched for, and only use the plain key as fallback.
E.g. with locale=de and key=name it will first check for
setting 'name.de', and will only return the value for
'name' if 'name.de' does not exist
2023-03-23 09:39:07 +00:00
Hartmut Holzgraefe
6ef7ccf264
use explicit bounding box when both bbox and osmid are given
...
(Issue #24 )
2023-03-23 08:16:27 +00:00