Loading go-apps/meep-gis-engine/server/gis-engine.go +2 −2 Original line number Diff line number Diff line Loading @@ -1632,7 +1632,7 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { // Retrieve coordinates to work with from request body var coordinates CoordinatePowerList var coordinates GeoCoordinateList if r.Body == nil { err := errors.New("Request body is missing") log.Error(err.Error()) Loading @@ -1655,7 +1655,7 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { } var geocoordinates []am.Coordinate for _, geocoordinate := range coordinates.CoordinatesPower { for _, geocoordinate := range coordinates.GeoCoordinates { geocoordinates = append(geocoordinates, am.Coordinate{ Latitude: geocoordinate.Latitude, Longitude: geocoordinate.Longitude, Loading Loading
go-apps/meep-gis-engine/server/gis-engine.go +2 −2 Original line number Diff line number Diff line Loading @@ -1632,7 +1632,7 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { // Retrieve coordinates to work with from request body var coordinates CoordinatePowerList var coordinates GeoCoordinateList if r.Body == nil { err := errors.New("Request body is missing") log.Error(err.Error()) Loading @@ -1655,7 +1655,7 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { } var geocoordinates []am.Coordinate for _, geocoordinate := range coordinates.CoordinatesPower { for _, geocoordinate := range coordinates.GeoCoordinates { geocoordinates = append(geocoordinates, am.Coordinate{ Latitude: geocoordinate.Latitude, Longitude: geocoordinate.Longitude, Loading