<?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 How can I automatically validate an Esri file meets some predefined rules when submitted to a webportal? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-can-i-automatically-validate-an-esri-file/m-p/834522#M5438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be more specific I'm trying to plan a project for a potential client the requires Users to upload an Esri&amp;nbsp;file to a web portal showing sections of the forest they want to harvest. The client has a list of requirements the Esri files must meet and wants to be able to reject them if they don't meet said requirements before&amp;nbsp;employees waste&amp;nbsp;their time validating basic requirements. I'm not sure if this is possible or the way I should go about tackling it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to do this with a web language, preferably&amp;nbsp;php. But if not possible I'm open to other suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not very familiar with Esri files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validation Requirements:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Invalid Geometry: No features whose geometry is empty, nothing, not simple, or empty envelopes are permitted.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;No multipart lines&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;No multipart polygons&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;No non-linear segments&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Polyline or path closes on self, they don't intersect or overlap&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;polygons must be&amp;nbsp;thicker than a certain thickness&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Cutbacks: Identifies segments where the angle between segments in a polygon or polyline is below a specified minimum value. Spike 25° Exceptions are made if the cutback is not a digitizing error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;no polylines less than 20 meters&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Find Dangles: No polylines with nodes that are within a tolerance but not connected to other features in the database topology are permitted. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Unnecessary Nodes: No features that share a node and have identical attributes in editable fields are permitted.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Unnecessary Polygon Boundaries: No adjacent polygon features that share a boundary and have identical attributes in editable fields are permitted&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;If anyone is aware of a software library or tool I can use&amp;nbsp;to do this automatically, it would be great. I don't need any type of graphic interface this will be run in the backend of this web portal. If there isn't a good tool or library with these kinds of checks built in ( this seems much more likely ) I'm looking for a way I can process Esri files so that I can write my own algorithms for detecting these things, a good resource or example of this kind of validation would be great, but I can't find anything myself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I just need to know the best way I can do this without&amp;nbsp;human intervention, so I know how to tackle it and get an estimate of how long it will take.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 16:48:03 GMT</pubDate>
    <dc:creator>ColeDeMan</dc:creator>
    <dc:date>2018-07-06T16:48:03Z</dc:date>
    <item>
      <title>How can I automatically validate an Esri file meets some predefined rules when submitted to a webportal?</title>
      <link>https://community.esri.com/t5/developers-questions/how-can-i-automatically-validate-an-esri-file/m-p/834522#M5438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be more specific I'm trying to plan a project for a potential client the requires Users to upload an Esri&amp;nbsp;file to a web portal showing sections of the forest they want to harvest. The client has a list of requirements the Esri files must meet and wants to be able to reject them if they don't meet said requirements before&amp;nbsp;employees waste&amp;nbsp;their time validating basic requirements. I'm not sure if this is possible or the way I should go about tackling it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to do this with a web language, preferably&amp;nbsp;php. But if not possible I'm open to other suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not very familiar with Esri files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validation Requirements:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Invalid Geometry: No features whose geometry is empty, nothing, not simple, or empty envelopes are permitted.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;No multipart lines&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;No multipart polygons&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;No non-linear segments&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Polyline or path closes on self, they don't intersect or overlap&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;polygons must be&amp;nbsp;thicker than a certain thickness&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Cutbacks: Identifies segments where the angle between segments in a polygon or polyline is below a specified minimum value. Spike 25° Exceptions are made if the cutback is not a digitizing error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;no polylines less than 20 meters&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Find Dangles: No polylines with nodes that are within a tolerance but not connected to other features in the database topology are permitted. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Unnecessary Nodes: No features that share a node and have identical attributes in editable fields are permitted.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Unnecessary Polygon Boundaries: No adjacent polygon features that share a boundary and have identical attributes in editable fields are permitted&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;If anyone is aware of a software library or tool I can use&amp;nbsp;to do this automatically, it would be great. I don't need any type of graphic interface this will be run in the backend of this web portal. If there isn't a good tool or library with these kinds of checks built in ( this seems much more likely ) I'm looking for a way I can process Esri files so that I can write my own algorithms for detecting these things, a good resource or example of this kind of validation would be great, but I can't find anything myself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I just need to know the best way I can do this without&amp;nbsp;human intervention, so I know how to tackle it and get an estimate of how long it will take.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 16:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-can-i-automatically-validate-an-esri-file/m-p/834522#M5438</guid>
      <dc:creator>ColeDeMan</dc:creator>
      <dc:date>2018-07-06T16:48:03Z</dc:date>
    </item>
  </channel>
</rss>

