Fix build with ENABLE_LOG=1 DEFAULT_LOG_SEVERITY=debug (#2419)
Add missing input srid in test

Happens to work without srid specification due to && operator not
re-checking in newer postgis, but would fail with older postgis.
Add "clip_geometries" parameter to postgis input plugin
Add simplify_geometries_max_resolution and clip_geometries_min_resolution