Tagged Questions
2
votes
1answer
128 views
Create a shapefile from geometry
Please excuse my lingo, I am still learning some aspects of geo spatial and arcpy.
I have a python script that takes a shapefile. The shapefile consists of a polyline. I have traversed the polyline, ...
6
votes
1answer
180 views
Polygon creation (Clockwise rotation or not)
According to "ESRI Shapefile Technical Description An ESRI White Paper—July 1998", Vertices for a single, ringed polygon are, therefore,always in clockwise order. Otherwise,"Dirty" polygons occur when ...
3
votes
1answer
357 views
How to programatically populate a shapefile field with polygon areas in OGR?
I'm trying to programatically populate a shp field with polygon areas:
import sys
import ogr
ds = ogr.Open( 'tttttttttt.shp', update = 1 )
if ds is None:
print "Open failed./n"
sys.exit( 1 ...
4
votes
2answers
419 views
Extract all pixels of given RGB value and render as MultiPolygons
Given a geotiff image with a colortable in it, what is the easiest way to extract each color as its own "layer or shapefile or multipolygon object"?
Specifically, I am looking for a programmatic ...
1
vote
1answer
78 views
Online resources for creating shp files performing basic GI functionality
I am looking to build polygons, based on files containing a grid of points. The representation of the polygon would be an aggregation of the points. As the end wares are ESRI, I was wondering if ...