<?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: arcpy script to convert shapefile to Json format in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386354#M35679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ciava,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this way but the problem the user upload cadfile, then display cad file into map but the are are two problems &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1- this example only for shape file and user need to upload cad not shape file and this shape file shoud be in define format&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zip file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2-Cad file that user upload it may be not have coordinate system so I create geoprocessing task to set coordinate to cad file and i wish to convert cad file to json to display it into map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and best wished.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Jan 2013 17:52:15 GMT</pubDate>
    <dc:creator>AmmarAssem1</dc:creator>
    <dc:date>2013-01-20T17:52:15Z</dc:date>
    <item>
      <title>arcpy script to convert shapefile to Json format</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386350#M35675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i need arcpy script to use it when creating Geoprocessing task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 13:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386350#M35675</guid>
      <dc:creator>AmmarAssem1</dc:creator>
      <dc:date>2013-01-20T13:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy script to convert shapefile to Json format</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386351#M35676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ammar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a script on ths page that takes the json produced in flex and converts it to shapefiles, I have used it and it works. Maybe of some use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/33618-FAO-Robert-Scheitlin-or-anyone-who-knows-about-saved-graphics-as-text-files?highlight=Python+json"&gt;http://forums.arcgis.com/threads/33618-FAO-Robert-Scheitlin-or-anyone-who-knows-about-saved-graphics-as-text-files?highlight=Python+json&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also there is a script here to convert feature class to JSON:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=15545"&gt;http://arcscripts.esri.com/details.asp?dbid=15545&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 13:34:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386351#M35676</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-20T13:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy script to convert shapefile to Json format</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386352#M35677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anthon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reply, I downloaded (convert feature class to JSON Script) and try to run it but this error occurred&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:#ff0000;"&gt;&amp;lt;type 'exceptions.AttributeError'&amp;gt;: 'module' object has no attribute 'write'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#ff0000;"&gt;Failed to execute (FeatureClassToGeoJSON).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I follow steps in ReadMe textfile but noway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:#000000;"&gt;I gooogle this error but I cannot find any solution&lt;BR /&gt;&lt;BR /&gt;Best wishes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 14:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386352#M35677</guid>
      <dc:creator>AmmarAssem1</dc:creator>
      <dc:date>2013-01-20T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy script to convert shapefile to Json format</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386353#M35678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can also use &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/apidocs/rest/generate.html"&gt;Generate &lt;/A&gt;&lt;SPAN&gt; operation serializing shapefile to json (esri)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;see &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/portal_addshapefile"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/portal_addshapefile&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 16:41:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386353#M35678</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-01-20T16:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy script to convert shapefile to Json format</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386354#M35679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ciava,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this way but the problem the user upload cadfile, then display cad file into map but the are are two problems &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1- this example only for shape file and user need to upload cad not shape file and this shape file shoud be in define format&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zip file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2-Cad file that user upload it may be not have coordinate system so I create geoprocessing task to set coordinate to cad file and i wish to convert cad file to json to display it into map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and best wished.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2013 17:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcpy-script-to-convert-shapefile-to-json-format/m-p/386354#M35679</guid>
      <dc:creator>AmmarAssem1</dc:creator>
      <dc:date>2013-01-20T17:52:15Z</dc:date>
    </item>
  </channel>
</rss>

