-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit, goes with version 3.0.1
- Loading branch information
Showing
22 changed files
with
289 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
schema.ini |
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,19 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added. ,CALCULATION,,MAPNUMBER,True,True,False,False,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.Mapnumber",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
MapScale Rule,Check if Mapindex Mapscale matches annoscale. ,CONSTRAINT,,,True,True,False,False,"// When creating a anno check mapscale 100 Scale map | ||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = Intersects(fsMapIndex,$feature) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return false; | ||
if (MapIndex.MapScale == 1200) | ||
return true; | ||
else | ||
return false;",100,Error - MapIndex Mapscale does not match annoscale.,False,False,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13180900</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131809">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\Anno0100Scale C:\ORMAP3.0\T7-4\Fabric\RuleExports\Anno0100Scale.csv</Process></lineage></DataProperties></Esri></metadata> |
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,19 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added. ,CALCULATION,,MAPNUMBER,True,True,False,False,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.Mapnumber",,,False,True,False,,,2147483647,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
MapScale Rule,Check if Mapindex Mapscale matches annoscale. ,CONSTRAINT,,,True,True,False,False,"// When creating a anno check mapscale 200 Scale map | ||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = Intersects(fsMapIndex,$feature) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return false; | ||
if (MapIndex.MapScale == 2400) | ||
return true; | ||
else | ||
return false;",200,Error - MapIndex Mapscale does not match annoscale.,False,False,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13181000</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131810">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\Anno0200Scale C:\ORMAP3.0\T7-4\Fabric\RuleExports\Anno0200Scale.csv</Process></lineage></DataProperties></Esri></metadata> |
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,19 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added. ,CALCULATION,,MAPNUMBER,True,True,False,False,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.Mapnumber",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
MapScale Rule,Check if Mapindex Mapscale matches annoscale. ,CONSTRAINT,,,True,True,False,False,"// When creating a anno check mapscale 400 Scale map | ||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = Intersects(fsMapIndex,$feature) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return false; | ||
if (MapIndex.MapScale == 4800) | ||
return true; | ||
else | ||
return false;",400,Error - MapIndex Mapscale does not match annoscale.,False,False,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13181200</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131812">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\Anno0400Scale C:\ORMAP3.0\T7-4\Fabric\RuleExports\Anno0400Scale.csv</Process></lineage></DataProperties></Esri></metadata> |
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,19 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added. ,CALCULATION,,MAPNUMBER,True,True,False,False,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.Mapnumber",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
MapScale Rule,Check if Mapindex Mapscale matches annoscale. ,CONSTRAINT,,,True,True,False,False,"// When creating a anno check mapscale 2000 Scale map | ||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = Intersects(fsMapIndex,$feature) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return false; | ||
if (MapIndex.MapScale == 24000) | ||
return true; | ||
else | ||
return false;",2000,Error - MapIndex Mapscale does not match annoscale.,False,False,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13181300</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131813">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\Anno2000Scale C:\ORMAP3.0\T7-4\Fabric\RuleExports\Anno2000Scale.csv</Process></lineage></DataProperties></Esri></metadata> |
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,19 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added or updated.,CALCULATION,,MAPNUMBER,True,True,False,True,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.Mapnumber",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
GetMapScale,Assigns the MapScale from MapIndex to the feature when it is added or updated.,CALCULATION,,MAPSCALE,True,True,False,True,"// Get mapscale from mapindex polygon layer | ||
// Within will return the mapscale value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.MapScale",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13181700</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131817">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\CartographicLines C:\ORMAP3.0\T7-4\Fabric\RuleExports\CartographicLines.csv</Process></lineage></DataProperties></Esri></metadata> |
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,20 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added or updated. ,CALCULATION,,MAPNUMBER,True,True,False,True,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return """" | ||
return MapIndex.Mapnumber",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
GetMapScale,Assigns the MapScale from MapIndex to the feature when it is added or updated. ,CALCULATION,,MAPSCALE,True,True,False,True,"// Get Mapscale from mapindex polygon layer | ||
// Within will return the mapscale value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return """" | ||
return MapIndex.MapScale | ||
",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13182200</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131822">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\ConstructionLines C:\ORMAP3.0\T7-4\Fabric\RuleExports\ConstructionLines.csv</Process></lineage></DataProperties></Esri></metadata> |
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,19 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added or updated.,CALCULATION,,MapNumber,True,True,False,True,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.Mapnumber",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
GetMapScale,Assigns the MapScale from MapIndex to the feature when it is added or updated.,CALCULATION,,MapScale,True,True,False,True,"// Get mapscale from mapindex polygon layer | ||
// Within will return the mapscale value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.MapScale",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13181800</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131818">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\PLSSLines C:\ORMAP3.0\T7-4\Fabric\RuleExports\PLSSLines.csv</Process></lineage></DataProperties></Esri></metadata> |
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,44 @@ | ||
# RuleExports | ||
|
||
9/28/2022 | ||
|
||
These attribute rules are written as part of the ORMAP Parcel Fabric project. | ||
They were tested at ArcGIS Pro 2.9.4. (They might work on older versions but | ||
have not been tested.) | ||
|
||
|
||
## Where to get these files | ||
|
||
Download the current version in a zip file from | ||
https://ormaptools.github.io | ||
|
||
These rule files are included there in T7-4.zip and separately in RuleExports.zip | ||
|
||
The source code is kept in Github version control at | ||
https://github.com/ORMAPTools/RuleExports | ||
|
||
|
||
## How to load the rules into ArcGIS Pro | ||
|
||
Each tool is exported to a separate .CSV file. | ||
|
||
|
||
## List Of Attribute Rules | ||
|
||
I will briefly describe each of them here soon. | ||
|
||
* Anno0100Scale, Anno0200Scale, Anno0400Scale, Anno2000Scale | ||
* CartographicLines | ||
* ConstructionLines | ||
* PLSSLines | ||
* ReferenceLines | ||
* Taxlot | ||
* Waterlines | ||
|
||
|
||
## More help | ||
|
||
Contact anyone on the ORMAP tool committee. | ||
Try starting with email to [Dean Anderson](mailto:anderson.dean@co.polk.or.us) | ||
or [Brian Wilson](mailto:bwilson@co.clatsop.or.us) | ||
|
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,20 @@ | ||
NAME,DESCRIPTION,TYPE,SUBTYPE,FIELD,ISEDITABLE,TRIGGERINSERT,TRIGGERDELETE,TRIGGERUPDATE,SCRIPTEXPRESSION,ERRORNUMBER,ERRORMESSAGE,EXCLUDECLIENTEVALUATION,ISENABLED,BATCH,SEVERITY,TAGS,CATEGORY,CHECKPARAMETERS | ||
GetMapNumber,Assigns the MapNumber to the feature when it is added or updated.,CALCULATION,,MAPNUMBER,True,True,False,True,"// When creating a anno get map number from mapindex polygon layer | ||
// Within will return the map number value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapNumber""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.Mapnumber | ||
",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" | ||
GetMapScale,Assigns the MapScale from MapIndex to the feature when it is added or updated. ,CALCULATION,,MAPSCALE,True,True,False,True,"// Get mapscale from mapindex polygon layer | ||
// Within will return the mapscale value from the map index. | ||
// If none found nothing is returned | ||
|
||
var fsMapIndex = FeatureSetByName($datastore,""MapIndex"",[""MapScale""]) | ||
var fsIntersectMap = within(fsMapIndex, Centroid($feature)) | ||
var MapIndex = first(fsIntersectMap) | ||
if (MapIndex == null) return {""errorMessage"": ""No Map Index Feature Found""} | ||
return MapIndex.MapScale",,,False,True,False,,,,"{""type"":""PropertySet"",""propertySetItems"":[]}" |
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,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata xml:lang="en"><Esri><CreaDate>20220912</CreaDate><CreaTime>13182100</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\ExportAttributeRules" Date="20220912" Time="131821">ExportAttributeRules C:\ORMAP3.0\T7-4\Fabric\TownEd.gdb\ReferenceLines C:\ORMAP3.0\T7-4\Fabric\RuleExports\ReferenceLines.csv</Process></lineage></DataProperties></Esri></metadata> |
Oops, something went wrong.