|
POST
|
Hi Alex, Is this what you are after? Edit fiddle - JSFiddle
... View more
08-27-2014
12:44 AM
|
0
|
3
|
2547
|
|
POST
|
Hi Michael, Are you looking for something similar to this sample? KML | ArcGIS API for JavaScript
... View more
08-27-2014
12:00 AM
|
0
|
5
|
2761
|
|
POST
|
Hi Steve, Sorry about that din realize my logic would break when extent changes. I have modified the code to work for extent change as well. Please look for createRipple method in the code, i have made an assumption there. you will have to get your graphics object there.
... View more
08-26-2014
07:45 PM
|
2
|
0
|
4796
|
|
POST
|
Hi Steve, Should say it's an interesting idea to highlight features. Managed to get the point highlight working. I'll try the line when i can find sometime. If you get it working before, do post back I'll be interested in knowing.
... View more
08-26-2014
02:26 AM
|
1
|
4
|
4796
|
|
POST
|
Hi Tom, Glad it worked, Happy to help!!! Regards Riyas
... View more
08-25-2014
11:15 PM
|
0
|
10
|
2563
|
|
POST
|
Hi Tom, Updated the fiddle again. Hope this is what you wanted. Edit fiddle - JSFiddle
... View more
08-25-2014
09:21 PM
|
2
|
12
|
3983
|
|
POST
|
Hi Alex, Update: Add below style class. .esriScalebarMetricLine{ box-shadow: 5px 5px 2px #888888; } .esriScalebarRuler{ box-shadow: 5px 5px 2px #888888; } Above will not work when scalebar style is line and unit is english. You can use .esriScalebarEnglishLine{ box-shadow: 5px 5px 2px #888888; } for this scenario but the style looks awkward (last image) Below are the output, if this is what you are looking for, Line & Dual: Ruler & English; Line & English:
... View more
08-25-2014
08:33 PM
|
1
|
1
|
1188
|
|
POST
|
Hi Peter, replace your lines 29 and 30 with below. Since you have set datatype as FeatureDataset, filenames will be an empty list.
for dir in dirnames:
featureDataSet = os.path.join(dirpath, dir)
print featureDataSet
... View more
08-25-2014
08:08 PM
|
2
|
0
|
2666
|
|
POST
|
Hi Jose, If you want to use a Model then, I can't think of any option other than what Luke has suggested. If you can export your model as a script then, possibly you can attempt below. Create an environment variable pointing to a txt file, containing your feature class variable parameters. Get the environment variable in your python script and read through the file to create a dictionary of values. Use the variables in the dictionary as input for your processes. Attached script reads a variable file. Below was the content of my variable file. var1||something var2||C:\tempdelete\PL_TO_LINE.gdb\PL\CONSOLIDATED var1||override
... View more
08-25-2014
06:23 AM
|
0
|
1
|
1287
|
|
POST
|
Hi Tom, I have updated the fiddle to perform identify on both the layers. What you needed for a deferredlist which will fire up after all the deferred events for identify has been completed. Edit fiddle - JSFiddle
... View more
08-24-2014
10:44 PM
|
2
|
0
|
3983
|
|
POST
|
Hi David, Attached script should do the trick for you. modify the source, destination and fieldName to point to your script parameters.
... View more
08-24-2014
05:09 PM
|
3
|
13
|
6716
|
|
POST
|
Hi Tom, I have updated the fiddle to identify your county features. Hope this is what you were looking for. Edit fiddle - JSFiddle
... View more
08-24-2014
12:37 AM
|
2
|
2
|
3983
|
|
POST
|
Hi Nick, Yes you can call your model from command line. Export your model as Script file. Include below lines at the start of your script
# Import system modules
import sys, string, os, logging
WORK_FOLDER = "E:\\Workfolder"
# initiate logging
logging.basicConfig(filename=WORK_FOLDER+'Script.log',format='%(asctime)s %(message)s',level=logging.DEBUG)
# Set the License...
arcpy.SetProduct("ArcEditor")
logging.debug('product initialised')
# Load required toolboxes...
arcpy.AddToolbox("c:\program files\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx")
arcpy.AddToolbox("c:\program files\arcgis\desktop10.2\ArcToolbox\Toolboxes\Conversion Tools.tbx")
logging.debug('Loaded toolbox')
Now you can execute this script from command line or scheduled task by calling python.exe like below. c:\python27\python.exe c:\gisWork\myscript.py
... View more
08-23-2014
05:04 AM
|
1
|
1
|
1036
|
|
POST
|
Hi Tom, Looks like. what you are looking for is an identify. I was looking at your map service http://services.arcgis.com/IARhjUVNlIMumZL3/ArcGIS/rest/services/CPP4OTS_MAP/MapServer and it was not supporting query operation without which you can't perform an identify. Below code should work once you have enabled query operation for your map service. Edit fiddle - JSFiddle
... View more
08-23-2014
03:39 AM
|
2
|
4
|
3983
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-31-2014 06:04 AM | |
| 1 | 09-25-2014 06:03 PM | |
| 1 | 09-16-2014 06:15 PM | |
| 1 | 10-08-2014 03:50 AM | |
| 1 | 08-25-2014 08:33 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|