Why not ask your question on the new OpenStreetMap Community Forum?

I am trying to build a tile server that serves tiles of multiple styles(osm and osm-bright). I have followed this link for implementing this. But here I found that osm2pgsql query for importing .pdf file is specifing the --style argument and --tag-transform-script for importing data to postgres database.

osm2pgsql -s -C 300 -c -G --hstore --style openstreetmap-carto.style --tag-transform-script openstreetmap-carto.lua -d gis -H $HOSTNAME -U postgres [.osm or .pbf file]

So my question is that - Is it mandatory to use --style argument and --tag-transform-script osm2pgsql? If yes , what should be the alternate way for serving multiple styles?

asked 11 Jul '18, 17:15

anuranpal's gravatar image

accept rate: 0%

edited 11 Jul '18, 17:16

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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:


question asked: 11 Jul '18, 17:15

question was seen: 1,511 times

last updated: 11 Jul '18, 17:16

powered by OSQA