[fusion-dev] Re: Adding WMS in Application Definition

Michael Adair madair at dmsolutions.ca
Mon Jul 4 10:50:32 EDT 2011


The problem is that the WMS server doesn't support the Google mercator 
projection, so the image comes back blank.  I have found very few public 
WMSs that do support it.

Mike

On 29/06/2011 3:26 AM, ggdm wrote:
> I tried but no luck as before.
>
> I'm posting my mapgroup xml here:
>
> /<?xml version="1.0" encoding="utf-8"?>
> <MapSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    <MapGroupType id="Map">
>      <Map>
>        <Type>MapGuide</Type>
>        <SingleTile>true</SingleTile>
>        <Extension>
>          <ResourceId>Library://Map.MapDefinition</ResourceId>
>          <SelectionAsOverlay>true</SelectionAsOverlay>
>          <SelectionColor>0x0000FFA0</SelectionColor>
>          <ImageFormat>PNG</ImageFormat>
>          <Options>
>            <isBaseLayer>false</isBaseLayer>
>            <userOverlay>true</userOverlay>
>            <projection>EPSG:900913</projection>
>          </Options>
>        </Extension>
>      </Map>
>      <Map>
>        <Type>WMS</Type>
>        <SingleTile>false</SingleTile>
>        <Extension>
>          <ResourceId>http://onearth.jpl.nasa.gov/wms.cgi?</ResourceId>
>          <Options>
>            <name>NASA</name>
>          </Options>
>          <Parameters>
>            <layers>global_mosaic</layers>
>          </Parameters>
>        </Extension>
>      </Map>
>      <Map>
>        <Type>Google</Type>
>        <SingleTile>true</SingleTile>
>        <Extension>
>          <ResourceId>Google</ResourceId>
>          <Options>
>            <name>Google Maps Street</name>
>            <type>G_NORMAL_MAP</type>
>          </Options>
>        </Extension>
>      </Map>
>      <Extension />
>    </MapGroupType>
> </MapSet>
> /
> BTW I'm using Infrastructure Map Server 2012
>
> Thanks again
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Adding-WMS-in-Application-Definition-tp6514397p6527980.html
> Sent from the Fusion Developers mailing list archive at Nabble.com.
> _______________________________________________
> fusion-dev mailing list
> fusion-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-dev


More information about the fusion-dev mailing list