lib/rgeo/geos/zm_factory.rb in rgeo-0.3.7 vs lib/rgeo/geos/zm_factory.rb in rgeo-0.3.8
- old
+ new
@@ -376,10 +376,10 @@
# See ::RGeo::Feature::Factory#override_cast
def override_cast(original_, ntype_, flags_)
return nil unless Geos.supported?
keep_subtype_ = flags_[:keep_subtype]
- force_new_ = flags_[:force_new]
+ #force_new_ = flags_[:force_new]
project_ = flags_[:project]
type_ = original_.geometry_type
ntype_ = type_ if keep_subtype_ && type_.include?(ntype_)
case original_
when ZMGeometryImpl