[GRASSLIST:5741] Re: Creating DTM from shapefiles
William K
woklist at charter.net
Fri Feb 11 15:51:53 EST 2005
I've been using this method for a while, didn't come up with a script
tho. But while it works, I find it extremely (painfully) slow -
exporting 10s of 1000s of point takes many HOURS for me. ogr2ogr
appends very fast, since that's exactly what it is doing - appending.
The import goes much faster than the export.
I hope someone is working on v.patch so this can be done natively in
GRASS. Until that happens, I'll probably use the script, thanks.
On Feb 11, 2005, at 11:58 AM, Michael Barton wrote:
> We just tested v.append with a set of vector files derived from DGN CAD
> maps, imported into a UTM region with a WGS84 datum. It worked just
> fine,
> combining both the vectors and attribute tables as I hoped. It
> (ogr2ogr that
> is) automatically renamed the cat field to cat_ because, as Moritz
> notes, it
> automatically creates a sequential cat value for the new vector file.
>
> I am attaching a new version that is somewhat improved and more secure
> (using g.tempfile) following advice from Hamish. I'll put this up on my
> website. If people like it and it continues to work well, I can do a
> doc
> page and add it to the CVS scripts too.
>
> Michael
>
-----
William Kyngesburye <kyngchaos at charter.net>
http://webpages.charter.net/kyngchaos/
First Pogril: Why is life like sticking your head in a bucket filled
with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in a
bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?
-HitchHiker's Guide to the Galaxy
More information about the grass-user
mailing list