<?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: Not able to display shapefile in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/not-able-to-display-shapefile/m-p/607561#M1852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your question. At the moment, ArcGIS Runtime supports displaying layers from sources such as a map package (.mpk), or an ArcGIS online service. We are expecting the source of the layer to be authored and published/shared. This means we do not currently support data such as shapefiles which have no associated symbology or renderer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are looking at various ways a future release might support shapefiles. One way would be for the client application to provide symbology/a renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of your local runtime server not starting up... If the runtime has been successfully installed, then you should have an environment variable called ArcGISRuntime400 which has the path that the runtime is installed to e.g C:\Program Files\ArcGIS\Runtime400\bin\ArcGISRuntime.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The runtime will then start-up automatically when you initialize a layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if you have &lt;/SPAN&gt;&lt;A href="http://resourcesbeta.arcgis.com/en/help/runtime-java/help/#/Installing_the_SDK/01qv00000002000000/"&gt;installed &lt;/A&gt;&lt;SPAN&gt; ArcGIS Runtime for Java and still do not have that environment variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gayle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2011 13:04:50 GMT</pubDate>
    <dc:creator>GayleYoung</dc:creator>
    <dc:date>2011-09-27T13:04:50Z</dc:date>
    <item>
      <title>Not able to display shapefile</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/not-able-to-display-shapefile/m-p/607560#M1851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A sample program was created using the Eclipse Runtime Plugin and a couple lines of code was added for opening a local shapefile:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LocalArcGISFeatureLayer localLayer = new LocalArcGISFeatureLayer("C:\\shapefile.shp", 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; _map.addLayer(localLayer); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following error was found:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exe dir: C:\workspace\NewProject&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to find local server in the following locations:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\workspace\NewProject\Runtime400&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Environment: ArcGISRuntime400&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stopping server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Local server exited, code: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that a server needs to be started.&amp;nbsp; Need some instructions on that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 15:22:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/not-able-to-display-shapefile/m-p/607560#M1851</guid>
      <dc:creator>dw2</dc:creator>
      <dc:date>2011-09-08T15:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to display shapefile</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/not-able-to-display-shapefile/m-p/607561#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your question. At the moment, ArcGIS Runtime supports displaying layers from sources such as a map package (.mpk), or an ArcGIS online service. We are expecting the source of the layer to be authored and published/shared. This means we do not currently support data such as shapefiles which have no associated symbology or renderer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are looking at various ways a future release might support shapefiles. One way would be for the client application to provide symbology/a renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of your local runtime server not starting up... If the runtime has been successfully installed, then you should have an environment variable called ArcGISRuntime400 which has the path that the runtime is installed to e.g C:\Program Files\ArcGIS\Runtime400\bin\ArcGISRuntime.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The runtime will then start-up automatically when you initialize a layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if you have &lt;/SPAN&gt;&lt;A href="http://resourcesbeta.arcgis.com/en/help/runtime-java/help/#/Installing_the_SDK/01qv00000002000000/"&gt;installed &lt;/A&gt;&lt;SPAN&gt; ArcGIS Runtime for Java and still do not have that environment variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gayle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 13:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/not-able-to-display-shapefile/m-p/607561#M1852</guid>
      <dc:creator>GayleYoung</dc:creator>
      <dc:date>2011-09-27T13:04:50Z</dc:date>
    </item>
  </channel>
</rss>

