Skip to content

Commit e99592f

Browse files
author
timlinux
committedOct 22, 2009
Updated sip bindings to match changes in r11825
git-svn-id: http://svn.osgeo.org/qgis/trunk@11827 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9d3f9f8 commit e99592f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed
 

‎python/core/qgis.sip

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,19 @@ public:
7070
//! description strings for feature types
7171
//static const char *qgisFeatureTypes[];
7272

73-
//! map units that qgis supports
73+
/** Map units that qgis supports
74+
* @note that QGIS < 1.4 api had only Meters, Feet, Degrees and UnknownUnit
75+
*/
7476
enum UnitType
7577
{
76-
Meters,
77-
Feet,
78-
Degrees,
79-
UnknownUnit
80-
};
78+
Meters = 0,
79+
Feet = 1,
80+
Degrees = 2, //for 1.0 api backwards compatibility
81+
DecimalDegrees = 2,
82+
DegreesMinutesSeconds = 4,
83+
DegreesDecimalMinutes = 5,
84+
UnknownUnit = 3
85+
} ;
8186

8287
//! User defined event types
8388
enum UserEvent

0 commit comments

Comments
 (0)
Please sign in to comment.