Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DataValueFactory.php |
— | — | @@ -234,6 +234,7 @@ |
235 | 235 | '_dat' => SMWDataItem::TYPE_TIME, // Time type |
236 | 236 | '_boo' => SMWDataItem::TYPE_BOOLEAN, // Boolean type |
237 | 237 | '_rec' => SMWDataItem::TYPE_CONTAINER, // Value list type (replacing former nary properties) |
| 238 | + '_geo' => SMWDataItem::TYPE_GEO, // Geographical coordinates |
238 | 239 | // Special types are not avaialble directly for users (and have no local language name): |
239 | 240 | '__typ' => SMWDataItem::TYPE_WIKIPAGE, // Special type page type |
240 | 241 | '__tls' => SMWDataItem::TYPE_STRING, // Special type list for decalring _rec properties |
Index: trunk/extensions/SemanticMediaWiki/includes/dataitems/SMW_DataItem.php |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | const TYPE_URI = 5; |
61 | 61 | /// Data item ID for SMWDITimePoint |
62 | 62 | const TYPE_TIME = 6; |
63 | | - /// Data item ID for SMWDIGeoCoords |
| 63 | + /// Data item ID for SMWDIGeoCoord |
64 | 64 | const TYPE_GEO = 7; |
65 | 65 | /// Data item ID for SMWDIContainer |
66 | 66 | const TYPE_CONTAINER = 8; |
— | — | @@ -160,7 +160,7 @@ |
161 | 161 | case self::TYPE_BOOLEAN: return "SMWDIBoolean"; |
162 | 162 | case self::TYPE_URI: return "SMWDIUri"; |
163 | 163 | case self::TYPE_TIME: return "SMWDITimePoint"; |
164 | | - case self::TYPE_GEO: return "SMWDIGeoCoords"; |
| 164 | + case self::TYPE_GEO: return "SMWDIGeoCoord"; |
165 | 165 | case self::TYPE_CONTAINER: return "SMWDIContainer"; |
166 | 166 | case self::TYPE_WIKIPAGE: return "SMWDIWikiPage"; |
167 | 167 | case self::TYPE_CONCEPT: return "SMWDIConcept"; |