Re: [Geotools-devel] Extending CQL syntax to support geometry CRS specification

2017-10-06 Thread Andrea Aime
On Tue, Oct 3, 2017 at 9:12 PM, Ben Caradoc-Davies wrote: > Andrea, that seems like a useful idea. I think that urn/http forms should > be supported, even if they are verbose, because they offer axis-order > clarity. > Except when they don't, and in that case, it's a bit of caos :-) I'm referrin

Re: [Geotools-devel] Extending CQL syntax to support geometry CRS specification

2017-10-03 Thread Ben Caradoc-Davies
On 04/10/17 03:21, Andrea Aime wrote: A possible variant would be: intersects(myGeom, SRS='EPSG:4326';POINT(0, 0))) but then we'd have trouble interpreting the code, as the same CQL could be used in different specs having different axis order expectations (a user could go for the urn/http form to

[Geotools-devel] Extending CQL syntax to support geometry CRS specification

2017-10-03 Thread Andrea Aime
Hi, in this mail I would like to discuss one of the shortcomings of (E)CQL, in particular, the inability to set the coordinate system of a geometry. Currently there is a setCRS function that can be called as follows: intersects(myGeom, setCRS(POINT(0, 0), 'EPSG:4326)') As you can see it's not ex