Skip to content

Commit

Permalink
Minor updates- supported versions
Browse files Browse the repository at this point in the history
Updated supported versions, updated tools to have better descriptions,
etc.
  • Loading branch information
ArcGISLocalGov committed May 4, 2015
1 parent 650e7d0 commit 46a162f
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 24 deletions.
66 changes: 43 additions & 23 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file renamed Photo Survey.tbx → Process Photos.tbx
Binary file not shown.
9 changes: 8 additions & 1 deletion loadphotopoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@company: Esri
@version: 1.0.0
@description: Photo Survey Tool to load photos
@requirements: Python 2.7.x, ArcGIS 10.2, 10.3, 10.3.1
@requirements: Python 2.7.x or higher, ArcGIS 10.2, 10.3.x (also ArcGIS Pro)
@copyright: Esri, 2015
"""
Expand Down Expand Up @@ -216,16 +216,22 @@ def shift_photopoints(in_features, x_shift=None, y_shift=None):

arcpy.AddField_management(ParcelPointHelper, "Structure", "TEXT", "", "", "5", "", "NULLABLE", "REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "Structure", "YesNoMaybe")

arcpy.AddField_management(ParcelPointHelper, "Lot", "TEXT", "", "", "5", "", "NULLABLE", "REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "Lot", "YesNoMaybe")

arcpy.AddField_management(ParcelPointHelper, "FoundationType", "TEXT", "", "", "25", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "FoundationType", "FoundationType")

arcpy.AddField_management(ParcelPointHelper, "RoofDamage", "TEXT", "", "", "5", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "RoofDamage", "YesNoMaybe")

arcpy.AddField_management(ParcelPointHelper, "ExteriorDamage", "TEXT", "", "", "5", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "ExteriorDamage", "YesNoMaybe")

arcpy.AddField_management(ParcelPointHelper, "Graffiti", "TEXT", "", "", "5", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "Graffiti", "YesNoMaybe")

arcpy.AddField_management(ParcelPointHelper, "Boarded", "TEXT", "", "", "5", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "Boarded", "YesNoMaybe")

Expand All @@ -234,6 +240,7 @@ def shift_photopoints(in_features, x_shift=None, y_shift=None):
DomainDict3 = {"Yes": "Yes", "No": "No"}
for codev in DomainDict3:
arcpy.AddCodedValueToDomain_management(Geodatabase, "YesNo", codev, DomainDict3[codev])

arcpy.AddField_management(ParcelPointHelper, "BestPhotoID", "TEXT", "", "", "5", "", "NULLABLE", "NON_REQUIRED", "")
arcpy.AssignDomainToField_management(ParcelPointHelper, "BestPhotoID", "YesNo")
arcpy.AddField_management(ParcelPointHelper, "Surveyed", "TEXT", "", "", "5", "", "NULLABLE", "NON_REQUIRED", "")
Expand Down

0 comments on commit 46a162f

Please sign in to comment.