The Locations Object

The Locations object stores bike parking locations in a GeoJSON format. Currently, all parking locations are GeoJSON Feature objects. Additionally, only point geometries are supported for the bike parking locations. Future work can be done to support multipoint (several locations as part of one bike parking network), or polygon(very large parking locations) as needs arise.

The object is as follows:

{
  "id": 1234,
	"created_at": 1232,
	"updated_at": 123123,
	"latitude": -122.257964,
	"longitude": 37.872332,
  "name": "Campanile Parking",
	"number_of_spaces": 20,
	"parking_type": "bollard",
	"is_verified": true
}
Field Description
id Unique ID corresponding to the parking location entry
created_at Timestamp for when the object was created
updated_at Timestamp for when the object was last updated
latitude Latitude of the parking space
longitude Longitude of the parking space
name Name of the parking location
number_of_spaces Integer value. Number of spaces available in the parking location
parking_type Type of bike parking. See possible values for bicycle parking types.
is_verified Boolean value. True if the parking space has been verified by moderators. Defaults to false

Types of Bike Parking

This is adapted from bicycleparking.org.

Type Description (from https://bicycleparking.org/resources/bicycle-parking-types)
bollard Bollard style are usually a post with some sort of circle or other enclosed design where the bike lock is attached. Think old parking meter converted to bike parking or single post.
corral Corral is a larger area designated for bicycle parking. Usually an area that used to be regular car parking spot.
decorative Decorative bicycle parking is fun and integrates art with bicycle parking. If the features of a decorative spot match any of the other options (such as wave) please select that type, if not, decorative is here for the others.
garage Usually a larger area for parking bicycles in a garage. Not necessarily a bike rack in a garage, but a garage designated for bicycles. Again, if it is a rack in a garage please select one of the other types if they match.
grid These usually look like some type of grid. A bar across the top, a bar across the bottom and several vertical bars in between.
handrail Hey, when there isn't any bike parking around, sometimes there is a nice hand rail that will do the job.
hanger Usually a vertical bar with triangles or circles handing down.
innovative These can be a variety of different racks. Some have arms that swing out, some have built in cables...
lid Protects bikes from the elements and keeps them secure in a fully enclosed shell or "lid" like BikeLid.
locker Lockers are fully enclosed boxes where a bicycle can be locked inside. Some lockers require rental or subscription service.
minimal_front These racks are probably the lowest security rating in my opinion. They usually only have enough to set in the front or back tire and are really nice for propping up a bike and maybe locking it with a cable, but I do not recommend leaving your bike in one of these out of site for long.
staple These seem to be very common.
wave Wave or spiral racks.
pump_station Some shops and other areas will have a bicycle pump secured to the ground. If there is one near bike parking feel free to send multiple pictures of the same location if you would like to identify a rack and a nearby pump station!
repair_station Repair stations are found near some bike shops and maybe around campus, and other areas of course, but these seem to be the most common so far. Repair stations are permanent fixtures with tools attached where you can work on your bike if needed.
tree Yep, a tree, sometimes there is nothing else around. Careful not to damage the bark.
rental_station These are the automated rental share stations

GET v1/locations

GET v1/locations/:id

POST v1/locations

PUT v1/locations/:id

DELETE v1/locations/:id