2

Can I create my own ArcGIS library that contains commonly used features inside my own functions/methods? I would like to make a dll that can be reference in my projects for using common features such as Geo-Coding addresses or creating a FieldsCollection or an ITable. Will this be a problem due to licensing and having to verify it?

7
  • 1
    That's not really the way DLLs work. You couldn't possibly extract just the functions you need any bury them in your own DLL (and if you could it certainly would be a license violation).. – Vince May 4 '16 at 20:58
  • 1
    You could certainly create libraries that do the same things, but they would not be object-compatible (you can't make your own ITable interface which would be accepted by Esri methods). But if you're talking about a helper library of common-used functions to be used in addition to the Esri libraries, then that's just best practice. – Vince May 4 '16 at 21:15
  • 1
    You could call a script tool or model from a script tool or model builder, it wouldn't be compiled but would be a library of common tasks. Would that be what you're after? Note: Feature is a keyword, I wouldn't use it in a question unless you're talking about IFeature objects, a better word would be 'task' or 'process', just to avoid misconception. – Michael Stimson May 4 '16 at 21:57
  • 1
    To compliment @MichaelMiles-Stimson comment if you were thinking of creating custom geo-processing tools using ArcObjects then you would want to be looking at what are called GPFunction tools, help about these are available here. You could build a library of these and as they are geo-processing tools they can be used in model builder to combine into complex workflows. – Hornbydd May 4 '16 at 22:47
  • 2
    Library construction techniques with C# is really a software engineering issue, "off the reservation" of GIS SE topics. – Vince May 5 '16 at 1:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.