<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to copy attributes from closer polyline feature to a point feature distance 200ft apart in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042444#M39160</link>
    <description>Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 31 Mar 2021 15:50:06 GMT</pubDate>
    <dc:creator>GISAdmin_2008</dc:creator>
    <dc:date>2021-03-31T15:50:06Z</dc:date>
    <item>
      <title>How to copy attributes from closer polyline feature to a point feature distance 200ft apart</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042005#M39098</link>
      <description>&lt;P&gt;This is my expression so far&lt;/P&gt;&lt;P&gt;I am getting an Invalid error( *Unexpected Null)&amp;nbsp;&lt;/P&gt;&lt;P&gt;var fsroad = FeatureSetByName($datastore, 'RoadCenterline', ['PRD'])&lt;/P&gt;&lt;P&gt;var intersectRoad =(Intersects(fsroad, Buffer($feature, 200, 'feet')))&lt;/P&gt;&lt;P&gt;var prd = First(intersectRoad)&lt;/P&gt;&lt;P&gt;*if (prd == null) return prd.PRD&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 17:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042005#M39098</guid>
      <dc:creator>GISAdmin_2008</dc:creator>
      <dc:date>2021-03-30T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy attributes from closer polyline feature to a point feature distance 200ft apart</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042066#M39102</link>
      <description>&lt;P&gt;You could use &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/near.htm" target="_self"&gt;&lt;STRONG&gt;Near (Analysis)&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;(Python Script at the end of the page, if required)&lt;/P&gt;&lt;P&gt;Define a Search Radius of 200 ft.&lt;/P&gt;&lt;P&gt;Keep the desired attributes under Field Name Property.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 18:25:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042066#M39102</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-03-30T18:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy attributes from closer polyline feature to a point feature distance 200ft apart</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042070#M39103</link>
      <description>&lt;P&gt;My goal is to migrate the Attribute Assistant(Desktop)we have in place to Attribute Rules(ArcPro).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 18:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042070#M39103</guid>
      <dc:creator>GISAdmin_2008</dc:creator>
      <dc:date>2021-03-30T18:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy attributes from closer polyline feature to a point feature distance 200ft apart</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042431#M39158</link>
      <description>&lt;P&gt;I am also working on migrating to attribute rules and learning arcade. You have to properly filter out the nulls. I do not fully understand but will post some code that someone helped me with that solved the same or a similar problem. The top portion of your code looks good (I think) but you need to do more for potential null returns. I dont know your fields and attributes but this code and description may help you get around your unexpected null issue. Thanks to the ESRI community for helping me with this!&lt;/P&gt;&lt;P&gt;var feature_field = $feature.LOCDESC;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var address = featuresetbyname($datastore, 'situs');&lt;/P&gt;&lt;P&gt;//sets the variable ‘address’ to be pulled from the situs layer//&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var closest_address = first(intersects( address, Buffer($feature, 500, 'feet')));&lt;/P&gt;&lt;P&gt;// this is the meat and potatoes of the operation – pulls the first intersecting situs point within 500 feet//&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (closest_address == null)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;return $feature.locdesc;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;if (isempty(closest_address.street_name))&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;return $feature[feature_field];&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;//takes care of the null values//&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;return closest_address.street_no + " " + closest_address.street_pre_dir + " " + closest_address.street_name + " " + closest_address.street_suffix + " " + closest_address.street_post_dir + " " + closest_address.zip_city + " " + closest_address.zip_code&lt;/P&gt;&lt;P&gt;//concatenates address data to LOCDESC field //&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 15:33:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042431#M39158</guid>
      <dc:creator>James_Norquest</dc:creator>
      <dc:date>2021-03-31T15:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy attributes from closer polyline feature to a point feature distance 200ft apart</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042444#M39160</link>
      <description>Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Mar 2021 15:50:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-copy-attributes-from-closer-polyline/m-p/1042444#M39160</guid>
      <dc:creator>GISAdmin_2008</dc:creator>
      <dc:date>2021-03-31T15:50:06Z</dc:date>
    </item>
  </channel>
</rss>

