Mapsforge maps version 5

1,467 views
Skip to first unread message

Emux

unread,
Oct 17, 2017, 2:40:18 PM10/17/17
to mapsforge-dev
Mapsforge maps advance to version 5.

Needed to support "variable tag values" via wildcards, which required changes in map file storage.

Thanks to nice work by @Gustl22 in PR #1006 and #429!

map-writer can create (see its documentation):
- regular maps v3
- multilingual maps v4
- maps v5 with variable tag values

Mapsforge + VTM map readers are of course compatible with all map file versions.

So we can finally store tag values in maps without needing to specify multiple value rules in tag-mapping, just use wildcards.
Plus we can store building heights and other details for compatible renderers like VTM.

Can check the default tag-mapping.xml which has now also building extrusions and S3DB tags, declared properly (see the height and level rules).

e.g.
Created Moscow map from official OpenStreetMap data, with "tag-values=true" to store also above variable tag values.
And VTM now renders all building details with map files too (see screenshot).

--
Emux
Mapsforge_v5.png

Emux

unread,
Oct 17, 2017, 2:52:36 PM10/17/17
to mapsforge-dev
For reference, the tags for basic 3D attributes of buildings can be seen in OSM Wiki.

--
Emux

freizeitkarte

unread,
Oct 19, 2017, 6:00:53 AM10/19/17
to mapsforge-dev
I have read the issues but it's still not clear how to use this new feature. Could someone give one or two usage examples?

Klaus
Message has been deleted

Emux

unread,
Oct 19, 2017, 6:24:39 AM10/19/17
to mapsfo...@googlegroups.com
You can check the latest tag-mapping.xml and search for the "%f" wildcards.

e.g.
In "Building extrusions" section here are declared all variable tag number values for buildings, like heights and levels.
And in "S3DB tags" section below there are many more of those wildcards in use.

That allows maps v5 to store all those values without declaring them explicitly in tag-mapping and produce the result shown in screenshot above.


Cruiser with maps v5 support will be released soon.

--
Emux

Emux

unread,
Oct 20, 2017, 6:01:24 AM10/20/17
to mapsfo...@googlegroups.com
Cruiser (Android + Desktop) was published with Mapsforge maps v5 compatibility.

--
Emux
Cruiser_Android_v5.png
Cruiser_Desktop_v5.png

U Kudlek

unread,
Nov 7, 2017, 10:39:20 PM11/7/17
to mapsforge-dev

Bei mapsforge.org wird seit einiger Zeit die germany-map nicht mehr angezeigt:

http://ftp-stud.hs-esslingen.de/pub/Mirrors/download.mapsforge.org/maps/europe/

Dort kann man nur die einzelnen Bundesländer-Maps herunterladen, die sind offenbar im September 2017 noch aktualisiert worden.

Weiß jmd. ob/wo die germany-Karte noch vorgehalten wird?


At mapsforge.org, the germany-map has not been displayed for some time.

http://ftp-stud.hs-esslingen.de/pub/Mirrors/download.mapsforge.org/maps/europe/

There you can download only the German-States maps, which have apparently been updated in September 2017.

Does anyone have any information If/where the germany card is still held?

Emux

unread,
Nov 8, 2017, 1:56:29 AM11/8/17
to mapsfo...@googlegroups.com
See here, there were problems with the map creation on server, so the maps should be refreshed in next cycle.

BTW please create a new topic for server issues, this discussion is for a different subject. :)

--
Emux

Emux

unread,
Nov 19, 2017, 12:35:16 PM11/19/17
to mapsfo...@googlegroups.com
Mapsforge maps version 5 continue with improvements!

Thanks to @Gustl22 nice work in Mapsforge map-writer and VTM reader, now more detailed 3D building extrusions are available.

Attached is rendering of Mapsforge maps v5, showing Parthenon.

--
Emux
Mapsforge_v5.png

Heinrich Göbl

unread,
Nov 21, 2017, 11:14:28 AM11/21/17
to mapsforge-dev
Looks great!

When will the maps generated on the mapsforge server be written in v5?
And is it necessary to update clients still only knowing v4 in order to understand v5? (Most likely a stupid question, but maybe the format is forgiving unknown fields.)

--
  hgoebl

Emux

unread,
Nov 21, 2017, 1:20:36 PM11/21/17
to mapsfo...@googlegroups.com
We need to publish Mapsforge + VTM 0.9.0, I can program them for next month, unless there is something important still to merge.

The clients need updates in order to understand "properly" the v5 maps and render the new tags.

--
Emux

Emux

unread,
Jan 11, 2018, 2:30:06 PM1/11/18
to mapsfo...@googlegroups.com
FYI @Gustl22 continues the interesting work and now VTM can use a new S3DBLayer with Mapsforge maps v5, in order to render all those advanced 3D attributes.

Can see some screenshots in relevant PR #475.

--
Emux

Emux

unread,
Jan 15, 2018, 1:44:42 PM1/15/18
to mapsfo...@googlegroups.com
Cruiser (Android + Desktop) was released with latest Mapsforge maps v5 compatibility and support of S3DB rendering.

Can select in Settings the 3D buildings > Advanced rendering to see results like in screenshot!

--
Emux
Cruiser GL.png

Majid Hojati

unread,
Mar 13, 2018, 3:11:53 AM3/13/18
to mapsforge-dev
Is this application open srource?

Emux

unread,
Mar 13, 2018, 3:21:42 AM3/13/18
to mapsfo...@googlegroups.com
Cruiser ?

I'm afraid no. :)

--
Emux

Majid Hojati

unread,
Mar 13, 2018, 7:08:51 AM3/13/18
to mapsforge-dev

Yes,
Thanks

Emux

unread,
Jun 19, 2018, 1:59:04 PM6/19/18
to mapsfo...@googlegroups.com
Kurviger now provides Mapsforge maps v5 for all world.

Can find typical v5 samples attached!

--
Emux
Kurviger.png
Cruiser.png
Message has been deleted

Gustl22

unread,
Aug 31, 2018, 3:49:12 PM8/31/18
to mapsforge-dev
Will Mapsforge server provide v5 maps, too, now that Mapsforge/Vtm 0.10.0 is released? (@Emux: I know you always inform about updates, but I just couldn't wait for it.) Also thank you for maintaining these libs!

Emux

unread,
Aug 31, 2018, 4:00:29 PM8/31/18
to mapsfo...@googlegroups.com
> Will Mapsforge server provide v5 maps, too, now that Mapsforge/Vtm 0.10.0 is released?

That's the plan, we'll see it with Ludwig.

Now with mapsforge-creator all are easier, though v3+v4+v5 maps production is not trivial.


> (@Emux: I know you always inform about updates, but I just couldn't wait for it.) Also thank you for maintaining these libs!

Finding free time for that is the most difficult part! :)

--
Emux

Gustl22

unread,
Aug 31, 2018, 4:36:30 PM8/31/18
to mapsforge-dev
Thanks! 3 different map formats requires a lot of computing power.

> Finding free time for that is the most difficult part! :)

Of course, there is no hurry. Just wanted to know ;D

Ludwig

unread,
Aug 31, 2018, 11:47:49 PM8/31/18
to mapsfo...@googlegroups.com
I have updated the mapsforge server with the 0.10.0 versions for both the POI and the MAP writer.

I have also started a v5 trial run for some of the states of Germany, could someone check if the mapfiles come out ok. If this is ok, I will start generating more areas.

I think we will need to cut down on the areas we generate on our server, as it simply takes too much resources to regenerate the whole planet all the time. 
I would suggest dropping some of the subareas, (like German states, French provinces, parts of Russia). Other suggestions?


--
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 post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/c00a0a81-a134-4ad2-b0cf-c7f9372e1714%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Emux

unread,
Sep 1, 2018, 4:38:37 AM9/1/18
to mapsfo...@googlegroups.com
Areas of Russia are large and could be difficult to create a single map or need them all at once.
Also single map files like France or Germany have big file size, with problems on some devices.

But why still produce the old v3 maps?
After all these years apps should have advanced to newer lib version compatible with at least v4 maps.



> could someone check if the mapfiles come out ok.

Tested berlin.map like attached all seem fine!

--
Emux
Cruiser.png

Gustl22

unread,
Sep 2, 2018, 9:12:30 AM9/2/18
to mapsforge-dev
> But why still produce the old v3 maps? After all these years apps should have advanced to newer lib version compatible with at least v4 maps.

I agree with restrict support for v3 and may drop the updates (v4 is supported since three years - or two years in vtm).
Such small areas like Berlin only are needed for testing purposes I think. But it's difficult two define more reasonable boundaries apart from Geofabrik, e.g. a whole germany map for some users is too large.

Map and Poi files seem to work fine. Thanks Ludwig!

BTW: Maybe we can update Readme of VTM with v5 images, too :D

Emux

unread,
Sep 2, 2018, 9:25:00 AM9/2/18
to mapsfo...@googlegroups.com
> Maybe we can update Readme of VTM with v5 images, too

Indeed, feel free to post PR with updated images for the platforms you have available! :)

--
Emux

Emux

unread,
Feb 20, 2019, 1:39:05 PM2/20/19
to mapsfo...@googlegroups.com
Attached another sample of community's nice work and library's power: adding shadows to buildings based on sun position.

--
Emux
VTM shadows.png
Reply all
Reply to author
Forward
0 new messages