John Firebaugh bcb4de4305 Reverse directional tags and roles when reversing a way
Reverse known direction dependent tags other than `oneway`.
We assume that correcting a backwards oneway is the primary
reason for reversing a way.

The following transforms are performed:

Keys:
      *:right=* ⟺ *:left=*
    *:forward=* ⟺ *:backward=*
   direction=up ⟺ direction=down
     incline=up ⟺ incline=down
        *=right ⟺ *=left

Relation members:
   role=forward ⟺ role=backward

In addition, numeric-valued `incline` tags are negated.

The JOSM implementation was used as a guide, but transformations that 
were of unclear benefit or adjusted tags that don't seem to be used
in practice were omitted.

References:
   http://wiki.openstreetmap.org/wiki/Forward_%26_backward,_left_%26_right
   http://wiki.openstreetmap.org/wiki/Key:direction#Steps
   http://wiki.openstreetmap.org/wiki/Key:incline
   http://wiki.openstreetmap.org/wiki/Route#Members
   http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

Fixes #299.
2013-01-07 16:26:56 -08:00
2013-01-04 19:40:11 -05:00
2012-10-24 19:51:44 +02:00
2012-12-04 14:09:45 -05:00
2012-12-29 09:18:05 -08:00
2012-12-30 14:03:45 -08:00
2012-12-12 16:05:02 -05:00
2012-12-05 16:42:48 -05:00
2012-12-14 11:30:13 -05:00
2012-12-04 18:34:09 -05:00
2012-11-16 12:06:03 -05:00

iD - friendly JavaScript editor for OpenStreetMap

Build Status

Try the online demo of the most recent code. and open issues for bugs and ideas!

Basics

  • iD is a JavaScript OpenStreetMap editor.
  • It's intentionally simple. It lets you do the most basic tasks while not breaking other people's data.
  • We support modern browsers. Data is rendered with d3.

Participate!

To run the code locally, just fork this project and run it from a local webserver. With a Mac, you can enable Web Sharing and drop this in your website directory.

If you have Python handy, just cd into iD and run

 python -m SimpleHTTPServer

Come on in, the water's lovely. More help? Ping RichardF, tmcw, or jfire on IRC (irc.oftc.net, in #osm-dev or #osm), on the OSM mailing lists or at richard@systemeD.net.

License

iD is available under the WTFPL, though obviously, if you want to dual-license any contributions that's cool. It includes d3js, which BSD-licensed.

Description
No description provided
Readme 253 MiB
Languages
JavaScript 94.4%
CSS 5.3%
TypeScript 0.2%