Skip to content

Commit 4bb3085

Browse files
author
Kevin Milner
committed
fix to align with upstream geojson sect PR
1 parent 00b0e49 commit 4bb3085

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/scratch/kevin/nshm23/LegacyWasatchPaleoDataWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static void main(String[] args) throws IOException {
8080
// write wasatch sections
8181
List<GeoJSONFaultSection> geoSects = new ArrayList<>();
8282
for (FaultSectionPrefData sect : sects) {
83-
GeoJSONFaultSection geoSect = new GeoJSONFaultSection(sect);
83+
GeoJSONFaultSection geoSect = GeoJSONFaultSection.fromFaultSection(sect);
8484
if (!Float.isFinite(geoSect.getDipDirection()))
8585
geoSect.setDipDirection((float)(geoSect.getFaultTrace().getAveStrike()+90d));
8686
geoSects.add(geoSect);

src/main/java/scratch/kevin/prvi25/BunceMainRidgeConnectionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static void main(String[] args) throws IOException {
7777
}
7878

7979
private static FaultSection setDip(FaultSection sect, double dip) {
80-
Feature feature = new GeoJSONFaultSection(sect).toFeature();
80+
Feature feature = GeoJSONFaultSection.fromFaultSection(sect).toFeature();
8181
feature.properties.set(GeoJSONFaultSection.DIP, dip);
8282
return GeoJSONFaultSection.fromFeature(feature);
8383
}

0 commit comments

Comments
 (0)