[Tile-serving] [openstreetmap/osm2pgsql] Simplify Windows installation instructions (#800)
Sarah Hoffmann
notifications at github.com
Tue May 15 21:07:33 UTC 2018
lonvia 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>
osm2pgsql now looks in the current directory for the default.style on Windows. This should solve the issue. At least in theory. Would be nice if somebody could test this.
--
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_r188436596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180515/b0a17964/attachment-0001.html>
More information about the Tile-serving
mailing list