[QGIS Commit] r11827 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Oct 22 07:34:44 EDT 2009


Author: timlinux
Date: 2009-10-22 07:34:42 -0400 (Thu, 22 Oct 2009)
New Revision: 11827

Modified:
   trunk/qgis/python/core/qgis.sip
Log:
Updated sip bindings to match changes in r11825

Modified: trunk/qgis/python/core/qgis.sip
===================================================================
--- trunk/qgis/python/core/qgis.sip	2009-10-21 22:43:41 UTC (rev 11826)
+++ trunk/qgis/python/core/qgis.sip	2009-10-22 11:34:42 UTC (rev 11827)
@@ -70,14 +70,19 @@
   //! description strings for feature types
   //static const char *qgisFeatureTypes[];
 
-  //! map units that qgis supports
+  /** Map units that qgis supports
+   * @note that QGIS < 1.4 api had only Meters, Feet, Degrees and UnknownUnit
+   */
   enum UnitType
   {
-    Meters,
-    Feet,
-    Degrees,
-    UnknownUnit
-  };
+    Meters = 0,
+    Feet = 1,
+    Degrees = 2, //for 1.0 api backwards compatibility
+    DecimalDegrees = 2,
+    DegreesMinutesSeconds = 4,
+    DegreesDecimalMinutes = 5,
+    UnknownUnit = 3
+  } ;
 
   //! User defined event types
   enum UserEvent



More information about the QGIS-commit mailing list