Type Geographic coordinate
cwillmes opened this issue · comments
Hi,
if I define a field of type 'Geographic coordinate' (http://semantic-mediawiki.org/wiki/Help:Type_Geographic_coordinate), like this:
<Coordiates.json>
{
"title": "Coordinates",
"description": "The location of a Site in WGS 84 geographic coordinate notation.",
"type": "Geographic coordinate"
}
</Coordiates.json>
The property is created in the wiki as Type Text:
==Description==
- This is an attribute of the datatype [[Has type::Text]].
To have access to the semantic maps functionality, it is importand to have the coordinates of type 'Geographic coordinate'.
Hello Christian,
Geographic Coordinate should already be supported. Just use "type": "string" and "format": "geographic coordinate". Please tell me if it works ;)
(See https://github.com/Fannon/mobo/blob/master/lib/model/parseField.js#L232)
Greets,
Simon
yes, this way it works. Thanks!