[Geomoose-users] WMS layer not working

Brent Fraser bfraser at geoanalytic.com
Thu Aug 2 09:57:23 PDT 2012


Try using a different  name (e.g. <map-source name="WPPGEOG3_OpenData" ) 
for the second one. Likely GeoMOOSE just finds the first map-source with 
the name given in the layer/catalog def.

Best Regards,
Brent Fraser

On 8/2/2012 10:37 AM, Jonathan Moules wrote:
> Hi List,
> I have a couple of WMS layers that I'm trying to access through GM
> 2.6. One works but the other doesn't.
>
> I've got the following setup in my mapbook.xml:
> 	<!--JM; Our test server internal WMS -->
> 	<map-source name="WPPGEOG3_WMS" type="wms">
> 		<url>http://wppgeog3/wms/wms.exe?</url>
> 		<layer name="WMS"/>
> 		<param name="FORMAT" value="image/png"/>
> 		<param name="TRANSPARENT" value="false"/>
> 	</map-source>
> 	
> 	<!--JM; Our  test server external WMS -->
> 	<map-source name="WPPGEOG3_WMS" type="wms">
> 		<url>http://wppgeog3/wms/wms.exe?</url>
> 		<layer name="WMS_OS_OpenData"/>
> 		<param name="FORMAT" value="image/png"/>
> 		<param name="TRANSPARENT" value="false"/>
> 	</map-source>
>
>
>
> 		<layer title="Geog3 Internal WMS" src="WPPGEOG3_WMS/WMS"
> show-legend="false" />
> 		<layer title="Geog3 External WMS" src="WPPGEOG3_WMS/WMS_OS_OpenData"
> show-legend="false" />
> 		
>
> The WPPGEOG3_WMS/WMS works just fine, however the WMS_OS_OpenData
> absolutely refuses to work. Firebug shows that no requests are even
> being made to the server for that layer. I also had it pointing to a
> different set of servers, again the regular WMS worked, but it refused
> to make the request to the WNS_OS_OpenData one. If I pan around,
> requests are sent to blank.gif, but none to the WMS.
> Both WMS services work fine in other applications.
>
> Any thoughts?
> Thanks,
> Jonathan
>
>
> This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us,  including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>




More information about the Geomoose-users mailing list