I’ve forked a world map and altered it’s projection here:
I have been able to adjust the graticule and projection type without any trouble. What I seem unable to do is add lakes. I have tried creating my own json from the natural earth site using mapshaper and attaching it ipo of where it is fetching the 110m.json. This does allow me to var a “lakes” just like the “land” and “countries”, but the lakes do not show, and the fill for the my countries goes haywire.
All I’m needing is code exactly like I have completed so far, but with lake borders/fill added.
you will see that I have these maps in both Transverse Mercator and Transverse Equatorial in both PNG exportable and SVG exportable notebooks. The coding is a little different in each.
The purpose of having both is I ran into need to be able to export SVG, that I could then ungroup in inkscape, and save as DXF to then open in any CAD program. I’m planning to take the DXFs and prep them for being cut on a laser cutter to make a layered “interrupted” version of the maps to hang on my wall. I was inspired by Jason Davies interrupted transverse mercator page here:
My “real world” versions will have layers of lasercut plywood much the same way he has layered with the different colors on his webpage, with some parts like the graticule being etched and not actually cut. I know it may not be relevant within observablehq itself, but I will post an instructable or something explaining the whole process once I have them complete. I figure there may be other people on here beside me that are looking for ways to easily code a map projection, and take it all the way into something laser cut and/or cnc (including going through all of the methods through all of the open source resources to do so).