Giter VIP home page Giter VIP logo

osm-bike-ottawa-tagging-guide's People

Contributors

alexthepuffin avatar danielrobertmiller avatar deniscarriere avatar dependabot[bot] avatar govvin avatar heatshear avatar matthewdarwin avatar rcmc2020 avatar shawngettler avatar traviscibot avatar yaroshkvorets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osm-bike-ottawa-tagging-guide's Issues

The tagging guide doesn't make sense to me with the reformatting

Those recent format changes don't work, IMO. I was liking how we had sections for things you'd ride on, obstacles you'd encounter, etc. Now it seems all split up... things you'd ride on are showing up all over the place (it starts with MUPs, for example, then there's some stuff about parking, signs, obstacles, and then we're back to another thing you'd ride on - a paved shoulder). Is there some logic to this flow that I'm not getting? I'd really like to see this put back how it was, or maybe I'm just catching this midway through some re-arranging?

cycleway:buffer width in meters

Hi! We are currently tagging cycling paths in the Montreal area and we use a width in meters for the cycleway:buffer tag.
In your guide, you tell users it should be a yes/no value instead, but the openstreetmap wiki suggest it would be better to use the actual width. Do you accept both yes or a float for the buffer width in meter?

JSON/YAML configuration documentation proposal

๐Ÿ‘ @heatshear & @zzptichka for contributing so much.

I've been looking at the Markdown document and it's becoming more and more complex as we grow this.

My suggestion would be to move towards a more "human-friendly" format which will compile our defined schemas into a website and README.md.

Using this approach will also allow us to track changes easier since everything will be on multiple lines instead of the single line Markdown approach.

All the "special" formatting like linking the OSM wiki & Mapillary websites can be done in the same process, no need to add the websites directly to in the document.

Using YAML

YAML is a .yml extension which can easily convert to JSON however it's a bit more flexible as a format (JSON is very strict and cannot include comments).

YAML example of schema

For an example of Lanes, we would build these .yml or .json files into the schema folder, another process would grab all of these files and build a website and update the README.md with the changes (we can have a bot do that).

Lanes.yml

MUP:
  title:
    Paved Multi-Use Path (MUP)
  description:
    - Typically 3m wide, may be wider.
    - Intended for mixed bike and foot traffic.
  osm:
    - highway=path
    - surface=asphalt
  mapillary:
    - xvX6Bexu1gEE_H9KlfodLQ

Twinned_Path:
  title:
    Twinned Path
  description:
    - Typically >4.5 m wide.
    - Intended for separated bike and foot traffic
  osm:
    - highway=path
    - surface=asphalt
    - segregated=yes
  mapillary:
    - J5eakBF0yAOttLLsGtnkcg

JSON

Similar to the YAML config, however more quotes and the JSON format is not as friendly to manually edit.

Lanes.json

{
  "MUP": {
    "title": "Paved Multi-Use Path (MUP)",
    "description": [
      "Typically 3m wide, may be wider.",
      "Intended for mixed bike and foot traffic."
    ],
    "osm": [
      "highway=path",
      "surface=asphalt"
    ],
    "mapillary": [
      "xvX6Bexu1gEE_H9KlfodLQ"
    ]
  },
  "Twinned_Path": {
    "title": "Twinned Path",
    "description": [
      "Typically >4.5 m wide.",
      "Intended for separated bike and foot traffic"
    ],
    "osm": [
      "highway=path",
      "surface=asphalt",
      "segregated=yes"
    ],
    "mapillary": [
      "J5eakBF0yAOttLLsGtnkcg"
    ]
  }
}

Bug; Remove reference to using Google imagery

This is an excellent guideline! Thank you for sharing.

The only issue (2020-11-29, while I write this ticket), and this is important, is that you are encouraging people to refer to Google Streetview which is disallowed in OpenStreetMap.

screenshot, JOSM Tips and Tricks, 2020-11-29

The Google Maps/Google Earth (including Streetview) Terms of Service disallows users from using their imagery and data for creating or augmenting any mapping-related dataset. I'll quote the relevant section below:

When using Google Maps/Google Earth, you may not [โ€ฆ] use Google Maps/Google Earth to create or augment any other mapping-related dataset (including a mapping or navigation dataset, business listings database, mailing list or telemarketing list)

Checkout the OpenStreeMap FAQ for more information, or refer to What images and maps may I use to make maps from? for details.

Tagging service strips

Some service strips are pretty good for riding:

On one hand we shouldn't accept those as legitimate infrastructure so they bump up LTS for that road, on the other hand we should at least tag such segments as an opportunity for the city to convert them to cycletracks like they do now on Heron. Are there any tags we can use?

How to build Documentation

@heatshear I've included a document how to build the YAML based schema documentation.

https://github.com/osmottawa/OSM-Bike-Ottawa-Tagging-Guide/blob/master/README-build-docs.md

Let me know if you have any issues building the documentation, also let me know if building the YAML schema approach is easier (I think so...).

OSM Bike Ottawa Tagging Guide

How to build Documentation

Install

  • Install the LTS or current version of NodeJS.
  • Clone/Download Repo to local computer via Clone with SSH or Download Zip.
  • Install library's dependencies using npm install.
  • Build docs via npm run docs.

Install via CLI

$ git clone [email protected]:osmottawa/OSM-Bike-Ottawa-Tagging-Guide.git
$ cd OSM-Bike-Ottawa-Tagging-Guide
$ npm install
$ npm run docs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.