ffdo / node-informant

Small utility to collect node information in a Freifunk network via announced
7 stars 3 forks source link

latitude/longitude values needs to be sanatized #27

Open 1977er opened 8 years ago

1977er commented 8 years ago

Feature request: check plausibility of values for longitude and latitude.

Due to misconfigured devices my nodes.json ends up with entries like this:

"longitude":9.729235768318176,"latitude":0 or "longitude":9.729235e+06,"latitude":5.2399705+e07

Its only two or three out of hundreds of devices. But these let the meshviewer render transcontinental links. Talking to the device owners is not always an option.