mapserverexportplugin: use current loaded project only

4 messages Options
Embed this post
Permalink
Richard Duivenvoorde

mapserverexportplugin: use current loaded project only

Reply Threaded More More options
Print post
Permalink
Hi List,
we are busy with the python mapserverexport plugin...

current version asks you to point to a qgs-project-file which will then be
used to make the map file.
Often this project-file is actually the project currently loaded in qgis.
Which made people add functionality to check if the current project is
actually changed after loading...

BUT: isn't it more intuitive to NOT let the user point to a qgs-project
file, but always use the current project for exporting? In this way we can
force people to save current project if not saved yet (because the mapfile
is actually build by using data from a (saved) project file).
Another option would be that the user would not be forced to save the
file, and silently save the file to some temporary place just to build the
mapfile...

I prefer the first option.

Do people see any objections in removing the 'browse to
qgs-file'-functionality in the plugin?

Please comment.

Regards

Richard Duivenvoorde


_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user
Matej

Re: mapserverexportplugin: use current loaded project only

Reply Threaded More More options
Print post
Permalink
Hi,

I think that exporting without pointing to qgis project file is logical, so just export the current (saved) project.

My five cents.

BR, Matej Serc

Sent via BlackBerry from Vodafone

-----Original Message-----
From: Richard Duivenvoorde <[hidden email]>
Date: Sun, 08 Nov 2009 00:36:36
To: <[hidden email]>
Subject: [Qgis-user] mapserverexportplugin: use current loaded project only

Hi List,
we are busy with the python mapserverexport plugin...

current version asks you to point to a qgs-project-file which will then be
used to make the map file.
Often this project-file is actually the project currently loaded in qgis.
Which made people add functionality to check if the current project is
actually changed after loading...

BUT: isn't it more intuitive to NOT let the user point to a qgs-project
file, but always use the current project for exporting? In this way we can
force people to save current project if not saved yet (because the mapfile
is actually build by using data from a (saved) project file).
Another option would be that the user would not be forced to save the
file, and silently save the file to some temporary place just to build the
mapfile...

I prefer the first option.

Do people see any objections in removing the 'browse to
qgs-file'-functionality in the plugin?

Please comment.

Regards

Richard Duivenvoorde


_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user


_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user
Ricardo Filipe Soares Garcia da

Re: mapserverexportplugin: use current loaded project only

Reply Threaded More More options
Print post
Permalink
Hi
I also think its more intuitive to just assume that the user wants to
use the current project for mapfile generation.
But I'd like to propose that, instead of getting rid of the widget for
selecting the project to use, this widget still exists but will be
filled in by default with the path of the current project. This way
the user doesn't have to work to choose the project file, but there is
still the possibility of selecting other projects, if needed.
Opinions?

On Sat, Nov 7, 2009 at 11:59 PM,  <[hidden email]> wrote:

> Hi,
>
> I think that exporting without pointing to qgis project file is logical, so just export the current (saved) project.
>
> My five cents.
>
> BR, Matej Serc
>
> Sent via BlackBerry from Vodafone
>
> -----Original Message-----
> From: Richard Duivenvoorde <[hidden email]>
> Date: Sun, 08 Nov 2009 00:36:36
> To: <[hidden email]>
> Subject: [Qgis-user] mapserverexportplugin: use current loaded project only
>
> Hi List,
> we are busy with the python mapserverexport plugin...
>
> current version asks you to point to a qgs-project-file which will then be
> used to make the map file.
> Often this project-file is actually the project currently loaded in qgis.
> Which made people add functionality to check if the current project is
> actually changed after loading...
>
> BUT: isn't it more intuitive to NOT let the user point to a qgs-project
> file, but always use the current project for exporting? In this way we can
> force people to save current project if not saved yet (because the mapfile
> is actually build by using data from a (saved) project file).
> Another option would be that the user would not be forced to save the
> file, and silently save the file to some temporary place just to build the
> mapfile...
>
> I prefer the first option.
>
> Do people see any objections in removing the 'browse to
> qgs-file'-functionality in the plugin?
>
> Please comment.
>
> Regards
>
> Richard Duivenvoorde
>
>
> _______________________________________________
> Qgis-user mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> _______________________________________________
> Qgis-user mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>



--
___________________________ ___ __
Ricardo Garcia Silva
_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user
James Card

Re: mapserverexportplugin: use current loaded project only

Reply Threaded More More options
Print post
Permalink
In reply to this post by Richard Duivenvoorde
On Sat, 07 Nov 2009 15:36:36 -0800, Richard Duivenvoorde  
<[hidden email]> wrote:

> Another option would be that the user would not be forced to save the  
> file, and silently save the file to some temporary place just to build  
> the mapfile...

This would be my first choice, though it would also be nice to select a  
saved project file as an alternative. Most often I just want to use QGIS  
to add a few layers to a map but have no real need to save the QGIS  
project file -- in other words, the map-file is the only output I needed.  
Occasionally I do need to save a QGIS project file, and may use a saved  
project to create a map-file.

--
California CAD Solutions, Inc.
209-578-5580 - Voice
209-521-6493 - FAX
_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user