-
Open-source Forestry Toolkit for ArcGIS Pro – fieldwork, drone mapping, fire hotspots, and forest analysis
Hi everyone, I’d like to share a small open-source project I’ve been working on called Forestry Toolkit, an ArcGIS Pro add-in built around practical forestry and fieldwork workflows. I originally started it to simplify some of the repetitive GIS tasks I encounter in forestry work, and it gradually grew into a collection of…
-
Snap Pour Points in ArcGIS Online notebook
I am trying to recreate the steps of watershed delineation in an AGOL notebook. I am using an "Advanced" notebook so I can use arcpy tools. I have a hosted feature layer for my pour points. I also have a hosted tile layer for my flow accumulation raster. I want to run Snap Pour Points tool using these two inputs, but I get…
-
arcgis.raster.analytics convert_feature_to_raster does not create raster
We have raster.analytics license, but the code never finishes and does not created raster : parcels_layer = parcels_flc.layers[0]value_field = "CALC_AREA" # Submit rasterization job raster_future = convert_feature_to_raster( input_feature=parcels_layer, value_field=value_field, output_cell_size={"distance": 30, "units":…
-
XML file format for Statistics and Histogram raster function
I am trying to construct an XML file to give as input to the "Statistics and Histogram" raster function. I found that the correct formatting for the statistics was : <?xml version="1.0" encoding="utf-8"?><RasterStatistics> <Band> <min>...</min> <max>...</max> <mean>...</mean> <stddev>...</stddev> </Band> However, I am…
-
ArcGIS API Python REST Services - fetching Raster
I’m trying to run a custom Python geoprocessing (GP) tool published to ArcGIS Enterprise Server that takes GPFeatureLayer (Lines, Points) and Raster Layer as input (an ImageServer URL) and wrote a Custom Widget in ArcGIS Javascript SDK. But i can't seem to get the Raster Data and use it. The tool itself works fine in the…
-
Do referenced mosaic datasets show updates in Portal?
https://community.esri.com/t5/arcgis-pro-ideas/allow-elevation-web-layer-to-be-overwritten/idc-p/1648891#M36114 This idea from 2023 asks if Esri can introduce the capability to overwrite elevation layers. I think that's a great idea, but I'm also wondering if currently referenced mosaic datasets will show updates in…
-
ArcPy and Rasters
Hello! I'm currently working on a script that seeks to pull data from an image server and then preprocess this data by clipping it to a study area extent using the raster functions data management clip tool, feed that clipped data into a GeoAI algorithm, and then save then saves the output after the fact. The issue I am…
-
Is is possible to make a map tile package of imagery that has some areas of the imagery masked out?
I am using ArcGIS Pro 3.4. I am wanting to create a map tile package of imagery where certain areas of the tile package would be masked out. For example, I have a Mosaic Dataset of a county. The source imagery is in tiles and the imagery in the mosaic dataset extends a bit outside of the county boundary. What I want to do…
-
arcgis.raster.analytics delete_image always fails
Hi Community In ArcGIS Online, I have a hosted dynamic image collection created using arcgis.raster.analytics.create_image_collection. I want to update the image collection by adding and deleting images. I can add images fine, but the delete always fails. Why is this happening? from arcgis.raster.analytics import…
-
Edit Dynamic Image Collection attribute table
How can I use the Python API to edit the attribute table of an existing hosted dynamic image collection so I can set a date? Using ArcGIS Pro, I manually created a mosaic dataset with time enabled and published as a hosted dynamic image collection to ArcGIS Online. Now, using ArcGIS API for Python, I want to automate…
-
Attempting Ortho Mapping Workspace with PlanetScope Satellite Imagery to Create DEM
Hello, I am working on my dissertation and using ArcGIS Pro 3.5. I am attempting to create a DEM with a stereo pair of satellite images from PlanetScope. I am attempting to follow this workflow from ESRI to generate a DEM by following the Ortho Mapping Workspace…
-
Modify legend properties/layer properties with AGOL Python API
Hi all, I'm having the issues with modifying the legend content. Especially the layer's title and the first title labels for instance: I want to change 5 to 0 - 5m, and the layer's title acea06 to another meaningful string. I couldn't find any documentation on modifying the legend properties but only enable it on/off.
-
Enterprise Mosaic Dataset - Modern Storage Options?
Hi there. Our organization is about to receive a large orthoimagery flight package, roughly 1.5+ TB's of data. In the past, we would store our imagery datasets on a server hosting our enterprise geodatabases. But our IT team is giving us grief about the space of this flight; it's way larger than what we've stored before.…
-
NetCDF not rendering and refusing to become a CRF
Hello, so I have a NetCDF file that I am able to add to Pro through the: Add data -> Multidimensional raster Layer In that window I can fine browse to my dataset and after selected it shows me the right variables that I can select and so forth. After pressing OK then my data does indeed get added to the map and gets…
-
RasterProcessingGPU service cannot release GPU memory
l used arcgis python api to perform deeplearning inference tasks. When one task successed, proceed to another task, the job of RasterAnalysisTools failed. Job messages prompted GPU memory is occupied. l found instance of RasterProcessingGPU do not release GPU memory. l tried some ways but not optimal. 1. Adjust…
-
Converting geodataframe feature layer to AGOL
Hi All, I'm trying to convert my geodataframe to a feature layer so I can overlay it with other layers from AGOL. I've been researching for a way to do it; the best way is hosted feature layer. When I publish to my content it only has a table view but I want it has polygons as well. I was following the documentation from…
-
Mosaic Dataset - Is this expected behavior or bug?
When you have a mosaic dataset (MD) enabled for time (Derived MD with multiple Source MDs in it), is it normal for the mosaic method to not get set back to its default setting when time is turned off from the ribbon panel in ArcGIS Pro? I have two behaviors going on. The MD I have has a default mosaic method of By…
-
How to publish a multidimensional CRF dataset that is data type U-V with ArcGIS for Python
Hello everyone, I'm trying to publish an hosted image layer of a multidimensional Cloud Raster Format (CRF) dataset that is data type U-V with ArcGIS for Python 2.2.0.1. I used the publish_hosted_imagery_layer function, but unfortunately it is published as esriImageServiceDataTypeElevation instead of the right…
-
Merge multiple .sid files together
Hello, I am trying to merge together multiple aerial photos together to run a classification and they are currently .sdi files. I tried running a Mosiac to New Raster but I get the below error when geoprocessing finishes. Is there anything else I can do to process Mosiac? ERROR 999999: Something unexpected caused the tool…
-
How long it takes to Add 400 Orthophotos to a Mosaic Dataset?
I want to create a mosaic dataset with 400 1m pixel size orthophotos. Each image is about 1 GB and 20,000 x 20,000 rows and columns. I created pyramids beforehand. Now I am trying to add these images to a Mosaic Dataset. For hours it just stays at 0% with messages in attached picture. I am using ArcGIS Pro on a 64 GB Xeon…
-
Using python to rename raster in SDE database
Hi All, I'm trying to use Esri python API to access a raster in out SDE database and rename it. This is my shocking attempt at coding it. For context: The ultimate goal is at the time of loading data to our Shared SDE, check for a raster dataset with the same name and then take a copy of the version in Shared, rename it…
-
Unable Publish Raster tiff files by Copy_raster in ArcGIS API for Python
I am attempting to publish raster TIFF files to the ArcGIS Portal using ArcGIS API for Python by below Code: from arcgis.raster.analytics import copy_raster copy_raster( input_raster=mosaic_tiff, output_name=mosaic_name, gis=gis, context={"byref": True}, folder=folder_date, output_datastore=datastore, ) It takes too long…
-
Questions About Object Detection with Deep Learning in ArcGIS Online
I’m using ArcGIS Notebooks in ArcGIS Online with GPU support to train a deep learning model (MaskRCNN) and publish the package (.dlpk). The training and publishing work well, but object detection with DetectObjectsUsingDeepLearning in ArcPy takes about 15 hours, even with GPU. Questions: * Web Applications: Is it possible…
-
Software or Method to Review Imagery - Other than ArcGIS Pro
Does anyone have suggestions for ways to review details for imagery other than in ArcGIS Pro? For example, instead of the information you get in the properties pane for a TIFF in Pro, is there free software or method outside of ArcGIS Pro to do this? Just wondering if others have ways to get metadata on an image other than…
-
Pyramids for Imagery - "Arbitrary" meaning?
When reviewing imagery in ArcGIS Pro though the Properties Pane, I have some TIFF files that say "level: arbitrary" for Pyramids. What exactly does this mean? Usually if an image has no pyramids, it'll specifically state "no pyramids" or "none". So, I'm thinking this indicates the image has pyramids but there aren't very…