From 7e7bcc439ccd8ff654d23140761bb39b88345f43 Mon Sep 17 00:00:00 2001 From: Adam Sundberg Date: Wed, 25 May 2022 10:17:04 +0200 Subject: [PATCH] changes format of the coordinate system --- src/main/java/com/smhi/weather/services/OpenVenueService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/smhi/weather/services/OpenVenueService.java b/src/main/java/com/smhi/weather/services/OpenVenueService.java index ac281e4..2423436 100644 --- a/src/main/java/com/smhi/weather/services/OpenVenueService.java +++ b/src/main/java/com/smhi/weather/services/OpenVenueService.java @@ -19,7 +19,8 @@ import static java.time.temporal.ChronoUnit.SECONDS; @Service public class OpenVenueService { - final String tempURI = "https://openstreetgs.stockholm.se/geoservice/api/b8e20fd7-5654-465e-8976-35b4de902b41/wfs?service=wfs&version=2.0.0&request=GetFeature&typeName=Markupplatelse&CQL_FILTER=Kategorityp=%271.411I,%20Uteservering%20B-läge%27%20&outputFormat=application/json"; + final String tempURI = "https://openstreetgs.stockholm.se/geoservice/api/b8e20fd7-5654-465e-8976-35b4de902b41/wfs?service=wfs&version=2.0.0&request=GetFeature&typeName=Markupplatelse&srsName=EPSG:4326&CQL_FILTER=Kategorityp=%271.411I,%20Uteservering%20B-läge%27%20&outputFormat=application/json"; +// final String tempURI = "https://openstreetgs.stockholm.se/geoservice/api/b8e20fd7-5654-465e-8976-35b4de902b41/wfs?service=wfs&version=2.0.0&request=GetFeature&typeName=Markupplatelse&CQL_FILTER=Kategorityp=%271.411I,%20Uteservering%20B-läge%27%20&outputFormat=application/json"; final String apiKey = "b8e20fd7-5654-465e-8976-35b4de902b41"; final static int NO_DAYS_BETWEEN_FETCH = 14; private List data; -- 2.39.5