|
POST
|
I think you are expecting "interpolation" to do something it is not designed to do. It will interpolate between low and high depending on the decay function. So, if you do not think this is "real", do as Dan_Patterson says, make a clip polygon and clip out the bit that you "like".
... View more
03-29-2017
08:55 AM
|
0
|
0
|
1459
|
|
POST
|
But what is the problem with what you have got? The raster interp seems to be doing exactly what is required. I take it that the white dots have very low values of whatever it is you are measuring and the blue dots are higher values.
... View more
03-28-2017
11:38 PM
|
0
|
2
|
1459
|
|
POST
|
"scallop shaped". ?? Can you show us a picture of what you mean?
... View more
03-28-2017
11:44 AM
|
0
|
4
|
1459
|
|
POST
|
The mxd is one thing. The data layers within it are another. These layers point to specific datasets somewhere in your syste. Are these in an enterprise db? SDE or something. If you want to "export" certain layers but only for a certain extent your will need to either use Clip as suggested above, or a graphical select. Using Select By Graphics—Help | ArcGIS Desktop Clip—Help | ArcGIS Desktop
... View more
03-28-2017
11:42 AM
|
0
|
0
|
1529
|
|
POST
|
If this is a mosaic dataset, have you built overviews. But generally that results in the crazy checkerboard view.
... View more
03-28-2017
11:30 AM
|
0
|
1
|
2239
|
|
POST
|
IOError: "Input_Union" This line you are supposed to edit to reflect the name of your Union feature class. Ditto the path for your environment.
... View more
03-28-2017
11:27 AM
|
1
|
1
|
18542
|
|
POST
|
Well this doesn't quite do what you want, but makes a condensed version of the union output with each poly now recording the count of overlaps and a list of the original polygons that went into them. import sys, os, arcpy
from arcpy import env
HomeDir = r"path to directory"
scratchFgdb = os.path.join(HomeDir, "scratch.gdb") # input fgdb
fc = "Input_Union" # input polygons (result of a union)
env.workspace = scratchFgdb
env.overwriteOutput = True
# check the sr of the input
desc = arcpy.Describe(fc)
sr = desc.spatialReference
poly_dict = {}
# union has "ORIG_FID" as part of its output
with arcpy.da.SearchCursor(fc, ["ORIG_FID", "SHAPE@", "SHAPE@XY"]) as Cur:
for row in Cur:
# read in the data
origFid = row[0]
geom = row[01]
cent = row[2]
# making a Key variable, just round off the centroid
x = round(cent[0], 1)
y = round(cent[1], 1)
Key = "{:.1f}/{:.1f}".format(x, y)
if Key in poly_dict:
poly_dict[Key][1] += 1
poly_dict[Key][2].append(origFid)
else:
poly_dict[Key] = [geom, 1, [origFid]]
# output polygon
outFc = "tmpOverlapPoly"
arcpy.CreateFeatureclass_management("in_memory", outFc, "POLYGON", "", "", "", sr)
arcpy.AddField_management(os.path.join("in_memory", outFc), "Key", "TEXT", "", "", 50)
arcpy.AddField_management(os.path.join("in_memory", outFc), "COUNT", "SHORT")
arcpy.AddField_management(os.path.join("in_memory", outFc), "FidList", "TEXT", "", "", 255)
inCur = arcpy.da.InsertCursor(os.path.join("in_memory", outFc), ["Key", "COUNT", "FidList", "SHAPE@"])
for k, v in poly_dict.items():
Key = k
geom = v[0]
cnt = v[1]
fids = v[2]
fidStr = ",".join(str(f) for f in fids)
data = [Key, cnt, fidStr, geom]
inCur.insertRow(data)
del inCur
arcpy.CopyFeatures_management(os.path.join("in_memory", outFc), outFc) Looks like this :
... View more
03-28-2017
04:53 AM
|
1
|
3
|
18542
|
|
POST
|
But, then again.... Would you want each overlap poly referring back to others. ie in your example... Poly #1 overlaps with Polys 2 & 3. Therefore Poly # 2 also overlaps 1.... Might be trickier than I think to get what you want. I have used in the past a fairly simple script just to output the polygon, with a count of the overlaps for that piece.
... View more
03-28-2017
02:51 AM
|
0
|
5
|
18542
|
|
POST
|
Well the start would be a Union in the Analysis / Overlay tool box. That gives you multiple polygon pieces overlying each other where there was once an overlap. After that, to get the output you want, I think you would have to do some arcpy / python scripting. Not too difficult.
... View more
03-28-2017
02:48 AM
|
0
|
8
|
18543
|
|
POST
|
Why is the extent all "NaN", or Nulls? Is the data getting published at all?
... View more
03-28-2017
02:39 AM
|
2
|
5
|
2463
|
|
POST
|
Where is the data - fgdb or SDE? Normally for publishing purposes (and not for editable features), we copy over from an enterprise system to a fgdb every night. That uses truncate and append. Doesn't affect the services based on these features. Not an expert on how all this works myself, just aware of the process.
... View more
03-28-2017
02:37 AM
|
2
|
1
|
2407
|
|
POST
|
Its exactly as the error says, there is no attribute or method with the GIS object for Tools. arcgis.gis module — arcgis 1.0.1 documentation You should look at the geocoding module. arcgis.geocoding module — arcgis 1.0.1 documentation
... View more
03-27-2017
11:56 PM
|
1
|
3
|
3040
|
|
POST
|
Generally when updating data which is used by a service we truncate then append the new data. That doesn't seem to upset things. Deleting is a no-no.
... View more
03-27-2017
11:22 AM
|
1
|
3
|
2407
|
|
POST
|
Is it possible that you are zoomed way out when looking at that service. Note that in ArcMap you are at a scale of 1:3000, the service has 1:650k+
... View more
03-27-2017
05:48 AM
|
1
|
1
|
2227
|
|
POST
|
Why not just use Create Fishnet to do this? Create Fishnet—Help | ArcGIS Desktop
... View more
03-26-2017
05:11 AM
|
2
|
4
|
2083
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-08-2015 11:28 PM | |
| 1 | 12-20-2013 08:59 PM | |
| 1 | 05-14-2014 10:38 PM | |
| 1 | 12-16-2013 09:05 PM | |
| 1 | 05-31-2019 02:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|