[Proj] Test Data

Frank Warmerdam warmerdam at pobox.com
Tue Sep 28 09:40:02 EDT 2004


Cela Elizagarate, Jorge wrote:
> Hello,
>  
> I have the intention to develop a wrapper over PROJ4 in C++ and I would 
> like to have test data sets to ensure that the extra developed SW 
> developed on top of PROJ4 works properly.
>  
> Does anyone test data sets containing the information attached for PROJ4
>  
>  
> INFORMATION
>  
> XXXXXXX PROJECTION PARAMETERS:
> 
>    Semi-Major Axis of Ellipsoid:     
>    Semi-Minor Axis of Ellipsoid:     
>    1st Standard Parallel:     
>    2nd Standard Parallel:    
>    Longitude of Central Meridian:     
>    Latitude  of Origin:     
>    False Easting:      
>    False Northing: 
> ...................................    
> LIST OF values for
>  
>  LONG LAT        X              Y    
> --------------------------------------
> .......................................................
> .......................................................      

Jorge,

I would be interested in such a thing as well.  What I did prepare at one
point was a file with a test point for each EPSG projected coordinate system.
It looks like this:

"EPSG_PCS","EPSG_MethodCode","InputProjX","InputProjY","OutputGCS","OutputLat","OutputLong","LatLongErrorThreshold"
2000,9807,433379.57418,-27627.58126,4600,-0.250000000000,-61.700000000000,0.000001
2001,9807,433379.57418,-27627.58126,4601,-0.250000000000,-61.700000000000,0.000001
2002,9807,433379.57418,-27627.58126,4602,-0.250000000000,-61.700000000000,0.000001

The intention was that different projection software could use it to verify
their support for converting to/from various EPSG projected systems.  You
*could* use it with PROJ.4 directly by looking up the PROJ.4 definition
for the coordinate system in the epsg lookup file based on the EPSG_PCS
number.

However, the other caveat is that I auto-generated it using PROJ.4 based
on my definitions in the epsg file.  So any errors in that file will be
reflected in the test data.

It would be really sweet if EPSG actually provided such information with their
coordinate systems.

Let me know if you are interseted in getting the entire test suite file.

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 Proj mailing list