Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement 3D and Measure support for geo types #742

Closed
wants to merge 13 commits into from
Closed

Commits on Apr 1, 2022

  1. Squashed 3d impl

    nyurik committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    7c495e4 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. remove WKT merge, bump versions

    implement a converter between the geotypes from different versions.
    nyurik committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    70943b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecbe78c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    a19f7cb View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into dim

    nyurik committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    a0072f2 View commit details
    Browse the repository at this point in the history
  3. BREAKING: remove all deprecated features

    ## geo-types
    
    * BREAKING: Remove deprecated functions on the `Geometry<T>`:
      * `into_point` - Switch to `std::convert::TryInto<Point>`
      * `into_line_string` - Switch to `std::convert::TryInto<LineString>`
      * `into_line` - Switch to `std::convert::TryInto<Line>`
      * `into_polygon` - Switch to `std::convert::TryInto<Polygon>`
      * `into_multi_point` - Switch to `std::convert::TryInto<MultiPoint>`
      * `into_multi_line_string` - Switch to `std::convert::TryInto<MultiLineString>`
      * `into_multi_polygon` - Switch to `std::convert::TryInto<MultiPolygon>`
    * BREAKING: Remove deprecated `CoordinateType` trait. Use `CoordFloat` or `CoordNum` instead.
    * BREAKING: Remove deprecated functions from `LineString<T>`
      * Remove `points_iter()` -- use `points()` instead.
      * Remove `num_coords()` -- use `geo::algorithm::coords_iter::CoordsIter::coords_count` instead.
    * BREAKING: Remove deprecated functions from `Point<T>`
      * Remove `lng()` -- use `x()` instead.
      * Remove `set_lng()` -- use `set_x()` instead.
      * Remove `lat()` -- use `y()` instead.
      * Remove `set_lat()` -- use `set_y()` instead.
    * BREAKING: Remove deprecated `Polygon<T>::is_convex()` -- use `geo::is_convex` on `poly.exterior()` instead.
    * BREAKING: Remove deprecated `Rect<T>::try_new()` -- use `Rect::new` instead, since `Rect::try_new` will never Error. Also removes corresponding `InvalidRectCoordinatesError`.
    
    ## geo
    
    * BREAKING: Remove deprecated `rotate()` from the `Rotate` trait:
    > Equivalent to `rotate_around_centroid` except for `Polygon<T>`, where it is equivalent to rotating around the polygon's outer ring. Call that instead, or `rotate_around_center` if you'd like to rotate around the geometry's bounding box center.
    * BREAKING: Remove `ToGeo` trait. Switch to `std::convert::Into<Geo>` or `std::convert::TryInto<Geo>`.
    nyurik committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    084bd15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6c49460 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5247c1a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a087498 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    afadf90 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8d1251a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8ae1b31 View commit details
    Browse the repository at this point in the history
  10. update to dim-types branch

    nyurik committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    2c0dffb View commit details
    Browse the repository at this point in the history