[mapserver-users] Mapscript and wms client
Brent Fraser
bfraser at geoanalytic.com
Tue Sep 6 06:48:09 PDT 2011
Chris,
Yes, last time I looked at the Google Maps TOS, you must use Google's
API to use their map tiles.
Best Regards,
Brent Fraser
On 9/5/2011 11:57 PM, Chris Jackson wrote:
> Hi Brent and Armin
>
> The GetCapapabilies bit threw me! Well the one I am trying to load is
> GEBCO which I think is up. Having said that I have just changed the
> wms_name and reloaded the map and it works (maybe it just needed some
> sleep)..!
>
> Out of interest how do you specify a given layer from the WMS in the
> mapfile code and is the wms_name just a friendly name you use or
> specific to the WMS too?
>
> Separately Google maps layers, mapfiles and GDAL, from what I read
> loading tiles this way this breaks Google's T&C because it bypasses
> their APIs, anyone have a view....?
>
> My GEBCO code is:
>
> LAYER # GEBCO WMS map
> NAME 'gebco'
> TYPE RASTER
> OFFSITE 0 0 0
> STATUS On
> CONNECTIONTYPE WMS
> CONNECTION
> "http://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv?"
>
> METADATA
> "wms_srs" "EPSG:4326"
> "wms_name" "gebco_08_grid"
> "wms_server_version" "1.1.1"
> "wms_format" "image/jpeg"
> END
>
> PROJECTION
> "init=epsg:4326"
> END
> END
>
>
> Cheers
> Chris
>
> On 5 September 2011 23:06, Brent Fraser <bfraser at geoanalytic.com
> <mailto:bfraser at geoanalytic.com>> wrote:
>
> Chris,
>
> I don't think NASA's JPL is serving data anymore (although it does
> return a GetCapapabilies XML).
>
> Best Regards,
> Brent Fraser
>
>
> On 9/5/2011 3:53 PM, Chris Jackson wrote:
>> Hi
>>
>> I am trying to use a remote WMS service in my mapfile and am not
>> having any luck. I resorted to the MapServer tutorial example
>> and still had no luck:
>>
>> LAYER # MODIS WMS map from JPL
>> NAME modis_jpl
>> TYPE RASTER
>> OFFSITE 0 0 0
>> STATUS On
>> CONNECTIONTYPE WMS
>> CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?"
>>
>> METADATA
>> "wms_srs" "EPSG:4326"
>> "wms_name" "modis"
>> "wms_server_version" "1.1.1"
>> "wms_format" "image/jpeg"
>> END
>>
>> PROJECTION
>> "init=epsg:4326"
>> END
>> END # Modis WMS image ends here
>>
>> Mapscript has wms client enabled so am I missing another setting
>> required in the mapfile?
>>
>> Thanks
>> Chris
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org <mailto:mapserver-users at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110906/59cebaf2/attachment.htm>
More information about the MapServer-users
mailing list