ShapeUp Exporter Plugin API


An exporter plugin is used to store geographic data in a custom format.

Additional information can be found in the Exporter Plugin Overview .

The following functions must be exported by the loader plugin:

fnGetName Return a name to be used in the exporter list for the user to choose from.
fnGetDescription Return a short description to be used in the exporter list for the user to choose from.
fnGetLastErrMsg Return a string containing error information to be displayed to the user if something went wrong.
fnExportShape Export a single shape. This function will be called for each shape in a layer.
fnSupportsType Report what type(s) of shapes this exporter is able to handle.
fnVersion Return interface version information.

The following functions are optionally implemented and exported:

fnPreExport Called before the export of each layer.
fnPostExport Called after the export of each layer.
fnBatchExportBegin Called once before the export of layers.
fnBatchExportEnd Called once after the export of layers.
fnSettings If there are settings for this plugin that has a longer life span than just one ShapeUp session, this is a good place to hook up.
fnGetInfo Return string data describing this plugin, what it does and optionally copyright notices.