POST
|
i did that already but i get another because of this i have attached image of that error please check it out and you have any solution then let me know or have you have any sample for this or sample code then please send me thank you [ATTACH=CONFIG]32916[/ATTACH]
... View more
04-08-2014
06:42 AM
|
0
|
0
|
958
|
POST
|
i have attached image with this reply please check it out[ATTACH=CONFIG]32833[/ATTACH]
... View more
04-05-2014
03:21 AM
|
0
|
0
|
958
|
POST
|
@Geoff Appleby:thanks for reply.... i get another error when i did change as per link that is[ATTACH=CONFIG]32832[/ATTACH] if you have solution for this send let me know and if not then any sample to do this task........
... View more
04-05-2014
03:06 AM
|
0
|
0
|
397
|
POST
|
thank you for reply hello sir actually i used your code but there no any change in my error it again displayed if you have any other sample regarding this please send me link...
... View more
04-04-2014
03:35 AM
|
0
|
0
|
397
|
POST
|
Hello ahmed sir, thank for reply ,but after making changes like you suggest l got new error that is "Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang." if you have any suggestion on this please let me know....
... View more
04-02-2014
03:59 AM
|
0
|
0
|
958
|
POST
|
i am using arcobject .net10.1,arcmap10.1,arcgis10.1. i want a shape file which is created from .gpx file(GPS file) .i have search every where but cound'nt find any information related to my query. i am creating some code as per my knowlegde that code is not working properly. ESRI.ArcGIS.Geoprocessor.Geoprocessor gpq = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gpq.OverwriteOutput = true; ESRI.ArcGIS.ConversionTools.GPXtoFeatures toolq = new ESRI.ArcGIS.ConversionTools.GPXtoFeatures(); string qfpath = @"F:\Aniket Babar\esri project data\sample waypoint files\fells_loop.gpx"; string qspath = @"C:\Documents and Settings\Administrator.REV3\My Documents\ArcGIS\Default.gdb\fells_loop_GPXtoFeatures1"; toolq.Input_GPX_File = qfpath; toolq.Output_Feature_class = qspath; gpq.Execute(toolq, null); it gives me error like"Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang." if any one having a solution regarding this please send me this link or any related information.
... View more
04-02-2014
02:35 AM
|
0
|
4
|
3225
|
POST
|
yes it work manually very well. i am also storing path in different two string but that code also show me same error please . ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile tool = new ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile(); string fpath = @"C:\Temp1"; string spath = @"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg"; tool.Output_Folder = spath; tool.Input_Features = fpath; gp.Execute(tool, null); please give me some idea on this.
... View more
04-01-2014
08:43 PM
|
0
|
0
|
958
|
POST
|
i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile tool = new ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile(); tool.Input_Features = @"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg"; tool.Output_Folder = @"C:\Temp1"; gp.Execute(tool, null); but after execute this code i got error "Error HRESULT E_FAIL has been returned from a call to a COM component. " if any one have any suggestion or any sample for this conversion or any link then send me please ..
... View more
04-01-2014
04:30 AM
|
0
|
8
|
3724
|
POST
|
i have used all the direction on that link but did not got any solution if you have any another link for this problem send me thank you
... View more
03-10-2014
04:25 AM
|
0
|
0
|
505
|
POST
|
Hello ahmed sir i have used your code and the direction to unchecked lock loader after doing all this i run my project again but it will display another error which i have attached image of error please give me some reply for this. and also write error details error=" R6034 an application has made an attempt to load the c runtime library incorrectly. please contact the application's support team for more information" Thanks and regards Aniket Babar
... View more
03-07-2014
01:21 AM
|
0
|
0
|
505
|
POST
|
hello sir, i am creating some code like Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; ESRI.ArcGIS.AnalysisTools.MultipleRingBuffer multibuff = new ESRI.ArcGIS.AnalysisTools.MultipleRingBuffer(layer,@""+txtOutputPath.Text+"",multibufferdistance.ToArray()); IGeoProcessorResult results = (IGeoProcessorResult)gp.Execute(multibuff, null); when i excute this code i got this error "LoaderLock was Detected" error Description=" Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang." i did'nt get the details of this error nor find any suggestion . if you have any solution or sample code for this sent me link. Thanks and regards Aniket Babar
... View more
03-02-2014
03:47 AM
|
0
|
0
|
505
|
POST
|
I have Arcmap10.1 and arcobject.net with using this i have to create multiple ring buffer for selected layer .how can i do this what should i use for this please help me. Thanks and regards Aniket Babar
... View more
02-28-2014
04:32 AM
|
0
|
7
|
2741
|
POST
|
I have created a split tool which will create polyline and based this line i want to divide that polygon into two separate polygons. i have write below code it will create left side and right side geometry very well but that newly created polygon not reflected in mapcontrol. what i am doing wrong here? also i attached image of my polygon. Code: IMap map1; IFeature feat; IFeature outfet; IFeatureClass outfeturecls; IFeatureLayer feturelyyr; IGeometry left; IGeometry right; IEnumFeature enumfeture; screenDisplay.StartDrawing(screenDisplay.hDC, (System.Int16)ESRI.ArcGIS.Display.esriScreenCache.esriNoScreenCache); // Explicit Cast ESRI.ArcGIS.Display.IRgbColor rgbColor = new ESRI.ArcGIS.Display.RgbColorClass(); rgbColor.Blue = 255; ESRI.ArcGIS.Display.IColor color = rgbColor; // Implicit Cast ESRI.ArcGIS.Display.ISimpleLineSymbol simpleLineSymbol = new ESRI.ArcGIS.Display.SimpleLineSymbolClass(); simpleLineSymbol.Color = color; ESRI.ArcGIS.Display.ISymbol symbol = (ESRI.ArcGIS.Display.ISymbol)simpleLineSymbol; // Explicit Cast ESRI.ArcGIS.Display.IRubberBand rubberBand = new ESRI.ArcGIS.Display.RubberLineClass(); IPolyline newPolyline = (IPolyline)rubberBand.TrackNew(screenDisplay, (ESRI.ArcGIS.Display.ISymbol)symbol); IGeometry polggeomtry=null; IGeometry polylingeo = null; map1 = m_hookHelper.FocusMap; enumfeture = map1.FeatureSelection as IEnumFeature; feat = enumfeture.Next(); polylingeo = newPolyline as IGeometry; while (feat != null) { if (feat.Shape.GeometryType == esriGeometryType.esriGeometryPolygon) { polggeomtry = feat.ShapeCopy as IGeometry; break; } } feturelyyr = Program.lyrr as IFeatureLayer; outfeturecls = feturelyyr.FeatureClass; ESRI.ArcGIS.Geometry.ITopologicalOperator4 topologicalOperator = polggeomtry as ESRI.ArcGIS.Geometry.ITopologicalOperator4; // Dynamic Cast topologicalOperator.Simplify(); topologicalOperator.Cut(polylingeo as IPolyline, out left, out right); IGeometryCollection geometryCollection = (IGeometryCollection)new GeometryBag(); geometryCollection.AddGeometry(left, ref before, ref after); geometryCollection.AddGeometry(right, ref before, ref after); for (int i = 0; i < geometryCollection.GeometryCount;i++) { outfet = outfeturecls.CreateFeature(); outfet.Shape = geometryCollection.Geometry; outfet.Store(); } feat.Delete();
... View more
02-17-2014
03:17 AM
|
0
|
0
|
367
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|