|
POST
|
Hey Becky, I just uploaded the ArcGIS Server Administration Toolkit: http://www.arcgis.com/home/item.html?id=12dde73e0e784e47818162b4d41ee340 Its a bunch of tools and scripts which you can use to do administrative tasks. I also enhanced the listing of services- it now happens through the REST Admin, so even if a task is stopped, it'll report it back in the list. Hope this could be of some use to you.
... View more
06-28-2012
01:14 PM
|
0
|
0
|
2146
|
|
POST
|
Shaun, Any chance you could send me your original tool in a zip file and data necessary to run it? The packaging of script tools does do variable substitution as you have discovered, however it should always run once it becomes a GPK. If you're seeing an instance where that isn't the case I want to understand why. If you're able to share, please send to khibma[@]esri.com thanks
... View more
06-25-2012
09:31 AM
|
0
|
0
|
607
|
|
POST
|
Ahhhh if thats what you're after (Darren's comments) - this is now available in 10.1 with editor tracking http://resources.arcgis.com/en/help/main/10.1/index.html#//01m600000068000000
... View more
06-21-2012
08:54 AM
|
0
|
0
|
1564
|
|
POST
|
I'm not sure I completely understand your workflow. Exactly how are the points being entered - manually by someone at the computer? The GPS device logs the points to a file (or similar) and you will read points at a given time? It sounds sort of like you're creating a tracking application? When you say the map is updated every few seconds, how is it updated? Is this a map service and you want it to refresh the newly added points? I'm sure what you're after is possible, I just dont understand how you want to implement.
... View more
06-21-2012
08:01 AM
|
0
|
0
|
1564
|
|
POST
|
This is an interesting article about making your Python setup large address aware. http://gisgeek.blogspot.com/2012/01/set-32bit-executable-largeaddressaware.html I'm not encouraging it (use at your own risk), but you may find gains from it.
... View more
06-19-2012
01:50 PM
|
0
|
0
|
1674
|
|
POST
|
Ugly 🙂 Function > prettiness? I''ll post if I can find out why you cant pass your list of fields in like you were trying.
... View more
06-18-2012
02:48 PM
|
0
|
0
|
2863
|
|
POST
|
Right, but what I'm saying is I'm not too sure that the cursor will take a dictionary as input.... From the help: insertRow (row)A list or tuple of values. The order of values must be in the same order as specified when creating the cursor. I havent personally worked a whole lot with the new cursors, but I stick with straight lists when working with them. Heres snippets from 2 scripts I've written. Polygons... cursorFC = arcpy.da.InsertCursor(fc, ["SHAPE@", "EventDate", "Scale", "InvScale", "Width", "Height"])
polygonGeo = arcpy.Polygon(shapeArray)
cursorFC.insertRow([polygonGeo, eventDateTime, eventScale, eventInvScale, eventWidth, eventHeight]) or Points rowsDA = da.InsertCursor(outFC, ['Name', 'Descript', 'Type', 'DateTimeS', 'Elevation', 'SHAPE@X', 'SHAPE@Y', 'SHAPE@Z'])
rowsDA.insertRow([trkPoint.name, trkPoint.desc, trkPoint.gpxtype, trkPoint.t,
trkPoint.z, trkPoint.x, trkPoint.y, trkPoint.z]) EDIT: I see what you're saying about the unpacking now... whats the error you're getting?
... View more
06-18-2012
02:28 PM
|
0
|
0
|
2863
|
|
POST
|
Whats the actual error? Just a guess, should you have a comma instead of a colon in your dictionary? (420957.9933000002, 4510316.955): [51217.156, or (420957.9933000002, 4510316.955), [51217.156,
... View more
06-18-2012
02:19 PM
|
0
|
0
|
2863
|
|
POST
|
In the Geoprocessing Options (Geoprocessing Menu > Options) you can choose "Never delete". Can you save a few MXDs with specific results inside of them? But if you have the option to upgrade to 10.1, the suggestions offered above are really great 🙂
... View more
06-13-2012
01:33 PM
|
0
|
0
|
846
|
|
POST
|
To say the Python window is a background process isn't really correct. See this link, hopefully it'll explain background processing. You can enable/disable it and see the different results. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00210000003q000000
... View more
06-13-2012
07:06 AM
|
0
|
0
|
1723
|
|
POST
|
Are you using Background Processing? Processing in the background means sending the features you want to process over to another process and then getting a result back. Because its another process we have to persist them to disk for ArcMap to read them on the way back. Heres the same command with BG on and BG off (foreground processing/processing inside ArcMap): >>> arcpy.CreateFeatureclass_management("in_memory", "foooo")
<Result 'C:\\Users\\kevi5105\\AppData\\Local\\Temp\\arcC8DF\\jbf5bcaebf45a4c28bfe57a0e27b6e65a.gdb\\foooo'>
>>> arcpy.CreateFeatureclass_management("in_memory", "foooo2")
<Result 'in_memory\\foooo2'>
... View more
06-12-2012
12:35 PM
|
0
|
0
|
1723
|
|
POST
|
I've spent a good amount of time searching for a documented limit and could not find one. Through testing it seems like the cap is around 30,000 vertices for a single feature. I've also seen complex polygon featureclasses when you have more than 10,000 features have rendering issues. (I didnt hunt it down, but maybe it was a combination of many features and many vertices together as a problem). Well we cant "fix" this issue (the KML is correct per the spec), we added a warning in ArcGIS 10.1 when creating KML, that if you have more than 30,000 vertices, not all KML may draw correctly. This way you will have a heads up and a couple of ideas on modifying your data. However please note, ArcGIS Explorer seems to have no problem drawing 30,000+ vertices features.
... View more
05-28-2012
01:50 PM
|
1
|
0
|
13348
|
|
POST
|
Karen, In the instructions to the SOE setup it explains you attach the SOE to a map service with a single band raster layer which will act as your elevation service. So yes, you can and must use your own data to set it up. The SOE gets tied to that map service. SETUP 1) Create a Map Document (mxd) with at least one elevation layer; the elevation layer must be a single band raster layer. Other types of layers are ok to use because the SOE will only expose a resource for the single band raster layers. 2) Publish the Map Document as a Map Service and then stop the map service after it has been successfully published. 3) Right-click on the map service and select �??Service Properties�??. In the �??Map Service Properties�?? dialog, select the �??Capabilities�?? tab. 4) From the list of capabilities, check on the new �??Get Elevations�?? capability and click the OK button. 5) Start the map service. 6) Go to the Services Directory admin page and clear the REST cache. 7) Navigate to the Services Directory page of the Map Service and you�??ll now see the Elevations SOE listed at the bottom of the page in the �??SUPPORTED EXTENSIONS�?? section. Follow the available links to view the available REST resources and operations for the Elevations SOE. EDIT: Note, the SOE is custom code: there is no "model" which produces the result. The code (I could only imagine) would be something similar to the code in the above Python script.
... View more
05-08-2012
11:43 AM
|
0
|
0
|
2009
|
|
POST
|
Im only seeing this thread now - there are a lot of solutions to this problem. Of course everyone has seen the SOE which is available as a sample from the Applications Prototype lab: Configurable SOE: http://www.arcgis.com/home/item.html?id=3b65b141041044ca97d83eb8264da08c Basic Viewer to go with the SOE: http://www.arcgis.com/apps/OnePane/basicviewer/profile.html kss has a nice script to perform this analysis above. (also using matplotlib to draw the output). This should work real well at 10.0 but be sure to install matplotlib on your server machine. At 10.1 matplotlib comes with ArcGIS (Desktop and Server) New at 10.1 is a tool "Stack Profile". This tool produces a table of X,Y,Z and optional graph output. Please note that the graphing component is not supported in Server, so you can use the tool to produce your table of X,Y,Z. http://resourcesbeta.arcgis.com/en/help/main/10.1/index.html#//00q9000000mm000000 I've attached a HTML file which consumes the "Stack Profile" service. Basically it allows you to draw a line on a map, and looks for the result table. It builds up some arrays and plots the chart. (Makes use of JavaScript API 2.7) Make use to update the references to your server. Note, the attached web page and the one referenced above are pretty similar to each other and one could extend/modify either page to suit individual needs. The difference is how you "draw" the profile : does the service create an image, or does the client render an image with X,Y,Z information?
... View more
05-08-2012
10:41 AM
|
1
|
0
|
2009
|
|
POST
|
Thanks for the follow up. I cannot reproduce the problem as you describe on my 10.0 spX machine. Just a guess, if you re-name your profile and re-start ArcMap, does it still happen? Navigate to: C:\Users\<user>\AppData\Roaming\esri Rename the Desktop10.0 folder to something else Open ArcMap, and try your steps. When you're done if you can re-name the folder back if you want to regain the settings of ArcMap
... View more
04-17-2012
01:44 PM
|
0
|
0
|
3742
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-25-2026 08:25 AM | |
| 1 | 09-29-2025 05:19 AM | |
| 1 | 09-20-2023 06:37 AM | |
| 1 | 09-18-2025 07:07 AM | |
| 3 | 09-18-2025 06:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-25-2026
08:04 AM
|