File talk:Access modes.png

From OpenStreetMap Wiki
Jump to navigation Jump to search
  • Horse(back) isn't really a type of vehicle. Can we re-draw this? --achadwick 13:18, 10 March 2009 (UTC)
    In some countries it's under unmotorized vehicle, in others it's a category of its own. Just as a Segway is a pedestrian in parts of the world and in others must be registered as a moped (or equivalent) - which would require licence plates, driving lights etc... But I recall that this picture was meant to be for illustration only and the exact definitions would be written as a text/list/table. Alv 14:27, 10 March 2009 (UTC)
    • Somebody should really do that table... :) --achadwick 18:32, 11 March 2009 (UTC)
    • For the same reason that mopeds are in some countries treated as bicycles by the law, and in other countries as small motorcycles, I guess we have to keep to a more factual, internationalised definition. Using the English word, admittedly :/ I'm in favour of spelling it out fully, forcing myself to write motorcycle=no,moped=no should powered two-wheelers be specifically prohibited along a stretch of road. --achadwick 18:32, 11 March 2009 (UTC)

dot source for the diagram

Graphviz "dot" source below so that others can amend/extend this diagram.

digraph G {
    rankdir=LR;

    /* Groups of modes */
    node [shape=box,style="filled",fillcolor="#eeeeee"];
    access; 
    vehicle;
    motor_vehicle;

    /* All other nodes represent actual transport modes */
    node [shape=ellipse];
    
    /* Waterbourne transport */
    node [fillcolor="#ccddff"];
    boat; motorboat;

    /* Transport over ice/snow */
    node [fillcolor="#ccffff"];
    ski;
    snowmobile;
    ski_nordic [label="ski:nordic"];
    ski_alpine [label="ski:alpine"];
    ski_telemark [label="ski:telemark"];

    /* Unpowered */
    node [fillcolor="#ccffcc"];
    foot; horse; wheelchair; bicycle;

    /* Trailer or towed goods */
    node [fillcolor="#ffeecc"];
    caravan; agricultural; hazmat;

    /* Everything else is a powered, self-driven road vehicle */
    node [fillcolor="#ffffcc"];


    access -> {
        foot [label="foot¹"];
        horse;
        ski;
        vehicle;
    }
    
    vehicle -> {
        bicycle [label="bicycle²"];
        wheelchair [label="wheelchair¹"];
        motor_vehicle;
        boat;
        caravan [label="caravan³"];
    }
            
    motor_vehicle -> {
        snowmobile;
        motorcycle [label="motorcycle²"];
        moped [label="moped²"];
        motorcar;
        goods;
        hgv;
        hov;
        psv;
        agricultural [label="agricultural³"];
        hazmat [label="hazmat³"];
    } [sametail="mv"];
    boat -> {
        motorboat;
    } [samehead="b"];

    psv -> { taxi; bus };
    
    motor_vehicle -> motorboat [sametail="mv"];

    ski -> {
        ski_nordic;
        ski_alpine;
        ski_telemark;
    }

};