POST
|
Hey Jian, Thanks for the example. Is there an example using a renderingRule which has functionArguments? Looks like all you have is the rasterFunction. Thanks for you help with this.
... View more
12-16-2013
06:24 AM
|
0
|
0
|
605
|
POST
|
Hey can people vote for this idea to enhance zonal tools: http://ideas.arcgis.com/ideaView?id=0873000000086QNAAY
... View more
05-08-2013
07:18 AM
|
0
|
0
|
621
|
POST
|
I don't see any answers voted up here... To add to the original question: Does IZonalOp.TabulateArea (ArcObjects) support overlapping polygons when using FeatureClassDescriptor to define the zone id field? If not, what is the best practice for dealing with overlapping input? I can imagine that the overlapping areas would need to be rasterized separately to get the correct answers. Does the tool internally create separate rasters from the overlapping input zones?
... View more
02-26-2013
01:48 PM
|
0
|
0
|
173
|
POST
|
Hey Everybody, I figured out the issue (btw...C#/VS2010/AGS101/Windows Server 2008R2). While developing this SOE, I was updating the .SOE on a staging server using a python script. Here are couple items I hadn't known about ags 10.1: 1. If you change core business logic in the SOE, you can just run the update and stop/start services which use the SOE as a capability and updates will be reflected. 2. If you change any of the input parameter names (string values) of the RestOperation, then you NEED to restart the arcgis server process in the services directory: new RestOperation("execute",new string[] { "zonesPolygonFeaturesetJSON", "wkid", "idField" },new string[] { "json" },SampleOperHandler); I basically just confused myself because I did about 30 updates to the SOE with changes to the business logic, and suddenly when I changed the name of the RestOperation input parameter, I stopped seeing any of my changes. In any case, problem solved. Hope this helps.
... View more
09-29-2012
06:57 PM
|
0
|
0
|
238
|
POST
|
Hello Everyone, I have a problem updating an server object extension (10.1 / .NET) once its been deployed. It was working fine for a while, i was making updates to my code then re-uploading and deploying, but then it just stopped reflected the newest code. I would restart the service which was using the extension each time. NOTE: If i change the name of the SOE file then the updates are reflected. But then i need to add it as a capability to my map service again which is a pain. I feel like i need to clear some mysterious SOE cache...but I doubt that exists. Any ideas?
... View more
09-25-2012
07:41 AM
|
0
|
3
|
578
|
POST
|
When selecting a coordinate system from within ArcGIS, you can right-click and save / export the .prj file.
... View more
08-10-2012
01:11 PM
|
0
|
0
|
219
|
POST
|
Thats way too many graphics to render on the map (not to mention to download to the client). I would recommend using a dynamic map layer, or tiles when zoomed out.. When zoomed far into the map, where is extent of the viewport is smaller, you may be able to get away with using a GraphicsLayer/FeatureLayer.
... View more
04-13-2012
11:17 AM
|
0
|
0
|
121
|
POST
|
I simply extend Symbol and get a reference to the ClusterGraphic by overriding the draw method. Something like this...then use the symbol as the symbol for the graphicslayer's clusterer...this is import com.esri.ags.Map; import com.esri.ags.clusterers.supportClasses.ClusterGraphic; import com.esri.ags.geometry.Geometry; import com.esri.ags.symbols.Symbol; import flash.display.Sprite; import flash.events.MouseEvent; public class MouseEventsClusterSymbol extends Symbol { public function MouseEventsClusterSymbol() { super(); } override public function draw(sprite:Sprite, geometry:Geometry, attributes:Object, map:Map):void { super.draw(sprite, geometry, attributes, map); const clusterGraphic:ClusterGraphic = sprite as ClusterGraphic; if(clusterGraphic) { clusterGraphic.addEventListener(MouseEvent.ROLL_OVER, graphicRollOverHandler); clusterGraphic.addEventListener(MouseEvent.ROLL_OUT, graphicRollOutHandler); clusterGraphic.addEventListener(MouseEvent.CLICK, graphicClickHandler); } } override public function clear(sprite:Sprite):void { super.clear(sprite); const clusterGraphic:ClusterGraphic = sprite as ClusterGraphic; if(clusterGraphic) { clusterGraphic.removeEventListener(MouseEvent.ROLL_OVER, graphicRollOverHandler); clusterGraphic.removeEventListener(MouseEvent.ROLL_OUT, graphicRollOutHandler); clusterGraphic.removeEventListener(MouseEvent.ROLL_OUT, graphicClickHandler); } } } Then use it in the GraphicsLayer's clusterer: <esri:GraphicsLayer> <esri:clusterer> <esri:WeightedClusterer> <esri:symbol> <collections:MouseEventsClusterSymbol /> </esri:symbol> </esri:WeightedClusterer> </esri:clusterer> </esri:GraphicsLayer> ------- I've been really digging AS3 Signals, so in my handlers, I send out a signal with a reference to the cluster graphic and handle the logic outside of the symbol itself...Hope this helps the cause. Brendan
... View more
01-06-2012
01:29 PM
|
0
|
0
|
242
|
POST
|
One thing you can do is to subclass Symbol and add additional listeners in the draw method (but make sure you also remove them in the clear method). I started with Mansour's attribute clusterer found here. In the AttrClusterSymbol.as draw method, you can add: override public function draw(sprite:Sprite, geometry:Geometry, attributes:Object, map:Map):void { const clusterGraphic:ClusterGraphic = sprite as ClusterGraphic; clusterGraphic.addEventListener(MouseEvent.ROLL_OVER, graphicRollOverHandler); clusterGraphic.addEventListener(MouseEvent.ROLL_OUT, graphicRollOutHandler); clusterGraphic.addEventListener(MouseEvent.CLICK, graphicClickHandler); ........ } you can then get the cluster.graphics off of the clusterGraphic when the user interacts with it. Not sure if this will solve your problem, but it work well for me. Again, just remember to remove these listeners in the clear method so don't you have crazy leaks. -Brendan
... View more
01-06-2012
07:39 AM
|
0
|
0
|
282
|
POST
|
Hey thanks a lot...I think I found a problem in an older swc. Thanks
... View more
10-13-2010
12:40 PM
|
0
|
0
|
98
|
POST
|
Hey Everybody, I am upgrading an application from the 1.3 swc to 2.1 and am getting: "Type was not found or was not a compile-time constant: FillSymbol" The location is unknown. I have set the SDK to 4.0. Thanks in advance for any advice. -Brendan
... View more
10-13-2010
08:45 AM
|
0
|
2
|
424
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|