370 reputation
213
bio website stanford.edu/~rpsharp
location Mountain View, CA
age 36
visits member for 3 years, 4 months
seen Jul 8 at 22:07

I used to teach computer science at a small liberal arts college. Currently software developer at an NGO.


Sep
23
accepted What's a good way to display a custom raster basefile in Openlayers
Sep
22
asked What's a good way to display a custom raster basefile in Openlayers
Sep
7
asked Is it possible to create color tables for floating point raster maps in GDAL?
Aug
26
revised How to determine area of pixel in meters with GDAL and Python?
Showing part of solution.
Aug
26
accepted How to determine area of pixel in meters with GDAL and Python?
Aug
26
asked How to determine area of pixel in meters with GDAL and Python?
Aug
19
comment Want to use GDAL in Arc10 toolbox via subprocess call
Thanks for checking; I read that post as well. Unfortunately updating the os.environ['PATH'] before loading gdal didn't work either.
Aug
19
comment Want to use GDAL in Arc10 toolbox via subprocess call
Unfortunately sys.path is identical between the two calls except for an extra directory. If I manually remove that directory I still get the same error. Any other ideas?
Aug
18
asked Want to use GDAL in Arc10 toolbox via subprocess call
Aug
18
comment How to provide transform information to openlayers on Image layer
Thanks, this is exactly the functionality I was needing.
Aug
18
accepted How to provide transform information to openlayers on Image layer
May
25
asked How to provide transform information to openlayers on Image layer
Apr
11
comment How do I convert affine coordinates to lat/lng?
Thanks @whuber, great idea.
Apr
11
awarded  Editor
Apr
11
accepted How do I convert affine coordinates to lat/lng?
Apr
11
comment How do I convert affine coordinates to lat/lng?
Thanks iant, this put me on the right track.
Apr
11
revised How do I convert affine coordinates to lat/lng?
Posted solution
Apr
11
comment How do I convert affine coordinates to lat/lng?
Maybe this is what I'm after. Is the "epsg:4326" a transform to global lat/lng? I think I see some classes where I can provide a projection, I was thinking "WGS:84", but I don't know the difference.
Apr
11
comment How do I convert affine coordinates to lat/lng?
I read the geotransform section of the link you provided, but I don't think this is what I'm after. Sorry if I am being obtuse, but doesn't this describe how to project x and y indices (0 to XSize or YSize) to projected coordinates? I'm curious how you translate projected coordinates into latitude and longitude. As a simple example, the geotransform defines the x/y origin of the upper left hand corner of the raster in projected coordinates (447466.693808, 4952570.40529). How would I turn those coordinates back into lat/lng (something like lat: 44,lng: -122).
Apr
11
comment How do I convert affine coordinates to lat/lng?
@Dan Thanks, so I know I can get the projection via a dataset.GetProjectionRef() and find out I'm using "UTM Zone 10", but then what? I'm googling around for methods like "unproject" but am coming up null.