mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-12 03:00:28 +00:00
bb9c64b38e
* Reverse latitude and longitude in olc-decode tests to match proper geojson output format * Reverse latitude and longitude in olc-decode to match proper geojson output format * Reverse latitude and longitude in geopoint expected results to match proper geojson format * Reverse latitude and longitude in geolookup expected results to match proper geojson format * Corrected the Oxford to New York distances * Oxford is actually 12 miles closer to New York than Winchester Used calculator at https://www.nhc.noaa.gov/gccalc.shtml to check Reversed latitude and longitude to correct the geojson * Reversed the latitude and longitude turf.point arguments in the geopoint function * Swapped latitude and longitude in geopoint function calls
23 lines
1.4 KiB
JSON
23 lines
1.4 KiB
JSON
{
|
|
"columns": [
|
|
{"name": "address", "caption": "Address", "type": "string"},
|
|
{"name": "broker", "caption": "Broker", "type": "string"},
|
|
{"name": "city", "caption": "City", "type": "string"},
|
|
{"name": "lat", "caption": "Latitude", "type": "number"},
|
|
{"name": "long", "caption": "Longitude", "type": "number"},
|
|
{"name": "price", "caption": "Price", "type": "number"},
|
|
{"name": "salesagent", "caption": "Sales Agent", "type": "string"},
|
|
{"name": "state", "caption": "State", "type": "string"},
|
|
{"name": "title", "caption": "Title", "type": "string"},
|
|
{"name": "zipcode", "caption": "Zip Code", "type": "string"},
|
|
{"name": "census-province", "caption": "Census Province", "type": "string", "display": "[<census-data>jsonget[0],[prov_name_en],[0]]"},
|
|
{"name": "census-division", "caption": "Census Division", "type": "string", "display": "[<census-data>jsonget[0],[cd_name_en],[0]]"},
|
|
{"name": "census-subdivision", "caption": "Census Subdivision", "type": "string", "display": "[<census-data>jsonget[0],[csd_name_en],[0]]"},
|
|
{"name": "nearest-volcano", "caption": "Nearest Volcano", "type": "string", "display": "[{$:/geospatialdemo/features/harvard-volcanoes-of-the-world}geonearestpoint<coords>]"}
|
|
],
|
|
"variables": {
|
|
"coords": "[<rowTiddler>] :map[geopoint{!!lat},{!!long}]",
|
|
"census-data": "[<rowTiddler>] :map[geopoint{!!lat},{!!long}geolookup{$:/geospatialdemo/features/canada-census-subdivision-millesime}]"
|
|
}
|
|
}
|