I've been messing around with that, I'll try some more. Thanks.
On 11/2/2012 10:55 AM, Ralph Dell wrote:
I have had data with native and declared SRS 900913, geoserver 2.1.1
that was cut off when viewing through GWC and fine when viewing with
WMS. If I remember correctly as I zoomed in I could not view some
easternmost or southern most tiles. I never went to back to PostGIS to
view the bbox coordinates.
What I did was increase the MaxX and MinY native bounding box
coordinates and recomputed the Lat/Lon bounding box. After tweeking
the values all my data was displayed through GWC.
I realize that may not be a totally satisfying answer, but it solved
my problem.
Ralph Dell
Catawba county NC
*From:*Stephen Crawford [mailto:[email protected]]
*Sent:* Friday, November 02, 2012 10:20 AM
*To:* Tobias Reinicke
*Cc:* [email protected]
*Subject:* Re: [Geoserver-users] bbox and tile issue
MaxX on the config page says -76.565315246582. So does the bbox
parameter in the url. The bbox of the openlayers preview also
cuts-off the easternmost data. However I can drag the map to see the
rest of the data, and the easternmost data point is consistent with
the bbox report when I go directly into postgres. I then think GWC
uses this incorrect bbox when generating tiles. If I type in the
correct bbox into the layers config page (instead of using "compute
from data") then bbox is correct on the preview page (and in the
url), but GWC still does not generate correct tiles.
http://geo.cei.psu.edu:8080/geoserver/cei/wms?service=WMS&version=1.1.0&request=GetMap&layers=cei:depwells&styles=&bbox=-80.5186996459961,39.7212753295898,-76.565315246582,42.2647132873535&width=512&height=330&srs=EPSG:4326&format=application/openlayers
Steve
On 11/2/2012 10:01 AM, Tobias Reinicke wrote:
Sorry - so your layer config page says:
·Min X[ ]
·Min Y[ ]
·Max X[ ]
·Max Y[ ]
and when you click on layer preview the url at the top has a
parameter like;
bbox=something,something,-74.9etc,something
?
What is your native and declared SRS? Both 4326?
Toby
On 2 November 2012 13:55, Tobias Reinicke <[email protected]
<mailto:[email protected]>> wrote:
So your layer config page says:
On 2 November 2012 13:44, Stephen Crawford <[email protected]
<mailto:[email protected]>> wrote:
Hi Toby,
When using WMS all points are OK. I'm using the built-in GWC.
Points do not have labels.
Geoserver reports the eastern edge of the bbox as
-76.565315246582. PostGIS says it is -74.924247214709, which is
also what I get when I view the WMS in the layer preview. This
leads me to believe that the bbox reported by geoserver is
incorrect, and then it is using the incorrect bbox to cut-off the
data on tiles that are east of the incorrect value.
Thanks,
Steve
On 11/2/2012 9:15 AM, Tobias Reinicke wrote:
Just some clarity;
Are you saying that when you preview the layer as WMS all the
points are there ok?
If so, then the BBOX in the layer config page must be correct,
and this isn't the issue.
Are you using the built in GWC in geoserver? Do your points
have labels?
Toby
On 2 November 2012 13:01, Stephen Crawford <[email protected]
<mailto:[email protected]>> wrote:
Hi All,
I'm using postgres 8.4, postGIS 1.5, Geoserver 2.2. I have a
point
layer with 143,500 records. It looks great with regular WMS.
However
when I use tiles some of the data are missing. I can see in
the "edit
layer" page that the bounding box ("compute from native
bounds") is not
the same as that when using ST_extent in postGIS---the GS box
is ~1.7
deg lon smaller--and the missing data are from the area that
is the
difference between the two. I tried editing the layer page
with the
postGIS bbox and then emptying the tile cache, but still no
change; all
data east of smaller bbox are missing.
Any thoughts?
Thanks,
Steve
--
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and
management.
Stay in control, update software, and manage PCs from one
command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
[email protected] <mailto:[email protected]>
814.865.9905
--
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
[email protected] <mailto:[email protected]>
814.865.9905
--
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
[email protected]
814.865.9905
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users