[Geoserver-users] Creating a complete map

I have some data in shape files which I am able to load and retrieve through
GeoServer by making WMS requests. My problem is that the data for a
particular area is in different shape files e.g. roads, natural, poi etc.
Each of them are defined as a separate datastore in my geo server config. I
can retrieve and overlay them through openlayers as well,

My question is how can I serve them as one map like Google or yahoo or other
providers do as combining those multiple layers forms a complete map. My
first thought was to create a white base layer and then overlay different
layers on top.

IS there anyway I can get geoserver to serve out a complete map from various
shape files.
--
View this message in context: http://www.nabble.com/Creating-a-complete-map-tp20343218p20343218.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

If i uderstand you correctly, you want geoserver to merge different layers
into 1 output map/raster?

If that is so, you just have to list all the layers you wanna have merged in
the LAYERS param of GS request.

eg:

http://localhost:50/geoserver/wms?bbox=517999.788335,117999.648625,522500.210615,124000.211665&styles=&Format=image/png&request=GetMap&version=1.1.1&layers=topp:shape0,topp:shape1,topp:shape2,topp:shape3...&width=463&height=550&srs=EPSG:4326

You can also do this from OL.

--
View this message in context: http://www.nabble.com/Creating-a-complete-map-tp20343218p20361109.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

What you want is to create a wms layer group.

http://geoserver.org/display/GEOSDOC/WMS+Layer-group+option

-Justin

mippon wrote:

I have some data in shape files which I am able to load and retrieve through
GeoServer by making WMS requests. My problem is that the data for a
particular area is in different shape files e.g. roads, natural, poi etc.
Each of them are defined as a separate datastore in my geo server config. I
can retrieve and overlay them through openlayers as well,

My question is how can I serve them as one map like Google or yahoo or other
providers do as combining those multiple layers forms a complete map. My
first thought was to create a white base layer and then overlay different
layers on top.

IS there anyway I can get geoserver to serve out a complete map from various
shape files.

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.