GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - maxschwartziv/anchorhold-web-viewer: Bathymetry, side scan sonar and substrate charts in a browser, from a consumer fish finder. Tide-corrected depth on tap and an anchor watch, working offline. Recordings decoded by PINGMapper

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
SurveyPlanner
SurveyPlanner
 
 
object-detection
object-detection
 
 
pipeline
pipeline
 
 
web
web
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Add_Survey_Locations.bat
Add_Survey_Locations.bat
 
 
Add_Web_Charts.bat
Add_Web_Charts.bat
 
 
Fix_Recording.bat
Fix_Recording.bat
 
 
LICENSE
LICENSE
 
 
Make_Chart_Bundle.bat
Make_Chart_Bundle.bat
 
 
README.md
README.md
 
 
build_web_package.bat
build_web_package.bat
 
 
build_web_release.bat
build_web_release.bat
 
 
run_depth_csv.bat
run_depth_csv.bat
 
 
run_web_app.bat
run_web_app.bat
 
 

Repository files navigation

AnchorHold Web Viewer

anchorhold web viewer interface

Click Here for Live Demo

shoalmark2 Charts for boaters, in a browser. Bathymetry, side scan sonar and substrate over satellite imagery, tide-corrected depth, and an anchor watch that alarms if the boat drags (requires gps on device). Everything runs local, offline once charts are fetched

Youtube Walkthrough (4min)

Built for shallow water surveying with commercial fish finders, recordings made by Shoalmark ASV carrying a Humminbird Helix 7 MEGA SI. PINGMapper decodes the recording and produces the georeferenced mosaic.

Full user guide at droneboatfleet.com, covering every stage from planning survey transects to each chart overlay.

Chart Overlays

  • Depth. Bathymetry shaded by depth, with contours drawn on top at an interval set in Settings. Contours follow the depth toggle.

  • Sonar. The side scan mosaic. Brightness, contrast and pixel smoothing adjust while the chart is in view, and are saved per survey.

  • Substrate. The PINGMapper bottom classification, with its own key. Work

    in progress.

  • Rock. RockMapper habitat classes, fines through bedrock, drawn above substrate. Work in progress.

  • Objects. GhostVision detections as hollow rings, so the evidence underneath stays visible. Work in progress.

  • Down. The down-looking beam, read straight from the recording: a line along the track on the chart, and a waterfall of what was under the boat. DOWN shows both; tap the line to jump there, drag the waterfall to move along the track. IMAGE sets the depth window shown and the brightness, contrast and pixel smoothing, saved per survey like the sonar's. The strip of bottom the beam covered is shaded either side of the line, as wide as the beam's cone at the depth there. The ↔ button measures horizontal distance: drag across the waterfall for the along-track and straight-line distance and time between two pings, drawn on the map too. Uses Down Imaging when the recording has it, otherwise the 200 kHz beam.

  • Shallow-water shading below a chosen depth, survey outlines, tracklines and a pin per surveyed area, none of which need a toggle.

Planning a Survey

Survey Planner ships in this repository, under SurveyPlanner/. It fetches a waterbody outline from the USGS National Hydrography Dataset, takes the places a boat can actually be put in, and turns the water into straight survey transects split into outings that fit a day or one battery charge.

  • Regions of interest and no-go areas around docks and moorings, with a separate setback for each, cut out before any line is planned.
  • Transits routed around peninsulas rather than assumed straight, with the clearance check measuring the whole mission track.
  • A live estimate of days, miles of line and computation time that follows every parameter, so the cost of closer spacing is visible before the run.
  • Exports a QGroundControl .plan, a Mission Planner .waypoints mission and a GPX track, one file per day, plus GeoJSON of the whole plan for GIS. The boat package puts each day's Mission Planner mission beside that day's fence.

Built on Tkinter and matplotlib alone. It has its own dependencies, which SurveyPlanner\run.bat installs on first run. Opening a .shp outline additionally needs pip install pyshp.

Building a Survey

  • Seven recording formats. Humminbird .DAT natively, and Lowrance .sl2/.sl3, Garmin .RSD, EdgeTech .jsf, Cerulean .svlog and .xtf through PINGVerter.
  • Recording Fixer. Rebuilds the .DAT header a power cut leaves missing, flags position jumps, frozen fixes, depth spikes and turns, and takes marks drawn on the map. Writes a time filter rather than a new recording, so side scan survives, and the files off the card are never modified.
  • One build chain. Decode, tile, contour, grid and legend, producing MBTiles, GeoJSON, tap-to-query grids and a chart record per survey. A time filter left beside a recording is found and applied without being attached.
  • Chart bundles. Create a sharable survey bundle with overlays
  • A workflow list in the app, five steps with a launcher each, and counts read from disk rather than remembered.

Running It

Requires Python 3.10 or newer on PATH, and Chrome or Edge. Opera works too. Building charts additionally needs PINGMapper in its own conda environment, conventionally named ping.

pip install -r pipeline\requirements.txt
run_web_app.bat

The app opens at http://localhost:8000/. python pipeline\web_server.py does the same without the launcher.

Launcher Does
run_web_app.bat Serves the app and opens it
SurveyPlanner\run.bat Survey Planner. selftest.bat beside it checks the planner
Fix_Recording.bat The Recording Fixer
Add_Survey_Locations.bat The build screen
Add_Web_Charts.bat Chart library from a shell: list, add, remove, default
Make_Chart_Bundle.bat build <survey folder>, install-web <bundle>
build_web_package.bat A portable copy of the app, --zip for an archive
build_web_release.bat Release zips, -all to include the charts

http://localhost:8000/?selftest=1 exercises the app and writes the result into the page title. All ten steps should report ok.

AI assistance

Assisted-by: Claude:claude-opus-5

Licence

MIT. Copyright (c) 2026 Maximilian K Schwartz IV.

The only third-party code inside this repository is MapLibre GL JS 4.7.1, BSD-3-Clause, with its notice at web/vendor/LICENSE-maplibre.txt.

Two optional programs are installed by hand and are not distributed here. GhostVision is GPL-3.0. RockMapper states no licence, which by default means all rights reserved. Skipping either removes only its overlay. pipeline/ghost_vision.py, the glue that drives GhostVision, is MIT like the rest of this repository; the combination exists only on a machine where both are installed, and anyone redistributing the two together should read GPL-3.0 first.

What Each Program Does

Program Responsible for
pipeline/add_survey_locations.py The build screen. Keeps the survey catalogue and each survey's processing settings (mosaic toning, sonar quality, ping filters, substrate, rock, bottom objects), and runs the build steps below in order. Sonar quality: the Sonar quality section of the Mosaic image panel holds the four settings and passes them to process_data.py at build time, never to the PINGMapper decode
pipeline/any_recording.py Reads any recording PINGVerter supports into the shape the Recording Fixer expects
pipeline/appicon.py The AnchorHold icon on every desktop window
pipeline/bag_import.py Turns a BAG bathymetric grid into soundings the pipeline can chart
pipeline/build_preview.py A survey's lightweight preview, its boundary and track, shown before its charts are downloaded
pipeline/chart_bundle.py Packs one built survey into a single file either app can install
pipeline/depth_csv_from_sonar.py Runs PINGMapper on a raw recording and keeps the depth CSV, side scan mosaics and substrate rasters. Sonar quality: produces its inputs - one mosaic per transect and the ping metadata CSV the scores are measured from - but judges nothing itself
pipeline/down_sonar.py Turns the down-looking beam into a waterfall the app scrolls along the track
pipeline/extract_constants.py Fits harmonic tide constants for Santa Rosalía from online predictions
pipeline/find_surveys.py Searches public archives for surveys this pipeline can use
pipeline/fix_recording.py The Recording Fixer: look over a recording and cut out what should not reach the chart
pipeline/ghost_vision.py Drives GhostVision to find objects on the bottom and returns them as map points
pipeline/gsf_import.py Turns a GSF multibeam file into soundings and a backscatter mosaic
pipeline/merge_locations.py Merges finished surveys into one, so their charts show together under one pin. Sonar quality: not used here - where two surveys overlap, the later one is laid over the earlier
pipeline/package_web.py A standalone copy of the web app for another PC
pipeline/patch_utm_zone.py Fixes the UTM zone bug in an installed PINGVerter/PINGMapper
pipeline/places_to_objects.py Turns a list of places into an objects layer the viewer imports
pipeline/process_data.py Builds the chart: depth grid, contours and shallow bands, the sonar merge, and the MBTiles for every layer. Sonar quality: does the work - reads each pass's track, depth and range from the ping metadata, scores every pixel by its distance from its own track (poor under the boat, best mid-swath, fading toward max range), and keeps the best-scoring pass where passes overlap, a window at a time. Takes the --sonar-* settings
pipeline/release_web.py The zips attached to a GitHub release, with the charts split out
pipeline/repair_humminbird.py Rebuilds the header and ping index of a Humminbird recording cut short by a power loss
pipeline/rock_map.py Drives RockMapper to predict rocky habitat from the side scan mosaics
pipeline/satellite.py Fetches and caches the satellite imagery a survey is drawn on
pipeline/survey_source.py A survey's provenance - who, when, how and under what licence - shown on its pin
pipeline/tools.py Offers the desktop programs to the browser as a workflow checklist
pipeline/updates.py Checks for, and pulls, newer AnchorHold and sonar tools
pipeline/web_charts.py The browser app's chart library: list, add, remove, set the default
pipeline/web_server.py Serves the web app, reading tiles straight out of the MBTiles
pipeline/workspace.py Remembers where recordings and builds live, so every file dialog opens there
SurveyPlanner/survey_planner.py The Survey Planner window
SurveyPlanner/selftest.py Checks the planning engine without opening a window
SurveyPlanner/planner/plan.py Turns a lake outline into lines a boat can run
SurveyPlanner/planner/shoreline.py Where the water ends
SurveyPlanner/planner/imagery.py Re-derives a shoreline from satellite imagery
SurveyPlanner/planner/osmwater.py Water bodies from OpenStreetMap, for when the NHD service does not answer
SurveyPlanner/planner/basemap.py The aerial basemap behind the plan
SurveyPlanner/planner/access.py Shore access, and what can be seen from it
SurveyPlanner/planner/nogo.py Places the boat must not go
SurveyPlanner/planner/overfly.py Points the survey has to pass directly over
SurveyPlanner/planner/depthgrid.py Shallows from AnchorHold depth grids, and the chart the boat carries
SurveyPlanner/planner/humminbird.py Depth soundings straight out of a Humminbird recording
SurveyPlanner/planner/boat.py The boat package: an ArduPilot fence per day (Mission Planner and QGroundControl), that day's Mission Planner mission beside it, the chart and the parameters
SurveyPlanner/planner/exporters.py Writes a plan out in the formats the boat and plotter take: QGroundControl .plan, Mission Planner .waypoints, GPX and GeoJSON
SurveyPlanner/planner/geometry.py Local coordinates, in feet
SurveyPlanner/planner/__init__.py Marks the planning engine as a package
object-detection/shadow_pair.py A classical detector that pairs a target's bright return with its shadow in side scan
object-detection/test_synth.py Runs that detector over a synthetic sonar scene

About

Bathymetry, side scan sonar and substrate charts in a browser, from a consumer fish finder. Tide-corrected depth on tap and an anchor watch, working offline. Recordings decoded by PINGMapper

www.droneboatfleet.com/anchorhold-web-viewer/

Topics

ardupilotasvbathymetrydepth-mapgeojsongishumminbirdhydrographymbtilesside-scan-sonarsonarusv

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.