Places - Wikipedia

approvedunreviewed

by bobstanton

Query nearby Wikipedia articles with VaultQuery and display them in Places.

↓ 16 downloadsUpdated 9d agoAGPL-3.0

Places - Wikipedia

Find places from Wikipedia and display them on a map.

This is not a stand-alone plugin, to use, install along side Places. Refer to the sandbox for examples.

Populate a VaultQuery table with a search:

id: scranton
location: 41.4086, -75.6624
radius: 10km
limit: 50
language: en
cache: 24h

Display results on a map:

```places
query: |
  SELECT *
  FROM wiki_places
  WHERE search_id = 'scranton'
  ORDER BY distance_m
popup:
  content:
    - renderer: wikipedia.summary
```
ColumnsContents
search_id, wiki, page_idSearch and article identifiers
title, urlArticle title and link
locationCoordinates for Places
latitude, longitude, distance_mNumeric coordinates and distance
type, country, regionOptional geographic metadata
descriptionOptional introductory text
thumbnail_url, thumbnail_page_urlOptional image and credits page

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.