GeoGateway / geogateway-portal

http://geo-gateway.org
Apache License 2.0
2 stars 1 forks source link

Seismicity client USGS rest call is broken #33

Closed Ameya05 closed 6 years ago

Ameya05 commented 6 years ago

Seems like due to some reason, the REST call to the USGS is broken. Upon initial investigation, looks like browser truncates the parameter string after the first colon in the last url parameter.

e.g. REST url - https://earthquake.usgs.gov/fdsnws/event/1/query?format=kml&minmagnitude=4.0&maxmagnitude=10.0&minlatitude=20.0&maxlatitude=50.0&minlongitude=-130.0&maxlongitude=-60.0&starttime=2017-12-10T00:00:00&endtime=2017-12-12T00:00:00

Actual url being called - https://earthquake.usgs.gov/fdsnws/event/1/query?format=kml&minmagnitude=4.0&maxmagnitude=10.0&minlatitude=20.0&maxlatitude=50.0&minlongitude=-130.0&maxlongitude=-60.0&starttime=2017-12-10T00:00:00&endtime=2017-12-12T00

I will update this issue once I find out the root cause.