[gdal-dev] Exporting layers from the VMAP database

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Sat Jan 12 06:28:46 EST 2008


Markus,

FYI:

(1) nik at vertical:~$ ogrinfo -ro -summary
gltp:/vrf/home/nik/v0eur/vmaplv0/eurnasia 'watrcrsl at hydro(*)_line'  
GET_TABLE_ELEMENT: Invalid field number -1
INFO: Open of `gltp:/vrf/home/nik/v0eur/vmaplv0/eurnasia'
      using driver `OGDI' successful.

Layer name: watrcrsl at hydro(*)_line
Geometry: Line String
Feature Count: 200441
Extent: (-31.262667, 30.000000) - (179.999900, 81.190750)
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)
hyc: Integer (5.0)
nam: String (64.0)
tile_id: Integer (5.0)
edg_id: Integer (10.0)

(2) Notice the difference in 'watrcrsl_ at _hydro(*)_line':

nik at vertical:~$ ogrinfo -ro -summary
gltp:/vrf/home/nik/v0eur/vmaplv0/eurnasia 'watrcrsl_ at _hydro(*)_line'  
GET_TABLE_ELEMENT: Invalid field number -1
INFO: Open of `gltp:/vrf/home/nik/v0eur/vmaplv0/eurnasia'
      using driver `OGDI' successful.


And the same I get for: 'polbnda at bnd(*)_area'   and
'polbnda_ at _bnd(*)_area'


On Fri, 2008-01-11 at 18:02 +0100, Markus Neteler wrote:
> On Jan 11, 2008 2:51 PM, Nikos Alexandris
> <nikos.alexandris at felis.uni-freiburg.de> wrote:
> > Hi GDAL list!
> >
> > Finally, I accessed (with ogrinfo) and exported successfully into
> > shapefile (with ogr2ogr) something from the VMAP database.
> >
> > Although I can see the polbnda polygons for instance, I still don't
> > understand this error message:
> >
> > $ ogr2ogr polbnda.shp gltp:/vrf/home/nik/v0eur/vmaplv0/eurnasia
> > 'polbnda at bnd(*)_area'
> > GET_TABLE_ELEMENT: Invalid field number -1
> >
> > What does this mean?
> 
> Are you sure that the path is right?
> See also
> http://intevation.de/pipermail/freegis-list/2005-April/002276.html
> (note: the @ symbol is scrambled there)
> 
> Markus
-- 
Nikos Alexandris
.
Department of Remote Sensing & Landscape Information Systems
Faculty of Forestry & Environmental Sciences, Albert-Ludwigs-University Freiburg
.
Tel.  +49 (0) 761 203 3697 / Fax.  +49 (0) 761 203 3701 / Skype: Nikos.Alexandris
.
Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080112/f30f8b85/attachment.bin


More information about the gdal-dev mailing list