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.

Files for tiddlywebplugins.geofilters, version 0.931
Filename, size File type Python version Upload date Hashes
Filename, size tiddlywebplugins.geofilters-0.931.tar.gz (10.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page