[Proj4j] Re: Proj4j Digest, Vol 5, Issue 1
Martin Davis
mbdavis at refractions.net
Fri Mar 19 15:35:46 EDT 2010
Yes, I think it's the test file in the main MetaCRS SVN that's causing
the problem.
Fixing that file would be great - it would be nice if Proj4J could
correctly execute the MetaCRS tests!
Or - an indication of ordinate order needs to be added to the test file
format. I think we had this discussion a while ago... IIRC, you were
in favour of having this indication, and I wasn't at the time. Hoist by
my own petard!
M
Sunburned Surveyor wrote:
> I think I agree with you Martin. The source and target ordinates
> should be in the same order. Is this the test file from the main
> MetaCRS SVN?
>
> Maybe I need to mention this problem on the main MetaCRS mailing list
> and offer to fix the test file.
>
> Landon
>
> On Tue, Mar 9, 2010 at 11:12 AM, Martin Davis <mbdavis at refractions.net> wrote:
>
>> 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
>>
>> _______________________________________________
>> 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