|
POST
|
Hi Jamal, The drop-down menu you have in the image is for docking the Contents pane. Since it's already docked, it's greyed out. To dock the attribute table, grab the title of the table (where you also exit it) and the docking options appear in the middle of the screen.
... View more
09-18-2015
05:28 AM
|
2
|
1
|
2104
|
|
POST
|
If you're looking for a specific button on the ribbon for this functionality, then I agree with Dan. It would be worth putting in an enhancement request.
... View more
09-18-2015
04:38 AM
|
2
|
0
|
2944
|
|
POST
|
Hi Jamal, I assume most, if not all, of the functionality from that list is built within Pro. How to access the functionality has probably changed in Pro a bit since it's a new application. For instance, adding a File Geodatabase from the Project Pane is done by right-clicking the Databases folder now and choosing the location (and of course there is the option to add one from the Insert menu as well). I'm taking a guess, but I assume this was changed because it stores the connection to that file geodatabase in the Databases folder for easy access, and also to organize the connections for the project. After working with ArcMap for so long, it can take some time to become adjusted to the changes, but it does make working with "projects" much easier.
... View more
09-18-2015
04:30 AM
|
3
|
0
|
1111
|
|
POST
|
Hi Jamal, These options are in Pro. As Rebecca mentioned, there will not be an exact one to one comparison of the buttons between ArcMap and Pro. To view zooming options, hover over the Explore button in the Map ribbon. To zoom in by drawing a rectangle, use SHIFT + dragging the cursor to create the box. Cheers, Jennifer
... View more
09-17-2015
05:01 AM
|
3
|
8
|
2943
|
|
POST
|
Hi Jamal, Folder connections in ArcGIS Pro are stored per project. This helps to organize the folder connections and limit them to only the ones required for that project. If you want your folder connections there each time you open Pro, I would create a general template project that you can save and work with each time. Check out Create a new project—ArcGIS Pro | ArcGIS for Desktop and look at the Create a project from another template section. I think this may be the solution to your issue. Cheers, Jennifer
... View more
09-17-2015
04:50 AM
|
1
|
5
|
1803
|
|
POST
|
Hi Jamal, What version of Pro are you on? I'm on Pro 1.1.0 and that functionality is there. Maybe you require an upgrade or a fresh install of Pro. Cheers, Jennifer
... View more
09-17-2015
04:35 AM
|
3
|
2
|
3153
|
|
POST
|
Hi Steve, I have a script to create a Map Book that I made a few days ago with the help of Create a map book with Python—ArcGIS Pro | ArcGIS for Desktop . It modifies the text elements and map extent to act like they would with the data driven functionality. Hopefully this post points you or someone else reading this in the right direction if they don't want to wait until the next release. See the attached file for the PDF it outputs. import arcpy, os
from arcpy import env
# Set input feature class to parameter
fc = arcpy.GetParameterAsText(0)
env.workspace = os.path.dirname(fc)
# Set output PDF location to parameter
pdfOutput = arcpy.GetParameterAsText(1)
# Create the PDF file
pdfPath = os.path.join(pdfOutput,'Inspection.pdf')
pdfDoc = arcpy.mp.PDFDocumentCreate(pdfPath)
# Assign project to parameter
project = arcpy.mp.ArcGISProject("D:\WebSeminars\ProTasks_Demos\Demo2\Data\BuildingTasks\BuildingTasks.aprx")
project.save()
# Select layout and assign to parameter
lyt = project.listLayouts("Layout")[0]
# Set map frame to a parameter and get an extent object
mf = lyt.listElements("MAPFRAME_ELEMENT", "Map Map Frame")[0]
# Set map to a parameter - when importing the layout, it imports the map that was saved with it (ensure this is set correctly)******
map = project.listMaps("Map")[0]
# Set asset layer to a parameter
lyr = map.listLayers(fc)[0]
# Assign Title, Location, Structure, Asset ID, Condition, Last Inspection, and Notes text elements to parameters
titleText = lyt.listElements("TEXT_ELEMENT","Title Text")[0]
locationText = lyt.listElements("TEXT_ELEMENT","Location Text")[0]
structureText = lyt.listElements("TEXT_ELEMENT","Structure Text")[0]
assetText = lyt.listElements("TEXT_ELEMENT","Asset ID Text")[0]
conditionText = lyt.listElements("TEXT_ELEMENT","Condition Text")[0]
lastInspectionText = lyt.listElements("TEXT_ELEMENT","Last Inspection Text")[0]
notesText = lyt.listElements("TEXT_ELEMENT","Notes Text")[0]
# Hide Location, Asset ID, Condition, and Last Inspection text elements for the title page
locationText.text = " "
structureText.text = " "
assetText.text = " "
conditionText.text = " "
lastInspectionText.text = " "
notesText.text = " "
# Zoom to extent of asset layer
###extent = mf.getLayerExtent (lyr,"False","True")
extent = mf.getLayerExtent(lyr)
mf.camera.setExtent(extent)
# Create Title Page for PDF
lyt.exportToPDF(os.path.join(pdfOutput,"TitlePage.pdf"))
pdfDoc.appendPages(os.path.join(pdfOutput,"TitlePage.pdf"))
# Add Length field and calculate values (maintain length in point feature class)
arcpy.AddField_management(fc,"Length","FLOAT")
arcpy.CalculateField_management(fc,"Length","!Shape_Length!","PYTHON")
# Copy selected features to in-memory workspace
arcpy.CopyFeatures_management(fc,"in_memory/SelectedAssets")
# Create center point of assets
arcpy.FeatureToPoint_management("in_memory/SelectedAssets","in_memory/AssetCentroid","CENTROID")
notesText.text = "Notes: _________________________________________________________________________"
# Loop through selected records and create map book
with arcpy.da.SearchCursor("in_memory/AssetCentroid", ['AssetID','CONDITION','LastInspection','DESCRIPTIO','Length','SHAPE@XY','STRUCTURE1']) as cursor:
for row in cursor:
# Get x and y values of centroid
x, y = row[5]
# Set different map extents for different sized features
if row[4] < 70:
# Set smaller extent
left = x - 166
right = x + 166
top = y + 131
bottom = y - 131
else:
# Set larger extent
left = x - 494
right = x + 494
top = y + 390
bottom = y - 390
# Create string from Condition domain value
if str(row[1]) == '1':
conditionValue = 'Bad'
elif str(row[1]) == '2':
conditionValue = 'Poor'
elif str(row[1]) == '3':
conditionValue = 'Fair'
elif str(row[1]) == '4':
conditionValue = 'Good'
elif str(row[1]) == '5':
conditionValue = 'Very Good'
# Update Title, Condition, and Last Inspection text elements
titleText.text = " "
locationText.text = "Location: " + str(row[3])
structureText.text = "Structure: " + str(row[6])
assetText.text = "Asset ID: " + str(row[0])
conditionText.text = "Condition: " + conditionValue
lastInspectionText.text = "Last Inspection Date: " + str(row[2])
# Update map frame extent to the current asset feature
# Assign extent values to parameter
desc = arcpy. Describe(fc)
sr = desc.spatialReference
# Assign extent object new values
extent.XMin = left
extent.XMax = right
extent.YMax = top
extent.YMin = bottom
mf.camera.setExtent(extent)
# Append pages to the PDF
lyt.exportToPDF(os.path.join(pdfOutput,"Asset" + str(row[0]) + ".pdf"))
pdfDoc.appendPages(os.path.join(pdfOutput,"Asset" + str(row[0]) + ".pdf"))
# Set document properties – Change pdf_author to your name or the name of your organization
pdfDoc.updateDocProperties(pdf_title = "Asset Inspection",
pdf_author = "Esri Canada",
pdf_subject = "Asset Inspection",
pdf_keywords = "inspection; asset; condition; last inspection",
pdf_open_view = "USE_THUMBS",
pdf_layout = "SINGLE_PAGE")
pdfDoc.saveAndClose()
... View more
09-03-2015
07:45 AM
|
4
|
1
|
4325
|
|
POST
|
Do you mean that you want to run data reviewer against data in a 10.1 geodatabase, but write the results to a geodatabase created in 10.3?
... View more
08-18-2015
08:54 AM
|
0
|
0
|
886
|
|
POST
|
If your GPS points are in a tabular format, you can easily create a feature class from the points, instead of digitizing them. Refer to resources.arcgis.com/en/help/main/10.1/index.html#//00s50000001z000000 for more information on how to accomplish this.
... View more
08-18-2015
08:43 AM
|
1
|
0
|
739
|
|
POST
|
You could try something like this. It requires you to set the output spatial reference, range of lat/long values, and the output feature class location to what you're using. import arcpy, random
# Create list to hold groupings of coordinates
triangleCoordList = []
# Create list to hold all polygon objects
triangleList = []
# Create spatial reference parameter
sr = arcpy.Describe("C:\Users\jmccall\Desktop\Test.gdb\TriangleSRSample").spatialReference
# Set triangle counter
countTriangles = 0
# Start loop for 75 triangles
while countTriangles < 75:
## Create 3 pairs of lat/long values
# Set coordinate counter
countCoords = 0
# Create list to hold coordinates for single triangle
coordList = []
while countCoords < 3:
latLongList = []
# Cerate list
# Create lat value
lat = random.uniform(50.994219776,51.066472899)
# Create long number
long = random.uniform(-113.772229212,-113.865563728)
latLongList.append(long)
latLongList.append(lat)
# Update lat long coordinate list
coordList.append(latLongList)
# Update coordinate counter
countCoords = countCoords + 1
# Append coordinate list to complete list of coordinates
triangleCoordList.append(coordList)
# Update triangle counter
countTriangles = countTriangles + 1
## Create features
# Loop through coordinate pairs in list
for feature in triangleCoordList:
triangleList.append(arcpy.Polygon(arcpy.Array([arcpy.Point(*coords) for coords in feature]),sr))
# Copy polygon objects to the Triangle feature class
arcpy.CopyFeatures_management(triangleList, "C:\Users\jmccall\Desktop\Test.gdb\Triangle")
... View more
08-13-2015
07:06 AM
|
1
|
2
|
3299
|
|
POST
|
Could it have anything to do with the limitations of the format you're downloading (ex; Shapefile component size limit is 2GB)?
... View more
08-11-2015
08:06 AM
|
1
|
1
|
895
|
|
POST
|
Do you have your own DEM? It could be that your data is below the elevation in the World Elevation Surface. I experienced this same behaviour and it solved the problem for me.
... View more
07-30-2015
09:35 AM
|
0
|
2
|
2527
|
|
POST
|
Have you tried renaming your Esri folder in C:\Users\<your user name>\AppData\Roaming\ESRI? This is my go-to solution when ArcMap or ArcCatalog have strange behaviour.
... View more
07-30-2015
06:32 AM
|
1
|
1
|
1135
|
|
POST
|
Hi Bruce, You need to create a hosted feature layer from the shapefile, and then you can search for it. When you add the shapefile to My Content, ensure "Publish this file as a hosted layer" is checked. It will create both the shapefile and hosted feature layer in My Content.
... View more
07-22-2015
04:09 AM
|
0
|
4
|
2020
|
|
POST
|
Hi Mohammad, I'm assuming you're referring to using an ArcGIS Server map service in the ArcGIS Online map viewer for your web map instead of the basemaps provided there. If this a map service you are hosting on your own server, see the following steps: 1. Click Add, and choose Add Layer from Web 2. In the first drop down, ensure An ArcGIS Server Web Service is chosen. In the URL section, enter the rest endpoint for your map service. 3. Ensure you check the box beside "Use as Basemap" You can also refer Choose basemap—ArcGIS Online Help | ArcGIS for more information, and instructions on how to change the basemap from searchable layers on ArcGIS Online. Jenn
... View more
07-09-2015
04:21 AM
|
1
|
1
|
1059
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-09-2016 06:14 AM | |
| 1 | 10-22-2014 02:15 PM | |
| 1 | 08-19-2016 04:53 AM | |
| 1 | 07-08-2015 04:33 AM | |
| 1 | 08-19-2016 04:48 AM |