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

buildingageodatabase tutorial for 10.1

$
0
0
Maybe I'm in the wrong forum for this question, but I chose this forum because it has the most relevance to my question.
I have successfully gone through the BuildingaGeodatabase tutorial for ArcGIS 10.1 and want to keep on practicing this tutorial until it's second nature.

Is there a way to reset the tutorial data or all the tutorial data back to its original form rather than going back through the steps and erasing what I've created from the tutorials? I would hate to have to trace back my steps, which would most likely lead to erasing the wrong thing.

Thanks

Adding the ST_Geometry type to an Oracle

$
0
0
Hi,

one of the steps to add st_geometry is to log on as 'SYS' user in Oracle (step number 3) :http://resources.arcgis.com/en/help/...0000000s000000

in some organizations this is a security issue since 'SYS' password and usage is not maintained by the ArcSDE Administrator.

is there any workaround solutions for it ?

I tried using "SDE user connection" with the "create spatial type" geoprocessing tool but it didn't work.

Thanks,

Different area calculated between shapefiles and geodatabase

$
0
0
Hi. Our company recently purchased the ArcGIS Server. We migrated all of our GIS data from the native Shapefiles format to GeoDatabase. the problem, we get 2 different areas - hectares calculated in shapefiles are different than those calculated in the GeoDB. Does anybody have this problem? is this normal? because we have to explain the difference to our management.

Thanks.

Underlying DBMS Error when loading elevation points into SDE

$
0
0
Attachment 22517

I have recieved the following error when trying to load elevation points into the Local Government Model that is in SDE. They load fine into a file geodatabase, but i have errors when trying to load into SDE. I notice when i load into my file goedatabase the field name in the "Shape Field" shrink to just Point Z, where it should be Point ZM. Anyone ever come across something like this?

Attachment 22518
Attached Thumbnails
Click image for larger version

Name:	elev_error.PNG‎
Views:	N/A
Size:	15.6 KB
ID:	22517   Click image for larger version

Name:	attribute_tables.jpg‎
Views:	N/A
Size:	100.1 KB
ID:	22518  

File server vs SDE attachment

$
0
0
Hello

I have some files that I would like to attach to my sde features. Files are small in size ( <40 KB) and have 1:1 relation to features.
I wonder which method is superior, specially in terms of performance?

1) to add a URL field to my features and store my files on the file server
2) To let arcsde do it for me on the database (attachment table).

What are the advantages and disadvantages of storage of small files within the SDE geodatabase?

SQL Geometry and ArcSDE 10.1 Questions

$
0
0
We recently upgraded our SDE database to 10.1 and in 10.1, the SQL Geometry is the default Geometry type as defined in the DBTUNE table and as such new feature classes used the SQL Geometry Type unless specified otherwise. Also, new Geodatabases use SQL Geometry as the default as well.
  • What is the reason that the SQL Geometry is the default type in ArcSDE 10.1?
    Is it to make the Geodatabase more accessible in an enterprise?
    Are there performance benefits?
  • Is the parcel fabric supported use SQL Geometry?
  • Are ArcGIS Topologies supported using SQL Geometry?

I like the capabilities that SQL Geometry offers in terms of accessing the data, but in our situation, the Geodatabase is for data creation and management and I am wondering if the SDE Binary Geometry Type is suitable.

Thanks for your thoughts, Mele

Copying Features from One ArcMap window to another, without losing Related Tables

$
0
0
In our current workflow we are working in a Personal Geodatabase with few features and related tables , many persons will be working in different schemes.

When we need to merge these schemes\Pgdb to a single output , we are copying feature class to feature class . Obviously this changes the Object ID in the resulting output Geodatabase and we lose the related table Information.

Is there any way to copy feature classes from different inputs Pgdbs and still preserve the related tabl

Upgrade and New Server

$
0
0
Hello All, We are running ArcGIS / SDE 9.3 on Server (A) which is windows 2003 server and SQL 2005. We have a new server (B) that is running windows 2012 with SQL 2012 and looking to move ARCGIS Server and SDE to this machine and going to version 10 as that is what the desktops are running. We are looking at avoiding going to 10.1 for now just with the problems we have seen. Also does the user on the Desktop need to be an administrator of the domain in order to connect. This is what the old admin was saying and I am hoping to avoid that scenario? It seems as though I find parts of what I need but no real direction on what order operations are performed as in do I upgrade then detach and attach on new server then install from scratch or do I just detach attach on new server and proceed with install. TIA

Can't add an attribute index

$
0
0
I looked at properties on a 10.1 file geodatabase that I created that was performing slowly. Noticed that the one feature class in there has an index FDO_OBJECTID_1 that it must have inherited from the source county parcel file geodatabase, and that the "Add" button to add an attribute index is greyed out. What's going on there? Is this a clue by it takes this geodatabase to handle its 29 features?

What I did was select several batches of parcels from a county parcel 10.1 file geodatabase feature class, made several shapefiles, edited some lines, then APPENDed the several batches of polygons into a feature class of a new file geodatabase. Then I did a join with a table from the original geodatabase just to calculate a new field with Field Calculator, then dropped the join. I only have 29 records in this new feature class, so I couldn't figure out why, after dropping the join, calculating values for two other new fields was taking so long. When I thought about adding an index to improve performance I saw that there already was one, FDO_OBJECT_ID_1, and no other index is permitted. There is a spatial index called FDO_SHAPE.

Looking back at the source geodatabase, the parcel feature class has an attribute index OBJECTID and the add index button is greyed out, and no spatial index. It also has three relationship classes that I did not use in the new simplified geodatabase.

However, the copy of the whole parcel layer I made back into the old geodatabase has an attribute index FDO_OBJECTID, the "Add" button is available, and a spatial index FDO_SHAPE was created. The relationship classes were also preserved in the new copy.

Edits seen in ArcSDE but not in SQL?

$
0
0
I have edited an SDE feature class and the changes have gone through rec and post to the default. I can see the changes in the ArcGIS environment but not in the SQL environment. Any ideas of what might be happening?

Problem detaching a geodatabase from ArcSDE programmatically.

$
0
0
I am building and populating databases in ArcSDE. The databases can be quite large and in order to manage my available space during processing (4GB in SQl Server Express) I need to build each database, detach it from the server and then build the next. I am trying to automate the process using ArcObjects (C#) on a machine loaded with ArcGIS 9.3.1, SQL Server Express, ArcSDE Personal Server, v10.0.2531.0..
The problem is the act of building a database creates a connected user to the database - me. When I try to detach the database the operation fails. In order to clear "me" from the database I have tried the following, which works when I step through the code in debug mode, but fails when I execute the program. I am assuming the error has to do with the time required for the system to complete the start stop cycle for the server, but that's just a guess. Can you suggest a solution to this problem? I realize starting and stopping is harsh, but I don't know of another way to release "me" from the database.

Here's the code I'm using:

static void DetachDatabase_SDE()
{
//... Name of database to detach.
string dbName = "ConusWMisc";

//... Initialize dataservermanager and dataservermanageradmin.
IDataServerManager pDSMgr = new DataServerManager();
pDSMgr.ServerName = "MYSERVER\\SQLEXPRESS";
pDSMgr.Connect();
IDataServerManagerAdmin pDSMgrAdm = (IDataServerManagerAdmin)pDSMgr;

//... If users connected to database, try to disconnect.
if (pDSMgrAdm.GetConnectedUsers(dbName) > 0)
{
IServiceControl serviceControl = (IServiceControl)pDSMgr;
if (pDSMgr.IsConnected) pDSMgr.Disconnect();

//... Check the service status and stop it if running.
if (serviceControl.ServerStatus == esriDataServerStatusType.esriServerRunning)
serviceControl.StopServer();

//... Having severed users connection, restart service.
if (serviceControl.ServerStatus == esriDataServerStatusType.esriServerStopped)
serviceControl.StartServer();

if (!pDSMgr.IsConnected) pDSMgr.Connect();
}
try
{
pDSMgrAdm.DetachGeodatabase(dbName);
Console.WriteLine("Detached database from server.");
}
catch (IOException ioEx)
{
Console.WriteLine(ioEx.Message);
return;
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
return;
}
}

10.1 Versioned Views

$
0
0
Hi,

It is mentioned that versioned views support editing.
I have my ArcSDE geodatabase created on top of MS SQL Server.
I have created a layer called POINT on SDE. I have looked in MS SQL Server and there is an associated view called POINT_VW
which I presume is the versioned view. If I look into the records I can see that the SHAPE column uses the Geometry data type and that the value is more or less a GUID value.

My questions are:
1 - How do I read the geometry stored in this column?
2 - How do I create a new geometry?

I believe that the goal of the versioned view is to facilitate integration with 3rd party tools? I know that it does not support features that are implemented at the geodatabase level so I cannot enable Geometric Networks, etc. But I don't have to use SQL Server native types to better use this right? When I use SDE binary format in which format is the SHAPE column in the versioned view written on? Always in the underlying RDBMS geometry data type?

Thanks,
Jose

Getting started with ArcSDE

$
0
0
Hello, i want to develop some skills in ArcSDE. Can anyone recommend any training courses that will give me a good introduction and solid grounding. They need to be either cheap or free however! Thanks for any help

Shape Integrity Error

$
0
0
Dear Users,

I'm suffering an annoying problem: I'm working with ArcGIS 10.1 and I'm connected to an SDE 10.1. When I try to copy a certain Feature Class to a local file GDB ESRI tells me, that it can't copy because there are shape integrity erros. I'm sure it is because of invalid geometries. Now the question is how to find out which Features exactly cause the Problem.

I don't know how to get this Information. Maybe you have an idea...

Thank you in advance

Renaming a projection definition

$
0
0
We use a custom projection for our geodatabase and it has always been named "NAD_1983_Transverse_Mercator". I would like to change the name of the projection to something less generic that captures the name of our company in the title, for example "Idaho_Power_Transverse_Mercator". The projection parameters remain the same, just the title would change. I've tried using the Define Projection tool but it fails to write over any existing projection parameters. Can I remove a projection definition in a geodatabase and then run the Define Projection tool to reassign the parameters? Any other suggestions?

Thanks

Mike

User Schema Geodatabase Creation Errors

$
0
0
Using ArcGIS 10.1, ArcSDE 10.1 and Oracle 11 R2.

We have successfully created our SDE Master schema and exactly 1 User Schema Geodatabase on our Oracle instance.

We cannot seem to create another successfully.

We are using the Create Enterprise Geodatabase tool and all required permissions are granted to both the SDE user and the User Schema User in which we will be creating the child Geodatabase: (All of which seems like overkill since we are using the SYS account to run the tool as required.)

On our second attempt to create a User Schema Database, the tool got through the table creation part, but exited with an error before creating the view objects.

On all subsequent attempts the tool gets as far as creating a user, (if not existing,) but will create no objects beyond that.

Does anybody have this experience and can anybody offer suggestions?

Thank You!

Restore geodatabase from windows backup

$
0
0
Hi - my hard drive failed last week and I have been in the process of restoring my backup files. All my files, including a geodatabase (858 MB) that I really need to access, were backed up with Windows 7 Backup. I attempted to restore this geodatabase, however have had no luck accessing any of the data stored within it. I then copied the folder from the backup to an external hard drive but have been unsuccessful at opening it with Catalog or ArcMap, it just shows up as empty even though it is listed as 858 MB. Does anyone have any suggestions for accessing the data within the geodatabase? I'm not a computer whiz and just want to retrieve my data!

Thanks

Fail to attach mdf file in the sql server,

$
0
0
Fail to attach mdf file in the sql server,

My mdf file is stored in the root of my hard drive (F:\).


Attachment 22581

I tried to to attach it to the sql server but I got the message below:

Attachment 22582, Attachment 22586


Then I copied this file to my D drive and it is successfully attached!

Attachment 22583, Attachment 22584


What might be the issue then?

Why this mdf file fails to attach while being stored in the F:\ drive?


Thank you

Best

Jamal
Attached Thumbnails
Click image for larger version

Name:	Clip_507.jpg‎
Views:	N/A
Size:	153.2 KB
ID:	22581   Click image for larger version

Name:	Clip_511.jpg‎
Views:	N/A
Size:	182.4 KB
ID:	22586   Click image for larger version

Name:	Clip_508.jpg‎
Views:	N/A
Size:	168.8 KB
ID:	22582   Click image for larger version

Name:	Clip_509.jpg‎
Views:	N/A
Size:	156.4 KB
ID:	22583   Click image for larger version

Name:	Clip_510.jpg‎
Views:	N/A
Size:	83.9 KB
ID:	22584  

Geography data type issues.

$
0
0
I need to get Lat/Long values back from the Geography filed on my SQL Server 2008 R2;

I have tried this:

Select [Shape].Lat, [Shape].Long FROM [sde].[sde].[Teste]

And I got this error message:

Msg 6506, Level 16, State 10, Line 3
Could not find method 'Lat' for type 'Microsoft.SqlServer.Types.SqlGeometry' in assembly 'Microsoft.SqlServer.Types'.

Do you guys have any idea of what is going on?

Thanks,
Felipe

Help me ! Add Database Server for Arc SDE

$
0
0
Hi you!
i can`t Add Database Server for Arc SDE of arcgis 10.1, help me !
and, i can`t Create ArcSDE connection file
Please, help to images !
I can give email: nghiait88@gmail.com or nghiait88@yahoo.com
Thank you very much !
Viewing all 1584 articles
Browse latest View live