[GRASS-dev] table only creation in v.in.ascii
Moritz Lennert
mlennert at club.worldonline.be
Thu Jan 10 08:40:13 EST 2008
On 10/01/08 14:33, Benjamin Ducke wrote:
> Indeed, disconnecting the DBMS link before
> removing the vector map does the same thing ...
>
> I guess, the advantages in patching v.in.ascii to do
> this are:
>
> 1. Many users who are not very knowledgeable in GRASS
> shell scripting and using the DBMS modules (like myself,
> obviously) would probably have a better chance of finding what they are
> looking for.
>
> 2. For very large input tables we'll save some time and mem,
> because no coordinate fields checking needs to be done and
> creation of the dummy vector map can be skipped.
>
> Disadvantage:
>
> v.in.ascii code gets bloated with more conditionals.
+1 for the v.in.ascii approach as I think that will make it easier for
users and that if we can easily integrate this kind of functionality
into a C-module instead of creating a new script, this will reduce the
risk of portability issues that is inherent in shell scripts.
Moritz
More information about the grass-dev
mailing list