Mapsforge Map Creator

111 views
Skip to first unread message

Emux

unread,
Dec 8, 2014, 3:03:33 AM12/8/14
to mapsfo...@googlegroups.com
I played with the latest maps that are produced with the new map creator.

The changes are notable at countries that have complex coastline and always had problems, but some issues are still there.

e.g. Greece
There are many islands that don't have a coastline and seem "underwater".
I attach two screenshots:

1) The new mapsforge map from our servers with blue sea, but still islands with coastline issues.

2) A same map I have made some time ago with coastline from OpenStreetMap Data (I didn't use blue sea), the islands are correctly shown.

What land polygons and / or coastlines are used now, the official OSM ones or the processed from above site (normal or split) ?

(By the way, Ludwig the country borders for Greece are not right, there are some islands missing at south east, you can check the exact ones at Geofabrik too).

--
Emux
Cruiser - Atlas
1.png
2.png

Ludwig

unread,
Dec 8, 2014, 10:24:05 AM12/8/14
to mapsfo...@googlegroups.com
I have checked the latest Greece map for the area you mention and in the Samples app this looks ok, see screenshots.

I will update the Greece polygon for the next run, sorry for having missed out the eastern most part of the EU (but Gavdos is there).

Ludwig


--
You received this message because you are subscribed to the Google Groups "mapsforge-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapsforge-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/54855B71.6050106%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

naxos1.png
naxos2.png

Emux

unread,
Dec 8, 2014, 12:37:25 PM12/8/14
to mapsfo...@googlegroups.com
Yes you tested with the render theme v4.
I used the library included Osmarender theme which has issues with the new maps, possibly because of the layer ordering.

Ludwig

unread,
Dec 8, 2014, 12:46:29 PM12/8/14
to mapsfo...@googlegroups.com
true, just checked with old osmarender and the islands are under water. 

I will try and fix this in the next iteration (might be some time, as I want the current batch to complete to see which maps fail).

Ludwig

--
You received this message because you are subscribed to the Google Groups "mapsforge-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapsforge-de...@googlegroups.com.

Ludwig

unread,
Dec 11, 2014, 3:29:48 PM12/11/14
to mapsfo...@googlegroups.com
The Greece map on our download server at http://download.mapsforge.org/maps/europe/ should now be fixed, both with regard to island issues as well as to the eastern border.

The fix to the land/sea issues was to take the tag for coastline totally out of the tag-mapping.xml: I tried to use the 'force-polygon-line' directive, but this only seemed to have an effect for higher zoom-levels. (My understanding was that this would turn off making an area out of the coastlines, but maybe this does not work if the coastline is a single polygon at lower zoom levels). Disadvantage is that no coastline remains as a line the the map file. 

Currently the maps that failed in my first run are being remade (with type="hd", so slower, I allocated 14GB memory but still ran out with RAM only on France/Italy/Russia and some others).

Once all the maps have been generated once, I will restart the process with all the maps from scratch. 

Ludwig

Emux

unread,
Dec 11, 2014, 3:44:48 PM12/11/14
to mapsfo...@googlegroups.com
On 11/12/2014 22:29, Ludwig wrote:
The Greece map on our download server at http://download.mapsforge.org/maps/europe/ should now be fixed, both with regard to island issues as well as to the eastern border.

I already check it, indeed now seems fine.


The fix to the land/sea issues was to take the tag for coastline totally out of the tag-mapping.xml: I tried to use the 'force-polygon-line' directive, but this only seemed to have an effect for higher zoom-levels. (My understanding was that this would turn off making an area out of the coastlines, but maybe this does not work if the coastline is a single polygon at lower zoom levels). Disadvantage is that no coastline remains as a line the the map file.

The coastline rendering actually needed fine tuning in the render theme.
I usually avoid them except if I refine its line width for each zoom level.
Reply all
Reply to author
Forward
0 new messages