Public Toilet Finder

Data sources & credits

Public Toilet Finder stands on a pile of open-data and open-source projects. Here is everything we use, with links, so you can verify, contribute, or build your own.

Toilet locations

OpenStreetMap — every pin on our map comes from a node tagged amenity=toilets in OSM. Data is licensed under the Open Database License (ODbL). If you spot a missing or wrong toilet, please fix it on OSM — within a week our data refreshes and your fix appears here too.

Map tiles

CARTO — the map tiles are CARTO's "Voyager" raster style. We use them under their free-tier attribution terms.

Map library

Leaflet (BSD-2-Clause) — the JavaScript map widget that pans, zooms, and renders the pins.

Geocoding

Nominatim — turns search queries like "Ljubljana" into lat/lng coordinates. Operated by the OpenStreetMap Foundation; we proxy through it sparingly to respect their fair-use policy.

Walking routing

OSRM — the routing engine behind the "Navigate" button.

Approximate location fallback

ipapi.co — when you decline the GPS prompt, we ask ipapi for a country-level guess from your IP. Coordinates are not stored.

This site

The Public Toilet Finder web app itself is open source and runs on Vercel. The codebase is at github.com/matejbasa2/public-decency.