Skip to content

Instantly share code, notes, and snippets.

View ragnvald's full-sized avatar
🏠
Working from wherever I am

Ragnvald Larsen ragnvald

🏠
Working from wherever I am
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
latitude;longitude;altitude(m);heading(deg);curvesize(m);rotationdir;gimbalmode;gimbalpitchangle;actiontype1;actionparam1;actiontype2;actionparam2;actiontype3;actionparam3;actiontype4;actionparam4;actiontype5;actionparam5;actiontype6;actionparam6;actiontype7;actionparam7;actiontype8;actionparam8;actiontype9;actionparam9;actiontype10;actionparam10;actiontype11;actionparam11;actiontype12;actionparam12;actiontype13;actionparam13;actiontype14;actionparam14;actiontype15;actionparam15;altitudemode;speed(m/s);poi_latitude;poi_longitude;poi_altitude(m);poi_altitudemode;photo_timeinterval;photo_distinterval
65.77204893470432;12.476000860333443;30;0;1;0;0;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;0;0;0;0;0;0;-1;200
65.76686786681894;12.466401904821396;30;0;1;0;0;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;0;0;0;0;0;0;-1;200
65.76795967496432;12.463109157979488;30;0;1;0;0;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;-1;0;0;0;0
@ragnvald
ragnvald / qdgc_get_recursivestring.sql
Created January 13, 2021 19:38
Reference for stackexchange question
-- FUNCTION: public.qdgc_get_recursivestring(double precision, double precision, integer, text)
DROP FUNCTION public.qdgc_get_recursivestring(double precision, double precision, integer, text);
CREATE OR REPLACE FUNCTION public.qdgc_get_recursivestring(
lon_value double precision,
lat_value double precision,
depthlevel integer,
square text)
RETURNS text