POST
|
Hi @JúliaMat I ran the attached script in a Notebook in ArcGIS Pro. My version of Copy Raster was the result of dragging and dropping a successful Copy Raster GP tool result into the Python window. Oddly enough this worked just fine as the GP tool, and successfully converted to 8bit. Running the same code in the Notebook script failed to convert to 8 bit, which seems like a bug to me. I'd ask that you open up a Support case so we can get that logged and investigate further. Outside of this, I found I was able to successfully view the rasters within ArcGIS Pro once I selected the "DRA" button under the Raster Layer ribbon. I could not find an equivalent command for arcpy. Hopefully this helps a bit. import arcpy
from arcpy.sa import *
from arcpy.ia import *
inputR = r"C:\arcgis\ArcTutor\Raster\Data\Amberg_tif"
output = r"C:\temp"
arcpy.env.workspace = input
input_rasters = arcpy.ListRasters("*","TIF")
input_rasters
['090160.tif', '090161.tif', '090162.tif', '090163.tif', '100176.tif', '100177.tif', '100178.tif', '100179.tif', '110208.tif', '110209.tif', '110210.tif', '110211.tif']
for input_raster in input_rasters:
input_raster_path = inputR + "\\" + input_raster
output_raster = output + "\\" + input_raster
arcpy.management.CopyRaster(
in_raster= input_raster_path,
out_rasterdataset= output_raster,
config_keyword="",
background_value=None,
nodata_value="256",
onebit_to_eightbit="NONE",
colormap_to_RGB="NONE",
pixel_type="8_BIT_UNSIGNED",
scale_pixel_value="NONE",
RGB_to_Colormap="NONE",
format="TIFF",
transform="NONE",
process_as_multidimensional="CURRENT_SLICE",
build_multidimensional_transpose="NO_TRANSPOSE"
)
rendered_raster = arcpy.ia.Render(input_raster_path, {'bands': [1, 2, 3]}).save(output_raster)
rendered_raster
... View more
06-30-2023
11:46 AM
|
0
|
0
|
242
|
POST
|
@LarsElmkær_Chwastek For now, only the indices listed here are available in Drone2Map. Feel free to post on the Drone2Map Ideas page, however, to request this functionality! If you have access to ArcGIS Pro, there is a lot more flexibility there when it comes to building/working with your own indices.
... View more
05-30-2023
10:58 AM
|
1
|
1
|
422
|
POST
|
Hi @AmericanEclipse I know you said you have gone through the documentation, but can you take a look at these two short how to (bookmarks and linear paths) for a workflow similar to your own, and let me know where you are seeing gaps in functionality? You should be able to accomplish what you want with keyframes. I personally like to use bookmarks when creating animations so I can be precise about the scale of each frame.
... View more
05-30-2023
10:34 AM
|
0
|
0
|
347
|
POST
|
Hi @MārisNitcis Is there a reason you created your own training samples instead of using the pre-existing Palm Detection model? It is not perfect, but can be expected to be up to 75% accurate when used with the correct imagery (5-15cm resolution RGB imagery).
... View more
05-30-2023
10:22 AM
|
0
|
0
|
226
|
POST
|
Hi @arc_ticodex This solution from an older post might help you out.
... View more
05-30-2023
10:12 AM
|
1
|
0
|
314
|
POST
|
Hi @SimSareythun168 Please ensure you have installed the supplemental coordinate system data so that you have the full range of coordinate systems and transformations available to you. Esri Support is unable to assist with constructing custom transformations, but if you move forward with creating one, I would recommend reading through our CRS documentation.
... View more
05-30-2023
10:05 AM
|
1
|
1
|
845
|
POST
|
Correction: It looks like this is a currently known defect for ArcGIS Pro 3.1.x. It is currently logged as BUG-000157425 and is under review. In the meantime, you may get some use from the help() function, otherwise, for now you will have to type out the methods as I expect reverting to 3.0.3 is a bit more trouble than its worth to workaround this.
... View more
05-30-2023
09:00 AM
|
3
|
1
|
962
|
POST
|
Hi @StewieSophieStuart It looks like this is a currently known defect for ArcGIS Pro 3.1.x. It is currently logged as BUG-000157425 and is under review. In the meantime, you may get some use from the help() function, otherwise, for now you will have to type out the methods to complete the courses as I expect reverting to 3.0.3 is a bit more trouble than its worth to workaround this. Best, Taren
... View more
05-30-2023
08:59 AM
|
0
|
0
|
334
|
POST
|
Hi @lame153 Is it possible that you have some extra spaces and the like in your table? I could see that being a circumstance where the dropdown is doing a better job of accurately selecting than when typing out your query.
... View more
05-30-2023
08:19 AM
|
0
|
0
|
222
|
POST
|
Hi @AgataSiwińska-Mielewczyk The tab completion feature will only work in the circumstances outlined in the documentation found here. Ensure you are only hitting tab after a dot following an object or library, as the suggestions will not work if you have partially typed out what you are looking for.
... View more
05-30-2023
08:17 AM
|
0
|
2
|
964
|
POST
|
Hi @PSGeo It is not possible at this time to customize context menus within ArcGIS Pro. Take care! Best, Taren
... View more
03-07-2023
10:01 AM
|
1
|
0
|
220
|
POST
|
Hi @DominicHsiao I was able to find an existing discussion on this topic here. Hopefully it is of some help! Best, Taren
... View more
02-08-2023
01:13 PM
|
0
|
1
|
333
|
POST
|
To add onto Dan's recommendation, should you need to convert to an organizational account, the steps can be found here.
... View more
02-08-2023
01:08 PM
|
0
|
0
|
292
|
POST
|
Hi @EricRoper Hope you're doing well. It looks like "Consolidation failed" points towards a potential incorrect path in your input data, that may not be represented by the traditional red exclamation point. A web map will fail to publish if a feature class's data source has been altered to point to a new feature dataset in the same file geodatabase. Please go through each of the sources in your map's Contents, and ensure they are all pointing to the correct data, and that adequate permissions are set for each. Tip: You may be able to narrow down the erroneous layer(s) by moving half of your layers to a new Map, and attempting to publish. This will tell you which half of your data contains the issue. You can repeat the process to further narrow down the problem layer(s) Best, Taren
... View more
02-08-2023
12:59 PM
|
0
|
0
|
1807
|
POST
|
At this time, I would recommend opening a case with Esri Support, as the behaviour sounds like "BUG-000118431". This bug points towards irreversible data corruption, however, it may be possible to recover a portion of the project. Take care, Taren
... View more
02-08-2023
12:52 PM
|
0
|
1
|
517
|
Title | Kudos | Posted |
---|---|---|
1 | 05-30-2023 10:12 AM | |
1 | 05-30-2023 10:58 AM | |
3 | 05-30-2023 09:00 AM | |
1 | 03-07-2023 10:01 AM | |
1 | 05-30-2023 10:05 AM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|