POST
|
Hi all, The following warning is showing whenever i build my project. A reference was created to embedded interop assembly 'ESRI.ARCGIS.Geodatabse' because of an indirect reference to that assembly from assembly ESRI.arcgis.carto.Consider changing the 'Embed Interop Types' property on either assembly. Kindly explain the reason behind this warning and how to solve it???
... View more
03-11-2014
10:07 PM
|
0
|
1
|
3007
|
POST
|
I wish to find all those line intersecting from point which are 8 metre away from the point.Let me expalin you what i did so far- pEnvelope=Frompt1.envelope pEnvelope.Expand(0.5, 0.5, true); And then did spatial query of esrispatialintersects.The problem is envelope.expand parametre that is 0.5 is in double.I wish to change it in metre so that i can get 8 metre distance away from point .How I will do it ??
... View more
01-16-2014
08:05 PM
|
0
|
1
|
1992
|
POST
|
I wish to find gap in the continuity of One Way street.I have One Road(Polyline) Feature Class and one way road are represented by one column called ONE Way.If ONE WAY="Y" that means road is one way so i wish to fetch out those polylines that fall between two continuous oneway road and its ONE WAY cloumn has no value. Let me tell you , what i have done so far.Open the feature class as pfeatureclass and done query on it.Selected those features which are oneway. prdQf=New Queryfilter prdQf.whereclause="one way="& "YES" prfcur=pfeatureclas s.search(prdQf,false) proadfeature=prfcur.Nextfeature do until proadfeature is nothing pgeom=proadfeature.shape pPolyline=pgeom pPolyline.QueryToPoint(topt) penvelope=topt.Envelope penvelope.Expand(0,0,False) Dim sPf as Ispatialfilter=New spatialfilter sPf.Geometry=pEnvelope sPf.GeometryField=pFeatureClass.Shapefieldname sPf.Spatialrel=esrispatialRelEnum.esrispatialRelEnvelopeIntersects pfc3=pfeatureclass.search(sPf,false) Find all the edges that are intersecting it and one way is blank and then again find all intersected edges and their one way attribute. if one way value exist, that means there is gap. But its not providing the correct error.???
... View more
01-15-2014
10:22 PM
|
0
|
0
|
352
|
POST
|
Hello experts, I am unable to find duplicate nodes in a Road network through my program. I have a polyline feature class as Road, and i want to find duplicates nodes in it. How can I generate a report of duplicate nodes from this Road?
... View more
01-06-2014
11:22 PM
|
0
|
0
|
482
|
POST
|
Hey i tried it but still the same output. Is there any problem with graphic container or retrieving of spatial query result.I believe i have used the right approach but not able to understand why m not getting the expected result??
... View more
12-19-2013
07:52 PM
|
0
|
0
|
188
|
POST
|
Hello Experts, Hey , i am new to arcobject so need a help... I have to display those points on arcmap that lies inside the envelope.I am explainingwhat i have done so far. I have one point feature class say featureclass having (lat/lon)detail.I opened it and used one ARCGIS Snippet i.e. GetActiveviewFromArcmap() and constructed one envelope as mentioned below-: Iactiveview pactiveview=GetActiveviewFromArcmap(m_application); Ienvelope penvelope=new EnvelopeClass(); penvelope=pactiveview.extent; penvelope.QueryCoord(out minx, out miny,out maxX,out maxY); Ispatialfilter sp=New IspatialfilterClass(); sp.geometry=penvelope; sp.geometryfield=featureclass.shapefieldname; sp.spatialrel=esrispatialrelenum.esrispatialrelIntersects; Ifeaturecursor fc=featureclass.Search(sp,false); IgraphicContainer pgc; Ielement pElement; pElement=new MarkerElementClass(); Ipoint ppoint=new PointClass(); Ifeature feature=featurecursor.NextFeature(); while(feature!=null) {double x=Convert.ToDouble(feature.get_value(featureclass.fields.findfield("LAT"))); double y=Convert.ToDouble(feature.get_value(featureclass.fields.findfield("LON"))); ppoint.PutCoord(x,y); pElement.Geometry=ppoint; ppoint.AddElement(pElement,0); pActiveview.Refresh(); featurecursor.NextFeature();} The problem is it is displaying only one graphic object(point) on arcmap though there are 19 features satisfying the spatial query.I want that when i click the tool all features (point)/graphic object display on map at once. Thanks in advance
... View more
12-19-2013
01:28 AM
|
0
|
3
|
773
|
POST
|
Hi all, The problem is i have to display those points on arcmap that lies inside the envelope.I am explaining what i have done so far. I have one point feature class say featureclass ,open it and used one ARCGIS Snippet i.e. GetActiveviewFromArcmap() and constructed one envelope as-: Iactiveview pactiveview=GetActiveviewFromArcmap(m_application); Ienvelope penvelope=new EnvelopeClass(); penvelope=pactiveview.extent; penvelope.QueryCoord(out minx, out miny,out maxX,out maxY); Ispatialfilter sp=New IspatialfilterClass(); sp.geometry=penvelope; sp.geometryfield=featureclass.shapefieldname; sp.spatialrel=esrispatialrelenum.esrispatialrelIntersects; Ifeaturecursor fc=featureclass.Search(sp,false); Ifeature feature=featurecursor.nextfeature(); What i have to do is to display the output of this spatial query on arcmap.how i will retrieve the selectionset of spatialfilter query and how to diaplay it on arcmap.
... View more
12-18-2013
12:09 AM
|
0
|
1
|
1096
|
POST
|
Hi , I have to develop one custom tool that in C# .net while clicking on it in arcmap, it will display only those points which are lying inside the lat,long of current extent.i am new to arcobject ..kindly help In input i have point feature class that contain lat,long (x,y) .i am explaining ,what i have done so far.. I have calculated the extent by penvelope=activeview.extent I hav open the point feature class and done spatialquery on it spatialfilter.SpatialRel=esriSpatialRelEnum.esriSpatialRelContains; Now i want to dispay those point on arcmap whose coordinates lies inside the envelope.
... View more
12-12-2013
11:56 PM
|
0
|
0
|
303
|
POST
|
Hi , I have to develop one custom tool that in C# .net while clicking on it in arcmap, it will display only those points which are lying inside the lat,long of current extent.i am new to arcobject ..kindly help In input i have point feature class that contain lat,long (x,y) .i am explaining ,what i have done so far.. I have calculated the extent by penvelope=activeview.extent I hav open the point feature class and done spatialquery on it spatialfilter.SpatialRel=esriSpatialRelEnum.esriSpatialRelContains; Now i want to dispay those point on arcmap whose coordinates lies inside the envelope .
... View more
12-12-2013
11:42 PM
|
0
|
1
|
473
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|