POST
|
I found that the version of ArcGIS Pro that I use in our AWS Cloud environment, which is a few versions behind, may have been throwing the error because of a bug. When I tested on the latest version on my PC, I didn't receive it, but I was getting bad results. It was matching neighborhoods to road centerlines that were several miles away. I contacted Esri support and they were able to modify the script to make it work: var fsNbrhd = FeatureSetByName($datastore, "Neighborhood", ['Nbrhd_Comm'], true) var fsNbrhdRight = Intersects(fsNbrhd, $feature) if (Count(fsNbrhdRight) > 0) { var NbrhdRight = First(fsNbrhdRight) return NbrhdRight.Nbrhd_Comm } else { var buffLine = Offset($feature, 200, 'us-feet') var NewInterSect = Intersects(fsNbrhd, buffLine) if(Count(NewInterSect) > 0) { return First(NewInterSect).Nbrhd_Comm } else return null }
... View more
06-20-2025
12:37 PM
|
0
|
0
|
214
|
POST
|
I'm still testing out some things. I tried the script you suggested, looping through all of the features, but got "No Empty Records" for all of my features. I put in a support ticket with Esri to see if they can help out. I'll post an answer if I get it working.
... View more
06-16-2025
10:36 AM
|
0
|
0
|
256
|
POST
|
In my road centerline features I'm trying to calculate the neighborhood names in the left and right sides of each road segment based on the neighborhood. To indicate which side to check, I'm including an Offset function to calculate the neighborhood name that intersects 1-foot on either side of the line. I'm also performing this in a file geodatabase. Here is my script: var fsNbrhd = FeatureSetByName($datastore, 'Neighborhood', ['Nbrhd_Comm'], true) var RoadLeft = Offset($feature, -1, 'us-feet', 'square') var fsNbrhdLeft = Intersects(fsNbrhd, RoadLeft) var NbrhdLeft = First(fsNbrhdLeft) if (IsEmpty(Geometry(NbrhdLeft))) return else if(NbrhdLeft == null) return null else return NbrhdLeft.Nbrhd_Comm I keep getting an error on line 4, "Search geometry cannot be null". However, if I change the variable on line 3 to the line itself instead of the offset: var fsNbrhdLeft = Intersects(fsNbrhd, $feature) I don't get the error, and it just calculates whatever polygon my line intersects. I think the problem might be with the Offset function. I also tried adding error messages in the script to help identify the problem: var fsNbrhd = FeatureSetByName($datastore, 'Neighborhood', ['Nbrhd_Comm'], true) if (IsEmpty(Geometry(fsNbrhd))) return "error0" var RoadLeft = Offset($feature, -1, 'us-feet', 'square') if (IsEmpty(Geometry(RoadLeft))) return "error1" var fsNbrhdLeft = Intersects(fsNbrhd, RoadLeft) if (IsEmpty(Geometry(fsNbrhdLeft))) return "error2" var NbrhdLeft = First(fsNbrhdLeft) if (IsEmpty(Geometry(NbrhdLeft))) return "error3" if(NbrhdLeft == null) return null return NbrhdLeft.Nbrhd_Comm When running this, all of the features returned "error0", indicating null geometry in my Neighborhood layer, but it seems to be drawing on the map with no problem, and it calculates fine if I ignore the offset and just calculate whatever intersects the line. Has anyone else experienced this, or can help identify the problem? Thanks,
... View more
06-11-2025
07:07 AM
|
0
|
3
|
349
|
POST
|
I have a map that I use in a dashboard for tracking hurricanes and tropical storms. One of the layers, forecast position, from Esri's Active Hurricanes, Cyclones, and Typhoons data, has custom symbology and it won't load in the dashboard map in Microsoft Edge, but it does load in Firefox. I've tested this on different computers both inside our organization's network and at home. In the layers list this one shows a pulsing blue dot, indicating that the layer is loading, but it never loads. I am able to see the symbology in the Legend, but it never loads on the map. Does anyone know of a possible fix for this?
... View more
10-07-2024
04:57 AM
|
0
|
1
|
827
|
POST
|
I thought I had a solution, but I couldn't get it to register with the geodatabase. I used: Row_Number()
Over(Order By fullname) as "ObjectID" But I didn't think to cast it as an integer. So after I saw your post I updated it to Cast(Row_Number() Over(Order By fullname) as Int) as "ObjectID" and that totally word. Thanks!
... View more
08-29-2024
05:33 AM
|
2
|
0
|
811
|
POST
|
I created a simple database view to summarize our site address data in a MSAG-like format. Basically, it's a list of our road names with the high and low addresses for each, that's grouped by road. Here's the code: SELECT fullname as "Full Road Name", count(fullname) as "# of Addresses", Min(Cast(addrnum as double precision)) as "Low Address", Max(Cast(addrnum as double precision)) as "High Address", Format(last_edited_date,'d', 'en-US') as "Date Edited" FROM [GIS].[dbo].[SiteAddressPoint_evw] Group By fullname, last_edited_date Order By fullname; I'd like to publish the table to our Open Data Hub so that people can query it or download it on their own. Since the data is summarized, I don't have an Object ID field or another type of unique identifier, so I can't add it to a map or register it with our Enterprise Geodatabase. Does anyone know if there's a workaround or a solution that would allow me to do this? I tried including the ObjectID in the query, but that creates rows for each address and undoes the grouping.
... View more
08-28-2024
12:10 PM
|
1
|
2
|
852
|
POST
|
There are some online courses that Esri offers that can help you get started using ArcGIS Pro: ArcGIS Pro Fundamentals | Learning Plan (esri.com). Here are some tutorials on how to use Model Builder to automate your work: Work with Iterate Feature Classes—ArcGIS Pro | Documentation.
... View more
06-10-2024
02:04 PM
|
0
|
1
|
1675
|
POST
|
I recommend managing your local data in a geodatabase, and that it uses the OneSoltuion CAD data schema. You can automate importing and transforming the shapefiles from your other agencies into the geodatabase using a geoprocessing model. And, if it's already in the OneSoltuion schema, you can just export to shapefiles to convert to CAD without additional transformation. Geodatabases offer functionality that makes managing the data much easier, like versioning and archiving. You can use either an Enterprise geodatabase in SQL, or store one (or more) locally as a file geodatabase, depending on whether you'll have multiple people editing the data simultaneously. It still sounds tricky determining which features to use for CAD if you'll be editing the data outside of the authoritative sources. You could add a 'source' field to the data that identifies which is which, and use some logic in the data export to determine which features to use.
... View more
06-10-2024
10:34 AM
|
0
|
1
|
1693
|
POST
|
How do you manage your GIS data? You mentioned converting DBF files. Do you keep your data in shapefiles or a geodatabase?
... View more
06-10-2024
06:49 AM
|
0
|
0
|
1759
|
POST
|
We have a few weather stations that output real-time data to JSON hosted in a CDN. I'd like to add this to ArcGIS Online, but it's not GeoJSON. I'm not quite sure why you can add GeoJSON, but not JSON. I've only found two ways to get my data into AGOL. The first is to purchase ArcGIS Velocity, which has no problem processing the feed but is exorbitantly expensive. The other is to use Data Pipelines, but that only updates at most once an hour and costs service credits to update. Is there any other way that I can use my real-time data in ArcGIS Online? I'd love to be able to add it to a dashboard to view real-time weather conditions.
... View more
05-30-2024
06:16 PM
|
0
|
1
|
1020
|
POST
|
I just figured this out the other day. You can use the Offset function in Arcade. Here's the code that I use to calculate the neighborhood on the left-side of a road segment. //Set the neighborhood dataset, selecting only the neighborhood name field. var fsNbrhd = FeatureSetByName($datastore, "GIS.DBO.Neighborhood", ["nbrhdname"]) //Specifies the left-side of the road. If the offset is greater than 0, it will be the right-side. var RoadLeft = offset($feature, -1, 'feet', 'square') //Selects the neighborhood polygon on the left-side of the road. var fsNbrhdLeft = Intersects(fsNbrhd, RoadLeft) //Returns only the first intersecting polygon, in case there are overlaps. var NbrhdLeft = First(fsNbrhdLeft) if(NbrhdLeft == null) return null //Returns the name of the first intersecting neighborhood polygon on the left-side of the road segment. return NbrhdLeft.nbrhdname
... View more
03-01-2024
06:33 AM
|
1
|
1
|
2219
|
IDEA
|
I just tested using the Export Features tool, and it exported without the attribute rules. Thanks! 👍
... View more
03-01-2024
06:21 AM
|
0
|
0
|
1411
|
POST
|
I think I might have had the wrong idea of what you could do with ArcGIS for SharePoint. I was hoping you could create a SharePoint list item using an interactive map, using SharePoint as a way of editing the item's attributes in the list view. Each list item would be a map feature. Like, create a new list item, then have an interactive map in the input form where you could draw a polygon or drop a point while entering the attributes in the form fields, and view and edit the list of features in the SharePoint list. Is that possible? The documentation makes it seem like you really just geo-tag existing items with existing features on a map.
... View more
02-05-2024
01:23 PM
|
1
|
3
|
1140
|
POST
|
Does anyone know how to manage feature templates in the new web map? In Classic, when editing you could click the Manage button at the bottom of the edit pane to modify the feature template, but I don't see how to do that in the new web map. I found this documentation: Manage feature templates—ArcGIS Online Help | Documentation, but the new web map is specifically omitted. I've got a feature template where only a fraction of the features are available when editing and I'd like to add the rest but can't seem to find where to do that.
... View more
01-23-2024
08:21 AM
|
0
|
3
|
1449
|
Title | Kudos | Posted |
---|---|---|
2 | 08-29-2024 05:33 AM | |
1 | 08-28-2024 12:10 PM | |
1 | 02-05-2024 01:23 PM | |
1 | 01-22-2020 06:09 AM | |
1 | 03-01-2024 06:33 AM |
Online Status |
Offline
|
Date Last Visited |
06-20-2025
12:33 PM
|