IDEA
|
I'd love to see them have separate layer visibility as well. Basically I want multiple layouts, each with different layers visible. As it sits now if you turn a layer off in one layout, it changes all the layouts.
... View more
12-06-2018
06:56 AM
|
1
|
1
|
2298
|
POST
|
Thank you. I perused that documentation and it was just way over my head so I couldn't really form a solution there. However, I was able to find another well documented work around. With some playing, I got it to work without crashing for now. Work Around for os.startfile Crashing arcmap
... View more
10-18-2018
12:23 PM
|
1
|
1
|
2662
|
POST
|
Now I am running into the issue where ArcMap will crash unexpectedly during the "Opening" phase of this. Not every time though. It seems to happen when I run it once, select another polygon, and then run it again. It runs 100% the first time, I close Excel, run it again, crash. What is the best way to go about seeing where it is going wrong?
... View more
10-18-2018
09:45 AM
|
0
|
3
|
2662
|
POST
|
That is neat. I will keep this in mind in case I need to email something! I am just getting into scripting and I get excited thinking of all the possibilities.
... View more
10-18-2018
09:40 AM
|
0
|
0
|
2662
|
POST
|
Thank you! You're a life saver. I just didn't know what to search for. Here is my 'final' script. Works like a charm. import arcpy
import pythonaddins
import os
class TabulateSoil(object):
"""Implementation for Tools_addin.button (Button)"""
def __init__(self):
self.enabled = True
self.checked = False
def onClick(self):
print "Initializing..."
# Set parameters
mxd = arcpy.mapping.MapDocument("CURRENT")
path = r'C:\Users\pchristensen\Documents\ARCGIS'
table = path + '\Default.gdb\Soil_Tabulate'
out_xls = path + '\scratch\Soiltab.xls'
print "Removing previous tables..."
# Remove existing "Soil_Tabulate" from TOC
for df in arcpy.mapping.ListDataFrames(mxd):
for tbl in arcpy.mapping.ListTableViews(mxd,"",df):
if tbl.name == "Soil_Tabulate":
arcpy.mapping.RemoveTableView(df, tbl)
# Delete "table"
arcpy.Delete_management(table)
print "Tabulating..."
# Run Tabulate Intersection tool against selected parcel polygon
arcpy.TabulateIntersection_analysis("Parcel Polygon","TMS","Soil Polys", table, "MUSYM")
print "Exporting..."
# Run Table to Excel
arcpy.Delete_management(out_xls)
arcpy.TableToExcel_conversion(table,out_xls)
print "Opening..."
os.startfile(out_xls)
del mxd
del path
del table
del out_xls
print "DONE!!"
pass
... View more
10-18-2018
09:38 AM
|
0
|
0
|
2662
|
POST
|
I have a script that runs the "Tabulate Intersection" tool for me that is assigned to a toolbar button. It works wonderfully. This is the first script I have created so I apologize if it is not as clean as it can be! My last step in this map automation, is to open the excel file once it is created instead of me having to navigate all the way to its location in the file explorer just to open it. That takes away the simplicity of just clicking a button and having the desired output. One option is to just have the saved destination in a folder on my desktop that way it is just two clicks and I am there. But I wanted to first see if there was a way in arcpy to actually open a document in its native program (Excel) for viewing. import arcpy
import pythonaddins
class TabulateSoil(object):
"""Implementation for Tools_addin.button (Button)"""
def __init__(self):
self.enabled = True
self.checked = False
def onClick(self):
# Set current map document
mxd = arcpy.mapping.MapDocument("CURRENT")
# Remove existing "Soil_Tabulate" from TOC
for df in arcpy.mapping.ListDataFrames(mxd):
for tbl in arcpy.mapping.ListTableViews(mxd,"",df):
if tbl.name == "Soil_Tabulate":
arcpy.mapping.RemoveTableView(df, tbl)
# Define parameters
table = r'C:\Users\pchristensen\Documents\ARCGIS\Default.gdb\Soil_Tabulate'
in_table = r'c:\users\pchristensen\Documents\ARCGIS\Default.gdb\Soil_Tabulate'
out_xls = r'C:\Users\pchristensen\Documents\ARCGIS\scratch\Soiltab.xls'
# Delete "table"
arcpy.Delete_management(table)
# Run Tabulate Intersection tool against selected parcel polygon
arcpy.TabulateIntersection_analysis("Parcel Polygon","TMS","Soil Polys", r"C:\Users\pchristensen\Documents\ARCGIS\Default.gdb\Soil_Tabulate", "MUSYM")
# Run Table to Excel
arcpy.Delete_management(out_xls)
arcpy.TableToExcel_conversion(in_table,out_xls)
del table
del in_table
del out_xls
del mxd
pass
... View more
10-18-2018
08:55 AM
|
0
|
9
|
3376
|
POST
|
Changing ArcGIS Connection Properties to "Never Check" gets rid of the pop up error "You must be signed in to ArcGIS Online with an org account to use the ArcGIS Online World Routing Services" Changing the .xml AND the "Never Check" seems to quicken the right click lag but it still around 5-10 seconds before the menu displays.
... View more
10-15-2018
08:26 AM
|
0
|
2
|
1294
|
POST
|
I agree that this should be handled on the developer side, not the user side. I shouldn't have to go in and change obscure settings and files to avoid an in your face service that slows performance that I do not use. I am also experiencing this exact issue on ArcMap 10.6. Open Find type parcel ID into Find: Right click result Wait 10-30 seconds while everything grays out Finally right click menu pops up and I am able to zoom to feature Occasionally I get the online sign in error. Sometimes my arcmap session doesn't automatically sign in for me. I get this lag if I am signed in or not but ONLY on the FIRST attempt to search and zoom to a feature. Every time after that it runs smoothly. Also, only locally stored data on this map. I will try the "Never check for connection", although that will totally disable my connection to online and I do occasionally upload Feature Services to my Online account for use in Collector. I will also try updating the DefaultLocators.xml.
... View more
10-15-2018
07:56 AM
|
0
|
3
|
1294
|
IDEA
|
I am a brand new Technician for a Small Local Government and I was completely unaware credits were even a thing until recently. I am experimenting with ArcGIS to use with Collector for our post disaster damage assessments that ESRI has several tutorials for and touts as one of the many uses for their software. I recently acquired administrative rights to our organizational account and realized my tiny feature classes (some from the tutorials) had cost me about 1 credit per day for several weeks. When I have a balance of only 200 credits, 14 credits is a big hit. I do no other geoprocessing or credit consuming functions to my knowledge. I say to my knowledge, because I haven't consumed any other credits besides storage, but I also say that because an operation does not tell you if you are using credits or not! Now, I am afraid to continue my Collector experiments because I will soon need to justify the extra expense to my bosses, and I haven't even delivered something useful yet. My Emergency Ops Center also wants to look into utilizing ESRI products, such as Dashboards and Collector, and having to budget credits in there is just one more complication that I need to learn and justify for the product I am delivering to them. ESRI already has licensing tiers, spatial analyst for example, so if I upgrade to that tier, and I pay a subscription to use those tools, why would I also pay a credit charge for every operation I perform? I agree with the freemium model. I will pay upfront to just "Own" the tool, and run it to my hearts content, than have to pay every time it is ran. What if I run it and I forgot to input a variable and need to run it again consuming even more credits?
... View more
09-25-2018
12:14 PM
|
3
|
2
|
1429
|
IDEA
|
I finally had a few chances this week to put my layouts to the test. My layouts worked and I was able to pinpoint my features and get them nicely symbolized and printed a really nice looking parcel map. Unfortunately, I am one of the users that finds AGP extremely slow in some tasks. When I was zeroing in my symbology and labeling for this printed map, it would take sometimes 5 minutes for a simple change to take place. For instance, I changed "overrun", so my labels only labeled larger parcels and not the tiny ones, and I also changed the "reduce size" settings and it would take minutes for the new settings to take effect. When trying to zero in my settings, and having to change them a few times to get them just where I want them, that is very frustrating. It took probably a half hour just to get the labels where they needed to be when I could have probably done it in less than 5 if the software was keeping up. I really like the final product that I am able to create in AGP, I just can't make a customer wait a half hour while I tweak the layout for them.
... View more
08-24-2018
07:10 AM
|
1
|
1
|
7603
|
IDEA
|
Having only created this workflow this week, I haven't really had a chance to test it out. I think it'll work pretty slick, however, I see the downside to having multiple maps and layouts such as what we are having to do is this: If you want to zoom to a certain parcel or feature, and then print multiple formats from there, you need to find that feature each time you change layouts since their extents are not linked. I guess this can be both good and bad depending on each situation. It may also get a little cluttered if you have the need for many layouts.
... View more
08-17-2018
09:50 AM
|
1
|
1
|
7605
|
IDEA
|
My issue was that I have the need for multiple printing scales such as Letter, Legal, or ARCH D. I wanted a layout with symbology different for each, because symbology for a scale as large as ARCH D, will not work for a scale as small as Letter. I didn't want to have to re-manipulate the symbology and layout every time a customer wanted a map printed like I was doing in ArcMap 10.6. I just copied the map, and then created a new layout for each map. I now have 4 maps that all source their data from my core .gdb, but can all have unique symbology and unique layout properties all within the same instance of ArcGIS Pro instead of having to open a whole new instance of ArcMap 10.6 for each layout. I have not experimented with ArcView at all.
... View more
08-17-2018
09:30 AM
|
4
|
2
|
7608
|
POST
|
Justin, Thank you for the reply. I can understand some of that, but my knowledge of scripting is pretty minimal so I am unsure of what parts do what in that sequence, therefore I am unsure what I will need to tweak for it to work for me.
... View more
07-26-2018
08:44 AM
|
0
|
0
|
1076
|
POST
|
Kevin, Thank you for the reply. I think I will do just that. I will backup regularly and continue editing the gdb as is. I will also look into ArcGIS Online, and see if that is something I can utilize at this time. Fortunately, my organization is very open to growing, and this is a learning experience for all of us.
... View more
07-26-2018
08:41 AM
|
0
|
0
|
1076
|
POST
|
I manage the parcel layers for my rural county. Our GIS program is pretty minimal for now, and I am in the process of trying to strengthen our organization and expand our capabilities. Currently, my project consists of making our file systems more efficient and robust. Our current workflow involves editing the live .gdb and I understand that can be risky. I am trying to create several versions of the same File Geodatabase, one of which is my editing .gdb, and the other is my published .gdb. I am doing this to create redundancy and prevent catastrophic editing mistakes. All of our data is edited using ArcMap 10.6, and I am dabling in ArcGIS Pro but have not made any sort of real migration to Pro. I do not have any sort of server or enterprise, and I am currently the sole user, editor, and publisher of this data so all data is stored on my desktop, with nightly backups through the Windows Backup and Restore utility to a remote drive. I have tried several tools and made several models in the model builder, but I have run into roadblocks each direction I try. I tried the Append Tool which just creates duplicate features in each feature class. I also tried a combination of Delete and then Feature Class to Geodatabase to re-add the data, but that didn't seem to work after the first run. What I think I am trying to duplicate is the "Versioning" or "Replicating" utilities, except doing something similar without having a server or enterprise. So I guess two questions. 1. Am I OK just leaving my workflow as it is and edit the live .gdb. 2. If it is highly recommended I change my current workflow, is there a process, tool, model, script etc. that will allow me to do what I am trying to do without upgrading to enterprise or a server, both of which are over my head and involve a large migration and infrastructure upgrade. I just don't think our organization is ready to do that upgrade yet, as we do not have the need for multiple users and editors, although we may in the future as we grow. This is all very new to me, so thank you for your patience and time.
... View more
07-24-2018
08:52 AM
|
0
|
5
|
1434
|
Title | Kudos | Posted |
---|---|---|
1 | 03-05-2024 08:45 AM | |
1 | 03-05-2024 08:47 AM | |
1 | 03-19-2024 05:49 AM | |
1 | 09-10-2020 07:46 AM | |
1 | 08-21-2023 05:34 AM |
Online Status |
Offline
|
Date Last Visited |
06-19-2024
07:12 PM
|