[Tile-serving] [openstreetmap/osm2pgsql] Simplify Windows installation instructions (#800)

zstadler notifications at github.com
Tue May 15 21:01:14 UTC 2018


zstadler commented on this pull request.



>  
-Unoffical builds for Windows are available from [AppVeyor](https://ci.appveyor.com/project/openstreetmap/osm2pgsql/history) but you need to find the right build artifacts. The latest
-release is [0.92.0](https://ci.appveyor.com/api/projects/openstreetmap/osm2pgsql/artifacts/osm2pgsql_Release.zip?tag=0.92.0).
+**macOS**: osm2pgsql is available with [Homebrew](http://brew.sh/).
+
+**Windows**: Unoffical builds are available from [AppVeyor](https://ci.appveyor.com/project/openstreetmap/osm2pgsql/history). The latest
+release is [0.94.0](https://ci.appveyor.com/api/projects/openstreetmap/osm2pgsql/artifacts/osm2pgsql_Release.zip?tag=0.94.0). Just unzip the archive into a directory of your choice. You may need Admnistrator permissions in order to unzip into `C:\Program Files (x86)`.
+
+_Note:_ `osm2pgsql` expects the default style file at `C:/libs/share/osm2pgsql/default.style`. In order to avoid an error message use <code>--style <em><osm2pgsql directory></em>\default.style</code> or run the following commands once:
+* `mkdir C:\libs\share`
+* <code>mklink /D C:\libs\share\osm2pgsql "<em><osm2pgsql directory></em>"</code> 

The fact is that the use of `--style FILE` is not needed on Linux. As far as I could see, it isn't part of all the documented examples.
Even users that "know what they're doing" on Windows may be unaware of the assumptions taken by the authors of the README. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/800#discussion_r188434751
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180515/707040a7/attachment.html>


More information about the Tile-serving mailing list