Tag Info

Hot answers tagged

9

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.


7

You need to finish the polygon's construction with double click, right-click>Finish Sketch or F2 before saving edits.


5

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

I found what looks to be the solution to this from Thomas Brown at the old ArcGIS Discussion Forums: Once a topology dataset is register as versioned, you must perform the validation within ArcMap while editing. Simply add your topology to ArcMap (as the DEFAULT version or any other), add your topology toolbar, start editing and click the ...


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

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

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

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


2

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


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

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

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

I would suggest you avoid procedures that are documented as being "legacy" when working with new databases. Cross-database queries in SQL-Server are inefficient, and should be avoided as general practice, but if you really want to create such a view, the table should have a native geometry type (GEOMETRY or GEOGRAPHY). Then all you need to do is register ...


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

At the suggestion of Chris W I'll post the comments as an answer in case it helps others in the future. Make sure that there are no other connections to the shapefile you are trying to change. Schema changes require and exclusive lock, which means no one except you can be looking at the shapefile and even then you must only be looking at the shapefile from ...


2

I don't know of a way to do what you want, but I would suggest turning on the System Protection capability on Windows. It's saved me a couple times. If the folder you deleted was inside another folder, right click on it and check the Previous Versions tab. Find an older date and click on the Open button. Maybe you'll get lucky and System Protection was ...


2

First open up ArcToolbox. Then there are two possible tools you can use (both in the Data Management / Projections and Transformations toolbox), depending on the specific situation: To define the projection, use the Define Projection tool. Do this when: no projection is currently assigned, or the current projection is incorrect (e.g., data should be in ...


1

I took a closer look and actually the data wasn't truncated. It's just that some values are bigger (1477701) and others are smaller (203071). I thought I had a truncation issue when I saw the smaller values in the first page of the DBF and the large values from a segment of the attribute table of the shapefile they are supposed to match. On a different note ...


1

If the suggestion offered by @GisGe to delete the Normal.mxt and, and/or a system reboot, and if necessary, an uninstall/reinstall of ArcGIS for Desktop fail to resolve this for you, then my recommendation is to contact Esri Technical Support. However, I will be surprised if a symptom like this were able to survive an uninstall/reinstall.


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

I developed the following code that would refresh the Folder Connection in the Catalog window in ArcMap, this may help? ' Refresh Catalog Window (if open) Dim pDockableWindowManager As IDockableWindowManager pDockableWindowManager = My.ArcMap.DockableWindowManager Dim sUID As UID sUID = New UID sUID.Value = "{7F09BEFF-4F85-48A2-A3DC-39430262799E}" ...



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