Commit 05a52d52 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: enhance API of PersistentImageToOGRDataFilter

parent 8f6a3c2b
......@@ -104,6 +104,12 @@ public:
* for fusioning streaming tiles.
*/
itkGetMacro(StreamSize, SizeType);
/** Set the geometry type */
itkSetMacro(GeometryType,OGRwkbGeometryType);
/** Get the geometry type */
itkGetMacro(GeometryType,OGRwkbGeometryType);
/** Set the \c ogr::DataSource in which the layer LayerName will be created. */
void SetOGRDataSource( OGRDataSourcePointerType ogrDS );
......@@ -118,6 +124,9 @@ public:
/** Set the OGR layer creation options */
void SetOGRLayerCreationOptions(const std::vector<std::string> & options);
/** Get the OGR layer creation options */
const std::vector<std::string> & GetOGRLayerCreationOptions(void);
protected:
PersistentImageToOGRDataFilter();
......
......@@ -89,6 +89,13 @@ PersistentImageToOGRDataFilter<TImage>
this->Modified();
}
template<class TImage>
const std::vector<std::string>&
PersistentImageToOGRDataFilter<TImage>
::GetOGRLayerCreationOptions(void)
{
return m_OGRLayerCreationOptions;
}
template<class TImage>
void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment