locationtech / jts

The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
Other
1.94k stars 441 forks source link

Add Polygonal Coverage validation, gap finding, union #900

Closed dr-jts closed 2 years ago

dr-jts commented 2 years ago

Adds the package org.locationtech.jts.coverage containing classes for operating on Polygonal Coverages:

An invalid polygonal coverage with overlaps and gaps image

micycle1 commented 1 year ago

Is a coverage FixGaps feature (ala CoverageCleaner) in the works?

Also, it seems the JTS 1.20.0-SNAPSHOT Maven artifact does not include this and later commits.

dr-jts commented 1 year ago

Is a coverage FixGaps feature (ala CoverageCleaner) in the works?

Yes, hopefully some kind of coverage cleaning algorithm will be developed soon.

dr-jts commented 1 year ago

Also, it seems the JTS 1.20.0-SNAPSHOT Maven artifact does not include this and later commits.

Do you mean when you build locally?

micycle1 commented 1 year ago

Also, it seems the JTS 1.20.0-SNAPSHOT Maven artifact does not include this and later commits.

Do you mean when you build locally?

The artifact that is pulled down from https://repo.eclipse.org/content/repositories/jts-snapshots.

dr-jts commented 1 year ago

Also, it seems the JTS 1.20.0-SNAPSHOT Maven artifact does not include this and later commits.

Do you mean when you build locally?

The artifact that is pulled down from https://repo.eclipse.org/content/repositories/jts-snapshots.

When I pull down the latest SNAPSHOT archive I see the following files, which looks correct?

   creating: org/locationtech/jts/coverage/
  inflating: org/locationtech/jts/coverage/CoverageBoundarySegmentFinder.class  
  inflating: org/locationtech/jts/coverage/CoverageEdge.class  
  inflating: org/locationtech/jts/coverage/CoverageGapFinder.class  
  inflating: org/locationtech/jts/coverage/CoveragePolygonValidator$CoverageRingSegment.class  
  inflating: org/locationtech/jts/coverage/CoveragePolygonValidator.class  
  inflating: org/locationtech/jts/coverage/CoverageRing.class  
  inflating: org/locationtech/jts/coverage/CoverageRingEdges.class  
  inflating: org/locationtech/jts/coverage/CoverageSimplifier.class  
  inflating: org/locationtech/jts/coverage/CoverageUnion.class  
  inflating: org/locationtech/jts/coverage/CoverageValidator.class  
  inflating: org/locationtech/jts/coverage/InvalidSegmentDetector.class  
  inflating: org/locationtech/jts/coverage/TPVWSimplifier$1.class  
  inflating: org/locationtech/jts/coverage/TPVWSimplifier$Edge.class  
  inflating: org/locationtech/jts/coverage/TPVWSimplifier$EdgeIndex.class  
  inflating: org/locationtech/jts/coverage/TPVWSimplifier.class  
  inflating: org/locationtech/jts/coverage/VertexCounter.class  
micycle1 commented 1 year ago

When I pull down the latest SNAPSHOT archive I see the following files, which looks correct?

Actually, my bad. I was looking for the features in the wrong project whose .pom was still referencing 1.19.0..