GithubHelp home page GithubHelp logo

Comments (3)

jrus avatar jrus commented on April 26, 2024 1

There was never any such version until I spent a month or two of effort making one up in 2015 (Cahill’s “conformal” butterfly map was just an equilateral triangle). I still haven’t ported it to Javascript though.

It’ll take quite a bit more effort to write the paper explaining the construction. I’ll get around to it eventually though.

from d3-geo-polygon.

jrus avatar jrus commented on April 26, 2024

Yeah, I have been intending for a long time to properly implement this in D3. The original SCToolbox version I made was outrageously slow to compute, so I let my computer run for a couple days finding the positions of a pretty dense grid of Chebyshev nodes in latitude/longitude for half an octant, and used Chebfun to efficiently compress and evaluate that (that method should be entirely suitable for real-time rendering of many points).

It would in general be a good idea to implement a few parts from the guts of Chebfun in JavaScript, and use those for many map projections. It should in many cases dramatically speed up computations vs. the existing implementations of D3 projections, especially if the inner loops can be implemented as wasm.

I've had a lot of trouble finding time to work on this kind of project in the past year, as I've been taking care of a (now 20 month old) baby full time. But I still do intend to sometime finish here. I hope I can also properly write a paper about this projection at some point, to submit to some kind of cartography conference/journal. And there are a couple related map projections which I would like to produce (both an equal-area version, and one optimizing for distance errors), but which will take some significant research effort to figure out.

Not sure it would be reasonable to call this particular projection "Cahill–Keyes" though. I would call it something like the "Conformal Octahedral Butterfly" projection. (I don't personally like sticking my own name on things, but also wouldn’t really be comfortable sticking someone else’s name on a project I spent a few months figuring out the details for.)

from d3-geo-polygon.

Fil avatar Fil commented on April 26, 2024

@jrus has implemented a few possibilities at https://observablehq.com/@jrus/conformal-octahedron

(but I can't find the link to the version with corners, à la Cahill.)

from d3-geo-polygon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.