San Luis Obispo

From OpenStreetMap Wiki
(Redirected from San Luis Obispo, California)
Jump to navigation Jump to search
VTE
San Luis Obispo, California, United States
Wikidata

latitude: 35.274167, longitude: -120.663056
Browse map of San Luis Obispo 35°16′27.00″ N, 120°39′47.00″ W
Edit map
External links:
Use this template for your locality

San Luis Obispo is a city in California, United States at latitude 35°16′27.00″ North, longitude 120°39′47.00″ West.

First meeting: October 13, 2010 7:00PM

  • Location: South Bay Training Center (old Sunnyside Elementary School) 880 Manzanita Drive Los Osos, CA 93402
  • BRING A LAPTOP ! (..if you can..if not there will be some desktops at the facility)

Walking Papers example: [1]

ogr2osm translation file

msg j03lar50n for a copy of public domain road shapefile in EPSG:2229

~caveats~: z-levels a.k.a. 'key:layer' will need to be addressed manually.

Incomplete, but it's a start j03lar50n and CoreyFarwell think this is complete:

def translateAttributes(attrs):
    if not attrs:
        return
    tags = {}

    if int(attrs['SPD_PST']) > 0:
        tags.update({'maxspeed':attrs['SPD_PST'] + ' mph'})

    if attrs['FULLNAME']:
        tags.update({'name:fullname':attrs['FULLNAME'],'source:maxspeed':'sign' })

    if attrs['ONE_WAY'] in ('FT', 'TF'):
        tags.update({'oneway':'yes'})
    else:
        tags.update({'oneway':'no'})

    if attrs['CATEGORY'] == 'ROAD':
        tags.update({'highway':'residential'})
    elif attrs['CATEGORY'] in ('ALLEY', 'CAMPGROUND', 'MOBILE HOME PARK', 'PARK ROAD', 'PIER'):
        tags.update({'highway':'service'})
    elif attrs['CATEGORY'] == 'DRIVEWAY':
        tags.update({'highway':'service','service':'driveway'})
    elif attrs['CATEGORY'] == 'FREEWAY':
        tags.update({'highway':'motorway'})
    elif attrs['CATEGORY'] == 'HIGHWAY':
        tags.update({'highway':'primary'})
    elif attrs['CATEGORY'] == 'RAMP':
        tags.update({'highway':'motorway_link'})
    elif attrs['CATEGORY'] == 'TRAIL':
        tags.update({'highway':'path'})
    elif attrs['CATEGORY'] == 'CEMETERY':
        tags.update({'highway':'service'})

    if attrs['PAVED'] == 'YES':
        tags.update({'surface':'paved'})
    elif attrs['PAVED'] == 'NO':
        tags.update({'surface':'unpaved'})

    return tags