[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-user
Subject:    Re: [GRASS-user] v.out.ogr dialog ask for user to type entire output path
From:       Martin Landa <landa.martin () gmail ! com>
Date:       2015-03-16 12:54:33
Message-ID: CA+Ei1Ofqo1dh34fJJVsaJstBJLjEy6VjWmzrWUAtewX-i+P5Pg () mail ! gmail ! com
[Download RAW message or body]

Hi,

2015-03-16 13:47 GMT+01:00 Daniel Victoria <daniel.victoria@gmail.com>:
> In the 'Name of output OGR datasource' field, the user has to type the
> entire path, which some times can be quite long. Of course I can copy/paste
> the output path but couldn't we have a directory or file chooser dialog
> there?

the problem with datasource is that it could be a file, database, ...
It's the main reason why the option has no hardcoded type. But I agree
with you, it should be improved. One option would be to write a
similar front-end as already exists for v.in.ogr or v.external.out (it
could be good starting point for v.out.ogr). But it requires some time
and programming (any volunteer here?) or to change option type to
G_OPT_F_OUTPUT (file). This option will still enables to type eg. PG
datasource (PostGIS). Another option which came to my mind is to
change form.py to use GDALSelect widget directly. It would be the best
option I would say.

Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic