-
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
Propose new railway station symbol #3782
Comments
Thanks for your suggestion. At the moment railway stations and halts are not rendered with a pictorial symbol but with a square marker the meaning of which is meant to derive from context. This is rendered starting at z12 where a pictorial symbol in quite definitely not an option. If it makes sense to use a pictorial symbol at higher zoom level would need to be tested. Currently the same marker is used for railway and tram stops so this would also need to be considered. In general symbols need to work at native resolution (typically 14 pixel in size) and therefore should be tested in that form. You might want to try out using Inkscape which is the typical tool used for symbol design here. |
@imagico I try to use inkscape for symbol design. And also I'm going to design another rail based transport stop symbol include tram. Thanks. |
@wobndb - there are several ways you can test this new symbol properly. A) The easy way: make a few different options for symbols to test, and then create a Zip archive. This can be directly uploaded here. You could ask one of the other contributors, like @Adamant36 or me, to make some test renderings for you. However, this won't let you try different options directly, and it may take a while to get done. B) The best way, although it requires the most time and work, is to create test renderings with Kosmtik, based on current Openstreetmap data from several different representantive places. This will also allow you to make a Pull Request here in this Github repository to actually change the code. To do this, you would need to download data onto your computer and set up a test rendering server. If you use Linux you can do this directly by following the step-by-step instructions in INSTALL.MD For Mac and PC there is a Docker container option. This is what I use, on my 2012 Macbook. For this option, I'm pretending that you know nothing about git or the command line, because this was the state of my knowledge a few months ago.
Enter This creates the whole Docker container and imports the openstreetmap data from data.osm.pbf into a special rendering database. Once this is done, make a new tab or window and enter
This will show you how things look currently. But you want to change the icon for railway stations, so let's make a new branch:
Change (We should also change the railway halts and tram stops, but that can wait till later, once you decide if halts should use the same symbol.) Once you've changed the code in a text editor, save the changes. Then go back to the Terminal (or Command Prompt) and enter: This saves your changes to git, which will make it easy to fix things later and upload the changes to this github repository when you are ready.
If you don't see the changes, use the reload option, or go back to the command prompt / terminal window where you opened kosmtik (remember There's an option to "export" a png image from the Kosmtik test rendering, but it's best to take a partial screen shot, in most cases. Remember to name each test rendering with the details, like the zoom leve, the place tested and the name of the svg file and the date, e.g.: Now you can make more changes, for example, change the icon for
Remember to use If you want compare the test rendering with the current rendering, you can switch branches: It might also help to read: Docker.MD and CONTRIBUTING.md |
@jeisenbe I appreciate your detailed comment! I'm going to set rendering test server based on linux system. |
Great! And thank you, even though you probably didn't need the detailed instructions for Docker, since you are using Linux. :-) If you have time, consider taking a look at some of the other open issues. You might find something interesting to fix. Herea are a couple of things I wish I had known before making test renderings (Although you may know this already, if you've used git and github):
1st time only: To rebase, run: If you've made lots of commits, you might want to clean up the history with an interactive rebase by "squashing" the commits that you didn't end up using (eg testing other icons or rendering styles that you later rejected):
Then you can push your branch, and you will be given an URL to open which will start a PR:
But, don't use
|
Id be happy to test render any icons. So feel free to ping me if need be. |
@wodndb - there is now an updated list of 10 issues that would be worth trying for a first or second PR: |
@jeisenbe Good issues. Now I installed linux on my notebook. And also I installed tools for setting rendering server and cloned this repository. I'm going to test rendering server this weekend. |
Great! For Linux I don't have much experience, but @Ircama made this
tutorial which might be helpful:
https://ircama.github.io/osm-carto-tutorials/ - it was last updated a
year ago, so I think it should be mostly correct.
|
I'm pretty knowledgeable about how to get things running etc in Linux thanks to like a month worth of mistakes when I first got started with the whole thing. So feel free to ask if you having questions or problems. Since I might know something about it. |
Maybe docker is easier than Linux. I installed postGIS and download sample pbf file from Geofabrick. @jeisenbe tutorial is very nice. |
I failed to run rendering server on linux, So I will try to use Docker. psql: could not connect to server: Connection refused I removed and reinstall postgresql, but error couldn't be fixed. I can't use Docker on Windows because Docker Desktop support only Windows Pro or Enterprise. So.. I think Docker on Linux is best choice now for testing server. |
Unfortunately, my desktop can't run docker tool box that can't support some AMD CPU. I try to format my notebook and reinstall linux for rendering server. |
@wodndb were you able to get things working? |
@jaisenbe Not yet.. I'm following tutorial for setting rendering server. But my progress is too slow because I'm not good at linux system and my computer environment is not good to run server. I added additional RAM and harddisk to my desktop for rendering server. And I reinstall ubuntu and change ubuntu locale from KR to GB. There were several trials and errors to set environment for server. If I fail to set server based on ubuntu virtual machine, I will buy windows pro to test docker |
I'm still willing to test render the icons if need be. |
@wodndb do you need help making the test renderings? |
@wodndb, can you create a Gist with your svg icons? |
Closing this as no concrete suggestion has come out of this until now. A concrete proposal with sample renderings would still be welcome - but would need to show benefits that outweigh the additional noise and use of space in the map. |
Bus stop logo looks like bus and taxi logo looks like taxi.
However railway station logo is not.
So I propose new railway station logo like below. (I draw these using Power Point)
The text was updated successfully, but these errors were encountered: