[postgis-users] couldn't get the correct projected values
Don
harterc1 at comcast.net
Mon May 19 17:04:32 PDT 2008
I am having problems with Transform. It is giving me values which don't
seem correct.
This command transforms nad27 clrk66 to UTMzone16 grs80 nad83 meters:
select AsText(Transform(GeomFromText('Point( -85.70285 35.50463)',
4267),'26916')) from table;
I get what seems like a reasonable value.
POINT(617641.061533109 3929788.38473634)
However if I run this command:
select AsText(Transform(GeomFromText('Point( -85.70285 35.50463)',
2204),'26916')) from table;
I get this result:
POINT(-17819.6295321235 3799331.7285575)
This does not look like a valid UTM coordinate. I thought that they
were offset so that they are positive.
SRID 2202 is defined as
"+proj=lcc +lat_1=35.25 +lat_2=36.41666666666666
+lat_0=34.66666666666666 +lon_0=-86 +x_0=609601.2192024384
+y_0=30480.06096012192 +ellps=clrk66 +datum=NAD27
+to_meter=0.3048006096012192 +no_defs"
More information about the postgis-users
mailing list