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

Versioning a selected area

$
0
0
I saw at resources center that we can register a dataset, feature or table as version with the option to move edits to base.
However, my team needs to edit the same feature class, a very large feature that includes the whole State River Basin.
Is it possible to version just some part of this base, considering small watersheds, selected by area for example?
Thanks!

Enforcing Special Rule in a Feature Class !

$
0
0
Hi all,

I am trying to enforce a rule in a feature class where the user is only allowed to input a value in an attribute field when another attribute field has a particular domain value.

For example: The attribute field Test_1 has 2 domains : YES and NO. There is a second attribute field called Type_1

I only want my users to be able to populate Type_1 when the domain value is NO.

Is there a workflow in ArcGIS with which this intended process may be achieved ??

general map service performance

$
0
0
dear Experts,

I want to make an application using Flex which consumes REST Service... Which one is better in term of performance :
- Make A map service with A layer which consisted of many States (the MXD has 1 layer for all States) or
- Make A map service with MANY State layers (the MXD has n-state layers) or
- Make many State map services

And.., out of these three map services, which one consumes the most server's resources ?

thanks

Spontaneous Archiving?

$
0
0
Hello! I recently copied (ArcCatalog right-click > Copy > Paste) three feature classes from my test ArcSDE geodatabase to my production ArcSDE geodatabase. This is a standard process--there aren't usually any surprises. This time, however, each of the three feature classes copied into production successfully, and each now has its own archiving (_H) feature class. I did not Enable Archiving on either the source or destination feature classes. There are no archiving feature classes in the test environment. When I right-click > Manage the feature classes, the option to Disable Archiving is greyed-out, but the option to Enable Archiving is available, indicating that Archiving is not enabled.

A last note: archiving tables are not supposed to be visible in ArcCatalog, but rather only from your DBMS manager (in my case, SQL Server Management Studio). But these mystery archiving feature classes are visible in ArcCatalog.

What is going on?

Thank you!

ArcGIS Desktop v10.2
ArcSDE v10.0

sa account getting locked out

$
0
0
My sa account is getting locked out all the time. I had to change the sa account password and I know it broke a lot of connections in existing mxds. I can't repair these broken links, because once I open the mxd the sa account is locked out again. Is it possible that desktop trying to access the database with the old account is locking the account out. This is incredibly frustrating because I basically have to throw all my affected mxds away since I can't simply repair the connection. Am I correct in my assumption or is something else going on here.

Create new feature class in existing SQL Server Enterprise Geodatabase

$
0
0
Hi I am pretty new to SQL server. I just want to create a new feature class in the SQL Server Enterprise Geodatabase.

I am able to view my sde connection (obs.sde) in ArcCatalog and connect. There are existing feature classes within the geodatabase. These were created by my predecessor. I was hoping it would be as simple as right-clicking the connection file and selecting 'Create new feature class', but that is not an option.

I have used Management Studio to login to the SQL Server in order to create queries to view and delete data.

I'm not really sure where to start. I haven't found any tutorials on this.

Thank you for any help.

Database View Shows Coded Value, not Human Readable?

$
0
0
Hello! When a geodatabase view references a field to which a coded value domain has been applied, the code, rather than the human readable value, is exposed. Having made extensive use of coded value domains, this makes views useless for my environment. Does anyone know of a workaround?

Thank you!

ArcSDE1 10.0/SQL Server 2008 R2

ArcSDE on a different server than Oracle

$
0
0
I'm having difficulty with this.

I've followed the installation instructions, but when attempting to start SDE I get an error:
"Operation Failed, Unable to start iomgr."

ArcSDE is installed on a RHEL 6.4 machine, which uses xinetd rather than inetd as it's service daemon. Adding the service requires slightly different steps as compared to with inetd.

in /etc/xinetd.d/ I created esri_sde which contains

Code:

service esri_sde
{
        disable = no
        socket_type = dgram
        wait = yes
        server = /opt/test/sde/sdeexe102/bin/sderemote
        server_args = iomgr_inetd
        user = sde
        protocol = udp
        type = INTERNAL
        id = time-dgram
}

/etc/xinetd.d itself was edited to contain
"esri_sde"

/etc/services was edited to contain esri_sde and port number.

I am not clear on the contents of the dbinit.sde file

The following is example information copied from http://help.arcgis.com/en/geodatabas...min/sdemon.htm

Code:

set ORACLE_HOME=/bluebeard/oracle
set ORACLE_SID=ora
set LD_LIBRARY_PATH=/usr/lib:/bluebeard/oracle/lib:/bluebeard/oraexe/sdeexe91/lib

What is the value of ORACLE_HOME?
Oracle is not installed on the same machine as SDE. There is no ORACLE_HOME for this machine.


Any suggestions?

Update ObjectID Field

$
0
0
I'm using ArcGIS 10.1 and I've a scenario where I want to do some changes in the feature class like (change projection, extract some features with specific criteria) and I want to maintain the objectID.

I'm thinking to save the current objectid and return it back after finishing my modification. but i don't know how to do it? any ideas?

PostGIS Coordinate System Identifier Invalid..

$
0
0
Trying out PostGIS..

I have it installed, and running. (postgreSQL 9.0/postGIS 2.0). I am able to make connection inside ArcCatalog and can import tables (provided the db is lower case).

I can import .shp files via the PostGIS2.0 PostGIS Shapefile Import/Export Manager. Into a database which was constructed using the postGIS template db which installs as part of the the initial setup. Inside that db, there is only one schema "public".

Inside that schema there is a default table from the template "spatial_ref_sys" ( I thought I was good to go with only that table )

When I try to 'import' a single feature class I get an error... "DBMS table not found"... and "Spatial Type not installed in the db"

When I ran the Shapefile Import/Export Manager, I could upload a shapefile but could not preview it "The coordinate system identifier is invalid"


I am pretty sure I missed a step, or have something left to configure.


I can connect via ArcCatalog (so I have the 32bit for catalog) and can make a simple table, but nothing else yet.

Does anyone have a suggestion for getting the spatial system error resolved?

Andy

How does .mdx file store / use .sde connection

$
0
0
Hi,

I have a few MXD files that have a reference to a .sde file located in a common shared directory on the hard drive of a server C:\ArcGIS\DataConnections\FileDataConnection.sde.

The .mdx files and name of the sde file are identical across the servers, but the content of this .sde file changes on each server to point to the appropriate database.

The mxd files are copied from one server to the next, but I am having an issue when I open the mxd file on the target server, the mxd files are still pointing to the database referenced on the server the file was copied from.

I have verified the reference to the file .sde file is correct and have verified the .sde file is connecting to the database I expect on the server.

Does anyone know if ArcGIS embeds the .sde connection in each layer of the mxd file and not use the data from the .sde file as I assumed it would?

Thank you

Using sdeimport will generate mojibake in Oracle 11g

$
0
0
I am doing a data conversation from ArcSDE 9.0 Oracle9i Build 325 to ArcSDE 10.1 for Oracle11g Build 679
I run the following command with sde9.0
set SDE_SQLCHARSET=big5
sdeexport -o create -t BLDG -f BLDG.sdeexp -s 10.5.1.26 -u xxx -p xxx

and then run the following in sde 10.1
set SDE_SQLCHARSET=big5
sdetable -o delete -t BLDG -u xxx -p xxx -N
sdeimport -o create -t BLDG -f BLDG.sdeexp -u xxx-p xxx

However, all the chinese characters are incorrect(mojibake) in database, please advice, thank you.

PS: for the set SDE_SQLCHARSET=big5, please refer to page 71 - 73
http://www.zmuc.dk/public/GIS-intro/..._SQLServer.pdf

local copy of a feature service

$
0
0
Hello,
I created local copy for editing feature service in desktop, when I tried to synchronize the edits (first time) with the server I get this error
synchronize layer edits failed , the item was not found .
while both feature service and local edits are found in the table of content , and the local copy is personal geodatabase not SDE.
regards

Access Databases and Creating features in Arcmap 10.1

$
0
0
Hello,

I have two Access databases that have all the info already in them. What I am looking to do is create a form from this data that would be created by the end user. The end user would create a polygon in arcmap and need to output the attributes from the polygon to a pre-made form that is in Access. Is there a way to do this? Any help would be appreciated.

Dave

Managing Attribute Table in Oracle GDB

$
0
0
Hi every body
I want to separate the attribute data and feature classes. for this I have to create additional tables for each class.
how to proceed to:
  1. Manage thesetables independantly from classes (insert, delete, update, query) of records?
  2. link a record created on map ton its corresponding record in the attribute table.?
  3. publish the table as a service to manage it in flex viewer for exemple.?
is it possible ? if yes how ?
else how can i do this in different way ?

thx
config: arcgis (server/desktop)10.1, oracle 11g.

Error when Reconciling

$
0
0
Periodically, when reconciling, the following error is return.

The version could not be reconciled. Underlying DBMS error [Microsoft SQL Server native Client 10.0: Subquery returned more than 1 value. This is not permitted when the subquery follows =,!=,<,<=,>,>= or when the subquery is used as an expression.] [ArcGIS.GDBO.{featureclassname}]

Once this happens, the only solution has been to delete the version and redo any edits in that version.

Has anyone encountered this problem before?

Thanks,

Craig

Versioned Data Runs Slow

$
0
0
Using ArcGIS for Server 10.1.
We replace/update a polygon Feature Class (< 60,000 records) located in an SDE Feature Dataset on a monthly basis with a Feature Class from outside our SDE (same schema). We have Default and Edit Versions of the geodatabase.

Here are the two procedures we’ve tried so far:
1) With the Edit Version of the Dataset, we tried deleting all of the records, copying the features from the update, and pasting them into the Edit Version (also tried copying, then deleting old). We’ve also tried deleting the features and appending new features (also tried appending, then deleting old). Both of these produce a VERY SLOW layer which takes a long time to load, and makes edits impossible.

2) We tried importing the update into the dataset (right-click on datset -> Import Feature Class), which is still fast and easy to use, but it comes in as unregistered as versioned (and uneditable… making all of the Feature Classes in the feature dataset temporarily uneditable). When we register it as versioned, the speed slows WAY down.

We’ve also tried these Geodatabase Administration tools:
A) Analyze the Feature Class
B) Compress the Geodatabase
C) Recalculate the Index

Note: All of our other versioned data is managed through Edit versions that we push up to Default, with no slowness issues.

Thanks for your assistance.

Preparing scripted setup of ArcSDE in SQL Server 2012

$
0
0
Hello:

I'm setting up a test and development server for ArcSDE with SQL Server 2012. I'm also a total novice DBA. I want to use the SDE_SCHEMA model.

I do not want to use the default storage locations created when using the Create Enterprise Geodatabase tool.

Will the following script be sufficient to use as presetup for the Enable Enterprise Geodatabase tool and ensure that the sde login, user and schema have the required permissions and configuration for proper geodatabase administration?

Also when setting up a connection file to use with Enable Enterprise Geodatabase tool is it best to use sa or sde for username?

USE master;
GO
CREATE DATABASE DEVARCGISSDETEST
ON
( NAME = DEVARCGISSDETEST,
FILENAME = 'C:\MSSQLData\DEVARCGISSDE\DEVARCGISSDETEST.mdf',
SIZE = 8192MB,
FILEGROWTH = 1024MB )
LOG ON
( NAME = DEVARCGISSDETEST_log,
FILENAME = 'C:\MSSQLLogs\DEVARCGISSDE\DEVARCGISSDETEST_log.ldf',
SIZE = 8192MB,
FILEGROWTH = 1024MB );
GO
ALTER AUTHORIZATION ON DATABASE :: DEVARCGISSDETEST TO sa;
GO
CREATE LOGIN sde WITH PASSWORD = '<!1Password!>', CHECK_EXPIRATION=OFF, CHECK_POLICY=ON;
GO
EXEC master..sp_addsrvrolemember @loginame = N'sde', @rolename = N'processadmin'
GO
USE DEVARCGISSDETEST;
GO
CREATE USER sde FOR LOGIN sde;
GO
CREATE SCHEMA sde AUTHORIZATION sde;
GO
ALTER USER sde WITH DEFAULT_SCHEMA = sde;
GO
GRANT CREATE TABLE, CREATE PROCEDURE, CREATE FUNCTION, CREATE VIEW TO sde;
GO
CREATE FULLTEXT CATALOG SDE_DEFAULT_CAT AS DEFAULT AUTHORIZATION sde;
GO


Thanks.....

Why can't I register geodatabase on ArcMap 10.1 Advanced

$
0
0
I am using ArcMap 10.1 Advanced and want to register a spatial table on a MS SQL Server 2008. The function from ESRI says only that I have to use ArcGIS 10.1 Standard or Advanced. The Database user has rights for reading and writing. Are there any other constraints which I don't know?

Attachment 30752
Attached Thumbnails
Click image for larger version

Name:	Program Manager_2014-01-22_14-32-56.jpg‎
Views:	N/A
Size:	114.3 KB
ID:	30752  

Add query layer do not work when adding the shape field in ArcGIS 10.2

$
0
0
This was originally posted in another forum...

We recently upgraded to 10.2. Our environment consists of AG 10.2 and Oracle 11.2.0.3 in an AIX box.

Not sure if related, but the story is that initially we had problems using the migrate geometry tool (our data was in Blob since is been around since 9.2), because of a bug, supposedly fixed in 10.2.1 regarding additional privileges needed (create any index, alter any index and drop any index). We used a 10.0 client in some datasets and later tested with a 10.2 client after the changes mentioned above to migrate our data to st_geometry type. We can use the migrated data without problems and everything looks and works ok; even ran some sql satements to check the results wothout any issues.

But trying to add a query layer in ArcMap 10.2 just don't work with any of our data when the shape field is added in the statement. The validate and finish buttons don't do anything, but no errors are shown. The application works ok, but the query cannot be added. If the shape field is removed from the statement, you can added the result as a table, but since the shape is not there, no cartographic display is shown. Thing is that I can add a query layer using a connection to our 10.2 database from an ArcGIS 10.0 client. In AG 10.0 when the query layer is added, the identify tool do not return anything, but I can see the attribute table and open the identify window and do selections from it. If I try to select the feature using the selection tools, the is an undelying dbms error about insufficient privileges (again...don't know if it relates with the add query problem not been able to be added using AG 10.2). I tried using Oracle client 10 and oracle client 11 without success (in the computer that works the connection was done with oracle 10 client).

I'll appreciate any help or suggestions,

Ulises Feliciano Troche
Viewing all 1588 articles
Browse latest View live