|
POST
|
You seem to have trouble clicking on the first record under the field name
... View more
03-06-2020
03:10 AM
|
6
|
17
|
1905
|
|
POST
|
When you use the tool... that is what happens... which is what modelbuilder is for, combing arctoolbox tools into a nice workflow without having to worry about what goes on behind the scenes. When it comes time to code you own tools, there are several avenues you can take have an "extent" parameter, which will allow you to define the clip extent from a featureclass have a featureclass parameter used to define the extent. Confused? Good. The first option means you are going directly to the "extent" property and if you have ever used a tool that wants you to specify one, you can actually specify the extent from a dataset or manually key in the numbers yourself. If you create a "custom toolbox tool" you can specify these parameters through a dialog and associate them with a GetParameterAsText "thing". But you are getting ahead of yourself. The tool does the "magic" behind the scenes, I was just showing you have to get at that property that defines the extent rectangle.
... View more
03-05-2020
02:39 PM
|
0
|
0
|
2660
|
|
POST
|
if you were doing it via code, and were using multiple properties, check your list of lists, you may be missing brackets [["Left", "EXTENT_MIN_X"], ["Bottom", "EXTENT_MIN_Y"]]
... View more
03-05-2020
02:29 PM
|
0
|
0
|
1601
|
|
POST
|
is everyone in a rush today or is esri's "call home" slow today? https://community.esri.com/thread/249381-strip-arcpy-libraries
... View more
03-05-2020
02:23 PM
|
2
|
0
|
2199
|
|
POST
|
something you use has "feet" extension? addin? basemap? other additions? Only you can track it down, all I know is that a clean 2.5 project with no fluff added keeps my units in meters (metres). It is about time for spatial metrification as the default
... View more
03-05-2020
02:20 PM
|
6
|
8
|
2342
|
|
POST
|
Why not use the tool best suited which isn't Pro. Having said that, be careful about moving anything associated with projects cause you can break a whole load of stuff unwittingly
... View more
03-05-2020
02:05 PM
|
1
|
1
|
3391
|
|
POST
|
It' like us Joe... mature Esri Support ArcMap 10.8 scroll down, it is near the precipice
... View more
03-05-2020
02:02 PM
|
0
|
1
|
2234
|
|
POST
|
2.5, mine doesn't... are you perhaps using basemaps in your default setup? or something other than a plain, no frills blank project?
... View more
03-05-2020
01:59 PM
|
4
|
10
|
2342
|
|
POST
|
of course using some of my data as an example and showing it stepwise. in_fc7 would be a featureclass input parameter to your script. import arcpy
desc = arcpy.da.Describe(in_fc7) # ---- a polygon featureclass's "describe" object
ext = desc['extent'] # ---- get the featureclass 'extent' property
L, B, R, T = ext.XMin, ext.YMin, ext.XMax, ext.YMax # ---- help file reading
e_st = "{}, {}, {}, {}".format(L, B, R, T) # ---- python format string stuff, more reading
e_st
'300000.0, 5000000.0, 300012.1075999997, 5000012.774999999'
# ----- your extent
... View more
03-05-2020
01:56 PM
|
0
|
0
|
2660
|
|
POST
|
There is nothing out of the box that I know of, it will require scripting
... View more
03-05-2020
01:42 PM
|
0
|
1
|
4418
|
|
POST
|
If the input is some other layer, you have to extract the "extent" from the featureclass (it is a geometry property) which can be derived from polygons and/or raster data. the "extent" can be converted to a string representation of the lower-left and upper-right coordinates. For testing, grab your mouse and find those two coordinates, and make a string like in the example I posted, If you can progress from that, then the next step will be to move on to coding that some homework Extent—ArcPy classes | Documentation
... View more
03-05-2020
01:22 PM
|
0
|
1
|
2660
|
|
POST
|
do you by chance have a newline character in there? print(a) 1234 56 a.replace("\n","").split(" ")[0] '1234' If the values aren't stacked in the first place and replacing a single space with nothing doesn't work, then you may have multiple spaces as a separator or esoteric non-printable characters as a separator At which point.... slice how many characters off that you want from whatever end a = "1234 56" a[:4] # 1234 a[-2:] # 56
... View more
03-05-2020
01:15 PM
|
0
|
1
|
4002
|
|
POST
|
Ahhh, The question would then be how you go about selecting the nearest points. Do you have seed locations around which you want the clusters to begin? That is, location is initially the primary concern, then aggregation proceeds. Alternately, would a seed location be an existing location with a high value for your base parameter? Location is secondary and distance to subsequent location is less of a concern Would distance be the primary clustering parameter, followed by your population field values? The pattern that you end up with will depend on your existing distribution of points and how you begin your clustering process. The first option in the list I provided, is solely a distance based clustering requiring no aggregation. The remaining options provide an aggregation framework into which you can aggregate attributes. Just some thoughts.
... View more
03-05-2020
01:05 PM
|
0
|
3
|
4418
|
|
POST
|
Duplicate of https://community.esri.com/thread/249401-categorical-variables-while-using-geographically-weighted-regression-gwr head on over there
... View more
03-05-2020
12:38 PM
|
2
|
0
|
2270
|
|
POST
|
Clip Raster—Data Management toolbox | Documentation look at the code example from there arcpy.env.workspace = "C:/Workspace"
arcpy.Clip_management(
"image.tif","1952602.23 294196.279 1953546.23 296176.279",
"clip.gdb/clip", "#", "#", "NONE") The environment workspace (aka folder) containing the image is specified and the rectangular extent is specified by bounding coordinates in the same coordinate system as those of the tif. What does your script look like? is there a workspace set up? Is everything in the same projection? do you have a bounding extent specified? A few thoughts
... View more
03-05-2020
12:36 PM
|
0
|
3
|
2660
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|