<?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 Create a Service from a KML in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-service-from-a-kml/m-p/237973#M9156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problems figuring out how to make this. I've got a dynamic KML which is fed every 5 minutes with positions from our vessels offshore and is part of another internal application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to be able to also publish that on my website through ArcGIS Server but so far all I managed to do was to convert the KML into a Layer and then make a service using that. The problem is that this layer then becomes static and I need everything to be dynamic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2013 07:01:28 GMT</pubDate>
    <dc:creator>FugroSurvey_Ltd_</dc:creator>
    <dc:date>2013-08-08T07:01:28Z</dc:date>
    <item>
      <title>Create a Service from a KML</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-service-from-a-kml/m-p/237973#M9156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problems figuring out how to make this. I've got a dynamic KML which is fed every 5 minutes with positions from our vessels offshore and is part of another internal application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to be able to also publish that on my website through ArcGIS Server but so far all I managed to do was to convert the KML into a Layer and then make a service using that. The problem is that this layer then becomes static and I need everything to be dynamic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 07:01:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-service-from-a-kml/m-p/237973#M9156</guid>
      <dc:creator>FugroSurvey_Ltd_</dc:creator>
      <dc:date>2013-08-08T07:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Service from a KML</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-service-from-a-kml/m-p/237974#M9157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There may be a few ways to approach the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can look into ways to publish real-time data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GeoEvent extension for Server (not released yet I think) may be an easier (and costly) way to do it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 19:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-service-from-a-kml/m-p/237974#M9157</guid>
      <dc:creator>YungKaiChin</dc:creator>
      <dc:date>2013-08-13T19:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Service from a KML</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-service-from-a-kml/m-p/237975#M9158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to use it in the Flex viewer, you can just create a kml folder under wwwroot and put the kml there, then just add it to your config.xml in this format but point it at your kml: (note that using ESRI's server to parse it will not work unless the file is world readable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Forecast River Gauges" type="kml" visible="false" alpha="1.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://water.weather.gov/ahps/worldfiles/ahps_national_fcst.kmz" rel="nofollow" target="_blank"&gt;http://water.weather.gov/ahps/worldfiles/ahps_national_fcst.kmz&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layer&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you actually want to make a service out of it for Desktop use,I have seen it done several ways:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) create a script which downloads it and runs the kml to layer tool and then schedule the script as a task in task manager to run on whatever interval you want (doesn't work unless you have a desktop license on the server)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) create a tool and make it into a geoprocessing task (At 10.0 this uses tool layers but there are no tool layers in 10.1 so it is handled a bit differently in 10.1 and 10.2 and I have not done it yet).&amp;nbsp; This way is more difficult to program, but the licensing is covered because it is a geoprocessing task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) You can make a Python script and use the xml library of your choice to read the kml in, then you can use the shapefile library to write a shapefile, all without using any ArcObjects or Arc-anything so no licenses required.&amp;nbsp; You make it overwrite the file and schedule it as a task in Windows task manager.&amp;nbsp; You will need to use the define projection tool once ahead of time to create the projection info for the file (but it never changes after that) because the shapefile library for Python won't create that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 01:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-service-from-a-kml/m-p/237975#M9158</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2013-08-31T01:18:10Z</dc:date>
    </item>
  </channel>
</rss>

