nix
nix

Reputation: 433

Using osm2pgsql default.style file on Windows

I am trying to use osm2pgsql on Windows 7. However, when I try to do a conversion, it gives an error since it is looking for default.style at this location:

/usr/local/share/osm2pgsql/default.style

Obviously this location does not exist in Windows so where should default.style be placed?

Upvotes: 1

Views: 2608

Answers (1)

DrColossos
DrColossos

Reputation: 12998

Provide it via -S

http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/osm2pgsql.c has all the outputs you need, or reading the --help from the tools itself also gives the information

Upvotes: 3

Related Questions