[mapguide-users] Webstudio and local coordinate systems

Michaela Schneeberger michaela.schneeberger at eur.autodesk.com
Thu Nov 23 11:41:57 EST 2006


Hi Frank, Bruce,

yes, it's Transvers-Mercator and the usual coordinate system we are
using in Germany. It's one of the standard WKTs in the MapGuide
Enterprise Mentor library.

It would be great if the handling could be more user friendly. People
are starting now to use MapGuide Open Source and Enterprise next to each
other.

Best
Michaela



-----Original Message-----
From: Frank Warmerdam (External) 
Sent: Donnerstag, 19. Oktober 2006 22:51
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] Webstudio and local coordinate systems

Bruce Dechant wrote:
> Michaela,
> 
> The problem is not related to webstudio but rather to the underlying
coordinate system library used by MapGuide open source (MGOS), ie:
PROJ4.
> PROJ4 does not support the coordinate system WKT you have below.
> 
> If you have the latest MGOS version (1.0.2) the web tier test pages
have a "CheckWkt" page that uses the MapGuide API to check a coordinate
system for you.
> 
> The default link is:
http://localhost:8008/mapguide/mapagent/index.html
> 
> Then click on the "Coordinate System" link and select "CheckWkt"
> 
> Here is the result I get using MGOS with the WKT below:
> 
> 
> Coordinate System API: CheckWkt
> 
> OGC WKT:
>
PROJCS["GK-S4-R95",GEOGCS["LL-RAUEN95",DATUM["RAUEN-95",SPHEROID["BESSEL
",6377397,155,299,15281535],TOWGS84[582,0000,105,0000,414,0000,-1,040000
,-0,350000,3,080000,8,30000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.0
17453292519943295]],PROJECTION["Gauss_Kruger"],PARAMETER["false_easting"
,4500000,000],PARAMETER["false_northing",0,000],PARAMETER["scale_factor"
,1,000000000000],PARAMETER["central_meridian",12,00000000000000],PARAMET
ER["latitude_of_origin",0,00000000000000],UNIT["Meter",1,00000000000000]
]

Bruce / Michaels,

I believe that Gauss_Kruger is just another name for
Transverse_Mercator.
Trying changing:

    PROJECTION["Gauss_Kruger"]

to
    PROJECTION["Transverse_Mercator"].

I am open to suggestions on how to make OGR (used for PROJ.4 WKT
processing) more friendly with whatever the source of these WKT
strings is.  Is it copied from an ESRI .prj file?  Or is it standard
FDO WKT?  Perhaps we need methods to morph FDO WKT into OGR WKT and
the other way around, like I do for ESRI stuff now?  Or if there are
only a few oddities we could just aim to make the PROJ.4 translation
module handle some extra cases.

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    | President OSGeo,
http://osgeo.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org






More information about the Mapguide-users mailing list