[Qgis-user] Unable to open OGR .vrt file

2014-06-20 Thread Andrea Acinelli
Hi Even/Andre, After going through the OGR Virtual Format documentation again I realized that the GeometryField sub-element has an optional attribute called reportSrcColum. When set to FALSE (by default is set to TRUE) the source geometry fields (longitude and latitude columns in .csv file)

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-20 Thread Andre Joost
Am 19.06.2014 23:59, schrieb Andrea Acinelli: Thanks for spotting that. After correcting the quotation the virtual layer loaded but without showing any features on the canvas or the attribute table. Same here. it is loaded as empty non-spatial table, because the source file has not been

[Qgis-user] Unable to open OGR .vrt file

2014-06-20 Thread Andrea Acinelli
Andre/Even, Maybe I didn't explained it properly but by adding the reportSrcColumn=false attribute in GeometryField all points are displayed correctly all over the world in QGIS. GeometryField encoding=PointFromColumns reportSrcColumn=false x=longitude y=latitude/ Just wondering if what I

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-20 Thread Andre Joost
Am 20.06.2014 17:22, schrieb Andrea Acinelli: Andre/Even, Maybe I didn't explained it properly but by adding the reportSrcColumn=false attribute in GeometryField all points are displayed correctly all over the world in QGIS. GeometryField encoding=PointFromColumns reportSrcColumn=false

[Qgis-user] Unable to open OGR .vrt file

2014-06-20 Thread Andrea Acinelli
Hi, Thanks Andre. Your help is very much appreciated. Your last comment: Maybe there is another typo in your dataset. Alternatively, you can try ogr2ogr Global_24h.shp Global_24h.vrt and see if that shows the points correctly. I tried the ogr2ogr utility that came with PostGIS by

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-20 Thread Andre Joost
Am 21.06.2014 03:26, schrieb Andrea Acinelli: NOTE: This is my first support request and I noticed that I didn't reply properly. Almost all my mails represent a new thread. How do I replay so that my replays appear indented from the previous post etc.. It depends on how you get the mailing

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-19 Thread Andrea Acinelli
Hi Andre, Thanks for spotting that. After correcting the quotation the virtual layer loaded but without showing any features on the canvas or the attribute table. After, as Even suggested, I modified the .vrt file including the relativeToVRT=1 attribute in SrcDataSource and layer gets loaded

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-19 Thread Andre Joost
Am 19.06.2014 23:59, schrieb Andrea Acinelli: Hi Andre, Thanks for spotting that. After correcting the quotation the virtual layer loaded but without showing any features on the canvas or the attribute table. After, as Even suggested, I modified the .vrt file including the relativeToVRT=1

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-17 Thread Andre Joost
Am 17.06.2014 00:46, schrieb Andrea Acinelli: Operating System: OS X 10.9.3 QGIS 2.2.0-9 distributed by KyngChaos Postgres 9.3.4 PostGIS 2.1.2 distributed by Postgres.app Hi, When trying to open a .vrt file referencing a .csv with 'lat' and ‘ ong’ in two separate columns I get the following

[Qgis-user] Unable to open OGR .vrt file

2014-06-16 Thread Andrea Acinelli
Operating System: OS X 10.9.3 QGIS 2.2.0-9 distributed by KyngChaos Postgres 9.3.4 PostGIS 2.1.2 distributed by Postgres.app Hi, When trying to open a .vrt file referencing a .csv with 'lat' and ‘ ong’ in two separate columns I get the following error message: ‘Invalid Data Source:

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-16 Thread Even Rouault
Le mardi 17 juin 2014 00:46:42, Andrea Acinelli a écrit : Operating System: OS X 10.9.3 QGIS 2.2.0-9 distributed by KyngChaos Postgres 9.3.4 PostGIS 2.1.2 distributed by Postgres.app Hi, When trying to open a .vrt file referencing a .csv with 'lat' and ‘ ong’ in two separate columns I

Re: [Qgis-user] Unable to open OGR .vrt file

2014-06-16 Thread Andrea Acinelli
Hi, Thanks for your help. Unfortunately it didn't work. Is the relativeToVRT=1 attribute the same as specifying the full path in SrcDataSource? (It did't work anyway). It's a fresh installation. Thanks Andrea ___ Qgis-user mailing list