|
POST
|
The short answer is no. You say nothing about what your data inputs are, any environment settings set, what version of software, where you data is stored... Suggest you edit your question and add significantly more detail.
... View more
10-02-2024
08:16 AM
|
0
|
0
|
639
|
|
POST
|
Outside goes to where...infinity. How do you map the edge infinity? You can't! Create a new polygon layer , create a rectangle that encompasses everywhere you are going to map. Then use the editor clip tool to clip out your polygon, the resulting polygon you can shade. Never clipped out a hole from a polygon then read the help file here.
... View more
10-02-2024
08:11 AM
|
0
|
5
|
4586
|
|
POST
|
I realised I have come "late to the party" but I thought it's worth advertising that RivEX for ArcPro has a tool for tagging assets/bank features with which side of the river they are. More information about the tool can be found in the online manual here.
... View more
09-29-2024
03:17 PM
|
0
|
0
|
971
|
|
POST
|
Yes it would be very easy, you use the Describe object on a dataset.
... View more
09-27-2024
05:12 AM
|
0
|
0
|
1221
|
|
POST
|
OK now you have described you data better and what you have tried, I need to ask do you have the following scenario: You select your yellow polygons by a date and those selected polygons can exist in more than one blue polygon, so when you produce your map you might be showing 2 or more blue polygons? OR You select your yellow polygons by a date and that selection only exists within a single blue polygon, so this case your map only ever shows 1 blue polygon, like you show in your original question? I ask this as the index layer in a map series requires a SINGLE feature to step over but if your units are selecting by date across multiple blue polygons you can't do what you want using the GUI in ArcPro, you are going to have to script this. I don't think modelbuilder is the solution either as it has little to no interaction with a layout, you would need to control the layout using arcpy.
... View more
09-26-2024
03:10 AM
|
0
|
1
|
1093
|
|
POST
|
I develop RivEX and thought you might be interested in how I protect my source code. I suspect I have a "Heath Robinson" approach compared to others! I develop in an atbx, not a PYT. So I edit directly into my atbx toolbox. Sometimes I do quick edits from the interface provided when you right click on your script tool and go to properties. When I'm writing the bulk of the code I right click > edit and it all happens in VSCode. So I save my edits and shut down VSCode and it magically appears inside the atbx. I have a subfolder with some python modules, these hold generic functions and are unprotected. But in themselves they are a small cog in a big machine, so knowing anything about these functions does not really expose the interesting code stored in the atbx. When looking at the properties of a script there is button to encrypt the code in the execution section. I use this to protect the source code. Any code in the validation section is completely unprotected, seems like a design flaw to me. I have simple xml file that encrypts a unique number extracted from the OS and all tools have a function that decrypts this. The xml is built by me after someone purchase a license. I zip all this up and its available on the website but limits itself if there is no valid xml file. Limitations of my approach: Requires user to install into the root directory and nowhere else as the xml lookup is hardwired. There is no automated way of calling the encrypt button, so I have to manually do it. As I'm the sole developer it's just a pain in the a$$ and something I live with! Have 50 tools, then you need to provide 50 passwords and press that encrypt button 50 times. Not at all ideal. I push as much of my generic code out into the subfolder, this code is free to see. Validation code is unprotected, so any decrypting of license files which would seem sensible to do in the validation section needs to actually be done in the execution section, this means every tool is duplicating these functions. Not ideal. Positives: Single zip file to distribute and thus easy to install Maintaining code is easy it's the encryption step that is laborious. Can take advantage of new functionality in toolbox as ESRI releases it. Hope that helps?
... View more
09-25-2024
04:55 AM
|
2
|
0
|
1888
|
|
POST
|
Sorry I find your description contradictory, you say ...take that list of numbers and display the WHOLE blue layer..., you then say you have tried a variety of selections but not happy with the results as it is picking up other blue polygons. But you just said you wanted the whole layer?
... View more
09-25-2024
03:28 AM
|
0
|
1
|
1118
|
|
POST
|
Sounds like you want to be exploring the ArcPro SDK rather than arcpy if you want to capture onclick map events.
... View more
09-24-2024
08:31 AM
|
0
|
0
|
325
|
|
POST
|
If you want to do this in model builder do this: Extract all vertices Extract start vertices Extract end vertices Use start vertices to select intersecting all vertices Use end vertices to add to selection intersecting all vertices Delete selection from all vertices. This can very easily be done in modelbuilder.
... View more
09-24-2024
08:28 AM
|
1
|
2
|
1563
|
|
POST
|
Have you read the usage section of the tool help? That explains how the tool functions under what scenarios.
... View more
09-24-2024
08:23 AM
|
0
|
0
|
623
|
|
POST
|
Not sure I fully understood your workflow. Are you saying in the image above you want to identify polygons (from the yellow layer) with a specific date but you want to display only the polygon from the blue layer that contain your yellow polygons? Rather than doing a definition, why not select the polygons with the date and then use that selection to select the bounding blue polygon? You could then export that selection?
... View more
09-24-2024
08:18 AM
|
0
|
1
|
1150
|
|
IDEA
|
I like this idea but would be surprised if it is implemented as no other tool has such a checkbox option. What all tools (but may be not this one?) do is honour the environment setting add to display. Unless there is a good reason why this tool does not honour such an environment setting maybe the developers can look into implementing it?
... View more
09-24-2024
07:54 AM
|
0
|
0
|
376
|
|
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
09-10-2024
04:35 AM
|
1
|
1
|
3281
|
|
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
09-10-2024
03:48 AM
|
0
|
0
|
863
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | a month ago | |
| 1 | a month ago | |
| 1 | 12-02-2025 07:05 AM | |
| 1 | 11-21-2025 06:54 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|