[Gvsig_english] Raster styling

Silvia Franceschi silvia.franceschi at gmail.com
Fri Feb 26 09:01:18 CET 2016


Dear all,
I am using gvSIG 2.3 build 2423 on a windows 64 machine.
After creating a project I loaded both vectors and rasters (asc) maps and
gave a style to them using gvSIG tools.

If I close and reopen the program I can't see the raster maps even if I
delete them from the layers and reload them into gvSIG. If I want to see
the raster maps again I have to activate the color table and redo the
styling.
I found this error in the console, any idea on what I am doing wrong?


 WARN [MapControl Drawer Worker] (MapControl.java:1356) - Problems drawing
mapcontext.
java.lang.NullPointerException
        at
org.gvsig.raster.impl.store.properties.DataStoreColorTable.hasAlpha(DataStoreColorTable.java:271)
        at
org.gvsig.raster.fmap.layers.RasterDrawStrategy.stackStrategy(RasterDrawStrategy.java:192)
        at
org.gvsig.raster.fmap.layers.DefaultFLyrRaster.draw(DefaultFLyrRaster.java:556)
        at
org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.drawLayer(DefaultMapContextDrawer.java:549)
        at
org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.draw(DefaultMapContextDrawer.java:530)
        at
org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.drawLayers(DefaultMapContextDrawer.java:469)
        at
org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:161)
        at org.gvsig.fmap.mapcontext.MapContext.draw(MapContext.java:1182)
        at
org.gvsig.fmap.mapcontrol.MapControl$PaintingRequest.paint(MapControl.java:1344)
        at
org.gvsig.fmap.mapcontrol.MapControl$Drawer$Worker.run(MapControl.java:1564)
        at java.lang.Thread.run(Thread.java:745)

Thanks

Silvia


-- 
ing. Silvia Franceschi
Via Latemar, 22
38030 Castello di Fiemme (TN)

tel: 0039 -3384501332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20160226/e750dbe8/attachment.htm 


More information about the Gvsig_internacional mailing list