NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

1
1

Hi,

I am planning to render the osm data on the mobile devices which do not have a connection to the internet. This means that all data will be locally stored on the device.

The thing I am looking for is a tool which can generate for me vector tiles for specific zoom levels. I will have a number of zoom levels (let's say from 1 to 100) and vector tiles will specify which nodes/ways should be visible for a specific zoom level. It is not an option for me to generate raster tiles because of space limitation on the device.

Could anyone recommend a tool for generating the vector tiles? Thank you.

asked 02 Oct '11, 19:51

dennisk's gravatar image

dennisk
26224
accept rate: 0%


There are several open source Android Apps that do offline vector rendering, like OsmAnd or GpsMid. You might get some hints looking at how they do it.

mapsforge is a vector based Android map library intended to be used as a basis for own map applications. The vector data is stored in a binary file format.

There is also a new project OSMT for tiling OSM XML files, but that is in early stages and does not support relations.

permanent link

answered 03 Oct '11, 14:10

ikonor's gravatar image

ikonor
1.3k21119
accept rate: 18%

Osmosis is pretty much the first port of call for loading OSM data into a database, getting it out again, and chopping and changing along the way. You should investigate that as your first port of call.

Note that other providers, such as CloudMade, have already produced vector tiles. You may find it worthwhile seeing what they've done, too.

permanent link

answered 03 Oct '11, 01:09

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×287
×45

question asked: 02 Oct '11, 19:51

question was seen: 7,306 times

last updated: 03 Oct '11, 14:10

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum