Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Change the style

Hi - that is cool. There was a visitor already implemented for that in geotools and documented here:
- http://docs.codehaus.org/display/GEOTDOC/08+StyleVisitor+use+with+DuplicatingStyleVisitor+and+RescaleStyleVisitor

This is the visitor we use to resize styles when printing to high DPI output like printers; we also changed the linestring width I think...

To change scale or projection please adjust the viewport model.

Perhaps I am not understanding what scale you are trying to change? Style does not have a scale or projection ... there is a minScale / maxScale in Rule (but that is used to turn off your style when it is at the wrong zoom level).

Jody

On 15/08/2009, at 10:00 PM, Arto Pastinen wrote:

Hi,

I have created the crawl Visitor, which travel thru my style and
change the size of the label and pointsymbolizers,
but some reason the projection of the layers does not change, at
current scale, when i change the scale the
style is updated, but still at old scale, the style is the old..

Any hints?

regards, Artsi
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top