|
POST
|
Explore computing NDVI from your satellite data you could then threshold the results into a binary raster?
... View more
02-15-2023
07:18 AM
|
0
|
0
|
2401
|
|
POST
|
I would explore looking into this tool - Group By Proximity (GeoAnalytics Desktop)—ArcGIS Pro | Documentation
... View more
02-15-2023
05:45 AM
|
1
|
0
|
2869
|
|
IDEA
|
Sounds like conditional formatting that you get in Excel? I think if it was limited to just colouring up Nulls that would be OK but colouring up other values feels like overkill. Good idea though.
... View more
02-15-2023
02:29 AM
|
0
|
0
|
1642
|
|
POST
|
So this is functionality that's coming in 3.1? So sit and wait is your advice! Will be interesting to see if that cog button is something exposed to the developer when creating a script tool?
... View more
01-29-2023
05:10 AM
|
0
|
0
|
1637
|
|
POST
|
I've yet to work on anything that requires me to use the ArcPro .Net SDK. Much of what I do now can be done with arcpy. That said when Pro arrived I did have a little play and what I picked up on was that the environment is asynchronous and esri provide templates to ensure best practise. I think the object model is sufficiently different that some old dusty ArcObjects manual is now not relevant. But if you work in a environment where ArcMap still rules supreme or with clients who are unwilling to update it might just be worth keeping hold of for a couple more years? I still have an Avenue guide on my bookshelf! Now I'm showing my age... 😁
... View more
01-28-2023
04:30 PM
|
0
|
1
|
2905
|
|
POST
|
Just guessing, could it be as simple as? self.params[3].value = self.params[3].valueAsText.split(";")[:-1]
... View more
01-28-2023
04:20 PM
|
1
|
1
|
1346
|
|
BLOG
|
Hi Dan, When I click on the link to take me to the Sampling grids tool it's broken and if I search for the tool on Code Sharing I can't seem to find it. Has it been removed? Duncan
... View more
01-28-2023
04:17 PM
|
0
|
0
|
1160
|
|
POST
|
What you describe is what I believe is called the "packing problem". There is a good Q&A over on GIS stack exchange here. I personally created a tool many years ago in ArcMap that would create a grid of points and "jig" them around until it settled on the maximum number it could fit into a polygon, these were notionally wind turbines for off-shore wind farms. But I can immediately think of several things that makes your task more complex. For me the Sea was "flat" but for you the ground could be uneven which will no doubt complicate issues. I've driven past solar farms where the panels are individual as well as long sections of connected panels. As for your logic I would suggest that drawing a polygon then generating a solution is probably the wrong way of doing it as drawing will be temporary. I think a better solution is to simply create a shapefile with your intended farm boundary, then you have it for testing other scenarios and the all important map that you want to create? You don't actually state what environment you want to do this in, desktop, if so which, or online? I consider myself a desktop developer, originally for ArcMap but I'm making the move to ArcPro. I've yet to developer in the .Net SDK all my current development is in the Python geoprocessing framework. I'm based in the UK.
... View more
01-28-2023
03:52 PM
|
0
|
0
|
1344
|
|
POST
|
The following bit of code worked for me, I ran it from the IDE spyder: import arcpy
aprx = arcpy.mp.ArcGISProject(r"C:\Scratch\test\test.aprx")
m = aprx.listMaps("Map3")[0]
lyrList = m.listLayers()
for lyr in lyrList:
if lyr.longName == "Source Nodes":
lyr.visible = True
aprx.save()
print("Done!") You should not have ArcPro open as that will surely file lock the project. How are you running your external scripts? Are you running them from an IDE or are they scheduled by Windows? I think the source of your problem lies elsewhere not in the code itself?
... View more
01-28-2023
03:17 PM
|
0
|
0
|
1059
|
|
POST
|
I am developing a suite of geoprocessing tools in Python in the new ArcPro 3.0.1 toolbox (atbx). One of my parameters is a multivalue parameter of fields which is dependent upon a previous parameter selection (the layer the fields are coming from). DuncanHornby_0-1674946265004.png This creates the desired ability to choose one or more fields from the layer. But during testing I have noticed an odd behaviour which I don't want and am unsure if this a property that can be fixed through coding or its a bug, or (unwanted) behaviour baked in by esri? So.. If I run the tool, set the layer, I can choose my fields; if I select them via the drop down then they are displayed in order as they are in the attribute table as shown below: DuncanHornby_1-1674946571508.png The fields are displaying in the order as they are found in the attribute table (i.e. unsorted) But if I use the add many fields button the list is displayed in name sort order as shown below: DuncanHornby_2-1674946702180.png Fields in drop down are presented in name sort order How do I stop/correct it from sorting by name order?
... View more
01-28-2023
03:02 PM
|
0
|
2
|
1679
|
|
IDEA
|
Useful idea but if ESRI create such a tool I think it should also warn the user that its making a permanent join before it uploads to AGOL.
... View more
01-24-2023
07:54 AM
|
0
|
0
|
782
|
|
POST
|
Alongside @mody_buchbinder advice I would recommend highly that you install the CIM viewer, this allows you to view the full tree of properties of a layer in your map. I find it invaluable for drilling down through the insane number of properties a layer has. You can download a compiled version for ArcPro 3.0 here.
... View more
01-23-2023
02:06 AM
|
0
|
0
|
3916
|
|
POST
|
So you are filtering out grouplayers and processing only layers (which have no joins); again because you are not showing the full script its not possible to determine certain actions, such as saving the change you have made via CIM? I suggest you post up a minimum script that reproduces the problem because posting fragments of code is unhelpful in spotting the issue.
... View more
01-20-2023
02:06 AM
|
0
|
0
|
3952
|
|
POST
|
OK just thinking off the top of my head, if you read the help file it clearly states it only uses points or polygons as input. How about extracting the centroids of the lines, attaching the length of the line to them and then running the BBZ tool but using your length value as the input to Attribute to Consider parameter? I've never used that tool so what I might be suggesting is not appropriate, but worth ago I think?
... View more
01-19-2023
08:02 AM
|
0
|
0
|
1227
|
|
POST
|
I don't think works like that, but the dotty box won't print in your final export of your layout.
... View more
01-19-2023
07:41 AM
|
0
|
0
|
1967
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-03-2026 07:31 AM | |
| 3 | 06-29-2026 05:17 AM | |
| 1 | 02-15-2023 05:45 AM | |
| 1 | 06-16-2026 02:37 AM | |
| 1 | 06-15-2026 08:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|