[GRASS-git] [OSGeo/grass-addons] de6b18: i.sentinel.download: catch WKT too long with -b flag

Markus Neteler noreply at github.com
Tue Nov 12 08:17:11 PST 2019


  Branch: refs/heads/i_sentinel_download_fix_WKT_too_long
  Home:   https://github.com/OSGeo/grass-addons
  Commit: de6b186c33ac163d01ee8072b6a74353a7233c02
      https://github.com/OSGeo/grass-addons/commit/de6b186c33ac163d01ee8072b6a74353a7233c02
  Author: Markus Neteler <neteler at mundialis.de>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py

  Log Message:
  -----------
  i.sentinel.download: catch WKT too long with -b flag

RFC 2616 HTTP/1.1 imposes a 2000 char limit on WKT when sent via HTTP GET (sentinelsat).
Raise fatal error when AOI map (-b flag) has too many vertices, recommending to use 'v.generalize' to simplify the boundaries




More information about the grass-commit mailing list