This class is a helper class to be used with amenities data retrieved from OpenStreet Map data.
More...
|
| | __init__ (self) |
| | constructor - initialize object
|
| |
|
| | id = property |
| | Get id of amenity.
|
| |
| | lat = property |
| | Get latitude of amenity.
|
| |
| | lon = property |
| | Get longitude of amenity.
|
| |
| | name = property |
| | Get name of amenity.
|
| |
| | other = property |
| |
This class is a helper class to be used with amenities data retrieved from OpenStreet Map data.
The dataset contains amenity id, latitude, longitude, name, and a list of various other values.
This object is generally not created by the user, to see how its created check out bridges::data_src_dependent::data_source::get_amenity_data()
- See also
- For an example, check out https://bridgesuncc.github.io/tutorials/Data_Amenity.html
- Author
- Jay Strahler
- Date
- 12/28/20
◆ __init__()
| bridges.data_src_dependent.amenity.Amenity.__init__ |
( |
|
self | ) |
|
constructor - initialize object
◆ id_val
| bridges.data_src_dependent.amenity.Amenity.id_val |
◆ lat_val
| bridges.data_src_dependent.amenity.Amenity.lat_val |
◆ lon_val
| bridges.data_src_dependent.amenity.Amenity.lon_val |
◆ name_val
| bridges.data_src_dependent.amenity.Amenity.name_val |
◆ other_data
| bridges.data_src_dependent.amenity.Amenity.other_data |
◆ id
| bridges.data_src_dependent.amenity.Amenity.id = property |
|
static |
Get id of amenity.
- Returns
- id of amenity
◆ lat
| bridges.data_src_dependent.amenity.Amenity.lat = property |
|
static |
Get latitude of amenity.
- Returns
- latitude of amenity
◆ lon
| bridges.data_src_dependent.amenity.Amenity.lon = property |
|
static |
Get longitude of amenity.
- Returns
- longitude of amenity
◆ name
| bridges.data_src_dependent.amenity.Amenity.name = property |
|
static |
Get name of amenity.
- Returns
- name of amenity
◆ other
| bridges.data_src_dependent.amenity.Amenity.other = property |
|
static |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-python/bridges/data_src_dependent/amenity.py