[Geomoose-users] problem projecting a WMS

Bistrais, Bob Bob.Bistrais at maine.gov
Tue Mar 3 12:26:38 PST 2015


Ah!  Another undocumented feature from that famous non-open-source software vendor!

Thanks for the heads-up.

BB

From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of TC Haddad
Sent: Tuesday, March 03, 2015 3:23 PM
To: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] problem projecting a WMS


For the record Bob, this sort of thing (use of numbers as default layer names in WMS) is common on ArcServers where the admins have not enabled "real" names for services.
So, not unique to NWI by any means....


On Tue, Mar 3, 2015 at 12:18 PM, Bistrais, Bob <Bob.Bistrais at maine.gov<mailto:Bob.Bistrais at maine.gov>> wrote:
Think I got it now.  Once I updated the URL, the problem was with the layer name.  I had the layer name as “Wetlands” (that would seem logical).  But the actual layer name in the WMS is “1”.  I updated mapbook.xml accordingly, and it works.

I hope this might help others out there.  If you use USFWS NWI service, please be aware of the layer names!

Bob

From: geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org> [mailto:geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org>] On Behalf Of Bistrais, Bob
Sent: Tuesday, March 03, 2015 3:08 PM
To: geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
Subject: Re: [Geomoose-users] problem projecting a WMS

Correction- I forgot to update the layer name for the Catalog checkbox.  Now that I’ve done that, I get the dreaded pink screen.  Still investigating on my end, but something’s weird about this updated NWI service.  Any thoughts?

From: geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org> [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Tuesday, March 03, 2015 2:48 PM
To: geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
Subject: [Geomoose-users] problem projecting a WMS

Hello all,

I needed to update my NWI layer references because of an apparent change by USFWS with the NWI service.  I thought it would be as simple as changing the URL and/or layer name.  But now the NWI layer does not show at all.  I am not getting any error messages in Firebug.

Our applications use EPSG:26919 as an SRS.  The NWI services supports 84, 4326, 3857, and 102100.  In the past I have made this work simply by setting the map-source projection parameter, but it doesn’t seem to be working now.

My suspicion is that that the layer is not being reprojected to the application’s projection, but this worked in the past.  This particular application is using GeoMoose 2.6RC1.  Here is the code from the mapbook.xml:

                <map-source name="nwi" type="wms" reference="false" tiled="false" projection='EPSG:26919'>
                                <url>http://107.20.228.18/ArcGIS/services/Wetlands/MapServer/WMSServer?</url<http://107.20.228.18/ArcGIS/services/Wetlands/MapServer/WMSServer?%3c/url>>
                                <layer name="Wetlands" queryable="true" status="off"/>
                                                <param name="format" value="image/png"/>
                                                <param name="TRANSPARENT" value="TRUE"/>
                                                <param name="STYLES" value=""/>
                </map-source>

If it helps, here is the URL to USFWS’s NWI page:
http://www.fws.gov/wetlands/Data/Web-Map-Services.html



_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geomoose-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20150303/d9bf73d6/attachment.html>


More information about the Geomoose-users mailing list