BLOG
|
Hi @BernSzukalski - it seems like the vessel traffic data being curated by Esri has stopped at May 2020 - this is for the app, but also data in the Vessel Traffic group. Is this something Esri plans on picking back up again, or should we expect to not have more recent data backfilled?
... View more
05-25-2023
06:35 AM
|
0
|
0
|
103
|
POST
|
Certainly, and thank you. Just brainstorming different solutions here. The paging example is great.
... View more
05-19-2023
09:31 AM
|
0
|
0
|
611
|
POST
|
Thanks - also seems like if you can get your results in 5 queries or fewer using query.maxRecordCountFactor could also help here. Will that paging work with spatial queries as well? I don't know how "ordering" works when implementing spatial queries.
... View more
05-19-2023
09:21 AM
|
0
|
0
|
614
|
POST
|
As a developer implementing a queryFeatures workflow for a feature layer that has not been added to the view, if a query would end up exceeding the max number of features allowed by the service, is it the responsibility of the developer to make subsequent queryFeatures calls to capture all features? That is, does the developer has to write the logic to to look at the "exceededTransferLimit" return value, and make subsquent calls implementing paging? Is there any way to have the SDK to this for you with one function call in the code resulting in however many network calls to get the full list of features? I know that's how it works when you're adding a feature layer to a map - you only have to write map.add(featureLayer) and the SDK just makes however many necessary calls it takes to get the features back. Was hoping this is how queryFeatures works as well, but my preliminary testing seems to indicate that is not the case. Here is a codepen that shows what I'm talking about: https://codepen.io/jaysgregory/pen/dyeKYYy
... View more
05-19-2023
08:54 AM
|
0
|
4
|
647
|
POST
|
I'm trying to easily create a data expression that adds an attribute to each feature in a data set, but I'm getting stuck on how to add an attribute to an existing feature without creating a feature from scratch, including all pre-existing attributes. I get an execution error: "key not found - attributes.' In short, do I have to create a brand new feature and manually reference each attribute I need, or is there an easy way to simply add an attribute to an existing feature. var portal = Portal('https://www.arcgis.com/');
var layer = FeatureSetByPortalItem(portal, itemid)
var features=[];
for (var i in layer) {
var newvalue = some logic here
i['attributes']['newattribute'] = newvalue
Push(features,i)
}
return {
geometryType:'',
features:features
}
... View more
05-17-2023
09:16 AM
|
0
|
1
|
845
|
POST
|
That works! Thanks! just have to deal with the overhead of importing the python api to access the GeoAccessor 🙂
... View more
05-10-2023
10:17 AM
|
1
|
0
|
613
|
POST
|
Indeed, but I'm just working with a vanilla pandas dataframe. The memory workspace is limited to the output of arcpy operations it seems.
... View more
05-10-2023
08:10 AM
|
0
|
0
|
632
|
POST
|
I'm curious if arcpy methods that take as input a CSV or text file can accept a file-like object instead, so I don't have to write to disk before invoking. For example, if I have a dataframe df: import pandas as pd
from io import StringIO
import arcpy
s_buff = StringIO()
df.to_csv(s_buff)
arcpy.management.BearingDistanceToLine(s_buff, "memory\\output", "x", 'y', 'd', bearing_field="b") This generates an error: Error in executing tool. s_buff.read(), s_buff.seek(0) also generates errors. I know I could write to a temporary file, but I'd rather not.
... View more
05-10-2023
07:37 AM
|
0
|
4
|
640
|
POST
|
Hi @ArnoFiva - I'm more curious about the current (but also planned) MapViewer and SceneViewer capabilities. We are not using any custom JS solutions yet. Currently the MapViewer does not seem to have any purge option available. I work in aviation, so when flights have landed (stopped moving for some time) it would be nice to remove the map clutter, as well as 3D options to allow users to easily view flight traffic.
... View more
04-20-2023
10:56 AM
|
0
|
0
|
395
|
POST
|
Seems like out of the box support in AGOL for StreamLayers is somewhat minimal. I'm trying to remove old observation (those that haven't had an update in one minute say). In addition - configured lables show up for both the latest record as well as previous records when zoomed in. AND no support in SceneViewer. Does anyone know if these things are coming shortly, or is most of the sophistication in creating visualizations on StreamLayers limited to custom JavaScript apps - So any of the app builders have better ways to interact with StreamLayers? Thanks!
... View more
04-18-2023
08:40 AM
|
1
|
2
|
427
|
POST
|
Thanks - I had not found that part of the documentation. I could not find that folder location - likely my admin might have deleted after install - so all I had to look through was the opt/ArcGIS/server folder. I was able to download the windows installer for Geoevent and unpack the .cab file to get the program though.
... View more
04-14-2023
08:44 AM
|
0
|
0
|
496
|
POST
|
Does it exist - because I could not find GeoEventSimulator.exe anywhere in /opt/arcgis/server. If it doesn't exist, how can I get it?
... View more
04-13-2023
11:16 AM
|
0
|
2
|
558
|
POST
|
My org has locally over 2k tifs from SRTM in an S3 bucket - curious if someone could point me to a high level workflow / steps to achieve the following. 1. Local querying (via arcpy or Pro) to pass in feature classes to assign elevation values to points. I assume this has something to do with creating a mosaic dataset / DEM surface, and then referencing that in Pro / arcpy workflows, but that is where my knowledge stops. 2. Publishing mosaic dataset as an Image service so similar workflows (assign elevation to points, as well as visualization) can be achieved via web servers (we have image server in our Enterprise instance for this). Any tutorials or high level process steps could help - I'm saavy in ArcGIS space, just not imagery / raster space.
... View more
04-12-2023
12:13 PM
|
0
|
0
|
327
|
POST
|
Thank you - you might be right the general use cases might be minimal. Our primary use case is aviation data - a lot of systems export flight data as lat / long / altitude in CSV format, so easily being able to view this in 3D would be useful.
... View more
04-12-2023
06:14 AM
|
0
|
0
|
777
|
POST
|
Thanks for the response - this pattern makes sense but seems a little cumbersome -so there is no way to enable this on creating a feature layer from a CSV (which is useful because it infers your schema), and no way to enable it after a feature service has been created?
... View more
04-11-2023
08:48 AM
|
0
|
0
|
819
|
Title | Kudos | Posted |
---|---|---|
1 | Wednesday | |
1 | 02-28-2024 07:43 AM | |
1 | 09-14-2022 06:39 AM | |
2 | 07-21-2023 07:11 AM | |
1 | 06-23-2022 07:46 AM |
Online Status |
Offline
|
Date Last Visited |
Thursday
|