21 #ifndef otbGeometriesToGeometriesFilter_h
22 #define otbGeometriesToGeometriesFilter_h
34 #include <boost/mpl/assert.hpp>
35 #include <boost/type_traits/is_same.hpp>
45 struct ProcessVisitor;
87 using Superclass::SetInput;
108 void GenerateData(
void)
override;
150 virtual OGRSpatialReference* DoDefineNewLayerSpatialReference(
ogr::Layer const& source)
const;
157 virtual OGRwkbGeometryType DoDefineNewLayerGeometryType(
ogr::Layer const& source)
const;
165 virtual std::vector<std::string> DoDefineNewLayerOptions(
ogr::Layer const& source)
const;
186 friend struct otb::internal::ProcessVisitor;
269 template <
class TransformationFunctor,
class TransformedElementType,
class FieldTransformationPolicy = FieldCopyTransformation>
286 template <
class TransformationFunctor,
class FieldTransformationPolicy>
290 BOOST_MPL_ASSERT((boost::is_same<ogr::Layer, TransformedElementType>));
327 template <
class TransformationFunctor,
class FieldTransformationPolicy>
331 BOOST_MPL_ASSERT((boost::is_same<OGRGeometry, TransformedElementType>));
366 template <
class TransformationFunctor,
class FieldTransformationPolicy = FieldCopyTransformation>
427 this->DefineFields(source, dest);
434 #ifndef OTB_MANUAL_INSTANTIATION
438 #endif // otbGeometriesToGeometriesFilter_h