[postgis-users] Weird behavior transforming from srid 4269 to 2163

Paragon Corporation lr at paragoncorporation.com
Mon Jan 28 23:31:55 PST 2008


I'm having some strange discrepancies between two postgis servers in how
they are transforming the same data from 4269 to 2163.  I'm hoping someone
could shade some light on what could be the problem.

The problematic server is running Red Hat 4.1.2-14 and postgis version
"POSTGIS="1.3.2" GEOS="2.2.3-CAPI-1.1.1" PROJ="Rel. 4.6.0, 21 Dec 2007"
USE_STATS"

The one that I think is right is running Windows 2003 server
"POSTGIS="1.3.1" GEOS="3.0.0rc4-CAPI-1.3.3" PROJ="Rel. 4.5.0, 22 Oct 2006"
USE_STATS"

So the bad one is running a newer version of the PROJ library, but I wasn't
the one who compiled and installed, so not sure if there was a step missing.

1) From the Red Hat one performing this operation
SELECT astext(transform(geomfromtext('MULTILINESTRING((-69.988168
41.7835,-69.987501 41.783355))',4269),2163))
Yields 
MULTILINESTRING((2420304.88668547 94651.8273771414,2420361.25515996
94656.4741928499))

2) Performing the same operation on the Windows running Proj 4.5 yields
MULTILINESTRING((2427760.20544155 74412.3062518011,2427816.71754969
74417.0066510914))


Also attached is a snapshot showing Massachusetts reprojected from 4269
(longlat) to 2163 (US National Atlas Equal Area)

The one in Red is the Linux and the Green is the Windows 2003.

Thanks,
Regina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: matest.jpg
Type: image/jpeg
Size: 25368 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080129/00d69d54/attachment.jpg>


More information about the postgis-users mailing list