Dear all,

following our discussion two days ago, I have started patching
v.in.ascii to support creating only an attribute table w/o
any vector objects/geometries.

It seems the easiest way in terms of not modifying too much of
the original code is to be create a dummy vector map, creating
the table for it and then deleting only the geometries after import,
leaving the table intact.

I have two questions about this:

1. Given that the user want to create a dbase table, where should
the resulting DBF file be placed? In the mapset's dbf directory?

2. Which C API command do I use to delete every element of a
vector map except the attribute table (Apparently, Vect_delete()
always deletes the table, too)?

Thanks,

Benjamin
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to