MapGuide Open 1.0.1 and WMS problems

Antonio de la Peña antonio_dlp at dsgmexico.com.mx
Thu Aug 10 21:04:38 EDT 2006


I can't confirm that because I don't have the Sheboygan package installed
right now but I'll attach my awd file. You still have to set up the proper
server address either by hand or using the map administrator so it points to
your WMS server IP or name. Hope it works.


Andy Morsell wrote:
> 
> But, it sounds like it working for Antonio after removing the comment and
> not having any additional WKT entries.  Antonio, can you confirm that this
> works for you (replace the server with yours)?:
> 
> http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=GetMa
> p&service=WMS&layers=Samples/Sheboygan/Layers/Hydrography&srs=EPSG:4326&bbox
> =-87.74,43.68,-87.69,43.815&width=500&height=500&format=image/png 
> 
> Thanks.
> 
> Andy 
> 
> -----Original Message-----
> From: Thomas M. Tuerke [mailto:thomas.m.tuerke at autodesk.com] 
> Sent: Monday, August 07, 2006 3:22 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] MapGuide Open 1.0.1 and WMS problems
> 
> Hi Andy,
> 
> No, once you've restarted the IIS or Apache server, the in-memory cache
> should be cleared.  (I think FastCGI clears the module -- and thus the
> cache
> -- every several hundred requests or so, too.)
> 
> If the WKT isn't coming from the *.config.awd file, then it must be coming
> from the underlying CS system; if that's generating a parser error, then
> Houston, we have a problem (... which SRS.WKT.map was meant to address in
> the first place ;-})
> 
> With this stray comment syntax error identified (thanks, Antonio!) how
> about
> trying to reinstate one of last week's EPSG:4326 mappings to WKT, to see
> if
> that's more digestible.  Either way, an OSGEO artifact may be in order.
> 
> Thanks,
> 
> - Thomas
> 
> -----Original Message-----
> From: Andy Morsell [mailto:amorsell at spatialgis.com]
> Sent: Monday, August 07, 2006 3:11 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] MapGuide Open 1.0.1 and WMS problems
> 
> There is no entry for that WKT.  I am using the out-of-the-box
> OgcWmsService.config.awd file with the exception of removing the errant
> comment string.  I did try to add an entry last week per your
> recommendations, but have reverted to the original file and have restarted
> services, etc. Does that information get stored in another configuration
> location that needs to be edited now?
> 
> 
> Andy 
> 
> -----Original Message-----
> From: Thomas M. Tuerke [mailto:thomas.m.tuerke at autodesk.com]
> Sent: Monday, August 07, 2006 2:56 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] MapGuide Open 1.0.1 and WMS problems
> 
> If that WKT is coming from SRS.WKT.map, try removing it from the map and
> seeing what happens.
> 
> -----Original Message-----
> From: Andy Morsell [mailto:amorsell at spatialgis.com]
> Sent: Monday, August 07, 2006 2:52 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] MapGuide Open 1.0.1 and WMS problems
> 
> Hi Antonio,
> I checked my file and see the same error (I'm kicking myself, I was
> looking
> in this location just last week and didn't notice the error).  However,
> after fixing it and then trying to generate the test WMS map from the
> Sheboygan hydrography layer, I now get this error:
> 
> <ServiceExceptionReport version="1.1.1">  <ServiceException
> code="InvalidCRS">
>   The coordinate system is invalid. PROJCS["WGS 84",GEOGCS["WGS
> 84",DATUM["WGS_1984",SPHEROID["WGS
> 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]
> ],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251
> 994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]"
> Could not parse the OGC WKT.<details>The coordinate system is invalid.
> PROJCS["WGS 84",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS
> 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]
> ],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251
> 994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]"
> Could not parse the OGC WKT.
> Exception occurred in method MgCoordinateSystem.MgCoordinateSystem at line
> 76 in file
> c:\build_tux_area\mgdev_opensource\common\service\coordinatesystem\Coordinat
> eSystem.cpp
> </details>
>  </ServiceException>
> </ServiceExceptionReport> 
> 
> 
> Andy 
> 
> -----Original Message-----
> From: Antonio de la Peña [mailto:antonio_dlp at dsgmexico.com.mx]
> Sent: Monday, August 07, 2006 2:15 PM
> To: users at mapguide.osgeo.org
> Subject: Re: [mapguide-users] MapGuide Open 1.0.1 and WMS problems
> 
> 
> Apparently the OgcWmsService.config.awd has a typo in the line 236 (or
> near
> it) where it says:
> 
>   <!-- This example fixes a problem with EPSG:21781 not         -->
>        finding the WKT for EPSG:21781 in the CS library. 
>        -->
> 
> As you can see there's an orphan commentary closing tag so I corrected it
> like this:
> 
>   <!-- This example fixes a problem with EPSG:21781 not         
>        finding the WKT for EPSG:21781 in the CS library. -->
> 
> Then I restarted the server both MapGuide service and IIS and now the
> "coordinate system conversion failed." error is gone.
> 
> I added the artifact MG348 addressing this issue.
> --
> View this message in context:
> http://www.nabble.com/MapGuide-Open-1.0.1-and-WMS-problems-tf2025055.html#a5
> 696004
> 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
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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/MapGuide-Open-1.0.1-and-WMS-problems-tf2025055.html#a5755358
Sent from the OSGeo MapGuide forum at Nabble.com.





More information about the Mapguide_users mailing list