glidernet / ogn-live

GNU Affero General Public License v3.0
39 stars 71 forks source link

Update aerolist.php - Added Danish Airport EKMB #30

Closed chrisser16 closed 7 years ago

chrisser16 commented 8 years ago

Hello I want to add EKMB Maribo Airport to Flight log. The raw airport insert is: 'EKMB'=> array('Maribo Airport',"l.rec='EKMB' AND (l.alt < 400) AND (l.lat BETWEEN 43.60377 AND 43.62095) AND (l.lon BETWEEN 6.6818 AND 6.7127)",16,''),

Best Regards Christian Madsen

chrisser16 commented 8 years ago

Hmm sorry it doesnt seems to work probably :-/ I will take a look again..

chrisser16 commented 8 years ago

Try this code: 'EKMB'=> array('Maribo Airport',"l.rec='EKMB' AND l.alt < 400 AND (l.lat BETWEEN 43.60377 AND 43.62095) AND (l.lon BETWEEN 6.6818 AND 6.7127)",16,''),

It Should work now :-) There were too many brackets in my first code... Best Regards Christian Madsen