|
POST
|
I'm using ArcMap 10.2.1. I have a simple FGDB with a point feature class called "wells" and a table called "owners". There is a one to many relationship between a well and its owners. I'm curious if there's a way in the Attributes editing window to relate a well to an existing owner record. There's a way to add a new related record, shown below. But there's not a way to relate a well to an existing owner. The only way I know is to accomplish this is to open the "owners" table and edit the "well_oid" field (also shown below). Does anyone know of another way to accomplish this in ArcMap?
... View more
05-24-2017
01:36 PM
|
0
|
1
|
945
|
|
POST
|
After some research, it looks like the easiest way to change from 1-1 to 1-M is to delete and re-create the relationship class.
... View more
05-24-2017
01:23 PM
|
0
|
0
|
506
|
|
POST
|
I'm using arc gis 10.2.1. Is there a programmatic way to change a relationship from 1-1 to 1-M? I found the interface IRelClassSchemaEdit, which allows me to change the labels on the relationship, but not the cardinality. I don't want to have to drop the relationship in arc catalog and recreate if there's a programmatic way to change it, either in c# or in python.
... View more
05-23-2017
01:58 PM
|
0
|
1
|
730
|
|
POST
|
Turns out I had to get the proper license. Now it works. ESRI.ArcGIS.RuntimeManager.BindLicense(ESRI.ArcGIS.ProductCode.Desktop, ESRI.ArcGIS.LicenseLevel.GeodatabaseUpdate);
... View more
05-04-2017
03:49 PM
|
0
|
0
|
777
|
|
POST
|
It looks like I have a license issue. Examining the GP messages, I see "The application is not licensed to create or modify schema for this type of data".
... View more
05-04-2017
03:46 PM
|
0
|
1
|
777
|
|
POST
|
I'm using ArcGIS 10.2.1. I'm writing a C# console application that calls the Geoprocessor in order to execute the FeatureClassToFeatureClass tool. This works fine when I'm using a file geodatabase. However, I want to use an SDE geodatabase. I can't seem to get the output_path specified correctly. I keep getting exceptions and the FeatureClassToFeatureClass tool does not create a new feature class. The code is shown below. If I use a file geodatabase path for the in_features and out_path, like "C:\data\Test.gdb", then the GP.Execute tool runs fine. I seem to be specifying the out_path and possibly the out_name incorrectly when using an SDE geodatabase, but I'm don't know the proper format. GP = new Geoprocessor(); FeatureClassToFeatureClass fcTofc = new FeatureClassToFeatureClass(); fcTofc.in_features = @"Database Connections\gistest.sde\ARCGIS.SEP"; fcTofc.out_path = @"Database Connections\gistest.sde"; fcTofc.out_name = "SEP_copy"; GP.Execute(fcTofc, null);
... View more
05-04-2017
03:27 PM
|
0
|
2
|
1004
|
|
POST
|
I'm using arc gis 10.2.1. I have 2 programs that are editing SDE.DEFAULT at the same time, creating features in 2 different versioned feature classes. What I find is that when the second program to save its edits gets an exception with the message "The version has been redefined to reference a new database state. [SDE.DEFAULT]". I've tried various reconcile calls at this point to allow me to save the edits in the second program but nothing works. I can't combine the 2 programs because one of them is someone else's code that's beyond my control.
... View more
03-13-2017
01:47 PM
|
0
|
0
|
941
|
|
POST
|
I'm using arc gis 10.2.1. I create a point feature using SQL and ST_Geometry as shown below. I need to know the objectid for this new feature. Is it best to find the max(objectid) on the view after the row is inserted? -- create a new point feature insert into test_pt_evw (name,shape) values ('one', sde.ST_PointFromText('point (0.0125662 0.0046711)', 2)) --get the objectid for the new feature select max(objectid) from test_pt_evw
... View more
03-13-2017
10:04 AM
|
0
|
0
|
931
|
|
POST
|
Sorry, my mistake. The excel spread sheet has these values in scientific notation. That's the problem.
... View more
12-09-2016
03:22 PM
|
2
|
2
|
2175
|
|
POST
|
That helps, but it stores the customid in scientific notation once the value is over a certain size. Any idea how to prevent this from happening?
... View more
12-09-2016
03:08 PM
|
0
|
3
|
2175
|
|
POST
|
I have found one more subtle problem with bringing excel data into arc map. I can get the data added, create an XY layer from that data and save that layer out as a shapefile. However, when I export the data to a shapefile, some of the data is getting changed. I have the a column that is the customer ID in the excel data. Notice in the screen shots below how the 'customid' column changes values after the first row. Data from Excel in arc map: Data for the XY event layer: Data for the exported shapefile Notice how the customid of 1363830001 got changed to 1363830000 in the shapefile. And for every row after that. Does anyone know how to keep this from happening when exporting an XY layer to a shapefile?
... View more
12-09-2016
01:00 PM
|
0
|
5
|
2175
|
|
POST
|
No I'm still using 10.2.1. What make it work for me was removing the spaces in the column headers, both before and after the column name. Then it worked.
... View more
12-08-2016
06:34 AM
|
0
|
1
|
2175
|
|
POST
|
NAD_1983_UTM_Zone_12N Jayanta is correct, you can't have spaces before or after the field names
... View more
12-07-2016
11:58 AM
|
0
|
2
|
3968
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-04-2020 01:05 PM | |
| 1 | 10-19-2015 10:27 AM | |
| 1 | 01-05-2018 01:34 PM | |
| 1 | 11-10-2017 10:08 AM | |
| 1 | 07-22-2016 10:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-21-2021
05:43 PM
|