|
POST
|
ORDER BY is supported by File Geodatabase at ArcGIS 10.0. You must include the sort field(s) in the field list. Thank you for responding Lance, I'm not sure what you mean by field list. Perhaps you could take a quick look at my code up top and see where I went wrong? Or point me towards an example where this field list is used/documented/explained? -cdebruin
... View more
11-16-2012
07:35 AM
|
0
|
0
|
2357
|
|
POST
|
We will actually be moving to an SDE environment for our current project, so I'm glad to know that it works there. I wanted to know if it worked in File geodatabases for other/future purposes. Thanks Mike
... View more
11-16-2012
07:24 AM
|
0
|
0
|
2357
|
|
POST
|
Do filegeodatabase support the ORDER BY function? They didn't used to in ArcGIS 9 - not sure whether they do or not in 10. That's a question I was hoping someone else could answer, haha. I see it's supported in subqueries. Can I somehow use subqueries as a workaround. I don't really understand the syntax for subqueries. Thank you for you reply Andrew
... View more
11-16-2012
06:49 AM
|
0
|
0
|
2357
|
|
POST
|
Hmm, No luck. I tried that syntax and I'd already referenced that VB6 example. Thanks you Mike
... View more
11-16-2012
06:19 AM
|
0
|
0
|
2357
|
|
POST
|
Hi all, I'm new to SQL statements and especially within ArcGIS. I'm programming an addin against a file geodatabase in in Desktop 10.1 and I'm getting this error: An invalid SQL statement was used. [SELECT FeatureClassAlias FROM tblFeatureClasses WHERE IsSearchable = 'Y' ORDER BY SortSequence] It works if I take out the ORDER BY SortSequence part, but it obviously doesn't sort at all. I've looked at all the ESRI references on SQL with File geodatabases and can't see my error. It says field names may be delimited by quotes, but that hasn't helped. It also says that ORDER BY won't work if I'm searching in all fields with SELECT *, but that shouldn't be my problem. An invalid SQL statement was used. [SELECT "FeatureClassAlias" FROM tblFeatureClasses WHERE "IsSearchable" = 'Y' ORDER BY "SortSequence"] I'd greatly appreciate help with this issue from someone with SQL experience. I'll also post the code if you think it will help. Thank you, cdebruin Public Sub LoadTblToCbx(inputTable As ITable, inputFieldName As String, cbxInput As System.Windows.Forms.ComboBox) ' Create the query filter. Dim queryFilter As IQueryFilter2 = New QueryFilter ' Select the fields to be returned queryFilter.SubFields = inputFieldName ' Set the filter to return only searchable queryFilter.WhereClause = """IsSearchable"" = 'Y'" ' Use the PostfixClause to sort ascending Dim queryFilterDef As IQueryFilterDefinition2 = CType(queryFilter, IQueryFilterDefinition2) queryFilterDef.PostfixClause = "ORDER BY ""SortSequence""" ' Output the returned feature class name. Dim fieldIndex As Integer = inputTable.FindField(inputFieldName) Dim cursor As ICursor = inputTable.Search(queryFilter, True) Dim row As IRow = cursor.NextRow() While Not row Is Nothing Dim field As String = Convert.ToString(row.Value(fieldIndex)) cbxInput.Items.Add(field) row = cursor.NextRow() End While Marshal.FinalReleaseComObject(cursor) End Sub
... View more
11-16-2012
04:05 AM
|
0
|
12
|
3207
|
|
POST
|
Oh gosh, there it is. Thank you Mike. I had no idea there was another way to display metadata. This is going to help greatly. Next question, is there any way to batch add field description entities?
... View more
11-12-2012
05:26 AM
|
0
|
0
|
3974
|
|
POST
|
I can't find a left panel or a Resource tab from the edit description interface. [ATTACH=CONFIG]19113[/ATTACH] All I have on the left is the Catalog Tree. Perhaps I have to check on that panel somewhere? I right-clicked all over the place looking for it. Thank you for your continued responses Scott.
... View more
11-07-2012
10:23 AM
|
0
|
0
|
3974
|
|
POST
|
Hi all, I'm looking to write an Add In in VB .NET that uses the same Address Search as ArcMap's native Find Tool, just tweaked. Is there any way to find some source code for the Find tool? All I'm seeing is the REST endpoint for for the North American Address Locator. I can't find any examples on this. A point in the right direction would be marvelous. Thank you, cdebruin
... View more
11-07-2012
09:43 AM
|
0
|
5
|
2905
|
|
POST
|
ArcCatalog does allow you to add metadata to individual fields, you just need to dig in to the feature class properties. Really? I've honestly been looking for this for years. Can you send a screen shot or a link to where this is outlined? I'm going back through every tab in Feature Class Properties and I just don't see it. I want it to be like a thrid column next to 'Field Name' and 'Data Type.' I just have never found it. Thank you for the fast response Scott.
... View more
10-26-2012
09:03 AM
|
0
|
0
|
3974
|
|
POST
|
Hi all, I'm ultimately looking to create metadata on the field level. ArcCatalog only seems to let you add metadata down to the feature class level. I thought X-Ray for ArcCatalog was my answer, but it doesn't seem to let me change field description and load the XML back into the same geodatabase that I exported the XML from. My understanding is that I can only load an XML with new field descriptions into an empty geodatabase. I would very much like to be proven wrong here if anyone knows differently. If X-Ray for ArcCatalog isn't the answer for this problem, does anyone know of a way to do this? Also, I understand I can just save out an excel file with the descriptions, but I'd ultimately like this data to be stored in the geodatabase itself. Thank you in advance, cdebruin
... View more
10-26-2012
07:38 AM
|
0
|
8
|
4425
|
|
POST
|
Turns out this only occurs on my two 70" monitors. I checked it on a regular 26" and it worked fine. Still interesting in getting rid of the standard scroll bar though. It just sits on the right-hand side taking up real estate and not having any functinality.
... View more
09-24-2012
10:41 AM
|
0
|
0
|
647
|
|
POST
|
Hi all, Somewhere along the line my scroll bars got messed up. Two sets appear at 100% zoom level in IE9. I don't know if I did this accidentally or if this is the natural behavior of the viewer. [ATTACH=CONFIG]17921[/ATTACH] I removed all Widgets and UI compontents to ensure they weren't the cause and the scroll bars were still a problem. Does anyone have an idea of where this would be in code? The index.mxml? I couldn't find it. Thanks, -cdebruin P.S. I see no need to have the default scroll bar on the right-hand side anyway. I just want the application to fill any size screen. Help with getting rid of that scroll bar would be greatly appreciated as well.
... View more
09-24-2012
08:04 AM
|
0
|
1
|
1186
|
|
POST
|
Robert, I can reproduce this with version 3.0. If I grab the slider and slide all the way to the left, and then some, the basemap dropdown dissapears, but, if you don't let go of the mouse button and move back and forth, it is still fading the basemaps. Tested on your site as well. See same behavior. Not that it matters any as it still works great, R_ You worded it far better than I did! Thank you, and I agree the widget is still fantastic.
... View more
09-12-2012
09:12 AM
|
0
|
0
|
2923
|
|
POST
|
I noticed that if you hold the scroll and move off the widget window (to the left) the widget disappears, but you still have the control of fading the maps. Is that intentional? Thanks for your awesome widgets! -cdebruin
... View more
09-12-2012
06:01 AM
|
0
|
0
|
2923
|
|
POST
|
ryanwendt, Did you overwrite the index.html with the one I supplied? I had the same issue and this fixed it. I had previous skipped that step because I didn't know what it did, and that scares me.
... View more
09-11-2012
04:13 AM
|
0
|
0
|
2068
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 08-03-2012 08:07 AM | |
| 16 | 01-30-2015 11:34 AM | |
| 1 | 10-21-2014 07:41 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-06-2023
09:03 PM
|