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.
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.
Source Distribution
Close
Hashes for tiddlywebplugins.geofilters-0.931.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1f93a3e44d6c8cdb6825ed4e58ae7305e6445dd499fc5e02d54e219b07ee86d |
|
MD5 | aa127a7e0472e816e07a0e1f5fcaad00 |
|
BLAKE2b-256 | be7cfc295512e327bae65bf78cdb8a3108609b9f3c9eeac99fdbc57a3265d805 |