[OSRS-PROJ] Datum conversion
Marc-André Morin
Marc-Andre.Morin at altaphoto.com
Tue Aug 21 09:03:08 EDT 2001
Hi,
I try to convert coordinates from NAD83 (UTM z19) to NAD27 (SPCS Western
Maine) and it doesn't work.
These are the steps that I followed:
1- I'have built nad2bin.exe to convert ASCII files in binary format by this
command:
nmake /f makefile.vc nadshift
2- I'have built proj to get proj.dll:
nmake /f makefile.vc all
3- Built port to get cpl.lib:
nmake /f makefile.vc port_dir
4- Built ogr to get ogr.lib:
nmake /f makefile.vc ogr_dir
After all, I've made a VC project including:
1. testepsg.cpp (from OGR's source code)
2. proj.dll
3. cpl.lib, cpl.h and cplext.h
4. cpl.lib
No error and no warning is detected.
The result is correct if I try this command:
testepsg -t 32619 32618 440000 4800000
32619: UTM zone 19
32618: UTM zone 18
But an error happens if I try:
testepsg -t 32619 26784 440000 4800000
26784: SPCS Western Maine
Do you have an idea?
Best regards,
Marc-Andre
__________________________________
Marc-André Morin
AltaPhoto Technologies
390, St-Vallier est, bur. 001
Québec, Qc, Canada
G1K 3P6
Tél.: (418) 641-0008 *290
Fax: (418) 641-2146
----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.
More information about the Proj
mailing list