[Gdal-dev] problems with OSR

Frank Warmerdam warmerdam at pobox.com
Sat Feb 22 14:56:27 EST 2003


>> The North Carolina state plane coordinate system can be auto-created
>> as EPSG:32119.
 >
> How did you know that? Where do I look to get that number?

Gary,

I searched for North Carolina in gdal/data/pcs.csv.

>> eg.
> 
> 
>> import osr
>> x = osr.SpatialReference()
>> x.SetFromEPSG( 32119 )
> 
> 
> My library does not appear to have the above method for 
> SpatialReference. The methods I see include:

Sorry.  I actually did try it in a separate window, but didn't
literally copy.

It should be "x.ImportFromEPSG(32119)"

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list