Add wrapper function to DouglasPlucker for backwards-compability
Use numeric_limits
Fix include order in staticrtree
Reorder include and use correct datatypes