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

Hi, I am new in TileMill software, and I need use Bright style (https://github.com/mapbox/osm-bright) for my OSM data extracts. Can anybody tell me step by step how can I use it? I do not understand steps in this manual.

  • in 1. should I use files from this step? Or can I download my required locality? And if I can, which one shape files? On mapzen.com I can choose shp splitten by geometry type (lines, points, polygons) or grouped into individual layers by OSM tags. What they are mean with their land polygons files?

Thanks for answers.

asked 17 Jan '17, 13:24

mathew95's gravatar image

mathew95
11223
accept rate: 0%

edited 20 Jan '17, 22:53

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

One other link that might be helpful is https://ircama.github.io/osm-carto-tutorials/ . There are several tutorials there that might be useful.

(17 Jan '17, 17:17) SomeoneElse ♦

Yes, the shapefiles that you download will be used alongside the OSM data that you want to display. As to which shape files, the instructions suggest "all of them".

permanent link

answered 17 Jan '17, 16:06

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

But which one package? I have 2 options of shp packages in mapzen : splitten by geometry or grouped by tags? Thanks

(17 Jan '17, 16:33) mathew95

What does MapZen have to do with anything?

(17 Jan '17, 16:45) SomeoneElse ♦

Mapzen provide osm extracts in different packages, ona has shp of points, lines, and polygons and second contains shape files of waterareas, transport_points, roads, and so on ... and I do not know which one package is better

(17 Jan '17, 16:54) mathew95

OSM Bright is going to want to access a database loaded with OSM data. I'd expect that you'd be looking for a .pbf file of your area of interest - at https://mapzen.com/data/metro-extracts/metro/dubai_abu-dhabi/ for example that seems to be described as "Raw OpenStreetMap datasets".

(17 Jan '17, 17:10) SomeoneElse ♦

Yes, I have imported .osm.pbf file in my PostGIS DB, but for TileMill I download also .shp files becouse I do know what is correct way.

(17 Jan '17, 17:17) mathew95

As https://github.com/mapbox/osm-bright says, "OSM Bright depends on two large shapefiles. You will need to download and extract them before continuing.". That's separate to what you've loaded into PostGIS, and just used for things such as land/sea boundaries. Note that https://github.com/mapbox/osm-bright makes it clear what shapefiles you need and where you should download them from.

(17 Jan '17, 17:33) SomeoneElse ♦
showing 5 of 6 show 1 more comments

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:

×263
×36
×23
×4

question asked: 17 Jan '17, 13:24

question was seen: 3,479 times

last updated: 20 Jan '17, 22:53

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