Skip to content

Fixes #189: map skew

Faunce, Kaycee Elizabeth requested to merge #189-map-skew into main

Applying sf::st_make_valid() to BGLS_Skewmap/RegSkewPolys_PeakFQ_G100.shp fixes the topology errors that were causing the map skew to fail on the server (can test on peakfq (usgs.gov), which now incorporates this fix).

If you run sf::st_is_valid() on the file, looks like the topology errors are occurring for the following regions:

Hawaii_Regional_Skew_SIR_2023_5014 FALSE

Hydrologic_Unit_02_Regional_Skew_SIR_2021_5015 FALSE

Puerto_Rico_Regional_Skew_SIR_2021_5062 FALSE

Virginia_West_Virginia_Regional_Skew_Reg_1_SIR_2023_XXXX FALSE

Arkansas_Louisiana_Regional_Skew_SIR_2016_5081 FALSE

New_Mexico TRUE Mississippi_Regional_Skew_SIR_2018_5148 FALSE

Great_Lakes_Ohio_Basin_Regional_Skew_SIR_2019_5105 FALSE

Bulletin_17B FALSE

Check validity or make an invalid geometry valid — valid • sf (r-spatial.github.io)

Merge request reports

Loading