On Tue, Jul 3, 2012 at 3:53 PM, Andrea Aime <andrea.a...@geo-solutions.it> wrote: > On Tue, Jul 3, 2012 at 7:50 PM, Joshua M. Thompson > <joshua.thomp...@gmail.com> wrote: >> >> I'm seeing some interesting behavior in GeoServer 2.1.4. I've got a >> simple point later that has about 2,900 points that represent world >> cities, stored in an Oracle Spatial table. I put a simple style on it >> to draw red dots with city name labels. The front end webapp is an >> OpenLayers 2.12 application. >> >> If I center my map around the dateline this is what I see: >> >> http://imgur.com/JaoVS >> >> In this image OL requested a BBOX of >> -257.87109375,-20.478515625,-71.19140625,79.189453125. Note that >> labels appear to be drawing in the correct locations but the points >> for cities in the Asia-Pacific area (the ones beyond -180 longitude) >> are all clustered in the upper-left corner of the image. >> >> Has anyone seen this behavior before? I want to make sure this isn't a >> known issue or a configuration problem before I submit a ticket. > > > I've seen this ages ago and the issue was fixed, I'm not aware of any > recent changes that might have made it come back in 2.1.4 > > Is this data source specific? Or something you can reproduce using > a shapefile too?
I loaded up another dataset that I also had available as a shapefile, so that I could compare the same data in both data sources. I compared both by using the OL layer preview using the bbox and height of my original broken image. WIth the data in shapeflie format, nothing crosses the dateline -- points or labels. It behaves pretty much as things did before the advanced projection handling support was added. With the same data in the Oracle table I get the same behavior as before: the points west of -180 lon are all clustered in the upper left corner, but labels are in the correct spot. In addition, if I click near the label, where a point *should* be, then the resulting GetFeatureInfo query returns the correct result. So Geoserver certainly seems to be pulling the correct features from the DB, and it seems to know where on the image they should be placed. They just seem to render in the wrong spot. As far as I can tell lines and polygons don't have this issue, in either shapefile or Oracle. It seems to be confined to points...or more likely to PointSymbolizers. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users