[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [task #12003] Add stylesheet to MapOSM

From: Hartmut Holzgraefe
Subject: [Maposmatic-dev] [task #12003] Add stylesheet to MapOSMatic
Date: Sat, 21 May 2016 10:47:12 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #1, task #12003 (project maposmatic):

I've added the German style to my "Germany-only" instance on and to my "run your own instance with
Vagrant" project:

Necessary changes: 

* use "--hstore-all --hstore-match-only" instead of just "--hstore" when
importing data with osm2pgsql

* "ele" needs an explicit cast to "float", stylesheet can be changed with

    sed -ie "s/ele,'FM9999D99'/ele::float,'FM9999D99'/g" osm-de.xml

* some extra shape files are needed (see github patch for details)

* some extra SQL views and functions need to be installed (all .sql files from
the stylesheets "views" folder"


* Route names are rendered on streets in addition to actual street names, no
idea why this only happens here and not on ...?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]