|
POST
|
Ted - Have to add an additional point to this thread. What I had hoped to do was add a line geometry field to what was otherwise a point feature class. I find when I do this the class shape type also gets changed from point to line... which is not what I hoped. Anyway, am reverting to your method of the text WKT field, which seems to be working OK so far. Thanks much! Ed
... View more
12-29-2017
10:53 AM
|
0
|
1
|
2041
|
|
POST
|
Ted - Thanks much for the suggestion. As I looked back further into the code I was using to add the geometry field I realized I wasn't setting a geometry definition for the new geometry field I was trying to add. Once I created a new geometry def and assigned it to the new geometry field I was able to add the field without error. (code below) Thanks again for your suggestion. I'm sure that would work as well. Ed
... View more
12-28-2017
08:43 AM
|
0
|
1
|
2041
|
|
POST
|
Am trying to add a second Geometry column to a feature class. I know Arc applications won't know about this field -- and I would not want them to -- but the field would be added to support custom functionality. The basic process of creating a field of Field Type Geometry and adding it to the feature class just fails. Have tried adding a blob field and storing a Geometry into it errors as well, though I haven't gone very far down this path. I realize I could create another feature class with a relationship to the first, but want to avoid this if possible. Any pointers on a preferred method that's been found to work would be much appreciated. Thanks, Ed
... View more
12-28-2017
07:41 AM
|
0
|
5
|
2155
|
|
POST
|
At this point I am 99% certain that my problem is that the query is operating on a runtime feature table that contains polylines with parametric curves. When I use the same query on point features I do not see the problem. Any given the fact that when using the query on polylines the issue was sporadic and unpredictable makes me think curves were the issue. Unfortunate that runtime doesn't support these things... or at least provides a clearer error when they're present. Ed
... View more
09-22-2017
01:04 PM
|
0
|
0
|
1198
|
|
POST
|
For what its worth, I've run into nearly the same condition and same very generic error message. I thought I had seen some description of a "Known Issue" where QueryAsync could fail in 10.2 with large datasets, but now I can't seem to locate that reference. Ed
... View more
09-20-2017
09:08 AM
|
0
|
0
|
1198
|
|
POST
|
I've got a tool that frequently queries a set of feature layers provided from a runtime Geodatabase. It just seems query performance is slower than I would expect. I've made sure the queried fields are indexed, but that does not offer as much improvement as I had hoped. I'm just using the QueryAsync method on a FeatureTable to return a set of features. Nothing fancy. Basically like the code below. Is there a faster way? I've looked a bit into the QueryTask class that seems to offer the option to limit the number of fields returned -- which could possibly be helpful, but have not had luck with this pointing at a runtime Geodatabase feature layer. Thanks for any pointers. Ed QueryFilter qf = new QueryFilter(); qf.WhereClause = primaryLayer.FeederIDFieldName + " in (" + feederIDs + ")"; IEnumerable<Feature> resultFeatures = await featureTable.QueryAsync(qf);
... View more
09-13-2017
12:56 PM
|
0
|
2
|
1211
|
|
POST
|
Joe - Thanks much for the response! My issue isn't about symbolization but rather about resolving domains defined at the subtype level. If this is a gap, then it seems like a pretty big one. But we'll muddle through. And, yes, this is the Ed you're thinking of. Who wouldn't want to program if you've got the opportunity? Thanks again, Ed Blair
... View more
08-30-2017
11:04 AM
|
0
|
1
|
3591
|
|
POST
|
I'm probably missing something, but is there support for subtypes and subtype-specific domains in the runtime Geodatabase? From what I see if a field has a domain assigned at the class level that domain assignment is respected, but I don't see anything that is aware of a domain assigned at a subtype level. Any info would be much appreciated. Thanks, Ed
... View more
08-30-2017
07:42 AM
|
0
|
12
|
4735
|
|
POST
|
Nagma - Just tried this again, but this time with a feature class added to my map. This time the .locb file got generated. When generating the runtime content I excluded the GIS data, but it seems that generating runtime content for a locator still wants to have some data in the map. Ed
... View more
08-17-2017
11:59 AM
|
0
|
5
|
2655
|
|
POST
|
Nagma - I just tried this and the process completes, but no .locb file is created. Ed
... View more
08-17-2017
11:47 AM
|
0
|
0
|
2655
|
|
POST
|
Nagma - Thanks for the reply. And no, I have not created a .locb file. More details would be appreciated. Thx
... View more
08-17-2017
11:24 AM
|
0
|
8
|
2655
|
|
POST
|
Am trying to create a LocalLocatorTask using a composite locator. This works when I use it in ArcMap. But when providing the .loc file to Runtime I get the error "One or more of the locator's properties is invalid". Are there Runtime-specific requirements for locators? Code is below. Any insights would be much appreciated. Ed private void SetupLocator() { try { string locatorPath = @"C:\GISData\Data\Snapshot\CompositeStreetLocator.loc"; _locatorTask = new Esri.ArcGISRuntime.Tasks.Geocoding.LocalLocatorTask(locatorPath); } catch (Exception ex) { this.Log.LogException(ex); } }
... View more
08-17-2017
11:03 AM
|
0
|
11
|
3552
|
|
POST
|
Am trying to fine tune dimension feature display and behavior and see on the "Dimension Style Properties" dialog within the "Arrow Fit" group box an option to "Point inward when a tolerance is reached". I tried this on a sample style with a tolerance value of 10 -- not knowing otherwise what the tolerance meant. Creating dimensions with this style produced no text at all. I can't seem to find any documentation on this option at all. If anyone can offer insights on what this is supposed to do, that would be much appreciated. Thanks, Ed
... View more
03-19-2017
04:21 PM
|
0
|
0
|
855
|
|
POST
|
Found my solution. Just added System.Data.SQLite to my project and performed a query directly to the SQLite database to get the indexes present. Ed string dataSource = @"c:\MyDatabase.geodatabase"; SQLiteConnection sqlCon = new SQLiteConnection("Data Source=" + dataSource + ";Version=3;"); sqlCon.Open(); string sqlQuery = "Select sql FROM SQLite_master WHERE type = 'index' AND tbl_name = 'MYTABLE'"; SQLiteCommand sqlCmd = new SQLiteCommand(sqlQuery, sqlCon); SQLiteDataReader sqlRead = sqlCmd.ExecuteReader(); string result = ""; while (sqlRead.Read()) { result += sqlRead[0].ToString() + Environment.NewLine; }
... View more
02-22-2017
07:39 AM
|
0
|
0
|
682
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 05-14-2026 07:31 AM | |
| 1 | 05-11-2026 02:55 PM | |
| 1 | 01-07-2026 12:34 PM | |
| 1 | 01-04-2026 05:14 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|