Nyall Dawson
ac36cb5dd2
Make QgsCoordinateReferenceSystem use an internal cache
...
for initializing CRS objects.
This avoids the need for the separate QgsCRSCache class,
and means that the caching benefits are available without the
need for calling methods from QgsCrsCache.
2016-07-25 10:14:19 +10:00
Nyall Dawson
bb220a0b43
Add some static methods for creating QgsCoordinateReferenceSystem
...
This avoids the need for
QgsCoordinateReferenceSystem crs;
crs.createFromSrsId(...)
and instead can be replaced with
QgsCoordinateReferenceSystem crs = QgsCoordinateReferenceSystem::fromSrsId(...)
2016-07-25 10:14:19 +10:00
Nyall Dawson
ee62bdeeb4
Rename some QgsCoordinateReferenceSystem methods
...
- geographicFlag() -> isGeographic()
- axisInverted() -> hasAxisInverted()
2016-07-25 10:14:19 +10:00
Nyall Dawson
1a2231f10c
Rename QGis class to Qgis, for capitalisation consistency
2016-07-21 22:01:38 +10:00
Nyall Dawson
4cfacf14e3
Make API more consistent
...
- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id
- rename methods with SRS to Crs
- rename methods with abbreviations like "dest" to "destination"
- rename methods with abbreviations like "src" to "source"
2016-07-21 08:40:50 +10:00
Martin Dobias
1444398208
Improve QgsCoordinateReferenceSystem API documentation ( #3311 )
2016-07-19 01:05:16 +08:00
Nyall Dawson
339d061693
Use QgsCRSCache instead of looking up CRS by srs id (refs #15193 )
2016-07-05 13:35:01 +10:00
Nyall Dawson
768fc2c790
Use QgsCRSCache in more places
...
Forward port from sourcepole/kadas-albireo
2016-06-07 07:26:34 +10:00
Juergen E. Fischer
5c4bf99ce2
debian packaging update: manually merge some changes from PR#2818 and
...
some spelling fixes.
2016-02-20 16:55:16 +01:00
Juergen E. Fischer
a90be95f7b
sip sync
2016-02-14 03:50:49 +01:00
Nyall Dawson
d4ea95ea49
Improve QgsCoordinateReferenceSystem documentation
2016-02-03 07:52:40 +11:00
Sebastian Dietrich
2d0be1cf69
Changed the parameter of QgsCoordinateReferenceSystem::readXML() to const
...
and removed const_cast<> where not needed any longer
2015-12-12 00:05:10 +01:00
Nyall Dawson
c49b5b777f
Change a lot of arguments to const references in core/gui
...
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Juergen E. Fischer
9752c468c1
indentation update
2015-07-29 11:52:14 +02:00
Juergen E. Fischer
cce2eb50cb
indentation update
2015-01-22 20:56:02 +01:00
Nyall Dawson
1310b87081
Show recently used projections in QgsProjectionSelectionWidget
2015-01-19 22:57:46 +11:00
Juergen E. Fischer
9ceb5ceab6
sip sync
2014-11-21 01:17:21 +01:00
Juergen E. Fischer
6402864537
doxygen: add/replace some occurences of \verbatim with \code
2014-10-26 00:53:20 +02:00
Juergen E. Fischer
74e7314c36
update sip bindings II
2014-01-27 09:22:53 +01:00
Juergen E. Fischer
d4e369414b
update sip bindings
2014-01-26 18:36:29 +01:00
Leyan
cc34d14117
update sip file
2013-04-16 22:56:40 +08:00
Alexander Bruy
5e45a22d06
remove deprecated methods from API
2012-12-23 10:40:23 +02:00
Juergen E. Fischer
f3cb57b1eb
SIP bindings update:
...
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Etienne Tourigny
e3868cf4b9
add python binding for QgsCoordinateReferenceSystem::createFromUserInput()
2012-05-28 18:05:47 +02:00
Juergen E. Fischer
71d0e4dd19
deprecated QgsCoordinateReferenceSystem::equals: as it might return false
...
eventhough the proj.4 string is equal. PROJ.4 string isn't unique to
CRSes.
2012-04-22 21:11:43 +02:00
Radim Blazek
9a9b53bb94
unset QgsMapRenderer mCachedTrForLayer on setDestinationCrs and always check layer->crs against mCachedTr destCRS
2012-01-15 15:07:23 +01:00
Juergen E. Fischer
a9aafd0713
apply #3645 : synchronization of srs.db with GDAL/PROJ on installation
2011-05-05 22:28:42 +02:00
jef
4c7b539c5d
apply #3586
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15419 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-10 19:47:59 +00:00
jef
e4f51cc7bb
add QgsCoordinateReferenceSystem::authid() to python bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15408 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-09 20:29:12 +00:00
jef
3fd6119492
deprecated special handling of EPSG - just one authority
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-22 23:32:33 +00:00
gsherman
dfb0602f0b
Patch for delimited text, ticket #3414 . Submitted by ccrook.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-25 05:50:42 +00:00
jef
cbf1a50bd6
fix common typos
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00
timlinux
1ca4f2365b
More api cleanups
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-19 19:20:42 +00:00
timlinux
b6ec0534fb
Further api updates in core
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-16 06:31:25 +00:00
jef
8094f1d4c6
hackfest commit from timlinux:
...
- more API cleanups
- single click (instead of drag) to select a feature (fixes #1154 )
- fixes for topological editing
git-svn-id: http://svn.osgeo.org/qgis/trunk@9471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-10 20:02:22 +00:00
jef
31327f51fd
Merged rest of composer branch (9087-9115)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 09:19:49 +00:00
jef
3599fa2fa2
rename qgsspatialrefsys.sip to qgscoordinatereferencesystem.sip
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9109 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-21 21:38:23 +00:00