POST
|
Hi All, I just wanted to share a script that I wrote to update multiple feature services that you have published to ArcGIS Online. I took the ESRI script found here and modified GitHub - arcpy/update-hosted-feature-service: Update and overwrite a hosted feature service on ArcGIS.com this was a great script to start from, however it only updates one feature service. The script I wrote creates a list of .ini files found in a common folder used to update feature services, then iterates through them to update each feature services. Feel free to grab the code I wrote here GitHub - ChristopherLongVT/update-hosted-feature-service: Update and overwrite a hosted feature service on ArcGIS.com and make it better! Thanks, and feel free to shoot me any questions. Chris
... View more
09-29-2016
06:10 AM
|
2
|
1
|
3191
|
POST
|
Jake, We're thinking the same thing i.e. that the problem may be in the stored procedure. It was made by a contractor and then given to us so we don't know that much about its properties, or how to change/fix it. Does ESRI have any resources on this updating or fixing the spatial reference with a stored procedure? When you say "perform some updates" do you mean edit the parcels? Thanks! Chris
... View more
09-29-2015
07:05 AM
|
0
|
0
|
762
|
POST
|
Neil, Thanks for the response! We did a selection of the parcels to get everything in the county boundary and then reversed the selection to see if any features existed outside of the county but no such luck... looks like everything is good there but thanks for the suggestion. Chris
... View more
09-29-2015
06:58 AM
|
0
|
1
|
762
|
POST
|
Hello, We are looking for a way to script the "Recalculate" of a spatial Index button with python, but are having some problems finding a way that works... We first became aware of a problem when it was taking 25 + seconds to complete a identify of a feature. When we started investigating the problem we found that the extent of our bounding box was off (were located in Virginia). We have found that we can go into the properties of the feature class and click the Recalculate button and this fixes the problem but since that is a manual process it is not what were looking for. We have also found that by clicking the Recalculate button and then running the compress on the feature class, the parcels feature class's bounding box is broken again. We have tried fixing this with python and with model builder and recommendations from this postBatch recalculate spatial index but nothing has worked yet. Below there is information about the model we created at the recommendation of the forum post and some information about the feature class we are trying to fix. Any information on how to script the recalculate button would be great thanks! Background information: Feature class - Parcels that are being populated through a stored procedure in SQL Number of records - 131,366 Arcmap version - 10.1
... View more
09-28-2015
01:46 PM
|
0
|
7
|
4451
|
Title | Kudos | Posted |
---|---|---|
2 | 09-29-2016 06:10 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|