[Gdal-dev] extracing inwatera from vmap0

Frank Warmerdam warmerdam at pobox.com
Mon Dec 19 15:56:58 EST 2005


On 12/19/05, Tore Halset <halset at pvv.ntnu.no> wrote:
> Hello.
>
> I want to extract the large lakes from vmap0 as shape files. This was
> ok for v0eur, v0sas and v0soa, but not for v0noa. No error message,
> but the feature count is 0. Is that correct or should I "fix" the
> dataset in any way?

Tore,

I am seeing 152686 polyons in the north american
VMAP0 dataset.   There was a problem at one time
with one of the VMAP0 collections that the north american
VMAP0 CD dump was done with the wrong naming
conventions.  Perhaps you have this too?

My copy looks something like:

warmerda at gdal2200[161]% ls -l
total 80
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 bnd
lrwxrwxrwx   1 warmerda users    4 Feb  4  2003 cat -> cat.
-r-xr-xr-x   1 warmerda users  643 Aug  8  2000 cat.
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 dq
lrwxrwxrwx   1 warmerda users    4 Feb  4  2003 dqt -> dqt.
-r-xr-xr-x   1 warmerda users 2840 Aug  8  2000 dqt.
lrwxrwxrwx   1 warmerda users    4 Feb  4  2003 dqx -> dqx.
-r-xr-xr-x   1 warmerda users   16 Aug  8  2000 dqx.
drwxr-xr-x  11 warmerda users 4096 Jan  9  2003 elev
lrwxrwxrwx   1 warmerda users    4 Feb  4  2003 grt -> grt.
-r-xr-xr-x   1 warmerda users  736 Sep 13  2000 grt.
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 hydro
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 ind
lrwxrwxrwx   1 warmerda users    4 Feb  4  2003 lht -> lht.
-r-xr-xr-x   1 warmerda users 1044 Sep 13  2000 lht.
drwxr-xr-x   2 warmerda users 4096 Jan  9  2003 libref
-r-xr-xr-x   1 warmerda users 9859 Sep 25  2000 lineage.doc
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 phys
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 pop
drwxr-xr-x   2 warmerda users 4096 Jan  9  2003 tileref
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 trans
drwxr-xr-x  11 warmerda users 4096 Jan  9  2003 util
drwxr-xr-x  12 warmerda users 4096 Jan  9  2003 veg

As you can see, I had to create soft links so that stuff
like "lht." would appear as "lht".

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list