POST
|
@zak100 wrote: I am using the above code: import random import numpy as np import sys from arcgis.gis import GIS gis = GIS("https://www.arcgis.com", "zak100", "**********") but I am getting the error: from arcgis.gis import GIS ModuleNotFoundError: No module named 'arcgis' You need to install arcgis - the ArcGIS API for Python @zak100 Note if that is was actually your arcgis.com password (now changed by a mod), I suggest you change it immediately.
... View more
Sunday
|
0
|
0
|
34
|
POST
|
You're confusing conda installation syntax (-c esri arcpy means install arcpy from the esri conda channel) with pip. ArcPy is not available in PyPi. You may be able to install arcpy on your Ubuntu device using conda if you have a recent version of ArcGIS Server already installed and licensed on that device. You can't run ArcPy without ArcGIS Server (Windows or Linux) or ArcGIS Pro (Windows only). Documentation: https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/installing-arcpy.htm
... View more
Sunday
|
0
|
0
|
80
|
POST
|
You're adding an record to the attribute table with no geometry. Entering coordinates into the table doesn't create geometry for you. Instead, add a feature using the editing tools. This will allow you to enter coordinates. Specify an x,y,z location
... View more
a week ago
|
1
|
1
|
84
|
POST
|
Python 3.12 is not supported yet. From pypi: Programming Language Python :: 3 :: Only Python :: 3.9 Python :: 3.10 Python :: 3.11 From the API system requirements docs: Python Version Python 3.9.x to 3.11.x is required
... View more
2 weeks ago
|
2
|
1
|
135
|
DOC
|
@Shauna-RaeBrown wrote: PyCharm interpreter is set for 2.7 ArcGIS Pro doesn't use Python 2.7. As @BlakeTerhune states, you need to point PyCharm at ArcGIS Pro's Python, either C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe or if you've cloned the default arcgispro-py3 environment, the python.exe in your clone.
... View more
2 weeks ago
|
0
|
0
|
226
|
IDEA
|
@Bud wrote: It's my limited understanding that a lot of geoprocessing tools are Python under the covers. Not really. Most of the GP tools are native (they'll have a tool icon in Toolbox). The ones that are implemented in Python (script icon in Toolbox) mostly use arcpy which is a thin wrapper around the underlying native implementation in ArcGIS. I don't think the bottleneck is the "glue" language (python in this case) and changing it isn't going to change the overall execution speed much. Python is not always slow. Depends what for/how it's used. There's a number of other efforts at speeding python up, from python implementations (pypy, pyston), compiling python code to native code (numba, cython) and the usual "write all the slow stuff in C/C++/Fortran and compile a native extension" like arcpy, numpy and many others. MoJo seems to be yet another attempt.
... View more
2 weeks ago
|
0
|
0
|
69
|
POST
|
Projecting a dataset won't change the location of the features. If you think the projection is incorrect, redefine it.
... View more
03-04-2024
02:05 AM
|
1
|
0
|
121
|
POST
|
WGS 1984 Web Mercator (auxiliary sphere) is a projected coordinate system that uses metres as the units, not longitude/latitude. Try setting an output spatial reference. with arcpy.da.UpdateCursor(inFeatures, ["SHAPE@X","SHAPE@Y", "bhid"], spatial_reference=arcpy.SpatialReference(4326)) as cursor:
for row in cursor:
etc...
... View more
02-19-2024
01:54 PM
|
3
|
1
|
205
|
POST
|
Mosaic to New Raster doesn't alter cell values (unless there's a need to resample, and it sounds like there is no need for your tiles). You are just seeing approximate statistics. Add the mosaiced raster and the original tiles, turn them on and click anywhere using the explore tool to get a popup showing raster values where you clicked and you'll see they're the same.
... View more
01-14-2024
11:10 PM
|
0
|
0
|
249
|
POST
|
It's there (3824 KB), but you have the "Hide extensions for known file types" option enabled in Windows Explorer. Go to the 3 dot menu, Options, View tab and disable it.
... View more
01-04-2024
03:42 AM
|
0
|
0
|
192
|
IDEA
|
It's an interpreter (REPL), not an editor or an IDE. The Jupyter Notebook interface might suit your way of working better?
... View more
12-17-2023
11:36 PM
|
0
|
0
|
431
|
POST
|
Hopefully it was just a glitch. I haven't received any email notifications for new posts in ArcGIS Parcel Fabric for the last couple of days.
... View more
12-14-2023
12:22 PM
|
0
|
1
|
338
|
POST
|
Screenshots of code are pretty much useless unless the issue is really obvious and the code is short. Please post code as text in future. How to insert code in your post
... View more
12-11-2023
01:10 PM
|
1
|
1
|
507
|
POST
|
I've recently started receiving email notifications for new posts to boards in the ArcGIS Parcel Fabric place (Questions, Ideas etc.). The email states: You are receiving this email because a new message matches your subscription to a board. However, I'm not subscribed to any of the ArcGIS Parcel Fabric boards: I don't see any notifications for those boards in "My settings: Subscriptions & Notifications". If I go to any of those boards, I can see a "Subscribe to This Board" button, but if I go to a board I am actually subscribed to (such as ArcGIS Pro Questions or Python Questions), I can see an "Unsubscribe" button. How do I stop receiving email notifications for posts to ArcGIS Parcel Fabric boards?
... View more
12-11-2023
01:05 PM
|
1
|
2
|
440
|
POST
|
@GeoMouse wrote: So far, I haven't been able to clearly determine if QGIS can be universally used in an ArcGIS 3.2 environment. The reverse is, also, true. I expect to be working with state and regional organizations which use ArcGIS, so my work needs to "plug into" their research in the format that they can use. If QGIS can do this, then clearly it is the better choice. Yes and no... Yes, QGIS can read and write pretty much all raster, vector, point cloud formats that ArcGIS can. One notable exception is Esri Enterprise GDBs (running in Oracle, SQL Server, etc. RDBMS) which you're unlikely to be using. No, QGIS has it's own project (.QGZ) and layer (.QLR) and doesn't natively support ArcGIS Pro project (.APRX) and layer (.LYRX) files. Though there is a paid third party extension/plugin that allows QGIS to support ArcGIS project/layer files, but I haven't used it so can't comment. @GeoMouse wrote: However, I am still running up against the NVIDIA graphics processor recommendations that I don't have. My desktop has integrated motherboard Intel Iris graphics and the information I am getting on-line is I still need a separate (NVIDIA) graphics card for QGIS to work as designed. The insert photo is from the University of Illinois Urbana-Champaign. The "system requirements" for QGIS listed by U of I recommends a NVIDIA GeForce card. I do see that the minimum requirements for QGIS are met on my machine so the interoperability of QGIS and ArcGIS seems to be the issue now. This is information I need to confirm with the potential users of the information I intend to provide. I've run QGIS for many years on a 2012 Intel I5 CPU and recently a 2021 AMD Ryzen 5 CPU both with integrated graphics and no discrete GPU. Both worked fine for general mapping and analysis work. I didn't use any 3D rendering or any analyses that required offloading computation to GPU with NVIDIA CUDA.
... View more
11-26-2023
12:56 PM
|
0
|
0
|
1298
|
Title | Kudos | Posted |
---|---|---|
1 | a week ago | |
2 | 2 weeks ago | |
1 | 03-04-2024 02:05 AM | |
1 | 07-11-2022 05:26 PM | |
3 | 02-19-2024 01:54 PM |