I am making a WFS query against geoserver 2.0.2, talking to oracle SDE. 
The post looking like:
<wfs:GetFeaturexmlns:wfs="http://www.opengis.net/wfs"service="WFS"version="1.1.0"xsi:schemaLocation="http://www.opengis.net/wfs
 
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<wfs:QuerytypeName="MARINE.DSDP_ODP_VIEW"srsName="EPSG:900913">
<ogc:Filterxmlns:ogc="http://www.opengis.net/ogc";>
<ogc:DWithin>
<ogc:PropertyName>SHAPE</ogc:PropertyName>
<gml:Pointxmlns:gml="http://www.opengis.net/gml"srsName="EPSG:900913";>
<gml:pos>18671222.484796 -4939227.1111046</gml:pos>
</gml:Point>
<ogc:Distanceunits="meters">270</ogc:Distance>
</ogc:DWithin>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>

The problem is it picks up points in the coverage from thousands of 
miles around. The native EPSG of the features is 4326. If I get distance 
down less than 1m, then it selects the right point. It looks 
suspiciously like distance is being interpreted as degrees.


-- 
Phil Scadden, GNS Science Ltd 764 Cumberland St, Private Bag 1930, 
Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to