POST
|
Hi Katie, I followed up with our IT Division on your question about which group policy settings were updated. Their response is: "You have to change how the drives are mapped through group policy, we had them set to replace once we changed them to update this fixed the issue. https://community.spiceworks.com/topic/1139165-windows-10-losing-mapped-drives http://eddiejackson.net/wp/?p=16319 https://www.qdoscc.com/blog/following-windows-10-upgrade-mapped-drives-disconnect-briefly Here are some links that will help with what to change and why." Hope this helps your IT Department.
... View more
12-11-2018
01:39 PM
|
1
|
1
|
1571
|
POST
|
Our organization has also migrated to Windows 10 and ArcGIS 10.5.1./ArcGIS Pro 2.1. Several people in our organization receive general function failures when working with data stored in file geodatabases or shapefiles stored on our shared drives (not our SDE environment). ESRI technical support helped us before and said that if we mapped the data using the UNC paths that would resolve the issue. It did lessen it some, but the issue still happens. It happens when people are editing, printing, or even just viewing the data. We also get it when importing excel and csv files into ArcMap. We have yet to find a solution and it is very frustrating.
... View more
04-24-2018
11:00 AM
|
3
|
13
|
2070
|
POST
|
Or to the action functionality example of selecting a feature in the map element, then have other elements filter their data content based on the selection. I've looked through GeoNet and the ESRI help pages and can't find anything like this. I have a ticket in with ESRI technical support and they are stumped too.
... View more
04-17-2018
10:58 AM
|
0
|
1
|
1775
|
BLOG
|
Hello, What widget was used in the Water Quality Inspections example to filter the dashboard elements? Is this an out of the box widget or did it have to be customized? Thanks, Molly
... View more
12-12-2017
12:40 PM
|
1
|
0
|
4618
|
POST
|
Thanks for the suggestion. I figured out the issue. There were trailing zeros in the index layer field so while it appeared the strings matched they actually did not. I used another index layer that does not have trailing zeros and now it works.
... View more
04-24-2014
10:59 AM
|
0
|
0
|
682
|
POST
|
I added another message to get the pageID. Even though the page name string matches the page name in the index layer table, the pageID is always 0.
... View more
04-24-2014
10:43 AM
|
0
|
0
|
682
|
POST
|
When I add a message for the newpage the string matches the string in the index layer table for the page name. I am using ArcGIS version 10.2
... View more
04-24-2014
10:03 AM
|
0
|
0
|
682
|
POST
|
I had a suggestion from a co-worker to make the parameters string using the following: STR = TNSHP + " " + RNG + " " + SCTN STRQuoted = "\'"+ STR + "\'" then the page ID would use the STR so pageID = ddp.getPageIDFromName(STRQuoted) ddp.currentPageID = pageID This still does not work. It exports the firsts page instead of the page defined by the parameters.
... View more
04-24-2014
09:46 AM
|
0
|
0
|
682
|
POST
|
I am trying to write a Python script so the user can export a PDF map from an MXD using data driven pages without the user having to open the MXD and scroll through all the data driven pages to find the page they need. The Index Grid is the Section, Township, Range polygon. The page name looks like this in the attribute table: T1N R70W S12. In order to make it easier for the user, I broke up the STR into 3 separate parameters that have value lists so they can just pick their value from a drop down. The parameters are strings. I'm running into problems trying to combine the 3 parameters into 1 string so the data driven pages can get the page ID from the page name. The script runs with no errors, however, it also exports the firstpage in the mxd. I can't get it to use the user defined parameters to identify the page name. I believe the issue is in line 23. Here is the script: # Setup # Import arcpy module import sys, string, os, arcpy from arcpy import env from arcpy import mapping from os import sep as bs # Script arguments FOLDER = arcpy.GetParameterAsText(0) TNSHP = arcpy.GetParameterAsText(1) RNG = arcpy.GetParameterAsText(2) SCTN = arcpy.GetParameterAsText(3) #Set workspace arcpy.env.overwriteOutput = True outPath = FOLDER + bs arcpy.env.workspace = outPath # Select and Zoom to Section Township Range mxd = mapping.MapDocument(r"V:\gislu\_BasemapMXD\Assessor24x36.mxd") ddp = mxd.dataDrivenPages arcpy.AddMessage("Finding Township Range Section") newpage = TNSHP + " " + RNG + " " + SCTN pageID = ddp.getPageIDFromName(newpage) ddp.currentPageID = pageID #Export PDF finalPdf = outPath + "T" + TNSHP + "R" + RNG + "S" + SCTN + "ParcelMap.pdf" arcpy.AddMessage("Exporting PDF") ddp.exportToPDF(finalPdf, 'CURRENT', resolution = 200) arcpy.AddMessage("DONE!") del mxd, finalPdf, ddp, pageID
... View more
04-24-2014
08:58 AM
|
0
|
6
|
971
|
POST
|
Thanks Doug. I removed the extra parenthesis. Those were left over when I was experimenting making the parameters a string and I forgot to delete them. I added the print statements and ran the script in python. My print statement = 1. Then I get an error on the Export to PDF function: 1 Traceback (most recent call last): File "V:\gislu\_BasemapMXD\STRMapSearch.py", line 33, in <module> ddp.exportToPDF(finalPdf, 'CURRENT', resolution = 200) File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\utils.py", line 181, in fn_ return fn(*args, **kw) File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\utils.py", line 181, in fn_ return fn(*args, **kw) File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\_mapping.py", line 446, in exportToPDF return convertArcObjectToPythonObject(self._arc_object.exportToPDF(*gp_fixargs((out_pdf, page_range_type, page_range_string, multiple_files, resolution, image_quality, colorspace, compress_vectors, image_compression, picture_symbol, convert_markers, embed_fonts, layers_attributes, georef_info, jpeg_compression_quality, show_selection_symbology), True))) AttributeError: PageLayoutObject: Error in exporting pages >>>
... View more
04-24-2014
08:03 AM
|
0
|
0
|
230
|
POST
|
I am trying to write a Python script so the user can export a PDF map from an MXD using data driven pages without the user having to open the MXD and scroll through all the data driven pages to find the page they need. The Index Grid is the Section, Township, Range polygon. The page name looks like this in the attribute table: T1N R70W S12. In order to make it easier for the user, I broke up the STR into 3 separate parameters that have value lists so they can just pick their value from a drop down. The parameters are strings. I'm running into problems trying to concatenate the 3 parameters into 1 string so the data driven pages can get the page ID from the page name. The script runs with no errors, however, it also exports the firstpage in the mxd. I can't get it to use the user defined parameters to identify the page name. I believe the issue is in line 24. Here is the script: # Setup # Import arcpy module import sys, string, os, arcpy from arcpy import env from arcpy import mapping from os import sep as bs # Script arguments FOLDER = arcpy.GetParameterAsText(0) TNSHP = arcpy.GetParameterAsText(1) RNG = (arcpy.GetParameterAsText(2) SCTN = (arcpy.GetParameterAsText(3) #Set workspace arcpy.env.overwriteOutput = True outPath = FOLDER + bs arcpy.env.workspace = outPath # Select and Zoom to Section Township Range mxd = mapping.MapDocument(r"V:\gislu\_BasemapMXD\Assessor24x36.mxd") df = mapping.ListDataFrames(mxd, "Layers") [0] ddp = mxd.dataDrivenPages arcpy.AddMessage("Finding Township Range Section") newpage = TNSHP + " " + RNG + " " + SCTN pageID = ddp.getPageIDFromName(newpage) ddp.currentPageID = pageID #Export PDF finalPdf = outPath + "T" + TNSHP + "R" + RNG + "S" + SCTN + "ParcelMap.pdf" arcpy.AddMessage("Exporting PDF") ddp.exportToPDF(finalPdf, 'CURRENT', resolution = 200) arcpy.AddMessage("DONE!") del mxd, df, ddp, pageID
... View more
04-24-2014
06:51 AM
|
0
|
2
|
647
|
POST
|
I export my SketchUp 8 model as a .3ds file. Then in ArcScene, edit the multipatch and replace with model and choose the .3ds file. It keeps the textures most of the time. The problem I am running into is that when I run a Python script I lose all symbology. The script extrudes building footprints that do not have a .3ds file associated with them. Then it merges the extruded features with the features that were edited using .3ds file and makes one final multi-patch feature class stored in SDE geodatabase. None of the features show up even when I try symbolizing by categories and changing the rendering settings. The features are in the feature class because I can select one and zoom to it. It will highlight the extruded building while selected but then once it is de-selected the feature goes away.
... View more
04-01-2013
01:15 PM
|
1
|
0
|
880
|
POST
|
Thank you everyone! The idea about using if/elif statement for the data frame scale worked and was the easiest route to go! I hadn't thought about it that way so thanks for the good idea.
... View more
02-19-2013
06:04 AM
|
0
|
0
|
647
|
POST
|
Hello, I have a Python script to generate an automated mapbook. I want to be able to adjust the data frame scale based on the size of the parcel. My if/else statement is not working. I think it's because it's not recognizing the acreage field in the Parcels table and/or it says it cannot combine a string with an integer. Here is my sample where I create the map document, select the parcel based on user parameters, and zoom to selected feature. The parcels layer is stored in an SDE database. # Process: Create Mapbook Document, Data Frame, and Layer Objects mxd = mapping.MapDocument(r"V:\gislu\_BasemapMXD\10.1 MXDS\PreApp_Location.mxd") df = mapping.ListDataFrames(mxd, "PreApp Location")[0] Layer = mapping.ListLayers(mxd, "Parcels", df)[0] #Process: Select Layer by Attributes whereClause = "\"ADDRNO\" = " + NUMBER + " AND \"ADDRSTREET\" = '" + STREET + "'" arcpy.AddMessage("SELECTING: " + whereClause) arcpy.SelectLayerByAttribute_management (Layer, "NEW_SELECTION", whereClause) arcpy.AddMessage(arcpy.GetCount_management(Layer).getOutput(0)) #Process: Update the mapbook display in ArcMap df.zoomToSelectedFeatures() for Layer in mapping.ListLayers(mxd, "Parcels", df): if [acreage] < str(153): df.scale = 5000 else: df.scale = 9000 arcpy.RefreshActiveView() arcpy.RefreshTOC() legend = mapping.ListLayoutElements(mxd, "LEGEND_ELEMENT", "Legend")[0] legend.autoAdd = True
... View more
02-05-2013
09:56 AM
|
0
|
4
|
5694
|
POST
|
That worked! Thank you so much! The file size of the final mapbook is too large to attach. If you would like a copy of the entire script let me know. It writes a title page, TOC, vicinity map, section map, and several thematic maps zoomed in on a particular property and appends it into 1 PDF. We got the idea from Clark County, WA here: http://gis.clark.wa.gov/gishome/WebOrders/?pid=goDevPacket
... View more
01-06-2012
11:49 AM
|
0
|
0
|
638
|
Title | Kudos | Posted |
---|---|---|
1 | 12-11-2018 01:39 PM | |
3 | 04-24-2018 11:00 AM | |
1 | 12-12-2017 12:40 PM | |
1 | 04-01-2013 01:15 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|