|
POST
|
Thanks for the info. Are ServiceFeatureTables limited by maxRecordCount, or do they work around it by querying IDs first? Also, a unique values method would be very useful.
... View more
08-23-2017
12:15 PM
|
0
|
1
|
2573
|
|
POST
|
No real reason -- it's a good library. I just don't like the dependency. Same reason I avoid MVVM Light and stick to System.Windows.Interactivity.
... View more
08-22-2017
12:21 PM
|
0
|
0
|
2573
|
|
POST
|
Thank goodness for JavaScriptSerializer! Life is easier now.
... View more
08-22-2017
11:28 AM
|
0
|
2
|
2573
|
|
POST
|
private static ArcGISMapServiceSublayerInfo GetInfoFromUrl(string sServiceUrl, long iSubLayerID)
{
// Create sublayer info from JSON
string sLayerUrl = sServiceUrl + "/" + iSubLayerID.ToString();
string sRequest = sLayerUrl + "?f=json";
HttpWebRequest r = (HttpWebRequest)WebRequest.Create(sRequest);
r.UseDefaultCredentials = true;
r.PreAuthenticate = true;
r.Credentials = CredentialCache.DefaultCredentials;
HttpWebResponse result = (HttpWebResponse) r.GetResponse();
string sJSON;
using (StreamReader sr = new StreamReader(result.GetResponseStream()))
{
sJSON = sr.ReadToEnd();
}
ArcGISMapServiceSublayerInfo info = ArcGISMapServiceSublayerInfo.FromJson(sJSON);
return info;
}
... View more
08-17-2017
02:51 PM
|
0
|
0
|
2573
|
|
POST
|
Yep, you're right. Yet another aspect of the REST API that I can't seem to ascertain using the Runtime API (or JS API, for that matter). It's right there in the JSON, too. I think I'm just going to have to hunker down and write some truly useful REST wrapper classes.
... View more
08-17-2017
12:43 PM
|
0
|
0
|
1182
|
|
POST
|
[100.1] Why would setting a value for QueryParameters.MaxFeatures cause QueryFeaturesAsync to fail ("Unable to complete operation") for one ServiceFeatureTable but not another (on a different server)? Perhaps it has something to do with standardizedQueries?
... View more
08-17-2017
11:29 AM
|
0
|
2
|
1355
|
|
POST
|
Also, is there a way to retrieve something like a ArcGISMapImageSublayer info for tables in a map image service? IdInfos don't cut the mustard, and hydrating a ServiceFeatureTable is a serious performance hit. I really hate the thought of wrapping the REST API in my own classes when 10.2.x does it so conveniently.
... View more
08-17-2017
08:53 AM
|
0
|
1
|
2573
|
|
POST
|
Is there anything like the QueryTask/FindTask/IdentifyTask classes at 100.x? Or in the works? I can create a ServiceFeatureTable just fine from a map image service and query that, but there are times when the 10.2.x classes come in real handy.
... View more
08-15-2017
03:36 PM
|
0
|
13
|
3671
|
|
POST
|
Here's an example of a class that extends the sketch editor to support "rubberbanding" behavior.
... View more
08-15-2017
03:22 PM
|
0
|
0
|
982
|
|
POST
|
I figured it out. I had the StartAsync drawAndEdit parameter set to false.
... View more
07-25-2017
03:45 PM
|
0
|
0
|
996
|
|
POST
|
It turns out that ReplaceGeometry is not actually replacing the geometry. If I get the SketchEditor.Geometry after calling ReplaceGeometry, it's still the old geometry.
... View more
07-25-2017
12:59 PM
|
0
|
0
|
996
|
|
POST
|
If you can find a workaround, that's great, but it's not a huge issue for me. Normally I only store operational layers in a mobile map package: I was just playing around with base layers to see how they worked.
... View more
07-25-2017
12:22 PM
|
0
|
2
|
1523
|
|
POST
|
I'm using SketchEditor.ReplaceGeometry to update its geometry, but the current sketch doesn't redraw to reflect the new geometry. Am I missing something? [Update:] I see that the GeometryChanged event isn't fired either. [100.1 WPF]
... View more
07-25-2017
12:07 PM
|
0
|
2
|
1198
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-04-2012 06:42 AM | |
| 1 | 09-23-2021 10:42 AM | |
| 2 | 09-28-2021 07:07 AM | |
| 1 | 04-07-2021 10:31 PM | |
| 3 | 03-21-2021 01:14 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-07-2022
08:31 AM
|