3

I have some spatial enabled tables tables in SQL Server 2008 and add them to ArcMap using custom layers(or a a spatial enabled OLE DB provider) successfully,but as you know,the editor toolbar of ArcMap doen't get enabled for these layers. Is it possible (and if yes how) to create a custom "Editor Object" for ArcMap which implements all necessary interfaces(like IEditor,IEditor2,ISnapEnvironment,...) and use this custom editor for these custom layers?and is it possible to create a "Sketch Tool" which can work with this custom editor and have same properties like snapping?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Nov 26, 2010 at 20:14

1 Answer 1

1

These links may be of some help, though what you want to do may require a lot of work.

http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000003v4000000

EDIT: Well, I wanted to post more links but the anti spam tool on this site won't let me post more than one hyperlink until I earn rep here.

answered Nov 28, 2010 at 21:02
2
  • Thank you for this link,but it's about custom layers,and as you know ESRI has mentioned explicity that "Custom Layers" and "Plug in Data source" are read-only.There is no any guide line in this link how to implement a tool to (for exam)create feature on map interactively.I need to implement a tool using ArcObject(by implementing ICommand,ITool and ISketchTool)that enables users to create a feature on the map,and have snap capability.(The tool without this capability is quite simple using IRubberband).Any tool with I implement,can use "ESRI Editor Object",but not usful for me. Commented Nov 29, 2010 at 5:22
  • There are custom editors out there, like the OpenStreetMap Editor for ArcMap. This seems to work by handling the conversions of the data from a custom layer to an ArcGIS specific Feature Class and then the edits can be done, once finished outputting straight back to the custom layer format. I would be happy to be wrong on this. Commented Dec 17, 2010 at 5:51

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.