{ "id": "2", "displayName": "Parcels", "shortDisplayName": null, "description": "This shows the must updated database of parcels for Ottawa County Michigan", "connectionString": "url=https://gis.miottawa.org/arcgis/rest/services/HostedServices/ParcelsPublic/MapServer", "copyright": "County of Ottawa, Michigan", "hasAttributionData": false, "serviceType": "Dynamic", "serviceFunction": "Operational", "baseMapGroup": null, "baseMapGroupIndex": "", "baseMapGroupIsMutuallyExclusive": false, "opacity": 1, "visible": true, "initiallyVisible": true, "drawingBehavior": "MapService", "iconUri": null, "includeInLayerList": true, "defaultAllowSymbolization": true, "isExpanded": true, "updateInterval": null, "dataProvider": null, "disableClientCaching": null, "serviceTag": "aQOxBh2U+GmtUxrViwri6FfstKdooLy/LugMi2gclHg=", "identifiable": null, "includeMosaicDatasetValues": null, "includeCatalogItems": null, "includeInLegend": null, "startTime": null, "endTime": null, "serverVersion": "10.91", "failureAction": "Warn", "failureTimeout": null, "requestEncoding": null, "supportsDynamicLayers": true, "hasLayerCatalog": false, "format": "Png32", "themeSettings": [], "layerHyperlinks": [], "tileInfo": {}, "instantSearch": true, "layers": [ { "id": "0", "name": "Ottawa County Parcels (Public)", "nativeID": "0", "displayName": "Parcels", "description": "", "defaultVisibility": true, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 40000, "visible": true, "initiallyVisible": true, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": true, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": true, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": [ 0, 255, 255, 153 ], "featureBorderWidth": 5, "featureFillColor": [ 0, 255, 255, 51 ], "showFeatureHyperlinks": "ShowAll", "iconUri": "{RestVirtualDirectoryUrl}/Images/Icons/Layers/parcel-24.png", "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": false, "showLabels": true, "dataProvider": null, "timeZoneId": "Etc/UTC", "featureLabel": "Parcel #: {FinalPIN}", "featureDescription": "

Owner Name: {OwnerName}
Property Address: {PropertyAddress}
Property City: {PropertyCity}
Property State: {PropertyState} 
Property Zip: {PropertyZip}
Estimated Acreage: {Acreage} ac
School District: {SchoolDistrictDescription}
Property Class: {PropertyClassDescription}



miOttawa Property Summary

miOttawa Deeds Search

Report Parcel Error or Question

", "featureLongDescription": "

Property Address & Owner

Owner Name: {OwnerName}
Property Address: {PropertyAddress}
Property City: {PropertyCity}
Property State: {PropertyState}
Property Zip: {PropertyZip}


\r\n

Mailing Address

Mailing Address: {MailingAddress}
Mailing City: {MailingCity}
Mailing State: {MailingState}
Mailing Zip: {MailingZip}


\r\n

Property Description

Condo Development Name: {CondoName}
Condo Unit: {CondoUnit}
Condo Parent PIN: {CondoParentPIN}
Legal Description: {LegalDesc}
Government Unit: {GovernmentUnitDescription}
Public Land Survey System ID: {PLSS}
Local Zoning: {LocalZoning}
Standardized Zoning: {StandardZoning}
Local Master Plan: {LocalMasterPlan}
Standardized Master Plan: {StandardMasterPlan}


\r\n

Related Taxable Information

Estimated Acreage (GIS Calculated): {Acreage} ac
Property Class: {PropertyClassDescription}
Principle Residence Exemption: {PrincipalResidenceExemption}%
School District: {SchoolDistrictDescription}
Library District: {LibraryDistrict}
Assessed Value: {AssessedValue}
State Equalized Value: {SEVValue}
Capped Value: {CappedValue}
Taxable Value: {TaxableValue}


\r\n

Latest Sale Information

{LatestSale}
View the Ottawa County Parcel Sales Dashboard


\r\n

Additional Information or Links

Environmental

{CriticalDune}
View further details on the State of Michigan's Critical Dune Area Program

{HighRisk}
View further details on the State of Michigan's High-Risk Erosion Zones

{FloodplainInfo}
View the Ottawa County Parcels in FEMA Flood Zones App

Visit FEMA's site for additional details

{DrainDistricts}

{Watershed}
View The Office of the Water Resources Commissioner's Drain Viewer

Political

Voting Precinct: {VotingPrecinct}
Polling Location: {PollingLocation}
Address: {PollingLocationAddress}
View ballot in the My Election Polling Place app

County Commissioner District: {CountyCommissionerDistrict} 
Commissioner: {CountyCommissioner}
View additional Elected Representatives

", "displayField": "FinalPIN", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -9603967.087767357, "ymin": 5270411.6310440972, "xmax": -9548761.6354457736, "ymax": 5343605.75750039, "spatialReference": { "wkid": 102100 } }, "parentLayerId": null, "subLayerIds": [], "hasReports": true, "hasDataLinks": false, "fields": [ { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": false, "dataType": "Int32", "classBreaks": true }, { "displayName": "Parent PIN", "uniqueValue": true, "name": "ParentPIN", "alias": "Parent PIN", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Condo Parcel", "uniqueValue": true, "name": "IsCondo", "alias": "Condo Parcel", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Condo PIN", "uniqueValue": true, "name": "CondoPIN", "alias": "Condo PIN", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "PIN", "uniqueValue": true, "name": "FinalPIN", "alias": "Final PIN", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Final Packed PIN", "uniqueValue": true, "name": "FinalPackedPIN", "alias": "Final Packed PIN", "visible": false, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Condo Development Name", "uniqueValue": true, "name": "CondoName", "alias": "Condo Development Name", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Condo Unit", "uniqueValue": true, "name": "CondoUnit", "alias": "Condo Unit", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Owner", "uniqueValue": true, "name": "OwnerName", "alias": "Owner Name", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Address Number", "uniqueValue": true, "name": "AddressNumber", "alias": "Address Number", "visible": false, "dataType": "Double", "classBreaks": false }, { "displayName": "Address Prefix Direction", "uniqueValue": true, "name": "AddressDir", "alias": "Address Prefix Direction", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Street Name", "uniqueValue": true, "name": "StreetName", "alias": "Street Name", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Property Address", "uniqueValue": true, "name": "PropertyAddress", "alias": "Property Address", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Property City", "uniqueValue": true, "name": "PropertyCity", "alias": "Property City", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Property State", "uniqueValue": true, "name": "PropertyState", "alias": "Property Sate", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Property Zip", "uniqueValue": true, "name": "PropertyZip", "alias": "Property Zip", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Mailing Address", "uniqueValue": true, "name": "MailingAddress", "alias": "Mailing Address", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Mailing City", "uniqueValue": true, "name": "MailingCity", "alias": "Mailing City", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Mailing State", "uniqueValue": true, "name": "MailingState", "alias": "Mailing State", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Mailing Zip", "uniqueValue": true, "name": "MailingZip", "alias": "Mailing Zip", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "School District", "uniqueValue": true, "name": "SchoolDistrict", "alias": "School District", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Property Class", "uniqueValue": true, "name": "PropertyClass", "alias": "Property Class", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Government Unit", "uniqueValue": true, "name": "GovernmentUnit", "alias": "Government Unit", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Legal Description", "uniqueValue": true, "name": "LegalDesc", "alias": "Legal Description", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "AssessedValue", "uniqueValue": true, "name": "AssessedValue", "alias": "AssessedValue", "visible": false, "dataType": "Double", "format": "{0:c0$USD}", "classBreaks": true }, { "displayName": "SEV Value", "uniqueValue": true, "name": "SEVValue", "alias": "SEV Value", "visible": false, "dataType": "Double", "format": "{0:c0$USD}", "classBreaks": true }, { "displayName": "Capped Value", "uniqueValue": true, "name": "CappedValue", "alias": "Capped Value", "visible": false, "dataType": "Double", "format": "{0:c0$USD}", "classBreaks": true }, { "displayName": "Taxable Value", "uniqueValue": true, "name": "TaxableValue", "alias": "Taxable Value", "visible": false, "dataType": "Double", "format": "{0:c0$USD}", "classBreaks": true }, { "displayName": "Stated Area", "uniqueValue": true, "name": "StatedArea", "alias": "Stated Area", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "SHAPE", "uniqueValue": false, "name": "SHAPE", "alias": "SHAPE", "visible": false, "dataType": "Object", "classBreaks": false }, { "displayName": "SHAPE.STArea()", "uniqueValue": true, "name": "SHAPE.STArea()", "alias": "SHAPE.STArea()", "visible": false, "dataType": "Double", "classBreaks": true }, { "displayName": "SHAPE.STLength()", "uniqueValue": true, "name": "SHAPE.STLength()", "alias": "SHAPE.STLength()", "visible": false, "dataType": "Double", "classBreaks": true }, { "displayName": "StreetSuffix", "uniqueValue": true, "name": "StreetSuffix", "alias": "StreetSuffix", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Unit Or Apt", "uniqueValue": true, "name": "UnitOrApt", "alias": "Unit Or Apt", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "School District Description", "uniqueValue": true, "name": "SchoolDistrictDescription", "alias": "School District Description", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Property Class Description", "uniqueValue": true, "name": "PropertyClassDescription", "alias": "Property Class Description", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Government Unit Description", "uniqueValue": true, "name": "GovernmentUnitDescription", "alias": "Government Unit Description", "visible": false, "dataType": "String", "classBreaks": false }, { "displayName": "Principal Residence Exemption", "uniqueValue": true, "name": "PrincipalResidenceExemption", "alias": "Principal Residence Exemption", "visible": false, "dataType": "Int16", "format": "{0:n0}", "classBreaks": true }, { "displayName": "Acreage", "uniqueValue": true, "name": "Acreage", "alias": "Acreage", "visible": false, "dataType": "Double", "format": "{0:f2}", "classBreaks": true }, { "displayName": "BSA_UID", "uniqueValue": true, "name": "BSA_UID", "alias": "BSA_UID", "visible": false, "dataType": "String", "classBreaks": false } ], "featureHyperlinks": [ { "encodeUriReplacementValues": "Automatic", "iconUri": "{RestVirtualDirectoryUrl}/Images/Icons/Custom/network-trace-24.png", "target": "_blank", "text": "miOttawa Property Summary", "toolTip": "Link to Equalization's property summary page for more detailed information.", "uri": "https://app.miottawa.org/Property/FromGIS.jsp?parcelNumber={FinalPIN}" }, { "encodeUriReplacementValues": "Automatic", "iconUri": "{RestVirtualDirectoryUrl}/Images/Icons/Custom/network-trace-24.png", "target": "_blank", "text": "miOtttawa Deeds Search", "toolTip": "Link to the Register of Deeds Search page", "uri": "{DeedsSearch}" }, { "encodeUriReplacementValues": "Automatic", "iconUri": "{RestVirtualDirectoryUrl}/Images/Icons/Custom/network-trace-24.png", "target": "_blank", "text": "Report Parcel Error or Question", "toolTip": "Report Parcel Error or Question to Parcel Description & Mapping", "uri": "https://forms.miottawa.org/gis-report-an-issue/?parcel={FinalPIN}" } ], "layerHyperlinks": [], "arcadeExpressions": [ { "expression": "// Get other layers from map\r\nvar fs = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), '5387cc084d644512a8efb57f9dc6b2c3',2, ['DuneType'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return 'This parcel is within a Critical Dune Area'}\r\nelse {\r\n return \"This parcel is NOT within a Critical Dune Area\"\r\n}", "token": "CriticalDune" }, { "expression": "// Get other layers from map\r\nvar fs = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), '5387cc084d644512a8efb57f9dc6b2c3',2, ['DuneType'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return \"#cc0000\"}\r\nelse {\r\n return \"#009933\"}", "token": "CriticalDuneColor" }, { "expression": "// Get other layers from map\r\nvar fs = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), 'b176f368ed9547f8b787f321c82b34b2',4, ['HighRiskAreas'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return 'This parcel is within a High-Risk Erosion Zone'}\r\nelse {\r\n return \"This parcel is NOT within a High-Risk Erosion Zone\"\r\n}", "token": "HighRisk" }, { "expression": "// Get other layers from map\r\nvar fs = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), 'b176f368ed9547f8b787f321c82b34b2',4, ['HighRiskAreas'],true);\r\n\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return \"#cc0000\"}\r\nelse {\r\n return \"#009933\"}", "token": "HighRiskColor" }, { "expression": "var condo = $feature.IsCondo\r\nvar condopin = $feature.ParentPIN\r\niif(condo=='TRUE', condopin, null)", "token": "CondoParentPIN" }, { "expression": "var fFinalPIN = $feature.FinalPIN\r\nvar fs =OrderBy(featureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com/'), 'd0d8cad4b70f40119c8f8773c8c5400b',0, ['FinalPIN','SaleDate','adjSalePrice'],false),'SaleDate DESC');\r\n\r\n// filter features for matching FinalPIN\r\nvar filt_fs = Filter(fs, 'FinalPIN = @fFinalPIN')\r\n\r\nvar firstfilt_fs = First(filt_fs)\r\n\r\nif(!IsEmpty(firstfilt_fs,)) return Concatenate(\"Sale Date: \" + ISOMonth(firstfilt_fs.SaleDate) + \"/\" + Day(firstfilt_fs.SaleDate) + \"/\" + ISOYear(firstfilt_fs.SaleDate) + '\\n' + \"Sale Price: $\" + round(firstfilt_fs.adjSalePrice,0))\r\nelse {\r\n return 'No Recent Sale Information'\r\n}", "token": "LatestSale" }, { "expression": "var fFinalPIN = $feature.FinalPIN\r\nvar fs =featureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com'), '9458d3cc2cd64d7a806b61caf5fbb9b5',5, ['*'],false)\r\n\r\n// filter features for matching FinalPIN\r\nvar filt_fs = Filter(fs, 'FinalPIN = @fFinalPIN')\r\nvar firstfilt_fs = First(filt_fs);\r\n\r\n// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), '2b245b7f816044d7a779a61a5844be23',0, ['DFIRM_ID','SFHA_TF'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\nif (IsEmpty(int1)) return 'This parcel is NOT within a Flood Zone'\r\nelse if (!IsEmpty(int1) && !IsEmpty(firstfilt_fs) && int1.SFHA_TF=='T') return Concatenate('This parcel is within a FEMA Flood Zone: FIRM Panel ' + int1.DFIRM_ID + TextFormatting.NewLine + TextFormatting.NewLine +\r\n'Flood Insurance Status: '+ 'Flood Insurance is Required' + TextFormatting.NewLine + TextFormatting.NewLine +\r\n'Acres in the Floodplain: '+ round(firstfilt_fs.AcresFloodplain,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodplain,1) + '%)' + TextFormatting.NewLine +\r\n'Acres in the Floodway: '+ round(firstfilt_fs.AcresFloodway,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodway,1) + '%)' + TextFormatting.NewLine + \r\n'Acres in the 100yr Floodplain: '+ round(firstfilt_fs.AcresFloodplain100,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodplain100,1) + '%)' + TextFormatting.NewLine + \r\n'Acres in the 500yr Floodplain: '+ round(firstfilt_fs.AcresFloodplain500,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodplain500,1) + '%)')\r\nelse if (!IsEmpty(int1) && !IsEmpty(firstfilt_fs) && int1.SFHA_TF=='F') return Concatenate('This parcel is within a FEMA Flood Zone: FIRM Panel ' + int1.DFIRM_ID + TextFormatting.NewLine + TextFormatting.NewLine +\r\n'Flood Insurance Status: '+ 'Flood Insurance is NOT Required' + TextFormatting.NewLine + TextFormatting.NewLine +\r\n'Acres in the Floodplain: '+ round(firstfilt_fs.AcresFloodplain,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodplain,1) + '%)' + TextFormatting.NewLine +\r\n'Acres in the Floodway: '+ round(firstfilt_fs.AcresFloodway,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodway,1) + '%)' + TextFormatting.NewLine + \r\n'Acres in the 100yr Floodplain: '+ round(firstfilt_fs.AcresFloodplain100,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodplain100,1) + '%)' + TextFormatting.NewLine + \r\n'Acres in the 500yr Floodplain: '+ round(firstfilt_fs.AcresFloodplain500,2) + ' ac (' + round(firstfilt_fs.PercentAcresFloodplain500,1) + '%)')\r\nelse { return null}", "token": "FloodplainInfo" }, { "expression": "var fFinalPIN = $feature.FinalPIN\r\nvar fs =featureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com'), '9458d3cc2cd64d7a806b61caf5fbb9b5',5, ['*'],false)\r\n\r\n// filter features for matching FinalPIN\r\nvar filt_fs = Filter(fs, 'FinalPIN = @fFinalPIN')\r\nvar firstfilt_fs = First(filt_fs);\r\n\r\nif(!IsEmpty(firstfilt_fs)) {\r\n return \"#cc0000\"}\r\nelse {\r\n return \"#009933\"}", "token": "FloodplainColor" }, { "expression": "// Get other layers from map\r\nvar fs = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), 'a879494e399547769fcb1024bbf79cbf',0, ['Name'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return Concatenate('This parcel is within the '+ int1.Name + ' Watershed')}\r\nelse {\r\n return \"This parcel is NOT within a Watershed\"\r\n}", "token": "Watershed" }, { "expression": "// Get other layers from map\r\nvar fs = FeatureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com/'), '17aec423ad7b4fb08ace1fb94b1f8e78',1, ['Name'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return Concatenate(int1.Name)}\r\nelse {\r\n return null\r\n}", "token": "PLSS" }, { "expression": "var fs =featureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com'), '0a55fa3a38a34f398c8086b1c936cbb6',9, ['Name'],true)\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), '0a55fa3a38a34f398c8086b1c936cbb6',7, ['Name','DrainClassification'],true);\r\n\r\n// Get intersections\r\nvar int2 = First(Intersects(fs1,Buff));\r\n\r\nif (IsEmpty(int1)&& IsEmpty(int2)) return 'This parcel is NOT within a Drain District'\r\nelse if (!IsEmpty(int1) && IsEmpty(int2)) return Concatenate('This parcel is within ' + int1.Name + ', a Section 433 Drain District')\r\nelse if (IsEmpty(int1) && !IsEmpty(int2)) return Concatenate('This parcel is within ' + int2.Name + ', a ' + int2.DrainClassification +' District')\r\n\r\nelse { return null}", "token": "DrainDistricts" }, { "expression": "var fs =featureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com'), '0a55fa3a38a34f398c8086b1c936cbb6',9, ['Name'],true)\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\n// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), '0a55fa3a38a34f398c8086b1c936cbb6',7, ['Name','DrainClassification'],true);\r\n\r\n// Get intersections\r\nvar int2 = First(Intersects(fs1,Buff));\r\n\r\nif (IsEmpty(int1)&& IsEmpty(int2)) return '#009933'\r\nelse if (!IsEmpty(int1) && IsEmpty(int2)) return '#cc0000'\r\nelse if (IsEmpty(int1) && !IsEmpty(int2)) return '#cc0000'\r\n\r\nelse { return null}", "token": "DrainDistrictColor" }, { "expression": "var fs =featureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com'), 'a4dd116811e8428985d0e873d7429e2b',0, ['*'],true)\r\n\r\n// filter features for matching FinalPIN\r\nvar buffer = Buffer($feature, -1,'feet')\r\nvar int1 = First(Intersects(buffer, fs));\r\n\r\nif (IsEmpty(int1)) return null\r\nelse { return int1.StanClass}", "token": "StandardZoning" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), 'a4dd116811e8428985d0e873d7429e2b',2, ['*'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\nif (IsEmpty(int1)) return null\r\nelse { return int1.Mast_Class}", "token": "LocalMasterPlan" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com/'), '7039ac015ba64cb8b77de79ef5c5a577',1, ['DistrictName'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return Concatenate(int1.DistrictName)}\r\nelse {\r\n return null\r\n}", "token": "LibraryDistrict" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), '3dc9c1af2e94441392010da313928e04',0, ['DISTRICTID','REPNAME','PARTY'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return Concatenate(int1.REPNAME +' ('+ int1.PARTY + ')')}\r\nelse {\r\n return null\r\n}", "token": "CountyCommissioner" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com/'), '7e0630d072fd403797c306649839aef2',0, ['Name','NAME_1745344254031','FULLADD', 'CITY'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return int1.NAME_1745344254031}\r\nelse {\r\n return null\r\n}", "token": "PollingLocation" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com/'), '7e0630d072fd403797c306649839aef2',0, ['Name','NAME_1745344254031','FULLADD', 'CITY'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return Concatenate(int1.FULLADD + ', '+ int1.CITY)}\r\nelse {\r\n return null\r\n}", "token": "PollingLocationAddress" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com/'), '7e0630d072fd403797c306649839aef2',0, ['Name','NAME_1745344254031','FULLADD', 'CITY'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return int1.Name}\r\nelse {\r\n return null\r\n}", "token": "VotingPrecinct" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), '3dc9c1af2e94441392010da313928e04',0, ['DISTRICTID'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\n// Check first intersection\r\nif(!IsEmpty(int1)) {\r\n return int1.DISTRICTID}\r\nelse {\r\n return null\r\n}", "token": "CountyCommissionerDistrict" }, { "expression": "var fs =featureSetByPortalItem(Portal('https://ottawacountymi.maps.arcgis.com'), 'a4dd116811e8428985d0e873d7429e2b',0, ['*'],true)\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs,Buff));\r\n\r\nif (IsEmpty(int1)) return null\r\nelse { return int1.Zon_Class}", "token": "LocalZoning" }, { "expression": "// Get other layers from map\r\nvar fs1 = FeatureSetByPortalItem(\r\n Portal('https://ottawacountymi.maps.arcgis.com/'), 'a4dd116811e8428985d0e873d7429e2b',2, ['*'],true);\r\n\r\n// Get intersections\r\nvar Buff = Buffer($feature, -1, 'feet')\r\nvar int1 = First(Intersects(fs1,Buff));\r\n\r\nif (IsEmpty(int1)) return null\r\nelse { return int1.Stan_Class }", "token": "StandardMasterPlan" }, { "expression": "var PIN2 = \tMid($feature.FinalPIN, 3,2)\r\nvar PIN3 = \tMid($feature.FinalPIN, 6,2)\r\nvar PIN4 = \tMid($feature.FinalPIN, 9,3)\r\nvar PIN5 = \tRight($feature.FinalPIN, 3)\r\n\r\n'https://app.miottawa.org/Deeds/searchDeed?deedBean.parcel2='+PIN2+'&deedBean.parcel3='+PIN3+'&deedBean.parcel4='+PIN4+'&deedBean.parcel5='+PIN5", "token": "DeedsSearch" } ], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [], "tileLevelLimits": [] } ], "tables": [], "fullExtent": { "xmin": -9603967.087767357, "ymin": 5270411.6310440972, "xmax": -9548761.6354457736, "ymax": 5343605.75750039, "spatialReference": { "wkid": 102100 } }, "spatialReference": { "wkid": 102100 }, "properties": [], "extensions": [] }