-
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
Tilemill documentation #2143
Tilemill documentation #2143
Conversation
Revised min zoom visibility for some elements
Revert "Revised min zoom visibility for some elements"
Added documentation about contributing to OpenStreetMap-Carto through Tilemill with Windows. The procedure allows implementing a working installation on Win32 and Win64, as well as contributing to OpenStreetMap-Carto via GitHub. There are still unclear aspects through a Windows PC (32 and 64 bit OS): - how to install Kosmtik with Windows, including the latest version of Mapnik - how to upgrade Tilemill, downloading the latest drop from GitHub, after the first Windows installation is performed through the EXE setup - how to upgrade the Mapnik version of Tilemill with Windows to the latest one found in GitHub - where to find the latest Windows executable files of Mapnik (e.g., 3.5.13 for Win32 and for win64). None of them currently succeed with Windows, neither with Cygwin.
|
||
Use osm2pgsql to import an OSM extract into the Postgres database. | ||
|
||
Notice that the configuration of db tables/columns used by osm2pgsql is defined in `openstreetmap-carto.style`. Modifying `openstreetmap-carto.style` requires reloading the production database. Do not change this file if some columns you need are missing; use instead *hstore* (check �Retrieve data from an HSTORE column�; example: `tags->'<column name>'::text AS <tag>`) |
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.
We do not have hstore available as part of this style.
…enstreetmap-carto into Tilemill-Documentation
I was wrong in creating this branch from an incorrect commit.
If you are referring to the need of “Guidelines to edit the stilesheets” inside this guide, I just wanted to avoid that Windows users, after following all these long steps, forget to study the main documentation pages of this project.
Do you feel we will have to wait for long to have hstore merged? |
According to my test
followed by squashing all commits in one
and editing comment to drop unneded parts resulted in https://github.com/matkoniecz/openstreetmap-carto/commits/test with all content merged in one commit (matkoniecz@15975ec) Note that pushing to remote repository afte rebase requires --force argument. |
It would be better to rephrase it and mention hstore once it is merged (work on it is ongoing for a realy long time). |
We intentionally keep the scope of our installation instructions small and refer to other sources like switch2osm for detailed instructions. We should be doing the same here. |
@pnorman So what concrete actions do need to be taken? |
Removing instructions for installing Tilemill. The only instructions should be ones for OpenStreetMap Carto. |
So I guess this PR should only change few lines about Linux in INSTALL.md |
OK, I can move these instructions to switch2osm and update them, closing this PR then. |
https://switch2osm.org was set up by Richard Fairhurst ( @systemed ) though a few other people (including me) have access. There's also https://switch2osm.github.io , which I think is an initiative of @pnorman , but that's not quite complete yet. If you want other people to see https://github.com/Ircama/openstreetmap-carto/blob/d22064b02d7bc7c8dada7ec460ab13592c7ac635/TILEMILL.md and maybe provide feedback on it, perhaps write an OSM diary entry or mailing list post referencing it? I'd also post an answer to https://help.openstreetmap.org/questions/11715/easiest-way-of-importing-osm-data-into-tilemill-using-windows . Also does it definitely work with current "OSM carto". Someone reported at https://help.openstreetmap.org/questions/49645/problem-loading-openstreetmap-carto-project-into-tile-mill a problem with highway shields. |
Installing Tilemill and OpenStreetMap-Carto on Windows Ref. to gravitystorm/openstreetmap-carto#2143
@SomeoneElseOSM: thanks for your post. At the end I provided an updated version at https://github.com/Ircama/switch2osm.github.io/blob/tilemill-osm-carto/tilemill-osm-carto.md You are free to publish it to https://switch2osm.org.
I made a PR to that initiative.
I checked that question and I think that the link in the answer is missing some information which should be included in my description.
Yes it works at the moment. |
@pnorman I notice we have both https://switch2osm.org/ and http://switch2osm.github.io/. What is the difference between both websites? |
Is somebody else working on documentation at the moment? I seem to remember another ticket, but can't find it right now. |
Some other references (none merged): Besides I'm maintaining some rather updated document here (at least until I don't get bored). |
Thanks! |
@math1985 switch2osm.org is the live Wordpress-hosted site, switch2osm.github.io is an in-progress Github-hosted rewrite. |
@systemed And how does this relate to the draft at https://hackpad.com/TileMill-I6rxRVszKMv ? Has this draft already been merged in one of the other projects, of is it an independent 'branch'? |
@math1985 I think that's largely outdated given that most people use Kosmtik these days, not Tilemill. |
@systemed Do you still maintain https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/? Osm2pgsql now uses cmake instead of autogen, so the described method of installing will not work. In 16.04, the packages libtiff4-dev and postgresql-9.3-postgis-2.1 (now postgresql-9.5-postgis-2.2) do not exist anymore. Apart from that, I expect not much has changed. |
TileMill might be back some day: I was able to open our project from master and this PR is already merged: tilemill-project/tilemill#2614 however there is still a problem with saving: tilemill-project/tilemill#2615 I also try to make a Mapnik build for Windows (see mapbox/windows-builds#104 (comment)) to allow the new release (macOS build is still ahead): |
Contributing to OpenStreetMap-Carto through Tilemill with Windows.
Added documentation about contributing to OpenStreetMap-Carto through Tilemill with Windows.
This procedure allows implementing a working installation on Win32 and Win64, as well as contributing to OpenStreetMap-Carto via GitHub.
There are still unclear aspects through a Windows PC (32 and 64 bit OS):
None of them currently succeed with Windows, neither with Cygwin.