On Wed, Sep 7, 2011 at 8:13 AM, Andrew Walsh <[email protected]> wrote: > Hi Geoserver users and Developers, > > We recently upgraded our Geoserver from 2.0.1 to 2.1.1 and > we are having problem where the Open layers map from OpenLayers > doesn't draw anything for some layers. On certain layers namely > ran:secchi and ran:biolum no dots get drawn and we note that > the initial map is fully zoomed out. Only when you zoom in > 1 level (reducing map scale by 1/2) do you get the map > (dots) drawn. > > It took me ages to figure this out as at first I > thought there was some problem the getMap request or drawing. > > To see this issue: > > 1) Go to our geoserver http://www.metoc.gov.au/geoserver > > 2) Click Layer Preview > > 3) Select the Open Layers link for the ran:secchi or ran:biolum layer. > > 4) Map will come up in Open Layers but no points drawn. Notice how the zoom > control is its maximum zoom out. > > 5) Zoom in a little and you will see the map draw. > > We don't have this issue with the other map layers i.e > ran:beach_temp, ran:xbt and ran:seabed. Something to do > data extents of these particular layers or some issue > with newer OpenLayers 2.8 ?? > > Any ideas appreciated...
The style for that layer does not have scale dependencies, so this is indeed odd: curl "http://www.metoc.gov.au/geoserver/ows?service=wms&version=1.1.1&request=GetStyles&layers=secchi" (if you use the browser you wont' get back anything due to the proxying issue) Where is the data stored? If it's a shapefile try to delete the .qix file and let GeoServer rebuild the spatial index. If it's postgis enable the "geotools developer logging" and see what query is going down the the database in the logs Cheers Andrea PS: The caps binary issue seems to be related to an interaction between proxy, servlet proxy and gzip compression filter, as if I use curl without enabling gzip compression I get back the caps document properly. -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
