3
votes
3answers
183 views

programmatically add field to shapefiles and insert shapefile name in every row of field

situation We have a folder containing 1 sub-folder for every participant in a study. The subfolders are named with the participants' ID, e.g., 1000, 1001, 1002, 1003. Every participant folder ...
4
votes
1answer
820 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 ...
0
votes
1answer
191 views

Where to get raster files of Earth, united states [duplicate]

Possible Duplicate: Open access repository of general GIS spatial data? I'm brand new to GIS programming so please excuse my lack of knowledge. I am developing a GIS web app using ...