|
POST
|
Does it work as a stand alone script run from a python console?
... View more
08-19-2021
10:51 AM
|
1
|
0
|
3014
|
|
POST
|
Personally, I would convert the csv to an ArcGIS table and then try your join. My guess is the csv has the x and or y coordinates as text instead of double or whatever your layer has them in. See this similar post.
... View more
08-19-2021
09:02 AM
|
1
|
3
|
1749
|
|
POST
|
@Luke_Pinner Perfect. Why didn’t I think of that?!
... View more
08-19-2021
05:21 AM
|
0
|
0
|
24806
|
|
POST
|
Thanks @nzjs . I should have clarified that I don't have an aprx; I'm just going straight to the data source. I'll see if I can adapt your code to my specific application.
... View more
08-18-2021
03:47 PM
|
0
|
1
|
24850
|
|
POST
|
Been doing some searching here and with the online help; I don't know if this is possible or not: Create a feature layer and apply a definition query to that feature layer. Then use the feature layer to clip another feature class. I can always make a selection to the feature layer and use the it to clip the feature class, but I'm just wondering....
... View more
08-18-2021
03:11 PM
|
1
|
8
|
24878
|
|
POST
|
me: ...Without knowing I can only speculate the Altkey field in your ‘shape file’ is numeric while the Altkey in your table is text. Emphasis on speculate... you: All fields in the imported table are Text except for currency values which are Double. Push yourself away from the desk, and take a breath. This is learning experience. I've said this a thousand times before and @DanPatterson knows where I stand when it comes to excel; it's great to do taxes with, but as a data management tool, it's not so great. All that said, take a few moments to examine your data in both the shape file and table/excel worksheet. As Dan mentions, empty fields are often the the wrench that gets tossed into the cog.
... View more
08-18-2021
07:18 AM
|
0
|
1
|
5351
|
|
POST
|
08-17-2021
08:19 AM
|
1
|
0
|
2756
|
|
POST
|
I upgraded to 2.8.2 yesterday. Had a little hiccup with a clone but I got past this morning.
... View more
08-17-2021
07:29 AM
|
1
|
0
|
2766
|
|
POST
|
I guess you could write the value to a text file, then start the model that opens and reads the text file, and runs. But please explain why you want/need this? You don't want to just run the model and get an input parameter?
... View more
08-17-2021
07:21 AM
|
0
|
0
|
1585
|
|
POST
|
Yeah... I don't know: I wiped the 2.8.2 clone as well as a 2.7.4 clone (I clone to c:\clones), and then I ditched the navigator install for command line: conda install spyder=5.0.5 And I'm up and running...
... View more
08-17-2021
07:15 AM
|
0
|
0
|
2720
|
|
POST
|
I was so excited to read that the python clone problems are fixed at Pro 2.8.2 that I installed it and made a clone. I then used anaconda navigator to install Spyder; I usually use the command line, but I thought what the heck... Long story short, I can't get Spyder to execute now. My shortcut does nothing and when I try to run the spyder-script.py from an idle window I get this error: Traceback (most recent call last):
File "C:\Clones\Pro282\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Clones\Pro282\lib\site-packages\spyder\app\start.py", line 237, in main
from spyder.app import mainwindow
File "C:\Clones\Pro282\lib\site-packages\spyder\app\mainwindow.py", line 43, in <module>
requirements.check_qt()
File "C:\Clones\Pro282\lib\site-packages\spyder\requirements.py", line 44, in check_qt
import qtpy
File "C:\Clones\Pro282\lib\site-packages\qtpy\__init__.py", line 210, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found Not sure what the Qt mojo is about... When I do 'conda list' in the clone I see qt and qtpy: Navigator sees them too: Someday I'll create an ArcGIS Pro clone and it'll work first time out of the box. Just not today...
... View more
08-16-2021
04:15 PM
|
0
|
4
|
2782
|
|
POST
|
ArcGIS Pro 2.7.3 I am unable to get a definition query to work at all. No matter what attribute I try or value(s) it just isn't honored: I can create a selection query and that works: Is this a known problem in 2.7.3? I'm planning on an update to 2.8.2 today. Maybe I'll do that sooner than later....
... View more
08-16-2021
08:58 AM
|
0
|
5
|
7576
|
|
POST
|
ObjectID is internally assigned as a system unique and sequential identifier. It has nothing to do with any other user defined attributes. If you follow @DanPatterson ‘s suggestion you should find my earlier speculations are basically true.
... View more
08-16-2021
05:53 AM
|
0
|
0
|
5418
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-11-2018 07:12 AM | |
| 1 | 05-17-2021 11:18 AM | |
| 1 | 06-29-2021 11:42 AM | |
| 1 | 07-05-2012 07:49 AM | |
| 1 | 09-03-2016 06:16 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-19-2026
11:56 AM
|