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
```
| Columns | Contents |
|---|---|
search_id, wiki, page_id | Search and article identifiers |
title, url | Article title and link |
location | Coordinates for Places |
latitude, longitude, distance_m | Numeric coordinates and distance |
type, country, region | Optional geographic metadata |
description | Optional introductory text |
thumbnail_url, thumbnail_page_url | Optional 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.