|
POST
|
The situation Awareness tool does let you use existing features. Simply click a feature on the map. In the popup window, use the ellipses (3 dots) in the bottom right corner. Then choose Ste Location to use that in the situation awareness tool. If you want to add more features just follow the same process and choose the add/remove option in the pop up menu. We use it all the time and it works great. You can also use the buffer settings around your features if needed.
... View more
02-03-2023
04:58 AM
|
0
|
2
|
1568
|
|
POST
|
This is helpful as now I can see it is truly creating my tuple and not somehow converting it to a list. It is strange that even though it is a tuple the display of a tuple in messages and warnings shows a tuple in brackets and not parentheses. Definitely makes things confusing but I think the fist issue i have is now not really an issue. I might open a couple of bugs for the message display issues. I appreciate the help here.
... View more
12-05-2022
08:35 AM
|
0
|
1
|
1947
|
|
POST
|
Also trying to get the type does not work. I get no output from the following. arcpy.AddMessage(type(my2ndTuple))
... View more
12-05-2022
07:28 AM
|
0
|
3
|
1961
|
|
POST
|
I have been trying to add coordinate into a tuple so I can create a new layer but for some reason the the tuples show as lists when i output them to arcpy.addMessage. Running the following code below gives me output of 3 lists. Anyone know what could be going on here? Start Time: Monday, December 05, 2022 10:20:47 AM [1,2,3,4] [1,2,3,4] [2,4,6,8] Succeeded at Monday, December 05, 2022 10:20:47 AM (Elapsed Time: 0.08 seconds) mylist = [1,2,3,4]
arcpy.AddMessage(mylist)
#convert list to tuple
mytuple = tuple(mylist)
arcpy.AddMessage(mytuple)
my2ndTuple = (2,4,6,8)
arcpy.AddMessage(my2ndTuple)
... View more
12-05-2022
07:26 AM
|
1
|
4
|
1962
|
|
POST
|
I am working on a script that pulls in building footprints from Open Street Maps footprints from the ESRI hosted OSM layer. I am able to make the request fine and get the JSON output. Then I am using arcpy.conversion.JSONToFeatures to output the results to a layer. JSONToFeatures fails with a parsing error when I use the following code below. However once I have the file written I tried running the JSONToFeatures in ArcGIS Pro manually and it works just fine. So then I commented out the write to file section of my code and used the preciously saved text file and it works fine. So why is it when I am writing the file then using JSONToFeatures write after it is not able to parse the file? I have tired closing the file before calling JSONToFeatures to see if that helps but it doesn't. osmFootprint = os.path.join(scratch, 'OSMBuildingFootprint')
fp = os.path.join(scratchFolder, 'temp.json')
f = open(fp,"w")
f.write(json.dumps(osmRequest.json()))
f.close
arcpy.conversion.JSONToFeatures(fp,osmFootprint, "POLYGON")
... View more
12-02-2022
05:00 AM
|
0
|
0
|
775
|
|
BLOG
|
@SeanKMcGinnis Will this ever be extended to work with feature services that we do not own? I would love to have this notify me when there are new storm reports added to the USA Storm Reports https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/NOAA_storm_reports_v1/FeatureServer/1
... View more
11-10-2022
06:05 AM
|
0
|
0
|
21478
|
|
POST
|
There is likely more than one issue here. I don't think you should use this.graphicsLayer. I would declare that as a variable using var graphicsLayer . You should really leverage the API documentation and samples to help you through this especially if this is your first time developing with ArcGIS. https://developers.arcgis.com/javascript/3/jssamples/graphics_create_circles.html
... View more
10-28-2022
12:38 PM
|
0
|
0
|
679
|
|
POST
|
I didn’t think the dev edition of web app builder worked with AGOL. I thought it was only able to be used with an enterprise Portal.
... View more
10-27-2022
03:07 PM
|
0
|
0
|
1594
|
|
IDEA
|
A splash screen is really for a 1 time message before getting into a map or page. Just use the About widget and have it open on startup.
... View more
10-04-2022
04:59 AM
|
0
|
0
|
1370
|
|
POST
|
Not sure how helpful I will be but here is my experience. We have SDE set up and are able to edit when the data is published to portal as a feature layer. My database Admins set up the data though so i am not sure if they did anything special on the SDE side. I believe they had to make sure the system account being used by portal has write access to the tables in sde. I can't speak to anything specific to the smart editor widget as i do not use that.
... View more
09-06-2022
12:43 PM
|
0
|
1
|
3148
|
|
POST
|
I would imagine this is possible at the web server level such as IIS but I have not done so. I have been relying on the ArcGIS logs to identify who utilizes specific services. ESRI has the systemLogParser tool that I leverage for that.
... View more
08-23-2022
07:27 AM
|
0
|
0
|
3289
|
|
POST
|
onOpen fires right after startup completes so you should see it firing pretty quickly once you open the widget. Personally I would try to get your events to fire appropriately just by using console logging. Once that works then you can add back the calling of your resize function. Also I don't think it matters at all but I like to order the functions based on the timing. for example I keep startup first and then onOpen and finally my custom functions.
... View more
05-27-2022
08:48 AM
|
1
|
0
|
1879
|
|
POST
|
Have you tried putting 80% as the height value? If that does not work you should be able to calculate the pixel value you want. I would try to take map.height x 0.8 to get 80 % of the map height. For onOpen, any error in console? I would add a console.log("OnOpen Fired") to make sure you see that event occurring.
... View more
05-27-2022
08:17 AM
|
1
|
1
|
1881
|
|
POST
|
Try reviewing the following thread to see if that helps. how-to-change-the-width-and-height-of-the-custom
... View more
05-27-2022
05:24 AM
|
1
|
1
|
1891
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-21-2026 06:15 AM | |
| 4 | 03-12-2025 11:01 AM | |
| 3 | 01-08-2025 09:26 AM | |
| 1 | 01-08-2025 07:19 AM | |
| 1 | 12-06-2024 04:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|