[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [task #12003] Add openstreetmap.de stylesheet to MapOSM
From: |
Hartmut Holzgraefe |
Subject: |
[Maposmatic-dev] [task #12003] Add openstreetmap.de 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
http://maposmatic.osm-baustelle.de/ and to my "run your own instance with
Vagrant" project:
https://github.com/hholzgra/maposmatic-vagrant/commit/8ee863fcffd5bf4591edf48fe3b6c5761f822858
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"
Problems:
* Route names are rendered on streets in addition to actual street names, no
idea why this only happens here and not on openstreetmap.de ...?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?12003>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Maposmatic-dev] [task #12003] Add openstreetmap.de stylesheet to MapOSMatic,
Hartmut Holzgraefe <=