[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Spatial relationships
|
Hey Dubravka ... not sure you understood my last email. The ATTR1 is not
to be replaced with THE_GEOM.... you need to find out what your geometry
attribute is called and refer to it in your spatial filter. Perhaps you
can try an easier one like TOUCHES to make sure you are doing it right?
The FID (or FeatureID) is not an attribute and thus can not be referred
to in a filter expression. On uDig trunk a developer has been working on
extending the CQL syntax to allow for FeatureID s to be referenced; but
please understand they are "identify" and are not an attribute like
normal :-( ). If needed we could make a function to return the featureId
allowing you to use it in a normal expression.
Jody
Dubravka Boskovic wrote:
Hi,
How can I perform query such as: which objects are within specified
distance (e.g. 10km) from a certain point? I tried CQL expression in
Table view in the form of DWITHIN(ATTR1, POINT(X Y), Z, kilometers),
but the geometry attribute of the object does not exist in Table view,
so the query returns nothing. Similar thing happened with other
operators. Is it possible to perform spatial query to select objects
from the table that are in some spatial relationship with a given object?
Dubravka
------------------------------------------------------------------------
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users