fix dumping of geometries
This commit is contained in:
parent
6e502de74b
commit
9ca2cbd2ec
@ -319,9 +319,9 @@ begin
|
|||||||
if l_type = 'ST_LineString' then
|
if l_type = 'ST_LineString' then
|
||||||
lines = array[geom];
|
lines = array[geom];
|
||||||
elseif l_type = 'ST_MultiLineString' then
|
elseif l_type = 'ST_MultiLineString' then
|
||||||
lines = array((select a.geom from st_dump(geom) a order by path[1] desc));
|
lines = array((select a.geom from st_dump(geom) a order by path[1] asc));
|
||||||
else
|
else
|
||||||
raise 'Unknown geometry type %', l_type;
|
raise 'Unsupported geometry type %', l_type;
|
||||||
end if;
|
end if;
|
||||||
|
|
||||||
i = 1;
|
i = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user