|
POST
|
I noticed that you are not using the data access module. In theory, it shouldn't matter, but try da_desc = arcpy.da.Describe(r"...Your_Featureclass_here")
print(da_desc['extent']) # ---- da.Describe uses a dictionary
300000 4999999.3145 300029.318 5000022.4949 NaN NaN NaN NaN I got the same results using arcpy.Describe and arcpy.da.Describe, but you never know
... View more
06-03-2020
03:37 PM
|
1
|
1
|
3549
|
|
POST
|
Jeanette Harlow From Work with Microsoft Excel files in ArcGIS Pro—Excel | Documentation under Limitations Excel tables are read-only in ArcGIS Pro; however, they can be edited in Excel while you have a worksheet open in the Contents pane (stand-alone table layer). The layer will only display the updated (saved) values for edits made outside of ArcGIS Pro when ArcGIS Pro has been closed and reopened.
... View more
06-03-2020
03:03 PM
|
2
|
1
|
8435
|
|
POST
|
Add and connect data and tools, and modify elements—ArcGIS Pro | Documentation Renaming elements The default names of tools and variables are automatically generated by ModelBuilder when you add the element. If the element name already exists in the model, it is appended with a unique number. To rename any model element to a unique name, right-click a model element and click Rename, type in a new name, and press Enter or click outside the rename box. Changing the name of a variable does not affect the contents, dataset, or value of the variable. For example, a variable references the value C:\Data\Example.gdb\Roads. Renaming the variable from Roads to Streets does not change the dataset path, only the variable name. There is lots more in that section
... View more
06-03-2020
01:22 PM
|
5
|
9
|
3596
|
|
POST
|
If you update python, you will break being able to work with _arcgisscripting and several other dlls. You need to stick with python 3.6.x if you intend to use any arc* functionality.
... View more
06-03-2020
12:53 PM
|
0
|
0
|
2526
|
|
POST
|
What about the last 2 questions? You can anonymize the paths without changing the first letter of each subfolder or the file name if needed
... View more
06-03-2020
12:49 PM
|
0
|
0
|
1467
|
|
POST
|
There are samples on GitHub arcgis-python-api/samples at master · Esri/arcgis-python-api · GitHub and the api reference is here API Reference for the ArcGIS API for Python — arcgis 1.8.0 documentation
... View more
06-03-2020
12:45 PM
|
0
|
0
|
1017
|
|
POST
|
Ever step should be a conscious decision. For example, during projection of rasters in ArcGIS Pro, you need to understand and assess the affects of cell size amongst many things. How the Cell Size Projection Method environment setting works—Geoprocessing | Documentation I would never recommend or advocate a methodology for "convenience" sake unless I had personally studied the ramifications of the alternatives with a variety of data sets. So my answer, .... yes it definitely matters ... it will be up to you to decide what I exactly mean
... View more
06-03-2020
09:59 AM
|
0
|
0
|
1047
|
|
POST
|
Wish I could narrow down your problems... I just installed Spyder 4.1.3 in ArcGIS Pro Beta 1. no clone, installed in the base environment using conda install spyder --no-pin. I install in a simple path ( c:\ arc_pro ) and I have never had install problems. Admin of my machine, installed for myself (not all users).
... View more
06-03-2020
09:47 AM
|
0
|
0
|
1786
|
|
POST
|
Notebooks from inside or outside of ArcGIS Pro? you can use the arcgis and the arcpy modules. It would be kind of useless to make a map inside a notebook inside of Pro, since you can just look at the map there. There is webmap stuff and other things in API Reference for the ArcGIS API for Python — arcgis 1.8.0 documentation and the arcpy mapping module Introduction to arcpy.mp—ArcPy | Documentation
... View more
06-03-2020
08:58 AM
|
1
|
0
|
4439
|
|
POST
|
Julia Brodsky before I go much further in the script for lyr2 in m.listLayers("Rev_Pct_Change"):
lyr.visible = True Do you mean lyr2.visible = True or are you actually trying to set lyr visible?
... View more
06-03-2020
08:44 AM
|
0
|
4
|
2133
|
|
POST
|
Publish web tools in ArcGIS Pro—ArcGIS Pro | Documentation offers a python solution, but I think the restrictions are the same Publish web tools in a Python script—ArcGIS Pro | Documentation Maybe you need to describe your situation since I keep coming up with references that cover a number of situations Share with ArcGIS Pro Share web tools Web tools allow you to share your analysis with others in your organization's portal. Data is stored and processing occurs on a server that is federated with your portal, which makes it possible for a number of client applications in the ArcGIS platform to run the analysis, even at the same time. What is a web tool? Note: Sharing web tools requires administrative or web tool publisher permissions. Fine-grain publishing roles can also be configured so that anyone in a group can share a web tool to a specific federated server. Alternatively, the server allowGPAndExtensionPublishingToPublishers property can be set to allow publishers to share a web tool to the server.
... View more
06-03-2020
02:26 AM
|
6
|
2
|
1731
|
|
POST
|
You might want to use some of several options to validate/normalize path names, for instance import os
pth = "d:/geodb\\any.gdb"
os.path.normpath(pth)
'd:\\geodb\\any.gdb'
... View more
06-03-2020
01:30 AM
|
1
|
0
|
1266
|
|
POST
|
This has been discussed before and the answer provided seemed to work Share As Web Tool Error: "Cannot share web tool to ArcGIS Online. Close the Pane, switch your active portal and try agai… If you have ArcGIS for Portal, you can publish to your Portal using the Share as Web Tool in Pro. Then you will be able to use the tool in ArcGIS Online.
... View more
06-03-2020
01:18 AM
|
8
|
4
|
1731
|
|
POST
|
Are you using model parameters? Model parameters—ArcGIS Pro | Documentation The 'P' will allow you to set a default value. This can be used in conjunction with inline substitution Inline variable substitution—ArcGIS Pro | Documentation Have a look and then decide if you need to show your model to get more feedback.
... View more
06-02-2020
08:16 PM
|
1
|
0
|
1033
|
|
POST
|
Manish Shrivastav Debug Python code Note: Microsoft Visual Studio 2017 can be used to debug ArcGIS Pro 2.1 and later. Earlier versions of either of these applications will not work. Didn't notice that on first look. You will have to wait for someone else... I am a Spyder user.
... View more
06-02-2020
06:30 PM
|
0
|
1
|
3130
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 5 | a week ago | |
| 1 | a week ago | |
| 1 | a week ago | |
| 1 | a week ago |