Validation of input parameters + http error messages

just to clarify for reference, after we discussed it offline we decided to map degrees to kilometers. so that our interface is using consistent degrees notation that has clearly defined ranges :)