|
POST
|
See the code samples in Layout—ArcGIS Pro | Documentation Of course, it will only work if you have one or more layouts
... View more
09-29-2020
08:34 PM
|
0
|
1
|
11760
|
|
POST
|
From Map—ArcGIS Pro | Documentation A map can also be accessed from a MapFrame object using the map property. Note: arcpy.mp does not provide access to map views within the application; it only provides access to MapFrames. perhaps MapFrame—ArcGIS Pro | Documentation there is export to png there Plus other salient bits of information beginning here Migrating from arcpy.mapping to ArcGIS Pro—ArcGIS Pro | Documentation
... View more
09-29-2020
08:10 PM
|
1
|
3
|
11760
|
|
POST
|
Not normal. Did you do a complete purge or anything related to Esri (ie rename registry, your c:\User... profile, image caches, uninstall anything you installed to support Pro)? And follow it up with a complete fresh install of 2.6. I would check things then with a new project as you have done, before you update to 2.6.1 Barring that, Tech Support may have other suggestions related to your computer and setup that may have nothing to do with Pro at all. Good luck
... View more
09-29-2020
12:49 PM
|
0
|
1
|
1759
|
|
POST
|
If you need start and end coordinates Add Geometry Attributes (Data Management)—ArcGIS Pro | Documentation Or are you looking for something along the lines of "linear referencing" ?
... View more
09-29-2020
09:11 AM
|
0
|
0
|
523
|
|
POST
|
Not sure, but nothing likes 32 or more characters https://support.esri.com/en/Search-Results#search?q=%2232%20characters%22&content-type=Bugs
... View more
09-28-2020
07:44 PM
|
1
|
1
|
3077
|
|
POST
|
Windows search (bottom left) Add/Remove Programs If Upgrade requirement isn't met, then it means you don't have the initial version of "whatever" installed or its version isn't correct for an upgrade. Sometimes, you just can't upgrade a version without intermediate upgrades. In those instances, a complete uninstall of the old and an install of the new is best. Of course, this depends on what you want to remove and what you have to install
... View more
09-28-2020
06:06 PM
|
0
|
0
|
1156
|
|
POST
|
Emiko Condeso Don't know if the bug applies to file gdb but all that it means that the only report was for enterprise. The real take-away is the Cell Alignment considerations which allows you to fine-tune how extents and raster cells creation can interact. Sadly, this aspect is overlooked by many and it isn't necessarily consistent among other gis software or in translations of rasters to other forms of raster representation.
... View more
09-28-2020
06:00 PM
|
0
|
0
|
2204
|
|
POST
|
two variants apparently, desktop and server An overview of the GeoAnalytics Desktop toolbox—ArcGIS Pro | Documentation An overview of the GeoAnalytics Server toolbox—ArcGIS Pro | Documentation
... View more
09-27-2020
04:04 PM
|
0
|
0
|
2837
|
|
POST
|
searching for "spot colors" (with quotes) in the help yields Define and use spot colors—ArcGIS Pro | Documentation Color—ArcGIS Pro | Documentation Text formatting tags—ArcGIS Pro | Documentation Text formatting tags—ArcGIS Pro | Documentation apparently introduced in Pro 2.5 What's new in ArcGIS Pro 2.5—ArcGIS Pro | Documentation Is this what you are referring to?
... View more
09-27-2020
03:32 AM
|
0
|
1
|
1335
|
|
POST
|
good = int(arcpy.GetCount_management(coveyCountFL).getOutput(0))
if good >= 1:
..... you ruled out your first condition... not sure if a breakpoint within a condition is a good idea.
... View more
09-26-2020
02:40 PM
|
0
|
1
|
1960
|
|
POST
|
There have been issues noted with half cell pixel shifts, for example BUG-000110431: Copying and pasting a raster to an enterprise geodat.. The "cell alignment" environment setting was recently introduced to account for this Cell Alignment (Environment setting)—ArcGIS Pro | Documentation Tools that support it like copy raster support this environment setting Copy Raster (Data Management)—ArcGIS Pro | Documentation If you want to know when the difference occurred you would have to examine the "whats new" section of the help Release notes for ArcGIS Pro 2.6—ArcGIS Pro | Documentation or the tech support documentation
... View more
09-26-2020
02:38 AM
|
1
|
2
|
2204
|
|
POST
|
arr = []
polys = []
sr = "NAD 1983 CSRS MTM 9"
with arcpy.da.SearchCursor('test', ['SHAPE@']) as cursor:
for row in cursor:
polygon = row[0]
for cnt in range(polygon.partCount):
part = polygon.getPart(cnt)
polys.append(part)
arr.append(part)
a = arcpy.Array(arr)
a
<Array
[<Array [<Point (300009.0, 5000001.0, #, #)>, <Point (300000.0, 5000000.0, #, #)>,
<Point (300002.0, 5000008.0, #, #)>, <Point (300008.0, 5000010.0, #, #)>,
<Point (300010.0, 5000010.0, #, #)>, <Point (300010.0, 5000008.0, #, #)>,
<Point (300009.0, 5000001.0, #, #)>,
None,
<Point (300003.0, 5000003.0, #, #)>, <Point (300007.0, 5000003.0, #, #)>,
<Point (300005.0, 5000007.0, #, #)>, <Point (300003.0, 5000003.0, #, #)>]>,
<Array [<Point (300010.0, 5000008.0, #, #)>, <Point (300010.0, 5000010.0, #, #)>,
<Point (300008.0, 5000010.0, #, #)>, <Point (300008.0, 5000011.0, #, #)>,
<Point (300008.0, 5000012.0, #, #)>, <Point (300012.0, 5000012.0, #, #)>,
<Point (300012.0, 5000008.0, #, #)>, <Point (300010.0, 5000008.0, #, #)>]>,
<Array [<Point (300008.0, 5000011.0, #, #)>, <Point (300005.0, 5000010.0, #, #)>,
<Point (300005.0, 5000012.0, #, #)>, <Point (300006.0, 5000012.0, #, #)>,
<Point (300008.0, 5000012.0, #, #)>, <Point (300008.0, 5000011.0, #, #)>]>,
<Array [<Point (300006.0, 5000012.0, #, #)>, <Point (300005.0, 5000012.0, #, #)>,
<Point (300005.0, 5000015.0, #, #)>, <Point (300007.0, 5000014.0, #, #)>,
<Point (300006.0, 5000012.0, #, #)>]>]>
Before and after. polygon with hole and 3 separate polygons. The output (green) p0 = arcpy.Polygon(a)
p0.partCount
p0.isMultipart
True
p0.getPart(0)
<Array [<Point (300006.0001220703, 5000012.00012207, #, #)>,
<Point (300008.0001220703, 5000012.00012207, #, #)>,
<Point (300012.0001220703, 5000012.00012207,
<Point (300006.0001220703, 5000012.00012207, #, #)>,
None,
<Point (300003.0001220703, 5000003.00012207, #, #)>,
<Point (300007.0001220703, 5000003.00012207, #, #)>,
<Point (300005.0001220703, 5000007.00012207, #, #)>,
<Point (300003.0001220703, 5000003.00012207, #, #)>]> Unexpected Result!!!! Not at all, since you can't create multiparts that are disjoint if they share an edge, so the polygon resultant is indeed a multipart shape since it contains a hole, but the perimeter of the green output is the result of the dissolved boundaries from the input singlepart polygons.
... View more
09-25-2020
06:02 PM
|
2
|
2
|
4099
|
|
POST
|
Do you need to do the 'explode' functionality one at a time, or selectively or can you not do it all at once. Multipart To Singlepart (Data Management)—ArcGIS Pro | Documentation
... View more
09-24-2020
08:07 PM
|
0
|
0
|
3714
|
|
POST
|
^ should be ** !P110003! / ((math.sqrt((!x_coord!-!site1x!)**2 + (!y_coord!-!site1y!)**2)) / 5280)
... View more
09-24-2020
07:06 PM
|
2
|
0
|
3524
|
|
POST
|
aString.split("<br>")[14] if aString.count("<br>") >= 50 else "nope"
'nope'
aString.split("<br>")[14] if aString.count("<br>") >= 14 else "nope"
' status 6 ' maybe you have a shorter string than 14 <br> values
... View more
09-24-2020
04:11 PM
|
1
|
2
|
2742
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago |