Timeline for Create buffer around selected points and add to a new shapefile
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2017 at 14:53 | vote | accept | Beard o Mania | ||
Jun 5, 2017 at 14:33 | answer | added | Hornbydd | timeline score: 0 | |
Jun 5, 2017 at 14:14 | comment | added | Hornbydd | The buffer tool typically takes as input a featureclass, if you want it to honor a selection then use a featurelayer, you currently are trying to supply it a single feature. | |
Jun 5, 2017 at 13:51 | comment | added | Beard o Mania | @Hornbydd I am getting error: System.Runtime.InteropServices.COMException. Here is an image | |
Jun 5, 2017 at 13:16 | comment | added | Hornbydd | Yes that is correct. | |
Jun 5, 2017 at 8:41 | comment | added | Beard o Mania | @Hornbydd Do you mean something like this? Geoprocessor GP = new Geoprocessor(); ESRI.ArcGIS.AnalysisTools.Buffer bufferTool = new ESRI.ArcGIS.AnalysisTools.Buffer(); bufferTool.in_features = geomfeature; bufferTool.out_feature_class = @"H:\"; bufferTool.buffer_distance_or_field = 10; GP.Execute(bufferTool, null); | |
Jun 5, 2017 at 7:53 | history | edited | Hornbydd | CC BY-SA 3.0 |
deleted 1 character in body
|
Jun 5, 2017 at 7:51 | comment | added | Hornbydd | Why don't you simply call the existing buffer geoprocessing tool? That will honour any selection and the output is a featureclass. You could turn all your code to a dozen lines. Search help for Igeoprocessor. | |
Jun 5, 2017 at 6:08 | comment | added | Beard o Mania | @Vince The problem is that I dont know where to start on how to make the buffer. Should I use IGeometry, I dont know. | |
Jun 5, 2017 at 0:14 | comment | added | Vince | You still haven't stated what your problem is. What is the result of you code? How does it not match your intent? The "magic" part is missing, and this is the only part which is necessary | |
Jun 4, 2017 at 23:16 | history | edited | Beard o Mania | CC BY-SA 3.0 |
fixed linked code in a <code> block instead.
|
Jun 4, 2017 at 22:20 | review | Close votes | |||
Jun 4, 2017 at 22:39 | |||||
Jun 4, 2017 at 22:02 | comment | added | Vince | Welcome to GIS SE. As a new user, please take the Tour. Use of third-party sites for source code has several issues, the most significant being that far fewer people are willing to follow links to unknown sites (so few will view your code), and the long-term stability of these archives is suspect (meaning that even if folks are willing to follow the link, there might not be anything there). Please Edit the question to contain a concrete problem and a code snippet to reproduce the problem. | |
Jun 4, 2017 at 21:55 | history | edited | Vince | CC BY-SA 3.0 |
removed duplicate title content and greeting
|
Jun 4, 2017 at 18:44 | review | First posts | |||
Jun 4, 2017 at 19:25 | |||||
Jun 4, 2017 at 18:35 | history | asked | Beard o Mania | CC BY-SA 3.0 |