Hello, i have a problem with external graphic in geotools version 2.5-m3.
i am create the external graphic:
URL url = urlImages.get(nameUrl.trim());
ExternalGraphic ext = sb.createExternalGraphic(url, "image/png");
Graphic graph2 = sb.createGraphic(ext, null, null, 1, 10, 0);
PointSymbolizer pointSymbolizer = sb.createPointSymbolizer(graph2);
when the paint i have this problem:
in the method createPointStyle of the class SLDStyleFactory call the method
img = getImage(eg, (Feature) feature, size).
later Call the method of the public Icon getIcon(Feature feature, Expression
url, String format, int size) in the class ImageGraphicFactory. in this
method evaluate the location as a URL
URL location = url.evaluate(feature, URL.class);
and location is null and the url is
file:/C:/DOCUME~1/APRECI~1/CONFIG~1/Temp/temp/15120919212.png, is a url
which is the problem?
View this message in context: http://n2.nabble.com/problem-external-graphic-tp2240127p2240127.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.