[mapguide-users] RE: WMS and EPSG:4326
Andy Morsell
amorsell at spatialgis.com
Thu Sep 7 12:09:04 EDT 2006
Ah, that's good that you solved the mystery of why that config.awd file
worked when there appeared to be no difference between that file and the
original. The commented WKT mapping was added by Antonio de la Pena so we
have him to thank for this at least partially working for some of us.
I'm glad to see Autodesk working on this issue....
Andy
-----Original Message-----
From: Chris Claydon [mailto:chris.claydon at autodesk.com]
Sent: Thursday, September 07, 2006 8:59 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] RE: WMS and EPSG:4326
I'm looking into this problem at the moment. Here's what I've found so
far:
The coordinate system conversions are failing because the web tier fails to
read the environment variable PROJ_LIB, which provides the location of the
coordinate system data files. (On my machine: C:\Program
Files\MapGuideOpenSource\Server\nad). This prevents the Proj4 libraries from
loading the data that allows them to convert EPSG codes into WKT.
On Apache this can be fixed by setting the environment variable in
httpd.conf. This can be achieved by adding:
SetEnv PROJ_LIB "C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\nad"
to the end of this file.
I am in the process of figuring out the equivalent fix for IIS. Once we have
that, the installers will be updated to add the required settings
automatically.
To solve another mystery...
The OgcWmsService.config.awd file that Andy has posted contains a mapping
from EPSG:4326 to a WKT string. In the XML, this mapping is commented out,
but there is a bug in the parser that means that it gets read anyway. When
this config file is used, the mapped WKT string is used directly, and no
attempt is made to determine a mapping using Proj4. That's why it works.
Chris.
-----Original Message-----
From: Andy Morsell [mailto:amorsell at spatialgis.com]
Sent: September 7, 2006 9:11 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] RE: WMS and EPSG:4326
The attachment is in the archives at:
https://mapguide.osgeo.org/servlets/ReadMsg?list=users&msgNo=2721 but
depending on your browser, may not download well. I have zipped it and
placed it on my server. You can download it from here:
http://www.spatialgis.com/OgcWmsService.config.zip
Andy
-----Original Message-----
From: David Hamilton [mailto:d.n.hamilton at jiffle.net]
Sent: Thursday, September 07, 2006 4:22 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] RE: WMS and EPSG:4326
Hi,
The attachment was stripped from the copy on your message posted to this
forum, which will prevent any newbie (such as me) who is researching
this
issue from solving it!
Is it possible that someone could either host the file and post the URL,
or
mail me a copy directly, and I'll host the file myself (copyright issues
permitting, of course).
Thanks
/david
Andy Morsell wrote:
>
> That's a strange problem, isn't it? Attached is the
> OgcWmsService.config.awd file that Antonio de la Pena sent me (thanks
> again Antonio). I think he tried to send it to the group once, but it
> didn't work. So, let me know if you don't get it and I can send you a
> private message instead.
>
>
> Andy Morsell, P.E.
> Spatial Integrators, Inc.
> http://www.SpatialGIS.com
>
> _____
>
> From: Gord McKenzie [mailto:gord.mckenzie at canam.com]
> Sent: Thursday, August 24, 2006 9:49 AM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] WMS and EPSG:4326
>
>
>
> I have read the extensive thread, between Andy and Thomas, on the
> subject of WMS and EPSG:4326. I am having the exact same problem and
> am unable to sort it out. There was a copy of an awd file mentioned
> but it did not seem to be attached to any of the posts. Is this file
> the answer to the problem and if so is it available somewhere?
>
>
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
--
View this message in context:
http://www.nabble.com/WMS-and-EPSG%3A4326-tf2159810.html#a6188570
Sent from the OSGeo MapGuide forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.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