class documentation

class GeoLineStringField(_GeoField, mongoengine.fields.LineStringField): (source)

Constructor: GeoLineStringField(description, info, read_only, created_at, **kwargs)

View In Hierarchy

A GeoJSON field storing a line of longitude and latitude coordinates.

The data is stored as follows:

[[lon1, lat1], [lon2, lat2], ...]
Parameters
descriptionan optional description
infoan optional info dict
read_onlywhether the field is read-only
created_atthe datetime the field was created
Method validate Undocumented
Constant _TYPE Undocumented

Inherited from _GeoField:

Method to_mongo Undocumented
Method to_python Undocumented

Inherited from Field (via _GeoField):

Method __init__ Undocumented
Method __str__ Undocumented
Method copy Returns a copy of the field.
Method description.setter Undocumented
Method info.setter Undocumented
Method read_only.setter Undocumented
Method save Saves any edits to this field's description and info attributes.
Property path The fully-qualified path of this field in the dataset's schema, or None if the field is not associated with a dataset.
Method _set_created_at Undocumented
Method _set_dataset Undocumented
Instance Variable __dataset Undocumented
Instance Variable __path Undocumented
Instance Variable _created_at Undocumented
Instance Variable _description Undocumented
Instance Variable _info Undocumented
Instance Variable _read_only Undocumented
Property _dataset The fiftyone.core.dataset.Dataset that this field belongs to, or None if the field is not associated with a dataset.
def validate(self, value): (source)

Undocumented

Undocumented

Value
'LineString'