Le 2016-09-22, Yuri Astrakhan a écrit :
1) yep - just keep "ExternalData" elements
at the top of the json, e.g.
<maplink>[ {"type":"ExternalData", ...},
{"type":"Feature", ...}, ... ]
</maplink>
2) yep. There was a bug in the previous releases that has been fixed now
(its on the deployment train, should be available everywhere today or
tomorrow). You can have "properties" as the top level element of both
"Feature" and "ExternalData" elements, with all the styling
information.
Thanks Yuri, that's great, once again!
I think I could have find these informations reading more carefully the Help page.
Also, Wikidata query can also return the same
properties. In case you
define properties on ExternalData and return it from the query, the
properties will be combined, with the ones from Wikidata overriding those
defined locally (per item).
Any help with documenting this is welcomed :)
You talk about
https://www.mediawiki.org/wiki/Help:Extension:Kartographer ?
I would be happy to help with some enhancements for more newbie profiles,
but alas I don't understand which resource/url I can edit.
The <translate> mechanism confuses me.
--
° /\ Guillaume Allègre OpenStreetMap France
http://www.openstreetmap.fr
/~~\/\ Allegre.Guillaume(a)free.fr Wikimedia France
http://www.wikimedia.fr
/ /~~\ tél. 04.76.63.26.99 Des contenus partagés libres et collaboratifs