| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi ,       I am planning to write one code, which will calculate the time taking of a layer to draw at one Coordinate.       I am not getting any idea like how to start it.       Can anyone guide me to achieve using ArcObjects+C#  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		04-02-2013
	
		
		01:42 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1778
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi All,         My requirement is, i have to place map title,map,legend,scalebar, north arrow and overview map in the dialog box.  Actualy I am new to this environment. I ahve tried to take advantage of the ESRI provided example for dialog box. But there I am not getting idea like how to put all these elements information in the dialog box's contrnt (i.e in the example it is, HtmlFragment vriable).      Can anyone help me on this.    Thanks in advance.    Regards,  Sreeni.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		12-28-2012
	
		
		03:45 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                881
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi,     I have exported my task results into a grid view. Now if I select any row from the gridview, i am able to zoom into that particular feature by using the ESRI provided link under 'Show find task results in a DataGrid '.     Now I am planning to extend the provided code - in such a way that - if I selects multiple features from the grid view, then also we have to zoom into those features. For this I have modified the existing code in below ways.  1. Taken all the selected features and added into one featureset. But in the featureset we dont have extent property to set to mapextent.  2. Taken all the graphics into a graphics layer. Here also we dont have extent property to set to mapextent.    Please find the used code below.          //Zoom to the parcel when the user clicks a row        function onRowClickHandler(evt)     {          var items = grid.selection.getSelected();          for(var i=0;i<items.length;i++)          {     var clickedTaxLotId = items.PARCELID;     var selectedTaxLot;          var countyLayer = new esri.layers.GraphicsLayer();        var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([98,194,204]), 2), new dojo.Color([98,194,204,0.5]));                   var features= [];      var featureSet = new esri.tasks.FeatureSet();      dojo.forEach(map.graphics.graphics,function(graphic)     {      if((graphic.attributes) && graphic.attributes.PARCELID === clickedTaxLotId)      {       features.push(graphic);        featureSet.features = features;         //countyLayer.add(graphic.geometry, symbol);       //map.setExtent(countyLayer);       //selectedTaxLot = graphic;       return;      }     });     //var taxLotExtent = selectedTaxLot.geometry.getExtent();              //map.setExtent(taxLotExtent);     map.setExtent(featureSet.Extent);          }        }        Can anyone help in this regards. Thanks in advance.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		12-21-2012
	
		
		12:07 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1149
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi,    Actually my task is - if user selects no.of rows in the grid result, we have to change the map extent to show all the selected features.  I have tried to solve the issue in below steps.  1. Captured all the selected rows information from the grid  2. Loop through all these selected rows  3. Compare the attribute value with one of the grid column (i.e PARCELID).      Based on that value i am planning to UNION all the selected feature extent.       I have tried to modify the existing find task code for single row to multiple row selection as below.          //Zoom to the parcel when the user clicks a row         function onRowClickHandler(evt)        {           var items = grid.selection.getSelected();          if(items.length)          {              dojo.forEach(items, function(selectedItem)              {                  if(selectedItem !== null)                  {               var selectedTaxLot;                    //alert('attrbute values are '+grid.store.getAttributes(selectedItem));                    dojo.forEach(grid.store.getAttributes(selectedItem), function(attribute)                    {                       if(attribute == 'PARCELID')                      {                         var clickedTaxLotId=grid.store.getValues(selectedItem, attribute);                    //     alert('enter into parcelid loop with value '+clickedTaxLotId);                           dojo.forEach(map.graphics.graphics,function(graphic)     {                   if((graphic.attributes) && graphic.attributes.PARCELID === clickedTaxLotId)        {                       alert('entered into comparision');           selectedTaxLot = graphic;                        return;                   }              });  //end of dojo.foreach for graphics                           }                    });                    } // end if                  }); // end forEach            } // end if          } //end of function onRowClickHandler      Can any one please look into this one. Here i am not getting the message from the last alert message - which is in last forEach loop.  Please let me know, if my analysis is wrong to achieve my task.     It could be in this sentences.     var clickedTaxLotId = grid.getItem(evt.rowIndex).OBJECTID;          var selectedTaxLot;            dojo.forEach(map.graphics.graphics,function(graphic){            if((graphic.attributes) && graphic.attributes.OBJECTID === clickedTaxLotId){              selectedTaxLot = graphic;  alert("found");              return;            }          });    The OBJECTID is the unique value. But when i type this in the alert does'nt get called   
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		12-19-2012
	
		
		03:45 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                442
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi All,     Thanks for your suggestions. Now it is working fine by using IFeatureLayerDefinition2.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-18-2012
	
		
		08:46 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1408
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi,    Thanks for your reply Ken. But I have crossed-check once again through debugging. I am getting the proper value into the DefinitionExpressioin.     Can anyone please share some sample code related to my problem.    Thanks.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-14-2012
	
		
		03:37 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1408
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi,     Thanks for your valuable suggestion.     I have tried to use 'IFeatureLayerDefinition' in the below way.                      pFDef = (IFeatureLayerDefinition2)pFLayer2;                  pFDef.DefinitionExpression = "";                  pFDef.DefinitionExpression = "strColumn_Name='" + myObject.ToString() + "'";                    pActiveView = (IActiveView)pMap;                  pActiveView.Refresh();    But when i am running the code, in ArcMap I am getting ArcMap drawing error as "One or more layers failed to draw:"  Can you please suggest further.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-10-2012
	
		
		05:54 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1408
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi ,      Thanks for your reply.     But I am working in ArcObjects using C#.        Can you please suggest in this regards.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-06-2012
	
		
		06:44 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                1408
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi All,        i have situation like, in one of my featureclass we have 100 features.      Using queryfilter we have selected only 20 features from total 100 featrues        Currently i am seeing all 100 features with 20 selection.       Now my problem is, i have to display only 20 features in map.     Thanks in advance.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-05-2012
	
		
		06:42 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                8
             
         | 
        
             
                
                    
                
                1809
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi,    Here my requirement is, we have one line having length 10meters. And the end points of this line are stored in the POINT FeatureClass and Line will be stored in LineFeatureClass.     Here we will provide the buffer distance and the angle.  Let us say, we have given buffer distance=2Meters                                      angle between lines=60degress  Then in general buffer will be in Circular. So 360/60=6 lines, we can generate within this buffer.    Finally it should display as the attached image.    can you please provide the process like how to approach.    Regards,  Sreenivas.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		09-28-2011
	
		
		10:22 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                498
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi All,     I am getting the user input using the below statment.  Pop_option = arcpy.GetParameterAsText(0)    I am trying to utilise this input value for my business logic.     For this I have treat it as integer. So I have tried to convert this value into integer using below statement.  Pop_option = int(Pop_option)   and Pop_option = Pop_option.split(";")    But i am not getting desired datatype.  Can anyone help me on this??    Thanks in advance.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-30-2011
	
		
		10:51 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                2
             
         | 
        
             
                
                    
                
                2790
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    How to grant previleages to Layer in Feature Dataset in Catalog  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-22-2011
	
		
		04:01 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                1
             
         | 
        
             
                
                    
                
                1502
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi All,      Thanks for yours quick response.  Thanks Bruce Nielsen. yours approach is solving my problem.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-21-2011
	
		
		08:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                2467
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi,     Thanks for giving reply. Now the issue got resolved.  Currently I am facing one more issue.  Actually I have two lists. let us say, listA = [1,2,3,4,3,2,1] and listB = [7,8,9,5,4,3,1]. Here have to get output like below.  in listA, we are getting value-1 in 2 indexes. I have to sum the values from listB in those positions.  Finally I have to output like below.  sum of 1's is ----7+1=8  sum of 2's is ---8+3=11  sum of 3's is----9+4=13  sum of 4's is----5    can you please help on this task.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-20-2011
	
		
		05:25 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                0
             
         | 
        
             
                
                    
                
                2467
             
         | 
    
| 
             
                POST		  
                
             
         | 
        
        
 
					
							    Hi,     I am new to python scripting. Can anyone pls help me on the below query.  1.I have one MXD, which contains 10 shapefiles.       ---- i am able to access these shapefiles using arcpy.mapping.listfeatures(mxd).  2.Based on the shapefile names, i have to access the different colmns in the attribute table.      ---- Here i am unable to access the layer attribute table.       ----- by using arcpy.listfields(shapefile), i am trying  to get the column values. But i am getting some object references.  
						
					
					... View more
				 
			
			
			
			
				
			
			
			
			
			
			
		
			
    
	
		
		
		07-05-2011
	
		
		08:01 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		          | 
        
             
                
                0
             
         | 
        
             
                
                7
             
         | 
        
             
                
                    
                
                7390
             
         | 
    
| Title | Kudos | Posted | 
|---|---|---|
| 1 | 04-08-2020 09:39 PM | 
| Online Status | 
					
			 
	
			
					Offline
				
		
 
		
				 | 
			
| Date Last Visited | 
					
			 
				
    
	
		
		
			a week ago
		
	
	
	
	
	
	
	
	
	
	
	
	
	
			 
		
				 |