Hi all,
The new plugin is added in the last NB.
I have tried to follow everyone's recommendation and did it the
following way :
- created a new plugin called "SaveLayersWithoutDataSourcePlugIn"
it is deactivated by default (can be activated from default-plugins.xml)
it can save layers without datasource in a user-choosen directory
it can save in JML or shapefile but fails to save in shapefile if
mixed geometries are found
- this plugin is called by SaveProjectAsPlugIn if necessary (activated
by default).
In this case, directory is not asked, it is created beside the
project file with a similar name as suggested by Ede
Please, try and report any bug or bad behaviour.
Michaël
Le 14/04/2011 10:40, Giuseppe Aruta a écrit :
l like the idea of Michael. Even if I image it as a basic beckup
option: save all layers (with datasource, with no datasource like DXF
KML and the ones in memory), save them into the project folder (better
if in a subfolder, like Ede's idea), save only on JML data format,
save them to project file.
Another plugin could be used to convert all (selected) JML files to
SHP, separating the geometries .
Peppe
--- *Mer 13/4/11, Benjamin Gudehus /<hasteb...@googlemail.com>/* ha
scritto:
Da: Benjamin Gudehus <hasteb...@googlemail.com>
Oggetto: Re: [JPP-Devel] Saving in-memory layers before saving a
project
A: "OpenJump develop and use" <jump-pilot-devel@lists.sourceforge.net>
Data: Mercoledì 13 Aprile 2011, 22:27
Hi!
+1 for Matthias' idea.
Also the user should explicitly know, that unsaved layers are
saved automatically.
--Benjamin
2011/4/13 Matthias Scholz <m...@jammerhund.de
</mc/compose?to=m...@jammerhund.de>>
Hi Michaël,
very good idea! This was one point on my TODO ;-) It would be
nice if
the user can preselect a format. My users use most times shape
files.
This could be done in the options dialog. An other possibility
was a
JCombobox(in the "Save progject as" dialog") with a first
entry "not
save" followed by all the possible formats.
Matthias
> Hi,
>
> I would like to add a plugin to save layers without datasource.
>
> My idea is to add this capability to the "Save project as"
plugin making
> user interaction as simple as possible.
>
> Currently, when a project contains new layers (layers with no
> datasource), the user is just warned that some layers have
not been saved.
> My proposal is to add an option in the "Save project as"
dialog box to
> let the plugin save new layers as .jml files in the same
directory as
> the project.
> No format option, no new directory option.
> .jml is a natural format for such a work as it keeps
information as is
> (one can see this option as a backup of unsaved data).
>
> Any comment ?
>
> Michaël
>
>
------------------------------------------------------------------------------
> Forrester Wave Report - Recovery time is now measured in
hours and minutes
> not days. Key insights are discussed in the 2010 Forrester
Wave Report as
> part of an in-depth evaluation of disaster recovery service
providers.
> Forrester found the best-in-class provider in terms of
services and vision.
> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
</mc/compose?to=Jump-pilot-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization
is a top
priority.Virtualization can reduce costs, simplify management,
and improve
application availability and disaster protection. Learn more
about boosting
the value of server virtualization.
http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
</mc/compose?to=Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
-----Segue allegato-----
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and
improve
application availability and disaster protection. Learn more about
boosting
the value of server virtualization.
http://p.sf.net/sfu/vmware-sfdev2dev
-----Segue allegato-----
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
</mc/compose?to=Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel