|
POST
|
Split Line at Point (Data Management)—ArcGIS Pro | Documentation If you run the above again, does it split? The vague wording about specifying a search radius to get both points to intersect at once would be a stretch given the interpoint distance between the intersecting points in your example. Another thread suggested copying the inputs into a new projected gdb
... View more
02-27-2025
09:20 AM
|
0
|
2
|
1998
|
|
POST
|
More "stuff" to manage, it has always been slower since its inception, IMHO, But Troubleshooting Performance Issues in ArcGIS Pro is a good read, my big conclusion was work with local data on a gaming machine and never work with more than 2 maps, and if you need layouts, 1 is more than enough, if more is needed, split things up into separate projects Of course that won't work for most
... View more
02-27-2025
07:21 AM
|
2
|
1
|
8915
|
|
POST
|
Dissolve (Data Management)—ArcGIS Pro | Documentation How Dissolve (Data Management) works—ArcGIS Pro | Documentation if that is your intent to combine the disjoint features into one
... View more
02-27-2025
04:23 AM
|
0
|
0
|
1211
|
|
POST
|
You should report this since I don't see what you are seeing, so it may be something wih your environment or installation, and not common to all.
... View more
02-26-2025
04:04 PM
|
0
|
1
|
2093
|
|
POST
|
on the taskbar, try a right-click, unpin then go to start, all programs, find ArcGIS Pro and repin it to the taskbar
... View more
02-26-2025
02:20 PM
|
0
|
3
|
2106
|
|
POST
|
AsShape—ArcGIS Pro | Documentation your coordinate system and the one expected for geojson differ,which should produce the error. and the help examples seem to add to the confusion as to whether all types require one The spatial reference of a geometry object created from GeoJSON will be WGS 1984. But it returns a list of list of lists expecting multipart shapes for actual shape # --- via shortcuts
pth = r"C:\arcpro_npg\data\json\poly_a.geojson"
with open(pth) as f:
data = json.load(f)
type_key = pth.split(".")[-1]
keys = list(data.keys())
if 'features' in keys:
shapes = data['features']
coord_key = ['rings', 'coordinates'][type_key == 'geojson']
coords = [s['geometry'][coord_key] for s in shapes] # 'rings'
type_key
'geojson'
# --- or as a func
def _json_geom_(pth):
"""Return polygon/polyline geometry from a geoJSON or JSON file.
Parameters
----------
pth : text
The file path to the json or geojson file. The file extension is key.
Notes
-----
No error checking is done to ensure that the file provided to the function
complies with the structure required. It is a convenience function.
"""
import json
json_type = pth.split(".")[-1]
with open(pth) as f:
data = json.load(f) # kys = data.keys()
if json_type == 'geojson':
a = [i['geometry']['coordinates'] for i in data['features']]
elif json_type == 'json':
as_type = 'rings' if "Polygon" in data['geometryType'] else 'paths'
a = [i['geometry'][as_type] for i in data['features']]
else:
print("json file must end in `geojson` or `json` file extension.")
return a
a = _json_geom_(pth)
clean = [i[0] for i in a] # -- clean it up before `arcpying` it
clean
[[[300022.82380000036, 5000018.7291],
[300023.75989999995, 5000021.7301],
[300019.0992999999, 5000023.1839000005],
[300018.1632000003, 5000020.1828000005],
[300022.82380000036, 5000018.7291]],
[[300021.27770000044, 5000018.5285],
[300021.3431000002, 5000017.9504],
[300022.17009999976, 5000018.044],
[300022.1047, 5000018.622099999],
[300021.27770000044, 5000018.5285]],
[[300022.42509999964, 5000018.3925],
[300022.1776999999, 5000017.876499999],
[300022.69710000046, 5000017.6274999995],
[300022.9445000002, 5000018.1435],
[300022.42509999964, 5000018.3925]],
[[300021.1076999996, 5000017.653000001],
[300021.2898000004, 5000017.0383],
[300021.87260000035, 5000017.210999999],
[300021.69049999956, 5000017.8257],
[300021.1076999996, 5000017.653000001]],
[[300022.18709999975, 5000017.619000001],
[300022.40770000033, 5000016.850199999],
[300023.48759999964, 5000017.16],
[300023.26690000016, 5000017.9289],
[300022.18709999975, 5000017.619000001]],
[[300012.00459999964, 5000015.468699999],
[300011.9464999996, 5000015.1555],
[300013.37310000043, 5000014.890699999],
[300013.43120000046, 5000015.2038],
[300012.00459999964, 5000015.468699999]]] image created outside of the arcpy environment, but you have some numbers that you can test. A geojson is in the zip polys.png
... View more
02-26-2025
12:56 PM
|
2
|
0
|
1699
|
|
POST
|
some "Ideas" Add old pixel inspector to arcgis pro - Esri Community
... View more
02-26-2025
08:55 AM
|
0
|
0
|
1888
|
|
POST
|
That is what I am referring to as well. It is best to set it up on a per-tool basis within the tool itself since globally, there is no reference, hence no option to select a layer etc. Within the tool's environments, Pro has more "information" about the environment settings that can apply to the selected tool within modelbuilder. It is a workflow. If you want to select layers etc, then set your environments from within the tool. If you want to set them globally, then navigate to a featureclass or raster on disk. Also, the tool environments offers the ability to select things from disk as well as the layer, another advantage of focusing on the tool's environments rather than global shortcuts.
... View more
02-26-2025
07:49 AM
|
1
|
0
|
1821
|
|
POST
|
Configure pop-ups—ArcGIS Pro | Documentation Note: 3D tile layers and some raster types do not support pop-up configuration. and A default pop-up consists of a single column listing of fields. Suggesting that floating point rasters will not have default popups since there are no fields because floating point rasters have no table
... View more
02-26-2025
04:54 AM
|
0
|
0
|
1896
|
|
POST
|
It is the use of shortcuts I suspect. when validating the inputs to the tool, select the environments tab there and not after the fact. A drop down will appear since the tool validation is aware of the possible inputs as it is being used. When things are done after the fact, via a shortcut, you can still set the environment, but you have to select it after from the file on disk. mask0.png mask1.png making shortcuts behave as the expected process adds a whole extra layer of unnecessary checking. To access the drop down within environments simply keep within the modelbuilder tool settings and not those of the shortcuts.
... View more
02-26-2025
04:26 AM
|
1
|
0
|
1837
|
|
POST
|
I would start with modelbuilder to see if you can get part of your workflow done. You can create submodels then tie them together. Simle things like Iterate Tables (ModelBuilder)—ArcGIS Pro | Documentation can be added if you have your spreadsheets organized
... View more
02-25-2025
12:09 PM
|
0
|
0
|
3326
|
|
POST
|
coding or modelbuilder would be the first suggestion since you seem to have a workflow but Is this something that you have to do hourly? daily? every month? Is there a wide spread use for this? the effort expended in developing the code might have to be weighed against the above
... View more
02-25-2025
08:56 AM
|
0
|
2
|
3348
|
|
POST
|
You are posting screen shots hit ... then </> pick your language paste your code in there People can copy and paste code from an image, but they can from a code block in a post or response
... View more
02-24-2025
12:43 PM
|
0
|
2
|
2140
|
|
POST
|
Som progress. but Your code in your first thread import arcpy from WorldFPatbx.DeleteScratchGDB import DeleteScratchGDB from WorldFPatbx.ModelSub01 import ModelSub01 aprx = arcpy.mp.ArcGISProject('CURRENT') .... snip .... Your code after following the thread I posted and using code blocks ( </> ) import arcpy
from WorldFPatbx.DeleteScratchGDB import DeleteScratchGDB
from WorldFPatbx.ModelSub01 import ModelSub01
aprx = arcpy.mp.ArcGISProject('CURRENT')
.....snip....
... View more
02-24-2025
11:16 AM
|
0
|
4
|
2151
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago |