From your forum I could understand developer’s community is interested enough on having open online vector tile servers for Mapsforge maps, and there is no one for now. It is also said one of the most important causes is the encoder/decoder missing.
If I’m right, I’d like to discuss a common solution to help developers to fit their needs.
1. We’ve created
the tile encoder/decoder pair for Mapsforge vector tiles for
online
use. For testing purposes we are using the VTM project
and it works fine.
2. We'd like to
set up the open online vector tile server (at least it is needed
for
our project), but we’d like to know in advance if the community
will be interested in it.
Will you find this interesting and, if so, we’d like to discuss this further in details.
Hi Emux,
Thank you for your reply and comments.
We have taken a look at VTM and Nextzen online tile services, - they are great.
Nevertheless,
concerning tile storage optimization we could find useful to have the
same tile format for online/offline maps in local cache, as it could be
crucial for end users who don't have a good/fast/regular/low-cost
Internet connection.
For now we have setup a local tile server
for Mapsforge tile format encoding/decoding testing. It seems working
fine. There are several results below... (up to zoom level 16).
Hi Emux,
Thank you for your remarks!
We have just uploaded two projects to GitHub: (https://github.com/ikroshlab/VTM )
- VTMencoder: encoder package to encode map tiles from Mapsforge original map file to a byte array.
This byte array can be put further into a database or so.
As you suggested, this project keeps reference to VTM_0.9.2 as a Maven dependency, developed under NetBeans, pure Java SE.
- VTMexample: this is the client part for the VTMencoder - it demonstrates how to get map tiles from online datasource using
the ForgeOnlineTileSource.class and decode them.
This project also keeps reference to VTM_0.9.2 as a Gradle dependency.
This project is developed under Android Studio for now.
Nevertheless, there are some issues to fix before go further: (see attached screen-shots)
- after decoding, all the tiles look separated
- each tile has remarkable "mosaic" structure after zoom level 11.
We had all our best to fix these problems, but we failed :(
So I hope we could find a solution together. It is really important because without it there is no sense to go further.
We'll
surely try to follow your suggestions about the common approach of
processing, but for now we have to focus on the above problems, IMHO.
Kind regards,
Bokrash