|
POST
|
Hi Ronald Vanderpool, The following script can bring the default limit for any user (e.g. user1) in AGOL: cm = gis.admin.credits
defaultLimit = gis.admin.credits.default_limit
cm.allocate("user1", defaultLimit) or you can reallocate any credit, in this case 100 credits is allocated to user1: cm = gis.admin.credits
cm.allocate("user1", 100)
... View more
10-07-2020
07:10 PM
|
2
|
0
|
3061
|
|
POST
|
Hi Kevin Christy, You can use open-source gdal library which can be found and installed using pip from the link below: GDAL · PyPI and by importing subprocess and reformatting the code below in your script: gdaltransform -s_srs EPSG:26759 -t_srs EPSG:2237 1074753.9 533951.34 This re-projects from NAD 1927 State Plane Florida West FIPS 0902 to NAD 1983 State Plane Florida West FIPS 0902. The following link provides more information: gdaltransform — GDAL documentation I hope that helps and gives you an idea.
... View more
10-04-2020
07:10 PM
|
0
|
0
|
2199
|
|
POST
|
Not a problem Marco Poetsch. Keep me posted please. Thanks.
... View more
10-01-2020
01:03 AM
|
0
|
1
|
1871
|
|
POST
|
Hi Josh White Subdivide Polygon in Data Management tools does the trick and it does not matter if there is a hole in the polygon or not. Split type can be strips (H) or blocks (V). more information: Subdivide Polygon (Data Management)—ArcGIS Pro | Documentation
... View more
09-30-2020
11:07 PM
|
1
|
1
|
3430
|
|
POST
|
Hi Marco Poetsch, You can use Symmetrical Difference from Analysis tools. Features or portions of features in the input and update features that do not overlap will be written to the output feature class. The output gives a polygon (parcel - building) with calculated areas. Then you can determine if each output parcel has enough area for another building based on your criteria. Symmetrical Difference (Analysis)—ArcGIS Pro | Documentation I hope that gives an idea.
... View more
09-30-2020
07:12 PM
|
1
|
3
|
1871
|
|
POST
|
Hi Eric A, This has been a bug in ArcGIS API for Python in Portal for a long time. It's been logged in Esri Support as "The Verify_cert parameter is not honored when connecting to Portal for ArcGIS using ArcGIS Python API." BUG-000118241: The Verify_cert parameter is not honored when connec..
... View more
09-30-2020
06:31 PM
|
2
|
1
|
7874
|
|
POST
|
Hi Wesley Liddell, I had this issue too. It looks like there is a bug in ArcGIS API for Python. It's been logged as a bug for an SSL connection from the Pro 2.6+ python environment. BUG-000118241: The Verify_cert parameter is not honored when connec..
... View more
09-30-2020
06:25 PM
|
1
|
0
|
1721
|
|
POST
|
Brent Davis, or you can use the most updated module called GeoAccessor and GeoSeriesAccessor to achieve this: from arcgis.features import GeoAccessor, GeoSeriesAccessor
from arcgis.gis import GIS
import pandas as pd
import arcpy
aprx = arcpy.mp.ArcGISProject("CURRENT" or path to aprx)
project_map = aprx.listMaps("map name")[0]
lyr = project_map.listLayers("layer name")[0]
sdf = pd.DataFrame.spatial.from_featureclass(lyr) for more information about GeoAccessor refer to the link below: arcgis.features module — arcgis 1.8.2 documentation
... View more
09-29-2020
10:45 PM
|
2
|
1
|
5140
|
|
POST
|
Hi Minbin Jiang, I can recommend changing the share status of the item manually and rerun the code to see if that gives the same result. The other thing you can do is check other Portal items. I did a test on items in Portal and it's working fine.
... View more
09-29-2020
09:14 PM
|
2
|
1
|
1354
|
|
POST
|
Hi Benjamin Mittler, Please mark as helpful if you find it helpful. If it answered your question please mark it as answered. Thank you.
... View more
09-25-2020
12:53 AM
|
0
|
2
|
6898
|
|
POST
|
Hi Sarah Hollier, Yes, there is. You can achieve this using ArcGIS API for Python, refer to the following links which show how to create assignments based on an existing feature layer with examples: https://community.esri.com/groups/workforce-for-arcgis/blog/2020/03/10/automate-workforce-with-the-arcgis-api-for-python-configure-and-assign Automate Workforce with ArcGIS API for Python ____________________________________________________________________________________________ Please mark as helpful if you find it helpful. If it answered your question please mark it as answered.
... View more
09-25-2020
12:33 AM
|
1
|
1
|
1960
|
|
POST
|
Oguz Sariyildiz, You can edit feature classes in a file geodatabase while other users can only view or read data. you can share a file geodatabase folder as read-only with Windows Explorer. In this case, the read-only user can display and query but not edit the data. Also, users with write access can modify the data while others are reading it. When those reading the data refresh their map display, any changes saved by other users are updated in the ArcGIS client session of the reading user. Refresh never brings in unsaved edits, so it is not possible for a user to read changes made by another user that have not been saved. If you want to prevent other users from accessing data while you are editing it, unshare the folder before modifying the data. for more information, refer to the link below: File geodatabases and Windows Explorer—ArcGIS Pro | Documentation
... View more
09-24-2020
05:40 PM
|
1
|
1
|
1351
|
|
POST
|
Hi Aneta Ryglová, I reckon your shapefile feature class is projected. If it’s projected, use Project tool in the toolboxes to convert your shapefiles’ spatial reference to a geographic coordinate system before using CalculateGeometryAttributes.
... View more
09-24-2020
05:16 AM
|
0
|
0
|
1449
|
|
POST
|
Connor Vincent Not a problem. You can refer to the following links for domain access: Accessing Coded Domain Values using python ListDomains—ArcGIS Pro | Documentation Fields, domains, and subtypes—ArcGIS Pro | Documentation
... View more
09-23-2020
09:36 PM
|
2
|
0
|
13127
|
|
POST
|
Connor Vincent, 1. Is the Room_Status a coded-value domain field? if yes, you need to use the codes/numbers instead of strings. 2. Some of the date columns are null. This might confuses the current script as null is not handled in this script. you can exclude the null rows in dates and do another test. 3. I can see that you also have included the [index] in the second to last line. Just remove [index]. 4. Test the script on other fields, simply change the filed name from Room_Status to another. You also need to see if that field has a domain.
... View more
09-23-2020
06:21 PM
|
2
|
1
|
13127
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2021 09:38 PM | |
| 1 | 03-17-2024 06:09 PM | |
| 1 | 11-10-2020 04:59 PM | |
| 1 | 02-08-2021 09:29 PM | |
| 1 | 02-17-2021 04:47 PM |