osm-ToniE / ptna

Public Transport Network Analysis for OSM
GNU General Public License v3.0
21 stars 5 forks source link

if ref=0 (zero), do not complain about ref' not being set #138

Closed osm-ToniE closed 1 year ago

osm-ToniE commented 1 year ago

difference between

if ( $RELATIONS{$relation_id}->{'tag'}->{'ref'} )

and

if ( exists($RELATIONS{$relation_id}->{'tag'}->{'ref'}) )