--
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-dev+unsubscribe@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/a926f269-8cb3-45da-a4a0-cff56a041933%40googlegroups.com.
What you want to use is the zoom-interval-conf option when creating a map file, see https://github.com/mapsforge/mapsforge/blob/master/docs/Getting-Started-Map-Writer.mdWe actually do not store data for every single zoom level, but for ranges, so just changing the highest zoom level to something lower will not make a difference.This option requires some experimentation to work effectively. Maybe if you try 8,6,10,12,11,17 you cut out the lowest zoom levels and the highest.I have not tried this.
On 8 January 2018 at 07:41, Farhad Kargaran <farhad....@gmail.com> wrote:
so its hard to do it, is it possible to do it (limiting zoom level) while exporting openstreetmap to pbf file? I did not find any documentation about it
On Sunday, January 7, 2018 at 9:23:59 PM UTC+3:30, Emux wrote:Max zoom level 20 is just a sane default. Can set map limits via Viewport setters, e.g.:
map.viewport.setMaxZoomLevel(...)
Mapsforge map files are vector maps, not fixed raster bitmaps with predefined zoom levels. Can render them from zoom 0 and go beyond 20.
Their size depends primarily on their content.
There are advanced options in map-writer like zoom-interval-conf, but it's not recommended to change them, unless know very much what doing.
Please write library name [Mapsforge or VTM] in topic title.
--
Emux
--
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.
What you want to use is the zoom-interval-conf option when creating a map file, see https://github.com/mapsforge/mapsforge/blob/master/docs/Getting-Started-Map-Writer.mdWe actually do not store data for every single zoom level, but for ranges, so just changing the highest zoom level to something lower will not make a difference.This option requires some experimentation to work effectively. Maybe if you try 8,6,10,12,11,17 you cut out the lowest zoom levels and the highest.I have not tried this.
On 8 January 2018 at 07:41, Farhad Kargaran <farhad....@gmail.com> wrote:
so its hard to do it, is it possible to do it (limiting zoom level) while exporting openstreetmap to pbf file? I did not find any documentation about it
On Sunday, January 7, 2018 at 9:23:59 PM UTC+3:30, Emux wrote:Max zoom level 20 is just a sane default. Can set map limits via Viewport setters, e.g.:
map.viewport.setMaxZoomLevel(...)
Mapsforge map files are vector maps, not fixed raster bitmaps with predefined zoom levels. Can render them from zoom 0 and go beyond 20.
Their size depends primarily on their content.
There are advanced options in map-writer like zoom-interval-conf, but it's not recommended to change them, unless know very much what doing.
Please write library name [Mapsforge or VTM] in topic title.
--
Emux
--
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.
--
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-dev+unsubscribe@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/fe442ee1-a455-4668-4cb3-798bcef0d730%40gmail.com.