Skip to content

Commit

Permalink
Improve overall typesetting
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanzimanyi committed Jul 9, 2024
1 parent 6a45e97 commit 738a633
Show file tree
Hide file tree
Showing 5 changed files with 1,985 additions and 2,397 deletions.
6 changes: 3 additions & 3 deletions docs/AIS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ SELECT COUNT(*) FROM AISInputFiltered;
<programlisting language="sql" xml:space="preserve">
CREATE TABLE Ships(MMSI, Trip, SOG, COG) AS
SELECT MMSI,
tgeompoint_seq(array_agg(tgeompoint_inst(ST_Transform(Geom, 25832), T) ORDER BY T)),
tfloat_seq(array_agg(tfloat_inst(SOG, T) ORDER BY T) FILTER (WHERE SOG IS NOT NULL)),
tfloat_seq(array_agg(tfloat_inst(COG, T) ORDER BY T) FILTER (WHERE COG IS NOT NULL))
tgeompointSeq(array_agg(tgeompoint(ST_Transform(Geom, 25832), T) ORDER BY T)),
tfloatSeq(array_agg(tfloat(SOG, T) ORDER BY T) FILTER (WHERE SOG IS NOT NULL)),
tfloatSeq(array_agg(tfloat(COG, T) ORDER BY T) FILTER (WHERE COG IS NOT NULL))
FROM AISInputFiltered
GROUP BY MMSI;
-- Query returned successfully: 6264 rows affected, 00:52 minutes execution time.
Expand Down
Loading

0 comments on commit 738a633

Please sign in to comment.