Quantcast
Channel: Forums - Geodatabase & ArcSDE
Viewing all 1584 articles
Browse latest View live

ERROR 000260: Failed to copy

$
0
0
Hi all

when copying a feature dataset from one ArcSDE Geodatabase in 9.3 to another ArcSDe geodatabase in 10.0 I get the following error message:

ERROR 000260: Failed to copy [..... Network into ... Network
Underlying DBMS error [Error executing PL/SQL Block db_stgeom_create_index::ORA-29855: se ha producido un error en la ejecución de la rutina ODCIINDEXCREATE
ORA-20086: Error, Invalid Grid Size: 2nd and 3rd sizes must be at least 3 times larger than previous grid size.]
The index passed was not within the valid range.
Failed to execute (Copy).


any ideas in how to fix that?

ArcSDE Data Usage Statistics

$
0
0
Does anyone know if there is a way to summarize usage statistics for ArcSDE? For example one of my databases has 31 Feature Datasets and 306 Feature Classes. I would like to know throughout the year the percentage of growth in this database, what types of features account for growth (point,polygon,line) , most frequently used features based on access, most frequently used features based on unique users, etc.. and a likewise summary for the Feature Datasets. This would help me to report on activity and start targeting which layers are most important and need more frequent updates etc...
Thanks for any thoughts,
Chris

How to manage many users privileges in SQL Server to edit the data simultaneously?

$
0
0
Greetings,

I`m new to MS SQL Server, but not new to ArcSDE since I always run SDE over Oracle.

Now I intsalled MS SQL Server express edition 2008 R2 for ArcSDE 10.1 on a machine with Win 7 OS.

I have installed the SQL Server native client & ArcGIS for Desktop 10.1 on 3 other machines, and I was able to connect (direct connect) from arccatalog to the database and read the geodatabase. However the 3 computers could view the data but only one can edit at one time.

There is no place on Esri pages stating that using ArcSDE 10.1 with MS SQL Server Express 2008 R2 has a limitation toward the number of simultaneous editor users.

Please advise on how to configure the geodatabase and the users connections and privileges in order to run more than 1 editor on the same geodatabase at the same time?


Thanks in Advance....

AUTOCAD MAP DATA migration to ARCGIS GeoDatabase

$
0
0
hello guys,

we are using safe's FME tool to migrate autoCAD map data to ARCGIS geodatabase.

I have the following questions:

1) how can we migrate style (color, font, style size and etc) data to geodatabase?

example of stye: KERB/KERBX2, Simplex ( H=6 or 3 ) and etc

Yes, i do know they are set on the .mxd feature but how can we store the value in geodatabase and tell the .mxd to set that data? we don't want to burden curent the client to set the type of style again

2) how can we migrate geometry type from autoCAD map data to ARCGIS geodatabase?

I notice there are multi-line polygon and etc, do I map them all to normal polygon data?

3) I notice some autoCAD data has line and text combine together, how do I migrate those to ARCGIS geodatabase?

Spatial Indexes shows Tablespace Null ???

$
0
0
Dear Admins,

I created a DBTUNE file with customized keyword, directing to below given example.

##CART_VECTOR_DEFAULT

GEOMETRY_STORAGE "ST_GEOMETRY"
ST_GEOM_LOB_STORAGE " STORE AS (
# TABLESPACE <lob segment tablespace_name>
ENABLE STORAGE IN ROW CHUNK 8K RETENTION CACHE) "

ATTRIBUTE_BINARY "BLOB"
RASTER_STORAGE "BLOB"
B_STORAGE "PCTFREE 0 INITRANS 4" TABLESPACE SDE_TS
B_INDEX_ROWID "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"
B_INDEX_USER "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"
B_INDEX_XML "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"
B_INDEX_RASTER "PCTFREE 0 INITRANS 4 TABLESPACE NOLOGGING"
B_INDEX_TO_DATE "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"
B_INDEX_SHAPE "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"

S_STORAGE "PCTFREE 0 INITRANS 4" TABLESPACE TS_SNDX
S_INDEX_ALL "PCTFREE 0 INITRANS 4 TABLESPACE TS_SNDX NOLOGGING"
S_INDEX_SP_FID "PCTFREE 0 INITRANS 4 TABLESPACE TS_SNDX NOLOGGING"
F_STORAGE "PCTFREE 0 INITRANS 4 TABLESPACE SDE_TS
F_INDEX_FID "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"
F_INDEX_AREA "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"
F_INDEX_LEN "PCTFREE 0 INITRANS 4 TABLESPACE TS_NDX NOLOGGING"

A_STORAGE "PCTFREE 0 INITRANS 4"
# TABLESPACE <Default ADDS table tablespace name>
A_INDEX_ROWID "PCTFREE 0 INITRANS 4
# TABLESPACE <ADDS Table default index tablespace name>
NOLOGGING"
A_INDEX_SHAPE "PCTFREE 0 INITRANS 4
# TABLESPACE <ADDS Table default index tablespace name>
NOLOGGING"
A_INDEX_STATEID "PCTFREE 0 INITRANS 4
# TABLESPACE <ADDS Table default index tablespace name>
NOLOGGING"
A_INDEX_USER "PCTFREE 0 INITRANS 4
# TABLESPACE <ADDS Table default index tablespace name>
NOLOGGING"
A_INDEX_XML "PCTFREE 0 INITRANS 4
# TABLESPACE <ADDS Table default index tablespace name>
NOLOGGING"
A_INDEX_RASTER "PCTFREE 0 INITRANS 4
# TABLESPACE <ADDS Table default index tablespace name>
NOLOGGING"

D_STORAGE "PCTFREE 0 INITRANS 4"
# TABLESPACE <default DELETES Table tablespace name>
D_INDEX_STATE_ROWID "PCTFREE 0 INITRANS 4
# TABLESPACE <DELETES Table default index tablespace name>
NOLOGGING"
D_INDEX_DELETED_AT "PCTFREE 0 INITRANS 4
# TABLESPACE <DELETES Table default index tablespace name>
NOLOGGING"

RAS_STORAGE "PCTFREE 0 INITRANS 4"
# TABLESPACE <RAS Table tablespace name>
RAS_INDEX_ID "PCTFREE 0 INITRANS 4
# TABLESPACE <RAS Table tablespace name>
NOLOGGING"

BND_STORAGE "PCTFREE 0 INITRANS 4"
# TABLESPACE <BND Table tablespace name>
BND_INDEX_COMPOSITE "PCTFREE 0 INITRANS 4
# TABLESPACE <BND Table tablespace name>
NOLOGGING"
BND_INDEX_ID "PCTFREE 0 INITRANS 4
# TABLESPACE <BND Table tablespace name>
NOLOGGING"

AUX_STORAGE "PCTFREE 0 INITRANS 4"
# TABLESPACE <AUX Table tablespace name>
AUX_INDEX_COMPOSITE "PCTFREE 0 INITRANS 4
# TABLESPACE <AUX Table tablespace name>
NOLOGGING"

BLK_STORAGE "PCTFREE 0 INITRANS 4
# TABLESPACE <BLK Table tablespace name>
LOB(BLOCK_DATA) STORE AS (
# TABLESPACE <lob segment tablespace_name>
ENABLE STORAGE IN ROW CHUNK 8K RETENTION CACHE) "
BLK_INDEX_COMPOSITE "PCTFREE 0 INITRANS 4
# TABLESPACE <BLK Table tablespace name>
NOLOGGING"

UI_TEXT "User Interface text for DEFAULTS"

XML_DOC_UNCOMPRESSED_TYPE "CLOB"

XML_IDX_TEXT_UPDATE_METHOD "NONE"

XML_DOC_MODE "COMPRESSED"

XML_DOC_LOB_STORAGE "NOCACHE NOLOGGING CHUNK 4K PCTVERSION 5 DISABLE STORAGE IN ROW" TABLESPACE SDE_XML

XML_DOC_VAL_LOB_STORAGE "NOCACHE NOLOGGING CHUNK 4K PCTVERSION 5 DISABLE STORAGE IN ROW" TABLESPACE SDE_XML

XML_DOC_STORAGE "PCTFREE 0 INITRANS 4" TABLESPACE SDE_XML

XML_DOC_INDEX "PCTFREE 0 INITRANS 4 TABLESPACE SDE_XML NOLOGGING"

XML_IDX_STORAGE "PCTFREE 0 INITRANS 4" TABLESPACE SDE_XML

XML_IDX_TEXT_TAG_STORAGE ""

XML_IDX_INDEX_PK "PCTFREE 0 INITRANS 4 TABLESPACE XML_NDX NOLOGGING"

XML_IDX_INDEX_ID "PCTFREE 0 INITRANS 4 TABLESPACE XML_NDX NOLOGGING"

XML_IDX_INDEX_TEXT ""

XML_IDX_TEXT_UPDATE_MEMORY ""


XML_IDX_INDEX_TAG "PCTFREE 0 INITRANS 4 TABLESPACE XML_NDX NOLOGGING"

XML_IDX_INDEX_DOUBLE "PCTFREE 0 INITRANS 4 TABLESPACE XML_NDX NOLOGGING"

XML_IDX_INDEX_STRING "PCTFREE 0 INITRANS 4 TABLESPACE XML_NDX NOLOGGING"

XML_COLUMN_STORAGE "SDE_XML"
# Example for setting XML_COLUMN_STORAGE to native XML type.
#XML_COLUMN_STORAGE "DB_XML"
#XMLDB_INDEX_TAG "YES"
#XMLDB_INDEX_FULLTEXT "NO"
END


But for my surprise i view the information about the Spatial Index for a layer is created in TableSpace = Null
What could be the reason ?

Please input your valuable comments

My Environment: RHEL 6, Oracle 11.2.0.3.0, ArcSDE 10.1 SP1

With best regards

Thanks
Abdullah

Unrecognized database format error

$
0
0
Our company's server has been having some issues including a complete crash which has caused a lot of issues. We're back up and running, but one of my co-workers told me that she can no longer open a geodatabase that had been open and she had been editing in when the server went down. We're running 10.1 and the error we're getting is

Failed to connect to database.
Underlying database error occurred.
Unrecognized database format (Our Database's path and name.mdb)

Is there any way to fix this database? There's a couple of broken shapefiles as well but they can be easily recreated compared to this. Any suggestions are gladly welcome.

Migrating from multi-database model to single for 10.1

$
0
0
Our GIS users want to upgrade from ArcGIS 10.0 to 10.1. We currently have a multi-database model and in order to upgrade we need to convert to a single database model. I am the DBA and not a GIS user but I have somewhat of an understanding of what has to be done for this conversion.
I have created a new 10.1 geodatabase and have copied the spacial objects from our original user database to the new database that was created.
The next problem I am faced with is that we have several database users and roles and various permissions are granted on the database objects to these users and roles. To transfer these permissions manually will be extremely time consuming. Does anyone know a way of scripting this? Our original database is running in a SQL Server 2005 instance and the new database is in 2008 instance.

Disable or shrink Archive for one feature class in a feature dataset

$
0
0
Hello,
I have a versioned Feature dataset with archiving enabled. I have one feature class in this feature dataset for which I would like to either disable archiving or if that is not possible, I would like to shrink/delete features in the archive for this feature class. Is this possible?

Background: The feature class needs to be in the archived feature dataset (participates in topology), so I can't just pull it out. The feature class periodically has all features deleted and updated features appended by an automated process. This is making the _H table grow to a very large size.
Thanks in advance,
Sebastian Roberts

Error: When Creating Enterprise Geodatabase

$
0
0
I am trying to create Enterprise Geodatabase in PostgreSQL. I was following ArcGIS Help 10.1
HTML Code:

http://resources.arcgis.com/en/help/main/10.1/index.html#/Setting_up_a_geodatabase_in_PostgreSQL/002p00000001000000/
I have installed PostgreSQL 9.2.4 (64bit), ArcGIS Server 10.1 (64bit) and ArcGIS Desktop 10.1(32bit) in the same computer. I have copied correct bit version of PostgreSQL client libraries in both ArcGIS Server and ArcGIS Desktop. Similarly I copied the ST_geometry into PostgreSQL lib folder. After doing everything I am getting following error message. Is it because of using PostgreSQL 9.2.4 Can anyone help me to resolve the issue.

Code:

Executing: CreateEnterpriseGeodatabase PostgreSQL localhost test123 DATABASE_AUTH postgres ***** SDE_SCHEMA sde ***** # "C:\Program Files\ESRI\License10.1\sysgen\keycodes"
Start Time: Tue May 14 10:42:25 2013
User has privileges required to create database objects.
Geodatabase admin user already exists.
Database already exists.
Validated authorization file.
User has required privileges for geodatabase setup.
XML support is enabled for the database instance.
You must copy the latest ST_GEOMETRY and dependent libraries to the PostgreSQL software location. Refer to the ArcGIS help topics for more details.

Connected RDBMS instance is not setup for Esri spatial type configuration.
Failed to execute
(CreateEnterpriseGeodatabase).
Failed at Tue May 14 10:42:27 2013 (Elapsed Time: 2.00 seconds)

Script Error 800A000D

$
0
0
I created a geodatabase, a feature class from that database, converted it to be compatible with ArcPad using the ArcPad tool, then sent the database off to a partner to use on their Juno SB device in the field. When I loaded the file onto my own Juno it worked without a hitch but my partner reported getting a script error:

Script file
F:\EDRR.vbs
referenced in
F:\EDRR.apl
doesn't exist.
Runtime script errors may occur.

The odd thing is that once you click "ok" on these messages the database seems to work just fine. My partner works for the State Parks system and I'm thinking that maybe some of their security firewalls may have interrupted some of the files from coming over intact? I'd prefer to not have this error pop up as it would be a pain for the user. Any suggestions?

Oracle FC Couldn't Displayed

$
0
0
Hi Forums,

We face problem on displaying feature class in Oracle, which successfully imported from file geodatabase using Append (Data Management) Tools, my experiment on copying it to Postgre no problem on displaying it.

Is this problem on permission setting in Oracle ?
If we select the record, selected object appears.

I attach the capture screen related to the problem,
Attachment 24314

Thanks,
Attached Thumbnails
Click image for larger version

Name:	007.PNG‎
Views:	N/A
Size:	137.2 KB
ID:	24314  

Spatial Index Inefficient

$
0
0
Dear Admins,

I imported a layer containing polygon features around 25000 records from Geodatabase (9.3) to Geodatabase(10.1), it created a layer, attribute index and spatial index as usual.
I found that the layer is much more faster in 9.3 than in 10.1, for sure it is not because of version change.
For tuning i tried Analyse, Rebuild Spatial Index too
I was wondering what measures could help me to improve layer process faster ?
How to create a spatial index in an efficient way ? Is it OK if we do not create a spatial index ?


9.3 Environment: RHEL 5, Oracle 11.2.0.2.0, ArcSDE 9.3 SP1
10.1 Environment: RHEL 6, Oracle 11.2.0.3.0, ArcSDE 10.1 SP1


Waiting eagerly for replies
Thanks
Abdullah

SDE and Domain Spatial Index (Sel - Undefined)

$
0
0
We have a point feature class with approximately 800,000 features loaded into a 10.1 SDE environment (Oracle 11gR2).

I have noticed very poor performance compared to the the 9.3 environment we initially used. On examining the explain plan being used when ArcMap is attempting to display these points, I noticed that the domain index seems to be using an undefined "selectivity", as per the attached screenshot.

Attachment 24315

Reading online, ESRI seems to suggest that this situation should never eventuate (although it does not mention 10/10.1 for affected software). See: http://support.esri.com/en/knowledge...s/detail/32594

It appears that we have this same poor performance on multiple database servers, and dropping and rebuilding the index does not seem to resolve the issue.

Has anybody got any suggestions or noticed similar behaviour in their environment?

Thanks.

Steve
Attached Thumbnails
Click image for larger version

Name:	explainplan.png‎
Views:	N/A
Size:	17.2 KB
ID:	24315  

What will happen in this synch scenario

$
0
0
Hi all

I am not sure what will happen if I do something in a replicated SDE DBs. This is what I have now.

SDE1 with FC1 and FC2
SDE1 has a replica (SDE1 is the parent DB) to be synched to SDE2 (one way SDE1 > SDE2)
FC1 and FC2 get edits in SDE1 and after editing them SDE1 is compressed.
After that by right clicking to SDE1 and selecting 'synch... ' SDE1 is synched to SDE2 and the edits in FC1 and FC2 are now in the FCs in SDE2.

My question is what will happen if I completely delete FC1 in SDE1 and re-import another same FC1 (same FC schema) and register it as versioned. If I go for synching using the above routine will the changes from the (new) FC1 propagate to FC1 in SDE2?

Behavior in relation to a geodatabase

$
0
0
I was trying to understand what behavior means in relation to a geodatabase. An example of when to set behavior would also be very helpful.

Thanks.

Foreign Key Linkage between SDE data and attribute data hosted on a SaaS

$
0
0
Up until now all of our databases have been in house on our SQL Server environment. That’s about to change as one of our existing databases is moved up to the cloud based SaaS (software as a service) environment. There is no spatial data in the current SQL only database but the manager now wants to connect points, lines and polygons with any of the records through a rest endpoint. Also, the SaaS environment has no way of storing spatial data. I’m not sure how this would work so I’m looking for any suggestions.

Access to the database will be through a web browser since the data is now in the cloud. Is it better to store a foreign key to the geometry in the attribute data or a foreign key to the attribute data stored in the geometry? Ultimately we want to be able to display the geometry in an ESRI iframe when looking at a record on the vendors SaaS webpage.

Create Direct Database Connection: SQL Server 2008

$
0
0
I've never had to connect to an enterprise database (SQL Server 2008) before and please note the database that I'm trying to connect to is not a spatial database. I want to connect to the following database to retrieve records that I can generate spatial data from. The records are of Police incidents that contain coordinates of the location of each incident and the particulars of the incident. I want to use the following information to start analyzing crime.

I've been provided with the IP Address of the SQL Server (2008) as well as a User Name and Password .

When I try to create a database connection from within ArcCatalog I receive the following error message:

I've attached a print screen of the database connection parameters that I'm entering as well as the error message.

I have asked the Database Administrator to change the compatibility of the particular database that I'm trying to connect to (IMSWarehouse) to level 90 (SQL Server 2005), but I still receive the same error.

Any advice in how I can create a direct connection to the following database will be appreciated.

Regards

NB: I'm currently running ArcGIS 10.1 with SP1
Attached Thumbnails
Click image for larger version

Name:	AddDatabaseConnection.JPG‎
Views:	N/A
Size:	30.1 KB
ID:	24359   Click image for larger version

Name:	DatabaseConnectionError.JPG‎
Views:	N/A
Size:	26.4 KB
ID:	24360  

How to maintain Index Names when importing an XML Workspace Document

$
0
0
I used the ArcGIS Diagrammer tool for 10.1 to build my geodatabase (very cool for an initial release, but has some productivity enhancement potential), but when I import the XML Workspace Document the tool produces, all of my carefully named indexes are re-named to auto generated names. This is highly undesirable for my client. Is there any way to tell ArcGIS that I want to maintain the names in the XML? I am using ArcGIS 10.1 SP1 importing to an ArcSDE 10.1 SP1 Geodatabase on Oracle 11g R2.

Thank you for any advice.

ST_Geometry query is doing full table scans (not using spatial indexes)

$
0
0
Hello -

We are running ArcSDE 10 sp5, Oracle 11.2.0.1

We have a web application that is doing an intersection using an ST_GEOMETRY (st_intersects) query between two polygon feature classes. One of our developers told me it was running very slowly, so I did an execution plan on the query and found out it is doing full table scans of both the feature classes.

I looked at the feature classes in ArcCatalog and saw they both had spatial indexes. I recreated the spatial indexes (in ArcCatalog), but still no luck in having the query use the indexes and is still doing full table scans.

Below is output from the query and execution plan:

select count(1)
from
gislib.plss_024k_str a,
pdslib.cup_bnd_all b
where
offcl_prmt_id = 38 and sde.st_intersects(a.shape, b.shape) = 1
and
rownum < 2
/

COUNT(1)
----------
1


Execution Plan
----------------------------------------------------------
Plan hash value: 2651061692

--------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 876 | 2620 (2)| 00:00:32 |
| 1 | SORT AGGREGATE | | 1 | 876 | | |
|* 2 | COUNT STOPKEY | | | | | |
| 3 | NESTED LOOPS | | 2182 | 1866K| 2620 (2)| 00:00:32 |
|* 4 | TABLE ACCESS FULL| CUP_BND_ALL | 4 | 2468 | 501 (1)| 00:00:07 |
|* 5 | TABLE ACCESS FULL| PLSS_024K_STR | 564 | 142K| 530 (2)| 00:00:07 |
--------------------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

2 - filter(ROWNUM<2)
4 - filter("OFFCL_PRMT_ID"=38)
5 - filter("SDE"."ST_INTERSECTS"("A"."SHAPE","B"."SHAPE")=1)

SQL>



Any thoughts or suggestions would be appreciated!

Thanks,

Ellen Dean
St. Johns River Water Management District

Geodatabase shows up as file folder in catalog?

$
0
0
I just received a file geodatabase today from a client on a USB harddrive only when I tried to open the geodatabase in ArcCatalog, the program doesn't recognize it as a geodatabase. In both Catalog and Map it has the appearance of a file folder and when I try to open it, it claims the folder is empty. I checked the geodatabases against some other ones that work properly via windows explorer and they have all the same files inside of them, so I don't think that I'm missing any pieces to make it break.

The geodatabase came to me named RomulusData.gdb and it was just a copy of our client's data with no alterations done to it. We're both running Arc 10.1.

Is there any way to fix the geodatabase? I found another user who had the exact same issue in 2010 on the archived forums, but it doesn't look like he ever got an answer as to how to fix the issue or even why it happened in the first place. (http://forums.esri.com/Thread.asp?c=93&f=1727&t=253881)
Viewing all 1584 articles
Browse latest View live