Closed matthewhanson closed 5 years ago
Adds a new env var, SATAPI_ES_PRECISION to change the default precision for geometry queries.
The old value was 5mi, which led to matching scenes even when the AOI was well outside the scene footprint.
Without setting it, the new default value will be '50m' (meters), which is the default for Elasticsearch.
resolves #178
If the precision is changed in the index after there is already data, then the data will need to be reindexed.
Adds a new env var, SATAPI_ES_PRECISION to change the default precision for geometry queries.
The old value was 5mi, which led to matching scenes even when the AOI was well outside the scene footprint.
Without setting it, the new default value will be '50m' (meters), which is the default for Elasticsearch.
resolves #178
If the precision is changed in the index after there is already data, then the data will need to be reindexed.