Karima added a comment.
@TheDJ Thanks for the response.
You know if it's possible to have only the geojson via the API ?
ie. only this part of JSONData :
{ "type": "FeatureCollection",
...
}
Thanks
TASK DETAIL
https://phabricator.wikimedia.org/T255047
EMAIL
TheDJ closed this task as "Invalid".
TheDJ added a comment.
closing as invalid as it seems to have been an issue with the way the api was
used by the consumer.
TASK DETAIL
https://phabricator.wikimedia.org/T255047
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpr
TheDJ updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T255047
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: TheDJ
Cc: TheDJ, Aklapper, Karima, Akuckartz, Alilje, darthmon_wmde, Nandana, Lahi,
Gq86, Looniverse, GoranSMilo
TheDJ added a comment.
That endpoint is not returning valid json, only raw text.
The json endpoint as also used by Kartographer is:
https://commons.wikimedia.org/w/api.php?format=json&formatversion=2&action=jsondata&title=Paris.map
Or for usage by anonymous reusers:
https://comm