New answers tagged osm2pgsql
The 770.osc.gz file lives in the same directory as osmconvert.exe and the output extract.05m should populate in the same directory as the osmconvert.exe exists. That's not what your code is saying. The code says "execute osmconvert.exe from inside c:\temp\ but read 770.osc.gz and write extract.o5m from the current working directory". If you want ...
I just found a solution. There is also an active psycop2 connection. When I commit it or close the connection before osm2pgsql runs and open it afterwards again it works. Probably osm2pgsql can't access to the database if this connection is open.
OSM Bright from the MapBox people is also a useful starting point for custom OSM map tiles, unless you're trying to duplicate OSM carto exactly. OSM Bright is a little more lightweight (only 4 .mss style files, fewer layers defined), and easy to customize. Otherwise, as @math1985 said, just copy the .mml and .mss files from the openstreetmap-carto repo. ...
Just checkout openstreetmap-carto in the Tilemill projects directory. The project.mml file, part of openstreetmap-carto, defines the queries and layers, so you won't need to do anything with that yourself.
You can follow the latest development of the Windows build at https://github.com/openstreetmap/osm2pgsql/issues/17 providing links to testing builds. The last build I found (but not tested) is at https://dl.dropboxusercontent.com/u/63393258/osm2pgsql.zip Personally, I am still using the May 2013 build of Dominik Perpeet from ...
According to this link: https://github.com/springmeyer/win-osm-workshop/blob/master/Tutorial.md#step-7-install-osm2pgsql osm2pgsql is included in the HOT-installer: https://github.com/hotosm/installer/downloads. However, the last update is from 2010 but maybe it fits your needs.
Top 50 recent answers are included