genesis-city / genesis.city

Decentraland map
https://genesis.city/
MIT License
15 stars 11 forks source link

feat: add a land owner map layer #67

Open tmigone opened 1 year ago

tmigone commented 1 year ago

It would be sick to have a color coded map overlay displaying land ownership, here is an example using the US states:

image

Each land owner address would show as a different color. Tricky part would be choosing the correct colors so it's not an indistinguishable blob of similar colors. Perhaps a good strategy is ordering owners by land count then selecting "unique" colors for those, this looks like a good starting point: https://stackoverflow.com/questions/470690/how-to-automatically-generate-n-distinct-colors

I can help producing a JSON file (or whatever format you prefer) with the required information (owner by coordinate, lands by owner, etc), I've played a bit with this data in the past https://github.com/tmigone/dcl-ownermap both querying the contracts and using a subgraph. Just need to know what information you guys need and I can write a script that gets the data 😃

maraoz commented 1 year ago

To integrate this we'd need something we can easily run weekly (our current map update timeline). We had recently discussed this feature on our planning session and decided not to prioritize it (high estimated cost, low estimated value), but if you want to work on it yourself we'd be happy to help :)