Campus Map
This application will provide both an API to the map data, and front-end for both desktop and mobile browsers.
API Documentation
Request Path
map.nd.edu will respond with four different formats of data
html – The browser experience (accessed at map.nd.edu/placemarks.html)
json – A collection of JSON objects (accessed at map.nd.edu/placemarks.json)
kml – A KML document (accessed at map.nd.edu/placemarks.kml)
Request Query Parameters
q – Query by #name, #also_known_as
tags – Query by tags (comma separated for multiple values)
match_all_tags – If set to 1, will “AND” the tags query parameter, if not set will “OR” the tags query parameters
ids – Limit the query to only those items with matching permanent identifier (comma separated for multiple values)
Examples
https://map.nd.edu/placemarks.json?q=dillon
This will return a JSON object for Dillon Hall (and any other matching Dillon)
https://map.nd.edu/placemarks.json?q=word%20of%20life
This will return a JSON object for the Hesburgh Library. Though the mural may not be the library, it is still a marker that identifies the Hesburgh Library.
https://map.nd.edu/placemarks.kml?tags=parking_lot
This will return a KML file with all objects that are tagged as parking_lot
https://map.nd.edu/placemarks.json?tags=parking_lot,core
This will return a JSON object with all placemarks that are tagged with either parking_lot OR core
https://map.nd.edu/placemarks.json?tags=parking_lot,core&match_all_tags=1
This will return a JSON object with all placemarks that are tagged with either parking_lot AND core
Tag List
A complete list of tags can be accessed at either:
map.nd.edu/tags.xml -or- map.nd.edu/tags.json
Product of Notre Dame Creative.
copyright 2009-2024 University of Notre Dame