openstreetmap-website icon indicating copy to clipboard operation
openstreetmap-website copied to clipboard

Remove dependency on `gd2-ffij`

Open pablobm opened this issue 3 months ago • 4 comments

We have a dependency on the gem gd2-ffij, which is currently unmaintained and for which we already have had to introduce a dubious workaround: https://github.com/openstreetmap/openstreetmap-website/pull/6408

What is the impact? Are there alternatives? Can we remove it altogether? Perhaps SVG-based?

pablobm avatar Sep 23 '25 10:09 pablobm

Potential way to address it? https://github.com/openstreetmap-ng/openstreetmap-ng/blob/main/app/views/traces/_svg.ts

pablobm avatar Sep 23 '25 10:09 pablobm

Please don't consider using code from that project - it has an incompatible licence (AGPLv3).

gravitystorm avatar Sep 23 '25 16:09 gravitystorm

Please don't consider using code from that project - it has an incompatible licence (AGPLv3).

Sorry, that was my mistake, I pointed @pablobm at the project. I wasn't aware it used a different licence.

Firefishy avatar Sep 23 '25 18:09 Firefishy

I implemented an SVG based version (without using anything from that AGLPv3 project) some time ago: https://github.com/mmd-osm/openstreetmap-website/tree/feature/gpximage

It still has lots of rough edges and is more of a prototype for playing around with.

mmd-osm avatar Sep 23 '25 18:09 mmd-osm