Follow

Ung. `shp2pgsql` is very useful tool, but it doesn't use the `.prj` file for a shapefile? Is there a better, more modern “import this shapefile” tool?

@rory I normally use ogr2ogr but I'm not sure if it's actually any better!

@russss I did have one time when ogr2ogr was able to import a large file & shp2pgsql couldn't (lol or the other way around). But if it can do SRS, then it's better

@rory thanks for posting this, I've been wanting to create an OSM layer from my local governments open GIS data, so I can fill in addresses that are not posted on buildings. I will try out these two tools

@hinton Geofabrik (where I work) provides various thematic shapefiles from data. Give that a try in case those help.

download.geofabrik.de/

Sign in to participate in the conversation
En OSM Town | Mapstodon for OpenStreetMap

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!