Here's a checklist of things to change when upgrading to RGeo 3.0. For a comprehensive list of changes, see History.md.
- Remove
uses_lenient_assertions
anduses_lenient_multipolygon_assertions
flags from factory creation. - If your app requires predicate or analysis methods (ex.
contains?
andarea
) to be called on invalid geometries, you may want to consider using theunsafe_*
variants of those methods to skip the validity check. See Geometry-Validity.md for more detail. - Remove
boundary
calls onGeometryCollections
- Remove all
is_*?
methods and replace with the*?
versions. - Remove
SRSDatabase
usage - Change
proj4
options tocoord_sys
or use the EPSG SRID in thesrid
option for factory creation. - Rename instances
Geographic::Proj4Projector
toGeographic::Projector
and usecoord_sys
instead ofproj4
during creation.