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

Hi,

In order to have roads of a city in mbtiles format, to do a mobile app, I extracted data in shp from the OSM website. I successfully imported it in tilemill and I know how to export it in mbtiles format.

When I import a shape file, in tilemill, all areas are in green. It may be a basic question but I don't know how to create a good style for roads I downloaded from OSM. Can you say how to do?

Is there a good and simple tutorial to do this process?

Thanks!

asked 16 Apr '15, 11:12

Dougui's gravatar image

Dougui
6111
accept rate: 0%


IMHO https://www.mapbox.com/tilemill/ contains all the necessary information on styling with carto css and so on. Most users tend to read OSM data from a database so there may be some additional hiccups along the way when using shape files.

permanent link

answered 16 Apr '15, 11:19

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 16 Apr '15, 11:21

It seems your right. I have to read. I see the power when you want to custom maps but it's complicated for what I need. If you have a simpler solution, let me know.

(16 Apr '15, 12:53) Dougui

I use Maperitive to generate mbtiles for a custom Fire Service map - very simple to use. Not using shp files though.

permanent link

answered 17 Apr '15, 10:38

RJCorazza's gravatar image

RJCorazza
10113
accept rate: 0%

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:

×36
×18

question asked: 16 Apr '15, 11:12

question was seen: 6,652 times

last updated: 17 Apr '15, 10:38

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