|
POST
|
Edit the shapefile using the Explode tool. The toolbar icon is three red diagonal dots. Scott Just elaborating on Scott's message, to note that the Explode tool is found on the Advanced Editing Toolbar, not the regular Editor toolbar (not entirely obvious).
... View more
07-12-2013
12:31 PM
|
0
|
0
|
1231
|
|
POST
|
Oh, on further inspection apparently buffering geographic data is preferred (news to me) in order to avoid distortions introduced by the projection. I still feel like this is the cause of the difference in selected points, although now I'm questioning everything.
... View more
06-20-2013
03:13 PM
|
0
|
0
|
1212
|
|
POST
|
I assume it's because 'sitePntGeom' is assigned a geographic coordinate system (wgs1984SpatialRef), making oblong buffers, while SelectLayerByLocation may be using a projected coordinate system, making a circular search area. Is the feature class (centroidsFeatureClassName) projected? In any case, buffering unprojected data is not recommended. edit: actually, buffering geographic data results in geodesic buffers, which are more accurate than Euclidean buffers made for projected data.
... View more
06-20-2013
02:54 PM
|
0
|
0
|
1212
|
|
POST
|
I believe you're looking for a SearchCursor to loop through your rows, then getValue(FIELDNAME) to read the individual value (see the first example in the link). You'll need four getValues (one for each field) and two ExtractByAttributes (one each for Area1 and Area2) in your search cursor loop.
... View more
06-19-2013
03:25 PM
|
0
|
0
|
1560
|
|
POST
|
Is it greyed out because it's the auto-calculated Shape_Length field? You can't calculate that. There are many ways to get the area, and it sounds like you've tried a few, but here are a couple more. 1.) Dissolve your polygons based on whether it's visible or not. If it's in a geodatabase, Shape_Length will show you the total. 2.) If your polygons are in a geodatabase, you can use Summary Statistics to group based on visible or not (case), and sum the Shape_Length.
... View more
06-14-2013
01:02 PM
|
0
|
0
|
1734
|
|
POST
|
Have you tried saving the output as a geodatabase feature class? Feature classes and shapefiles handle dates differently.
... View more
06-14-2013
08:28 AM
|
0
|
0
|
1403
|
|
POST
|
If you run Make XY Event Layer as a tool in ArcMap, it automatically adds the layer to the map. If you run it from inside a model, it won't add it to the map unless you right-click the output (green box) and choose Add to Display. edit: I tried running Export to CAD on a feature layer (i.e. the output of Make XY Event Layer), and got an error, saying it couldn't read the layer. I exported the layer to a shapefile, and Export to CAD worked on that.
... View more
06-14-2013
07:58 AM
|
0
|
0
|
1282
|
|
POST
|
So, you've created points from polygons and need to transfer the attributes from the polygon to the point inside? That sounds like a Spatial Join. Or, are you still missing any steps in between?
... View more
06-13-2013
12:20 PM
|
0
|
0
|
1282
|
|
POST
|
If I understand correctly, you want to SUM the field MarketShare, grouped by some field (what is the Block Group?). Two ideas: 1.) This is commonly done with the Summary Statistics tool (statistic=SUM, case_field=the Block Group field). Then, join (Add Join or Join Field) the result to the original table. Calculate the value into SUM_MarketShare. This can be done with Python or tools. 2.) Use cursors (SearchCursor and UpdateCursor) to sort, then loop through adding, then loop through updating, your data. This is Python only. Not sure which takes longer to run. If you're doing this once, I'd use the tools. If not, spend time figuring out the cursors.
... View more
06-11-2013
02:03 PM
|
0
|
0
|
1209
|
|
POST
|
You can also simplify your page names into a different column. So, your page name would be "Smith" (if that's all the Smiths), or "Smith1", or whatever. Then, display the text for "Smith, Ben Smith, Jerry" in a dynamic text box.
... View more
03-08-2013
06:19 AM
|
0
|
0
|
2587
|
|
POST
|
As far as I can tell, the For iterator uses the built-in range() function to make the array of numbers to feed into the loop. It seems range() converts the step value (0.1) to an integer (0). You can multiply your numbers by 10 while making the iterator (0 - 10, step by 1), and then divide the value by 10 to use it inside the loop. Sadly, if you were using Python it would be as simple as: import numpy
for num in numpy.arange(0,1.1,0.1):
print num
... View more
03-08-2013
05:46 AM
|
0
|
0
|
2390
|
|
POST
|
Does it work with the capitalization shown below? sr = spatialdesc.spatialReference
newspatial = sr.name edit: I should add, this works for me
... View more
02-27-2013
12:52 PM
|
0
|
0
|
3029
|
|
POST
|
I realize the original post wants to do this in GIS, so if you already know how to do this outside of GIS, skip this comment. This is a regression problem, where your x variable varies over time (x in the graph). You can simply plot the points (in Excel, R, or whatever) and calculate the regression line to extrapolate outside the measured range. Find the equation for the regression line, and solve for your x. For example, in the attached graph, I made up y values: 1984 = 0, 1986 = 1, 1992 = 4.5, 1999 = 4.6, 2003 = 6, 2004 = 6.1, 2010 = 6.8 (obviously you have the correct x values). 2014 would have a value of 8.521.
... View more
02-27-2013
09:58 AM
|
0
|
0
|
3999
|
|
POST
|
Don't "dim AS" in VB Script (if you really want to, you can dim by itself, but why bother?) diam = [DIAMETER_1]
pipe = [New_Pipe_S]
if pipe = 0 then
X = diam
else
X = pipe
end if
Final_Dia =
X
... View more
12-14-2012
08:31 AM
|
0
|
0
|
2147
|
| 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
|