zetkin / app.zetkin.org

Current-generation ("Gen 3") web interface for the Zetkin Platform.
https://app.dev.zetkin.org
23 stars 53 forks source link

Run our own OpenStreetMap tile server #2103

Open WULCAN opened 2 months ago

WULCAN commented 2 months ago

Description

A user should be able to use Zetkin without having her usage recorded by OpenStreetMap Foundation or their service providers.

The implementation in this repository uses tile.openstreetmap.org as a tile server for displaying interactive maps. When a user accesses this service via a browser, OpenStreetMap Foundation collects information about the user's browser, including IP address, browser and device type, operating system, and referring web page. For our implementation I suspect the referrer will be just the origin serving our implementation.

Additionally, OSMF may engage third party service providers to assist in the delivery of services to the OpenStreetMap community. Those third party service providers may gather personal data in connection with the provision of services. For example, Content Distribution Networks may use Geo-DNS or similar mechanisms to allocate load to geographically distributed servers and could potentially generate a record of your location at a large scale.

Information that is linked to an individual may be released to third parties, to the extent the third party is a service provider or as required by law.

https://operations.osmfoundation.org/policies/tiles/

https://osmfoundation.org/wiki/Privacy_Policy

Prerequisites

Estimated size

I think this issue is Large because there are a lot of unknowns to figure out about running a tile server.

richardolsson commented 2 months ago

This is a nice idea, and there's at least one of our partner organizations who would like to be able to use a self-hosted tile server with a Zetkin instance. I guess the first step, before actually running our own (Zetkin Foundation managed) tile server, would be to make what instance to use configurable in the codebase.

k-nut commented 1 month ago

Just to quickly chime in here: The Protomaps project might be an interesting alternative to consider when looking into self-hosting. For operators it would change the effort from running a tileserver into hosting a static file (that is, when not taking into account the actual updates to the underlying data). I haven't used it myself but I thought you might find it interesting to consider.

richardolsson commented 1 month ago

Just to quickly chime in here: The Protomaps project might be an interesting alternative to consider when looking into self-hosting. For operators it would change the effort from running a tileserver into hosting a static file (that is, when not taking into account the actual updates to the underlying data). I haven't used it myself but I thought you might find it interesting to consider.

This is definitely worth a closer look. Thanks for recommending! We are currently working on map-related features so this is a very good time to broadening our field of view on that topic!