Have you tried zooming out max ? Sometimes the map isn't positioned at the
place we expect it to ...
As a final resort, open the layer in preview and then view page source ...
You'll find your answer in there
From: [email protected]
To: [email protected]; [email protected]
Subject: RE: [Geoserver-users] Layer Does Not Display
Date: Wed, 20 Feb 2013 13:34:42 -0500
Olivier, Thanks for your reply. Yes, I can see the layer in layer preview in
geoserver. I have tried just adding this layer to the map by itself, and still
cannot see anything. Thanks. From: Olivier Gagnon [mailto:[email protected]]
Sent: Wednesday, February 20, 2013 1:11 PM
To: [email protected]; [email protected]
Subject: RE: [Geoserver-users] Layer Does Not Display Are you able to see it in
layer preview in geoserver ? Also check if no other layers is in front when
viewing with openlayers ...From: [email protected]
To: [email protected]
Date: Wed, 20 Feb 2013 12:57:58 -0500
Subject: [Geoserver-users] Layer Does Not DisplayI am new to GeoServer and have
only been using OpenLayers for a short time. I am trying to publish a
shapefile that contains polygons. I have added that layer to an OpenLayers map
as a baselayer, but when I click on that layer my overlay layers disappear and
the background is completely white with no polygons. Apparently I am doing
something wrong, but being new to both applications have not been able to
determine what. The geoserver log for trying to access that layer is below:
2013-02-20 11:08:15,211 INFO [geoserver.wms] - Request:
getServiceInfo2013-02-20 11:08:15,257 INFO [geoserver.wms] - Request: getMap
Filters = null Tiled = false Palette
= null SRS = EPSG:4326 FeatureVersion = null
Legend = false Styles = [StyleImpl[ name=polygon]]
Layers = [org.geoserver.wms.MapLayerInfo@a6e73d27]
MaxFeatures = null Bbox = ReferencedEnvelope[-85.107237200002 :
-75.256336986098, 35.485774122931 : 42.354468217391]
RemoteOwsType = null RemoteOwsURL = null Env = {}
FormatOptions = {} Angle = 0.0
CQLFilter = null Elevation = [] FeatureId = null
StartIndex = null ViewParams = null
Crs = GEOGCS["WGS 84", DATUM["World Geodetic System 1984", SPHEROID["WGS
84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich", 0.0,
AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]] BgColor =
java.awt.Color[r=255,g=255,b=255] Transparent = false
SldBody = null ValidateSchema = false Sld =
null SldVersion = null TilesOrigin = null
Exceptions = SE_XML KMScore = 40 KMattr =
true Height = 357 Width = 512
Filter = null Time = [] Format = image/png
Buffer = 0 Request = GetMap RawKvp =
{BBOX=-85.107237200002,35.485774122931,-75.256336986098,42.354468217391,
VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS, HEIGHT=357,
LAYERS=wv_county:wv_county, REQUEST=GetMap, STYLES=, SRS=EPSG:4326, WIDTH=512}
Get = true BaseUrl =
http://localhost:8080/geoserver/ RequestCharset = UTF-8
Version = 1.1.1 If anyone can help me figure out what I am doing wrong, I
appreciate it greatly. Thanks in advance. Jerome A. Wendell
------------------------------------------------------------------------------
Everyone hates slow websites. So do we. Make your web apps faster with
AppDynamics Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________ Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users