-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #527 from entur/bbox-query
Add bounding box search functionality to vehicles and stations queries
- Loading branch information
Showing
12 changed files
with
496 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
src/main/java/org/entur/lamassu/service/BoundingBoxQueryParameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* | ||
* | ||
* * Licensed under the EUPL, Version 1.2 or – as soon they will be approved by | ||
* * the European Commission - subsequent versions of the EUPL (the "Licence"); | ||
* * You may not use this work except in compliance with the Licence. | ||
* * You may obtain a copy of the Licence at: | ||
* * | ||
* * https://joinup.ec.europa.eu/software/page/eupl | ||
* * | ||
* * Unless required by applicable law or agreed to in writing, software | ||
* * distributed under the Licence is distributed on an "AS IS" basis, | ||
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* * See the Licence for the specific language governing permissions and | ||
* * limitations under the Licence. | ||
* | ||
*/ | ||
|
||
package org.entur.lamassu.service; | ||
|
||
public class BoundingBoxQueryParameters { | ||
|
||
private Double minimumLatitude; | ||
private Double minimumLongitude; | ||
private Double maximumLatitude; | ||
private Double maximumLongitude; | ||
|
||
public Double getMinimumLatitude() { | ||
return minimumLatitude; | ||
} | ||
|
||
public void setMinimumLatitude(Double minimumLatitude) { | ||
this.minimumLatitude = minimumLatitude; | ||
} | ||
|
||
public Double getMinimumLongitude() { | ||
return minimumLongitude; | ||
} | ||
|
||
public void setMinimumLongitude(Double minimumLongitude) { | ||
this.minimumLongitude = minimumLongitude; | ||
} | ||
|
||
public Double getMaximumLatitude() { | ||
return maximumLatitude; | ||
} | ||
|
||
public void setMaximumLatitude(Double maximumLatitude) { | ||
this.maximumLatitude = maximumLatitude; | ||
} | ||
|
||
public Double getMaximumLongitude() { | ||
return maximumLongitude; | ||
} | ||
|
||
public void setMaximumLongitude(Double maximumLongitude) { | ||
this.maximumLongitude = maximumLongitude; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.