[Proj4j] Re: Proj4j Digest, Vol 5, Issue 1

Martin Davis mbdavis at refractions.net
Tue Mar 9 13:12:36 EST 2010


Ah, right.

IMO the testsuite file is incorrect, since the src and tgt ordinates are 
not in the same order.  Proj4j can't handle that situation currently 
(and it's not clear to me how an application would detect this situation).

Landon, any thoughts on this?

pierreyvesfadet wrote:
> I used test file from testsuite. This file is not the same as proj4j:
> inverse fields srcOrd1/srcOrd2 and tgtOrd1,tgtOrd2 too.
>
> Thank you.
>
> proj4j-request at lists.osgeo.org a écrit :
>> Send Proj4j mailing list submissions to
>>     proj4j at lists.osgeo.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>     http://lists.osgeo.org/mailman/listinfo/proj4j
>> or, via email, send a message with subject or body 'help' to
>>     proj4j-request at lists.osgeo.org
>>
>> You can reach the person managing the list at
>>     proj4j-owner at lists.osgeo.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Proj4j digest..."
>>
>>
>> Today's Topics:
>>
>>    1. proj4j & CSV Test Data file (pierreyvesfadet)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 09 Mar 2010 16:01:19 +0100
>> From: pierreyvesfadet <pierreyvesfadet at free.fr>
>> Subject: [Proj4j] proj4j & CSV Test Data file
>> To: proj4j at lists.osgeo.org
>> Message-ID: <4B9662BF.6080203 at free.fr>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Hi,
>>
>> Proj4j gives failure result with TestData.csv file as program argument.
>>
>> console printing:
>> WGS84 Geogrpahic 2D to CSPC Z3 USFT NAD83
>> [37.95657778, -121.3128278] -> [NaN, NaN] ( expected: 2171792.15, 
>> 6327319.23 )
>> FAIL
>> Src CRS: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
>> Tgt CRS: +proj=lcc +lat_1=38.43333333333333 +lat_2=37.06666666666667 
>> +lat_0=36.5 +lon_0=-120.5 +x_0=2000000.0001016 +y_0=500000.0001016001 
>> +ellps=GRS80 +datum=NAD83 +units=us-ft +no_defs
>> Tests run: 1,  Failures: 1,  Errors: 0
>>
>> What has failed?
>> Best regards,
>>
>> Pierre-yves.
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Proj4j mailing list
>> Proj4j at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/proj4j
>>
>>
>> End of Proj4j Digest, Vol 5, Issue 1
>> ************************************
>>
>>   
>
> _______________________________________________
> Proj4j mailing list
> Proj4j at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/proj4j
>

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022



More information about the Proj4j mailing list