I have installed GeoServer 1.6.4 and have LINESTRING data in a a
Postgres/PostGIS database.
I added the database to GeoServer and confirmed that the data is active and
the map is available. On the OpenLayers map test page, it works beautifully
with the generated code below. (Making requests with the BBOX in lat/long
format.)
tiled = new OpenLayers.Layer.WMS(
"lake:segments_geom - Tiled",
"http://localhost:8080/geoserver/wms",
{
srs: 'EPSG:4326',
width: '529',
styles: '',
height: '550',
layers: 'lake:segments_geom',
format: 'image/png',
tiled: 'true',
tilesOrigin : "42.14712219238278,-88.12725982666012"
},
{buffer: 0}
);
// setup single tiled layer
untiled = new OpenLayers.Layer.WMS(
"lake:segments_geom - Untiled",
"http://localhost:8080/geoserver/wms",
{
srs: 'EPSG:4326',
width: '529',
styles: '',
height: '550',
layers: 'lake:segments_geom',
format: 'image/png'
},
{singleTile: true, ratio: 1}
);
For the OpenLayers demo, the topp:states tiles work in the default code. But
trying to add my Layer above to the demo has been a total failure. All I
ever get returned from the wms is blank tiles. Trying to work without
OpenLayers (using the various JS scripts out there to do a custom map
overlay on Google Maps) has also been a total failure--again, only blank
tiles are received.
I am very new to this, and concerned that perhaps I have somehow
misconfigured my datasource so that it does not work with the 900913
projection? I am looking for any suggestions here, I have been pounding my
head against a brick wall with this.
Thanks,
DHall
--
View this message in context: http://www.nabble.com/Problem-with-Geoserver%2C-PostGIS-data%2C-900913-projection--tp18642192p18642192.html
Sent from the GeoServer - User mailing list archive at Nabble.com.