Hello,
I am a beginner with Geoserver and have run into some problems. I
successfully loaded Geoserver and added three shapefiles (which I styled in
UDig). I can view each shapefile individually with Openlayers through the
Geoserver demo. I have been trying to use figure out how to add and display
multiple shapefiles at once using Geoserver and Openlayers but can't seem to
figure out the process (I have tried to follow a Penn State course called
Open Web Mapping). I have very little programming experience so hopefully
this can be done at this level.
Could someone please give me some direction?
Thanks,
Jason
--
View this message in context: http://www.nabble.com/Help-for-a-beginner-using-Geoserver-Open-Layers-tp25195414p25195414.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
One of the easiest methods is to open up the OpenLayers preview for a
single layer, then hand-edit the URL. The parameter LAYERS is a
comma-separated list of layer names, so you can just add other layers to
it. The layers will be drawn on top of one another, with the first
layer listed at the bottom of the stack. You can then view the page
source for some OpenLayers example code.
You can also define a layergroup in your GeoServer configuration which
includes all the layers of interest, which will then show up in the map
preview listing.
Hope this helps.
--
David Winslow
OpenGeo - http://opengeo.org/
On Fri, 2009-08-28 at 12:14 -0700, Nosaj wrote:
Hello,
I am a beginner with Geoserver and have run into some problems. I
successfully loaded Geoserver and added three shapefiles (which I styled in
UDig). I can view each shapefile individually with Openlayers through the
Geoserver demo. I have been trying to use figure out how to add and display
multiple shapefiles at once using Geoserver and Openlayers but can't seem to
figure out the process (I have tried to follow a Penn State course called
Open Web Mapping). I have very little programming experience so hopefully
this can be done at this level.
Could someone please give me some direction?
Thanks,
Jason
On Fri, Aug 28, 2009 at 3:14 PM, Nosaj<jts1662@anonymised.com> wrote:
Hello,
I am a beginner with Geoserver and have run into some problems. I
successfully loaded Geoserver and added three shapefiles (which I styled in
UDig). I can view each shapefile individually with Openlayers through the
Geoserver demo. I have been trying to use figure out how to add and display
multiple shapefiles at once using Geoserver and Openlayers but can't seem to
figure out the process (I have tried to follow a Penn State course called
Open Web Mapping). I have very little programming experience so hopefully
this can be done at this level.
Follow the steps on https://www.e-education.psu.edu/geog585/l8_p7.html
Ian