<?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 validate data in ArcPy or Model Builder ? in Spatial Data Science Questions</title>
    <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-validate-data-in-arcpy-or-model-builder/m-p/281957#M638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ameya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried implementing a script tool and within it using a tool validator to validate what you're needing? You should be able to parse the information you're needing from the Describe object in python. This logic would not be available in ModelBuilder from the GPDialog and would require either a script tool or python toolbox. If you wanted to do this during execution you could use If-The-Logic in ModelBuilder, but I don't believe this would provide the user experience you're wanting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 00:18:38 GMT</pubDate>
    <dc:creator>FreddieGibson</dc:creator>
    <dc:date>2015-08-18T00:18:38Z</dc:date>
    <item>
      <title>How to validate data in ArcPy or Model Builder ?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-validate-data-in-arcpy-or-model-builder/m-p/281956#M637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am crating tool in ArcGIS Desktop 10.1 using model builder where first I have to validate data for the tool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- All files like raster layers and feature classes should have same coordinate system else prompt warning message should be there so that user can repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If vertical coordinate system is present in data then it should be also same else prompt warning message should be there so that user can repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Raster layer should be from ESRI grid type Or GeoTiff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 10:44:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-validate-data-in-arcpy-or-model-builder/m-p/281956#M637</guid>
      <dc:creator>AmeyaNatu1</dc:creator>
      <dc:date>2015-08-17T10:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate data in ArcPy or Model Builder ?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-validate-data-in-arcpy-or-model-builder/m-p/281957#M638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ameya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried implementing a script tool and within it using a tool validator to validate what you're needing? You should be able to parse the information you're needing from the Describe object in python. This logic would not be available in ModelBuilder from the GPDialog and would require either a script tool or python toolbox. If you wanted to do this during execution you could use If-The-Logic in ModelBuilder, but I don't believe this would provide the user experience you're wanting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 00:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-validate-data-in-arcpy-or-model-builder/m-p/281957#M638</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-08-18T00:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate data in ArcPy or Model Builder ?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/how-to-validate-data-in-arcpy-or-model-builder/m-p/281958#M639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 09:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/how-to-validate-data-in-arcpy-or-model-builder/m-p/281958#M639</guid>
      <dc:creator>AmeyaNatu1</dc:creator>
      <dc:date>2015-08-18T09:15:42Z</dc:date>
    </item>
  </channel>
</rss>

