I want to make a selection tool that I can use to select a feature point in ArcGIS for Desktop so I can combine it with a form that I just made to display the form after the feature selected.   I use VBA but, because I'm newbie, I don't really understand which interface that I should use.
123525
Is there a way to select a point from my map's current extent? I want to use ArcObjects to tell me if there is at least one point visible in my extent. I'd like to do this entirely in VBA, and without selecting any features or using any mouse-click events. (Selection can be done programmatically, just not manually.)  An demonstration would show that I have a point-type shapefile active and positioned at the top of my Table of Contents. I run my code which then displays a message box showing the longitude and latitude of the first point that is found within the current extent. Any point can be found and it's coordinates returned, just as long as that point is within the given extent.
24886
I am having some issues. In ArcGIS, I created a custom toolbar (with the python addin wizard) to do the following: 1. Button to connect to feature class, 2-5. A series of comboboxes to view, edit data in a field in the feature class. I want each of the combo box classes to directly connect to the field. And be able to write new data from the boxes into the fields.  Example: Combobox 1 to connect to field 1. So that when I deploy this a user can edit data without doing this the traditional way. Its a way to have inexperienced users edit data. I am new to python and willing to pay for the time required to help me as I am out of ideas. And ESRI doesn't have a solution either.   import arcpy import pythonaddins from arcpy import env   class ButtonClass1(object):     """Implementation for QuickTableEdit_addin.button (Button)"""     def __init__(self):         self.enabled = True         self.checked = False     def onClick(self):         print("Button1 Clicked")         env.workspace = "C:/data"         arcpy.CreateTable_management("C:/data", "test_table.dbf","template.dbf")         mxd = arcpy.mapping.MapDocument("CURRENT")         df = arcpy.mapping.ListDataFrames(mxd)[0]         dbf_Table = arcpy.mapping.TableView(r"C:\data\test_table.dbf")         arcpy.mapping.AddTableView(df, dbf_Table)         arcpy.RefreshTOC()         pass  class ComboBoxClass2(object):     """Implementation for QuickTableEdit_addin.combobox_1 (ComboBox)"""     def __init__(self):         self.items = [1,2]         self.editable = True         self.enabled = True         self.dropdownWidth = 'WWWWWW'         self.width = 'WWWWWW'     def onSelChange(self, selection):         global cb1         cb1 = self.value         pass     def onEditChange(self, text):         pass     def onFocus(self, focused):         pass     def onEnter(self):         pass     def refresh(self):         pass
16563
The Data Interoperability Tools .tbx appears in my system toolboxes, however when I double click quick export or import, a red X appears.  I have gone into the administrator settings and the tool doesn't appear to be installed. How do I install it?  I am using ArcGIS 10.2 for desktop trial.  After I attempt to evaluate extensions, I receive a message which states all requested features have already been authorized on this machine.
93465
I'm looking for a rather basic PostGIS viewer. It should be possible to pan, zoom and retrieve coordinate information on mouse click. No need to support coordinate transformations. It should introduce as little further dependencies as possible. Preferably written in C++.
78606
I'm just starting to get into Python scripting for work.  I'm currently creating a script to automate a process.  Basically, it asks the user the client name, gets a projection if available, creates directory on C: drive for client, creates file geodatabase specific to client, creates required dataset, and creates feature classes specific to clients data. Eventually, it will also add the required fields to each feature class and probably some other things.  I started this not really knowing the proper etiquette of Python scripting for ArcMap. But what I've created so far will only run outside ArcMap I believe.   Is this acceptable?   Instead of getting user input through arcpy.getparamaterastext(), which I just found out about, I'm using raw_input().   Is this okay?   It does work, I'm just not sure if this is a proper way to do scripting.  Here's the code I have so far.  import sys import arcpy import os  #Records name of the client client = raw_input("Enter the name of the client: (letters and underscores only) \n")  #Records filepath of client to be created clientpath = "C:/" + client  #Inquires if projection file exists projection = raw_input("Is there a .prj or .shp available with correct projection? Y or N \n")  #Records the projection location if available if projection.upper() == "Y":     spatialr = raw_input("Drag the .prj or .shp here to record the filepath \n")     nspatialr = spatialr.replace('"', "") elif projection.upper() == "N":     alert = raw_input("You must add the spatial reference manually, hit enter to continue. \n") elif projection.upper() != "N" or "Y":     exit = raw_input("That is not a valid response. Try again. \n")     sys.exit()  #Checks if client folder exists; if not, creates one if not os.path.exists(clientpath):     os.makedirs(clientpath)  #Variable for file geodatabase location FGBpath = clientpath + "/" + client + ".gdb"  #Checks if client file geodatabase exists; if not, creates one if not arcpy.Exists(FGBpath):     arcpy.CreateFileGDB_management(clientpath, client)  #Variable for dataset location FDatasetpath = clientpath + "/" + client + ".gdb" + "/Network"  #Checks if dataset exists; if not, creates one if not arcpy.Exists(FDatasetpath):     if projection.upper() == "Y":         arcpy.CreateFeatureDataset_management(FGBpath, "Network", nspatialr)     elif projection.upper() == "N":         arcpy.CreateFeatureDataset_management(FGBpath, "Network")  #Variable for cable feature class location FCcablepath = clientpath + "/" + client + ".gdb" + "/Network" + "/cable"  #Checks if cable feature class exists; if not, creates one if not arcpy.Exists(FCcablepath):     if projection.upper() == "Y":         arcpy.CreateFeatureclass_management (FDatasetpath, "cable", "POLYLINE", "", "", "", nspatialr)     elif projection.upper() == "N":         arcpy.CreateFeatureclass_management (FDatasetpath, "cable", "POLYLINE")  #Variable for splice point feature class location FCsplicepath = clientpath + "/" + client + ".gdb" + "/Network" + "/splice_point"  #Checks if splice point feature class exists; if not, creates one if not arcpy.Exists(FCsplicepath):     if projection == 'Y' or projection == 'y':         arcpy.CreateFeatureclass_management (FDatasetpath, "splice_point", "POINT", "", "", "", nspatialr)     elif projection == 'N' or projection == 'n':         arcpy.CreateFeatureclass_management (FDatasetpath, "splice_point", "POINT")  exit = raw_input("\n\n File geodatabase, dataset, and the cable \n and splice point feature classes successfully created. \n\n Hit enter to exit.")   I still have some work to do, like adding the needed fields.
116129
I want to design a custom dialog window where i can select various datasets of choice using scroll down option and specify some conditions and thresholds. Right now i am using python addins within arcgis 10.1 for toolbar and tools. I came across tkinter and wxpython as options for dialog box designing. Will there be a conflict between using tkinter or wxpython within addin scripting?
37292
I have a polygon and the polygon's centroid. I want to select the most distant vertex from centroid (picture: point A). I used arcpy.FeatureVerticesToPoints_management to create a feature class containing points generated from polygon, but I don't know what to do next. Could you help me?  Also I want to find intersection point (point B) of the outline of polygon and line created by centroid and the most distant point (line OA).    I would be very grateful for any help.
76620
I'm working on Arcgis 10.  I have a point shapefile representing events with several points having coinciding coordinates (They have the same coordinates). For representing them in a dynamic way, I found a nice way - .  Problem is: I was asked to produce a static (paper) map of the events. Is there a tool that can take these events and shift them apart a bit so all will be seen?  (I know that spreading them about will alter their coordinates, but I am prepared to do so on a duplicate shapefile for the display on the map).
91192
I need to create many parallel lines.   Is there a tool in ArcGIS Desktop where you input the distance between the parallels and the number of them?
43643
Using arcpy I'm trying to get the results of a selection, or what is currently selected as a list.  Basically I'm attempting to build an addin which on click will either perform an operation where I invoke SelectLayerByAttribute_management (or ByLocation) to select some features, or the user performs a selection ByAttribute (or ByLocation), and while they have their selection hightlighted executes my snippet by pressing a button on the toolbar.  In each  case I want to get a list of results to perform a specific task on only certain selected features.  I can't find out how to get a list of the currently selected features, or find a listener for  selection having been made so I can enable the button, and ensure I can perform my operation on an existing selection.
45334
I need to combine two fields in an attribute table.  I want to do this using the field calculator.  What is the proper script to write to combine a field called "name" and "type", so that it produces one field with "name type"?  I'm using ArcGIS Desktop 10.0.
10099
In ArcGIS, is it possible to change the polyline symbology to show vertices? Or do I need to extract the points via ? This becomes a pain if I want to edit the source polygon/polyline features.  Here is what I'd like to see (this is from GMS), as I can clearly see start/end nodes and interior vertices.    I  that pressing the V key while editing will show vertices. But it is only useful while editing and pressing V.
59397
A couple times a month, I check out the  and always learn something new. I went back and forth as to whether to pin this question to a specific program of a specific, major version of GIS software.  Given the amount of change to the ux, I think ArcGIS Desktop 10 should get its own Tips and Tricks question and will be a great resource for new ArcGIS users and ArcGIS 10 users upgrading from 9.3. Hope to see some good tips that aren't already covered in the . ArcMap  If the File menu is slow to open: open Customize window, navigate to the file menu, and delete the { Sign in } menu item.  Revert to old(classic) snapping environment: see
96601
I have a points shapefile and a polygon shapefile. I work in ArcGIS Pro. I would like to select all the polygons which have one or more points in them, however, one condition should be considered, that if one point lies in two or more polygons which overlays, only one polygon is selected. Please see picture for example. There are 3 polygons highlighted with orange circle with only one point in them. As the polygons overlay, the result I obtained from ArcGIS Summarize Within tool showed that each of these polygons consist of one point, which is wrong, cause there are not 3 points, but 1. There should be only one polygon with one point, the other one stays empty.  The result should look something like this. Orange points are selected polygons with one or more points. And pay attention to black line - these are polygons which overlays and shares a point, but only one of them are selected. Of course this could be done manually, but it's too time consuming and it gets hard when there are to many overlaying polygons, so I try to find a fast way to do this.  Here is a very similar question  about at least one and more points in polygon, but the solution selects all polygons with intersection, even if they overlay and share a common point. I couldn't find the solution with &quot;Join attributes by location&quot; or &quot;Select attributes by location&quot;. I'm probably missing something and this should be done easily. Is there some fast and effective way to do this?
29741
I've written a few Python Toolboxes (which are new at ArcGIS 10.1), but am yet to decide whether/when I should write them rather than Python Script Tools in a standard toolbox.  I thought the  might enlighten me when it prefaces some dot points with:     Once created, tools in a Python toolbox provide many advantages   However, the five advantages listed all seem to be over not being able to use Python to write tools, and none seem to specify an advantage of Python Toolboxes over Python Script Tools.  The two advantages that I can think of are:   I can now write a "pure" Python tool in a single Python script without having to hook it up to a separately authored dialog with its Tool Validation looking like it was tacked on but I'm happy to be pragmatic rather than pure in this regard I could now use code (Python or any language capable of writing text files) to automate the writing of Python toolboxes but I am yet to come across a requirement to do this   Am I overlooking the compelling case that led Esri to provide the Python Toolbox capability and, if so, what is it?
72589
I have a problem with ArcGis 10.1 which I rarely use.  In an edit session I select a polygon. I would like to 'Create Layer for Selected Features' and can do this; the new layer appears in the table of contents. When I try and move the new layer, the old layer moves with it.   When I click on the polygon the option of selecting the two coincident polygons appears but I can't get these to separate. It seems to be impossible to do anything to one feature and not the other.  The strange thing is that yesterday the program wasn't behaving like this.  Can anyone can explain what is going on?
30924
I am using ArcMap 10.2 and I'm looking for a way to add  a table containing certain fields from select elements from a featureclass to my map. Ive tried the add table option from the attribute table, but it doesn't quite give what I want (the table must be editable to look a certain way).   Are there any options out there for 10.2 like arcpy.mapping.tableview or will upgrading to 10.3 so I can get access to the "graphic table element" function be best?