[GRASS-user] using r.in.wms to connect to INEGI mapserver

Paul Rogé proge at berkeley.edu
Sun Nov 29 13:39:21 EST 2009


Hello,

I haven't been successful in using r.in.wms to connect to the INEGI
mapserver: http://antares.inegi.org.mx/cgi-bin/map4/mapserv_orto

LAYER: Mexorto
  Title: Mexico Orto
  SRS: EPSG:4326
  SRS: EPSG:32611
  SRS: EPSG:32612
  SRS: EPSG:32613
  SRS: EPSG:32614
  SRS: EPSG:32615
  SRS: EPSG:32616
  SRS: EPSG:32999
  SRS: EPSG:32998
LAYER: orto
  Title: orto
  |orto
LAYER: orto20k
  Title: orto20k
  SRS: EPSG:32999
LAYER: orto3m
  Title: orto3m
  SRS: EPSG:32999

The commands I have tried using are 

> r.in.wms -o output=INEGI_20k
mapserver=http://antares.inegi.org.mx/cgi-bin/map4/mapserv_orto
layers=orto20k format=tiff maxcols=1024 maxrows=1024 

and

> r.in.wms -o output=INEGI_20k
mapserver=http://antares.inegi.org.mx/cgi-bin/map4/mapserv_orto
layers=[Mexorto;orto;orto20k] format=tiff maxcols=1024 maxrows=1024

Both errors read:

msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the
LAYERS parameter.

Any suggestions?

thanks,
Paul



-- 

Paul S. Roge
Graduate Student, UC Berkeley
Dept. of Environmental Science, Policy and Management
137 Mulford Hall #3114
Berkeley, CA 94720
proge at berkeley.edu



More information about the grass-user mailing list