Comments (7)
I never used the views in contrib myself thus it might well be buggy. I would have recommended using my scheme which has been designed to be compatible to upstream style.
This said I need to note here that I am currently working on replacing this style with my new l10n approach thus it will certainly get replaced in a few weeks time.
from openstreetmap-carto-de.
Noted, I'll watch for the l10n update, thanks!
I was simply following INSTALL.md, which says to use contrib. I see that the SQL in views_osmde requires an hstore planet import, which I do not have:
ERROR: relation "planet_osm_hstore_line" does not exist
Both sets of views add a name_hrb
column, so my guess is the generated style just isn't using the views somehow. Can anyone recommend a way to make this work without hacking the style?
from openstreetmap-carto-de.
You need to follow https://github.com/giggls/openstreetmap-carto-de/blob/master/INSTALL-de.md not INSTALL.md
The latter is a verbatim copy of upstream.
To cite from the README:
"For Installation please read INSTALL-de.md first for differences of openstreetmap-carto-de."
Frankly I have no Idea why your view does not have the name_hrb column. Are you sure that you are using the views for rendering and not the upstream tables?
There is no style hacking required.
from openstreetmap-carto-de.
I just had a look at https://github.com/giggls/openstreetmap-carto-de/blob/master/contrib/use-upstream-database/README.md in contrib directory.
"All references to tablenames in project.mml need to be adapted to reference the views instead of the real tables."
Did you do this?
Sven
from openstreetmap-carto-de.
" You will then need to compile this project-mod.mml with carto, not the original project.mml"
from openstreetmap-carto-de.
I am referring to INSTALL-de.md, which says:
Use the views provided in the contrib directory instead of the ones from above if you prefer this database layout.
I thought contrib/use-upstream-database/replace-tablenames.sh
does the replacing, it's called by make DBSCHEME=upstream
which creates and compiles project-mod.mml. Somehow the names are still wrong. If I change them in the inital project.mml, I end up with planet_osm_line_de_de
.
I did manage to get farther by correcting the final XML. I'll try to find the issue in the scripting if I can get rendering to work.
from openstreetmap-carto-de.
It does. But you need to also compile the resulting mml file using carto then.
Please keep in mind that you are following a contrib path of a project which is going to be deprecated in favour of a new approach in a few weeks time anyway.
from openstreetmap-carto-de.
Related Issues (20)
- Use openstreetmap-carto-de with Kosmtik HOT 3
- Duplicate layer amenity-points HOT 1
- Missing entries in download-script available again HOT 4
- Issues with missing fonts HOT 3
- import fails on windows HOT 4
- Hausnummern an Gebäuden immer rendern
- Docker-compose not running HOT 1
- Are you interested in becoming tile layer featured on the OSM main site? HOT 3
- Tile download throws CORS error HOT 4
- Line 59: Wrong URL of get-shapefiles.py HOT 2
- Impossible to use with overv / openstreetmap-tile-server ? HOT 5
- SQL error in water-lines layer HOT 3
- Rendering of municipality names without place=village/town HOT 5
- docker-compose up import issue HOT 1
- error loading project.mml file HOT 5
- lua errors when trying to run osm2pgsql HOT 6
- 11 times slower than old style :( HOT 19
- how to generate osm-de.xml from project.mml HOT 5
- osm2pgsql stops with "error when importing german-latest-osm.pbf" "berlin-latest.osm.pbf is running" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap-carto-de.