Open mcauer opened 2 years ago
The issue seems to be that the grouping results are created differently than the regular results, see https://github.com/GIScience/ohsome-api/blob/44a7e046395c2ec4443bc76d74fab6babfe38c9f/src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/AggregateRequestExecutor.java#L191-L197 vs. https://github.com/GIScience/ohsome-api/blob/44a7e046395c2ec4443bc76d74fab6babfe38c9f/src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/AggregateRequestExecutor.java#L216-L225 and https://github.com/GIScience/ohsome-api/blob/3d0d93dae4614b63dab3e5b238cce044caf93bfc/src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/AggregateRequestExecutor.java#L279-L306.
Bug Description
The way the CSV output is configured differs between endpoints. Sometimes fields are quoted with double-quotes (/elements/count) and s.t. not (/elements/count/groupBy/boundary) E.g.:
elements/count/
elements/count/groupBy/boundary
General Information
Please include the following general information about the issue and list any additional steps needed to reproduce the bug.
Expected Behaviour
Expected is that all ohsomeAPI CSV output follows the same encoding
Further Information
Error Messages, Logs, Screenshots
If applicable, add printed error messages, log files or screenshots to help explain your problem.
Additional Information
Add any other further information about the problem here.
Notes
Please consider to upload a file if request parameters, responses, error messages or logs are too long or poorly displayed in your bug report.