Module Import alias ImportFrom alias Import alias identifier Import alias Import alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str Str Assign NameStore BinOpAdd NameLoad ListLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body If Call NameLoad NameLoad AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return TryExcept body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If CompareLt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Return TryExcept body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return TryExcept body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return If BoolOpAnd CompareLt Call NameLoad AttributeLoad NameLoad attr Num CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Return If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Return If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Return Return NameLoad decorator_list decorator_list
N/A N/A bisect gtfsobjectbase GtfsObjectBase N/A problems problems_module N/A util N/A sys ShapePoint N/A GtfsObjectBase N/A N/A This class represents a single shape point.

  Attributes:
    shape_id: represents the shape_id of the point
    shape_pt_lat: represents the latitude of the point
    shape_pt_lon: represents the longitude of the point
    shape_pt_sequence: represents the sequence of the point
    shape_dist_traveled: represents the distance of the point
   N/A _REQUIRED_FIELD_NAMES N/A shape_id shape_pt_lat shape_pt_lon shape_pt_sequence N/A _FIELD_NAMES N/A _REQUIRED_FIELD_NAMES N/A shape_dist_traveled __init__ N/A N/A self shape_id lat lon seq dist field_dict N/A None None None None None None N/A N/A Initialize a new ShapePoint object.

    Args:
      field_dict: A dictionary mapping attribute name to unicode string
     N/A N/A self _schedule None N/A field_dict N/A N/A N/A isinstance field_dict N/A self __class__ N/A N/A N/A k v N/A N/A field_dict iteritems N/A N/A N/A N/A self __dict__ N/A k v N/A N/A N/A N/A N/A self __dict__ update field_dict N/A N/A N/A self shape_id shape_id N/A N/A self shape_pt_lat lat N/A N/A self shape_pt_lon lon N/A N/A self shape_pt_sequence seq N/A N/A self shape_dist_traveled dist N/A ParseAttributes N/A N/A self problems N/A N/A N/A Parse all attributes, calling problems as needed.

    Return True if all of the values are valid.
     N/A N/A N/A util IsEmpty N/A self shape_id N/A N/A N/A N/A problems MissingValue shape_id N/A N/A N/A N/A N/A N/A isinstance N/A self shape_pt_sequence int N/A N/A N/A self shape_pt_sequence N/A N/A util NonNegIntStringToInt N/A self shape_pt_sequence problems N/A N/A N/A N/A self shape_pt_sequence 0 N/A N/A N/A N/A problems InvalidValue shape_pt_sequence N/A self shape_pt_sequence Value should be a number (0 or higher) N/A N/A N/A N/A TypeError ValueError N/A N/A N/A N/A problems InvalidValue shape_pt_sequence N/A self shape_pt_sequence Value should be a number (0 or higher) N/A N/A N/A N/A N/A N/A isinstance N/A self shape_pt_lat N/A int float N/A N/A N/A self shape_pt_lat N/A N/A util FloatStringToFloat N/A self shape_pt_lat problems N/A N/A N/A abs N/A self shape_pt_lat 90.0 N/A N/A N/A N/A problems InvalidValue shape_pt_lat N/A self shape_pt_lat N/A N/A N/A N/A N/A TypeError ValueError N/A N/A N/A N/A problems InvalidValue shape_pt_lat N/A self shape_pt_lat N/A N/A N/A N/A N/A N/A isinstance N/A self shape_pt_lon N/A int float N/A N/A N/A self shape_pt_lon N/A N/A util FloatStringToFloat N/A self shape_pt_lon problems N/A N/A N/A abs N/A self shape_pt_lon 180.0 N/A N/A N/A N/A problems InvalidValue shape_pt_lon N/A self shape_pt_lon N/A N/A N/A N/A N/A TypeError ValueError N/A N/A N/A N/A problems InvalidValue shape_pt_lon N/A self shape_pt_lon N/A N/A N/A N/A N/A abs N/A self shape_pt_lat 1.0 N/A N/A abs N/A self shape_pt_lon 1.0 N/A N/A N/A N/A problems InvalidValue shape_pt_lat N/A self shape_pt_lat Point location too close to 0, 0, which means that it's probably an incorrect location. type N/A problems_module TYPE_WARNING N/A N/A N/A N/A self shape_dist_traveled N/A N/A N/A self shape_dist_traveled None N/A N/A N/A N/A self shape_dist_traveled None N/A N/A isinstance N/A self shape_dist_traveled N/A int float N/A N/A N/A N/A N/A self shape_dist_traveled N/A N/A util FloatStringToFloat N/A self shape_dist_traveled problems N/A N/A N/A N/A TypeError ValueError N/A N/A N/A N/A problems InvalidValue shape_dist_traveled N/A self shape_dist_traveled This value should be a positive number. N/A N/A N/A N/A N/A self shape_dist_traveled None N/A N/A self shape_dist_traveled 0 N/A N/A N/A N/A problems InvalidValue shape_dist_traveled N/A self shape_dist_traveled This value should be a positive number. N/A N/A True N/A N/A