[gdal-dev] ogr2ogr VPF->postgis

sophia parafina creta.kano at gmail.com
Mon Mar 16 12:04:37 EDT 2009


slashes are incorrect, e.g.

gltp:[//<hostname>]/<driver_name>/<dataset_name>:<layer_name>:<family>



On Mon, Mar 16, 2009 at 11:38 AM, Malm Paul <paul.malm at saabgroup.com> wrote:

> Hi!
> I'm trying to read in VPF data to my postgreSQL/PostGis database with
> ogr2ogr.exe in WinXP
>
> The lht file is placed in c:\test\vmap\v0eur_5\vmaplv0\eurnasia
> The database is called testgis
>
> This is what I typed in on the command prompt:
> ogr2ogr -f PostgreSQL PG:"dbname='testgis' user='cvfc' passwd='pwd'"
> gltp:\vrf\test\vmap\v0eur_5\vmaplv0\eurnasia -lco OVERWRITE=yes -nln
> polbndl_bnd 'polbndl at bnd(*)_line'
>
> This is what I got:
> FAILURE:
> Unable to open datasource `gltp:\vrftest\vmap\v0eur_5\vmaplv0\eurnasia'
> with the following drivers.
>  -> ESRI Shapefile
>  -> MapInfo File
>  -> UK .NTF
>  -> SDTS
>  -> TIGER
>  -> S57
>  -> DGN
>  -> VRT
>  -> REC
>  -> Memory
>  -> BNA
>  -> CSV
>  -> GML
>  -> GPX
>  -> KML
>  -> GeoJSON
>  -> GMT
>  -> ODBC
>  -> PGeo
>  -> AVCBin
>
> What have I missed?
>
> Is it possible to load all featuretypes in a Postgis database at once?
>
> Kind regards,
> Paul_______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090316/7a8c3e48/attachment.html


More information about the gdal-dev mailing list