Re: [JPP-Devel] Add some useful methods on Layer.class and RasterImageLayer.class

2016-01-26 Thread Stefan Steiniger
see below Am 26.01.16 um 13:31 schrieb Giuseppe Aruta: > Just few extra details: > > 1) Temporary vector (Layer.class) and raster (RasterImageLayer.class) > layers (isTemporaryLayer()) > - Sextante is a different software and it handles raster and vector in a > separate way from OpenJUMP > - while

Re: [JPP-Devel] Add some useful methods on Layer.class and RasterImageLayer.class

2016-01-26 Thread Giuseppe Aruta
Just few extra details: 1) Temporary vector (Layer.class) and raster (RasterImageLayer.class) layers (isTemporaryLayer()) - Sextante is a different software and it handles raster and vector in a separate way from OpenJUMP - while TEMP files should be stored in Windows forever (except if user does

Re: [JPP-Devel] Add some useful methods on Layer.class and RasterImageLayer.class

2016-01-26 Thread edgar . soldin
Stefan, the original authors probably created the API with some afterthought and accidentally i agree w/ them. OJ layers are merely responsible to render their data into the layerview. if you want more you ask the layer to give you the featcol or the datasource to work w/. this is clean and ef

Re: [JPP-Devel] Add some useful methods on Layer.class and RasterImageLayer.class

2016-01-26 Thread Stefan Steiniger
Hey, i think some of the stuff is quite usefull and even having it in Layer class... for an OJ programmer who knows clases etc., probabky not the right place, but for someone who writes scripts (python, bash, etc) this is the obvious place to get to know layer properties. Of course i don't know h

Re: [JPP-Devel] Add some useful methods on Layer.class and RasterImageLayer.class

2016-01-26 Thread edgar . soldin
Peppe, first of all while i commend your drive i really think that API changes/additions this deep in CORE should be discussed first and committed only after. this is unless you - are absolutely sure what you are doing ;) and - know how to revert the commit cleanly (keeping revisions) further