[GRASS-user] Open layers, Google maps/earth

All,

I guess that r.in.wms works with servers like Openlayers and Google Maps (or even Google Earth); is there a quick tutorial explaining the parameters to use with these servers?

Richard C

hi,

OpenLayers is not a server, as well as google maps is not - they are
both javascript api

r.in.wms is (more or less) implementation of OGC Web Map Service [1]

If you want to get the map, which is displayed at
http://www.openlayers.org, you have to run r.in.wms like

r.in.wms mapserv=http://www2.dmsolutions.ca/cgi-bin/mswms_gmap
layers=bathymetry,land_fn,park,drain_fn,drainage,"prov_bound,fedlimit,rail,road,popplace
format="image/png" out=ol

(untested)

AFAIK there is no api for google maps yet, but it should be possible
to implement it

new gdal (1.5x) has support for OGC standards as well

jachym

[1] http://www.opengeospatial.org/standards/wms

2008/6/4 Richard Chirgwin <rchirgwin@ozemail.com.au>:

All,

I guess that r.in.wms works with servers like Openlayers and Google Maps (or
even Google Earth); is there a quick tutorial explaining the parameters to
use with these servers?

Richard C
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

Jachym Cepicky wrote:

hi,

OpenLayers is not a server, as well as google maps is not - they are
both javascript api

r.in.wms is (more or less) implementation of OGC Web Map Service [1]

If you want to get the map, which is displayed at
http://www.openlayers.org, you have to run r.in.wms like

r.in.wms mapserv=http://www2.dmsolutions.ca/cgi-bin/mswms_gmap
layers=bathymetry,land_fn,park,drain_fn,drainage,"prov_bound,fedlimit,rail,road,popplace
format="image/png" out=ol
  

Jachym,

Thank you for this, I will test it and let you know whether it works.

Richard

(untested)

AFAIK there is no api for google maps yet, but it should be possible
to implement it

new gdal (1.5x) has support for OGC standards as well

jachym

[1] http://www.opengeospatial.org/standards/wms

2008/6/4 Richard Chirgwin <rchirgwin@ozemail.com.au>:
  

All,

I guess that r.in.wms works with servers like Openlayers and Google Maps (or
even Google Earth); is there a quick tutorial explaining the parameters to
use with these servers?

Richard C
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user