IDEA
|
@PeterMacKenzie2 I had a brief play with this. It's good, but limited for the moment. How it works: for a road network — you select you the road you want to search on — then you type in the linear reference you're after e.g., 5.6 — it zooms to the location & you can add a marker to the map. What it doesn't do: You can't click the road network to find the linear reference at the point of click. Search is limited i.e., no global search option. You can't search for a road segment i.e., road between 5.6 and 7.9. And of course, it doesn't work in ArcGIS Online Map Viewer. It's a step in the right direciton though. Note: The road network (or any network) needs to be m-aware i.e., uploaded to AGOL from an FGDB.
... View more
11-09-2022
08:36 PM
|
0
|
0
|
507
|
POST
|
Hi @PhilLarkin1 — is this script still valid? Esri has made a few changes to their JSON endpoints since.
... View more
10-27-2022
08:20 PM
|
0
|
1
|
925
|
POST
|
This is great! Thank you. Can the script be modified to include 'web maps' in the output DataFrame?
... View more
09-27-2022
10:41 PM
|
0
|
4
|
6579
|
POST
|
From memory — this would work unless it has been taken offline — you can't disable sync if the dataset is offline on a device. Once a dataset is taken offline, a replica is created in the background. Think I read that someone made a process to delete the replicas — which sounds painful to me.
... View more
08-02-2022
07:11 PM
|
0
|
1
|
323
|
POST
|
This post is useful — thanks. I've read that it's not a good idea to use Object ID as a bases to generate unquie IDs. This is a cardinal rule! Never use any internal IDs from a geodatabase or any other database for your unique IDs unless you are 100% certain that it will not be automatically recalculated by the application in the future. An example of this is the OBJECTID attribute in a geodatabase. Because the OBJECTID attribute is internally used by the geodatabase, on occasion in may be recalculated by ArcMap. Thoughts/opinions on this?
... View more
07-17-2022
10:57 PM
|
0
|
0
|
1220
|
POST
|
Recently aquired ArcGIS Tracker and learning the ropes. I've enabled Tracker & captured some data. My question is: If I have an assignment number — how do I assoicate that with the ArcGIS Tracker data? So I can delinigate tracks based on assignment number.
... View more
12-13-2021
12:33 AM
|
0
|
1
|
444
|
POST
|
Thank you!! Sorry, I missed bind::esri:fieldType "null" step . Looks great in this screen shot below. The abilily to add 'defect numbers' & other attribute information information to photos will be great appreciated by our audits teams. Thanks for your help.
... View more
11-14-2021
09:57 PM
|
1
|
0
|
1587
|
POST
|
Hi Philip, I tried the calculation step using a hidden question. I got an error shown in the screenshot below. This is beause the 'Defect' field does not existing in my Hosted Feature Layer (i.e. existing data). I added a new string field to the Hosted Feature Layer called 'DefectNo1' for the purpose of accomodating the hidden question. The Survey successfully published, but the defect_no_ was missing from the watermark (see screen cap 2). Have you tried editing an Inbox survey and attaching a new photo?
... View more
11-10-2021
10:27 PM
|
0
|
2
|
1627
|
POST
|
Thanks for the reply. To clarify — we are applying the watermark to new photos using the Survey123 field app. My question is specific to applying a watermark to new photos for existing data. Version 3.13 now supports attaching photos to existing data (that is editing a record from the Survey123 Inbox & attaching a new photo). As can be seen in the photo below, I've successfully applied the watermark. My question is: how do I increase the size of the Defect_No_ in the bottom right corner? The Defect_No_ is sourced from data previously entered. I've followed the instructions outlined here: Adding previously entered data from your form. But becuase I'm working from the Inbox, the instructions don't cover this. My example: bottomLeftWatermark="Lat @[latitude]\nLong @[longitude]\nDateTime @[datetime:short]&size=30" bottomRightWatermark=${Defect_No_}
... View more
11-09-2021
07:06 PM
|
0
|
4
|
1657
|
POST
|
As for version 3.13, you can now attached photos to exisitng data. Excellent. Thank you Esri. I would like to add a watermark to the photos that has data previously entered (i.e. existing attribution info). Here's my statement: bottomLeftWatermark="Lat @[latitude]\nLong @[longitude]\nDateTime @[datetime:short]&size=30" bottomRightWatermark=${Defect_No_} The Defect_No_ is the existing data. The statement above actually works, but I can't change the size of the Defect_No_. According to Esri's Tricks of the Trade : Data from your form cannot be added directly in the bind::esri:parameters column. Do not attempt to include standard XLSForm functions within your watermark expression. The right way to do this is to first put together the watermark content in a separate question, and then reference that. Because I'm working with exisiting data, I added a new field (DefectNo1) to my data to accommodate the calculateion step. For DefectNo1: concat('Defect No:',${Defect_No_},'size=30') bottomRightWatermark=${DefectNo1} But this doesn't work. Any help appreciated.
... View more
11-08-2021
08:17 PM
|
0
|
6
|
2008
|
POST
|
Thanks @HenryLindemann — this script is a big improvement over my original script. However, while the script doesn't time-out with a warning message — it does not delete all records. For example, my dataset has 600k rows, the tunk_data script deletes 450k rows leaving 150k. I have to click 'run' a few times to successfully delete all records. Any ideas how to fix this? I'm running the script using Juptyer Notebooks.
... View more
10-05-2021
01:48 AM
|
0
|
0
|
1198
|
POST
|
Just revisiting this. As mentioned by @Mondi_GIS & @HeatherWidlund — the 'delete rows' Python API tool struggles with large datasets. @HenryLindemann provided a great script to help with this: Re: Delete features and error 504 and timed out - Esri Community (even this script stopped a few times — my dataset has over 2 million records!). But, even if you get the script to work consistantly, there's another problem: data replicas. My FHS grew to over 14GB due to replicas. You can delete the replicas , but this is a problem if users have taken the dataset offline in FieldMaps etc. So, I've gone back to the drawing board — I think the way to go is to provide users with an MMPK or a VTPK package of the data. Host the package in ArcGIS Online, and update as necessary. The package can be linked to a map, so it gets downloaded in FieldMaps — easy for the user. Certainly much easier than updating a large sync enabled dataset. Prepare maps for download—ArcGIS Field Maps | Documentation I'll test this out and and will report back.
... View more
10-04-2021
01:08 AM
|
0
|
0
|
975
|
POST
|
@rachelg_esri wrote: If you temporarily disable the syncing, then re-enable it, you effectively clear out those tables. Hi Rachel, Thanks for the advice — I now understand why my empty FHS were so large in size. WRT disabling the sync — this is a good idea, but the trouble is if the FHS has been taken offline in FieldMaps/Collector, it won't sync again even if you've re-enabled sync on the FHS. There is a warning: Unable to synchronise replica (because it's been removed!). I've been investigating a method to update a very large, sync-enabled, FHS. While it is possible to do so using the ArcGIS Python API (delete rows & append), I'm always going to have the problem of every growing replicas. So, going back to the drawing board, I think creating a MMPK or a VTPK is the way to go. Prepare maps for download—ArcGIS Field Maps | Documentation disable sync warning message Sync failed message in Windows Collector
... View more
10-03-2021
11:54 PM
|
0
|
0
|
1426
|
POST
|
Right, so I need to add: asynchronous=False I'm a newbie — where in the script do I add this?
... View more
09-09-2021
02:45 AM
|
0
|
0
|
1374
|
POST
|
I'm attempting to apply delete feature to a very large dataset in AGOL & it's timing out. The dataset is a polygon feature class. I can't use truncate because the feature class is sync enabled. Couple of questions: 1. What is the maximum number of records the ArcGIS API can handle for delete and append functions — 10,000 records? 2. Any python tips and tricks to make this happen? I'm new to python, so please provide scripts with comments 🙂 import arcpy
import arcgis
from arcgis.gis import GIS
from arcgis.features import FeatureLayer
gis = GIS("https://xx.arcgis.com", username="xx", password="xx")
feature_layer_item = gis.content.search('7a4b389c86f74ab8bd8da440e1a87db4', item_type = 'Feature Service')[0]
flayers = feature_layer_item.layers
flayer = flayers[0]
flayer.delete_features(where="OBJECTID >= 0")
... View more
09-09-2021
01:41 AM
|
0
|
4
|
1414
|
Title | Kudos | Posted |
---|---|---|
1 | 11-14-2021 09:57 PM | |
1 | 03-29-2021 09:59 PM | |
1 | 12-02-2019 07:34 PM | |
1 | 09-15-2020 06:51 PM |
Online Status |
Offline
|
Date Last Visited |
11-10-2022
04:37 AM
|