Geocoding Properties

by Jose Elias Alvarez
5
4
3
2
1
Score: 57/100

Description

Category: 3rd Party Integrations

The Geocoding Properties plugin allows users to enrich their Obsidian notes with location-based metadata by integrating geocoding API results. It automatically queries geocoding services using a note's address, title, or name to retrieve location data such as formatted addresses, latitude, longitude, and map links. The plugin supports multiple APIs, including Free Geocoding API and Google Geocoding API, and provides customizable options for property keys, map providers, and overwrite settings. Results can be inserted into the note's frontmatter in formats compatible with other Obsidian plugins like obsidian-leaflet and obsidian-map-view, streamlining location-based workflows.

Reviews

No reviews yet.

Stats

52
stars
5,382
downloads
2
forks
943
days
106
days
106
days
2
total PRs
0
open PRs
0
closed PRs
2
merged PRs
10
total issues
3
open issues
7
closed issues
23
commits

Latest Version

4 months ago

Changelog

What's Changed

New Contributors

Full Changelog: https://github.com/jose-elias-alvarez/obsidian-geocoding-properties/compare/2.0.2...2.1.0

README file from

Github

Obsidian Geocoding Properties

Insert address / location data from geocoding APIs as Obsidian properties.

Usage

The plugin operates on the active note. It queries the configured geocoding API using the search property order defined in the plugin settings. By default, the search term is resolved using the following priority list:

  • The current note's address property, if set
  • The current note's title property, if set
  • The current note's name

You can override this order in the settings if you prefer a different set of properties.

The plugin provides two commands:

  • Insert properties into current note: prompts you to edit the search term and confirm before querying the API. If a term is too broad, the API may return too many results or zero results, so it often helps to add additional information (city, state, country) to the term.
  • Insert properties into current note (no confirmation): skips confirmation and queries the API directly using the search term.

After selecting a result, the active note's frontmatter will be updated with the properties specified in the plugin's settings.

Settings

Properties

Each property can be enabled or disabled, and you can also specify a custom key for each property:

  • address: The formatted address returned by the API (format is not guaranteed and varies by API)
  • lat: The latitude of the location
  • lng: The longitude of the location
  • location: The coordinates of the location in an obsidian-leaflet-compatible [lat, lng] format
  • map_link: A link to an online map to the location using the configured map provider
  • map_view_link: A link in in an obsidian-map-view-compatible [](geo:lat,lng) format

Property settings

Search property order

Controls which properties should be checked (and in what order) when building the geocoding search term. Provide a comma-separated list of property names; include name anywhere in the list to fall back to the note's filename.

Override existing properties

Controls whether existing properties should be overwritten when inserting (defaults to false).

Map provider

Controls which map provider should be used when inserting the map_link property (defaults to Google Maps):

API settings

API provider

The plugin currently supports two geocoding APIs:

Free Geocoding API

This is the default API. It's free, but accuracy is not guaranteed, and you may be subjected to rate limiting as a free user. (It also tends to show multiple entries for the same location.)

You'll need to register an account and get a free API key to use this service.

Google Geocoding API

This is a paid API (the cost per request is low, but it's not free). Setup is non-trivial, but accuracy is higher and rate limits are more generous.

You'll need to set up a Google Cloud project and enable the Geocoding API. You'll also need to create an API key and set up a billing account and enable billing for your project.

API key

You'll need to set your API key here.

Please be careful with your API key! I do not have access to the key, but it's stored as plaintext in your Obsidian vault, and anyone with access to the key can make requests on your behalf (which will be charged to your account if you've set up billing for the configured API).

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Local REST API
4 years ago by Adam Coddington
Unlock your automation needs by interacting with your notes in Obsidian over a secure REST API.
Media DB Plugin
4 years ago by Moritz Jung
A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.
User Plugins
4 years ago by mnowotnik
Allows user scripts to use plugin API
Obsidian to Flomo
4 years ago by Xiaoyu Li
Quickly share content to Flomo.
File Publisher
3 years ago by Devin Sackett
APIRequest
3 years ago by rooyca
Obsidian plugin that allows you to integrate API data into your notes with request caching, variable support, and precise JSON extraction.
Latex Render
2 years ago by jvsteiner
An Obsidian plugin that renders `label` code blocks to `<svg>` for viewing in notes. Make sure to bring your own command!
Unofficial Fabric Integration
2 years ago by Chasebank87
Integrate fabric by danielmiessler/fabric into Obsidian
OpenAPI Renderer
2 years ago by Sentiago
Integrate OpenAPI specification management into Obsidian with features for version control, visualization, editing, and easy navigation of API specs.
Cursor Location
5 years ago by Sean Slater
Display the cursors line and column in Obsidian
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Mapbox Location Image
2 years ago by Aaron Czichon
Render a mapbox location image based on provided coordinates
Magiedit
a year ago by Matteo Gassend
Data Fetcher
a year ago by qf3l3k
Fetch data from multiple sources (REST APIs, RPC, gRPC, GraphQL) and insert results into notes.
API Designer
5 months ago by Ruveyda Yilmaz
A plugin for Obsidian that lets you design and document API endpoints visually without leaving your notes.