[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Spatial relationships
|
Hi, I try to reproduce your test case (udig 1.1.1 / gnu linux), I comment my
experience below:
On Thursday 18 December 2008 03:38:30 Jody Garnett wrote:
> Hi Dubravka you should be okay with the example you provided ... the
> ATTR1 will need to be the geometry attribute for the data you are
> working with. The table view does not show geometry attributes it is
> true; to figure out the name...
> - open up the default feature editor
this editor show "No feature selected" in the Property column. I try to
different way to select features but I get the same feedback in the default
feature editor.
> - click on properties for the layer (or catalog entry) and look at the
> description of the feature type
>
> What we cannot do at this time is a "join" between two layers...
>
> When we get a working example sorted out we can add it to this page:
> http://udig.refractions.net/confluence/display/EN/Selection+using+CQL
>
> Note if you are using shapefiles the attribute is often called THE_GEOM
> ... giving us DWITH( THE_GEOM, POINT(135.12,48.26), 0.1, km )
1 - Because I cannot use the default feature editor, I create a new layer with
"the_geom attribute"
2 - Select CQL in table view
3 - wrote DWITHIN( the_geom, POINT(6126665, 1836603), 50, km)
4- enter
Result: any feature selected
I try other spatial relation without success.
>
> I am not sure if it actually pays attention to the km part ... we will
> have to check.
> Jody
I did some additional tests
My layer has the following structure FID, the_geom (multilinestring), name
test 1: FID like '%lin%' result: nothing is selected
test 2: name like '%tres%' result: the featues are selected, so OK
Well, I think the cql query goes well if you select some field from the combo
box. But in this combobox you cannot select FID and the_geom.
cheers
----------------------
Mauricio Pazos
www.axios.es