[Gdal-dev] Importing VMAP0 into PostGIS database;

Martin Spott Martin.Spott at mgras.net
Wed Aug 10 07:10:34 EDT 2005


Hello Frank,

Frank Warmerdam wrote:

> On reflection, I think the problem is still likely to be the related to 
> the naming conventions of the fileset.  Where did you get your VMAP0
> dataset?   Could I suggest you grab and unpack:
> 
>   ftp://ftp.remotesensing.org/v0eur.tar.gz

This is actually identical to the dataset I used previously. The MD5
checksum of the file is different but the size as well as the contents
are the same.

> Layer name: cropa at veg(*)_area
> Geometry: Polygon
> Feature Count: 44114
> Extent: (-10.377182, 30.000000) - (159.805161, 68.291046)
[...]


This is how the 'ogrinfo' output for the complete layer looks here:

ERROR 4: OGDI Driver doesn't support update.
Had to open data source read-only.
INFO: Open of `gltp:/vrf/home/martin/VMAP0/v0eur/vmaplv0/eurnasia'
using driver `OGDI' successful.

Layer name: cropa at veg(*)_area
Geometry: Polygon
Feature Count: 0
Layer SRS WKT:
GEOGCS["NAD83",
    DATUM["North_American_Datum_1983",
        SPHEROID["GRS 1980",6378137,298.257222101,
            AUTHORITY["EPSG","7019"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6269"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],
    AUTHORITY["EPSG","4269"]]
id: Integer (10.0)
f_code: String (5.0)
ftc: Integer (5.0)
veg: Integer (5.0)
tile_id: Integer (5.0)
fac_id: Integer (10.0)


I put a copy of the 'ogrinfo' output fo the whole v0eur dataset here:

  ftp://ftp.ihg.uni-duisburg.de/local/ogrinfo.v0eur.gz

Surprisingly the first four layers are reported to have "features", all
of the following are 'empty', but they still contain the
meta-information.

Cheers,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the Gdal-dev mailing list