Yes, the unit-of-measure support in the CSS module doesn't let you do anything you can't do in SLD. I suppose in principle it could use filter expressions to mix different real-world units, but I don't think there is enough information to do anything about mixing real-world and on-screen units.
I will note that the SE 2.0 specification includes this tidbit (in the introduction to section 11): > It is also possible to use pixel values inside a Symbolizer that uses a > uom: px has to be appended to the corresponding values in this case > (e.g. 5px stands for 5 pixel). I haven't looked into this in some time but I believe that when I looked previously GeoTools didn't support this notation. It seems like this could address part of the mixed-unit use case. -- David Winslow OpenGeo - http://opengeo.org/ On Wed, Jan 2, 2013 at 5:41 AM, Ákos Maróy <[email protected]> wrote: > On 02/01/13 11:26, Andrea Aime wrote: > > Had a quick look at the patch, one thing stand out: > > - the UomRescaleStyleVisitor constructor has been modified in a > > backwards incompatible way, > > please also add a constructor that only takes the scale and assumes > > the dpi is the default one > > to avoid breaking the API > good point - attached an updated patch to the ticket > > > > I did not write that code so don't know how it works, but what you > > are citing above should be.. hum... impossible? > > Well, unless the code is doing the uom -> pixel transformation while > > turning the CSS into SLD in order to make the unit uniform. > > > > Which of course would not work in your case. > > > yes, I thought so > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > GeoTools-Devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel >
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ GeoTools-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
