debugging goes on
This commit is contained in:
parent
9ca2cbd2ec
commit
728665e590
@ -48,3 +48,13 @@ analizė Lietuvos upėms.
|
|||||||
- Visinčia ir Šalčia (1:25000, 1:50000).
|
- Visinčia ir Šalčia (1:25000, 1:50000).
|
||||||
- Žeimena ir Lakaja (1:50000 ?).
|
- Žeimena ir Lakaja (1:50000 ?).
|
||||||
- Lietuvos kontūras.
|
- Lietuvos kontūras.
|
||||||
|
|
||||||
|
|
||||||
|
Kitam kartui:
|
||||||
|
- smulkiai surašyti darbo struktūrą ir atsiųsti dėstytojui.
|
||||||
|
|
||||||
|
Pristatymui reikės akcentuiti:
|
||||||
|
- naujumas
|
||||||
|
- aktualumas
|
||||||
|
- problema
|
||||||
|
- max 15 skaidrių.
|
||||||
|
@ -282,7 +282,7 @@ 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 'Unknown geometry type %', l_type;
|
||||||
end if;
|
end if;
|
||||||
@ -330,8 +330,8 @@ begin
|
|||||||
while mutated loop
|
while mutated loop
|
||||||
execute format('drop table if exists demo_%safigures', i);
|
execute format('drop table if exists demo_%safigures', i);
|
||||||
execute format('create table demo_%safigures (way geometry)', i);
|
execute format('create table demo_%safigures (way geometry)', i);
|
||||||
-- if anyone has suggestions how to insert a variable to a table without such
|
-- if anyone has suggestions how to insert a variable to a table without
|
||||||
-- hackery, I'll be glad to know
|
-- such hackery, I'll be glad to know
|
||||||
execute format('insert into demo_%safigures select $1;', i) using (select unnest(array[line]));
|
execute format('insert into demo_%safigures select $1;', i) using (select unnest(array[line]));
|
||||||
bends = detect_bends(line);
|
bends = detect_bends(line);
|
||||||
execute format('drop table if exists demo_%sbbends', i);
|
execute format('drop table if exists demo_%sbbends', i);
|
||||||
|
Loading…
Reference in New Issue
Block a user