<?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 Trouble with Spatial Join (Invalid SQL Syntax: near &amp;quot;IN&amp;quot; syntax error) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/trouble-with-spatial-join-invalid-sql-syntax-near/m-p/396241#M17563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly to say that I have had no problems doing this in ArcMap...however in Pro something goes wrong,&lt;/P&gt;&lt;P&gt;I am merging a shapefile map with a dataset of 6,000 observations. In one attempt I managed to merge the two but then realised it had only added one observation per spatial unitrather than aggregating them. Since then I have been trying to use the Spatial Join tool. I want to join points to Polygon and aggregate most of the variables&amp;nbsp;taking&amp;nbsp;the Mean.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far:&lt;/P&gt;&lt;P&gt;1) Added Basemap&lt;/P&gt;&lt;P&gt;2) Added Shapefile&lt;/P&gt;&lt;P&gt;3) Added xls data&lt;/P&gt;&lt;P&gt;4) Converted xls data to feature&lt;/P&gt;&lt;P&gt;6.....trying Spatial Join.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 'Match Option' I have tried both Intersect and Contains.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using options Target: My Shapefile. Join Features: My data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...What Am I NOT doing right or simply NOT DOING AT ALL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2016 09:17:52 GMT</pubDate>
    <dc:creator>HenryCann2</dc:creator>
    <dc:date>2016-08-22T09:17:52Z</dc:date>
    <item>
      <title>Trouble with Spatial Join (Invalid SQL Syntax: near "IN" syntax error)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/trouble-with-spatial-join-invalid-sql-syntax-near/m-p/396241#M17563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly to say that I have had no problems doing this in ArcMap...however in Pro something goes wrong,&lt;/P&gt;&lt;P&gt;I am merging a shapefile map with a dataset of 6,000 observations. In one attempt I managed to merge the two but then realised it had only added one observation per spatial unitrather than aggregating them. Since then I have been trying to use the Spatial Join tool. I want to join points to Polygon and aggregate most of the variables&amp;nbsp;taking&amp;nbsp;the Mean.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far:&lt;/P&gt;&lt;P&gt;1) Added Basemap&lt;/P&gt;&lt;P&gt;2) Added Shapefile&lt;/P&gt;&lt;P&gt;3) Added xls data&lt;/P&gt;&lt;P&gt;4) Converted xls data to feature&lt;/P&gt;&lt;P&gt;6.....trying Spatial Join.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 'Match Option' I have tried both Intersect and Contains.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using options Target: My Shapefile. Join Features: My data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...What Am I NOT doing right or simply NOT DOING AT ALL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 09:17:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/trouble-with-spatial-join-invalid-sql-syntax-near/m-p/396241#M17563</guid>
      <dc:creator>HenryCann2</dc:creator>
      <dc:date>2016-08-22T09:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Spatial Join (Invalid SQL Syntax: near "IN" syntax error)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/trouble-with-spatial-join-invalid-sql-syntax-near/m-p/396242#M17564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why do you need a basemap? (dump it if it for visual aesthetics)&lt;/P&gt;&lt;P&gt;shapefile is polygons?&lt;/P&gt;&lt;P&gt;mydata is that points as a feature class?&lt;/P&gt;&lt;P&gt;shapefile and mydata are in the same coordinate system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 09:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/trouble-with-spatial-join-invalid-sql-syntax-near/m-p/396242#M17564</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-08-22T09:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Spatial Join (Invalid SQL Syntax: near "IN" syntax error)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/trouble-with-spatial-join-invalid-sql-syntax-near/m-p/396243#M17565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan - to be honest I thought I had to add a basemap because it wouldn't let me 'add data' (including both shapefile and data) until I had layered a basemap. This really confused me because in Arcgis the first thing you do is add data but this option was greyed out in PRO.&lt;/P&gt;&lt;P&gt;Also just to let you know if it's significant that when I try and specify the maatch conditions(e.g Count, Mean, average) this appears to be where things fall apart. If I leave everything as 'First' it works fine. Perhaps could it be becausde I'm attempting to specify different match conditions for each different variable? I.e Mean for some, First for others....#&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 11:57:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/trouble-with-spatial-join-invalid-sql-syntax-near/m-p/396243#M17565</guid>
      <dc:creator>HenryCann2</dc:creator>
      <dc:date>2016-08-22T11:57:44Z</dc:date>
    </item>
  </channel>
</rss>

