thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Map-View of the actual events #35

Closed DerKarlos closed 3 years ago

DerKarlos commented 4 years ago

An OSM-Event Calender "must" have a map, showing the events to easily see what is next to me. I used ethermap as a demo. This is done manually. Automatically update this map is not a good way.

osmcal offers a good API to create a leaflet calendar with the actual events on client side. I could do it, about as I did it with OSMgo The Javascript could be hosted on osmcal.org/map to be used from anywhere. I may need some help with github and integrating the map. Firstly I will make a demo to show you, what I mean.

Later there will be more to decide: How the event and its popup should look alike, what to do with regular events, ...

Warning: I am an software old-timer, no modern coding or tooling. The latest new I learned about software was object orientation.

jbelien commented 4 years ago

Hello @DerKarlos ,

I worked in partnership with @thomersch to build OpenStreetMap Calendar widgets. One of those widgets is a simple map. You can have a look at it here : https://jbelien.github.io/openstreetmap-calendar-widget/ (repository is here).

I tried to keep those widgets as simple as possible. Maybe it can fit your needs !

thomersch commented 4 years ago

Hi @DerKarlos,

thanks for your inquiry :)

Maybe @jbelien's widget can already help you out. I didn't want to have a worldwide map as a central entry point to the calendar, because it will always look like this:

Screenshot 2020-06-12 at 11 46 05

By which I mean: a big cluster of events in Europe and the US, some in Asia.

For regional communities it might be useful to users, because they will look what is going on nearby.

DerKarlos commented 4 years ago

@ jbelien

One of those widgets is a simple map.

Widget? A code to dynamically fill a rectangle, contained in Web pages. An OSM event map in your case. That's quite what I intended!

We could think about more features, like this:

But that are just details and not as simple as possible. The other question is where to use, to see the map. I could image a link to the map or the widget always if there is a list of the events (wiki, https://osmcal.org/, weekly-osm)


@thomersch I think, I know you from another place, don't I? Mastodon?

My version looks a bit less empty but equal clustered:

Screenshot 2020-06-12 at 21 06 06

We could use the users IP to detect its location and just show the local "cluster" spread. A mosaic of clusters? No, far to complicated.

It is just because I feel about OSM as a map, always. And always when I saw the event list in the Weekly-OSM, I am missing a map.

jbelien commented 4 years ago

Widget? A code to dynamically fill a rectangle, contained in Web pages. An OSM event map in your case. That's quite what I intended!

Exactly what is is !

And indeed it could be improved ! 5 event "types" are defined but not available (yet) in the API (ping @thomersch)

thomersch commented 4 years ago

I think, I know you from another place, don't I? Mastodon?

I think we were discussing some ideas about vector tiles and pipelines a while ago.

5 event "types" are defined but not available (yet) in the API (ping @thomersch)

To be honest, I wanted to remove those altogether, because they’re too broad and it’s really difficult to decide what kind of event fits best. I always struggled when creating an event. Also, the cultural differences are too broad. (see #10)

Frankly, I don’t really see users searching based on that criteria. People, who are novices, want an event that is really close by, because they don’t want to travel far. People, who know a specific kind of event (e.g. Hackweekend Karlsruhe, SotM) are interested in exactly those repeated events.

I want to solve the grouping of events through the more flexible concept of communities, which has a prototype, but still needs work. Subscribe to #36, there will be more info soon.

And always when I saw the event list in the Weekly-OSM

The aim of my microgrant is to integrate osmcal into weekly, but we will have to talk with the weekly team about the specific and what they want. The preview for the upcoming week could totally make sense as a small map.

DerKarlos commented 4 years ago

We can agree about categories (I am personally not that happy with the icons anyway).

What about "online"? That could be a relevant boolean criteria to osmcal,the API, the list&map(needle color?). In Corona times, also local meetings are online, so they still have a needle. But some are just "world". I would place them in the center of the Atlantic.

So the map is coming, fine. I will watch the progress and send feedback. Tell me if I can help -karlos-

jbelien commented 4 years ago

I agree that the category are not really useful (won't ever fit every needs).

I like the online/IRL boolean idea !

thomersch commented 3 years ago

As we discussed, the awesome widget has a map view, so I'll close this issue for now.