USGS-WiM / STNServices2

Web services for the Short-Term Network (STN) database
Other
0 stars 0 forks source link

Update latitude and longitude field names on filtered HWMs CSV endpoint #112

Closed BlakeDraper closed 7 years ago

BlakeDraper commented 7 years ago

To make this endpoint readily compatible with AGOL, change the latitude_dd and longitude_dd field names to simply latitude and longitude. The filtered instruments endpoint already returns lat/long fields named that way, so this would also be an improvement in consistency.

endpoint in question: https://stn.wim.usgs.gov/STNServices/HWMs/FilteredHWMs.csv?Event=180&EventType=&EventStatus=0&States=&County=&HWMType=&HWMQuality=&HWMEnvironment=&SurveyComplete=&StillWater=

BlakeDraper commented 7 years ago

Also would be best if the latitude and longitude fields are the first in order of the table (again for AGOL compatibility, not just arbitrarily)

troddick commented 7 years ago

Done and live.