sdo_distance units
627886Apr 29 2008 — edited May 6 2008select sdo_geom.sdo_distance((select geom from twopoints where id=1), (select geom from twopoints where id=2), 0.05, 'unit=mile')
from twopoints;
this query works until I add the parameter 'unit=mile' then it returns ORA-13292: can not specify unit for geometry without a georefernenced SRID. The table twopoints has a record in USER_SDO_GEOM_METADATA with an SRID of 8307.
I would also welcome suggestions/critiques of the query in general.
Thanks,
David