|
POST
|
Is there something else going that limits FC to one row? How many features are in FC? Also, have you checked that the code actually gets into the if...elif clauses (i.e. does row[] ever equal "'SP'")? Are you using Data Driven Pages? Finally, can't you just do this with symbology?
... View more
06-28-2016
09:08 AM
|
0
|
0
|
2619
|
|
POST
|
I suppose I would buffer the points by some distance (up to you), then run Zonal Statistics (or probably Zonal Statistics as Table) to get a measure of the slope (potentially the Mean, but it's up to you) in each buffer. Read those help pages and pay attention to the words of caution, particularly regarding overlapping polygons.
... View more
06-27-2016
03:05 PM
|
1
|
1
|
1275
|
|
POST
|
What is the question here? In other words, what's wrong with your current result?
... View more
06-27-2016
02:48 PM
|
0
|
3
|
1275
|
|
POST
|
If you right-click and zoom to layer, does it appear?
... View more
06-27-2016
11:37 AM
|
0
|
1
|
1990
|
|
POST
|
Can you share screenshots of your graduate color quantities symbology settings, and the map only showing the edges?
... View more
06-27-2016
11:30 AM
|
0
|
0
|
1990
|
|
POST
|
You can only access field values with a cursor. This doesn't read the value in the field [Pool_Status]: if ([Pool_Status] == "'SP'"): Aside from that, it's somewhat unclear if you're trying to apply 4 different definition queries to the same layer (you can't, at least not at the same time).
... View more
06-27-2016
10:58 AM
|
1
|
0
|
2619
|
|
POST
|
Possibly a prettier way, but this should do it (luckily there are only 10 possibilities): "SiteAddress" LIKE '%1' OR "SiteAddress" LIKE '%2' OR "SiteAddress" LIKE '%3' OR "SiteAddress" LIKE '%4' OR "SiteAddress" LIKE '%5' OR "SiteAddress" LIKE '%6' OR "SiteAddress" LIKE '%7' OR "SiteAddress" LIKE '%8' OR "SiteAddress" LIKE '%9' OR "SiteAddress" LIKE '%0'
... View more
06-24-2016
02:31 PM
|
1
|
0
|
5491
|
|
POST
|
I explain it here: Is anyway to Analysis without density? Basically, make one raster for each group, scaled to values from 0-255 (0 = 0% support, 255 = 100% support). Then run Composite Bands tool to combine into one RGB raster.
... View more
06-24-2016
01:55 PM
|
1
|
0
|
1779
|
|
POST
|
Well, I've seen this editing a feature layer with a definition query applied. For example, if you have a definition query of "Feature_Type" = 'Road', and you draw a 'Trail', it will disappear from the map and attribute table. It will still exist in the feature class on disk, though.
... View more
06-24-2016
12:55 PM
|
1
|
0
|
2258
|
|
POST
|
I would look into the outputMflag environment setting, although it looks like Make Feature Layer doesn't use that environment setting. You may have to write a new file to disk using a tool like Copy Features first.
... View more
06-24-2016
12:09 PM
|
0
|
1
|
1603
|
|
POST
|
Whether or not this symbology will be coherent on your map, I don't know, but I'd at least consider creating an RGB representation of your data, where R = Republican proportion (out of 255), B = Democrat proportion (out of 255) and G = Unaffiliated proportion (out of 255).
... View more
06-24-2016
11:59 AM
|
0
|
2
|
1779
|
|
POST
|
I don't suppose you have a definition query on your editing layer, do you?
... View more
06-24-2016
11:35 AM
|
0
|
2
|
2258
|
|
POST
|
Yes, I was saying you could do it either way and the original attempt wasn't a syntax error, but thanks for the further explanation.
... View more
06-24-2016
08:54 AM
|
0
|
0
|
2568
|
|
POST
|
Well, the help seems to indicate that you can do it either way, but perhaps it's wrong. Syntax ImportToolbox (input_file, {module_name}) Parameter Explanation Data Type input_file The geoprocessing toolbox added to the ArcPy site package. String module_name If the toolbox does not have an alias, the module_name is required. When a tool is accessed through the ArcPy site package, the toolbox alias where the tool is contained is a required suffix (arcpy.<toolname>_<alias>). Since ArcPy depends on toolbox aliases to access and execute the correct tool, aliases are extremely important when importing custom toolboxes. A good practice is to always define a custom toolbox's alias; however, if the toolbox alias is not defined, a temporary alias can be set as the second parameter. String
... View more
06-23-2016
01:51 PM
|
1
|
2
|
2568
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-30-2013 02:22 PM | |
| 1 | 04-12-2011 11:19 AM | |
| 1 | 09-17-2021 09:43 AM | |
| 1 | 04-04-2012 12:05 PM | |
| 2 | 07-16-2020 11:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-15-2023
12:11 AM
|