<?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: Load Local Shapefile with Symbology and Attributes in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268198#M6281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: nathanenge&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you been sucessful in getting the shapefile overlay to label based on attribute?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Aug 2010 17:29:02 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2010-08-09T17:29:02Z</dc:date>
    <item>
      <title>Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268195#M6278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: tbrophy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;This is a question that I hope has been asked before:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;Is there any way for my users to load a shapefile into my SFV while retaining the attributes and the symbology of the layer file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;I downloaded and am using �??Shape File Overlay for Sample Viewer�?� from the ArcGIS resource Center, submitted 3-4-2010 by �??HardWork�?�. It works great, but I need it go a step further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;//&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;Shape File Overlay for Sample Viewer&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16846"&gt;&lt;SPAN style="color: #800080; font-size: 2; font-family: Arial;"&gt;http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16846&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;//&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;I really need the symbology and attributes to make it complete. Has anyone done this? Any suggestions would be incredibly appreciated!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;I have 2 applications using Web Mercator &amp;amp; WGS84 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;Sample Flex Viewer: flexviewer-src-1.0.zip (Build 06.12.09) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;agslib-1.2.swc &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;flex_sdk_3.2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;Required Adobe Flash Player version 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;Attached are 2 sample shapefiles (and .lyr files) in both projections: (102100, 4326)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 20:10:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268195#M6278</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-07-14T20:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268196#M6279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: elmeras&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello.&amp;nbsp; I believe you and I want the same thing.&amp;nbsp; I asked as similar question on the thread below:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/7364-How-to-display-.dbf-attributes-for-the-Shape-File-Overlay-for-Sample-Viewer?highlight=shape+overlay"&gt;http://forums.arcgis.com/threads/7364-How-to-display-.dbf-attributes-for-the-Shape-File-Overlay-for-Sample-Viewer?highlight=shape+overlay&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope we get direction soon.&amp;nbsp; I will continue to check both of our threads and I will let you know if I receive any feedback.&amp;nbsp; Thanks - Allison&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 10:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268196#M6279</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-07-15T10:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268197#M6280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A quick look at the description of the Shapefile Overlay description says it uses some of this library&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/vanrijkom-flashlibs/wiki/SHP"&gt;http://code.google.com/p/vanrijkom-flashlibs/wiki/SHP&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and Mansour Raad's post here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://thunderheadxpler.blogspot.com/2008/12/shapefile-viewer.html"&gt;http://thunderheadxpler.blogspot.com/2008/12/shapefile-viewer.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The latest comments also state the file has been updated to include the DBF library needed to show attributes, so you may want to try downloading it again. Looks he compiled them into a nice .swc already. The source should be the same as here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://vanrijkom-flashlibs.googlecode.com/svn/trunk/org/vanrijkom/dbf/"&gt;http://vanrijkom-flashlibs.googlecode.com/svn/trunk/org/vanrijkom/dbf/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you check out the example Mansour provides, he also uses that DBF library from the same author to show the attribute data. Unforunately, I don't know of a way to read a .lyr file and parse it in Flex. I don't know enough about the internals of the file for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 12:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268197#M6280</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2010-07-15T12:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268198#M6281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: nathanenge&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you been sucessful in getting the shapefile overlay to label based on attribute?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 17:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268198#M6281</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-09T17:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268199#M6282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you been sucessful in getting the shapefile overlay to label based on attribute?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not yet. I was hoping this widget had already been created. This has to be a common workflow. . .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 18:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268199#M6282</guid>
      <dc:creator>ThomasBrophy</dc:creator>
      <dc:date>2010-08-09T18:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268200#M6283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: rjgonzalez73&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you been sucessful in getting the shapefile overlay to label based on attribute?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is a modified version of the shapefile overlay widget that allows you to modify the symbology, displays the first attribute and supports points, lines and polygons.&amp;nbsp; You will need to have the original shapefile widget installed and update with the attached files.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if this works for you.&amp;nbsp; If it does, I can post it to the code gallery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DISCLAIMER: An intern in my group modified the widget, so I didn't write the code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 18:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268200#M6283</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-17T18:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268201#M6284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Attached is a modified version of the shapefile overlay widget that allows you to modify the symbology, displays the first attribute and supports points, lines and polygons. You will need to have the original shapefile widget installed and update with the attached files. &lt;BR /&gt; &lt;BR /&gt;Let me know if this works for you. If it does, I can post it to the code gallery.&lt;BR /&gt; &lt;BR /&gt;DISCLAIMER: An intern in my group modified the widget, so I didn't write the code.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Works great! Thank you so much. I got about 12 "3596: Duplicate variable definition" warnings in FB3, but I can live with that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Have you done much re-projection work in Flex? Robert Scheitlin helped me out a bunch with this before he moved on to his work w/ SFV 2.0. I use Bing base maps in the Web Mercator Aux Sphere (102100) projection for my Flex project. Every time my users want to use this tool, they need to convert their shapefile from WGS 1984 Geographic (4326) &lt;/SPAN&gt;&lt;SPAN style="font-family: Wingdings;"&gt;à&lt;/SPAN&gt;&lt;SPAN style="font-family:Tahoma;"&gt; (102100) in ArcMap first. Do you know of a way to convert this �??on-the-fly�?�?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Note: The input shapefiles are always in (4326), so the conversion would always be the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Any help would be greatly appreciated. Thanks again for the earlier help. I�??m going to implement it this week.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 18:34:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268201#M6284</guid>
      <dc:creator>ThomasBrophy</dc:creator>
      <dc:date>2010-08-18T18:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268202#M6285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: nathanenge&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It worked for me as well, though I had to search the net for a couple of i_bold icons. thanks for this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 18:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268202#M6285</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-18T18:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268203#M6286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[ATTACH]2208[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached are the DrawWidget_wm adjusted files Robert Scheitlin helped me with some time ago. The code might help in the re-project on-the-fly. Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 19:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268203#M6286</guid>
      <dc:creator>ThomasBrophy</dc:creator>
      <dc:date>2010-08-18T19:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268204#M6287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: rjgonzalez73&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Works great! Thank you so much. I got about 12 "3596: Duplicate variable definition" warnings in FB3, but I can live with that.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using FB3 also and I get several 3596: Duplicate variable definition warnings, however the warnings point to my ConfigManager.as file. I am using a heavily customized version of the Sample Viewer, but I can download the original Sample Viewer and install the widget and see if I get the same warnings. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Have you done much re-projection work in Flex? Robert Scheitlin helped me out a bunch with this before he moved on to his work w/ SFV 2.0. I use Bing base maps in the Web Mercator Aux Sphere (102100) projection for my Flex project. Every time my users want to use this tool, they need to convert their shapefile from WGS 1984 Geographic (4326) &lt;/SPAN&gt;&lt;SPAN style="font-family: Wingdings;"&gt;à&lt;/SPAN&gt;&lt;SPAN style="font-family:Tahoma;"&gt; (102100) in ArcMap first. Do you know of a way to convert this �??on-the-fly�?�?&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Note: The input shapefiles are always in (4326), so the conversion would always be the same.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to Flex and GIS systems in general so I am trying to get up to speed and haven't done any re-projection work.&amp;nbsp; Sorry I am not able to help with this part of it.&amp;nbsp; Since I have received help from others on the forums, I wanted to share what I could.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 19:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268204#M6287</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-18T19:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268205#M6288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Do you know of a way to convert this �??on-the-fly�?�?&lt;/SPAN&gt; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Flex API doesn't directly convert features on-the-fly.&amp;nbsp; However, there are two ways of converting from one projection to another.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) If it's between geographic and web mercator, use the WebMercatorUtil class &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/utils/WebMercatorUtil.html&amp;amp;com/esri/ags/utils/class-list.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/utils/WebMercatorUtil.html&amp;amp;com/esri/ags/utils/class-list.html&lt;/A&gt;&lt;SPAN&gt; to project the geometries.&amp;nbsp; This is all done client-side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Use the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/tasks/GeometryService.html&amp;amp;com/esri/ags/tasks/class-list.html"&gt;GeometryService project method&lt;/A&gt;&lt;SPAN&gt; to project geometries between any coordinate system.&amp;nbsp; This will send the request to the server which will project it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note if using the 1.x API, the GeometryService took graphics, in 2.x it takes geometries instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 01:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268205#M6288</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-08-19T01:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268206#M6289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: tbrophy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;1) If it's between geographic and web mercator, use the WebMercatorUtil class &lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/utils/WebMercatorUtil.html&amp;amp;com/esri/ags/utils/class-list.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/utils/WebMercatorUtil.html&amp;amp;com/esri/ags/utils/class-list.html&lt;/A&gt; to project the geometries. This is all done client-side. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;Thank you for the&lt;SPAN style="font-size:2;"&gt; direction&lt;/SPAN&gt;. I really appreciate it. I've been trying to get "WebMercatorUtil.geographicToWebMercator" into the ShapeFile_Overlay_PLP code from Ricky Gonzalez. Can you show me how this is done? I've been at it all morning. (I get in pretty early.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;I am using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;SFV: flexviewer-src-1.0.zip (Build 06.12.09) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;agslib-1.2.swc &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;flex_sdk_3.2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;Required Adobe Flash Player version 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Arial;"&gt;(We are switching server architecture and can't move to ArcGIS 10 or Flex 2.0 until early next year.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 2; font-family: Arial;"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 11:31:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268206#M6289</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-19T11:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268207#M6290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi i downloaded the atached fzip and it returns me tha the zip file is invalid coul you send me the code to my personal email &lt;/SPAN&gt;&lt;A href="mailto:oletic@gmail.com"&gt;oletic@gmail.com&lt;/A&gt;&lt;SPAN&gt;, thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Aug 2010 10:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268207#M6290</guid>
      <dc:creator>leonardooletic</dc:creator>
      <dc:date>2010-08-22T10:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268208#M6291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: coomsie&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the code,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've quickly converted to the SFV 2.0 Beta 2, if anyone wants it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've included the compiled version and source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DISCLAIMER: A quick modify of the existing widget to bring it up to flex 2.0, code by others ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. it would be interesting to extend this to have the same graphics colors etc control as the advanced graphic widget in sfv 1.3 (we have one for SFV 2.0 - using flex 2.0 api) and have the ability to push the graphic (which is now geometry) into a feature layer as a new edit feature ... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone thinking of doing that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Coomsie&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Attached is a modified version of the shapefile overlay widget that allows you to modify the symbology, displays the first attribute and supports points, lines and polygons.&amp;nbsp; You will need to have the original shapefile widget installed and update with the attached files.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Let me know if this works for you.&amp;nbsp; If it does, I can post it to the code gallery.&lt;BR /&gt;&lt;BR /&gt;DISCLAIMER: An intern in my group modified the widget, so I didn't write the code.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 09:16:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268208#M6291</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-24T09:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268209#M6292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Attached is a modified version of the shapefile overlay widget that allows you to modify the symbology, displays the first attribute and supports points, lines and polygons. You will need to have the original shapefile widget installed and update with the attached files. &lt;BR /&gt; &lt;BR /&gt;Let me know if this works for you. If it does, I can post it to the code gallery.&lt;BR /&gt; &lt;BR /&gt;DISCLAIMER: An intern in my group modified the widget, so I didn't write the code.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Mr. Gonzalez,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;I've tested your PLP version of the ShpOverlay and it works great for polygon shps in both WGS84 and Web Mercator flex applications. (SFV 1.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;I did come across a point location error in a WGS84 the application. (It works fine for my Web Mercator app.) Have you tested the correctness of the point locations for a point shapefile input? (I did not test a line shapefile.) The points are all pulled towards the center of the map 0, 0 anywhere from 20 - 70 miles. Please let me know what you come up with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Have you given any thought to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;- &lt;/SPAN&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Allowing the user to choose the label field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;- &lt;/SPAN&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Display using a color ramp for multi - feature polygon?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;- &lt;/SPAN&gt;&lt;SPAN style="font-family:Tahoma;"&gt;A place in the code to convert projection?&amp;nbsp; ie. Input shapefile WGS84 (4326)&lt;/SPAN&gt;&lt;SPAN style="font-family:Tahoma;"&gt; - Output projected graphic of shapefile in Web Mercator (102003) application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Thank you again for hard work on the PLP version you posted.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 15:43:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268209#M6292</guid>
      <dc:creator>ThomasBrophy</dc:creator>
      <dc:date>2010-08-26T15:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268210#M6293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: tbrophy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Have you tested the correctness of the point locations for a point shapefile input? (I did not test a line shapefile.) The points are all pulled towards the center of the map 0, 0 anywhere from 20 - 70 miles.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;I just figured out what is going on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;The offset of the graphic points generated by our tool was so random that I was curious about their LAT LONGs.&amp;nbsp; I was right, each graphic point was right to the whole number.&amp;nbsp; If the point was -85.9495, 33.6794, the graphic point would be located at -85.00, 33.00.&amp;nbsp; And the reason it works perfectly for Web Mercator is that it uses whole numbers in meters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;I hope this helps in your adjustments.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 16:05:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268210#M6293</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-26T16:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268211#M6294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: rjgonzalez73&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;I did come across a point location error in a WGS84 the application. (It works fine for my Web Mercator app.) Have you tested the correctness of the point locations for a point shapefile input? (I did not test a line shapefile.) The points are all pulled towards the center of the map 0, 0 anywhere from 20 - 70 miles. Please let me know what you come up with.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I indicated in my original post, I didn't write the code so I didn't do any testing.&amp;nbsp; I haven't really looked at the code in depth to support it or add additional functionality.&amp;nbsp; I just posted the code since people were asking for the functionality and I knew it would be useful.&amp;nbsp; Once my environment has been upgraded to API version 2.0, I will revisit this widget and see if I can include some of the changes you requested.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 14:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268211#M6294</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-30T14:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268212#M6295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's great! I have issue with opening the file. It says 'it's not a valid zip file'. Any one has the same issue at all or I missed something? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;thanks for the code,&lt;BR /&gt;&lt;BR /&gt;I've quickly converted to the SFV 2.0 Beta 2, if anyone wants it.&lt;BR /&gt;&lt;BR /&gt;I've included the compiled version and source code.&lt;BR /&gt;&lt;BR /&gt;DISCLAIMER: A quick modify of the existing widget to bring it up to flex 2.0, code by others ....&lt;BR /&gt;&lt;BR /&gt;p.s. it would be interesting to extend this to have the same graphics colors etc control as the advanced graphic widget in sfv 1.3 (we have one for SFV 2.0 - using flex 2.0 api) and have the ability to push the graphic (which is now geometry) into a feature layer as a new edit feature ... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Anyone thinking of doing that?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Coomsie&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 14:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268212#M6295</guid>
      <dc:creator>EjayLai</dc:creator>
      <dc:date>2010-09-01T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268213#M6296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: millsa&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-family:Tahoma;"&gt;Mr. Gonzalez,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Tahoma;"&gt;I've tested your PLP version of the ShpOverlay and it works great for polygon shps in both WGS84 and Web Mercator flex applications. (SFV 1.0)&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Thomas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you get the widget to re-project in your Web Mercator application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, to fix the point issue in your WGS84 widget, change the following in "ShpPoint.as":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private var xcoor:Number;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private var ycoor:Number;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public function ShpPoint(xco:Number, yco:Number)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Adam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 18:10:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268213#M6296</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-09-01T18:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load Local Shapefile with Symbology and Attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268214#M6297</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;BR /&gt;&lt;SPAN&gt;it need the file to be a zip one currently,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a normal zip file with all the normal gis file within it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+ *.dbf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ *.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ *.shx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you could change the code to look for the files unzipped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That's great! I have issue with opening the file. It says 'it's not a valid zip file'. Any one has the same issue at all or I missed something? &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 23:18:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/load-local-shapefile-with-symbology-and-attributes/m-p/268214#M6297</guid>
      <dc:creator>IainCampion</dc:creator>
      <dc:date>2010-09-01T23:18:50Z</dc:date>
    </item>
  </channel>
</rss>

