Re: [Gdal-dev] transform point problem using gdal 1.5 with osr

2009-02-03 Thread Johan_L
I'm having the same problem. I tried another way according to one example I found, which doesn't work either: from osgeo import ogr, osr # Get the geometry object ds = ogr.Open("inFile.shp") layer = ds.GetLayer() feature = layer.GetNextFeature() geom = feature.GetGeometryRef() # Get the coordin

[gdal-dev] transform point problem using gdal 1.5 with osr

2008-12-16 Thread prairie Last
I am trying to tranform one coordinate system to another (wgs84 to utm). Found one example on the internet (adapted a little). It got an error when I try to run the program. Since I am new to GDAL, I cannot figure out how to correct this. Please see the following program. I also tried to add one mo