<?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 Creating a feature class off of an XML feed in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/creating-a-feature-class-off-of-an-xml-feed/m-p/751883#M24621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am attempting to create a feature class off of some Minnesota Department of Transportation XML feeds.&amp;nbsp; The first XML feed displays current incidents on roadways and provides all information about the incident as attributes in a single XML tag:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]&amp;lt;active_incidents time_stamp="Tue May 17 10:09:07 CDT 2011"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;incident id="2011051709091759" event_type="INCIDENT_ROADWORK" event_date="Tue May 17 09:15:29 CDT 2011" lane_type="Exit" road="T.H.100" dir="NB" location="@ 57th Ave" easting="475468" northing="4989338" camera="C226" impact="..!" cleared="false"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;incident id="2011051709061520" event_type="INCIDENT_ROADWORK" event_date="Tue May 17 09:12:27 CDT 2011" lane_type="Exit" road="T.H.100" dir="NB" location="@ Glenwood Ave" easting="472923" northing="4980428" camera="C217" impact="!!!" cleared="false"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/active_incidents&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having some trouble deciding what the most efficient workflow would be to parse this XML feed into a feature class off of which a service could be generated.&amp;nbsp; The XML file (&lt;/SPAN&gt;&lt;A href="http://www.dot.state.mn.us/tmc/trafficinfo/incidents.xml"&gt;http://www.dot.state.mn.us/tmc/trafficinfo/incidents.xml&lt;/A&gt;&lt;SPAN&gt;) is updated every 30 seconds, and I would like the service to be as closely in synch with the xml file as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any input on the most efficient way to continuously update (delete old records, insert new) a feature class and the best method for parsing this XML file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2011 14:44:10 GMT</pubDate>
    <dc:creator>PhilHolleran</dc:creator>
    <dc:date>2011-05-18T14:44:10Z</dc:date>
    <item>
      <title>Creating a feature class off of an XML feed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/creating-a-feature-class-off-of-an-xml-feed/m-p/751883#M24621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am attempting to create a feature class off of some Minnesota Department of Transportation XML feeds.&amp;nbsp; The first XML feed displays current incidents on roadways and provides all information about the incident as attributes in a single XML tag:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]&amp;lt;active_incidents time_stamp="Tue May 17 10:09:07 CDT 2011"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;incident id="2011051709091759" event_type="INCIDENT_ROADWORK" event_date="Tue May 17 09:15:29 CDT 2011" lane_type="Exit" road="T.H.100" dir="NB" location="@ 57th Ave" easting="475468" northing="4989338" camera="C226" impact="..!" cleared="false"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;incident id="2011051709061520" event_type="INCIDENT_ROADWORK" event_date="Tue May 17 09:12:27 CDT 2011" lane_type="Exit" road="T.H.100" dir="NB" location="@ Glenwood Ave" easting="472923" northing="4980428" camera="C217" impact="!!!" cleared="false"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/active_incidents&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having some trouble deciding what the most efficient workflow would be to parse this XML feed into a feature class off of which a service could be generated.&amp;nbsp; The XML file (&lt;/SPAN&gt;&lt;A href="http://www.dot.state.mn.us/tmc/trafficinfo/incidents.xml"&gt;http://www.dot.state.mn.us/tmc/trafficinfo/incidents.xml&lt;/A&gt;&lt;SPAN&gt;) is updated every 30 seconds, and I would like the service to be as closely in synch with the xml file as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any input on the most efficient way to continuously update (delete old records, insert new) a feature class and the best method for parsing this XML file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 14:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/creating-a-feature-class-off-of-an-xml-feed/m-p/751883#M24621</guid>
      <dc:creator>PhilHolleran</dc:creator>
      <dc:date>2011-05-18T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a feature class off of an XML feed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/creating-a-feature-class-off-of-an-xml-feed/m-p/751884#M24622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used the standard module ElementTree to parse XML for a GPX file as hinted by a Python demo at the conference. This is much easier than some of the older parsers such as SAX or DOM.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 08:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/creating-a-feature-class-off-of-an-xml-feed/m-p/751884#M24622</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2011-05-19T08:07:09Z</dc:date>
    </item>
  </channel>
</rss>

