Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
        IMap map = axMapControl1.ActiveView.FocusMap;
        IFeatureSelection fSelection = map.get_Layer(0) as IFeatureSelection;

        ISelectionSet selSet = fSelection.SelectionSet;

        ICursor cursor;
        selSet.Search(null, true, out cursor);

        IFeature feat = ((IFeatureCursor)cursor).NextFeature();

Now i want to create buffer to my cursor. How can i do it?

share|improve this question
Please explain some more. What kind of buffer do you want – Emi Jan 17 '13 at 7:32
duplicate of ? seems the issue is resolved in that question.. – vinayan Jan 17 '13 at 13:03

You can get your feat geometry and create buffer using Topological operator. These code can use for you.

double bufferDistance = 0.0; // Note: set buffer distance as you want. For eg:200 or 500

var featShape = feat.ShapeCopy as IGeometry;

var topologicalOperator = featShape as ITopologicalOperator;
var featureBuffer = topologicalOperator.Buffer(bufferDistance);
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.