<?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: Displaying more than one (x,y) point, in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66600#M197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Jamal,&lt;BR /&gt;&lt;BR /&gt;Try this script that I have attached.&amp;nbsp; The zip file contains the following contents:&lt;BR /&gt;&lt;BR /&gt;1. outputworkspace (folder used for scratch)&lt;BR /&gt;2. Script (folder that contains the XY.py script)&lt;BR /&gt;3. Symbology (folder that contains the output symbology as layer files)&lt;BR /&gt;4. Toolbox.tbx (contains the FindCoordinate script tool)&lt;BR /&gt;&lt;BR /&gt;The script contains a creation of an event layer that uses your coordinate system.&lt;BR /&gt;&lt;BR /&gt;Steps to follow:&lt;BR /&gt;1. Copy these files into a folder to your local drive or server.&amp;nbsp; You might name it Coordinates.&lt;BR /&gt;2. Set the scratch workspace in your .mxd.&amp;nbsp; In this case, I used: C:\Files\GIS\Coordinates\outputworkspace (Geoprocessing -- Environment -- Workspace -- Scratch Workspace)&lt;BR /&gt;3. Open the Toolbox and run the tool.&lt;BR /&gt;4. Enter in the coordinate and click OK.&amp;nbsp; Takes about 1 second to run.&lt;BR /&gt;5. The results will appear in the table of contents, symbolized with the coordinates labeled based on the referenced layer file.&lt;BR /&gt;6. If the script successfully runs, in ArcMap go to: Geoprocessing -- Results -- Current Session.&lt;BR /&gt;7. Right Click on the last geoprocessing results and choose Share as Geoprocessing Service.&lt;BR /&gt;8. Following the publishing of your geoprocessing service, you can add this into your silverlight application as a tool.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&amp;nbsp; Below is a screenshot of what the geoprocessing results look like after it is run in ArcMap.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very much appreciated Peebles for the massive help and support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed exactly the valuable steps that you have supplied. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. It works on the ArcGIS desktop (the data is attached) but it doesn�??t keep more than one point on the map at the same time! As the second point is searched the first one is eliminated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I need to know the classification of the a land bounded by the coordinates below, then surely I need to see all of them together at the same time but not one by one. Is that possible with the code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;165000 160000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;165000 165000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;175000 160000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;175000 165000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22200[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I expect that it would be quite difficult if this command is enabled by �??add callout�?� the same way it works in the ArcGIS desktop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22201[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. It doesn�??t work on the Silverlight AT ALL. What might be the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22202[/ATTACH], [ATTACH=CONFIG]22203[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2013 06:14:09 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2013-02-27T06:14:09Z</dc:date>
    <item>
      <title>Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66594#M191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Displaying more than one (x,y) point,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the very powerful tool to get information at a particular location is to have its xy coordinates and then to go to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In certain cases, providing one point is not sufficient particularly if the information is required for an area (polygon)! In this case we need to provide more points to better represent the boundary of that area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22108[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Such tool is not built in the ???ArcGIS Viewer for Silverlight???! And if it is there as add-ins it is not as powerful as the one in the ArcGIS Desktop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. ???ArcGIS Viewer for Silverlight??? doesn???t recognize the coordinate system of the operational layer as the ???ArcGIS Web ADF??? does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22109[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The tool will never include functions the ???add callout??? and ???add labeled point???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22110[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The other issue is that the ???go to xy??? is not a tool on the ArcGIS so that it can be published!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22111[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What might be the solution then to have such tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2013 06:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66594#M191</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-02-23T06:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66595#M192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jamal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same issue, but built a python script and use it as a tool in the application builder.&amp;nbsp; The tool will add coordinates to the map.&amp;nbsp; The results will show up in the table of contents and you can use the zoom to layer to zoom in on the coordinates.&amp;nbsp; You can perform multiple searches.&amp;nbsp; Below is the full code for the tool if you are interested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import arcpy module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy, os, sys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Set Geoprocessing environments&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;scratch = arcpy.env.scratchWorkspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.scratchWorkspace = r"E:\geoprocessing\FindCoordinates\outputworkspace"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Create Table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FindCoordinatesTable = os.path.join(scratch,'FindCoordinates.dbf')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CreateTable_management(scratch, "FindCoordinates.dbf", "", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.AddField_management(FindCoordinatesTable, "X", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.AddField_management(FindCoordinatesTable, "Y", "DOUBLE", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Coordinate Input Parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;XCoordinate = arcpy.GetParameterAsText(0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;YCoordinate = arcpy.GetParameterAsText(1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Create Insert Cursor and a New Empty Row&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rowInserter = arcpy.InsertCursor(FindCoordinatesTable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NewRecord = rowInserter.newRow()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Populate Attributes of New Row&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NewRecord.X = XCoordinate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NewRecord.Y = YCoordinate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Insert New Row Into Table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rowInserter.insertRow(NewRecord)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Local variables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FindCoordinatesLayer = "FindCoordinatesLayer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureToPointSHP = os.path.join(scratch,'FeatureToPoint.shp')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FindCoordinateSHP = os.path.join(scratch,'FindCoordinate.shp')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FindCoordinatesBuffer = os.path.join(scratch,'FindCoordinatesBuffer.shp')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Make XY Event Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.MakeXYEventLayer_management(FindCoordinatesTable, "x", "y", FindCoordinatesLayer, "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433],METADATA['World',-180.0,-90.0,180.0,90.0,0.0,0.0174532925199433,0.0,1262]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119522E-09;0.001;0.001;IsHighPrecision", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Feature To Point&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.FeatureToPoint_management(FindCoordinatesLayer, FeatureToPointSHP, "CENTROID")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Project&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Project_management(FeatureToPointSHP, FindCoordinateSHP, "PROJCS['NAD_1983_StatePlane_Oklahoma_North_FIPS_3501_Feet',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',1968500.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-98.0],PARAMETER['Standard_Parallel_1',35.56666666666667],PARAMETER['Standard_Parallel_2',36.76666666666667],PARAMETER['Latitude_Of_Origin',35.0],UNIT['Foot_US',0.3048006096012192]]", "WGS_1984_(ITRF00)_To_NAD_1983", "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433],METADATA['World',-180.0,-90.0,180.0,90.0,0.0,0.0174532925199433,0.0,1262]]")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Coordinate Buffer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Buffer_analysis(FindCoordinateSHP, FindCoordinatesBuffer, "75 Feet", "FULL", "ROUND", "NONE", "")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.AddMessage("Coordinates mapped.")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Output Parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.SetParameterAsText(2,FindCoordinateSHP)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.SetParameterAsText(3,FindCoordinatesBuffer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set tool Parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find X Coordinate (Long)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Double&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Find Y Coordinate (Lat)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Double&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Coordinate Output&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; Shapefie&amp;nbsp; Type: Derived; Direction: Output; Environment: ScratchWorkspace; Symbology (specify layer file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Coordinate Output Buffer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shapefie&amp;nbsp; Type: Derived; Direction: Output; Environment: ScratchWorkspace; Symbology (specify layer file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What it looks like in the application Builder:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 19:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66595#M192</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-02-26T19:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66596#M193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will also point out that the data in the application is in state plane coordinates (feet), so I had to reproject the intermediate data to WGS 1984 to get the coordinates in decimal degrees.&amp;nbsp; If you are working in WGS 1984, you can eliminate this step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the reason there is a buffer is because you cannot zoom to a point in the application builder. . only lines and polygons.&amp;nbsp; The buffer is invisible, so only the point shows up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems kind of goofy, but this is how I got it to work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 19:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66596#M193</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-02-26T19:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66597#M194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I will also point out that the data in the application is in state plane coordinates (feet), so I had to reproject the intermediate data to WGS 1984 to get the coordinates in decimal degrees.&amp;nbsp; If you are working in WGS 1984, you can eliminate this step.&lt;BR /&gt;&lt;BR /&gt;Also the reason there is a buffer is because you cannot zoom to a point in the application builder. . only lines and polygons.&amp;nbsp; The buffer is invisible, so only the point shows up.&lt;BR /&gt;&lt;BR /&gt;Seems kind of goofy, but this is how I got it to work.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much Peebles for the help and sharing the code. This is very useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to construct a tool script (attached) and providing x,y coordinate but sounds nothing come up! (Our coordinate system is Palestine grid 1923)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22192[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where might be my mistake?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 21:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66597#M194</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-02-26T21:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66598#M195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jamal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you zip up your&amp;nbsp; source data as a shapefile and re-attach?&amp;nbsp; You can eliminate the fields you do not want to show.&amp;nbsp; The .gdb is not working.&amp;nbsp;&amp;nbsp; I will take a look.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 23:02:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66598#M195</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-02-26T23:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66599#M196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ipeebles&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this script that I have attached.&amp;nbsp; The zip file contains the following contents:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. outputworkspace (folder used for scratch)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Script (folder that contains the XY.py script)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Symbology (folder that contains the output symbology as layer files)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Toolbox.tbx (contains the FindCoordinate script tool)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script contains a creation of an event layer that uses your coordinate system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steps to follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Copy these files into a folder to your local drive or server.&amp;nbsp; You might name it Coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Set the scratch workspace in your .mxd.&amp;nbsp; In this case, I used: C:\Files\GIS\Coordinates\outputworkspace (Geoprocessing -- Environment -- Workspace -- Scratch Workspace)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Open the Toolbox and run the tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Enter in the coordinate and click OK.&amp;nbsp; Takes about 1 second to run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. The results will appear in the table of contents, symbolized with the coordinates labeled based on the referenced layer file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. If the script successfully runs, in ArcMap go to: Geoprocessing -- Results -- Current Session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Right Click on the last geoprocessing results and choose Share as Geoprocessing Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Following the publishing of your geoprocessing service, you can add this into your silverlight application as a tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&amp;nbsp; Below is a screenshot of what the geoprocessing results look like after it is run in ArcMap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 02:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66599#M196</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-02-27T02:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66600#M197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Jamal,&lt;BR /&gt;&lt;BR /&gt;Try this script that I have attached.&amp;nbsp; The zip file contains the following contents:&lt;BR /&gt;&lt;BR /&gt;1. outputworkspace (folder used for scratch)&lt;BR /&gt;2. Script (folder that contains the XY.py script)&lt;BR /&gt;3. Symbology (folder that contains the output symbology as layer files)&lt;BR /&gt;4. Toolbox.tbx (contains the FindCoordinate script tool)&lt;BR /&gt;&lt;BR /&gt;The script contains a creation of an event layer that uses your coordinate system.&lt;BR /&gt;&lt;BR /&gt;Steps to follow:&lt;BR /&gt;1. Copy these files into a folder to your local drive or server.&amp;nbsp; You might name it Coordinates.&lt;BR /&gt;2. Set the scratch workspace in your .mxd.&amp;nbsp; In this case, I used: C:\Files\GIS\Coordinates\outputworkspace (Geoprocessing -- Environment -- Workspace -- Scratch Workspace)&lt;BR /&gt;3. Open the Toolbox and run the tool.&lt;BR /&gt;4. Enter in the coordinate and click OK.&amp;nbsp; Takes about 1 second to run.&lt;BR /&gt;5. The results will appear in the table of contents, symbolized with the coordinates labeled based on the referenced layer file.&lt;BR /&gt;6. If the script successfully runs, in ArcMap go to: Geoprocessing -- Results -- Current Session.&lt;BR /&gt;7. Right Click on the last geoprocessing results and choose Share as Geoprocessing Service.&lt;BR /&gt;8. Following the publishing of your geoprocessing service, you can add this into your silverlight application as a tool.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&amp;nbsp; Below is a screenshot of what the geoprocessing results look like after it is run in ArcMap.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very much appreciated Peebles for the massive help and support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed exactly the valuable steps that you have supplied. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. It works on the ArcGIS desktop (the data is attached) but it doesn�??t keep more than one point on the map at the same time! As the second point is searched the first one is eliminated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I need to know the classification of the a land bounded by the coordinates below, then surely I need to see all of them together at the same time but not one by one. Is that possible with the code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;165000 160000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;165000 165000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;175000 160000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;175000 165000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22200[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I expect that it would be quite difficult if this command is enabled by �??add callout�?� the same way it works in the ArcGIS desktop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22201[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. It doesn�??t work on the Silverlight AT ALL. What might be the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22202[/ATTACH], [ATTACH=CONFIG]22203[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 06:14:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66600#M197</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-02-27T06:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66601#M198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jamal, it looks like you are getting closer.&amp;nbsp; You will only be able to see one result at a time in ArcGIS desktop, because the data is overwritten in the scratchworkspace each time you run the tool.&amp;nbsp; This works as designed.&amp;nbsp; Now, if you run the script successfully, you should be able to publish a geoprocessing service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked your projection system for your data and it looks fine.&amp;nbsp; There shouldn't be any issues there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I will suggest you do is check your geoprocessing service settings.&amp;nbsp; Specifically look at the Parameters and look for the View Results with a Map Service.&amp;nbsp; Make sure the box is checked.&amp;nbsp; I have this checked and I can see my geoprocessing results for the same tool I built for our organization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After you check your service, re-run the tool in the application builder.&amp;nbsp; When you run the tool, the results will appear in the table of contents, then you can zoom to layer using the out of the box tool.&amp;nbsp; If you run the tool again, another result will appear in the table of contents on top of the other one in the table of contents.&amp;nbsp; This will give your multiple results that you are wanting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you are close, because you were able to publish the service.&amp;nbsp; Check your service settings again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 23:18:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66601#M198</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-02-27T23:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66602#M199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Jamal432@gmail.com"&gt;Jamal432@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Jamal, it looks like you are getting closer.&amp;nbsp; You will only be able to see one result at a time in ArcGIS desktop, because the data is overwritten in the scratchworkspace each time you run the tool.&amp;nbsp; This works as designed.&amp;nbsp; Now, if you run the script successfully, you should be able to publish a geoprocessing service.&lt;BR /&gt;&lt;BR /&gt;I checked your projection system for your data and it looks fine.&amp;nbsp; There shouldn't be any issues there.&lt;BR /&gt;&lt;BR /&gt;What I will suggest you do is check your geoprocessing service settings.&amp;nbsp; Specifically look at the Parameters and look for the View Results with a Map Service.&amp;nbsp; Make sure the box is checked.&amp;nbsp; I have this checked and I can see my geoprocessing results for the same tool I built for our organization.&lt;BR /&gt;&lt;BR /&gt;After you check your service, re-run the tool in the application builder.&amp;nbsp; When you run the tool, the results will appear in the table of contents, then you can zoom to layer using the out of the box tool.&amp;nbsp; If you run the tool again, another result will appear in the table of contents on top of the other one in the table of contents.&amp;nbsp; This will give your multiple results that you are wanting.&lt;BR /&gt;&lt;BR /&gt;I think you are close, because you were able to publish the service.&amp;nbsp; Check your service settings again.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very much appreciated Peebles for the prompt help and elaboration,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Sure, the geoprocessing tool is working fine on the ArcGIS desktop (screenshot below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22243[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The geoprocessing tool is successfully published (screenshot below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22244[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. the geoprocessing tool is successful added to the Silverlight but I got the same error as I run it (screenshot below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]22245[/ATTACH], [ATTACH=CONFIG]22246[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What other issues that I need to consider and set to let it work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 06:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66602#M199</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-02-28T06:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying more than one (x,y) point,</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66603#M200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Jamal, it looks like you are getting closer.&amp;nbsp; You will only be able to see one result at a time in ArcGIS desktop, because the data is overwritten in the scratchworkspace each time you run the tool.&amp;nbsp; This works as designed.&amp;nbsp; Now, if you run the script successfully, you should be able to publish a geoprocessing service.&lt;BR /&gt;&lt;BR /&gt;I checked your projection system for your data and it looks fine.&amp;nbsp; There shouldn't be any issues there.&lt;BR /&gt;&lt;BR /&gt;What I will suggest you do is check your geoprocessing service settings.&amp;nbsp; Specifically look at the Parameters and look for the View Results with a Map Service.&amp;nbsp; Make sure the box is checked.&amp;nbsp; I have this checked and I can see my geoprocessing results for the same tool I built for our organization.&lt;BR /&gt;&lt;BR /&gt;After you check your service, re-run the tool in the application builder.&amp;nbsp; When you run the tool, the results will appear in the table of contents, then you can zoom to layer using the out of the box tool.&amp;nbsp; If you run the tool again, another result will appear in the table of contents on top of the other one in the table of contents.&amp;nbsp; This will give your multiple results that you are wanting.&lt;BR /&gt;&lt;BR /&gt;I think you are close, because you were able to publish the service.&amp;nbsp; Check your service settings again.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Ian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got a help form Mr. Robert and the issue was related to level of license of my ArcGIS Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/82268-Python-script-tool-works-in-Desktop-but-fails-in-Web?p=290652#post290652"&gt;http://forums.arcgis.com/threads/82268-Python-script-tool-works-in-Desktop-but-fails-in-Web?p=290652#post290652&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to get an evaluation license for the ArcGIS Server Advanced and the tool worked like a charm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24038[/ATTACH], [ATTACH=CONFIG]24039[/ATTACH], [ATTACH=CONFIG]24040[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 May 2013 12:58:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/displaying-more-than-one-x-y-point/m-p/66603#M200</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-05-04T12:58:48Z</dc:date>
    </item>
  </channel>
</rss>

