apps.plat.models.py
- class apps.plat.models.Plat(id, workflow, plat_name, plat_year, book_name, gov_id, plat_name_standardized)
- Parameters:
id (BigAutoField) – Primary key: ID
plat_name (CharField) – Plat name
plat_year (IntegerField) – Plat year
book_name (CharField) – Book name
gov_id (CharField) – Gov id
plat_name_standardized (CharField) – Plat name standardized
Relationship fields:
- Parameters:
workflow (
ForeignKeytoZooniverseWorkflow) – Workflow (related name:plat)
Reverse relationships:
- Parameters:
parcel (Reverse
ForeignKeyfromParcel) – All parcels of this plat (related name ofplat)platmappage (Reverse
ForeignKeyfromPlatMapPage) – All plat map pages of this plat (related name ofplat)platalternatename (Reverse
ForeignKeyfromPlatAlternateName) – All plat alternate names of this plat (related name ofplat)
- exception DoesNotExist
- exception MultipleObjectsReturned
- save(*args, **kwargs)
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
- class apps.plat.models.PlatAlternateName(id, workflow, plat, zoon_workflow_id, plat_name, alternate_name, alternate_name_standardized)
- Parameters:
id (BigAutoField) – Primary key: ID
zoon_workflow_id (IntegerField) – Zoon workflow id
plat_name (CharField) – Plat name
alternate_name (CharField) – Alternate name
alternate_name_standardized (CharField) – Alternate name standardized
Relationship fields:
- Parameters:
workflow (
ForeignKeytoZooniverseWorkflow) – Workflow (related name:platalternatename)plat (
ForeignKeytoPlat) – Plat (related name:platalternatename)
- exception DoesNotExist
- exception MultipleObjectsReturned
- save(*args, **kwargs)
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
- class apps.plat.models.PlatMapPage(id, plat, page_num, remote_link, page_image_web)
- Parameters:
id (BigAutoField) – Primary key: ID
page_num (IntegerField) – Page num
remote_link (URLField) – Remote link
page_image_web (ImageField) – Page image web
Relationship fields:
- Parameters:
plat (
ForeignKeytoPlat) – Plat (related name:platmappage)
- exception DoesNotExist
- exception MultipleObjectsReturned
- class apps.plat.models.Subdivision(*args, **kwargs)
This is presumed to be a modern Subdivision GIS layer (as opposed to a plat map), but there may be other uses
- Parameters:
id (BigAutoField) – Primary key: ID
feature_id (IntegerField) – Feature id
name (CharField) – Name
name_standardized (CharField) – Name standardized
doc_num (CharField) – Doc num
recorded_date (DateField) – Recorded date
orig_data (JSONField) – Orig data
orig_filename (CharField) – Orig filename
geom_4326 (MultiPolygonField) – Geom 4326
Relationship fields:
- Parameters:
workflow (
ForeignKeytoZooniverseWorkflow) – Workflow (related name:subdivision)
Reverse relationships:
- Parameters:
parcel (Reverse
ForeignKeyfromParcel) – All parcels of this subdivision (related name ofsubdivision_spatial)subdivisionalternatename (Reverse
ForeignKeyfromSubdivisionAlternateName) – All subdivision alternate names of this subdivision (related name ofsubdivision)
- exception DoesNotExist
- exception MultipleObjectsReturned
- save(*args, **kwargs)
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
- class apps.plat.models.SubdivisionAlternateName(id, workflow, subdivision, zoon_workflow_id, subdivision_name, alternate_name, alternate_name_standardized)
- Parameters:
id (BigAutoField) – Primary key: ID
zoon_workflow_id (IntegerField) – Zoon workflow id
subdivision_name (CharField) – Subdivision name
alternate_name (CharField) – Alternate name
alternate_name_standardized (CharField) – Alternate name standardized
Relationship fields:
- Parameters:
workflow (
ForeignKeytoZooniverseWorkflow) – Workflow (related name:subdivisionalternatename)subdivision (
ForeignKeytoSubdivision) – Subdivision (related name:subdivisionalternatename)
- exception DoesNotExist
- exception MultipleObjectsReturned
- save(*args, **kwargs)
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.