Bridges-Python 3.5.1
Bridges(Python API)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
bridges.data_src_dependent.amenity.Amenity Class Reference

This class is a helper class to be used with amenities data retrieved from OpenStreet Map data. More...

Public Member Functions

 __init__ (self)
 constructor - initialize object
 

Public Attributes

 id_val
 
 lat_val
 
 lon_val
 
 name_val
 
 other_data
 

Properties

 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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

bridges.data_src_dependent.amenity.Amenity.__init__ (   self)

constructor - initialize object

Member Data Documentation

◆ 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

Property Documentation

◆ 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: