-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add plant_nursery render #2308
add plant_nursery render #2308
Conversation
fix issue gravitystorm#1772
This reverts commit 318096d.
This reverts commit fe255e5.
use python script yaml2mml.py
I believe you are missing a piece to make this work. Adding the tag to project.yaml does not suffice, you also need a Carto rule for that. Have a look at: openstreetmap-carto/landcover.mss Line 281 in 778cb48
|
@nebulon42 I do that in a patch before this pull request but I delete it... I redo this modification. Thanks for this feedback |
complete the previously opened fix gravitystorm#2308
I'm curious how you edit the style. Do you use some software to preview your changes like Tilemill or Kosmtik (https://github.com/kosmtik/kosmtik)? To make it easier for you to assess whether your changes work or not I suggest trying them out locally first. If you need help with that everybody here is happy to answer your questions. |
@@ -278,7 +278,8 @@ | |||
|
|||
[feature = 'landuse_farm'], | |||
[feature = 'landuse_farmland'], | |||
[feature = 'landuse_greenhouse_horticulture'] { | |||
[feature = 'landuse_greenhouse_horticulture'], | |||
[feature = 'plant_nursery'] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think your filter here should actually read [feature = 'landuse_plant_nursery']
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nebulon42 Fine, I edit it with notepad++ and use "github desktop" and this is a mistake... I revert and redo change... Sorry. So Kosmtik is a good idea to start with style. Have you a tuto to start with it?
Thanks
This reverts commit 388d544.
complete the previously opened fix gravitystorm#2308
Could you provide an example screenshot of a plant nursery being rendered with this branch? |
@pnorman I think @geostonemarten has not yet setup the development environment completely. But we are trying to get there. |
@pnorman i have just set render as same as greenhouse_horticulture because actually this is relatively similar and the render is same as farmland.
@nebulon42 Exactly ;-) I contribute with an other username on openstreetmap. But I am just starting to check and fix part of error on rendering. |
@geostonemarten Since you mentioned Notepad++ I infered that you are a Windows user. I do not use Windows myself so it is difficult to help with details. AFAIK @Ircama is another Windows user who might also be able to provide assistance. Here is the tutorial I created: https://gist.github.com/nebulon42/e5f73e511d44726ef66c7e13eb9e3eca |
Hi. An installation guide I prepared for Windows is here at the moment: https://github.com/Ircama/switch2osm.github.io/blob/tilemill-osm-carto/tilemill-osm-carto.md Consider also you might benefit from a Python version of get-shapefiles, which you can find here at the moment: #2137 I’m still trying to prepare a set of guidelines for Git in relation to this repository (and collecting some practices for style development that I learned so far). In the consideration that the Windows software runs a very old Mapnik version (this is what the Windows Tilemill installation does), I would suggest to set-up a Linux system running Kosmtik. (The problem with Windows is that while Mapnik 2 and Node.js install, I could not find a way to install node mapnik, which is a prerequisite for Kosmtik.) Also a virtual machine or a cloud based system can work, anyway it is important some CPU for the rendering as well as a wide enough set of data to be loaded into the PostgreSQL instance in order to allow a decent testing. As per GitHub Desktop (https://desktop.github.com/), I would recommend to always use git commands directly (selecting “Open in Git Shell”). This way GitHub Desktop would be adopted just as a monitor and not to issue commands (GitHub Desktop provides a too basic interface and does not clarify which git commands wraps). I also would suggest you save your work, set your master even with origin/master, create a branch and do there your modifications and commits. Notice also that you have 7 commits and you might squash them by doing a |
Closing since the PR is inactive and needs some work once @geostonemarten gets his development environment set up. When that's done we can reopen or use a new PR. |
fix issue #1772