[Talk-ro] Propunere pentru "maxspeed" în România

Octavian Chelu tavy72 at gmail.com
Wed Dec 8 20:58:32 GMT 2010


În data de Miercuri 08 Decembrie 2010 22:33:34 Flaviu a scris:
> Of, am copiat textul acela și n-am observat *your votes.* Scuze, îl voi
> șterge. Eu am activat doar RFC-ul.
> 

Cum rămâne cu sensul urban/rural atât în română cât și în engleză.
Cum marchezi, după tine, strazile din sate? Le pui „RO:urban”?

Ar avea un sens cel mult să avem un tag de genul „speedrules” care să ia 
valori de genul RO, DE, FR etc., în felul acesta elimini necesitatea 
determinării în ce țară se afla tronsonul, mai poate fi si un tag care să indice 
dacă tronsonul se găsește sau nu în localitate. În felul acesta se poate 
păstra maxspeed doar pentru cazurile în care nu se aplică regula (sunt 
indicatoare cu limita de viteză). A nu se înțelege că sunt de acord cu 
tagurile la care fac referire, ele pot fi determinate din datele existente, dar 
le văd ca un compromis între ce vrei tu și ce înțeleg eu prin semnificația lui 
maxspeed.

Practic, cu regula ta pseutocodul ar arăta cam așa:
if maxspeed=RO:urban then
  if vehicul=camion then vmax=...
  else vmax=50
else if maxspeed=RO:rural then
  if vehicul=camion then vmax=...
  else vmax=90
else if maxspeed=RO:trunk then
  if vehicul=camion then vmax=...
  else vmax=100
else if maxspeed=RO:motorway then
  if vehicul=camion then vmax=...
  else vmax=130
else if maxspeed=DE:urban then
  if vehicul=camion then vmax=...
  else vmax=...
else if maxspeed=DE:rural then
  if vehicul=camion then vmax=...
  else vmax=...
else if maxspeed=DE:trunk then
  if vehicul=camion then vmax=...
  else vmax=...
else if maxspeed=DE:motorway then
  if vehicul=camion then vmax=...
  else vmax=...
...

Cu regula mea pseudocodul ar arata cam așa:
if speedrules="RO" then
  if in_localitate then 
    if camion then vmax=...
    else vmax=50
  else if highway="motorway" then
    if camion then vmax=...
    else vmax=130
  else if highway="trunk" then
    if camion then vmax=...
    else vmax=100
  else 
    if camion then vmax=...
    else vmax=90
else if speedrules="DE" then
...
else if speedrules="FR" then
...

 --
Octavian Chelu



More information about the Talk-ro mailing list