Skip to content

create customized, print-worthy maps of graveyard & cemetery guides for anywhere in the world

Notifications You must be signed in to change notification settings

dcalacci/gravemaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gravemaps

A graphql server and associated python code to create nice-looking list-maps of the graveyards in a bounding box. Here's an example, from boston:

gravemap-boston

To create your own map of another area, either use the python code itself (example in notebooks/), or leverage the graphql api, described below

pip install -r requirements.txt
cd server/ && python server.py

Then, navigate to http://127.0.0.1:5000/graphql, and put in a query, like this:

mutation {
  submitMap(
    xmin: -71.1929535654
    xmax: -70.9781663877
    ymax: 42.4024328423
    ymin: 42.2912856611
    mapType: LEGEND
    nGraveyards: SMALL
  ) {
    id
    imageUrl
    nGraveyards
  }
}
  • mapType: LEGEND or NOLEGEND. describes if you want the names of the cemeteries on the bottom.
  • nGraveyards: SMALL, MEDIUM, or LARGE. Describes how many cemeteries you'd like to include in the map. It prioritizes larger cemeteries first, so a SMALL map will have only a few, very major cemeteries.

About

create customized, print-worthy maps of graveyard & cemetery guides for anywhere in the world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published