Shapefiles » History » Version 1
Version 1/4
-
Next » -
Current version
Philippe May, 04/11/2016 22:50
Shapefiles¶
QGis¶
Qgis can be used to import Shapefiles to the database. It's dead easy, just drag and drop the files (from the Browser Panel -> Home/...) to the database connection.
However, it doesn't set the geometry features metadata to the proper SRID (32644 in our case), leading to difficulties fetching the proper coordinates.
One way around it is to force the geomety in the imported tables with the Postgis UpdateGeometrySRID function, like so:
psql -U avgis -d avgis -h server.gis.av -c "select UpdateGeometrySRID('public', 'wells', 'geom', 32644) ;"