Wojtek Zamlewski wrote:

Although, the program prints a message "out of scale" over and over again when the scale is out of the bounds set. I have a lot of layers and the message repeats for every layer, every time when I perform a scroll or zoom of the map, so after a few moves there are hundreds of these messages in the command prompt. Is there any way to prevent the program from printing these irritating messages?

Hmm... it depends who is outputting them... i'd say the renderer. Try searching for references to the "getMinScaleDenominator" and max methods to see who is obtaining that information, and you'll likely see the culprit.

I observed there are some ways to pass the opacity, size and rotation of a graphic object as attribute expressions: |* createGraphic <file:///d:/java%20specyfikacje/geotools%20api/org/geotools/styling/StyleBuilder.html#createGraphic%28org.geotools.styling.ExternalGraphic%5B%5D,%20org.geotools.styling.Mark%5B%5D,%20org.geotools.styling.Symbol%5B%5D,%20org.geotools.filter.Expression,%20org.geotools.filter.Expression,%20org.geotools.filter.Expression%29>*(ExternalGraphic <file:///d:/java%20specyfikacje/geotools%20api/org/geotools/styling/ExternalGraphic.html>[] externalGraphics, Mark <file:///d:/java%20specyfikacje/geotools%20api/org/geotools/styling/Mark.html>[] marks, Symbol <file:///d:/java%20specyfikacje/geotools%20api/org/geotools/styling/Symbol.html>[] symbols, Expression <file:///d:/java%20specyfikacje/geotools%20api/org/geotools/filter/Expression.html> opacity, Expression <file:///d:/java%20specyfikacje/geotools%20api/org/geotools/filter/Expression.html> size, Expression <file:///d:/java%20specyfikacje/geotools%20api/org/geotools/filter/Expression.html> rotation)|

MY question is - is there some way to pass the name of the ExternalGraphic object as an attribute expression. I would like to have a 'GRAPHIC' column in my database with the paths and names of the icons to represent each feature instead of setting one icon for all the features in a layer. Is there some way?

I'm not certain, but I would guess that there is no implementation of this. Perhaps someone more knowledgeable can tag-team here?

Cheers,
Cory.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to