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

Im a beginner and want to modify a style_default file befor import to osm2pgsql, can somebody answer me please?

asked 29 Apr '23, 00:45

Rezzzat's gravatar image

Rezzzat
11223
accept rate: 0%

Hello - you might need to provide a bit more information about what you are trying to do. The word "style" is unfortunately used for several different things:

Firstly, it's used for the entire map style, so https://github.com/gravitystorm/openstreetmap-carto is the "map style" for the "standard" tiles you see at openstreetmap.org. In there is a "style" directory https://github.com/gravitystorm/openstreetmap-carto/tree/master/style which contains the actual code for the map style.

There's also https://github.com/gravitystorm/openstreetmap-carto/blob/master/openstreetmap-carto.style , which determines which columns are created in the database by osm2pgsql.

Finally lua processing files such as https://github.com/gravitystorm/openstreetmap-carto/blob/master/openstreetmap-carto.lua are sometimes referred to as "style files".

(29 Apr '23, 12:44) SomeoneElse ♦

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

question asked: 29 Apr '23, 00:45

question was seen: 776 times

last updated: 29 Apr '23, 12:44

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