Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-12 Thread Andrea Aime
Jody Garnett ha scritto: That is kind of what I was thinking Andrea; right now there is some code that already coverts from the screen bounds into the data bounds; perhaps we could teach this code to be aware of the dwithin units and also convert the distance into the data space? I cannot rememb

Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-12 Thread Jody Garnett
That is kind of what I was thinking Andrea; right now there is some code that already coverts from the screen bounds into the data bounds; perhaps we could teach this code to be aware of the dwithin units and also convert the distance into the data space? I cannot remember if this code is in th

Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-12 Thread Andrea Aime
Andrea Aime ha scritto: Jody Garnett ha scritto: I had not thought of that; I always figured that the datastore should handle this part (especially if the actual units are provided). If people are keen we could review the postgis code and make a utility method for the various datastore implement

Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-12 Thread Andrea Aime
Jody Garnett ha scritto: I had not thought of that; I always figured that the datastore should handle this part (especially if the actual units are provided). If people are keen we could review the postgis code and make a utility method for the various datastore implementations to call? Very fe

Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-12 Thread Jody Garnett
I had not thought of that; I always figured that the datastore should handle this part (especially if the actual units are provided). If people are keen we could review the postgis code and make a utility method for the various datastore implementations to call? Jody On 12/04/2010, at 7:07 PM,

Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-12 Thread Mauricio Pazos
On Sunday 11 April 2010 02:43:12 pm Andrea Aime wrote: > distance evaluations over geographic > > > coordinates. It is simply not there. > > > There is code to do that in PostGIS 1.5, not sure how hard that > > > would be to port back to Jav Doing a little test in uDig, it looks like there is a

Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-11 Thread Andrea Aime
Andrea Aime ha scritto: siddharth raghuvanshi ha scritto: Hi, I am using udig 1.2.m3, in which "Spatial filters do not work using CQL language" is resolved. All the spatial queries using CQL is working fine, but when I am using the query DWITHIN(the_geom, POINT(78 22), 1000, meters), it is sel

Re: [udig-devel] Spatial Queries using CQL in uDig

2010-04-11 Thread Andrea Aime
siddharth raghuvanshi ha scritto: Hi, I am using udig 1.2.m3, in which "Spatial filters do not work using CQL language" is resolved. All the spatial queries using CQL is working fine, but when I am using the query DWITHIN(the_geom, POINT(78 22), 1000, meters), it is selecting almost entire par

[udig-devel] Spatial Queries using CQL in uDig

2010-04-11 Thread siddharth raghuvanshi
Hi, I am using udig 1.2.m3, in which "Spatial filters do not work using CQL language" is resolved. All the spatial queries using CQL is working fine, but when I am using the query DWITHIN(the_geom, POINT(78 22), 1000, meters), it is selecting almost entire parts of the world, which is irrelevent. A