Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-07-17 Thread Stefan Steiniger
Hi Peppe, well.. you kind of answered most of it ;) So If you have uploaded the code I will hopefully find some time to check in the next days. As far as I recall, getting the original data is fairly easy (just using some other function that returns the same data-type) - but well, I

Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-07-13 Thread Giuseppe Aruta
I forgot: the plugin is available on Toolbar Raster menu 2013/7/13 Giuseppe Aruta giuseppe_ar...@yahoo.it Hi Stefan (and others), I worked on your code and expanded a little bit the plugin. I came across this plugin which is an attempt to larger Save to Raster to substitute

Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-06-26 Thread Stefan Steiniger
Hi Peppe, did you made any progress on that? Or is the code the last version you have? slds, stefan Am 21.06.13 06:05, schrieb Giuseppe Aruta: Hi all, Recently I worked a bit with Sextante/grids and did some specialized short courses. A student of mine used OpenJUMP/Sextante to do some

Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-06-26 Thread Giuseppe Aruta
Hi Stefan, I made some progress, now I am able to save to asc, unfortunately each value of the pixel of the ascii is saved an incredible number equal to rowXcolumn of the original. So my test file of 101 byte becomes a huge file of 2 Gb :-( Surelly I made a misake. Then I moved to Switzerland for

Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-06-26 Thread Giuseppe Aruta
Really I don't understand loops in Java ;-) 2013/6/26 Giuseppe Aruta giuseppe_ar...@yahoo.it Hi Stefan, I made some progress, now I am able to save to asc, unfortunately each value of the pixel of the ascii is saved an incredible number equal to rowXcolumn of the original. So my test file

Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-06-26 Thread Stefan Steiniger
Hi Peppe, thanks for the update! and have a good time in Switzerland. Its probably expensive there - but if you are a tour guide its less a problem of yours ;) stefan Am 26.06.13 12:56, schrieb Giuseppe Aruta: Really I don't understand loops in Java ;-) 2013/6/26 Giuseppe Aruta

Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-06-26 Thread Stefan Steiniger
Hi Peppe and other Devs, I fixed the problem :) I send you my last version that seems to write an *.asc file as it is supposed to. At least it looks like OJ itself and QGIS are able to read it. From my file you can start and adding the stuff you still think is necessary. I have made some inline

Re: [JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-06-26 Thread Giuseppe Aruta
Hi Stefan, thanks a lot. I will go and study the code when I will be back home. Giuseppe 2013/6/27 Stefan Steiniger sst...@geo.uzh.ch Hi Peppe and other Devs, I fixed the problem :) I send you my last version that seems to write an *.asc file as it is supposed to. At least it looks like OJ

[JPP-Devel] An attempt to build an Export to ascii raster grid plugin for OJ

2013-06-21 Thread Giuseppe Aruta
Hi all, Recently I worked a bit with Sextante/grids and did some specialized short courses. A student of mine used OpenJUMP/Sextante to do some analysis. Than he had to convert all the rasters (TIFF format) into ESRI Ascii grid files (.asc) as he had to use a more specialized software that was