[QGIS-trac] Re: [Quantum GIS] #767: Only one KML vector layer loaded
Quantum GIS
qgis at qgis.org
Sun Jan 25 12:17:04 EST 2009
#767: Only one KML vector layer loaded
----------------------------------------------------+-----------------------
Reporter: didge | Owner: mhugent
Type: enhancement | Status: new
Priority: minor: annoyance or enhancement | Milestone: Version 2.0.0
Component: OGR Layer support | Version: HEAD
Resolution: | Keywords: kml ogr s57
Platform_version: | Platform: Debian
Must_fix: No | Status_info: 0
----------------------------------------------------+-----------------------
Comment (by falahdab):
Hello guys.
I've juste posted a patch to this ticket.
This patch includes:[[BR]]
- a modified ogrprovider which implements the QStringList subLayers()
method and which parses the uri to select the loaded layer. It is still
supposed to be fully backward compatible. (Would require testing...)[[BR]]
- a plugin named ogrsublayers (in C++) which allows the user to select the
layers he wants to load into qgis from an OGR datasource thanks to the new
provider. The plugin is limited to ogr provider because it uses some ogr
provider specific methods... You will find an included README file which
explains how to use the plugin. I haven't done any art, so the icons are
still the default plugin ones. No doubt you will agree with the fact that
this not essential at this time.
I have successfully tested my work with my S57 datasource but I haven't
tried other data formats.
Looking forward to hearing from you about this.
Florian
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/767#comment:5>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list