Hello, the envelope(geometry) function is described as returning a POLYGON with corens ((MINX, MINY), (MAXX, MINY), (MAXX, MAXY), (MINX, MAXY), (MINX, MINY)). I 'm obtainging different sequence definition of the POLYGON corners: ((MINX, MINY) (MINX, MAXY) (MAXX, MAXY) (MAXX, MINY) ((MINX, MINY). Mybe an error in documentation? Thanks Mario