|
POST
|
Tim, I'm still confused. Your feeling that ArcGIS.com offers us more options makes me think I've not accessed something you know about. The ArcGis.com map viewer does not, appear to, offer us as many tools on the top toolbar, like the ability to query our data. Do you mean that ArcGIS.com offers more of a selection of maps in its gallery? Ken
... View more
09-03-2013
06:16 AM
|
0
|
0
|
1663
|
|
POST
|
I'm trying to advise a non-gis user about which application offers more options. I've done some studies of both apps and think that Explorer offers more menu options, like querying. However, ArcGIS.com is newer. Is ArcGis.com meant to replace Explorer online? I'd really appreciate any comments or opinions about which app offers more options. Ken
... View more
09-02-2013
08:48 AM
|
0
|
11
|
4802
|
|
POST
|
thanks, Kieren. I hope I don't encounter it on the exam. Ken
... View more
07-09-2013
06:52 PM
|
0
|
0
|
878
|
|
POST
|
This is a sample question from the esri cert website. They say the answer is B, plot a map. However, file - print is the only option I see in gis 9.3. Would someone explain if "plot" is a menu item in gis 10.0? Or is B is incorrect? A map can be printed using: A) Using the Print Option. B) Using the Plot Option. C) Using the Print Area Option. D) Using the Paste option. Ken
... View more
07-08-2013
07:04 PM
|
0
|
2
|
1218
|
|
POST
|
This sample question is posted on the esri certification website. I don't buy their answer is D. Is this question in error or just a "trick" question. Any comments or explantations would be greatly appreciated, as I'd like to answer a better written question correctly, if I encounter it in an exam. Can ArcGIS Desktop be used on mobile? A) Yes, only on smartphones.. B) No C) Only on laptops D) Use a software like ArcPad Ken
... View more
07-08-2013
07:03 AM
|
0
|
4
|
1396
|
|
POST
|
Eric, the 3D analyst tool you specified is not available in my ArcView 9.3. What tool could convert an ASCII table of X,Y,Z coords to 3D features? Is there an ET Geo Wizards tool? Ken
... View more
06-21-2013
09:11 PM
|
0
|
0
|
2823
|
|
POST
|
how do I convert points to 3D and I do find the points to line tool? These don't appear to be listed in the 3D analyst tools. Ken
... View more
06-20-2013
02:02 PM
|
0
|
0
|
2823
|
|
POST
|
Can I create a simple line, with Z value, using 9.3 arcinfo or 3D analyst? I know there is a geowizards tool to create a shapeZ shpfile and I know ArcGis 10 allows addition of the Z component. What can I do with just the 9.3 functionality? Ken
... View more
06-20-2013
01:12 PM
|
0
|
0
|
2227
|
|
POST
|
I looked thru the esri sample code and determined that the "replaceDatasource" function may fix broken links. However, I need to modify the script to fix broken links in many mxds. I hoping someone can spot the problem in this script: import arcpy, os, glob mxds_path = r'S:\\Users Shared\\LOpperman\\Town Scale MXDs\\MXDs\\targetlayers\\' layer_name = r'dams' data_frame = r'Primary' for infile in glob.glob(os.path.join( mxds_path, "*.mxd" )): mxd = arcpy.mapping.MapDocument(infile) for df in arcpy.mapping.ListDataFrames(mxd, data_frame): for lyr in arcpy.mapping.ListLayers(mxd, "", df): lyr.replaceDataSource("dams") mxd.save()
... View more
03-22-2013
07:09 AM
|
0
|
2
|
3809
|
|
POST
|
Wayne, I must have tried every punctuation change I could think of, before giving up. That small change made the script work. This teaches me that error could be in the sentence above the sentence that gets highlited in IDLE, when the script fails. Thank you so much the major re write of the sample code. I can now modify almost a hundred mxds. You're a handy pal to have! Ken
... View more
03-21-2013
10:15 AM
|
0
|
0
|
1637
|
|
POST
|
Wayne, I must have tried every punctuation change I could think of, before giving up. That small change made the script work. This teaches me that error could be in the sentence above the sentence that gets highlited in IDLE, when the script fails. Thank you so much the major re write of the sample code. I can now modify almost a hundred mxds. You're a handy pal to have! Ken
... View more
03-21-2013
09:47 AM
|
0
|
0
|
1637
|
|
POST
|
I'm frustrated that the ESRI sample scripts do not allow updating multiple mxds. In the real world why would someone go to the trouble to modify a sample script that just updates one mxd? Would it not just be faster to make the change to the single mxd? Every scenrio I encounter requires updating a huge no of mxds. Here's a script that works, on our server, to remove multiple layers from multiple mxds. Could someone, please, tell me how to mod it to update layer. I tried modifying the sample layer available from esri and couldn't even get close. I just want to change the color symbology of the dams layer, for all of the mxds stored in the target layers folder, with the source layer, Dams, archived in an "update layers" folder on my server Ken import arcpy import os import glob mxds_path = r'S:\\Users Shared\\LOpperman\\Town Scale MXDs\\MXDs\\targetlayers\\' layer_name = r'dams' data_frame = r'Primary' layers = [] mxds = [] for infile in glob.glob(os.path.join( mxds_path, "*.mxd" )): mxd = arcpy.mapping.MapDocument(infile) print "removing Dams layer from " + infile for df in arcpy.mapping.ListDataFrames(mxd, data_frame): for lyr in arcpy.mapping.ListLayers(mxd, "", df): #print lyr if lyr.name.lower() == layer_name: print 'Remove layer ' + layer_name arcpy.mapping.RemoveLayer(df, lyr) #copyFile = mxds_path + r"NEW_" + #print copyFile mxd.save() #for mxd_name in mxds: #mxd = arcpy.mapping.MapDocument(mxds_path + mxd_name) #print 'removing layer for ' + mxd_name # mxd.save() [/COD]
... View more
03-15-2013
06:13 PM
|
0
|
5
|
2091
|
|
POST
|
Wayne, Incredible. I followed your advice to make the case all the same and determined that a one letter change in the code, replacing the cap D, in the Dams variable of line 5 of my original script, solved the problem. Not only was the Dams layer removed, but it removed the layer, as spelled "Dams" in the mxds. In other words I didn't have to change to all one case for the 100 mxds that have the Dams layer. It was not necessary to run my original script in the same folder as the multiple mxds. So, that original script will remove any layer, specified in the line 5, as long as the name in the code is all lower case. Incredible how quick you spotted that problem in our code! Thanks so much. Ken
... View more
03-15-2013
06:01 PM
|
0
|
0
|
863
|
|
POST
|
I attempted to modify a sample code to remove just one layer from one of the two data frames, "Primary", I have in multiple mxds, all stored in the same folder. This code runs, but does not actually remove the layer, "Dams", from the two text mxds, stored in the folder, RemoveLayers1. I've specified upper, considering Dams starts with a cap D, but maybe it requires a diff command when caps are mixed with lower case. I'm hoping someone can see what I'm missing. I would expect the code to provide an error message; not just fail to remove the layer. import arcpy import os import glob mxds_path = r'C:\\Temp\\removelayers1\\' layer_name = r'Dams' data_frame = r'Primary' layers = [] mxds = [] for infile in glob.glob(os.path.join( mxds_path, "*.mxd" )): mxd = arcpy.mapping.MapDocument(infile) print "removing Dams layer from " + infile for df in arcpy.mapping.ListDataFrames(mxd, data_frame): for lyr in arcpy.mapping.ListLayers(mxd, "", df): #print lyr if lyr.name.upper() == layer_name: print 'Remove layer ' + layer_name arcpy.mapping.RemoveLayer(df, lyr) #for mxd_name in mxds: #mxd = arcpy.mapping.MapDocument(mxds_path + mxd_name) #print 'removing layer for ' + mxd_name # mxd.save() Ken
... View more
03-14-2013
04:11 PM
|
0
|
3
|
1590
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-03-2017 07:39 AM | |
| 2 | 12-07-2019 01:04 PM | |
| 1 | 05-22-2014 03:42 PM | |
| 1 | 10-20-2016 12:46 PM | |
| 1 | 04-24-2015 12:15 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|