Re: [JPP-Devel] new SaveAs wizard

2016-08-01 Thread edgar . soldin
take your time ;).. ede On 31.07.2016 21:57, Michaël Michaud wrote: > Hi Ede, > > I'll have a look at your last change ASAP, thanks, > > Michaël > > Le 30/07/2016 à 21:43, edgar.sol...@web.de a écrit : >> On 30.07.2016 18:55, edgar.sol...@web.de wrote: >>> On 30.07.2016 14:32, edgar.sol...@web.

Re: [JPP-Devel] new SaveAs wizard

2016-07-31 Thread Michaël Michaud
Hi Ede, I'll have a look at your last change ASAP, thanks, Michaël Le 30/07/2016 à 21:43, edgar.sol...@web.de a écrit : > On 30.07.2016 18:55, edgar.sol...@web.de wrote: >> On 30.07.2016 14:32, edgar.sol...@web.de wrote: The pluginContext seems to be initialized too early to be used to get

Re: [JPP-Devel] new SaveAs wizard

2016-07-30 Thread edgar . soldin
On 30.07.2016 18:55, edgar.sol...@web.de wrote: > On 30.07.2016 14:32, edgar.sol...@web.de wrote: >>> The pluginContext seems to be initialized too early to be used to get >> do you get an error stack? >> the selected layer, so that I have to get the workbenchContext first. It is possib

Re: [JPP-Devel] new SaveAs wizard

2016-07-30 Thread edgar . soldin
On 30.07.2016 14:32, edgar.sol...@web.de wrote: >> The pluginContext seems to be initialized too early to be used to get > do you get an error stack? > >> > the selected layer, so that I have to get the workbenchContext first. It >> > is possible, but I completely loose the interest of the PlugI

Re: [JPP-Devel] new SaveAs wizard

2016-07-30 Thread edgar . soldin
On 30.07.2016 13:01, Michaël Michaud wrote: > Hi Ede, > > Just committed an early wizard for save as DataStore. > > There are still some methods I must complete. But I must first > understand what they are for and when they are called. > > There is also something I don't know how to manage prop

Re: [JPP-Devel] new SaveAs wizard

2016-07-30 Thread Michaël Michaud
Hi Ede, Just committed an early wizard for save as DataStore. There are still some methods I must complete. But I must first understand what they are for and when they are called. There is also something I don't know how to manage properly : The pluginContext seems to be initialized too early

Re: [JPP-Devel] new SaveAs wizard

2016-07-29 Thread Giuseppe Aruta
hi Stefan .asc and .felt can have a .prj file. Regarding raster I also found something similar (file.jpg -》file.jpg.prj) Il 29/Lug/2016 16:41, "Stefan Steiniger" ha scritto: > > which formats actually depend on a prj file because they don't file > their projection themselves? > as far as I recall

Re: [JPP-Devel] new SaveAs wizard

2016-07-29 Thread Stefan Steiniger
> which formats actually depend on a prj file because they don't file their > projection themselves? as far as I recall its only shapefile ;) There aren't many other standard vector formats. Interestingly QGIS creates sometimes in parallel a *.qpj file, not touching the original one. In geojson

Re: [JPP-Devel] new SaveAs wizard

2016-07-29 Thread edgar . soldin
On 29.07.2016 16:10, Giuseppe Aruta wrote: > Hi Ede, > Excuse me for long time to answer. I am still on Bolsena Lake with poor web > connection . I will test the New Save wizard in the next week when I am back > home and give back a feedback. looking forward to it > I follow the discussion and

Re: [JPP-Devel] new SaveAs wizard

2016-07-29 Thread Giuseppe Aruta
Hi Ede, Excuse me for long time to answer. I am still on Bolsena Lake with poor web connection . I will test the New Save wizard in the next week when I am back home and give back a feedback. I follow the discussion and read Michael's questions/your answers. I was planning after vacation to add an

Re: [JPP-Devel] new SaveAs wizard

2016-07-28 Thread edgar . soldin
On 25.07.2016 23:32, Michaël Michaud wrote: > Hi Ede, > > I had a quick look to see how your new plugin should be used. > > Should we use SaveFileWizard for all file-based savers and add a new > wizard for database savers ? yepp, new wizardgroup per datasource type > Some file-based savers hav

Re: [JPP-Devel] new SaveAs wizard

2016-07-28 Thread edgar . soldin
On 27.07.2016 23:53, Michaël Michaud wrote: > Hi Ede, > > I'm tying to add database writer to the new SaveWizardPlugIn. > > I added a SaveToDataStoreWizard in the initialize method of SaveWizardPlugIn, > So far so good (it does not do anything yet ;-) > > In SaveWizardPlugIn execute method, I se

Re: [JPP-Devel] new SaveAs wizard

2016-07-27 Thread Michaël Michaud
Hi Ede, I'm tying to add database writer to the new SaveWizardPlugIn. I added a SaveToDataStoreWizard in the initialize method of SaveWizardPlugIn, So far so good (it does not do anything yet ;-) In SaveWizardPlugIn execute method, I see that inputData is referenced under the key SaveFileWi

Re: [JPP-Devel] new SaveAs wizard

2016-07-25 Thread Michaël Michaud
Hi Ede, I had a quick look to see how your new plugin should be used. Should we use SaveFileWizard for all file-based savers and add a new wizard for database savers ? Some file-based savers have options (currently, gml, dxf and csv drivers have write-options). I suppose that the idea is to re

Re: [JPP-Devel] new SaveAs wizard

2016-07-20 Thread Giuseppe Aruta
Actually on vacation camping along the lake of Bolsena, it is probably the cooler place in Central Italy in these days ( except the Alps). In Bologna, my town, we had 35 degrees today. The lake if Bolsena is one of the most favorite vacation place for many people from Germany. Peppe Il 20/Lug/201

Re: [JPP-Devel] new SaveAs wizard

2016-07-20 Thread edgar . soldin
On 20.07.2016 20:55, Giuseppe Aruta wrote: > Thank again for all you did and are doing a pleasure. long time since i spent serious time on OJ anyways. ..ede PS: how is your weather? where are you again? -- What NetFlow A

Re: [JPP-Devel] new SaveAs wizard

2016-07-20 Thread Giuseppe Aruta
Hey Ede, It is OK. Don't worry and take all the time you need. On the other hand it is summertime and there are probably few members that can test the new improvement. P.S. I just saw you worked around the bug. I am going to test on next days and give back a report. Thank again for all you did and

Re: [JPP-Devel] new SaveAs wizard

2016-07-20 Thread edgar . soldin
hey Peppe, sorry for that! can you please try again? ..thx ede On 20.07.2016 13:34, edgar.sol...@web.de wrote: > wouldn't it be nice if something works on the first try ;) > > will have a look.. ede > > On 20.07.2016 13:32, Giuseppe Aruta wrote: >> I did a few test in saving to shp >> 1) open a

Re: [JPP-Devel] new SaveAs wizard

2016-07-20 Thread edgar . soldin
wouldn't it be nice if something works on the first try ;) will have a look.. ede On 20.07.2016 13:32, Giuseppe Aruta wrote: > I did a few test in saving to shp > 1) open a file. Editable unelected. Save to shapefile. Null point exception > 2) on the same project, I make the layer editable and t

Re: [JPP-Devel] new SaveAs wizard

2016-07-20 Thread Giuseppe Aruta
I did a few test in saving to shp 1) open a file. Editable unelected. Save to shapefile. Null point exception 2) on the same project, I make the layer editable and try to save. Null point exception. 3) create a new project, load the same file, make the layer editable and add features and save. Nu

Re: [JPP-Devel] new SaveAs wizard

2016-07-19 Thread edgar . soldin
hey Peppe, On 19.07.2016 10:07, Giuseppe Aruta wrote: > Thanks for the improvements. I saw you added other classes and did a big job well, actually because of the existing wizard framework classes it was quite easy to implement it. maybe 3-4 half days. ..ede ---

Re: [JPP-Devel] new SaveAs wizard

2016-07-19 Thread Giuseppe Aruta
Hi Ede, Thanks for the improvements. I saw you added other classes and did a big job. I will give a look when I will be back home. Peppe Il 19/Lug/2016 08:14, "Michaël Michaud" ha scritto: > Hi Ede, > > Thanks for the improvement. > > I'll try to have a look this week and check how it goes with

Re: [JPP-Devel] new SaveAs wizard

2016-07-18 Thread Michaël Michaud
Hi Ede, Thanks for the improvement. I'll try to have a look this week and check how it goes with special savers like database writers. Michaël Le 18/07/2016 à 21:58, edgar.sol...@web.de a écrit : > hey All, > > because i was fed up with the old SaveDatasetAsPlugIn,it's switching file > selec

[JPP-Devel] new SaveAs wizard

2016-07-18 Thread edgar . soldin
hey All, because i was fed up with the old SaveDatasetAsPlugIn,it's switching file selection panels, weird logic etc. and because we really needed a more flexible way to save datasets i took the time to hack exactly that. *drumroll* - entrance the new SaveWizardPlugin, which actually houses onl