[Geoserver-users] Geoserver renders OSM data

Hi All,

I tried to use GeoServer WMS to render OSM data onto my map client and what
I saw was not what I expected. I uploaded the three screenshots of the map
so that you can see what I saw. I also uploaded the two sld files that I
used for the polygon, line, and roads layers. I left the remaining
configurations as default. Below is what I saw:

1. When the map client first came up, California OSM layer did not show up.
2. I had to zoom in quite bits before I saw some part of California show up
on the map. (screenshot1.jpg)
3. I had to zoom some more before I saw screenshot2.jpg and screenshot3.jpg.

Note: my OSM data is California, USA.
My question is why only some parts of California shows up and not all of
them. That is not what I saw from OSM map site. Is there any parameter
that I can tweak to fix this problem. Below is one of the GetMap request
from my client in the tomcat log. Any help on this is greatly appreciated.
Please let me know if you need anymore information.

Request: getMap
  SRS = CRS:84
  FeatureVersion = null
  Width = 512
  Height = 512
  Styles = [StyleImpl[ name=osm_polygon], StyleImpl[ name=osm_line],
StyleImpl[ name=osm_line]]
  Palette = null
  Tiled = false
  Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com,
org.geoserver.wms.MapLayerInfo@anonymised.com,
org.geoserver.wms.MapLayerInfo@anonymised.com]
  MaxFeatures = null
  Crs = GEOGCS["WGS84",
  DATUM["WGS84",
    SPHEROID["WGS84", 6378137.0, 298.257223563]],
  PRIMEM["Greenwich", 0.0],
  UNIT["degree", 0.017453292519943295],
  AXIS["Geodetic longitude", EAST],
  AXIS["Geodetic latitude", NORTH],
  AUTHORITY["Web Map Service CRS","84"]]
  Bbox = ReferencedEnvelope[-126.0 : -117.0, 36.0 : 45.0]
  RemoteOwsType = null
  RemoteOwsURL = null
  Env = {}
  FormatOptions = {}
  Angle = 0.0
  CQLFilter = null
  Elevation =
  FeatureId = null
  StartIndex = null
  ViewParams = null
  BgColor = java.awt.Color[r=255,g=255,b=255]
  Transparent = true
  SldBody = null
  ValidateSchema = false
  Sld = null
  SldVersion = null
  TilesOrigin = null
  Exceptions = SE_XML
  Format = image/png
  Buffer = 0
  Filter = null
  Filters = null
  Time =
  Get = true
  RawKvp = {CRS=CRS:84, TRANSPARENT=TRUE, BBOX=-126.0,36.0,-117.0,45.0,
VERSION=1.3, FORMAT=image/png, SERVICE=WMS, HEIGHT=512, REQUEST=GetMap,
LAYERS=California, STYLES=, WIDTH=512}
  BaseUrl = http://172.16.203.150:8080/geoserver/
  RequestCharset = UTF-8
  Version = 1.3
  Request = GetMap

osm_line.sld
<http://osgeo-org.1560.x6.nabble.com/file/n5104772/osm_line.sld&gt;
osm_polygon.sld
<http://osgeo-org.1560.x6.nabble.com/file/n5104772/osm_polygon.sld&gt;
<http://osgeo-org.1560.x6.nabble.com/file/n5104772/screenshot1.jpg&gt;
<http://osgeo-org.1560.x6.nabble.com/file/n5104772/screenshot2.jpg&gt;
<http://osgeo-org.1560.x6.nabble.com/file/n5104772/screenshot3.jpg&gt;

Regards,
Tam

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-renders-OSM-data-tp5104772.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hello,

What happens if you take the WMS getMap request for the missing tile and
paste it in the browser Address bar? Does the image render?

Have you used something like Firebug for Firefox to investigate what is
happening?
Matt

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-renders-OSM-data-tp5104772p5104940.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Matt,

Thanks for your response. My map client is a WorldWind java client and
therefore I don't think I can use any of the javascript debugger such as
firebug, etc. Not sure how to find out which tiles are missing so I can
paste the getMap request in the browser.

Regards,
Tam

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-renders-OSM-data-tp5104772p5105157.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

What happens when you go a layer preview in GeoServer?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-renders-OSM-data-tp5104772p5105228.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

What happens when you go a layer preview in GeoServer?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-renders-OSM-data-tp5104772p5105229.html
Sent from the GeoServer - User mailing list archive at Nabble.com.