[Gdal-dev] Importing VMAP0 into PostGIS database;
Martin Spott
Martin.Spott at mgras.net
Wed Aug 10 12:46:43 EDT 2005
Markus Neteler wrote:
> I guess that this comes from the trailing dot problem and
> the upper case directories to lower case names problem.
Frank Warmerdam wrote:
> On 8/9/05, Martin Spott wrote:
>> INFO: Open of `gltp:/vrf/home/martin/VMAP0/v0eur/vmaplv0/eurnasia'
>> using driver `OGDI' successful.
>
> Martin could you try changing the vmap0 directory to lower case?
> I vaguely recall a sensitivity to that in the vrf driver.
Well, you both actually made my day !!!
Apparently it's only an issue with uppercase directory names. The
'v0eur' TAR file doesn't contain uppercase letters, but I was a bit
blind and didn't realize that my own VMAP0 base directory could be an
issue as well.
It looks like the OGDI VPF driver is able to deal with the trailing
dots. I ran 'ogrinfo' over a fresh VMAP0 tree and the result looks
promising:
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: 44114
Extent: (-10.377182, 30.000000) - (159.805161, 68.291046)
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)
Thanks again,
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
More information about the Gdal-dev
mailing list