POST
|
Firstly there is no attribute table as NDVI data is typically a non-integer raster, i.e. it is float 32 and such rasters do not have an attribute table. Don't know what the difference between integer and float is? Go Google that. Classify is failing to run because unsurprisingly your float raster exceeds the default limits. In this case go to the options and change it, but what to? Doesn't matter chuck a bunch zeros after the number, I show what I did for my float raster below. Go back to your symbology Pane, you will have to change Primary symbology dropdown to something else then back to Classify and hey presto it all starts to work. If it fails go back and add more zeros.
... View more
Tuesday
|
0
|
1
|
63
|
POST
|
I was able to replicate the issue, your code ran in the Python console but not in the IDE VSCode. After digging a little (i.e. reading the help file) I noted that the input is a Mosaic Layer object but you supply a full path string. So tweaking the code to this, it all worked outside arcpro. import arcpy
from pprint import pprint
# Path to mosaic dataset - This is an SDE connection
mosaic_dataset = r"C:\Scratch\fGDB_Scratch.gdb\mosDTM"
# Set the maximum number of rasters per mosaic
max_rasters = 42
arcpy.MakeMosaicLayer_management(mosaic_dataset, "myMos")
# Update the mosaic dataset properties
arcpy.management.SetMosaicDatasetProperties(in_mosaic_dataset="myMos", max_num_per_mosaic=max_rasters)
pprint(arcpy.GetAllMessages(), width=120)
print(f"Updated the maximum number of rasters per mosaic to {max_rasters} for {mosaic_dataset}.")
... View more
Tuesday
|
0
|
0
|
12
|
POST
|
I think the short answer is no. In ArcMap you had python addins that would allow you to interact with a feature, this type of interaction is yet to be supported by arcpy in ArcPro. As I understand it, if you want your user to interact with features on a map you have to go down the pro SDK route. The only other thing to mention is that geoprocessing tools allow you to draw into a layer which would feed the geometry into say a select by location tool, you need to click on the pencil. I've always found this to be a bit clunky and never liked the fact it creates an actual layer which I then have to delete.
... View more
Tuesday
|
1
|
0
|
39
|
POST
|
A workflow to solve this that could be done in model builder is to step through each polygon and use the select by location to select up adjacent touching polygons. You then deselect all polygons that do not have the same name as the selecting polygon. Then that is your combination which you can tag with a field calculate. As you step through each polygon you will come across the inverse so you could have some logic that skips the tagging step or simply overwrite it. This "brute force" approach won't necessarily scale well if you have billions of polygons your are testing. You don't give any indication of the scale of processing you desire.
... View more
Monday
|
0
|
0
|
24
|
POST
|
RivEX has a tool for extracting out nearby network in an upstream direction starting from a point snapped the the base river network. So as long as your network conforms to RivEX requirements, you could extract out the end points of your critical habitat network, ensure these are snapped to the base network and run them through RivEX. The RivEX manual provides worked examples, have a look at these to get an idea of what the tool is capable of.
... View more
2 weeks ago
|
0
|
0
|
26
|
POST
|
I would say your 2nd paragraph lacks the detail, yes you have mentioned the key steps but you don't say how you have run the tools, for example did you enter input junctions what was the connectivity policy you had set? You then don't say what parameters you had set when you ran the Trace, there are lots of options. Even if had just blindly accepted defaults....you don't say that, so no one can offer up a solution. All that said, you did provide a sample of data. I imported your data into a file geodatabase featuredataset built with the same coordinate system as your sample data. Ran the create trace network and enable network topology using just default settings. No errors, they ran to completion (just a few seconds). I was able to run the trace tool but the results were poor and that is due to the quality of this dataset. Look at the screen shot below, the river flow directions are pointing u/s and d/s. There are many breaks in the network as indicated by the red points which are the nodes of the network. You can clearly see it breaks at roads and other features. I would deem this network untraceable, but I still did not get the error messages you were getting. I'm using ArcPro 3.3.1 You need to close the gaps, or get the originator of this data to resupply you with a fully connected network. But that would not explain the odd error messages you were getting. There is something about how you are setting this up or a version issue that you need to resolve.
... View more
2 weeks ago
|
0
|
0
|
55
|
POST
|
This is a wild guess, so your geometry has no Z-values which you clearly show. Does the coordinate system of this Feature Class have a vertical coordinate system and could that be the problem? So here is a screen shot of a dummy dataset where I have set the coordinate system to be British National grid and set its vertical coordinate system to be Newlyn. In ArcPro you can quickly check that the VCS has been set by looking at the layer properties, example below.
... View more
3 weeks ago
|
0
|
0
|
139
|
POST
|
May be if you can share a zip file of a sample of your data others can see if they can replicate the issue? You don't say what you have actually done so it's impossible to suggest a solution. Where is your data stored, format, what parameters you have set etc...?
... View more
3 weeks ago
|
0
|
1
|
111
|
POST
|
I think Jesse's approach is a superior method in that you don't have to convert to annotations and tweak positioning which was a limitation in my approach. I've not deleted my answer because it's probably useful to see an alternative approach and both answers shows off the bewildering array of labelling options! Nice one Jesse!
... View more
3 weeks ago
|
0
|
0
|
128
|
POST
|
So my experience is: Add an image to thumbnail and you will see the image when you view the metadata it catalog view. Add an image to Tool sidebar help image and although you see it when in edit metadata mode you never ever see it when interacting with the tool! It was something that worked well in ArcMap but seems to me to be totally defunct in ArcPro. With the release of 3.3 they added the ability to add an illustration to a tool, you access it via tool properties and that shows up an image when you hover over the ? in the blue circle on a tool (top-right).
... View more
08-12-2024
03:44 AM
|
1
|
0
|
189
|
POST
|
Basic model is this: The output of get raster properties is a precondition to the calculate field tool to ensure the cell size is known before the tool is run. You simply use inline variable substitution to run the field calculate.
... View more
08-12-2024
02:40 AM
|
1
|
0
|
177
|
POST
|
Over the years I found various ArcPro tools to have unwanted behaviour when employed within a model builder environment, especially field mapping, seems to be quite problematic. I've always felt it has been a sort of chicken and egg situation in these cases. By far the path of least resistance in your case is to run the tools in a python script environment. You have much more control over what goes into the parameters.
... View more
08-12-2024
02:31 AM
|
1
|
0
|
192
|
POST
|
I think the short answer is no. You could always export the graph and draw on top of it in some other image manipulation software?
... View more
08-12-2024
02:25 AM
|
0
|
0
|
122
|
POST
|
Yes you can create buttons for your tools with the ribbons analysis gallery. I show an example of a python toolbox I have developed in my help file with links to appropriate pages here - https://www.rivex.co.uk/RivEX-Manual/RivEXandtheRibbon.html
... View more
08-10-2024
01:09 AM
|
0
|
0
|
199
|
POST
|
In your raster calculator remove the double quotes around your inline variable substitution for the property, so it should be "%Reclass_P_ma1%" * %property%
... View more
08-09-2024
07:30 AM
|
2
|
0
|
203
|
Title | Kudos | Posted |
---|---|---|
1 | Tuesday | |
1 | 04-10-2022 05:05 PM | |
1 | 08-12-2024 02:31 AM | |
1 | 08-12-2024 03:44 AM | |
1 | 08-12-2024 02:40 AM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|