GridPin geocode

approvedunreviewed

by GridPin

Geocode the address property of a note into location coordinates for map views, with your own local GridPin server.

★ 1 starsUpdated todayApache-2.0

GridPin geocode

Reads the address property of a note and writes the coordinates into location, the property that map views such as Map View read. The answer comes from your own GridPin server on your computer or network.

---
address: 20 rue de Rivoli, 75004 Paris
location:
  - 48.855873
  - 2.358816
match_level: PointAddress
---

Network use

The plugin sends the address of the note to one place: the GridPin server whose address is in its settings. The default is http://127.0.0.1:8080, your own computer. It contacts no other service, needs no account and has no telemetry.

You need a server

GridPin answers from one file per country. Files exist for Australia, Brazil, Canada, France, Germany, Italy, Mexico, the Netherlands, New Zealand, Poland, Serbia, Spain and the United States.

With the GridPin program:

gridpin serve "$(gridpin sheets fetch fr)"

Or with Docker (the tag is the country: au br ca de es fr it mx nl nz pl rs us; the image is linux/amd64):

docker run --rm -p 127.0.0.1:8080:8080 ghcr.io/gridpin/gridpin:fr

Use

  1. Install and enable the plugin. If the server runs on another computer, set its address in the plugin's settings.
  2. Add an address property to a note.
  3. Run the command GridPin geocode: Geocode this note.
What happenedWhat the plugin does
a sure answerwrites location and match_level, shows the address found
an answer the server itself marks as weak, such as only the townleaves the note as it is and shows the best guess
no answer, a stopped server, an error, no addressleaves the note as it is and says why

Desktop only: on a phone 127.0.0.1 is the phone itself.

Install by hand

Put main.js and manifest.json of the latest release into .obsidian/plugins/gridpin-geocode of your vault.

Build

npm ci && npm run build

Checked with Obsidian 1.12.7. This repository is assembled from the sources GridPin keeps; GridPin maintains the plugin, and its text and code were prepared with an AI assistant. Licence: Apache-2.0.

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.