2007-02-06: GIS Base Layer WMS

From Datafedwiki

Jump to: navigation, search

Back to DataFed Development Events

Kari has included SLD in the data access instructions template. The basic process is that the uri of an sld file is inserted into the GetMap request with SLD=. He has to do some work on the user interface in order to select the styles. Kari has integrated the layers into the MapImage dataset. They are also available through the registered WMS: CAPITA_WMS.

Here are the currently available SLDs. For the most part, they simply change the color of the line. 'red_wide' also changes the width to a width=2 but it seems a bit wide and may not be useful (the WMS we're using - UMN MapServer - only support integer width values).

Are there other styles needed for vector layers?

The WMS currently serves borders for

  • US (us_bdr)
  • North American(NAm_bdr)
  • World (world_bdr)
  • Water (US_water)
  • Roads (roads)

see GetCapabilities

Some example GetMap requests: http://niceguy.wustl.edu/cgi-bin/mapserv?map=/var/www/html/mapserver/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&FORMAT=image/png&LAYERS=NAMer_bdr&BBOX=-200,-10,50,95&SLD=http://niceguy.wustl.edu/mapserver/red.sld&bgcolor=0xFFFFFF

http://niceguy.wustl.edu/cgi-bin/mapserv?map=/var/www/html/mapserver/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&FORMAT=image/png&LAYERS=World_bdr&BBOX=-200,-10,50,95&SLD='http://niceguy.wustl.edu/mapserver/green.sld'&bgcolor=0xFFFFFF


Are there other GIS base layers that would be useful to serve? some possibilities: interstates, rivers...

Feedback: The SLDs allow some settings, color line thickness..It would be good if those settings be available for all the published WMS layers...Would anyone make the corresponding SLDs? Rhusar 12:53, 8 March 2007 (CST)

Personal tools
Workspaces
Clicky Web Analytics