On Fri, Mar 28, 2014 at 3:17 PM, John O'Toole <[email protected]>wrote:
> Thanks very much for the swift response. I have set the following in the > JVM startup parameters: > -Dorg.geoserver.wms.featureinfo.render.enabled=false > And it is back working as before. > > I have logged the bug here: http://jira.codehaus.org/browse/GEOS-6420 > Hi John, I've been looking at the issue and I have a fix ready, but things are really not adding up. The thing is, if I enable the old featureinfo code, I'm getting back a non reprojected geometry, I went back in the code history, and I cannot any reprojection code in it. And I've tried with 2.1.4, and I'm not getting the geometry reprojected either. For example: http://localhost:8081/geoserver/wms?REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&BBOX=-14506687.69984%2C2532091.203679%2C-6833400.172304%2C6676419.982872&SERVICE=WMS&INFO_FORMAT=application/vnd.ogc.gml&QUERY_LAYERS=topp%3Astates&FEATURE_COUNT=50&Layers=topp%3Astates&WIDTH=611&HEIGHT=330&format=image%2Fpng&styles=& *srs=EPSG%3A3857*&version=1.1.1&x=287&y=126 With topp:states being in EPSG:4326 this is the response I get back from 2.1.4: <?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns=" http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:topp="http://www.openplans.org/topp" xmlns:gml=" http://www.opengis.net/gml" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.openplans.org/topp http://localhost:8081/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp%3Astates http://www.opengis.net/wfs http://localhost:8081/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd"><gml:boundedBy><gml:null>unknown</gml:null></gml:boundedBy><gml:featureMember><topp:states fid="states.38"><topp:the_geom><gml:MultiPolygon srsName="*http://www.opengis.net/gml/srs/epsg.xml#4326 <http://www.opengis.net/gml/srs/epsg.xml#4326>*"><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" ">-101.406952,40.001007 -102.051071,39.998928 -102.047081,40.342651 -102.047157,40.431084 -102.04557,40.697323 -102.046532,40.743134 -102.047279,40.998077 -102.620789,41.000225 -102.651802,40.998135 -103.382469,41.000332 -103.571823,40.999664 -104.051201,41.003227 -104.053505,41.388107 -104.054993,41.564247 -104.053108,41.698246 -104.053009,41.999851 -104.055725,42.614704 -104.05571,43.003094 -103.500984,42.99865 -103.005409,42.999374 -102.787933,42.995323 -102.086273,42.989891 -101.231308,42.986835 -100.197739,42.991089 -99.532402,42.992332 -99.253593,42.99239 -98.497292,42.991783 -98.457085,42.937164 -98.390846,42.920139 -98.309982,42.881798 -98.167473,42.839573 -98.144516,42.835796 -98.122765,42.820225 -98.121468,42.808361 -98.032791,42.769192 -97.994797,42.766811 -97.963211,42.773689 -97.929131,42.792324 -97.889595,42.831272 -97.888313,42.855808 -97.818298,42.866589 -97.796684,42.849598 -97.771843,42.846165 -97.724907,42.858009 -97.68541,42.836838 -97.634628,42.861286 -97.570312,42.847992 -97.505791,42.860138 -97.482819,42.857159 -97.456924,42.850445 -97.388969,42.867435 -97.311081,42.861774 -97.271126,42.850018 -97.242859,42.85183 -97.224113,42.841206 -97.211502,42.812576 -97.161095,42.798622 -97.130142,42.773926 -97.014816,42.759544 -96.979271,42.758316 -96.969681,42.752068 -96.977547,42.72731 -96.970451,42.721149 -96.907913,42.731701 -96.809822,42.704086 -96.81012,42.681343 -96.799026,42.670021 -96.722343,42.668594 -96.698746,42.657719 -96.694283,42.641167 -96.714958,42.62191 -96.713745,42.612305 -96.63636,42.550735 -96.628983,42.522697 -96.605156,42.50724 -96.584442,42.518291 -96.546906,42.520504 -96.494392,42.488464 -96.439087,42.489246 -96.395767,42.467407 -96.397583,42.441799 -96.41732,42.414783 -96.411453,42.380924 -96.423866,42.349285 -96.389473,42.328796 -96.368393,42.298031 -96.342575,42.282089 -96.332352,42.260315 -96.337402,42.22953 -96.363205,42.21405 -96.35186,42.168194 -96.284821,42.123463 -96.265182,42.048908 -96.238426,42.02845 -96.235794,42.00127 -96.202545,41.996628 -96.184921,41.980698 -96.147034,41.966267 -96.145576,41.924919 -96.159676,41.904163 -96.13533,41.862633 -96.076126,41.791481 -96.09903,41.752987 -96.09948,41.731575 -96.085266,41.704998 -96.12191,41.694923 -96.119972,41.684105 -96.099014,41.65469 -96.111015,41.599014 -96.080544,41.576008 -96.091644,41.563152 -96.085548,41.537529 -96.049881,41.524342 -96.004303,41.536671 -95.993675,41.528111 -95.996399,41.511524 -96.013161,41.493 -96.006607,41.48196 -95.952896,41.472393 -95.934776,41.462387 -95.939766,41.39481 -95.942604,41.34008 -95.888817,41.301392 -95.897301,41.286865 -95.910912,41.308472 -95.929939,41.302059 -95.91069,41.225246 -95.921959,41.207855 -95.91581,41.194065 -95.85891,41.180538 -95.859512,41.166866 -95.876396,41.164204 -95.857986,41.109188 -95.878517,41.065872 -95.859253,41.035004 -95.860611,41.002651 -95.837318,40.974258 -95.836258,40.901108 -95.834114,40.8703 -95.846153,40.848331 -95.851509,40.792599 -95.876335,40.730434 -95.767723,40.643116 -95.757271,40.620903 -95.767204,40.589046 -95.763138,40.549706 -95.736763,40.532372 -95.691795,40.524128 -95.687141,40.561169 -95.675423,40.565834 -95.662674,40.558727 -95.657791,40.530331 -95.6847,40.512203 -95.695091,40.485336 -95.636551,40.396389 -95.633919,40.358799 -95.615936,40.346497 -95.617668,40.331417 -95.645287,40.322346 -95.646561,40.309109 -95.595268,40.309776 -95.546875,40.266216 -95.476562,40.226856 -95.466377,40.213257 -95.460693,40.173996 -95.422218,40.131744 -95.392555,40.115417 -95.384285,40.095364 -95.403526,40.080379 -95.413506,40.048111 -95.390274,40.043751 -95.370987,40.028751 -95.34481,40.024975 -95.308441,39.999409 -95.329445,39.992596 -95.780434,39.993488 -96.000977,39.995159 -96.240311,39.994503 -96.453743,39.994171 -96.801117,39.994473 -96.907982,39.996151 -97.361595,39.997375 -97.816269,39.999718 -97.929268,39.99844 -98.26384,39.998421 -98.504143,39.997116 -98.720284,39.998447 -99.064384,39.998325 -99.177834,39.999565 -99.627472,40.002979 -100.180496,40.000473 -100.190697,40.00058 -100.734619,39.999168 -100.754425,40.000195 -101.321709,40.001823 -101.406952,40.001007</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></topp:the_geom><topp:STATE_NAME>Nebraska</topp:STATE_NAME><topp:STATE_FIPS>31</topp:STATE_FIPS><topp:SUB_REGION>W N Cen</topp:SUB_REGION><topp:STATE_ABBR>NE</topp:STATE_ABBR><topp:LAND_KM>199113.203</topp:LAND_KM><topp:WATER_KM>1244.957</topp:WATER_KM><topp:PERSONS>1578385.0</topp:PERSONS><topp:FAMILIES>415427.0</topp:FAMILIES><topp:HOUSHOLD>602363.0</topp:HOUSHOLD><topp:MALE>769439.0</topp:MALE><topp:FEMALE>808946.0</topp:FEMALE><topp:WORKERS>571600.0</topp:WORKERS><topp:DRVALONE>590216.0</topp:DRVALONE><topp:CARPOOL>86820.0</topp:CARPOOL><topp:PUBTRANS>8988.0</topp:PUBTRANS><topp:EMPLOYED>772813.0</topp:EMPLOYED><topp:UNEMPLOY>29326.0</topp:UNEMPLOY><topp:SERVICE>249094.0</topp:SERVICE><topp:MANUAL>108841.0</topp:MANUAL><topp:P_MALE>0.487</topp:P_MALE><topp:P_FEMALE>0.513</topp:P_FEMALE><topp:SAMP_POP>328831.0</topp:SAMP_POP></topp:states> As you can see the geometry has not been reprojected. In fact, I cannot find a version of GeoServer that does geometry reprojection, I even tried 2.1-beta2, which is the oldest GeoServer version I have handy, and things are not reprojected So I'm wondering how is it that things are working for you in 2.1? Did you have a custom patched version of GeoServer? Cheers Andrea -- == Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it -------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
