Skip to main content

Provides new filter near=lat,long,radius to allow queries against geo tiddlers (tiddlers with geo.long and geo.lat fields)

Project description

A TiddlyWeb plugin that provides ability to query tiddlers with geodata near a given location

This provides a new filter for TiddlyWeb aimed at geotiddlers (tiddlers containing longitude and latitude information expressed in fields with names "geo.long" and "geo.lat respectively")

It adds a near filter which allows you to query tiddlers by proximity
the argument given is comma separated with latitude first, longitude second and radius third.
eg.

tiddlers/bag/geotiddlers?near=50,0,5km

you can also request in miles
tiddlers/bag/geotiddlers?near=50,0,5miles

The resulting distance (in miles or kms depending on what was called) is added to a temporary tiddler field called "_geo.proximity"

To install
Simply update your tiddlywebconfig to supply the following.
config = {
'system_plugins': ['tiddlywebplugins.ltgt','tiddlywebplugins.geofilters'],
}

This package is licensed under the same terms as TiddlyWeb itself.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tiddlywebplugins.geofilters-0.931.tar.gz (10.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page