File:Plantuml-enforcement-average-speed.png

From OpenStreetMap Wiki
Jump to navigation Jump to search

Original file(867 × 603 pixels, file size: 69 KB, MIME type: image/png)

Source code

Generated with PlantUML from following code:

' Diagram for tagging enforcement=average_speed in polish language.
' 2024 Author: https://osm.org/user/kubahahaha
' This code is published under WTFPL Public Licence version 2

@startuml
allow_mixing

skinparam class {
  BorderColor<<Area>> Blue
  BorderColor<<Node>> Red
}
hide stereotype

class "Początek odcinka z pomiarem" as FT <<(N, orange) Node>>{
  początek pomiaru (węzeł na drodze)
}
class "Koniec odcinka z pomiarem" as TT <<(N, orange) Node>>{
  koniec pomiaru (węzeł na drodze)
}
class "Tagi kamery na początku odcinka" as D1T <<(N, orange) Node>>{
  man_made=surveillance
  surveillance=average_speed 
  urządzenie na początku odcinka (węzeł)
}
class "Tagi kamery na końcu odcinka" as D2T <<(N, orange) Node>>{
  man_made=surveillance
  surveillance=average_speed 
  urządzenie na końcu odcinka (węzeł)
}
class "Tagi relacji kontroli" as RT <<(R, violet) Relation>> {
  enforcement=average_speed
  Relacja enforcement (relacja)
}

circle "kierunek jazdy" as A
card "koniec odcinkowej\nkontroli prędkości" as B
card "początek odcinkowej\nkontroli prędkości" as C
actor "początek drogi" as D
circle "końcowa kamera" as E
circle "początkowa kamera" as F

B -[hidden] E
C -[hidden] F

A <-[thickness=5]- B: "highway=*"
B <-[thickness=5]- C: "highway=*"
C <-[thickness=5]- D: "highway=*"

FT --* C #red
TT --* B #red
F *-- D1T #red
E *-- D2T #red

RT [to] }-- B #purple
RT [from] }-- C #purple
RT [device] }-- E #purple
RT [device] }-- F #purple
@enduml

Licensing

Source code and produced image is licenced under WTFPL Public Licence version 2 (full text).


  • This media file was uploaded by author of the work and its copyright holder.

WTFPL logo.svg

Permission is granted to do what the fuck you want to with this document under the terms of the WTF Public License, Version 2.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:51, 23 July 2024Thumbnail for version as of 13:51, 23 July 2024867 × 603 (69 KB)Kubahaha (talk | contribs)== Source code == Generated with [http://www.plantuml.com/plantuml/uml/ PlantUML] from following code:<syntaxhighlight lang="text" line="1" start="1"> ' Diagram for tagging enforcement=average_speed in polish language. ' 2024 Author: https://osm.org/user/kubahahaha ' This code is published under WTFPL Public Licence version 2 @startuml allow_mixing skinparam class { BorderColor<<Area>> Blue BorderColor<<Node>> Red } hide stereotype class "Początek odcinka z pomiarem" as FT <<(N, orange...

The following 2 pages use this file: