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 39704

Python is an open source interpreted programming language used in many GIS programs.

9 votes
Accepted

Reading postgis geometry with shapely

GeoAlchemy understands SQLAlchemy PostGIS and Shapely. from geoalchemy2.shape import to_shape for parcel in parcels: parcel_shape = to_shape(parcel.the_geom)
Alex Kerney's user avatar
  • 1,121
3 votes
Accepted

Getting from wkt to shapefile in Python?

properties':{'atribute1': point['atribute1'], 'atribute2': point['atribute2']}, 'geometry': mapping(geometry) Largely cribbed from GIS with Python
Alex Kerney's user avatar
  • 1,121
84 votes

Transforming Shapely Polygon and MultiPolygon objects

While shapely doesn't natively understand coordinate systems, shapely.ops.transform() can do that along with pyproj. If pyproj.Proj can understand your both of your coordinate systems, then it can be …
Alex Kerney's user avatar
  • 1,121