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

Jachym Cepicky jachym.cepicky at gmail.com
Mon Jun 9 12:58:35 EDT 2008


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 at 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 at 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


More information about the grass-user mailing list