[gdal-dev] Converting VPF vector set into shapefile (under Windows environment)
Jerome Siot
jerome.siot at mytimezero.com
Thu Jun 29 02:41:57 PDT 2023
Hello,
Replacing "\" by "/" gives result with error. (windows 10)
jerome.siot at WORK<mailto:jerome.siot at 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 at tileref(*)_area (Polygon)
2: tilereft at tileref(*)_text (Point)
3: markersp at bnd(*)_point (Point)
4: polbndl at bnd(*)_line (Line String)
5: polbnda at bnd(*)_area (Polygon)
6: bndtxt at bnd(*)_text (Point)
--
Regards, Jérome
De : gdal-dev <gdal-dev-bounces at lists.osgeo.org> De la part de Philippe Ghesquiere via gdal-dev
Envoyé : Wednesday, June 28, 2023 6:57 PM
À : gdal-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230629/3236081f/attachment-0001.htm>
More information about the gdal-dev
mailing list