hcarter333 / datasette-enrichments-gmap-elevation

Retrieves the elevations of coordinates along a path on Earth
Apache License 2.0
0 stars 0 forks source link

Implement json only output; modify input format #3

Closed hcarter333 closed 2 months ago

hcarter333 commented 2 months ago

The enrichment should accept the following input template

{{rx_lat},{{rx_lng}},{{tx_lat}},{tx_lng}},{{optional_path_length_meters}}

It should store the returned Google Maps Elevation API json text in a column labeled 'json_elevation' like the following

image

hcarter333 commented 2 months ago

Testing to see if the path length can be set as a workaround query.

At present this seems very difficult. I'm leaving the path length argument as a future enhancement. I've also decided to leave the template as in the prototype

{{rx_lat},{{rx_lng}}|{{tx_lat}},{tx_lng}}