Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Tim Sutton
Hi On Oct 24, 2014 6:51 PM, Andre Joost andre+jo...@nurfuerspam.de wrote: Am 24.10.2014 um 17:08 schrieb Tim Sutton: Hi On Oct 24, 2014 4:43 PM, Zoltan Szecsei zoltans-mboxmv9chcpu3weykep...@public.gmane.org wrote: On 2014/10/24 16:36, Andre Joost wrote: Am 24.10.2014 um 16:16 schrieb

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Andre Joost
Am 26.10.2014 um 11:35 schrieb Tim Sutton: We could build something - at least for the use case where you want to create a mosaic of shp files that have the same attributes... But i have to wonder if there is much point - just importing them into spatialite or postgis seems like a much nicer

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Zoltan Szecsei
On 2014/10/24 18:49, Andre Joost wrote: +100 from me if you promise to build a QGIS plugin for the purpose ;-) Well, I'm not building a plugin - but rather a bash script, both to keep it simple, and to further my knowledge. So, My script is working insofar as I am getting a VRT that QGIS

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Even Rouault
Le dimanche 26 octobre 2014 14:37:04, Zoltan Szecsei a écrit : On 2014/10/24 18:49, Andre Joost wrote: +100 from me if you promise to build a QGIS plugin for the purpose ;-) Well, I'm not building a plugin - but rather a bash script, both to keep it simple, and to further my knowledge.

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Zoltan Szecsei
On 2014/10/26 15:57, Even Rouault wrote: Le dimanche 26 octobre 2014 14:37:04, Zoltan Szecsei a écrit : On 2014/10/24 18:49, Andre Joost wrote: +100 from me if you promise to build a QGIS plugin for the purpose ;-) Well, I'm not building a plugin - but rather a bash script, both to keep it

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Zoltan Szecsei
On 2014/10/26 16:01, Zoltan Szecsei wrote: On 2014/10/26 15:57, Even Rouault wrote: Le dimanche 26 octobre 2014 14:37:04, Zoltan Szecsei a écrit : On 2014/10/24 18:49, Andre Joost wrote: +100 from me if you promise to build a QGIS plugin for the purpose ;-) Well, I'm not building a plugin -

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Even Rouault
I still get no syntax errors on opening the VRT, and no features either. Could it be the 'slashes' in the filename? No that's OK I would have thought they'd be OK because they are in double-quotes: You likely need to add the attribute relativeToVRT=1 in SrcDataSource so that the paths

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-26 Thread Zoltan Szecsei
On 2014/10/26 16:22, Even Rouault wrote: You likely need to add the attribute relativeToVRT=1 in SrcDataSource so that the paths are interpreated relatively to the VRT file. i.e. SrcDataSource relativeToVRT=12730/2730_RIVER_LINE_2006_06.shp/SrcDataSource Magic! - It works. I did have the

Re: [Qgis-developer] Vector equivalent of a VRT - Linux bash script

2014-10-26 Thread Zoltan Szecsei
On 2014/10/24 18:49, Andre Joost wrote: +100 from me if you promise to build a QGIS plugin for the purpose ;-) Right with a little help on the VRT syntax, from Even, this script will create you a vrt file (ie: in a simple case, 'ogrbuildvrt' :-) ) #!/bin/bash # # Bash script to

[Qgis-developer] Vector equivalent of a VRT

2014-10-24 Thread Zoltan Szecsei
Hi All, I've been googling around, but cannot find what I'm hoping for. Is there a VRT implementation for vector data? It would be nice to have a single name to load into QGIS for a set of vector data (eg SHP files), and as you pan around your 'VVT' file, QGIS would open and display only the

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-24 Thread MONDOT Alexia
Hello, Have a look on OGR VRT. http://www.gdal.org/drv_vrt.html Alexia Zoltan Szecsei zolt...@geograph.co.za a écrit : Hi All, I've been googling around, but cannot find what I'm hoping for. Is there a VRT implementation for vector data? It would be nice to have a single name to load into

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-24 Thread Andre Joost
Am 24.10.2014 um 16:16 schrieb Zoltan Szecsei: Hi All, I've been googling around, but cannot find what I'm hoping for. Is there a VRT implementation for vector data? Surely: http://www.gdal.org/drv_vrt.html unfortunately, there is no easy-to use transformation for it. From the page: The

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-24 Thread Zoltan Szecsei
On 2014/10/24 16:36, Andre Joost wrote: Am 24.10.2014 um 16:16 schrieb Zoltan Szecsei: Hi All, I've been googling around, but cannot find what I'm hoping for. Is there a VRT implementation for vector data? Surely: http://www.gdal.org/drv_vrt.html unfortunately, there is no easy-to use

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-24 Thread Tim Sutton
Hi On Oct 24, 2014 4:43 PM, Zoltan Szecsei zolt...@geograph.co.za wrote: On 2014/10/24 16:36, Andre Joost wrote: Am 24.10.2014 um 16:16 schrieb Zoltan Szecsei: Hi All, I've been googling around, but cannot find what I'm hoping for. Is there a VRT implementation for vector data? Surely:

Re: [Qgis-developer] Vector equivalent of a VRT

2014-10-24 Thread Andre Joost
Am 24.10.2014 um 17:08 schrieb Tim Sutton: Hi On Oct 24, 2014 4:43 PM, Zoltan Szecsei zoltans-mboxmv9chcpu3weykep...@public.gmane.org wrote: On 2014/10/24 16:36, Andre Joost wrote: Am 24.10.2014 um 16:16 schrieb Zoltan Szecsei: Hi All, I've been googling around, but cannot find what I'm