-
Notifications
You must be signed in to change notification settings - Fork 364
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
JTS 1.18, GeoTools 25.0 #3437
JTS 1.18, GeoTools 25.0 #3437
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,6 +234,7 @@ object MultiPointMultiLineStringUnionResult { | |
geom match { | ||
case g: Geometry if g.isEmpty => NoResult | ||
case l: LineString => LineStringResult(l) | ||
case pt: Point => PointResult(pt) | ||
case mp: MultiPoint => MultiPointResult(mp) | ||
case ml: MultiLineString => MultiLineStringResult(ml) | ||
case gc: GeometryCollection => GeometryCollectionResult(gc) | ||
|
@@ -331,6 +332,7 @@ object MultiPointMultiPolygonUnionResult { | |
geom match { | ||
case g: Geometry if g.isEmpty => NoResult | ||
case p: Polygon => PolygonResult(p) | ||
case pt: Point => PointResult(pt) | ||
case mpt: MultiPoint => MultiPointResult(mpt) | ||
case mp: MultiPolygon => MultiPolygonResult(mp) | ||
case gc: GeometryCollection => GeometryCollectionResult(gc) | ||
|
@@ -780,6 +782,8 @@ case class PointResult(geom: Point) extends GeometryResult | |
with MultiLineStringMultiLineStringDifferenceResult | ||
with MultiPointMultiPointDifferenceResult | ||
with MultiPolygonMultiPolygonDifferenceResult | ||
with MultiPointMultiPolygonUnionResult | ||
with MultiPointMultiLineStringUnionResult | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Paging @jpolchlo -- seems like JTS got a bit better at simplifying the results of union. I was pretty mechanical about this, could use your 👀 as the vector master. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Happy to look. Got any specific concerns? These Result types are pretty labyrinthine. |
||
with PointOrNoResult { | ||
def toGeometry(): Option[Geometry] = Some(geom) | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ThisBuild / version := "3.6.1-SNAPSHOT" | ||
ThisBuild / version := "3.7.0-SNAPSHOT" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@echeipesh what is the difference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html#newInstance--