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.


4

I'm not sure why you got no warning message. My machine prompts me with the typical Windows message of "Are you sure you want to delete this? Yes/No" if I use the delete key on anything. In fact if I delete a folder (not a geodatabase or any kind of individual file, feature class, etc.) using the key, it does send it to the Recycle Bin. I'm on 10.2 on Win 7 ...


4

Unfortunately, I think pulling out a backup is your only hope but you can also vote for an ArcGIS Idea entitled ArcCatalog Recycle Bin.


4

you need to use this code within ArcMap and the field calculator. Add your feature class in the table of content, right click on it to open the table, right click on the name of the field and launch the field calculator. Then you check for codeblock and copy the code you mentioned. now for your code snippets, here is what I would do rec=0 def ...


3

I have this query stored away for all too frequent uses like this... select distinct p.[owner] as login, p.nodename, p.direct_connect, p.start_time, p.sde_id , r.database_name, r.[owner] as db_owner, r.table_name, l.registration_id , count(p.sde_id) connections from sde_table_locks l inner join sde_table_registry r on l.registration_id = ...


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

Click the Add WMS Server in Catalog window and then paste http://gis.ktimanet.gr/wms/wmsopen/wmsserver.aspx? with the http:// in the beginning.


3

Right-click anywhere in the gray area where menus or buttons would be at the top, or even on a button if you have any toolbars showing. Choose the Customize option, and in the resulting box you should be able to turn the Main Menu back on, from which as jbchurchill notes you can turn the Catalog Tree back on from the Windows dropdown menu. If for some ...


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

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

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 ...


2

You can achieve this with running Add Field GP tool in batch mode. You will be able to browse to select multiple feature classes within a geodatabase.


2

There is another place to control this, but if that dialog isn't sticking I don't know if it will from here either. In both ArcMap and ArcCatalog, under Customize > Options there is a Raster tab with a radio choice for Prompt, Always, and Never. Possible bug based on this forum post? I can confirm/replicate the behavior on my 10.2.1 install.


2

I've had very little luck with model builder on tasks simpler than this. I'd use arcpy, its a lot more powerful and user-friendly. For your task I'd try something like this... import arcpy shp = 'yourZipcodeShapefile' rows = arcpy.SearchCursor(shp) field = 'yourZipcodeField' #Create iterable list of zipcodes ziplist = [] for row in rows: val = ...


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

You can disable this upgrade prompt in ArcCatalog Options (Customize > ArcCatalog Options > Metadata tab). ESRI has completely changed the format of metadata with ArcGIS 10+ and haven't done a very good job of it at all. It's causing a lot of issues for those of us who actually make use of metadata. Have a read about what has changed: ...


2

Go to the "Windows" menu. They are in there.


1

You can recover items deleted via ArcCatalog if they are backed up/synced on Google Drive. I ran a test on a folder called "temp_test_ajp" with a shapefile called "temp_ajp_polyline". Data was safe and sound after I restored it. Open Google Drive > Trash > Restore from trash (see screen shot).


1

Yes you can use some functions that don't require using Excel. I've tested to install the add-in on a virtual machine with no Excel installed and it has been added to ArcCatalog. You will be able to use some tools like Reorder Fields, Import using GP and some others, yet most of the reporting tools will be disabled (you'll get an error message when trying to ...


1

Personally I would encourage you to use ArcCatalog as the GIS knows which files to move. People who try to move spatial data outside the GIS often miss important files/folders. I feel that integrity of the data is more important than the speed of copying.


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

alright ,it is working: 1) in /etc/sysconfig/iptables: I removed line 21 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited 2)pg_hba.conf: I only used this: host all all 0.0.0.0/0 md5



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