POST
|
Hi all, thank you for all the suggestions. The easier solution that worked for my (as of now) is to use the database view and publish the view layer instead. This way, there is a lock established on the view feature class only and I can use python scripts to overwrite the original feature class. More on the database view here - https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-view.htm
... View more
11-14-2021
06:28 PM
|
0
|
0
|
1479
|
POST
|
I will look into this, thank you. I am also trying to see if creating a 'database view' and publishing the view layer might release lock from my actual feature class.
... View more
11-05-2021
12:13 PM
|
0
|
0
|
1326
|
POST
|
Thank you. I will look into this. Although mine is not a hosted layer. It's a feature layer published through federated server so that the layer is always in sync with the enterprise geodatabase.
... View more
11-05-2021
12:12 PM
|
0
|
0
|
1327
|
POST
|
Thank you. Append might not work for what I am trying to do because I want to add all the records every morning and delete all the records from the previous day.
... View more
11-05-2021
12:11 PM
|
0
|
0
|
1328
|
POST
|
Thanks but I have other services that need write access to be editable on Collector app or through browser.
... View more
11-05-2021
12:10 PM
|
0
|
0
|
1328
|
POST
|
Hello, I get a fresh csv every morning that I geocode and publish as a feature layer to be consumed in a dashboard. Now when I use python script to automate the workflow every morning, I see a lock from my ArcGIS Server service account. This lock (probably) doesn't let the python to overwrite the feature and a result, the new feature class that gets created appears in UPPER CASE and as a stand alone layer (not inside feature dataset). From second time around, the script just fails because either it couldn't overwrite the feature class or because it thinks there is already a feature class with that name inside the enterprise geodatabase. So, basically how can I overwrite a feature class that is published and hence has a lock from service account using python?
... View more
11-04-2021
11:49 AM
|
0
|
11
|
1781
|
POST
|
Hi just wondering if you found a solution to this? I have a csv that I geocode every morning. Since the layer has been published in federate portal, there is always a lock. Next morning, my python script cannot work properly because of the lock. I would appreciate a solution to this.
... View more
11-04-2021
11:40 AM
|
1
|
0
|
1864
|
POST
|
Thank you Joe but I doubt if Points to Line would be the right tool here because it would join all the points in Red Zone but in reality, there would be blocks of green and blue zone streets in between two red zones. Also, it wouldn't respect the geometry of real-life streets - they are seldom in a straight line. I have a hunch that Linear Referencing might have the right tools for the job, need to explore more.
... View more
06-03-2020
09:07 AM
|
0
|
3
|
709
|
POST
|
Thanks, Joe. When I think of it more, a line layer is more feasible than a polygon. Let me explain more. I am trying to create a street sweeping map so that each household knows what color zone they belong too. The table has a beginning and ending street intersections for each zone and the cross street that goes through the zone. There are no other vertices. So for the first column, I am trying to give the street segment between 150 to 2528 Cambell Ave a red color and street segment between 259 - 2522 Madigan St a green color. I have over 6000 such rows. So in short, how do I join these street intersections to get a line layer? Thanks!
... View more
06-02-2020
10:43 AM
|
0
|
0
|
709
|
POST
|
Hi, I have a very similar problem at hand, for mapping boundaries of police beat or fire districts. As shown in the image below, I am trying to draw a polygon or at least lines for the addresses/parcels between 'From' and 'Two' and give them individual color. I can geocode them but then all I'll have are points. How do I go from geocoding points to lines or even better polygons layers? Any feedback will be greatly appreciated - Richard Fairhurst and Joe Borgione. Thanks, Shital
... View more
06-02-2020
08:48 AM
|
0
|
2
|
709
|
Title | Kudos | Posted |
---|---|---|
1 | 11-04-2021 11:40 AM |
Online Status |
Offline
|
Date Last Visited |
04-12-2022
06:40 PM
|