[OSRS-PROJ] Error projecting Geographic to UPS

Charles D. Van Dusen charlie at im-design.net
Wed Jan 7 15:10:19 EST 2004


Greetings
 
I am having a problem projecting a shapefile of canada from geographic
to UPS:
 

P:\Data\maproom.psu.edu>shpproj canada.shp projections\ups\canada.shp
-i=geographic -o"proj=ups"
 

P:\Data\maproom.psu.edu>
 
The program appears to complete without error, but the resulting .prj
file has a single line of "proj=geographic" and the output shape file is
exactly the same as the input shape file.
 
So, in stepping though the debugger, the problem appears to be that the
SHPSetProjection call is returning 0 for the new_prj. Further, the call
to pj_init in shpgeo.c is returning 0 as well.
 
My environ:
Windows XP
shapelib-1.2.10
proj cvs as of December 2003
 
Any Ideas
 
Charlie Van Dusen
IM Design
 
charlie at im-design.net
+1 781.389.0343
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20040107/752fe711/attachment.html


More information about the Proj mailing list