You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
Put existing flat file into OpenStreetMap.
id => node:id
title => tag:name
longitude => node:lon
latitude => node:lat
location => ? (may no longer have relevance)
artists => tag:artist_name
url => tag:source
imageurl => tag:website_1
fullimage => tag:website
description => tag:note, tag:note_1 if more required.
Use query-overpass npm module to load nodes from OSM and return base data in a format the client expects.
Stand up a MongoDB image store with GridFS, using the following structure.
{node, thumbnail, image}
Include instructions on getting the MongoDB instance running and working with the proxy.
Include an images route for both the client and OSM to send users for images and thumbnails.
GET /images/node: returns an image with the appropriate MIME type.
POST /images: creates a thumbnail and places the image in the GridFS store.
Get OAuth working for the proxy using the iArtNorfolk OSM account.
Define a GET /exhibits/id, which returns an exhibit from OSM and the associated image and thumbnail from GET /images/id.
Define a POST /exhibits route, which creates an exhibit in OSM. Calls POST /images to place an image there as well.