Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid GeoJSON #88

Closed
mps9506 opened this issue Jun 20, 2023 · 2 comments · Fixed by #95
Closed

invalid GeoJSON #88

mps9506 opened this issue Jun 20, 2023 · 2 comments · Fixed by #95
Assignees
Labels
bug Something isn't working

Comments

@mps9506
Copy link
Owner

mps9506 commented Jun 20, 2023

Returning simple features is causing problems:

> x <- echoAirGetFacilityInfo(xmin = '-96.407563',
+                        ymin = '30.554395',
+                        xmax = '-96.25947',
+                        ymax = '30.751984',
+                        output = 'sf')
Request failed [500]. Retrying in 1 seconds...
Request failed [500]. Retrying in 2.6 seconds...
There was a server error, try again later.
 Error: No 'type' member at object index 0 - invalid GeoJSON
@mps9506 mps9506 self-assigned this Jun 20, 2023
@mps9506 mps9506 added the bug Something isn't working label Jun 20, 2023
@mps9506
Copy link
Owner Author

mps9506 commented Jun 20, 2023

Fixed so this doesn't return an error. However, neither the caa or cwa webservices appear to return anything when using the get_geojson end points. I am assuming this is on the ECHO end and not a problem with the query because it appears to be broken when manually testing: https://echo.epa.gov/tools/web-services/facility-search-water#/Facility%20Information/get_cwa_rest_services_get_geojson

@mps9506
Copy link
Owner Author

mps9506 commented Jul 12, 2023

Appears to be working again. Need to update readme/vignette

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant