POST
|
If you have a newer camera that stores exif coordinate metadata (most newer smart phones capture this) you could take pictures outside of the Collector app and geolocate them with ESRI's Geotagged Photos to Point tool. If I understand correctly, you want to use Collector JUST to collect the centerline of trail with a GPS receiver hooked up, correct? And take pictures outside of the Collector app?
... View more
05-02-2019
01:15 PM
|
0
|
1
|
753
|
POST
|
Have you looked into enabling attachments for the polyline feature class? An overview of the Attachments toolset—Data Management toolbox | ArcGIS Desktop. Or if you have many feature classes that are being consumed in the web map, you can enable attachments on all of them. This would allow users to capture photos from the point, line, polygon features they're editing in Collector.
... View more
05-02-2019
11:54 AM
|
0
|
0
|
753
|
POST
|
Jarret, Thanks so much for the reply. It's funny I actually thought of that and tried it out yesterday, but I don't think it will work with a map series with a rotated Map Frame. When the Map Frame is not rotated, the custom symbols look good. In Layout with Map Series enabled (and rotation is set via a Strip Map Index), the symbols don't honor the rotation of the Map Frame. Is there a workaround for this?
... View more
05-02-2019
06:32 AM
|
0
|
0
|
1664
|
POST
|
Is there a way to change the arrow and line color of a dimension feature class in ArcGIS Pro. I see where you can change the text color, but not the arrow/line color. I am using 2.3.2 and can't seem to find it anywhere.
... View more
04-30-2019
06:57 AM
|
0
|
4
|
2137
|
POST
|
All all JPGs stored in the same directory? If so, you can use string formatting and an update cursor to create a complete path. Also, a Calculate Field could work as well. Test this on scratch data first (create a backup). import arcpy, os
fc = r'pathto\Projects\DOT_SignInventory\Data.gdb\WCDOT_Signs'
jpg_dir = r"P:\GIS_Highway_Dept\Applications\Sign Inventory\Photos\CH01"
fields = ['Post_Number', 'Photo']
with arcpy.da.UpdateCursor(fc, fields) as cursor:
for row in cursor:
path_to_jpg = """{0}\{1}.jpg""".format(jpg_dir, row[0])
cursor.updateRow(row)
del cursor
... View more
03-19-2019
08:52 AM
|
1
|
4
|
1216
|
POST
|
You could build a dictionary of both geometries and compare them with arcpy. However, I don't know if this will be any faster... especially connecting to a non-local database. I would test this on scratch data first. import arcpy
#datasources
polygon = r'path\to\polygon'
point = r'path\to\point'
#cursor objects
polyCur = arcpy.da.SearchCursor(polygon, ['SHAPE@','PlanRefID'])
pointCur = arcpy.da.SearchCursor(point, ['SHAPE@','OBJECTID'],"PlanRefID IS NULL")
#dictionary to store geometry:value pairs for comparison
poly_dict = {row[0]:row[1] for row in polyCur}
point_dict = {row[0]:row[1] for row in pointCur}
#populated match dictionary of polygon.PlanRefID, if point geom is within poly geom
#see here: http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/point.htm
match = {}
for pnt in point_dict:
for poly in poly_dict:
if pnt.within(poly):
ID = point_dict[pnt]
value = poly_dict[poly]
match[ID] = value
#could add qry to make it run faster.. may not work with different data formats (.shp)
qry = "OBJECTID IN {}".format(tuple(k for k in match))
#iterate over points w/ qry and update PlanRefID if OBJECTID is found in dictionary
with arcpy.da.UpdateCursor(point, ['OBJECTID','PlanRefID'],qry) as cursor:
for row in cursor:
if row[0] in match:
row[1] = match[row[0]]
cursor.updateRow(row)
del cursor
Lastly, I created a similar ESRI Script Tool that has worked successfully with ArcMap 10.4. I call is Spatially Append Attributes.
... View more
03-13-2019
12:09 PM
|
1
|
1
|
1458
|
POST
|
This tool should do it: Table To Excel—Conversion toolbox | ArcGIS Desktop
... View more
03-05-2019
01:29 PM
|
2
|
1
|
405
|
POST
|
Aaron, Perhaps the some code is broken prior to exporting the map series. I have quickly written the code below to test the functionality of the MapSeries module, and it seems to be working okay. This was completed without any errors and with a proper output. import arcpy
datasource = r'path/to/aprx.aprx'
aprx = arcpy.mp.ArcGISProject(datasource)
l = aprx.listLayouts()[0]
if l.mapSeries.enabled is True:
print ("Printing map series for layout: {}".format(l.name))
ms = l.mapSeries
ms.exportToPDF(r'desktop\path\MapSeries_Test.pdf',"ALL",
"",
"PDF_SINGLE_FILE",
150,
"BEST",
True,
"ADAPTIVE",
True,
"LAYERS_ONLY",
True,
80,
True,
False) This was run with Python 3.6.6 with ArcGIS Pro 2.3.
... View more
02-26-2019
09:13 AM
|
2
|
1
|
4864
|
POST
|
First, are you getting any errors? I think you're simply checking to see if the map series is enabled (line 31) instead of enabling MapSeries if the layout does not already have it enabled. Replace the lines 28 - 32 in your existing code with the snippet below and see if you get any results. #export mapseries as PDF - This Works
if not l.mapSeries is None:
ms = l.mapSeries
if ms.enabled:
ms.exportToPDF(r"C:\EsriPress\Ex3_SelectedFeatures.pdf", "ALL", "", "PDF_SINGLE_FILE", 150, "BEST", True, "ADAPTIVE", True, "LAYERS_ONLY", True, 80, True, False)
else:
ms.enabled = True
ms.exportToPDF(r"C:\EsriPress\Ex3_SelectedFeatures.pdf", "ALL", "", "PDF_SINGLE_FILE", 150, "BEST", True, "ADAPTIVE", True, "LAYERS_ONLY", True, 80, True, False)
... View more
02-26-2019
07:23 AM
|
1
|
3
|
4864
|
POST
|
I am curious if there is a way to check to see how many credits a WFS or Web App is consuming in a given time period. Our organization is having a hard time determining exactly which services/apps are eating most of our credits. We are burning through credits very quickly! All of our credits are being used for storage. Thanks in advance.
... View more
02-11-2019
11:53 AM
|
0
|
7
|
2694
|
POST
|
I can second this. I was editing Layout elements/legend the other day and 2.3 crashed on me several times. No error or warning screen popped up either.
... View more
02-01-2019
07:51 AM
|
0
|
0
|
1038
|
POST
|
Currently, out team is in the transition of switching between ArcGIS Desktop and ArcGIS Pro. In the past, we would store .mxd files in a directory named MXD. Now that ArcGIS Pro produces several new file names (.mapx, .pagx, .aprx), we are thinking about storing all these files in a single directory as well. However, the name MXD doesn't really fit anymore! We are curious how others are managing their directory structure with these new files. Thanks for any suggestions!
... View more
01-31-2019
08:18 AM
|
0
|
1
|
442
|
Title | Kudos | Posted |
---|---|---|
1 | 02-26-2024 07:19 AM | |
1 | 02-21-2024 01:38 PM | |
1 | 02-21-2024 08:39 PM | |
1 | 11-03-2016 08:42 AM | |
1 | 12-01-2016 12:56 PM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|