[Gdal-dev] Importing VMAP0 into PostGIS database; Was: Custom scenery integration

Martin Spott Martin.Spott at mgras.net
Tue Aug 9 15:26:11 EDT 2005


Hello Norman, Hello Frank,

On Tue, Aug 09, 2005 at 12:10:24PM -0400, Norman Vine wrote:

> If the following doesn't help please join us on IRC
> or ask on the GDAL mailing list so others can benefit
> from the discussion

Thanks for pointing me at the appropriate mailing list. As I'm not that
comfortable with IRC I'll chose this medium.

> FrankW  nhv: Check http://rafb.net/paste/results/PGY8bR34.html

Indeed, this is almost what I'm doing here. I just added renaming the
layers (with "-nln") in order to make it a functional equivalent of
yours. All this looks quite reasonable and 'ogr2ogr' always returns
zero. What makes me wonder is that the dump of the resulting database
is only 14 MByte in size as the respective 'v0eur' dataset is 521
MByte. Does this match your experience or do you think I missed
something relevant ?
Some old posting on this topic suggested to remove trailing dots at
filenames in the VMAP0 set - I already did that without realizing
significant change.

> FrankW  It looks ok to me too. Is he using ogdi 3.1.5?
[...]
> FrankW  Also, PostGIS 1.0 requires a very recent GDAL/OGR to work
> properly.

In any case I took the most recent releases I could find, which means
ogdi-3.1.4 and gdal-1.2.6 (besides proj-4.4.9 and geos-2.1.3).
Everything built without errors (GCC-3.4.2 on Solaris8/Sparc).

Ah, I just found out where to get ogdi-3.1.5 and check with it -
although I suspect the error is a totally different one. I'll ned to
get some debug information out of 'ogr2gr', probably it actually
doesn't read the VMAP0 contents, just the structure.

Cheers,
	Martin.


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



More information about the Gdal-dev mailing list