What libraries were you using out of curiosity? I can’t even count how many hours I’ve lost to this!

Reply to this note

Please Login to reply.

Discussion

Was using pyproj for transforms and shapely for area calcs.

Binned them and simply used area

https://github.com/scisco/area

I blame ChatGPT for sending me off in the wrong direction! 😂

Nice find! Yes, pyproj and shapely are probably way overkill in this instance unless you are extremely worried about the precision of the projection

As long as they're all roughly equally inaccurate then that's all good.

With projection errors I think that’s a pretty safe bet!

If you ever wanna contribute to nostr:npub1864jglrrhv6alguwql9pqtmd5296nww5dpcewapmmcazk8vq4mks0tt2tq then let me know!

I've just pulled a bunch of country geojson so we can start to track merchant adoption stats per country using a variety of measures.

Will do! The git repo looks like something squarely in my wheelhouse that I would love to tinker with!

Check out the data repo too. That's where we're starting to do more with analytics to get insights into adoption trends.

If I want to start contributing what would be the most helpful? I was looking over some of the heat map stuff today - was running into some issues with my installed version of h3, but let me know if there is anything you want me to look at!

Awesome!

This was as far as I got with h3:

https://github.com/teambtcmap/btcmap-data/tree/main/data-analysis%2Fmerchant-density-hex

Managed to create and populate the hexes, but projection wasn't playing nicely.

Plan was to use this to creat some nice visuals. Spike graphs etc.

I was having issues getting h3 to grid in web mercator, but was able to generate the grid in wgs84 and convert the results to web mercator. I admittedly am not thay familiar with h3, but the implementation seemed easier using h3pandas. https://github.com/armstrys/btcmap-data/blob/h3pandas/data-analysis/merchant-density-heatmap/merchant-heatmap-generator.py

Sweet, I'll take a look.

Open a PR!