måndag 17 juli 2017

Update Wiki-map graves

Update 2017-jun

I emailed David Taylor  and wiki-map has changed and is now fetching all coordinates using gsprimary=all


==>the grave of Lena Nymans can be seen although its not a primary coordinate










api caction=query&titles=Lena Nyman.....&coprimary=all




{
    "batchcomplete": "",
    "query": {
        "pages": {
            "31877": {
                "pageid": 31877,
                "ns": 0,
                "title": "Lena Nyman",
                "coordinates": [
                    {
                        "lat": 59.3565,
                        "lon": 18.0317,
                        "globe": "earth",
                        "name": "grav+f%C3%B6r+Lena+Nyman",
                        "type": "landmark"
                    }
                ]
            }
        }
    }
}









Wiki-map is a javascript implementation.

  1. The grave of Lena Nyman has coordinates in Wikidata Q255967#P119 and use a Wikipediatemplate Infobox Skådespelare ==> coordinates are not primary coordinates
  2. Alfred Nobel has coordinates in Wikidata Q23810#P119 and use the Template  Faktamall_biografi_WD ==> the coordinates are displayed as primary coordinates
Status today for the cemetery Northern Cemetery Stockholm wd:Q252312

URL used after change in Wiki-map gsprimary=all ==> fetch all coordinates also the grave for Lena Nymans grav


https://sv.wikipedia.org/w/api.php?action=query&list=geosearch&gsprimary=all&gsradius=3675.732859607522&gscoord=59.356500|18.031694&gslimit=20&callback=?

See below Lena Nyman vs. primary coordinates Gustaf Lagercrantz
"geosearch": [
            {
                "pageid": 31877,
                "ns": 0,
                "title": "Lena Nyman",
                "lat": 59.3565,
                "lon": 18.0317,
                "dist": 0.3
            },
            {
                "pageid": 672192,
                "ns": 0,
                "title": "Gustaf Lagercrantz",
                "lat": 59.35652,
                "lon": 18.03183,
                "dist": 8,
                "primary": ""
            },


Today about 1000 graves are seen ==> compared before 776

Still problem with Iphone apps like V for Wiki (see change request)  and Wikipedia for Iphone


Inga kommentarer:

Skicka en kommentar