curbmap / Open-Street-Parking-Restriction-Specification

An open standard for municipalities and private companies to correspond about and release information about parking restrictions for public consumption.
MIT License
7 stars 4 forks source link

Integer standard for types #12

Open hexicle opened 6 years ago

hexicle commented 6 years ago

I propose an integer standard for types of parking restrictions.

Integer Type
00 Time Limit
01 No Parking
02 No Stopping
03 Street Cleaning
04 Fire Hydrant
05 Permit Parking District
06 Disabled Parking
07 Parking Meter
08 Custom Type
09 Temporary
10 Damaged Road

Additional integers could be used for new types of restrictions.

eselkin commented 6 years ago

How is damaged road a parking restriction? Damage and temporary should be covered in a separate area of the specification. I think, we want a single integer for this value to be specific enough to gather more information about the line. This integer value and it's associated time limit should be specified in the curb_type object, which should be { type: integer, duration: integer (mins), permit: signed integer }

Integer value Associated Restriction
0 Short time limit (AKA green, <1hr)
1 Short time limit metered (AKA green with meter, <1hr)
2 Time limit (>=1hr )
3 Time limit metered (>=1hr)
4 Time limit with permit exemption
5 No parking
6 No parking with permit exemption
7 No stopping
8 Fire hydrant
9 Street cleaning
10 Disabled parking
11 Passenger loading (AKA white)
12 Commercial loading (AKA yellow)
13 Other
Permits Type
-1 Commercial
-2 Taxi
-3 Disabled
-4 Other
positive values associated permit number for restriction