mapnik/mapnik — pull request #2601 by seesemichaelj (2014-12-09 02:39:05+00:00)
Title: Added support to pass datasource in params to OGR/GDAL plugins.

This allows users to pass the pointer value (or address of datasource) for both OGR and GDAL plugins. This is imperative for using datasources created using the Memory driver (these cannot be reopened: http://www.gdal.org/drv_memory.html: "There is no way to open an existing Memory datastore. It must be created with CreateDataSource() and populated and used from that handle. When the datastore is closed all contents are freed and destroyed."). Users can populate a datasource and pass it to Mapnik by converting it to a string, base ten (i.e. using std::to_string()).