Class that hold Open Street Map Amenity Data.
This class holds the data for all the amenities requested by the user
Usually this class is not created by the user but returned by bridges::connect::DataSource::getAmenityData()
Check out the tutorial on getting amenity data at https://bridgesuncc.github.io/tutorials/Data_Amenity.html
- Author
- Jay Strahler
- Date
- 12/28/20
◆ AmenityData() [1/2]
bridges.data_src_dependent.AmenityData.AmenityData |
( |
| ) |
|
◆ AmenityData() [2/2]
bridges.data_src_dependent.AmenityData.AmenityData |
( |
List< Amenities > |
data, |
|
|
double |
minLat, |
|
|
double |
minLon, |
|
|
double |
maxLat, |
|
|
double |
maxLon, |
|
|
int |
count |
|
) |
| |
Constructor
- Parameters
-
data | amenity data |
minLat | minimum latitude |
minLon | minimum longitude |
maxLat | maximum latitude |
maxLon | maximum longitude |
count | number of amenities |
◆ addAmenities()
void bridges.data_src_dependent.AmenityData.addAmenities |
( |
Amenities |
amenity | ) |
|
set Amenity data
- Parameters
-
amenity | amenity data to be added |
◆ getAmenities()
List<Amenities> bridges.data_src_dependent.AmenityData.getAmenities |
( |
| ) |
|
get Amenity data
- Returns
- amenity data
◆ getCount()
int bridges.data_src_dependent.AmenityData.getCount |
( |
| ) |
|
get the count of amenities
- Returns
- count of amenities
◆ getMaxLat()
double bridges.data_src_dependent.AmenityData.getMaxLat |
( |
| ) |
|
get the maximum latitude of this amenity data
- Returns
- latitude maximum
◆ getMaxLon()
double bridges.data_src_dependent.AmenityData.getMaxLon |
( |
| ) |
|
get the maximum longitude of this amenity data
- Returns
- longitude maximum
◆ getMinLat()
double bridges.data_src_dependent.AmenityData.getMinLat |
( |
| ) |
|
get the minimum latitude of this amenity data
- Returns
- latitude minimum
◆ getMinLon()
double bridges.data_src_dependent.AmenityData.getMinLon |
( |
| ) |
|
get the minimum longitude of this amenity data
- Returns
- longitude minimum
◆ setCount()
void bridges.data_src_dependent.AmenityData.setCount |
( |
int |
count | ) |
|
set the count of amenities
- Parameters
-
count | amenity count to be set |
◆ setMaxLat()
void bridges.data_src_dependent.AmenityData.setMaxLat |
( |
double |
maxLat | ) |
|
set the maximum latitude of this amenity data
- Parameters
-
maxLat | latitude maximum to be set |
◆ setMaxLon()
void bridges.data_src_dependent.AmenityData.setMaxLon |
( |
double |
maxLon | ) |
|
set the maximum longitude of this amenity data
- Parameters
-
maxLon | longitude maximum to be set |
◆ setMinLat()
void bridges.data_src_dependent.AmenityData.setMinLat |
( |
double |
minLat | ) |
|
set the minimum latitude of this amenity data
- Parameters
-
minLat | latitude minimum to be set |
◆ setMinLon()
void bridges.data_src_dependent.AmenityData.setMinLon |
( |
double |
minLon | ) |
|
set the minimum longitude of this amenity data
- Parameters
-
minLon | longitude minimum to be set |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-java/src/main/java/bridges/data_src_dependent/AmenityData.java