On Tue, Oct 5, 2010 at 9:04 AM, Ben Caradoc-Davies
<ben.caradoc-dav...@csiro.au> wrote:
> You could use a custom CQL function like ToDirectPosition (in gt-app-schema)
> to convert your Point to a DirectPosition. ToDirectPosition was used to
> construct a DirectPosition from doubles before we had the ability to address
> its complex properties.

Humm... I can do something like that, but I start from a point.
Stupid idea... I create a "convert" filter function:
convert(value, fullQualifiedClassName)
that just calls back to converters.

And then I implement a converter that goes from points to DirectPosition and
vice versa: I still need the way back if I'm going to render those points as WMS
(which I still don't know if I'm going to do, but something that I
will at least try out)

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to