File:Plantuml-enforcement-maxspeed.png

From OpenStreetMap Wiki
Jump to navigation Jump to search

Original file(837 × 642 pixels, file size: 58 KB, MIME type: image/png)

Source code

Generated with PlantUML from following code:

' Diagram for tagging enforcement=maxspeed 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
  BorderColor<<Way>> Green
}
hide stereotype

class "Tagi fotoradaru" as D2T <<(N, orange) Node>>{
  highway=speed_camera
  urządzenie na poboczu drogi (węzeł)
}
class "Tagi relacji kontroli" as RT <<(R, violet) Relation>> {
  enforcement=maxspeed
  Relacja enforcement (relacja)
}
class "Tagi drogi" as WT <<(W, green) Way>> {
  maxspeed=*
  odcinek drogi na którym mierzona jest prędkość (linia)
}

circle "kierunek jazdy" as A
circle " " as B
card "Znak "fotoradar"" as C
card " " as C1
actor "początek drogi" as D
circle "lokalizacja fotoradaru\n(urządzenia)" as E

E -[hidden] B

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

E --* D2T #red

WT o-- C1 #green

B --{ [to] RT #purple
C --{ [from] RT #purple
E --{ [device] RT #purple
C1 --{ [section] RT #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
current14:57, 23 July 2024Thumbnail for version as of 14:57, 23 July 2024837 × 642 (58 KB)Kubahaha (talk | contribs)
14:18, 23 July 2024Thumbnail for version as of 14:18, 23 July 2024619 × 480 (38 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=maxspeed 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 "Tagi fotoradaru" as D2T <<(N, orange) Node>>{ hig...

The following 2 pages use this file: