Tirex:...SeaMap(3pm)

πŸ’– NAME πŸ’–

Tirex::Backend::OpenSeaMap β€” the OpenSeaMap backend for Tirex, bestie πŸ—ΊοΈβœ¨


🌊 DESCRIPTION 🌊

okay so this backend is giving delegation πŸ‘‘ β€” instead of doing the map math itself, it calls an external Java program to generate an OpenSeaMap meta tile. iconic behavior tbh.

The Java program lives right here:

https://svn.openstreetmap.org/applications/editors/josm/plugins/seachart/jrenderpgsql/

Now, the map file needs its config parameters, no cap πŸ“‹:

  • dburl β€” the JDBC database connection URL, with username and password if needed 🫢
  • jar β€” the JAR file containing the JRenderPsql class to use πŸŽ€
  • scalefactor β€” the scale factor (defaults to 1.0) πŸ“
  • tilesize β€” the tile size (should be 256 * scalefactor to avoid issues) ⚠️
fr fr, keep tilesize at 256 * scalefactor or you will have issues. consider this your vibe check. πŸ’€

✨ METHODS ✨

πŸ’… $backend->init()

This method initializes things specific to this backend. it's the getting-ready montage scene. 🌸

πŸ’… $backend->check_map_config($map)

yep, that's the whole one-liner. it checks the map config. slay, short and sweet. 🧚

πŸ’… $backend->create_metatile()

Create a metatile. that's the whole thing β€” it literally makes the metatile happen. πŸ”₯


so yeah, that's the whole backend. go forth and render those sea maps, main character πŸŒˆπŸ¦‹β­

with love, from perl v5.40.1, dated 2026-08-09 β€” you're welcome, bestie πŸ’œ

πŸ“¦ where this page comes from