On Fri, Sep 21, 2012 at 10:36 AM, Andrea Aime
<andrea.a...@geo-solutions.it>wrote:

> On Fri, Sep 21, 2012 at 10:14 AM, Dwyer, Andrew <
> andrew.dw...@dsto.defence.gov.au> wrote:
>
>> *UNCLASSIFIED*****
>>
>> Hi,****
>>
>> ** **
>>
>> Can someone tell me if it’s possible to do a WFS DWithin distance filter
>> in meters on a feature type who’s native units are degrees?
>>
>
> Long story short, no, there is no unit support in distance filters.
> However, I believe that if you are using postgis and using the geography
> data type the filter will be evaluated in meters, only
> because that's the default postgis functions behavior in such case.
>

Btw, I believe units also work with Oracle, in such case with support for a
variety of them, here is an
excerpt of the ones supported from the code (it's a translation table
between the OGC units and
the Oracle internal ones):

put("metre", "m");
            put("meters", "m");
            put("kilometers", "km");
            put("mi", "Mile");
            put("miles", "Mile");
            put("NM", "naut_mile");
            put("feet", "foot");
            put("ft", "foot");
            put("in", "inch");

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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

-------------------------------------------------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to