|
POST
|
Coordinates by themselves aren't dimensions. Points have no dimensions. Lines have a single dimension, length. Polygons are two dimensional, they have length and width, three dimensional geometries also have height or depth. More specifically, the number of dimensions of an object is how many values or coordinates (note not coordinate pairs) are needed to locate a point on that object. You don't need anything to locate a point on a point. You can locate a point along a line with a single x or y coordinate (or distance value). To locate a point in a polygon or on a surface, you need both x and y. And to locate a point in a 3d object, say a cube, you need x, y and z coordinates.
... View more
03-08-2022
01:30 AM
|
4
|
2
|
5191
|
|
POST
|
Your theory is likely correct, this has been noticed previously (see 2nd comment below this GIS-SE answer). You can also use import <module>.<thing> as <thing>.
... View more
03-07-2022
06:30 PM
|
1
|
1
|
2827
|
|
POST
|
With node.js installed, in VS Code either open the folder containing your .js file (File -> Open Folder...) or open your .js file directly (File -> Open File...) with the folder open - click Run->Add Configuration... pick node.js, close the launch.json file then select your .js script in the sidebar to open it in the editor and Ctrl-F5 (or Run -> Run Without Debugging) to run. with the file open, Ctrl-F5 to run, pick node.js. The advantage of opening the folder rather than the file is that you save your run config and don't have to set it up every time.
... View more
03-03-2022
05:38 PM
|
1
|
1
|
3247
|
|
POST
|
I use Visual Studio Code with the language set to Javascript. Seems other users do too. Not ideal but ok for syntax highlighting. Any IDE that supports JS should work. You can just copy/paste between VSCode and Pro, but you might be able to save in your IDE and load in Pro. I use Arcade for popup configs and save as a .lxp (Label Expression File (LXP)) which is plain text format in VSCode then import in the popup expression builder. You might be able to do the same for attribute expressions.
... View more
02-28-2022
01:56 PM
|
3
|
0
|
6484
|
|
POST
|
I had a python toolbox that used the memory workspace for arcpy.JSONToFeatures_conversion. It worked fine in Pro 2.3 but stopped working when we moved to 2.6. I haven't tried in 2.8.
... View more
02-26-2022
12:06 AM
|
0
|
0
|
2240
|
|
POST
|
You could use itertools.count Expression: next(counter) Code block: import itertools
counter = itertools.count(start=1201)
... View more
02-22-2022
12:54 AM
|
1
|
1
|
2678
|
|
POST
|
You know that pandas/geopandas operations generally return a new dataset and don't alter the existing dataset...? Unless that method accepts an inplace argument. So df = df.replace(etc...) # returns new dataset, assigns it to new df variable.
df.drop(etc...) # returns new dataset, isn't assigned to any variable so just goes out of scope and is deleted
df # still has the objectid, shape cols because you haven't altered the df variable.
... View more
02-19-2022
12:49 AM
|
0
|
0
|
4788
|
|
POST
|
You're generating new dfs. Use something like df = df.replace(etc...)
df # show in notebook
... View more
02-17-2022
11:52 PM
|
0
|
1
|
4800
|
|
POST
|
Make sure you haven't got any features selected in either layer in Pro. The tool will respect any selections.
... View more
02-14-2022
08:06 PM
|
0
|
0
|
1240
|
|
POST
|
Right-click the Copy Raster (Data Management) tool, select batch. Specify the Input Raster parameter as the batch parameter. Specify GeoTIFF or Cloud Optimized GeoTIFF as the output format. In the batch tool environment settings, specify JPEG or JPEG_YCbCr compression.
... View more
02-04-2022
04:35 AM
|
1
|
0
|
2772
|
|
POST
|
@shan_sarkar wrote: Pretty sure Esri does not have this open where you can open packages made from ArcGIS into opensource apps. Refer:- 1. Export ArcGIS or ArcGIS Pro projects as a QGIS project 2. Is there a way to open an .mpk file in QGIS? (This one is a workaround which may vary in results..**Not Recommended) I think you misread the question. It's not about reading ArcGIS layers/maps/projects in QGIS, it's about whether ArcGIS supports reading non simple feature (i.e not points, lines and polys) data such as symbology, labels etc. that can be written by QGIS into geopackage (.gpkg) sqlite databases.
... View more
02-03-2022
12:48 AM
|
2
|
0
|
14404
|
|
POST
|
rasterio isn't part of the ArcGIS suite of software, you might be better off asking on the rasterio group or GIS StackExchange.
... View more
02-03-2022
12:35 AM
|
0
|
0
|
2269
|
|
POST
|
Why not use the gdal.Translate python method instead of a subprocess? You may get more help posting this on GIS Stack Exchange, this is an ArcGIS community, though there's probably at least some GDAL users. And please next time post text as text not screenshots (you can use the code formatting button in the advanced editor). Text is hard to read in an image.
... View more
02-02-2022
01:10 AM
|
1
|
0
|
1393
|
|
POST
|
Add your map to a layout that is your desired dimensions? https://pro.arcgis.com/en/pro-app/latest/get-started/add-maps-to-a-layout.htm
... View more
01-24-2022
05:58 PM
|
3
|
0
|
4312
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-24-2022 03:08 PM | |
| 1 | 07-30-2025 03:00 PM | |
| 1 | 06-10-2025 08:06 PM | |
| 5 | 05-20-2025 07:56 PM | |
| 1 | 05-04-2025 10:34 PM |