[mapserver-users] WMS in Google Earth
Alexandre Dube
adube at mapgears.com
Fri Oct 3 05:09:48 PDT 2008
Hi Tom,
Thanks for your reply, but unfortunately that didn't solved the problem.
In fact, the existing WMS servers in GE, don't use "service=WMS" in any
"Link" string and they work...
However, the wms_onlineresource IS always the first part of the "Link"
string, not the actual local link you copy/paste when in the "WMS
Parameters" menu... Does this means that GE don't accept local
wms_onlineresource ? I think this could make sense...
Any ideas ?
Alexandre
Kralidis,Tom [Burlington] wrote:
>
>
>
>> -----Original Message-----
>> From: mapserver-users-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
>> Alexandre Dube
>> Sent: 02 October, 2008 4:40 PM
>> To: MAPSERVER USERS
>> Subject: Re: [mapserver-users] WMS in Google Earth
>>
>> Back with my local WMS on GE problem. I think it has
>> something to do with the wms_onlineresource in WEB METADATA.
>>
>> I downloaded the gmap datas, which are already in GE as the
>> last WMS service available, to be able to test locally what
>> is already working on the internet. At first, it worked in
>> GE. Then, I noticed that the wms_onlineresource was set to :
>> "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?"
>> which seemed wrong to me, because my other map doesn't exist
>> on the internet, only locally.
>>
>> So I changed it to :
>>
>> "http://127.0.0.1:port/cgi-bin/mapserv?map=/my/local/path/gmap
>> 75_wms.map&"
>> and then I doesn't work anymore... also tried :
>> "http://127.0.0.1:port/cgi-bin/mapserv?"
>> no result...
>>
>> I must be close the the answer. I have searched a lot over
>> the internet but I haven't found anything yet. Any hints ?
>>
>> Alexandre
>>
>> Alexandre Dube wrote:
>>
>>> Hi list,
>>>
>>> I'm trying to figure how to setup my own wms layer in GE. So far,
>>> I'm able to see each layer in the "WMS Parameters", but if I select
>>> any, I get a big red X, meaning it's not working...
>>>
>>> If I copy the "Link" created by GE, paste it in a browser, add
>>> "&SERVICE=WMS&BBOX=-180,-90,180,90", then I get a map. So, I don't
>>> really know what I'm missing here. Any hint ? I use
>>>
>> mapserver 5.2.0
>>
>>> on Linux.
>>>
>>>
>
> This might be due to the SERVICE parameter missing WMS GetMap request.
> If you, once you add the layer, right click and select "Properties",
> adding "&service=WMS" to the Link string, you should be able to get a
> valid map image returned.
>
> That said, I thought we lifted the service param from WMS GetMap
> requests (GetMap sans service= works for me in svn trunk).
>
> ..Tom
>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the MapServer-users
mailing list