Tag Info

New answers tagged

1

As Vince mentioned, you cannot access Esri file geodatabase from SSMS or any other SQL client. File geodatabase is stored in a proprietary way and there is no SQL interface to access it with. The help page you found refers to the methods that can be access programmatically with ArcObjects. You cannot supply this kind of query in the Select by Attributes ...


0

I found a solution: the problem came from the way I created the IWorkspace object. The best way to do it in ArcObjects API for Java is: IWorkspaceFactory workspaceFactory = new FileGDBWorkspaceFactory(); IWorkspaceName workspaceName = workspaceFactory.create(parentDirectory, gdbName, null, 0); IName name = (IName)workspaceName; IWorkspace ...


2

I would eliminate the duplication before the merge, then address this in a couple of steps. Join File2 to File1 (Right-click File1 in the table of contents, choose Joins and Relates/ Join, Join attributes from a table. Base the join on Column C. The table to join to this layer will be File2, and the field to base the join on will be Column D. Choose Keep ...


1

Assuming your project is setup correctly, with all references added and compiles without errors. Using Visual Studio Express 2013, ArcGIS 10.3 and targeting .Net framework 3.5 Also ensure you add ArcObjects Library References to: DataSourcesGDB GeoDatabase Carto Public Sub New() On Error GoTo Trap Dim sPathFGDB As String Dim sFCName As String ...


2

Shapefiles do not support topology directly, as you have discovered. The data must first be imported in to a geodatabase, and specifically a feature dataset within that geodatabase. If you need to continue on in shapefile form, you'll have to export it back out once you're done topology checking and editing. The answer to the actual/original question is ...


1

Spatial Analyst is necessary for most raster tasks in ArcGIS beyond simple display and clipping. If you have that... You can use Extract by Attributes to create new rasters of just one value. It would be the value from the original raster though, and you'd have to Reclassify it to 1 or 0. You can use Reclassify directly to generate a new raster and map the ...


-1

Tyler, You have enabled editor tracking through catalog where the time gets recorded through UTC. You can disable editor tracking. And goto toolbox -> data management -> fields -> enable editor tracking option. Identify the already created fields of create and updates and for timings select database timing for recording. By default it is UTC. Regards.


1

I found the workaround to be clunky. Try this python I recently worked on for a different application. It appends features and attachments from one fc to another. Could also work for any related data. The class relies on GlobalIDs And the default field and table names that are used with the "enable attachments" feature ...


2

In this case, your feature classes and layers have the same name. And because you're using arcpy.env.workspace, you are deleting something... the layer. When a geoprocessing tool tries to resolve data parameters, they will first look to see if the 'data' exists as is, and it will as the layer name. If that doesn't turn up anything, the next check would be ...


3

Some tips: There is no need to create feature layers to count the features; Don't use the file as the variable name - this is a reserved class name; Avoid concatenating strings when constructing folder/data paths; use os.path.join instead. import arcpy import os folder = r"C:\Documents\ArcGIS\scratch" geodb = r"imported_data.gdb" arcpy.env.workspace ...


3

It looks like that should have done the trick...but a couple of things. In the Zen of Python, explicit is better than implicit. Even though setting the arcpy.env.workspace should be good enough for deleting feature classes, I have found that it is always best to provide the full path for all GP tools. Also, you do not need to make a feature layer to count ...


0

Instead of trying to work with the JPEG image, if your data is formatted correctly, you could have each person as a single entry in the data table, with the lat/long coordinates and all of the attributes of that person (Name, phone, village, filename of photo, etc.) as columns in your table. This could be imported as a spreadsheet and converted to X-Y data, ...



Top 50 recent answers are included