Milton Jonathan ha scritto: > Hello folks > > I've been reading some messages in the GeoServer list > (http://old.nabble.com/SLD:-define-stroke-width-in-meter-td27132716.html) > that discuss the dificulties of creating a style with a line width given > in meters. > > Well, we've recently added this functionality to the GeoTools renderer > down here, and it really wasn't that hard. In short, we basically use a > "UomRescaleStyleVisitor" to rescale Symbolizers as needed when building > a Style2D in SLDStyleFactory (more or less like the one we sent back in > http://www.mail-archive.com/[email protected]/msg18539.html) > > We haven't sent this yet to you guys because we have to first figure out > the issues with our contribution for vector rendering. Andrea, I haven't > been able to work on that last week, will hopefully be able to do it > this week! > > Anyways, all I wanted to say is that I feel that adding sizes in meters > is (hopefully) not so far away as some people are thinking.
On the GeoServer ml I said it was hard to make it the right way. I guess what you've done falls in the category of "hacked SLD 1.0"? "As for supporting a hacked SLD 1.0 with a notion of units, that could take less time, but still far away from stuff doable in spare time" Or you've modified the parser to actually read SE 1.1? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
