|
POST
|
right-click, properties, a little scroll to Source, then extent At least for shapefiles... you may want to use featureclasses in a geodatabase working with Pro
... View more
08-31-2020
03:09 PM
|
1
|
1
|
2256
|
|
POST
|
Does a Project template save the other templates? I would be surprised if templates of all stripes weren't available for saving of saved within a project template
... View more
08-31-2020
02:11 PM
|
0
|
0
|
2647
|
|
POST
|
Matthew Beal Thanks I added at least one link in my previous post on how to smooth contours. If that doesn't work, let me know
... View more
08-31-2020
02:01 PM
|
0
|
0
|
29881
|
|
POST
|
import string
nums = string.digits
def conv( WellID , nums):
"""docstring"""
if !WellID! [-2] in nums: # two space indents
return "{} {}".format( !WellID! [1:-2], !WellID! [-1:])#four spaces indents
else: # two space indents
return !WellID! [1:]#four spaces indents
... View more
08-31-2020
01:55 PM
|
2
|
0
|
1818
|
|
POST
|
Did you specify the maximum number of vertices parameter? Contour (Spatial Analyst)—ArcGIS Pro | Documentation As for the tiny islands, you could filter by only keeping contours whose length/perimeter is above a certain threshold Also, many ways to generalize/smooth polylines, for example Smooth Line (Cartography)—ArcGIS Pro | Documentation
... View more
08-31-2020
01:53 PM
|
2
|
2
|
29881
|
|
POST
|
You aren't going to do "maps" in Spyder Notebooks. In fact, why would you want to do "maps" in Pro's notebooks when you have notebooks. You can still do arcpy stuff however
... View more
08-29-2020
02:18 PM
|
0
|
3
|
3357
|
|
POST
|
Erik Lash next time you go to install, make sure you remove any vestiges of Pro AND conda. Your comment about having extra clones that you have to remove is a warning that things could go wrong. If you want them, move the folder and rename it for future salvage or deletion
... View more
08-29-2020
02:16 PM
|
0
|
0
|
2212
|
|
POST
|
Erik... I do my installations in the base/main Pro environment. A number of people have been having trouble with clones. Jupyter in Pro was working for a bit for me, but Matplotlib got broken and I haven't had the inclination to track the issue down Spyder 4.1.4 is quite nice and I have been using their Spyder-notebook for a while GitHub - spyder-ide/spyder-notebook: Jupyter notebook integration with Spyder https://community.esri.com/people/danretired/blog/2020/08/01/notebooks-in-spyder
... View more
08-28-2020
02:25 PM
|
0
|
2
|
3357
|
|
POST
|
Use the Calculate Field or the just the field calculator. I see little reason to use a search cursor on this. besides, your 'row' is my 'fld' and I use a different means of slicing that relies less on string length but more on string head/tail positions of the things to change. I am sure you will see upon closer examination
... View more
08-28-2020
02:18 PM
|
0
|
6
|
3146
|
|
POST
|
w0 = "W1234500000"
w1 = "W12345010S0"
import string
nums = string.digits
def conv(fld, nums):
"""docstring"""
if fld[-2] in nums:
return "{} {}".format(fld[1:-2], fld[-1:])
else:
return fld[1:]
conv(w0, nums)
'12345000 0'
conv(w1, nums)
'12345010S0'
... View more
08-28-2020
12:46 PM
|
2
|
8
|
3146
|
|
POST
|
USB / thumb drive (?) or is more complicated than that? something like One Drive or its equivalent. In either case you can maintain folder structure on your new machine
... View more
08-28-2020
09:36 AM
|
0
|
1
|
865
|
|
POST
|
good catch! Hopefully you don't have to type that path and/or filename very often
... View more
08-28-2020
09:27 AM
|
1
|
0
|
8345
|
|
POST
|
If it was a filename '_Salvenlinus_alpinus_' You could drop the pre and post underscores ( _ ) just to be on the safe side. Not exactly sure whether _ "could" be the first character in a filename (not the path), since I wouldn't use it in the first place but if needed import os.path as op
p = "c:\Temp\_Salvenlinus_alpinus_.txt"
op.isfile(p)
True not sure for geodatabase featureclasses though
... View more
08-27-2020
03:55 PM
|
0
|
1
|
8345
|
|
POST
|
My question would be what was in the 20 characters you trimmed? Python naming convention for sure. If you are accessing paths through anything, they should be python compliant for the most part... (ie raw encoding... r"c:\a\b\r\t\x\" would fail on multiple conditions... see the blog) Why such a long path name in the first place would be my second question if you are the only one having to use the paths. An example path you use might be useful
... View more
08-27-2020
02:57 PM
|
0
|
4
|
8345
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | 3 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |