|
POST
|
I have published a FeatureService with a point class that has an unique value renderer with 26 unique values, one for each letter of the alphabet. The REST and HTML metadata both correctly order the Drawing Info:Renderer:Unique Value Infos, but strangely the Types are ordered A-I,T-Z,J-S which corresponds to ID's 1-9,20-26,10-19. I have checked Domain values, MXD ordering, and everything I can to make sure that the incorrect order is nowhere else. Any idea why this would happen? PJson output is attached.
... View more
10-20-2011
05:04 AM
|
0
|
1
|
2042
|
|
POST
|
The world file specifies rotation, and you can get h and w in pixels from system.drawing.image classes.
... View more
10-17-2011
03:50 PM
|
0
|
0
|
902
|
|
POST
|
If you're working with a world file, it's very simple. Refer to the Wikipedia article on the world file and just set the coordinates of your polygon (represented by a picture fill symbol) with the coefficients in the world file.
... View more
10-17-2011
12:02 PM
|
0
|
0
|
902
|
|
POST
|
I am working in 2.1 (still!). Is there any way to force an Editor to accept and complete the changes of an EditVertices command from code? If not, is there a way to do it in 2.2 or 3.0b?
... View more
10-07-2011
10:51 AM
|
0
|
1
|
626
|
|
POST
|
If you are just modifying feature attributes (not geometries, and not adding or deleting features), or if it is a non-spatial table, then you can connect to the SDE SQL table with ADO.NET classes. If it is a spatial SDE table, you will need to use the ArcObjects API to work with it.
... View more
10-07-2011
10:44 AM
|
0
|
0
|
254
|
|
POST
|
It's something you can do yourself. Just create a class that inherits GraphicsLayer, and in the overriden Initialize() method place code to download the fusion table exported as a csv file (the URL for your table is http://www.google.com/fusiontables/exporttable?query=select%20*%20from%201236296%20), parse it and create Point graphics features with whatever symbol you want. The 'geometry' column is XML formatted according to the KML <Geometry> spec.
... View more
09-27-2011
05:57 AM
|
0
|
0
|
863
|
|
POST
|
David, Thanks for the response and background info. The share/unshare workaround is interesting. Is it possible to automate this approach? Also, since my 'readers' are just instances of ArcGIS server, will there be any problems associated with kicking it out? Also, would it be possible to submit a feature request for a bool TrySetWriteLock() method? That way I could test if a lock was acquired without having to throw an exception. Thanks, Dan
... View more
09-07-2011
09:09 AM
|
0
|
0
|
1223
|
|
POST
|
I am using the API to update several geodatabases with near real-time data every hour. These are being served out as REST map services with light (10-20 concurrent users) usage. I am starting to get the FileGDBException "Cannot acquire a lock" from time to time when trying to write to the gdb. I'm sure it relates to the fact that AGS has locked some tables. I have two questions: 1. Are there any hard and fast rules that determine when these kind of locking problems may occur (e.g. number of mapservices accessing the gdb, time from last gdb parse, etc.)? 2. Is there a way to override other locks using the API, or, is there another paradigm I should consider for pushing updates out without having any downtime? Formerly I have used ArcObjects SDK to toggle map services, but I was really hoping to avoid ArcObjects entirely with this API. Thanks for any advice, Dan
... View more
09-06-2011
04:59 PM
|
0
|
2
|
14816
|
|
POST
|
Lance, Just to follow up, I found the problem. I was using a LINQ .Single() method to update a single row, and wasn't disposing my RowCollection. Somehow this was causing the Row object to become disassociated with the table it was selected from.
... View more
08-31-2011
06:07 AM
|
0
|
0
|
457
|
|
POST
|
If it helps, the same issue happens in the Envelope constructor.
... View more
08-24-2011
08:17 PM
|
0
|
0
|
476
|
|
POST
|
I had to install the Visual C++ redistributable package on my deployment machine in order for this to work.
... View more
08-24-2011
08:07 PM
|
0
|
0
|
354
|
|
POST
|
I can't say for sure, but I think that this issue manifests itself in another way when I do manage to get to table.Update(row), where I get the error: "The table does not contain an OID Field." Looking at the xml description and my data, the table clearly does contain an OID field. I have tried creating the feature class from scratch and re-importing the data, to no avail. Also, it's worth noting that I am able to Update() the table if I do my edits using a single RowCollection. But If I recycle the initial RowCollection and use another one later in my code, I get the above error. Any help would be very appreciated.
... View more
08-23-2011
01:15 PM
|
0
|
0
|
457
|
|
POST
|
The attachment didn't make it. Here's my second try.
... View more
08-23-2011
12:39 PM
|
0
|
0
|
457
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-16-2015 10:23 AM | |
| 2 | 09-25-2015 10:36 AM | |
| 1 | 06-29-2015 08:24 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|