Hello,
Replacing "\" by "/" gives result with error. (windows 10)

jerome.siot@WORK<mailto:jerome.siot@WORK> C:\Users\jerome.siot
$ ogrinfo gltp:/vrf/C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/libref/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/elev/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/hydro/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/ind/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/phys/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/pop/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/trans/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/util/fcs>

vpf_open_table: error opening 
<C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash/veg/fcs>
INFO: Open of `gltp:/vrf/C:/git/gdal/autotest/ogr/data/vm2alv2_texash/texash'
      using driver `OGR_OGDI' successful.
1: tileref@tileref(*)_area (Polygon)
2: tilereft@tileref(*)_text (Point)
3: markersp@bnd(*)_point (Point)
4: polbndl@bnd(*)_line (Line String)
5: polbnda@bnd(*)_area (Polygon)
6: bndtxt@bnd(*)_text (Point)


--
Regards, Jérome
De : gdal-dev <gdal-dev-boun...@lists.osgeo.org> De la part de Philippe 
Ghesquiere via gdal-dev
Envoyé : Wednesday, June 28, 2023 6:57 PM
À : gdal-dev@lists.osgeo.org
Objet : [gdal-dev] Converting VPF vector set into shapefile (under Windows 
environment)

Dear all,

I would like to convert a VPF vector set ( OGDI 
driver<https://gdal.org/drivers/vector/ogdi.html>  ) into shapefile format.

My environment is  as follow:

  *   windows 10
  *   GDAL environment installed with QGIS 3.26.0 : GDAL 3.5.0, released 
2022/05/10
  *   the OGDI driver is available
ogrinfo --format ogr_ogdi
Format Details:
  Short Name: OGR_OGDI
  Long Name: OGDI Vectors (VPF, VMAP, DCW)
  Supports: Vector
  Help Topic: drivers/vector/ogdi.html
  Supports: Open() - Open existing dataset.
  Supports: Multiple vector layers.

To make sure I have a supported database, I downloaded the gdalautotest suite.

After reading the OGDI driver<https://gdal.org/drivers/vector/ogdi.html> page, 
I modified the example for a  windows environment. I tried the following command

ogrinfo 
gltp:/vrf/C:\Download\GDAL\gdalautotest-3.6.4\ogr\data\vm2alv2_texash\texash

I observe :

  *   nothing happens (no warning or error message)
  *   activating debug mode does not give any extra information

As mentioned in the  OGDI driver<https://gdal.org/drivers/vector/ogdi.html> 
page, the 'texash/' directory is at the same level as the dht and lat files.

Do you have any idea for a correct "windows-like" path I should use ?

Thanks

Philippe
The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to