[Geoserver-users] multiple layers

How do get multiple layers to a map? I am currently at the WMS Server
contents trying to create a base map but cannot figure out how to show more
than one layer?

Any help would be appreciated.

thanks
--
View this message in context: http://www.nabble.com/multiple-layers-tf4740209.html#a13555411
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,

I am not sure how far you are right now, but basically:
- First you must configure your data layers for the WMS service
- And then get the layers you want by having a layer list included in the request.

This example request that comes with GeoServer installation gives one layer:
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=&Format=image/png&request=GetMap&layers=topp:states&width=550&height=250&srs=EPSG:4326

Adding more layers to this part should give you more layers:
&layers=topp:states

By the way, the sample request seems to miss 'service' and 'version' parts which I suppose to be compulsory according to the WMS standard. Perhaps it would be better to make it complete, even if the request works like it is now. People are studying GeoServer by looking at these samples and modifying them for their own data.

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: geoserver-users-bounces@lists.sourceforge.net puolesta: awhitley67
Lähetetty: pe 2.11.2007 22:35
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] multiple layers

How do get multiple layers to a map? I am currently at the WMS Server
contents trying to create a base map but cannot figure out how to show more
than one layer?

Any help would be appreciated.

thanks
--
View this message in context: http://www.nabble.com/multiple-layers-tf4740209.html#a13555411
Sent from the GeoServer - User mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Jukka,

Thanks a lot for the reply. I'm currently looking into uDIG for integrating
into GeoServer and see how they interact. On paper it looks good :slight_smile: However
I appreciate the tip and will try that out. Thanks again.

Rahkonen Jukka wrote:

Hi,

I am not sure how far you are right now, but basically:
- First you must configure your data layers for the WMS service
- And then get the layers you want by having a layer list included in the
request.

This example request that comes with GeoServer installation gives one
layer:
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=&Format=image/png&request=GetMap&layers=topp:states&width=550&height=250&srs=EPSG:4326

Adding more layers to this part should give you more layers:
&layers=topp:states

By the way, the sample request seems to miss 'service' and 'version' parts
which I suppose to be compulsory according to the WMS standard. Perhaps
it would be better to make it complete, even if the request works like it
is now. People are studying GeoServer by looking at these samples and
modifying them for their own data.

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: geoserver-users-bounces@lists.sourceforge.net puolesta:
awhitley67
Lähetetty: pe 2.11.2007 22:35
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] multiple layers

How do get multiple layers to a map? I am currently at the WMS Server
contents trying to create a base map but cannot figure out how to show
more
than one layer?

Any help would be appreciated.

thanks
--
View this message in context:
http://www.nabble.com/multiple-layers-tf4740209.html#a13555411
Sent from the GeoServer - User mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/multiple-layers-tf4740209.html#a13562480
Sent from the GeoServer - User mailing list archive at Nabble.com.