Bug report #5511

VRT files not opening on Master.

Added by Thaddeus - over 8 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:15115

Description

I installed the QGIS Master today; on a quick tour I noticed that my old VRT files that were working on previous QGIS's are not opening anymore. Error message is: not a valid or recognized data source.

World.vrt (607 Bytes) Thaddeus -, 2012-04-27 01:46 PM

Volcanoes_of_the_World__summary.csv Magnifier (104 KB) Thaddeus -, 2012-04-27 01:46 PM

VRTtest01.png (97.2 KB) Thaddeus -, 2012-04-27 02:42 PM

History

#1 Updated by Thaddeus - over 8 years ago

#3 Updated by Salvatore Larosa over 8 years ago

Windows / Linux ?
GDAL/OGR version ?

#4 Updated by Salvatore Larosa over 8 years ago

CSV file name in SrcDataSource must be identical to the file itself.
Note that in the VRT file it is missing underscore symbols!

Confirmed?

#5 Updated by Thaddeus - over 8 years ago

Tested on Linux:

QGIS version 1.9.90-Alpha QGIS code revision exported

Compiled against Qt 4.7.0 Running against Qt 4.7.0

Compiled against GDAL/OGR 1.6.3 Running against GDAL/OGR 1.6.3

GEOS Version 3.2.0 PostgreSQL Client Version 8.4.4

SpatiaLite Version 2.4.0 QWT Version 5.2.0

#6 Updated by Thaddeus - over 8 years ago

OK, just tried same file under Win and 1.7.4 and it's working here !

#7 Updated by Salvatore Larosa over 8 years ago

Repeat:
in VRT file changes from:

<SrcDataSource relativeToVRT="1">Volcanoes of the World__summary.csv</SrcDataSource>

to
<SrcDataSource relativeToVRT="1">Volcanoes_of_the_World__summary.csv</SrcDataSource>

or rename your CSV file!

Try and let me know!

#8 Updated by Thaddeus - over 8 years ago

I'll try that underscore trick on Monday, but today I re-tested the same file on a 32-bit Ubuntu and worked OK?, the QGIS is slightly different though.

QGIS version 1.9.90-Alpha QGIS code revision exported
Compiled against Qt 4.7.4 Running against Qt 4.7.4
Compiled against GDAL/OGR 1.7.3 Running against GDAL/OGR 1.7.3
GEOS Version 3.2.2 PostgreSQL Client Version 9.1.1
SpatiaLite Version 2.4.0 QWT Version 5.2.2

#9 Updated by Paolo Cavallini over 8 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

Also available in: Atom PDF