Re: [Geotools-devel] [Geoserver-devel] Unit of measure support is in

2010-05-20 Thread Jody Garnett
On 20/05/2010, at 6:42 PM, Andrea Aime wrote: >> So at the end of the day we want the rescaling visitor to do >> everything it can prior to letting the renderer at it. Question. Can >> the rescale visitor inject a function expression around entries in >> order to accomplish a conversion? > > Why a

Re: [Geotools-devel] [Geoserver-devel] Unit of measure support is in

2010-05-20 Thread Andrea Aime
Jody Garnett ha scritto: >> Otherwise we have to scrap the rescaling visitor and rebuild the >> uom -> px logic all in the SLDStyleFactory and also kiss goodbye >> the ability to automatically figure out the rendering meta-buffer >> when doing queries. >> >> So... what about having the rescale

Re: [Geotools-devel] [Geoserver-devel] Unit of measure support is in

2010-05-20 Thread Jody Garnett
On 20/05/2010, at 5:32 PM, Andrea Aime wrote: > Jody Garnett ha scritto: >> On 20/05/2010, at 4:57 PM, Andrea Aime wrote: >>> Eh, it might get tricky as we have two sources of uom >>> specification, the literal itself, but also the symbolizer one. I >>> guess the local one would win. >>> Anyone i

Re: [Geotools-devel] [Geoserver-devel] Unit of measure support is in

2010-05-20 Thread Andrea Aime
Jody Garnett ha scritto: > On 20/05/2010, at 4:57 PM, Andrea Aime wrote: > >> Eh, it might get tricky as we have two sources of uom >> specification, the literal itself, but also the symbolizer one. I >> guess the local one would win. >> >> Anyone interested in cooking up a patch? > > Pick me pi

Re: [Geotools-devel] [Geoserver-devel] Unit of measure support is in

2010-05-20 Thread Jody Garnett
On 20/05/2010, at 4:57 PM, Andrea Aime wrote: > Eh, it might get tricky as we have two sources of uom specification, > the literal itself, but also the symbolizer one. I guess the local > one would win. > > Anyone interested in cooking up a patch? Pick me pick me! After all I failed at applying

Re: [Geotools-devel] [Geoserver-devel] Unit of measure support is in

2010-05-19 Thread Andrea Aime
Jody Garnett ha scritto: >>> By my reading, the UomRescalingVisitor doesn't handle this >>> option. (And it seems like fully supporting this via a visitor >>> will be a problem; with weird enough filter functions in a >>> parameter the "px" suffix might appear and disappear for >>> different featu