|
POST
|
go old school... nothing like a spreadsheet. there are tons of examples on the web, Nearest-Neighbor Analysis Lab: CSULB Geography a little python ? https://machinelearningmastery.com/tutorial-to-implement-k-nearest-neighbors-in-python-from-scratch/ numpy, scipy, scikit learn? 1.6. Nearest Neighbors — scikit-learn 0.22.2 documentation python - Find nearest neighbors of a numpy array in list of numpy arrays using euclidian distance - Stack Overflow
... View more
03-26-2020
04:32 PM
|
0
|
0
|
1216
|
|
POST
|
Jeff Legatocan you mark the thread answered so it will bubble up to the top next time someone searches for this.
... View more
03-26-2020
02:46 PM
|
1
|
0
|
3641
|
|
POST
|
Jeff Legato !!! Boredom lead me to BUG-000125106: When quickly editing a table using Enter, the cursor.. First hit on a search using " table enter front " I am sure you would have nailed it eventually
... View more
03-26-2020
01:48 PM
|
1
|
2
|
3641
|
|
POST
|
sadly, intermittent probably means not reproducible ... if you can do so, then it might be an issue for Tech Support
... View more
03-26-2020
12:45 PM
|
0
|
3
|
3641
|
|
POST
|
pretty sketchy examples for calculate field in modelbuilder Examples of using ModelBuilder utilities—Tools | Documentation If using pro, there is the warning about significant changes to it ModelBuilder: migration to ArcGIS Pro—ArcGIS Pro | Documentation I dont use modelbuilder... maybe Curtis Price will be of some help
... View more
03-26-2020
12:42 PM
|
0
|
8
|
2865
|
|
POST
|
do you remember moving the mouse or clicking in the cell twice? I saw it once entering text and I had done the first
... View more
03-26-2020
12:26 PM
|
0
|
5
|
3641
|
|
POST
|
did you go through authoring, publishing and using... python scripts beginning in this section. ArcGIS Pro help, modify if needed Authoring geoprocessing services with Python scripts—ArcGIS Pro | Documentation
... View more
03-26-2020
12:24 PM
|
0
|
4
|
1917
|
|
POST
|
apparently he didn't try... I highlighted those in my previous post
... View more
03-26-2020
11:02 AM
|
0
|
5
|
3295
|
|
POST
|
Then add these lines to your script and devolve the project path relative to the running script in the toolbox. import sys script = sys.argv[0] Then you can find the location of the script and if your project is located 'relative' to it, you should be able to construct the project name and location. script
'C:\\Git_Dan\\npgeom\\_load_sample_.py'
... View more
03-26-2020
09:46 AM
|
1
|
0
|
2505
|
|
POST
|
ArcGIS Pro has it... you can even open a Jupyter Notebook in your project for quick testing and 'dir' away on objects to find out what they have. Pro has some nifty features... don't know if they are available in arcmap
... View more
03-26-2020
09:19 AM
|
0
|
2
|
2505
|
|
POST
|
issue_code = os.path.basename(mxdInicio) Did you try to print issue_code? If it doesn't print anything, it can't be sliced on the next line since it has no length and you can only slice things that have a __len__ property
... View more
03-26-2020
06:30 AM
|
0
|
12
|
3295
|
|
POST
|
I suspect garbage collection by either python or arc*, who knows for sure... sometimes adding a time.sleep solves a problem, sometimes not. I only get worried if I can't delete something after the script has finished by 'conventional' means, that is through python, Pro tools or the operating system. So check first, then delete if you have a repetitive workflow makes me worry less but does leave a bit of junk lying around. Just add a secondary standalone 'delete' process to your toolbox (assuming you are creating them) for preparing for an analysis, or to clean up after. Apparently, gil, threading and python versions cover some of these issues, but I find it just makes my head hurt sometimes PEP 0 -- Index of Python Enhancement Proposals (PEPs) | Python.org
... View more
03-26-2020
03:05 AM
|
1
|
0
|
2275
|
|
POST
|
Just an general FYI for people reading this looking for solutions Delete—Data Management toolbox | Documentation Feature classes and tables participating in a network analysis dataset or a topology cannot be deleted. Considerations when using the in_memory workspace—Appendices | Documentation The in_memory workspace does not support geodatabase elements such as subtypes, domains, representations, topologies, geometric networks, network datasets, or feature datasets. Which now raises the question, can the gdb be deleted by conventional means after the script is complete? If so, one thing to consider in your workflow is to check for the existence of your temporary gdb at the beginning of a script and if it exists, try the delete there.
... View more
03-26-2020
02:22 AM
|
0
|
2
|
2275
|
|
POST
|
Raster to Point—Conversion toolbox | Documentation perhaps Are you trying to get it to netcdf? Raster to NetCDF—Help | Documentation
... View more
03-26-2020
01:37 AM
|
1
|
3
|
3584
|
| 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
|