[Geomoose-users] problem projecting a WMS

James Klassen klassen.js at gmail.com
Tue Mar 3 12:59:02 PST 2015


Interestingly the MapServer WMS server gives a warning if you set a layer
name to start with a number that doing so violates the spec and may not
work everywhere.
On Mar 3, 2015 2:22 PM, "TC Haddad" <tchaddad at gmail.com> wrote:

>
> 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>
> 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] *On Behalf Of *Bistrais, Bob
>> *Sent:* Tuesday, March 03, 2015 3:08 PM
>> *To:* 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
>> <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
>> *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>
>>
>>                                 <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
>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>>
>
>
> _______________________________________________
> Geomoose-users mailing list
> 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/246e06b9/attachment-0001.html>


More information about the Geomoose-users mailing list