Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4101

PostGIS is an extension for the PostgreSQL object-relational database that adds support for geographic objects.

4 votes
Accepted

unable to call shp2pgsql using python

This seems a bit convoluted. Why not use os.system instead? Just write out / manipulate the command as a string and feed it to os.system.
R Thiede's user avatar
  • 705
0 votes

Load Shapefiles into a remote PostGIS db using command line?

You can either use shp2pgsql on your local copy of the database, create a dump of the new database and upload it, ... or install shp2pgsql on the remote machine, scp the shapefile over, and shp2pgsql …
R Thiede's user avatar
  • 705
6 votes

Math module VS PostGIS

Do note, however, that your data will need to be loaded into a PostGIS database. … So if your original data came in the form of shapefiles, you'll need to load that into a PostGIS database with shp2pgsql, for example. …
R Thiede's user avatar
  • 705