Details
Description
throws a sql exception from db oracle with a message ORA-13207: incorrect use of the [ INVALID UNITS] operator. The units of measure name in Oracle are in singular, so a SDO_WITHIN_DISTANCE use must be like, for example
... SDO_WITHIN_DISTANCE(location, mdsys.sdo_geometry(2001,27492,sdo_point_type(-88909,-111533,null),null,null), 'distance=1000 unit=meter') = 'TRUE' ...
the table with the units of measure
select *
from sdo_units_of_measure a
where lower(a.unit_of_meas_name) like '%meter%'
order by short_name;
the stacktrace in attachment.
Issue Links
- depends upon
-
GEOT-4121
DWithin filter does not work from GeoServer when passing units parameter
-
As far as I know the unit is singular also in OGC services... where is "meters" coming from? Is the request valid to start with?