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 valid. which is the problem? thanks. -- 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users