Hi, I think the man page is pretty clear: https://man.cx/shp2pgsql You should precise the srid corresponding to your data using the -s option. And connection information can also be useful (host, port and user name). It is optional but you could add a spatial index with the -I option. Don't forget to give the path to the shapefile and its name without any extension. ogr2ogr can be use instead of shp2pgsql. HTH, Hug Le 8 mars 2019 8:08 PM, "Pinto, Naiara (334F)" <[email protected] Hi all,
Is there a way to convert shapefiles into geometry records? I don’t see shapefiles on this list (see 9.4): http://postgis.net/workshops/postgis-intro/geometries.html#polygons My shapefiles are polygon type. I think this could be accomplished with shp2pgsq, does anyone have any examples you can share with me? Thank you, Naiara.
_______________________________________________ postgis-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/postgis-users
