[QGIS-trac] [Quantum GIS] #3414: Add Coordinate Reference System to memory provider and delim text provider uri

Quantum GIS qgis at qgis.org
Sun Jan 16 20:41:59 EST 2011


#3414: Add Coordinate Reference System to memory provider and delim text provider
uri
----------------------------------------------------------------------+-----
   Reporter:  ccrook                                                  |              Owner:  nobody       
       Type:  patch                                                   |             Status:  new          
   Priority:  major: does not work as expected                        |          Milestone:  Version 1.7.0
  Component:  Data Provider                                           |            Version:               
   Keywords:  Delimited text provider plugin, Memory provider plugin  |   Platform_version:               
   Platform:  All                                                     |           Must_fix:  No           
Status_info:  0                                                       |  
----------------------------------------------------------------------+-----
 This patch adds the ability to specify the coordinate reference system in
 the datasourceUri for memory and delimited text providers.

 The main intention in this is to allow plugins to create these providers
 with the CRS predefined, so that regardless of the QGIS default providers
 settings the layer can be created without displaying a reference system
 dialogue to the user.

 Other changes made as part of this:
 QgsCoordinateReferenceSystem string constructor has been generalised to
 allow strings such as "epsg:1234" as alternative to WKT
 QgsMemoryProvider datasourceUri can also specify spatial indexing and
 attributes
 QgsMemoryProvider and QgsDelimitedTextProviders uri's are encoded and
 decoded using QUrl rather than building as QString, to ensure reliable
 encoding of special characters
 QgsDelimitedTextProvider UI tidied up to correctly remember delimiter
 settings in QSettings

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3414>
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