--- Begin Message --- I'm *almost* certain that the problem is with the auto-reaspect behavior of certain WMS servers. When the requested image size has a different aspect ratio than the bbox, it adjusts the bbox in order to maintain the aspect ratio. So GE would not be getting back the same bbox that it requested, but not be aware of the change.

I haven't had occasion to verify this, but do remember that I had a similar issue with WMS support in WorldWind.

-- john


Julien, Heryk wrote:
Yes,
I haven't figured out what is going. I'll have to look into this. Some wms 
servers are okay while others are definitely off! But the kmz example I sent 
you seems to show up correctly in GE.
We have to point out that this is a new beta release. I'm sure the bug will be 
fixed in a near future.

Have you tried Dapple? Very neat! It's GE like and wms compliant but you need 
Windows XP to run it.
http://dapple.geosoft.com/help/wms.asp


Cheers
Héryk

-----Message d'origine-----
De : John Cartwright [mailto:[EMAIL PROTECTED] Envoyé : 20 septembre 2006 11:50
À : Julien, Heryk
Objet : Re: [UMN_MAPSERVER-USERS] Google Earth can now access OGC WMS services. 
(followup)

Hello Again,

I've found what seems to be the correct syntax, but have significant distortion/displacement between the GE layers and WMS image. Did you have any trouble with this?

Thanks again!

-- john

<GroundOverlay>
        <name>Untitled Image Overlay</name>
        <color>99ffffff</color>
<Icon> <href>http://map.ngdc.noaa.gov/wmsconnector/com.esri.wms.Esrimap/basicworld?VERSION=1.1.1&amp;REQUEST=GetMap&amp;SRS=EPSG:4326&amp;WIDTH=1024&amp;HEIGHT=1024&amp;LAYERS=1,2&amp;STYLES=&amp;TRANSPARENT=TRUE&amp;FORMAT=image/png&amp;</href>
                <viewRefreshMode>onStop</viewRefreshMode>
                <viewRefreshTime>2</viewRefreshTime>
                <viewBoundScale>0.75</viewBoundScale>
        </Icon>
        <LatLonBox>
                <north>25.82492550172083</north>
                <south>22.17223456100858</south>
                <east>-108.3312728011091</east>
                <west>-113.1527219411753</west>
        </LatLonBox>
</GroundOverlay>


John Cartwright wrote:
Hi Heryk,

that is good news! Could you please send me an example of the new KML that you used to connect to your WMS? I'm not seeing the option in the docs.

Thanks!

-- john


Julien, Heryk wrote:
Hi to all,
This may be of general interest. A couple of weeks ago I created a wms to kml online service transformation but I have just been informed that the new Google Earth (GE) 4.0.2091 (Beta) can now read OGC WMS services directly. I was able to view my Mapserver WMS services directly in GE. Cool!

You'll find the new option in the image overlays. Plus, if you want your mapserver getmap images to have a transparent background, you should modify the WMS getmap call manually to fetch png rather than gif. Have fun!

Cheers
Héryk




--- End Message ---

Reply via email to