CDA location end point rounding of elevation
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 28
- Forks
- 25
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 20
Description
Request CDA round the elevation attribute to 2 or 4 digits,
to replicate:
https://cwms-data.usace.army.mil/cwms-data/locations/UVD?office=NAE
{
"office-id": "NAE",
"name": "UVD",
"latitude": 43.7937221,
"longitude": -72.2575215,
"active": true,
"public-name": "Union Village Dam",
"long-name": "Union Village Dam, Ompompanoosuc River",
"description": "Union Village Dam, Ompompanoosuc River",
"timezone-name": "America/New_York",
"location-type": "Pool Gage",
"location-kind": "PROJECT",
"nation": "US",
"state-initial": "VT",
"county-name": "Orange",
"nearest-city": "Lebanon",
"published-longitude": 0,
"published-latitude": 0,
"vertical-datum": "NGVD29",
"elevation": 419.99999999999994,
"map-label": "UVD - Union Village Dam",
"bounding-office-id": "NAE"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the CDA locations request at https://cwms-data.usace.army.mil/cwms-data/locations/UVD?office=NAE and trace the response handling for the elevation attribute. Done means the endpoint returns elevation rounded consistently to the requested two- or four-digit precision without changing the other location fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100