{"action":"created","issue":{"url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/1931","repository_url":"https://api.github.com/repos/geosolutions-it/MapStore2","labels_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/1931/labels{/name}","comments_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/1931/comments","events_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/1931/events","html_url":"https://github.com/geosolutions-it/MapStore2/issues/1931","id":235605485,"number":1931,"title":"Geometric operation DWITHIN returns wrong results","user":{"login":"MV88","id":11991428,"avatar_url":"https://avatars2.githubusercontent.com/u/11991428?v=3","gravatar_id":"","url":"https://api.github.com/users/MV88","html_url":"https://github.com/MV88","followers_url":"https://api.github.com/users/MV88/followers","following_url":"https://api.github.com/users/MV88/following{/other_user}","gists_url":"https://api.github.com/users/MV88/gists{/gist_id}","starred_url":"https://api.github.com/users/MV88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MV88/subscriptions","organizations_url":"https://api.github.com/users/MV88/orgs","repos_url":"https://api.github.com/users/MV88/repos","events_url":"https://api.github.com/users/MV88/events{/privacy}","received_events_url":"https://api.github.com/users/MV88/received_events","type":"User","site_admin":false},"labels":[{"id":238316199,"url":"https://api.github.com/repos/geosolutions-it/MapStore2/labels/bug","name":"bug","color":"fc2929","default":true},{"id":240016712,"url":"https://api.github.com/repos/geosolutions-it/MapStore2/labels/Priority:%20High","name":"Priority: High","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-13T16:01:56Z","updated_at":"2017-06-14T11:02:36Z","closed_at":null,"body":"how to reproduce:\r\n- Open the Test WFS Map\r\n- Create a polygon as descrivbed in the picture below\r\n- Click search\r\n\r\n![image](https://user-images.githubusercontent.com/11991428/27091934-f19388b6-5061-11e7-9f16-5fe9bcc4c95a.png)\r\nIt should return only WA and OR but it seems to use degrees and not meters\r\n\r\nhere is the request\r\n```\r\ncurl 'https://demo.geo-solutions.it/geoserver/wfs?service=WFS&outputFormat=json' -H 'Origin: http://localhost:8081' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Referer: http://localhost:8081/?debug=true' -H 'Connection: keep-alive' --data-binary '<wfs:GetFeature startIndex=\"0\" maxFeatures=\"20\" service=\"WFS\" version=\"1.1.0\" xmlns:gml=\"http://www.opengis.net/gml\" xmlns:wfs=\"http://www.opengis.net/wfs\" xmlns:ogc=\"http://www.opengis.net/ogc\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd\"><wfs:Query typeName=\"topp:states\" srsName=\"EPSG:900913\"><ogc:Filter><ogc:DWithin><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Polygon srsName=\"EPSG:900913\"><gml:exterior><gml:LinearRing><gml:posList>-13912762.14035465 6447616.209911188 -14225848.20821073 5811660.134578522 -13589892.132878065 5410518.610137917 -13306157.883883491 6046474.685470584 -13912762.14035465 6447616.209911188</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon><ogc:Distance units=\"m\">10</ogc:Distance></ogc:DWithin></ogc:Filter></wfs:Query></wfs:GetFeature>' --compressed\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/comments/308398193","html_url":"https://github.com/geosolutions-it/MapStore2/issues/1931#issuecomment-308398193","issue_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/1931","id":308398193,"user":{"login":"MV88","id":11991428,"avatar_url":"https://avatars2.githubusercontent.com/u/11991428?v=3","gravatar_id":"","url":"https://api.github.com/users/MV88","html_url":"https://github.com/MV88","followers_url":"https://api.github.com/users/MV88/followers","following_url":"https://api.github.com/users/MV88/following{/other_user}","gists_url":"https://api.github.com/users/MV88/gists{/gist_id}","starred_url":"https://api.github.com/users/MV88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MV88/subscriptions","organizations_url":"https://api.github.com/users/MV88/orgs","repos_url":"https://api.github.com/users/MV88/repos","events_url":"https://api.github.com/users/MV88/events{/privacy}","received_events_url":"https://api.github.com/users/MV88/received_events","type":"User","site_admin":false},"created_at":"2017-06-14T11:02:36Z","updated_at":"2017-06-14T11:02:36Z","body":"if i use this filters the results are wrong, i.e. it returns 0 features\r\n![image](https://user-images.githubusercontent.com/11991428/27129179-b0c6c924-5101-11e7-8d47-73742f5a1bbc.png)\r\n"}}
{"actor":{"display_login":"MV88"}}