Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a membership map #10

Open
kjaymiller opened this issue Oct 3, 2023 · 11 comments
Open

Create a membership map #10

kjaymiller opened this issue Oct 3, 2023 · 11 comments
Labels

Comments

@kjaymiller
Copy link
Contributor

kjaymiller commented Oct 3, 2023

I'm not sure the easiest way to do this but I think we can figure it out together.

I've seen plenty of communities that have maps that highlight where their members are. While I don't think we need to be hyper specific I think a file that has a counter showing what countries people are from could be interesting. It would be nice to tie this into registration but I think that would be over-compilcating things a bit.

Perhaps we can start with some form (Google forms/Microsoft Forms) and then use that data to create a heatmap

I've done this with Elasticsearch, Google Maps, and with Azure Maps, we could also use a more open mapping tool.

@kjaymiller
Copy link
Contributor Author

I could see using Folium

@oakinbod
Copy link

oakinbod commented Oct 5, 2023

I think I could help. How geographically specific should we get? Country or state/province?

@kjaymiller
Copy link
Contributor Author

I think I could help. How geographically specific should we get? Country or state/province?

I think we can start with country

@kjaymiller kjaymiller added the enhancement New feature or request label Oct 5, 2023
oleksis referenced this issue in oleksis/blackpythondevs.com Oct 9, 2023
…fice Form

Add Faker users.json data
Add main script to generate the  membership HTML map
Resolve #10
oleksis referenced this issue in oleksis/blackpythondevs.com Oct 17, 2023
…fice Form

Add Faker users.json data
Add main script to generate the  membership HTML map
Resolve #10
@mbvgua
Copy link
Contributor

mbvgua commented Sep 23, 2024

I could see using Folium

Found a rather interesting resource on this using leaflet.js and google sheets to display pointers on your map.

Here is the resource

I opted for this and not Folium as it did not have as much documentation on the issue as I would have liked. Let me build something in my sandbox and I'll report back on whether I can implement this.

But I had a major inquiry. Should someone input their exact geo location or would it be auto captured behind the scenes. The second option seems better and more accurate but I do feel it is an invasion of privacy and it's why I needed to consult on it.

@kjaymiller
Copy link
Contributor Author

interesting enough I would consider a map (maybe even openstreetmaps and a static geojson file. We don't need to anything too specific. It would be great to have a world map with the geometries of the countries where we have members.

@mbvgua
Copy link
Contributor

mbvgua commented Sep 23, 2024

Oh great! That would significantly reduce all the things that could possibly go wrong 🤣 I was also quite worried about what would happen if the team's data was accidentally leaked.

With this development, id like to work on this issue

@kjaymiller kjaymiller assigned mbvgua and unassigned kjaymiller, oakinbod and oleksis Sep 23, 2024
@mbvgua
Copy link
Contributor

mbvgua commented Sep 28, 2024

Hello @kjaymiller. I am working on this in my jupyter notebooks and so far these are the milestones I have achieved:

  • Acquired a GeoJson of the countries of the world from datahub.io. It can be viewed here
  • Understood folium enough to map dummy data of users from a .csv file onto the map

Screenshot from 2024-09-28 07-06-17

I would like to have your input on:

  • The appropriate colour shading to use. I was unsure so I went with shades of brown
  • How to acquire data on actual countries with BPD members. I was thinking of doing a survey on the discord but maybe you already have the data

@kjaymiller
Copy link
Contributor Author

I'll answer these in two bits. Starting with the first one.

I don't want to get into the realm of this area has the most people in it because that will get weird quickly.

What if there is a value system based on our involvement in the area.

1 == recognized members in the country
2 == communities supported in the country
3 == local BPD communities in country

The beauty of this is that it works on our development scale.

The other option is to use black if we have members in the country and then a BPD logo if we have a local meetup and we skip the sponsorship identification part.

@kjaymiller
Copy link
Contributor Author

As for the second - we have done a survey but more accurate is the community groups. I've tried making a discord group for each country someone mentions being from. I could get a list from the groups. (Will do when it's not 3am my time)

@mbvgua
Copy link
Contributor

mbvgua commented Oct 10, 2024

Hey @kjaymiller. After trying both methods, I've come to the realization that I might not be the best individual to work on this issue.

Kindly unassign me to allow for other individuals to take it up.

@kjaymiller
Copy link
Contributor Author

Thank you for putting in the efrfort you have so far @mbvgua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants