Skip to main content

Maps & Geocoding

ChurchCRM displays interactive maps and geocodes addresses (converting street addresses into latitude/longitude coordinates) so you can:

  • View family and person locations on a map
  • Find neighbors for pastoral visits and community outreach
  • Auto-center the church map on your location
  • Show a preview map on the Church Information page

No API key required

Maps and geocoding use OpenStreetMap tiles rendered via Leaflet, and addresses are geocoded with Nominatim — OpenStreetMap's free, public geocoding service.

Zero configuration

There is nothing to set up. No Google Cloud account, no API key, no billing. Maps work out of the box on every new install and every upgrade.


Personal address priority

When a person has their own address on record (overriding the family address), ChurchCRM uses the personal address for geocoding instead of the family address. Members who live at a different location from their household are mapped to the right place automatically.


Setting your church location

The church location centers the main map view and the Church Information preview.

  1. Log in as an administrator
  2. Go to Admin → Church Information (or complete the first-run wizard)
  3. Enter your church address on the Location & Map tab
  4. Click Save — the system automatically geocodes the address and displays a Leaflet map showing the detected location

Coordinates are detected automatically — no manual entry is required. Re-saving the address will refresh coordinates if you move or correct the address.


Geocoding family addresses

Geocoding a family record happens automatically when you save an address in the Family Editor — coordinates are filled in as soon as the save succeeds, so ongoing maintenance is hands-off. There is currently no bulk "geocode all families" action; to backfill coordinates for existing records, re-save each family's address to trigger geocoding individually.


Finding neighbors and viewing the map

Once families are geocoded, use People → Family Map to see them plotted on the map, and Find Neighbors (from the map page) to locate families near a given family for pastoral visits or outreach — see Geographic Features for the full walkthrough.


Fair use and rate limits

Nominatim is a free public service with a usage policy that caps lookups at roughly 1 request per second and prohibits heavy bulk scraping. ChurchCRM's usage — a handful of lookups whenever an address is saved — stays well within these limits for any normal church.

If your installation does frequent bulk imports that save many family addresses in a short window, consider running your own Nominatim instance to avoid throttling.


Troubleshooting

SymptomCauseSolution
Map tiles don't loadServer or client can't reach tile.openstreetmap.orgCheck outbound HTTPS from your server and from the user's browser
Address saves but no coordinates appearnominatim.openstreetmap.org is unreachable from your serverCheck your server's outbound HTTPS and DNS
Map shows but centers on the wrong placeChurch location not setOpen Admin → Church Information, save a valid address
Coordinates are wrong for one familyNominatim couldn't parse the addressEdit the family address for clarity (spell out street suffixes, include country) and re-save