<?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: Spatial Join Error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480265#M37559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately I have a similar issue with the maximum merge rule(but no answer as yet).&amp;nbsp; I have a buffered road feature class with 4 numeric (float) fields that identify the category of buffer.&amp;nbsp; I wish to spatially join these to a parcels layer so that each intersecting parcel is thereby identified by the buffer it intersects.&amp;nbsp; By setting the merge rule for the numeric fields to maximum I get the maximum number of intersects for any parcel that intersects the buffer feature class - this is all very nice and works swimmingly.&amp;nbsp; HOWEVER - for all of the parcels that &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;do not&lt;/SPAN&gt;&lt;SPAN&gt; intersect in the spatial join (ie too far away from the joining class) I get -3.402823e+038 calculated into the numeric fields instead of zero.&amp;nbsp; It doesn't matter if I set the field precision or not or disable null values I still get -3.402823e+038 returned for non intersected parcels!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interesting thing is if I change all numeric inputs in both the target and join feature classes to short integer (as my feature classes only hold 0 or 1 for the fields of interest) instead of their original float type - the spatial join bombs out with a generic windows 9999 error and an unhandled exception written to the log file.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Presumably the only reason that this can happen is because -3.402823e+038 is a float or double type and is being returned from the underlying ArcObject - it therefore generates an error if the field to which it must be written is an invalid datatype (ie short integer).&amp;nbsp; Is this a bug in the Arc10 object model?&amp;nbsp; I am running ArcGIS Desktop 10.0 service pack 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point I should probably mention that the same result does not occur in 9.3.1 SP3.&amp;nbsp; Certainly appreciate any light that can be shed - I'm stumped as I need the Maximum merge rule for the analysis!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2012 03:28:18 GMT</pubDate>
    <dc:creator>mikeking1</dc:creator>
    <dc:date>2012-05-10T03:28:18Z</dc:date>
    <item>
      <title>Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480259#M37553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hallo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to perform a spatial join. I always get the error 999999 if I set the merge rule of one field to maximum? What could be the reason? If I use first (default); it is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 15:49:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480259#M37553</guid>
      <dc:creator>MatthiasAbele</dc:creator>
      <dc:date>2011-10-24T15:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480260#M37554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hallo,&lt;BR /&gt;&lt;BR /&gt;I am trying to perform a spatial join. I always get the error 999999 if I set the merge rule of one field to maximum? What could be the reason? If I use first (default); it is working.&lt;BR /&gt;&lt;BR /&gt;Matthias&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maximum only works with numeric fields and will not work with text fields.&amp;nbsp; Your field must be a text field, and first and last are your only options.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 15:55:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480260#M37554</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2011-10-24T15:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480261#M37555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx for the hint...but that cannot be the reason. All fields to be joined are numeric (short with values of either 0 or 1). As I said: With "first", it is working; minimum or maximum make the tool fail...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am clueless....but I really need to do the operation!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 16:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480261#M37555</guid>
      <dc:creator>MatthiasAbele</dc:creator>
      <dc:date>2011-10-24T16:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480262#M37556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matthias did you ever get an answer to your problem?&amp;nbsp; I'm seeing the same error, but mine shows more information, "ORA-01795: maximum number of expressions in a list is 1000".&amp;nbsp;&amp;nbsp; The table I'm doing the join on has just over 3,000 entries, I cannot make that smaller than 1,000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point I'm not sure what to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run a join on the table in ArcMap from the Layer Properties window it works, I just can't run the spatial Join tool. I would like to run the tool from a model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michelle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 17:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480262#M37556</guid>
      <dc:creator>MichelleFlynn</dc:creator>
      <dc:date>2011-11-18T17:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480263#M37557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;no, I never got a response nor a solution from our ESRI service contractor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I figured out the following: The spatial join tool seems not to be able to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;handle opreration in which many fields are involved - independetly if the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;features are calculated somehow or only transferred.&amp;nbsp; So I reduced the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;number of fields / columns to a minimum and rejoined the previously deleted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;colums afterwards. So far, not all joining has been done....let's hope the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;best...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know 3dr party tools, which are able to perform the same operations?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found none.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yours &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 08:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480263#M37557</guid>
      <dc:creator>MatthiasAbele</dc:creator>
      <dc:date>2011-11-22T08:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480264#M37558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having trouble with this same error today. I need to obtain the maximum of a field which had been stored as a double, but actually only contained integer values (i.e. employment counts were stored in a double, but you can't actually employ fractional people). The spatial join worked when using the double values, but when I copied the values into a Long field and tried the spatial join using the new field, I got an Error 999999. Very frustrating!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 16:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480264#M37558</guid>
      <dc:creator>NoelPeterson</dc:creator>
      <dc:date>2012-05-09T16:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480265#M37559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately I have a similar issue with the maximum merge rule(but no answer as yet).&amp;nbsp; I have a buffered road feature class with 4 numeric (float) fields that identify the category of buffer.&amp;nbsp; I wish to spatially join these to a parcels layer so that each intersecting parcel is thereby identified by the buffer it intersects.&amp;nbsp; By setting the merge rule for the numeric fields to maximum I get the maximum number of intersects for any parcel that intersects the buffer feature class - this is all very nice and works swimmingly.&amp;nbsp; HOWEVER - for all of the parcels that &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;do not&lt;/SPAN&gt;&lt;SPAN&gt; intersect in the spatial join (ie too far away from the joining class) I get -3.402823e+038 calculated into the numeric fields instead of zero.&amp;nbsp; It doesn't matter if I set the field precision or not or disable null values I still get -3.402823e+038 returned for non intersected parcels!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interesting thing is if I change all numeric inputs in both the target and join feature classes to short integer (as my feature classes only hold 0 or 1 for the fields of interest) instead of their original float type - the spatial join bombs out with a generic windows 9999 error and an unhandled exception written to the log file.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Presumably the only reason that this can happen is because -3.402823e+038 is a float or double type and is being returned from the underlying ArcObject - it therefore generates an error if the field to which it must be written is an invalid datatype (ie short integer).&amp;nbsp; Is this a bug in the Arc10 object model?&amp;nbsp; I am running ArcGIS Desktop 10.0 service pack 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point I should probably mention that the same result does not occur in 9.3.1 SP3.&amp;nbsp; Certainly appreciate any light that can be shed - I'm stumped as I need the Maximum merge rule for the analysis!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 03:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480265#M37559</guid>
      <dc:creator>mikeking1</dc:creator>
      <dc:date>2012-05-10T03:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Error</title>
      <link>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480266#M37560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exactly, kingmi. I'm also seeing the -3.402823e+038 values returned as the maximum for target polygons with no join features when using a Double field, and I was also thinking that those values are what is causing the process to bomb out when trying to use a Short/Long instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 12:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-join-error/m-p/480266#M37560</guid>
      <dc:creator>NoelPeterson</dc:creator>
      <dc:date>2012-05-10T12:43:50Z</dc:date>
    </item>
  </channel>
</rss>

