Tag Info

Hot answers tagged

7

It's been a while since this question was updated, so briefly ArcGIS 10.1 and ArcGIS 10.2 both natively support PostGreSQL and PostGIS data types. Included in the help for both versions is a walkthrough of gettting set up, and configuring tables to use the PostGIS geometry types.


3

The registration process has several small activities (storing column names and types) which are relatively fixed in duration (milliseconds) and table scan activities which test for uniqueness in the regsitered rowid column and topology class consistency (all point, or all line, or all polygon of the same dimensionality), which are dependent on the number of ...


3

Attachments can be enabled only on feature classes stored within a geodatabase (this can be any type of geodatabase - personal, file, or enterprise). You cannot attach your files to a shapefile because there is no container the data can be stored in. To convert your shapefile to a geodatabase, you can use a GP tool Feature Class To Feature Class ...


3

I wrote a plugin that gives ArcGIS access to 50+ vector formats (including PostGIS). It is still experimental, but you can try it out and tell me how it goes. There are advantages of using this approach over the built-in functionality in ArcGIS (look at the FAQ), but again, it is still experimental. Download and instructions here


3

If you have ArcEditor or ArcInfo desktop level, you have the ability to use SQL Server Express. Even though only one user can edit at a time, the locking and unlocking may be better -- you might try this out first. There lot's of documentation on how to do it, and you don't have to be a dba -- though I like postgres. No offense QGIS folks ;) Also, make sure ...


2

DEMs have 1 band which hold elevation values. For comparison, a color image has three bands (Red, Green, Blue). You can check information about any raster dataset by right-clicking on the layer > Layer Properties > Source. Other particularly useful information located here include pixel depth, cell size, coordinate system, and format. Make sure to set ...


2

ArcGIS 10.1 SP1 can connect to PostGIS 2.0.0 databases natively, but the connection is read-only, and mostly functions as a cleaner front end to query layers (in fact, it just loads any layers as query layers). The database connection just allows you to view all the tables and layers in the database in catalog. As an alternative, there is also ...


2

At both v10 and 10.1 ArcCatalog seems to, by default, have what ESRI call background processing. Change this through Geoprocessing-->Geoprocessing Options and uncheck the background processing box. It will mean that that session of ArcCatalog won't be useful for much else until the process is done, but it will give you a clearer idea of where your task is ...


2

Assuming there isn't a way to access the open directory in ArcCatalog (Another issue with this would be if there were two folders open. Would you only want to print out the folder that is currently selected [highlighted?] or every open folder in the tree?), this is probably the easiest way. This is a super basic script (it's only 3 lines of code!). All you ...


2

Have a look at the Change Privileges geoporcessing tool. This tool: Establishes or changes user access privileges to the input ArcSDE datasets, stand-alone feature classes, or tables. You could write a python script and grant rights over several tables/featureclasses for several user at once.


2

I just tested this using ArcGIS 10.2 for Desktop on Windows 7 SP1 (64 bit) and the code below, which I just pasted into the Python window of ArcMap: import shutil import arcpy input_folder = "c:/temp/testFolder" target_folder = "c:/temp/testFolder_backup" input_gdb = "c:/temp/test.gdb" target_gdb = "c:/temp/test_backup.gdb" # Copy a directory tree to a ...


2

Try converting to another raster format. When I have had this issue in the past I have found that converting to GRID resolves the issue. The Raster to other format (conversion) function should help.


2

I've attached an image showing what you need to do for the first step. Namely, turn the Shapefile into a Featureclass. A Featureclass can only reside inside a Geodatabase (aka GDB). Alternately you can create a GDB and import your Shapefile into it by R-click, etc. See this image below. As Alex Tereshenkov said - You can only enable attachments to a ...


2

It sounds like your custom tool is expecting a dataset rather than a layer. Consequently, when you drag and drop a dataset in ArcCatalog all is fine. However, when you try to drag and drop a layer from the Table of Contents it rightly complains that it is not a dataset. Try drag and drop of the dataset, which is the source of the same layer, from the ...


1

Your symptoms suggest that returning ArcCatalog to its factory settings may be worth considering. To reset ArcCatalog you can delete or rename your Normal.gxt (in a similar fashion to how you may done to reset ArcMap via its Normal.mxt). The Online Help page entitled About configuring the user interface describes where to find these templates: The ...


1

There is a document in ArcCatalog as well, a single one which exists through the whole application run. See GxDocument. You can manipulate command bars the same way.


1

Viewing the contents of a file geodatabase OR editing its contents using an Esri product, it doesn't matter which, will produce a .LOCK file inside the file GDB's folder on the file system which can be seen via Windows Explorer. It will contain some numbers in its filename, one of which refers to the process ID (PID) of the active process connecting to it. ...


1

@Dan_h_b. Rename ArcCatalog.gx or if that doesn't work more broadly reset the entire application profile (http://forums.arcgis.com/threads/90079-Resetting-your-ArcGIS-application-profile). ESRI tech support always suggests resetting the application profile. It can be rough on customizations but if it works you can sometimes go back and one by one replace ...


1

I have 10.2, which version of ArcGIS do you have (you should always quote that)? Anyway just tested the tool against the arcpy method and both return the same value for me. Did you actually set the band number as you did in the arcpy method? The only thing I would suggest is to recompute the statistics, maybe they have become corrupted in same way?


1

The 31 character limit is an artifact of multi-RDBMS support in ArcSDE (Oracle limits table and column names to 30 characters). These are some of the relevant transfer buffer limits from the 10.2.0 include file: #define SE_MAX_COLUMN_LEN 32 /* MAXIMUM COLUMN NAME LENGTH */ #define SE_MAX_TABLE_LEN 160 /* MAXIMUM TABLE NAME LENGTH */ ...


1

You need to first create your custom commands before adding them to the toolbar. To create a custom command you need to create a class that inherits from ESRI.ArcGIS.ADF.BaseClasses.BaseCommand. You must override the OnCreate method in your implementation and then you override the OnClick method to add the code you want executing when the command is clicked. ...


1

Funny this as I've just spent the last few days developing Python code to do this... Chad's link is definitely the page you need to be looking at and PolyGeo's link to the walk function is useful too. I developed 3 scripts: one for trawling the drive space searching for datasets, a second to trawl for MXDs then extract all the layer information and a third ...


1

The arcpy.da.Walk function that was introduced at ArcGIS 10.1 SP1 will give you a headstart to building such a tool. Alternatively, there is an excellent commercial product available called Voyager that already does this in a great user interface.


1

I think you are probably looking for arcpy.env.workspace = <path> Current Workspace (Environment setting) Current Workspace—The workspace from which inputs are taken and outputs are placed when running tools


1

You have made the incorrect assumption that all XML is created equal. XML is a markup language, not a strictly-defined data exchange format, and can contain practically anything. The software that reads the XML needs to know what to do with its contents. In this case, the software (ArcGIS) does not understand the contents of your XML file. The reason for ...


1

GISquirrel does the job at a fraction of the cost of SDE. It supports arcgis connection to both MSSQL and PostGIS. Very simple to setup (able to import to postgres from shapefile/featureclass) and simple to maintain. For a small number of users who need multi-user edit capability, its just fine. We use GISquirrel/Arcgis for our GIS 'power users' and QGIS ...


1

I've tried to replicate your problem in 10.1 (sp1) and I am able to edit the metadata within ArcCatalog via all routes that you have identified. The only thing I can think of is that: you have ArcMap and ArcCatalog both open and there is some sort of locking occurring or you are attempt to edit the metadata of a tool created in an earlier version of ...


1

I just created metadata simultaneously for some rasters. They were in a file workspace as opposed to a geodatabase workspace so I'm not sure if that will be an issue. If I understand correctly you are trying to create generic metadata for multiple files. Here's what I did: Open arcCatalog and update the metadata for one of the files Be generic so the ...



Only top voted, non community-wiki answers of a minimum length are eligible