Topic on Project:Support desk

Certain Articles With Coordinates Not Showing in Location API Queries

3
PhilEH (talkcontribs)

Hello, I'm currently working on a project using the MediaWiki Location API to find locations near a specific GPS coordinate. The API works great! Edits to an article's coordinates are updated immediately using the API which is also great. But there are some articles which have GPS coordinates, but don't show up in the API queries. An example would be The Mont Royal Chalet in Montreal. I was wondering how to go about editing the page to ensure it shows up when using the API.

Thanks,

TheDJ (talkcontribs)

Hi, it seems there is a bug in the code that handles the coordinates when they are specified in the article in this particular format. I have now changed the format and I think that this should fix it for now. I've asked someone who knows a lot about this to double check this problem and hopefully he can solve it for all other occurrences.

PhilEH (talkcontribs)

That worked! Thank you for your help