|
POST
|
Hi @RobertChaney To recalculate the extents in a feature service (published) parcel fabric, the service needs to be stopped and the geoprocessing tool run on the enterprise geodatabase feature classes. The service can then be started and the new extents should be reflected immediately. This can be done with a short arcpy script: import arcpy
from arcpy import env
gdb = r"/path/to/enterprise/geodatabase.sde"
env.workspace = gdb
fds = "fabric_feature_dataset"
for fc in arcpy.ListFeatureClasses(feature_dataset=fds):
arcpy.RecalculateFeatureClassExtent_management(fc) Regarding the "calculating extent" popup, there might be something more going on. I would suggest opening a support case where they can take a look.
... View more
12-15-2023
09:12 AM
|
0
|
0
|
1641
|
|
IDEA
|
For branch versioned feature classes, the version differences can be found with the REST API. This was implicitly mentioned here with the ArcGIS Pro .NET SDK using the Differences method. Differences—ArcGIS REST APIs | ArcGIS Developers It is also possible to retrieve the differences with the ArcGIS Python API arcgis.features.managers module | ArcGIS API for Python from arcgis import GIS
from arcgis.features._version import VersionManager
gis = GIS(
"https://server.domain.com/webadaptor/",
"user",
"password"
)
version_manager_url = ("https://server.domain.com/webadaptor/rest/services/FeatureServiceName/VersionManagementServer")
version_management_server = VersionManager(version_manager_url , gis)
with version_management_server.get("owner.version_name", "read") as version:
differnces = version.differences(result_type="features", layers=[15])
''' Result:
{
"differences" : [
{
"layerId" : long,
"inserts" : [ <objectId> ],
"updates" : [ <objectId> ],
"deletes" : [ <objectId> ]
}
],
"features" : [
{
"layerId" : long,
"inserts" : [
{
"attributes" : {
"OBJECTID" : 581,
"SUBTYPE" : 3,
. . .
"SHAPE.STLength()" : 132.5
},
"geometry" : {
"hasZ" : true,
"hasM" : true,
"paths" : [
. . .
],
"success" : <true | false>,
'''
... View more
12-08-2023
02:58 PM
|
0
|
0
|
2831
|
|
POST
|
Hi Dean, Thanks for bringing this up. I am getting mixed results with different methods. I am not able to reproduce the issue using Pro 3.2 or Pro 3.1.4 from the Python Window with an open map (target_map("CURRENT")) or from a script pointing to the map project. Interestingly, I can reproduce it with a Notebook using an open map (target_map("CURRENT")). To make sure we're on the same page, with the sample code above, are you expecting only the parcel fabric to switch to the version? I believe we determined that we had to iterate through all of the feature layers to change their version. This is my map after targeting only the parcel fabric: UPDATE: I ran the script from the Python window and the parcel fabric and parcel layers all change version. The topology does not:
... View more
11-20-2023
10:43 AM
|
0
|
1
|
3313
|
|
POST
|
This session will consist of short and useful data management demos: How to share a subset of parcel data as a live service that is ‘view-only’ using a database view; how to access the parcel fabric logging in the ArcGIS Pro client and on the ArcGIS Enterprise to better understand performance issues; deploying on the cloud and more.
... View more
10-31-2023
11:25 AM
|
1
|
0
|
1380
|
|
POST
|
As long as the gisadmin user does not have any elevated permissions you should be able to copy the data. Look out for things like "sysadmin" or "db_owner". Those roles will alter the schema name and cause the error you saw.
... View more
08-14-2023
01:49 PM
|
0
|
1
|
2674
|
|
POST
|
Hello, It looks like the gisadmin user may have some elevated privileges. Please try copying the fabric with a database authenticated user that has only basic editing privileges. CREATE FUNCTION CREATE SEQUENCE CREATE TABLE CREATE VIEW Here is the doc describing the enterprise geodatabase user requirements for parcel fabrics: The feature dataset in an enterprise geodatabase must be from a database connection established as a database authenticated user. This user must have database privileges to create content and cannot be an OS-authenticated, the database administrator, or the geodatabase administrator account. The connected user becomes the parcel fabric owner and administrator. Create a parcel fabric—ArcGIS Pro | Documentation Thanks, Ken
... View more
08-14-2023
01:05 PM
|
1
|
1
|
2702
|
|
POST
|
Can you provide the following info: 1. The dbms or gdb type of both the ArcMap data and the Pro data. Is this an enterprise gdb, file gdb or mobile gdb? 2. Is the polygon feature class in a parcel fabric or a simple feature class? 3. How many polygons are being calculated?
... View more
06-28-2023
08:36 AM
|
0
|
1
|
5116
|
|
IDEA
|
Hi Ruth, While many Parcel Fabric operations can be performed with Geoprocessing tools by themselves or in a model, many cannot. However, if you are using a published feature service fabric, you have access to all parcel fabric functions either via REST or with the ArcGIS Python API. arcgis.features.managers module | ArcGIS API for Python All parcel fabric tools are available as functions in the Python API including Duplicate and Merge as you mentioned. We have some tutorials for getting started here: Part 1 - Introduction to Parcel Fabric layers | ArcGIS API for Python Part 2 - Branch Versioning with Parcel Fabric | ArcGIS API for Python Part 3 - Create a New Parcel Record | ArcGIS API for Python Part 4 - Query Parcels | ArcGIS API for Python Part 5 - Merge Parcels | ArcGIS API for Python The set of tutorials includes working with branch versions and creating parcel records with the FeatureServer endpoint. Also, while the tutorials use Notebooks, the code can be used in standard Python scripts. Thanks, Ken
... View more
05-17-2023
11:32 AM
|
0
|
0
|
2864
|
|
POST
|
Hi Dean, It would be nice if the Pro Mapping module had a refresh method for a current map or view object. This would make a great enhancement request. We can hack a workaround using a selection and panning to the selection. I see in your UpdateCursor you are updating a specific feature. By using that feature's objectid, we can select it then pan to it. That should redraw the layers and show the edit. # also get a map 'view' from the project
view = thisProject.activeView
with arcpy.da.UpdateCursor(AnnoLyr, ["MapNumber"], "OBJECTID = 7695") as cursor:
for row in cursor:
row[0] = MapNumber
cursor.updateRow(row)
edit.stopOperation()
edit.stopEditing(save_changes=True)
# select the edited feature then pan to it
AnnoLyr.setSelectionSet([7695], "NEW")
view.panToExtent(view.getLayerExtent(AnnoLyr), selection_only=True) Let me know if that helps. Ken
... View more
11-17-2022
09:04 AM
|
0
|
0
|
2520
|
|
POST
|
I'm glad it's working! And yes, you will have to watch out for that extra slash when building up URLs. I'm not sure if there's a more efficient way to get them. Although it's hard to see in the Python API sample, the trailing slash is in the base_server_url variable. Ken
... View more
09-07-2022
10:59 AM
|
0
|
0
|
2105
|
|
POST
|
Hi Dean. I am seeing some issues using Pro's Python window as well. I'll continue to look into it. In the meantime, can you try the same thing using a Pro Notebook? I am not getting any errors getting the fabric and version manager.
... View more
09-06-2022
09:22 AM
|
0
|
3
|
4962
|
|
POST
|
Hello, One suggestion would be to use the ArcGIS API for Python (ArcGIS Python API). This API is designed to work with feature services and contains all the necessary components to work with branch versioned parcel fabrics. I have written a few samples that show how to manage branch versioning, creating parcel records and other parcel fabric functionality. Part 1 - Introduction to Parcel Fabric layers | ArcGIS API for Python Part 2 - Branch Versioning with Parcel Fabric | ArcGIS API for Python Part 3 - Create a New Parcel Record | ArcGIS API for Python In the "Part 3" example, you can see the new version is passed as an argument when creating a new record. All methods that insert, update or delete data from a feature layer have a parameter to pass in a branch version. edit_features(adds=[record_dict], gdb_version=<branch version name>) The ArcGIS Python API can be used with the ArcPy module and any other python packages. Another suggestion, since it seems you are in a Pro map, would be to create an Add-In with the Pro SDK. This can help simplify setting the version and parcel record and persisting those throughout the map session. ProConcepts Parcel Fabric · Esri/arcgis-pro-sdk Wiki (github.com)
... View more
09-02-2022
09:10 AM
|
0
|
3
|
4991
|
|
POST
|
Hi Valerie, Does Enterprise geodatabase follow the same version as ArcGIS enterprise? Creating a new geodatabase or upgrading an existing, older geodatabase will set the geodatabase version to match the Enterprise version. ArcGIS Pro does not force the GDB to be at the same release as the Enterprise but publishing the parcel fabric does. The geodatabase can be upgraded using ArcGIS Pro from the geodatabase properties page similar to ArcGIS Desktop. Regarding when to upgrade, as Amir mentioned, if you want to use ArcGIS Pro 2.9, you will need ArcGIS Enterprise 10.9.1. If you cannot upgrade from your current 10.8.1, the parcel fabric will require you stay at Pro 2.6 as shown in the matrix. Here is a suggested upgrade path: 1. Upgrade ArcGIS Enterprise to version 10.9.1 2. Install ArcGIS Pro 2.9 3. Upgrade the geodatabase that will contain the Pro parcel fabric to 10.9.1 or create a new geodatabase with Pro 2.9. 4. Migrate the ArcMap fabric into the 10.9.1 geodatabase. This will create a "version 5" parcel fabric.
... View more
05-18-2022
01:33 PM
|
2
|
1
|
2707
|
|
POST
|
Hello, You can manually inspect and delete connections and locks from the sde geodatabase connection. Right click the .sde connection file and choose Properties > Connections then click the "Show connected users and locks" button. This will open up the connections and locks dialog. Choose the Locks tab and locate the lock(s) of the problem version. Select the locks you wish to remove, right click the selection and choose Disconnect Another possible option is to purge the locks using the REST endpoint. Go to the service's VersionManagementServer endpoint and open the purgeLocks page. Please see the documentation for purgeLock before proceeding: Purge Lock—ArcGIS REST APIs | ArcGIS Developers Example: https://server.domain.com/server/rest/services/MyParcelFabric/VersionManagementServer/purgeLock Enter the name of the version as owner.version_name and click purgeLock(POST)
... View more
02-24-2022
01:49 PM
|
2
|
1
|
2515
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | yesterday | |
| 1 | Friday | |
| 1 | 04-06-2026 11:06 AM | |
| 4 | 04-03-2026 04:46 PM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|