|
POST
|
I want to consume Aggregate Polygons (Cartography) tool for doing some spatial operations using sliverlight application. This tool takes input Feature Layer and returns feature class as output. In my sliverlight application I have list of geometries, how do i convert geometries/featureset to feature layer ?. This tool as expects input as a feature layer only. second, I require output as feature set (sliverlight), how to convert feature class to feature set? Please help me on this Where Can I get a source code for this aggregate tool? http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00700000000s000000
... View more
11-19-2012
12:23 AM
|
0
|
6
|
2843
|
|
POST
|
We are facing similar problem.. that REST is geting timed out ..when I check RESTLOG.text , we are geting below error og Entry : 11/8/2012 6:06:40 AM ERROR:Thread was being aborted. :: at ESRI.ArcGIS.REST.GPServer.SubmitGPTaskJsonFormatter.Init() at ESRI.ArcGIS.REST.RequestHandler.ProcessRequest() at ESRI.ArcGIS.REST.RestHttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) http://server1/ArcGIS/rest/services/CustomTools/GPServer/CustomTool/execute?dummyGeom={"geometryType":"esriGeometryPolyline","spatialReference":{"wkid":102100},"features":[{"geometry":{"spatialReference":{"wkid":102100},"paths":[[[-100,40],[-100,45]]]},"attributes":{}}]}&SurveyID=81|ALL&SellingCompanyName=OU=TEST+CO.+THREE,DC=WGDMS,DC=COM&BuyingCompanyName=OU=TEST+VERSION+1.7,DC=ABCD,DC=COM&f=json& ------------------------------- Please help on this
... View more
11-08-2012
02:11 AM
|
0
|
0
|
776
|
|
POST
|
We are using sliverlight API 2.4, when map loads progress shows the progress but 50% after that it stops and suddenly completes 100%. It take few more seconds for a map to render in web page. Most of the times progress displays 0% always and suddenly moves to 100%. Why this behaviour?. Our application one dynmical service layer and one feature layer. End Users bothered about progress bar % complete which is not accurate. how to address this issue?
... View more
08-13-2012
12:41 AM
|
0
|
5
|
650
|
|
POST
|
Hello I have legend like this below - but issue is main root element 'Group Layer' is not being checked in legend control of the application. But this is checked in map document. please help how to set to checked to visible by default (on loading map) ? Group Layer Group A Layer A1 Layer A2 Layer A3 Group B Group B1 Layer B1 Layer B2 Group B2 Layer B2
... View more
08-01-2012
05:08 AM
|
0
|
2
|
967
|
|
POST
|
Hi All, My application has one feature service and one dynamic service layer [which has 90+ layers in nested group]. So my legend is like this below with nested group. Feature Layer A Group Layer Group A Layer A1 Layer A2 Layer A3 Group B Group B1 Layer B1 Layer B2 Group B2 Layer B2 ..... Questions 1. 'Feature Layer A' is same as 'Layer A1'. I want to bring this 'Feature Layer A' to position of Layer A1. But layer should be remain as feature layer only. We have specifically done as feature layer for changing symbology by the users. How to do this?. i.e feature layer inside the dynammic service layer group? 2. I do not want to show main 'Group Layer' , how to edit the legend templates?. I have seen an example but am not able to get this? 3. If I check any group layer, all the sub layers inside the group should be selecetd automatically, how to achieve this 4. Can I have minimize button in legend?.
... View more
07-29-2012
08:02 PM
|
0
|
1
|
858
|
|
POST
|
dbroux, Thanks. Finally I have managed to remove the layer items. Now, am facing new issue i.e.After removing A.2 from the Group A when I check (i.e select) "Group A " A.2 layer is visble in map. But A.2 has been removed successfully on legend refreshed event but while selecting Group A the layer A.2 is appearing in the map. I dont know reason for this case?. Can you throw some light on this ?. Layers Group A A.1 A.2 A.3
... View more
07-24-2012
04:47 AM
|
0
|
0
|
1302
|
|
POST
|
Broux, Thanks again. But in below code under legend refresh method, tupleParentChild has value pairs but looping does not happens?. I guess am doing something wrong here.. sorry to bother you please help me on this.
IEnumerable<Tuple<LayerItemViewModel, LayerItemViewModel>> tupleParentChild; // declaration
if (e.LayerItem.LayerItems != null)
{
foreach (LayerItemViewModel layerItemVM in e.LayerItem.LayerItems)
{
if (layerItemVM.IsGroupLayer)
{
composites.Add(layerItemVM);
while (composites.Count > 0)
{
LayerItemViewModel layerItemVMGroup = composites[0];
foreach (LayerItemViewModel innerLayerItems in layerItemVMGroup.LayerItems)
{
if (innerLayerItems.IsGroupLayer == false)
{
innerLayerItems.IsExpanded = true;
// Requirement : If strVisibleArray3D does not contains then remove the layer from Legend
if (!strVisibleArray3D.Contains(innerLayerItems.Label))
{
// dbroux method to get the parent child using legend extension method
tupleParentChild = LegendExtension.GetAllParentChild(innerLayerItems);
// issue always tupleParentChild has a pair of values but looping does not taking place
foreach (var pair in tupleParentChild.ToArray())
{
var parentLayerItem = pair.Item1;
var layerItemToDelete = pair.Item2;
parentLayerItem.LayerItems.Remove(layerItemToDelete);
}
}
else
{
if (strPrefLayers.Contains(innerLayerItems.Label))
{
innerLayerItems.IsEnabled = true;
innerLayerItems.IsSelected = true;
}
}
}
else
{
composites.Add(innerLayerItems);
}
}
composites.Remove(layerItemVMGroup);
}
}
else
{
if (!strVisibleArray3D.Contains(layerItemVM.Label))
{
// remove the layer
}
else
{
if (strPrefLayers.Contains(layerItemVM.Label))
{
layerItemVM.IsEnabled = true;
layerItemVM.IsSelected = true;
}
}
}
}
... View more
07-23-2012
04:55 AM
|
0
|
0
|
1302
|
|
POST
|
dbroux , Thank you. I could able to get tuple pair of parent,child which I need to delete. But I do not understand second part, can you please explain in simple terms?.
... View more
07-23-2012
04:24 AM
|
0
|
0
|
1302
|
|
POST
|
Thanks. But am looking for an elegant solution which handles any kind of nested struture in map document. Basically I look for recursive loop logic to handle the case. I have seen another thread where dbroux provided sample for getting selecetd items but that does not help me. My requirement is based on user preference any layer can be removed at run time and any layers can set to visible/invisble based on preference. How to achieve this? . Any one can help on this???
... View more
07-22-2012
09:45 PM
|
0
|
0
|
1302
|
|
POST
|
Hello I have a map document which has nested groups like below and published as dynamic service layer Layers Group A A.1 A.2 A.3 Group B B.1 B.2 Layer C Layer D Group E Group E1 E1.1 E1.2 Group E2 E2.1 E2.2 Layer F using sliverlight API , I want to do below actions a) remove layers B.2 , Layer D, E1.2, E2.2 b) Based on user preferences - set these layers to visible E1.1 , E2.1, Layer C, c) All other available layerrs set to invisible I have just provided a layers names which needs to be removed and make visible/invisible. How to acheive this?. Bascically am looking for recursive loop kind of logic to make all these changes and display in legend. Please give me an psuedo code.
... View more
07-20-2012
05:14 AM
|
0
|
10
|
3709
|
|
POST
|
hi any reply you got for this question?. am also looking for help
... View more
05-29-2012
07:49 PM
|
0
|
0
|
553
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-13-2020 11:23 AM | |
| 1 | 02-25-2019 01:00 PM | |
| 1 | 04-29-2021 08:33 AM | |
| 1 | 04-12-2018 02:50 PM | |
| 1 | 05-19-2014 11:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-25-2022
11:27 AM
|