|
POST
|
Shape files do not support the Distinct clause. To see what clauses are supported by a particular datastore, you can call Datastore.GetSQLSyntax(). This method returns a SQLSyntax object. SQLSyntax.GetSupportedClauses() returns a list of the supported clauses. I'll update the conceptual doc to make this more clear. --Rich
... View more
07-01-2019
09:44 AM
|
1
|
1
|
3073
|
|
POST
|
Hi Mike, What kind of database are you trying to run this against? Thanks, --Rich
... View more
07-01-2019
09:13 AM
|
0
|
3
|
3073
|
|
POST
|
Hi Jorma, We've taken a look at your code, and from what we can see, everything looks fine. One thing we noticed is that the two tables you are editing are non-versioned. How about the tables/feature classes that have relationship classes with MVK_KUVIO? You cannot edit both versioned and non-versioned tables in the same call to Geodatabase.ApplyEdits(). If editing MVK_KUVIO is triggering an update to a related table that is versioned, this could be the source of the error. If this isn't the case, you may want to log this with technical support. I hope this helps, --Rich
... View more
06-13-2019
02:45 PM
|
0
|
1
|
2537
|
|
POST
|
Hi Jorma, Would you be willing to share a code sample? There should not be any restrictions like you have described, although it's always possible that there is a bug in this area. Thanks, --Rich
... View more
06-12-2019
08:48 AM
|
0
|
0
|
2537
|
|
POST
|
The routine you are looking for is Version.Refresh From the feature class, get the Geodatabase. Geodatabase.GetVersionManager() will get you a VersionManager. VersionManager.GetCurrentVersion() will get you a Version object. --Rich
... View more
06-11-2019
08:09 AM
|
0
|
3
|
4507
|
|
POST
|
Is this a versioned feature class? And, if so, regular or branch versioning? --Rich
... View more
06-11-2019
07:51 AM
|
0
|
5
|
4507
|
|
POST
|
Getting a list of edits that have taken place on a geodatabase is on our roadmap, but unfortunately not yet implemented.
... View more
05-21-2019
10:26 AM
|
1
|
0
|
1644
|
|
POST
|
Hi Berend, Take a look at the EditCompletedEventArgs that are passed in EditCompletedEvent. There is a CompletedType property. If the value of this is EditCompletedType.Save then you're in the process of saving edits to the geodatabase. I hope this helps, --Rich
... View more
05-16-2019
09:56 AM
|
1
|
2
|
1644
|
|
POST
|
Yes, we actually added Datastore.GetPath() for use with geoprocessing. Use this and append the table name: Uri path = geodatabase.GetPath();
string fullPath =Path.Combine(path.LocalPath, TABLE_NAME);
... View more
05-09-2019
02:22 PM
|
0
|
0
|
4873
|
|
POST
|
Geodatabase feature classes rarely correspond to a single file on disk. If you open up a File Geodatabase using File Explorer, you'll see there's a large number of different files. So there isn't really a path to a feature class. There is (sometimes) a path to the geodatabase itself. If the feature class belongs to a file geodatabase (Geodatabase.GetGeodatabaseType() returns GeodatabaseType.LocalDatabase) , the Geodatabase.GetConnector() routine will return a FileGeodatabaseConnectionPath object. This object has a Path property. There are other kinds of geodatabases, of course, including SDE geodatabases and feature service workspaces. SDE geodatabases may or may not be opened from a .SDE file, but feature service workspaces don't have a file at all, just a URL. Hope this helps explain why it isn't straightforward! --Rich
... View more
05-09-2019
12:22 PM
|
1
|
2
|
4873
|
|
POST
|
Are you trying to get the file path for the data that the layer is pointed to?
... View more
05-09-2019
11:33 AM
|
0
|
4
|
4873
|
|
POST
|
Thomas, I'm not positive, but I believe that get only works on a newly created DatabaseConnectionProperties object, not one that has been created from a disk file. I'll investigate and update the documentation in a future release. --Rich
... View more
05-08-2019
08:19 AM
|
1
|
0
|
2185
|
|
POST
|
You cannot get a password from an SDE file. This is by design. It would be a security risk if you could, because that password could be used to gain access to additional resources beyond the single geodatabase resource.
... View more
05-08-2019
06:27 AM
|
0
|
2
|
2185
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-13-2024 11:22 AM | |
| 2 | 01-29-2026 09:34 AM | |
| 2 | 01-28-2026 08:20 AM | |
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|