-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b834f50
commit e5bfd78
Showing
6 changed files
with
137 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apps.zoon.models.py | ||
=================== | ||
.. automodule:: apps.zoon.models | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
Django model structure | ||
====================== | ||
|
||
Core concepts | ||
------------- | ||
|
||
The Django component of the Deed Machine is divided up into apps, and within each app, models. | ||
|
||
The four Django apps are ``deed``, ``parcel``, ``plat``, and ``zoon``. | ||
|
||
Main models that end users will interact with: | ||
:: | ||
|
||
racial_covenants_processor | ||
├── apps | ||
├── deed | ||
├── DeedPage | ||
├── parcel | ||
├── Parcel | ||
├── ParcelJoinCandidate | ||
├── ShpExport/CSVExport/GeoJSONExport | ||
├── UnmappedCSVExport | ||
├── AllCovenantedDocsCSVExport | ||
├── plat | ||
├── Plat | ||
├── PlatAlternateName | ||
├── Subdivision | ||
├── SubdivisionAlternateName | ||
├── zoon | ||
├── ZooniverseWorkflow | ||
├── ZooniverseSubject | ||
├── ManualCorrection | ||
├── ExtraParcelCandidate | ||
├── ManualCovenant | ||
├── ManualSupportingDocument | ||
|
||
|
||
The Deed app | ||
------------ | ||
|
||
The Deed app houses information about historical property record images provided by records custodians to be searched for racial covenants. | ||
|
||
After :ref:`_initial-processing`, management commands in the Deed app ingest metadata about these raw documents and whether or not they have been identified as potential racial covenants (i.e. the "hits") into the Django/postgresql database. | ||
|
||
See :ref:`_ingesting-hits` for more about this process. | ||
|
||
The Parcel app | ||
-------------- | ||
|
||
The Parcel app is used to house information about modern, GIS-enabled property records, which are used to map historical racial covenants. The Deed Machine uses transcribed information about each historical covenant to try to link the addition, block and lot of each covenant to matching information in modern parcel records stored in the Parcel app. The Parcel app is populated by uploading parcel shapefiles into the GeoDjango Parcel model, with or without preprocessing. | ||
|
||
See :ref:`_uploading-parcel-data`. | ||
|
||
Mapping Prejudice counts racial covenants by identifying the earliest racial covenant document that is associated with a modern property. Thus, each row in Mapping Prejudice's covenants exports represents one modern property, as opposed to each row representing one document, as the same racial covenant was often repeated in subsequent sales of the same property. | ||
|
||
Logic for aggregation and export of racial covenants is mostly contained in the Parcel app through the CovenantsParcelManager. | ||
|
||
The Plat app | ||
------------ | ||
|
||
The Plat app is used to organize information about historical plat or modern subdivision records provided by records custodians or county GIS offices. By uploading information about plats/subdivisions and by adding alternative spellings of plat/subdivision names, users can generate additional join candidates that may help to map covenants with unusual spelling variations in their addition names. | ||
|
||
Though they are somewhat interchangeable terms in the larger property world, in the Deed Machine, the Plat model is for historical plat maps, while the Subdivision model is for modern, GIS-enabled data, which is more likely to be available, and can be used to spatially associate Parcel records with additional subdivision names. | ||
|
||
The Zoon app | ||
------------ | ||
|
||
The Zoon app contains information related to Zooniverse transcription, including uploading of hits to zooniverse, and the processing of data coming back from Zooniverse Transcription. | ||
|
||
Manual correction work is done by browsing the ZooniverseSubject list, using a combination of ManualCorrection and ExtraParcelCandidate objects that are generated by manual edits. | ||
|
||
Covenants entered manually (not through Zooniverse transcription) are stored in the ManualCovenant model of the Zoon app. | ||
|
||
Full list of Apps/Models | ||
------------------------ | ||
|
||
:: | ||
|
||
racial_covenants_processor | ||
├── apps | ||
├── deed | ||
├── DeedPage | ||
├── SearchHitReport | ||
├── parcel | ||
├── Parcel | ||
├── ParcelJoinCandidate | ||
├── JoinReport | ||
├── ShpExport | ||
├── CSVExport | ||
├── UnmappedCSVExport | ||
├── ValidationCSVExport | ||
├── AllCovenantedDocsCSVExport | ||
├── GeoJSONExport | ||
├── plat | ||
├── Plat | ||
├── PlatMapPage | ||
├── PlatAlternateName | ||
├── Subdivision | ||
├── SubdivisionAlternateName | ||
├── zoon | ||
├── ZooniverseWorkflow | ||
├── UnmappedZooniverseManager | ||
├── AllCovenantedDocsZooniverseManager | ||
├── ValidationZooniverseManager | ||
├── ZooniverseSubject | ||
├── ZooniverseResponseRaw | ||
├── ZooniverseResponseProcessed | ||
├── ZooniverseUser | ||
├── ReducedResponse_Question | ||
├── ReducedResponse_Text | ||
├── ManualCorrection | ||
├── ExtraParcelCandidate | ||
├── ManualCovenant | ||
├── ManualSupportingDocument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _initial-processing: | ||
|
||
Uploading images/initial processing | ||
=================================== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.. _uploading-parcel-data: | ||
|
||
Uploading modern parcel data for mapping | ||
======================================== | ||
|
||
TK TK TK | ||
--------- | ||
|
||
TK. |