POST
|
I downloaded the most recent version of Data and Maps for ArcGIS (10.6) and found that in almost all the files in the hydro folder the Chesapeake Bay is missing. I also looked at the coastal_wtr file in the background folder and found the same thing. Why wasn't the Chesapeake Bay included? Is it in another file somewhere else?
... View more
05-31-2018
06:34 AM
|
0
|
0
|
154
|
IDEA
|
If you have data summarized by a geography, ie, number of people in each ZIP Code, assign each person a location based on population distribution within a zip code and surrounding area, resulting in a table of points, one for each person. Optum's Geocoder software does this.
... View more
03-02-2017
10:12 AM
|
1
|
0
|
238
|
POST
|
I have maps that I created using last year's version of the street network in StreetMap Premium. I recently updated StreetMap Premium and would like to have my existing maps point to the new StreetMap files. The older files are in a folder named "StreetMap." I tried renaming that folder "StreetMap 2013" and putting the new files in a folder called "StreetMap." But when I tried to open the existing maps, ArcMap shut down without any error messages. This wasn't a problem with plain old shapefiles. Do I have to go into every map and delete the old streets layer and add the new streets layer? Is there any way to make this less labor intensive (other than using Python)?
... View more
11-14-2014
08:32 AM
|
0
|
0
|
3439
|
POST
|
Hi, Jeff, Just following up to see if you have any additional advice. Suzanne
... View more
08-26-2013
05:57 AM
|
0
|
0
|
965
|
POST
|
It says: >>> print lyr.symbologyType
GRADUATED_COLORS
... View more
08-14-2013
08:20 AM
|
0
|
0
|
965
|
POST
|
Hi, Jeff, The reason I�??m doing it this way is because I want to specify the number of class breaks depending on the maximum value. I also want specify the values of the class breaks and the colors used in the symbology. In this case, the original layer has four ranges. The update layer is based the same data source and has three ranges. Updating the layer changes the number of class breaks and gives me the colors I want. But when I try to specify the maximum value shown in the legend I run into trouble. I re-ran it with the reclassify line as you suggested but got the same error message when I then tried to update classBreakValues. I also re-ran it skipping the 6th and 7th lines to see if the problem is with the updating, but I get the same error. Suzanne
... View more
08-07-2013
10:23 AM
|
0
|
0
|
965
|
POST
|
I???m trying to change the class break values for a layer that has graduated colors symbology. The layer has three data ranges and the classification method is natural breaks. Here is the code I???m trying to run: import arcpy
from arcpy import env
mapdoc = arcpy.mapping.MapDocument(r"C:\data\Population.mxd")
df = arcpy.mapping.ListDataFrames(mapdoc, "layers")[0]
lyr = arcpy.mapping.ListLayers(mapdoc, "Population", df)[0]
lyrFile = arcpy.mapping.Layer(r"C:\data\update_layer.lyr")
arcpy.mapping.UpdateLayer(df, lyr, lyrFile, True)
lyr.symbology.classBreakValues = [1, 100, 250, 550] When I run the script line-by-line in ArcMap???s Python window everything seems to work, up to and including the UpdateLayer line; the colors and data breaks change correctly and the layer still has natural breaks. But running the last line gives me the following error: Runtime error
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\program files\arcgis\desktop10.1\arcpy\arcpy\arcobjects\_base.py", line 87, in _set
return setattr(self._arc_object, attr_name, cval(val))
RuntimeError At that point when I go to the symbology tab of the layer???s properties, there are three ranges but they are listed as 0-100, 0-250 and 0-550 and they have no symbols associated with them. When I start all over again and re-run everything and update the layer but instead try to change the number of classes with the line lyr.symbology.numClasses = 4 I get the same error message as above. When I try to access the layer???s properties a warning in ArcMap pops up: ???Encountered an improper argument.??? If I click OK on the warning it lets me into the symbology tab but the dialog areas for all of the options under Quantities (Graduated colors, graduated symbols, etc) have the heading ???NO DESCRIPTION" and are otherwise blank. This seems like a pretty straightforward script. I can't figure out where the problem is. I'm hoping someone can help me figure this out.
... View more
08-06-2013
06:21 AM
|
1
|
6
|
5139
|
Title | Kudos | Posted |
---|---|---|
1 | 08-06-2013 06:21 AM | |
1 | 03-02-2017 10:12 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|