[mapguide-users] UnitTest TestCoordinateSystem failed on MGOS debug build

Bruce Dechant bruce.dechant at autodesk.com
Fri Mar 24 15:02:19 EST 2006


There are lots of OGC WKTs that PROJ4 cannot successfully import and
they are left in the unit test file so that progress on this can be
tracked. This is due in part to the OGC WKT standard allowing lots of
variation for things like projection, datum and ellipsoid names.

 

Is there a particular OGC WKT you are concerned with? 

 

Bruce

 

  _____  

From: velen [mailto:vliang at thecarbonproject.com] 
Sent: Friday, March 24, 2006 12:34 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] UnitTest TestCoordinateSystem failed on MGOS
debug build

 

Thanks to Bruce; We managed to build a debug version of MGOS on Windows
2003. Running unit tests now and found Coordinate System failed. It
looks like PROJ.4 failed to be initialized. We checked %path% and
permission of proj.dll - those seemed okay.

 

Please advice! Thanks.

 

Error messages:

====================================

.

Running Coordinate System tests. (PROJ4)

.

Testing coordinate system OGC WKTs.

ERROR 6: Failed to initialize PROJ.4 with `+proj=omerc +lat_0=0 +lonc=0
+alpha=0

 +k=1 +x_0=0 +y_0=0 +ellps=bessel
+towgs84=674.374,15.056,405.346,0.0,0.0,0.0,0.

0 +units=m +no_defs '.

lat_0 = 0 or 90 or alpha = 90

The coordinate system is invalid. PROJCS["CH1903+ / LV95",
GEOGCS["CH1903+", DAT

UM["CH1903+", SPHEROID["Bessel 1841", 6377397.155, 299.1528128,
AUTHORITY["EPSG"

,"7004"]], TOWGS84[674.374, 15.056, 405.346, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPS

G","6150"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree of

 angle",0.017453292519943295], AXIS["Geodetic latitude",NORTH],
AXIS["Geodetic l

ongitude",EAST], AUTHORITY["EPSG","4150"]],
PROJECTION["Oblique_Mercator"], PARA

METER["semi_major", 6377397.155], PARAMETER["semi_minor",
6356078.962818189], PA

RAMETER["central_meridian", 0.0], PARAMETER["latitude_of_origin", 0.0],
PARAMETE

R["scale_factor", 1.0], PARAMETER["false_easting", 0.0],
PARAMETER["false_northi

ng", 0.0], UNIT["metre",1.0], AXIS["Easting",EAST],
AXIS["Northing",NORTH], AUTH

ORITY["EPSG","2056"]]

 

Could not create coordinate system forward transformation with specified
coordin

ate systems.

Exception occurred in method MgCoordinateSystem.MgCoordinateSystem at
line 76 in

 file
d:\projects\mapguide-1.0.0\common\service\coordinatesystem\coordinatesys
te

m.cpp...

 

 

  _____  

From: velen [mailto:vliang at thecarbonproject.com] 
Sent: Wednesday, March 22, 2006 3:11 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MGOS build problem on windows 2003 

 

Bruce,

 

FDO was built successfully as we followed along the documentation
("BuildConfigureMapGuideOnWindows.pdf"). According to
"OpenSourceBuild_README.txt", the output binaries are DLLs. 

 

Thank you for the tips! 

 

Velen

 

  _____  

From: Bruce Dechant [mailto:bruce.dechant at autodesk.com] 
Sent: Tuesday, March 21, 2006 6:24 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MGOS build problem on windows 2003 

 

The problem below is that the library "Fdo.lib" could not be found and
that causes lots of server DLLs to fail to build.

 

The building instructions document says to:

 

NOTE When performing the build, FDO must be installed to

InstallDir\mapguide-1.0.0\Oem. Do this by using the -o option with
build.bat:

build -o=InstallDir\mapguide-1.0.0\Oem

 

Could this step have been accidentally missed?

If so could you perform this step and you should be set.

 

Bruce

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060324/4db173f2/attachment.html


More information about the Mapguide-users mailing list