Use spatial keywords to initially determine extent - determine minimum bounding box from selected keywords. Extents could be predetermined, but if we want to allow user-specified locations, we'd want a lookup service that returned bounding box instead of just centroid - looks like Esri World Geocoder does return an extent for administrative places:
https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm
Then we'd need to calculate minimum bounding box - from scratch or using some libary (Esri JS API or something open?).
Lastly, we could show users their calculated extent on a map and let them adjust.
All of this is very low priority.
_Copied from original issue: USEPA/EPA_Environmental_DatasetGateway#82
From @torrin47 on September 24, 2018 15:58
Use spatial keywords to initially determine extent - determine minimum bounding box from selected keywords. Extents could be predetermined, but if we want to allow user-specified locations, we'd want a lookup service that returned bounding box instead of just centroid - looks like Esri World Geocoder does return an extent for administrative places: https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm Then we'd need to calculate minimum bounding box - from scratch or using some libary (Esri JS API or something open?). Lastly, we could show users their calculated extent on a map and let them adjust.
All of this is very low priority.
_Copied from original issue: USEPA/EPA_Environmental_DatasetGateway#82