BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400664057583 -5.0629100762308)', '2026-07-10 04:46:09', 4.2000122070312, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400662465021 -5.0629138480872)', '2026-07-10 04:46:13', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400664057583 -5.0629100762308)'), GeomFromEWKT('SRID=4674;POINT (-36.400662465021 -5.0629138480872)'))) / (select extract(epoch from '2026-07-10 04:46:13'::timestamp) - extract(epoch from '2026-07-10 04:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400664057583 -5.0629100762308)'), GeomFromEWKT('SRID=4674;POINT (-36.400662465021 -5.0629138480872)'))) / (select extract(epoch from '2026-07-10 04:46:13'::timestamp) - extract(epoch from '2026-07-10 04:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400668919086 -5.0629229843616)', '2026-07-10 04:48:06', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400662465021 -5.0629138480872)'), GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629229843616)'))) / (select extract(epoch from '2026-07-10 04:48:06'::timestamp) - extract(epoch from '2026-07-10 04:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400662465021 -5.0629138480872)'), GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629229843616)'))) / (select extract(epoch from '2026-07-10 04:48:06'::timestamp) - extract(epoch from '2026-07-10 04:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400668919086 -5.0629222299904)', '2026-07-10 04:48:07', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629229843616)'), GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629222299904)'))) / (select extract(epoch from '2026-07-10 04:48:07'::timestamp) - extract(epoch from '2026-07-10 04:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629229843616)'), GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629222299904)'))) / (select extract(epoch from '2026-07-10 04:48:07'::timestamp) - extract(epoch from '2026-07-10 04:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400676546618 -5.0629236549139)', '2026-07-10 04:48:46', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629222299904)'), GeomFromEWKT('SRID=4674;POINT (-36.400676546618 -5.0629236549139)'))) / (select extract(epoch from '2026-07-10 04:48:46'::timestamp) - extract(epoch from '2026-07-10 04:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400668919086 -5.0629222299904)'), GeomFromEWKT('SRID=4674;POINT (-36.400676546618 -5.0629236549139)'))) / (select extract(epoch from '2026-07-10 04:48:46'::timestamp) - extract(epoch from '2026-07-10 04:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400675876066 -5.062923822552)', '2026-07-10 04:48:47', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400676546618 -5.0629236549139)'), GeomFromEWKT('SRID=4674;POINT (-36.400675876066 -5.062923822552)'))) / (select extract(epoch from '2026-07-10 04:48:47'::timestamp) - extract(epoch from '2026-07-10 04:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400676546618 -5.0629236549139)'), GeomFromEWKT('SRID=4674;POINT (-36.400675876066 -5.062923822552)'))) / (select extract(epoch from '2026-07-10 04:48:47'::timestamp) - extract(epoch from '2026-07-10 04:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.40068157576 -5.0629279296845)', '2026-07-10 04:49:26', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400675876066 -5.062923822552)'), GeomFromEWKT('SRID=4674;POINT (-36.40068157576 -5.0629279296845)'))) / (select extract(epoch from '2026-07-10 04:49:26'::timestamp) - extract(epoch from '2026-07-10 04:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400675876066 -5.062923822552)'), GeomFromEWKT('SRID=4674;POINT (-36.40068157576 -5.0629279296845)'))) / (select extract(epoch from '2026-07-10 04:49:26'::timestamp) - extract(epoch from '2026-07-10 04:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400693478063 -5.0629355572164)', '2026-07-10 04:50:13', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40068157576 -5.0629279296845)'), GeomFromEWKT('SRID=4674;POINT (-36.400693478063 -5.0629355572164)'))) / (select extract(epoch from '2026-07-10 04:50:13'::timestamp) - extract(epoch from '2026-07-10 04:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40068157576 -5.0629279296845)'), GeomFromEWKT('SRID=4674;POINT (-36.400693478063 -5.0629355572164)'))) / (select extract(epoch from '2026-07-10 04:50:13'::timestamp) - extract(epoch from '2026-07-10 04:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400698255748 -5.0629403349012)', '2026-07-10 04:51:04', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400693478063 -5.0629355572164)'), GeomFromEWKT('SRID=4674;POINT (-36.400698255748 -5.0629403349012)'))) / (select extract(epoch from '2026-07-10 04:51:04'::timestamp) - extract(epoch from '2026-07-10 04:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400693478063 -5.0629355572164)'), GeomFromEWKT('SRID=4674;POINT (-36.400698255748 -5.0629403349012)'))) / (select extract(epoch from '2026-07-10 04:51:04'::timestamp) - extract(epoch from '2026-07-10 04:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400710577145 -5.0629537459463)', '2026-07-10 04:51:55', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400698255748 -5.0629403349012)'), GeomFromEWKT('SRID=4674;POINT (-36.400710577145 -5.0629537459463)'))) / (select extract(epoch from '2026-07-10 04:51:55'::timestamp) - extract(epoch from '2026-07-10 04:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400698255748 -5.0629403349012)'), GeomFromEWKT('SRID=4674;POINT (-36.400710577145 -5.0629537459463)'))) / (select extract(epoch from '2026-07-10 04:51:55'::timestamp) - extract(epoch from '2026-07-10 04:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400694064796 -5.0629363954067)', '2026-07-10 04:52:45', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400710577145 -5.0629537459463)'), GeomFromEWKT('SRID=4674;POINT (-36.400694064796 -5.0629363954067)'))) / (select extract(epoch from '2026-07-10 04:52:45'::timestamp) - extract(epoch from '2026-07-10 04:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400710577145 -5.0629537459463)'), GeomFromEWKT('SRID=4674;POINT (-36.400694064796 -5.0629363954067)'))) / (select extract(epoch from '2026-07-10 04:52:45'::timestamp) - extract(epoch from '2026-07-10 04:51:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400694316253 -5.0629421789199)', '2026-07-10 04:53:35', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400694064796 -5.0629363954067)'), GeomFromEWKT('SRID=4674;POINT (-36.400694316253 -5.0629421789199)'))) / (select extract(epoch from '2026-07-10 04:53:35'::timestamp) - extract(epoch from '2026-07-10 04:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400694064796 -5.0629363954067)'), GeomFromEWKT('SRID=4674;POINT (-36.400694316253 -5.0629421789199)'))) / (select extract(epoch from '2026-07-10 04:53:35'::timestamp) - extract(epoch from '2026-07-10 04:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400695238262 -5.06293438375)', '2026-07-10 04:54:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400694316253 -5.0629421789199)'), GeomFromEWKT('SRID=4674;POINT (-36.400695238262 -5.06293438375)'))) / (select extract(epoch from '2026-07-10 04:54:21'::timestamp) - extract(epoch from '2026-07-10 04:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400694316253 -5.0629421789199)'), GeomFromEWKT('SRID=4674;POINT (-36.400695238262 -5.06293438375)'))) / (select extract(epoch from '2026-07-10 04:54:21'::timestamp) - extract(epoch from '2026-07-10 04:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400682581589 -5.0629274267703)', '2026-07-10 04:55:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400695238262 -5.06293438375)'), GeomFromEWKT('SRID=4674;POINT (-36.400682581589 -5.0629274267703)'))) / (select extract(epoch from '2026-07-10 04:55:03'::timestamp) - extract(epoch from '2026-07-10 04:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400695238262 -5.06293438375)'), GeomFromEWKT('SRID=4674;POINT (-36.400682581589 -5.0629274267703)'))) / (select extract(epoch from '2026-07-10 04:55:03'::timestamp) - extract(epoch from '2026-07-10 04:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400670679286 -5.0629194639623)', '2026-07-10 04:55:38', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400682581589 -5.0629274267703)'), GeomFromEWKT('SRID=4674;POINT (-36.400670679286 -5.0629194639623)'))) / (select extract(epoch from '2026-07-10 04:55:38'::timestamp) - extract(epoch from '2026-07-10 04:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400682581589 -5.0629274267703)'), GeomFromEWKT('SRID=4674;POINT (-36.400670679286 -5.0629194639623)'))) / (select extract(epoch from '2026-07-10 04:55:38'::timestamp) - extract(epoch from '2026-07-10 04:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398362722248 -5.0597387831658)', '2026-07-10 05:31:38', 0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400670679286 -5.0629194639623)'), GeomFromEWKT('SRID=4674;POINT (-36.398362722248 -5.0597387831658)'))) / (select extract(epoch from '2026-07-10 05:31:38'::timestamp) - extract(epoch from '2026-07-10 04:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400670679286 -5.0629194639623)'), GeomFromEWKT('SRID=4674;POINT (-36.398362722248 -5.0597387831658)'))) / (select extract(epoch from '2026-07-10 05:31:38'::timestamp) - extract(epoch from '2026-07-10 04:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398317795247 -5.0597908347845)', '2026-07-10 05:31:42', -1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398362722248 -5.0597387831658)'), GeomFromEWKT('SRID=4674;POINT (-36.398317795247 -5.0597908347845)'))) / (select extract(epoch from '2026-07-10 05:31:42'::timestamp) - extract(epoch from '2026-07-10 05:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398362722248 -5.0597387831658)'), GeomFromEWKT('SRID=4674;POINT (-36.398317795247 -5.0597908347845)'))) / (select extract(epoch from '2026-07-10 05:31:42'::timestamp) - extract(epoch from '2026-07-10 05:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398277645931 -5.0598245300353)', '2026-07-10 05:31:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398317795247 -5.0597908347845)'), GeomFromEWKT('SRID=4674;POINT (-36.398277645931 -5.0598245300353)'))) / (select extract(epoch from '2026-07-10 05:31:45'::timestamp) - extract(epoch from '2026-07-10 05:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398317795247 -5.0597908347845)'), GeomFromEWKT('SRID=4674;POINT (-36.398277645931 -5.0598245300353)'))) / (select extract(epoch from '2026-07-10 05:31:45'::timestamp) - extract(epoch from '2026-07-10 05:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398147055879 -5.0599260348827)', '2026-07-10 05:31:54', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398277645931 -5.0598245300353)'), GeomFromEWKT('SRID=4674;POINT (-36.398147055879 -5.0599260348827)'))) / (select extract(epoch from '2026-07-10 05:31:54'::timestamp) - extract(epoch from '2026-07-10 05:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398277645931 -5.0598245300353)'), GeomFromEWKT('SRID=4674;POINT (-36.398147055879 -5.0599260348827)'))) / (select extract(epoch from '2026-07-10 05:31:54'::timestamp) - extract(epoch from '2026-07-10 05:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398090394214 -5.0600387714803)', '2026-07-10 05:32:01', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398147055879 -5.0599260348827)'), GeomFromEWKT('SRID=4674;POINT (-36.398090394214 -5.0600387714803)'))) / (select extract(epoch from '2026-07-10 05:32:01'::timestamp) - extract(epoch from '2026-07-10 05:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398147055879 -5.0599260348827)'), GeomFromEWKT('SRID=4674;POINT (-36.398090394214 -5.0600387714803)'))) / (select extract(epoch from '2026-07-10 05:32:01'::timestamp) - extract(epoch from '2026-07-10 05:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398112522438 -5.0601510889828)', '2026-07-10 05:32:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398090394214 -5.0600387714803)'), GeomFromEWKT('SRID=4674;POINT (-36.398112522438 -5.0601510889828)'))) / (select extract(epoch from '2026-07-10 05:32:07'::timestamp) - extract(epoch from '2026-07-10 05:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398090394214 -5.0600387714803)'), GeomFromEWKT('SRID=4674;POINT (-36.398112522438 -5.0601510889828)'))) / (select extract(epoch from '2026-07-10 05:32:07'::timestamp) - extract(epoch from '2026-07-10 05:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398177482188 -5.0602714531124)', '2026-07-10 05:32:14', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398112522438 -5.0601510889828)'), GeomFromEWKT('SRID=4674;POINT (-36.398177482188 -5.0602714531124)'))) / (select extract(epoch from '2026-07-10 05:32:14'::timestamp) - extract(epoch from '2026-07-10 05:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398112522438 -5.0601510889828)'), GeomFromEWKT('SRID=4674;POINT (-36.398177482188 -5.0602714531124)'))) / (select extract(epoch from '2026-07-10 05:32:14'::timestamp) - extract(epoch from '2026-07-10 05:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398295667022 -5.060349823907)', '2026-07-10 05:32:21', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398177482188 -5.0602714531124)'), GeomFromEWKT('SRID=4674;POINT (-36.398295667022 -5.060349823907)'))) / (select extract(epoch from '2026-07-10 05:32:21'::timestamp) - extract(epoch from '2026-07-10 05:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398177482188 -5.0602714531124)'), GeomFromEWKT('SRID=4674;POINT (-36.398295667022 -5.060349823907)'))) / (select extract(epoch from '2026-07-10 05:32:21'::timestamp) - extract(epoch from '2026-07-10 05:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398460790515 -5.0604366604239)', '2026-07-10 05:32:30', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398295667022 -5.060349823907)'), GeomFromEWKT('SRID=4674;POINT (-36.398460790515 -5.0604366604239)'))) / (select extract(epoch from '2026-07-10 05:32:30'::timestamp) - extract(epoch from '2026-07-10 05:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398295667022 -5.060349823907)'), GeomFromEWKT('SRID=4674;POINT (-36.398460790515 -5.0604366604239)'))) / (select extract(epoch from '2026-07-10 05:32:30'::timestamp) - extract(epoch from '2026-07-10 05:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398601355031 -5.0604848563671)', '2026-07-10 05:32:37', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398460790515 -5.0604366604239)'), GeomFromEWKT('SRID=4674;POINT (-36.398601355031 -5.0604848563671)'))) / (select extract(epoch from '2026-07-10 05:32:37'::timestamp) - extract(epoch from '2026-07-10 05:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398460790515 -5.0604366604239)'), GeomFromEWKT('SRID=4674;POINT (-36.398601355031 -5.0604848563671)'))) / (select extract(epoch from '2026-07-10 05:32:37'::timestamp) - extract(epoch from '2026-07-10 05:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398769663647 -5.0605382490903)', '2026-07-10 05:32:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398601355031 -5.0604848563671)'), GeomFromEWKT('SRID=4674;POINT (-36.398769663647 -5.0605382490903)'))) / (select extract(epoch from '2026-07-10 05:32:45'::timestamp) - extract(epoch from '2026-07-10 05:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398601355031 -5.0604848563671)'), GeomFromEWKT('SRID=4674;POINT (-36.398769663647 -5.0605382490903)'))) / (select extract(epoch from '2026-07-10 05:32:45'::timestamp) - extract(epoch from '2026-07-10 05:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.398900756612 -5.0605938211083)', '2026-07-10 05:32:52', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398769663647 -5.0605382490903)'), GeomFromEWKT('SRID=4674;POINT (-36.398900756612 -5.0605938211083)'))) / (select extract(epoch from '2026-07-10 05:32:52'::timestamp) - extract(epoch from '2026-07-10 05:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398769663647 -5.0605382490903)'), GeomFromEWKT('SRID=4674;POINT (-36.398900756612 -5.0605938211083)'))) / (select extract(epoch from '2026-07-10 05:32:52'::timestamp) - extract(epoch from '2026-07-10 05:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399015672505 -5.0606160331517)', '2026-07-10 05:32:57', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398900756612 -5.0605938211083)'), GeomFromEWKT('SRID=4674;POINT (-36.399015672505 -5.0606160331517)'))) / (select extract(epoch from '2026-07-10 05:32:57'::timestamp) - extract(epoch from '2026-07-10 05:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.398900756612 -5.0605938211083)'), GeomFromEWKT('SRID=4674;POINT (-36.399015672505 -5.0606160331517)'))) / (select extract(epoch from '2026-07-10 05:32:57'::timestamp) - extract(epoch from '2026-07-10 05:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.39904987067 -5.0606132671237)', '2026-07-10 05:32:59', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399015672505 -5.0606160331517)'), GeomFromEWKT('SRID=4674;POINT (-36.39904987067 -5.0606132671237)'))) / (select extract(epoch from '2026-07-10 05:32:59'::timestamp) - extract(epoch from '2026-07-10 05:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399015672505 -5.0606160331517)'), GeomFromEWKT('SRID=4674;POINT (-36.39904987067 -5.0606132671237)'))) / (select extract(epoch from '2026-07-10 05:32:59'::timestamp) - extract(epoch from '2026-07-10 05:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399117428809 -5.0606248341501)', '2026-07-10 05:33:02', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.39904987067 -5.0606132671237)'), GeomFromEWKT('SRID=4674;POINT (-36.399117428809 -5.0606248341501)'))) / (select extract(epoch from '2026-07-10 05:33:02'::timestamp) - extract(epoch from '2026-07-10 05:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.39904987067 -5.0606132671237)'), GeomFromEWKT('SRID=4674;POINT (-36.399117428809 -5.0606248341501)'))) / (select extract(epoch from '2026-07-10 05:33:02'::timestamp) - extract(epoch from '2026-07-10 05:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399252461269 -5.0606461241841)', '2026-07-10 05:33:09', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399117428809 -5.0606248341501)'), GeomFromEWKT('SRID=4674;POINT (-36.399252461269 -5.0606461241841)'))) / (select extract(epoch from '2026-07-10 05:33:09'::timestamp) - extract(epoch from '2026-07-10 05:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399117428809 -5.0606248341501)'), GeomFromEWKT('SRID=4674;POINT (-36.399252461269 -5.0606461241841)'))) / (select extract(epoch from '2026-07-10 05:33:09'::timestamp) - extract(epoch from '2026-07-10 05:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399414232001 -5.0607262551785)', '2026-07-10 05:33:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399252461269 -5.0606461241841)'), GeomFromEWKT('SRID=4674;POINT (-36.399414232001 -5.0607262551785)'))) / (select extract(epoch from '2026-07-10 05:33:18'::timestamp) - extract(epoch from '2026-07-10 05:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399252461269 -5.0606461241841)'), GeomFromEWKT('SRID=4674;POINT (-36.399414232001 -5.0607262551785)'))) / (select extract(epoch from '2026-07-10 05:33:18'::timestamp) - extract(epoch from '2026-07-10 05:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399535685778 -5.0608054641634)', '2026-07-10 05:33:25', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399414232001 -5.0607262551785)'), GeomFromEWKT('SRID=4674;POINT (-36.399535685778 -5.0608054641634)'))) / (select extract(epoch from '2026-07-10 05:33:25'::timestamp) - extract(epoch from '2026-07-10 05:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399414232001 -5.0607262551785)'), GeomFromEWKT('SRID=4674;POINT (-36.399535685778 -5.0608054641634)'))) / (select extract(epoch from '2026-07-10 05:33:25'::timestamp) - extract(epoch from '2026-07-10 05:33:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399638280272 -5.0608739443123)', '2026-07-10 05:33:31', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399535685778 -5.0608054641634)'), GeomFromEWKT('SRID=4674;POINT (-36.399638280272 -5.0608739443123)'))) / (select extract(epoch from '2026-07-10 05:33:31'::timestamp) - extract(epoch from '2026-07-10 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399535685778 -5.0608054641634)'), GeomFromEWKT('SRID=4674;POINT (-36.399638280272 -5.0608739443123)'))) / (select extract(epoch from '2026-07-10 05:33:31'::timestamp) - extract(epoch from '2026-07-10 05:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399772223085 -5.0609716773033)', '2026-07-10 05:33:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399638280272 -5.0608739443123)'), GeomFromEWKT('SRID=4674;POINT (-36.399772223085 -5.0609716773033)'))) / (select extract(epoch from '2026-07-10 05:33:39'::timestamp) - extract(epoch from '2026-07-10 05:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399638280272 -5.0608739443123)'), GeomFromEWKT('SRID=4674;POINT (-36.399772223085 -5.0609716773033)'))) / (select extract(epoch from '2026-07-10 05:33:39'::timestamp) - extract(epoch from '2026-07-10 05:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.39984196052 -5.061047533527)', '2026-07-10 05:33:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399772223085 -5.0609716773033)'), GeomFromEWKT('SRID=4674;POINT (-36.39984196052 -5.061047533527)'))) / (select extract(epoch from '2026-07-10 05:33:45'::timestamp) - extract(epoch from '2026-07-10 05:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399772223085 -5.0609716773033)'), GeomFromEWKT('SRID=4674;POINT (-36.39984196052 -5.061047533527)'))) / (select extract(epoch from '2026-07-10 05:33:45'::timestamp) - extract(epoch from '2026-07-10 05:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.399922678247 -5.061155743897)', '2026-07-10 05:33:51', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.39984196052 -5.061047533527)'), GeomFromEWKT('SRID=4674;POINT (-36.399922678247 -5.061155743897)'))) / (select extract(epoch from '2026-07-10 05:33:51'::timestamp) - extract(epoch from '2026-07-10 05:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.39984196052 -5.061047533527)'), GeomFromEWKT('SRID=4674;POINT (-36.399922678247 -5.061155743897)'))) / (select extract(epoch from '2026-07-10 05:33:51'::timestamp) - extract(epoch from '2026-07-10 05:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400032648817 -5.0612418260425)', '2026-07-10 05:33:58', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399922678247 -5.061155743897)'), GeomFromEWKT('SRID=4674;POINT (-36.400032648817 -5.0612418260425)'))) / (select extract(epoch from '2026-07-10 05:33:58'::timestamp) - extract(epoch from '2026-07-10 05:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.399922678247 -5.061155743897)'), GeomFromEWKT('SRID=4674;POINT (-36.400032648817 -5.0612418260425)'))) / (select extract(epoch from '2026-07-10 05:33:58'::timestamp) - extract(epoch from '2026-07-10 05:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400130465627 -5.0613074563444)', '2026-07-10 05:34:04', 0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400032648817 -5.0612418260425)'), GeomFromEWKT('SRID=4674;POINT (-36.400130465627 -5.0613074563444)'))) / (select extract(epoch from '2026-07-10 05:34:04'::timestamp) - extract(epoch from '2026-07-10 05:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400032648817 -5.0612418260425)'), GeomFromEWKT('SRID=4674;POINT (-36.400130465627 -5.0613074563444)'))) / (select extract(epoch from '2026-07-10 05:34:04'::timestamp) - extract(epoch from '2026-07-10 05:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400225097314 -5.0613909401)', '2026-07-10 05:34:10', 0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400130465627 -5.0613074563444)'), GeomFromEWKT('SRID=4674;POINT (-36.400225097314 -5.0613909401)'))) / (select extract(epoch from '2026-07-10 05:34:10'::timestamp) - extract(epoch from '2026-07-10 05:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400130465627 -5.0613074563444)'), GeomFromEWKT('SRID=4674;POINT (-36.400225097314 -5.0613909401)'))) / (select extract(epoch from '2026-07-10 05:34:10'::timestamp) - extract(epoch from '2026-07-10 05:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400319058448 -5.061478195712)', '2026-07-10 05:34:16', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400225097314 -5.0613909401)'), GeomFromEWKT('SRID=4674;POINT (-36.400319058448 -5.061478195712)'))) / (select extract(epoch from '2026-07-10 05:34:16'::timestamp) - extract(epoch from '2026-07-10 05:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400225097314 -5.0613909401)'), GeomFromEWKT('SRID=4674;POINT (-36.400319058448 -5.061478195712)'))) / (select extract(epoch from '2026-07-10 05:34:16'::timestamp) - extract(epoch from '2026-07-10 05:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400408660993 -5.0615716539323)', '2026-07-10 05:34:23', 0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400319058448 -5.061478195712)'), GeomFromEWKT('SRID=4674;POINT (-36.400408660993 -5.0615716539323)'))) / (select extract(epoch from '2026-07-10 05:34:23'::timestamp) - extract(epoch from '2026-07-10 05:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400319058448 -5.061478195712)'), GeomFromEWKT('SRID=4674;POINT (-36.400408660993 -5.0615716539323)'))) / (select extract(epoch from '2026-07-10 05:34:23'::timestamp) - extract(epoch from '2026-07-10 05:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400462053716 -5.0616674590856)', '2026-07-10 05:34:29', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400408660993 -5.0615716539323)'), GeomFromEWKT('SRID=4674;POINT (-36.400462053716 -5.0616674590856)'))) / (select extract(epoch from '2026-07-10 05:34:29'::timestamp) - extract(epoch from '2026-07-10 05:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400408660993 -5.0615716539323)'), GeomFromEWKT('SRID=4674;POINT (-36.400462053716 -5.0616674590856)'))) / (select extract(epoch from '2026-07-10 05:34:29'::timestamp) - extract(epoch from '2026-07-10 05:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400514356792 -5.0617732387036)', '2026-07-10 05:34:35', 0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400462053716 -5.0616674590856)'), GeomFromEWKT('SRID=4674;POINT (-36.400514356792 -5.0617732387036)'))) / (select extract(epoch from '2026-07-10 05:34:35'::timestamp) - extract(epoch from '2026-07-10 05:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400462053716 -5.0616674590856)'), GeomFromEWKT('SRID=4674;POINT (-36.400514356792 -5.0617732387036)'))) / (select extract(epoch from '2026-07-10 05:34:35'::timestamp) - extract(epoch from '2026-07-10 05:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400584764779 -5.0618833769113)', '2026-07-10 05:34:42', 0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400514356792 -5.0617732387036)'), GeomFromEWKT('SRID=4674;POINT (-36.400584764779 -5.0618833769113)'))) / (select extract(epoch from '2026-07-10 05:34:42'::timestamp) - extract(epoch from '2026-07-10 05:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400514356792 -5.0617732387036)'), GeomFromEWKT('SRID=4674;POINT (-36.400584764779 -5.0618833769113)'))) / (select extract(epoch from '2026-07-10 05:34:42'::timestamp) - extract(epoch from '2026-07-10 05:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400597672909 -5.0620216783136)', '2026-07-10 05:34:50', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400584764779 -5.0618833769113)'), GeomFromEWKT('SRID=4674;POINT (-36.400597672909 -5.0620216783136)'))) / (select extract(epoch from '2026-07-10 05:34:50'::timestamp) - extract(epoch from '2026-07-10 05:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400584764779 -5.0618833769113)'), GeomFromEWKT('SRID=4674;POINT (-36.400597672909 -5.0620216783136)'))) / (select extract(epoch from '2026-07-10 05:34:50'::timestamp) - extract(epoch from '2026-07-10 05:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400621728972 -5.0621531903744)', '2026-07-10 05:34:57', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400597672909 -5.0620216783136)'), GeomFromEWKT('SRID=4674;POINT (-36.400621728972 -5.0621531903744)'))) / (select extract(epoch from '2026-07-10 05:34:57'::timestamp) - extract(epoch from '2026-07-10 05:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400597672909 -5.0620216783136)'), GeomFromEWKT('SRID=4674;POINT (-36.400621728972 -5.0621531903744)'))) / (select extract(epoch from '2026-07-10 05:34:57'::timestamp) - extract(epoch from '2026-07-10 05:34:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400666991249 -5.0622332375497)', '2026-07-10 05:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400621728972 -5.0621531903744)'), GeomFromEWKT('SRID=4674;POINT (-36.400666991249 -5.0622332375497)'))) / (select extract(epoch from '2026-07-10 05:35:02'::timestamp) - extract(epoch from '2026-07-10 05:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400621728972 -5.0621531903744)'), GeomFromEWKT('SRID=4674;POINT (-36.400666991249 -5.0622332375497)'))) / (select extract(epoch from '2026-07-10 05:35:02'::timestamp) - extract(epoch from '2026-07-10 05:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400788445026 -5.0622940901667)', '2026-07-10 05:35:09', 0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400666991249 -5.0622332375497)'), GeomFromEWKT('SRID=4674;POINT (-36.400788445026 -5.0622940901667)'))) / (select extract(epoch from '2026-07-10 05:35:09'::timestamp) - extract(epoch from '2026-07-10 05:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400666991249 -5.0622332375497)'), GeomFromEWKT('SRID=4674;POINT (-36.400788445026 -5.0622940901667)'))) / (select extract(epoch from '2026-07-10 05:35:09'::timestamp) - extract(epoch from '2026-07-10 05:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400925572962 -5.062379417941)', '2026-07-10 05:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400788445026 -5.0622940901667)'), GeomFromEWKT('SRID=4674;POINT (-36.400925572962 -5.062379417941)'))) / (select extract(epoch from '2026-07-10 05:35:17'::timestamp) - extract(epoch from '2026-07-10 05:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400788445026 -5.0622940901667)'), GeomFromEWKT('SRID=4674;POINT (-36.400925572962 -5.062379417941)'))) / (select extract(epoch from '2026-07-10 05:35:17'::timestamp) - extract(epoch from '2026-07-10 05:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.401042081416 -5.0624604709446)', '2026-07-10 05:35:24', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400925572962 -5.062379417941)'), GeomFromEWKT('SRID=4674;POINT (-36.401042081416 -5.0624604709446)'))) / (select extract(epoch from '2026-07-10 05:35:24'::timestamp) - extract(epoch from '2026-07-10 05:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400925572962 -5.062379417941)'), GeomFromEWKT('SRID=4674;POINT (-36.401042081416 -5.0624604709446)'))) / (select extract(epoch from '2026-07-10 05:35:24'::timestamp) - extract(epoch from '2026-07-10 05:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.401173761114 -5.0625232513994)', '2026-07-10 05:35:31', -0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401042081416 -5.0624604709446)'), GeomFromEWKT('SRID=4674;POINT (-36.401173761114 -5.0625232513994)'))) / (select extract(epoch from '2026-07-10 05:35:31'::timestamp) - extract(epoch from '2026-07-10 05:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401042081416 -5.0624604709446)'), GeomFromEWKT('SRID=4674;POINT (-36.401173761114 -5.0625232513994)'))) / (select extract(epoch from '2026-07-10 05:35:31'::timestamp) - extract(epoch from '2026-07-10 05:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.401301333681 -5.0626191403717)', '2026-07-10 05:35:39', -0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401173761114 -5.0625232513994)'), GeomFromEWKT('SRID=4674;POINT (-36.401301333681 -5.0626191403717)'))) / (select extract(epoch from '2026-07-10 05:35:39'::timestamp) - extract(epoch from '2026-07-10 05:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401173761114 -5.0625232513994)'), GeomFromEWKT('SRID=4674;POINT (-36.401301333681 -5.0626191403717)'))) / (select extract(epoch from '2026-07-10 05:35:39'::timestamp) - extract(epoch from '2026-07-10 05:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.401373920962 -5.0627401750535)', '2026-07-10 05:35:47', -1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401301333681 -5.0626191403717)'), GeomFromEWKT('SRID=4674;POINT (-36.401373920962 -5.0627401750535)'))) / (select extract(epoch from '2026-07-10 05:35:47'::timestamp) - extract(epoch from '2026-07-10 05:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401301333681 -5.0626191403717)'), GeomFromEWKT('SRID=4674;POINT (-36.401373920962 -5.0627401750535)'))) / (select extract(epoch from '2026-07-10 05:35:47'::timestamp) - extract(epoch from '2026-07-10 05:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.401360174641 -5.0627991836518)', '2026-07-10 05:35:51', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401373920962 -5.0627401750535)'), GeomFromEWKT('SRID=4674;POINT (-36.401360174641 -5.0627991836518)'))) / (select extract(epoch from '2026-07-10 05:35:51'::timestamp) - extract(epoch from '2026-07-10 05:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401373920962 -5.0627401750535)'), GeomFromEWKT('SRID=4674;POINT (-36.401360174641 -5.0627991836518)'))) / (select extract(epoch from '2026-07-10 05:35:51'::timestamp) - extract(epoch from '2026-07-10 05:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.401338297874 -5.0628180429339)', '2026-07-10 05:35:53', -0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401360174641 -5.0627991836518)'), GeomFromEWKT('SRID=4674;POINT (-36.401338297874 -5.0628180429339)'))) / (select extract(epoch from '2026-07-10 05:35:53'::timestamp) - extract(epoch from '2026-07-10 05:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401360174641 -5.0627991836518)'), GeomFromEWKT('SRID=4674;POINT (-36.401338297874 -5.0628180429339)'))) / (select extract(epoch from '2026-07-10 05:35:53'::timestamp) - extract(epoch from '2026-07-10 05:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.40123218298 -5.0628509838134)', '2026-07-10 05:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401338297874 -5.0628180429339)'), GeomFromEWKT('SRID=4674;POINT (-36.40123218298 -5.0628509838134)'))) / (select extract(epoch from '2026-07-10 05:36:00'::timestamp) - extract(epoch from '2026-07-10 05:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401338297874 -5.0628180429339)'), GeomFromEWKT('SRID=4674;POINT (-36.40123218298 -5.0628509838134)'))) / (select extract(epoch from '2026-07-10 05:36:00'::timestamp) - extract(epoch from '2026-07-10 05:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.401092372835 -5.0628856848925)', '2026-07-10 05:36:08', 0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40123218298 -5.0628509838134)'), GeomFromEWKT('SRID=4674;POINT (-36.401092372835 -5.0628856848925)'))) / (select extract(epoch from '2026-07-10 05:36:08'::timestamp) - extract(epoch from '2026-07-10 05:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40123218298 -5.0628509838134)'), GeomFromEWKT('SRID=4674;POINT (-36.401092372835 -5.0628856848925)'))) / (select extract(epoch from '2026-07-10 05:36:08'::timestamp) - extract(epoch from '2026-07-10 05:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400977792218 -5.0628998503089)', '2026-07-10 05:36:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401092372835 -5.0628856848925)'), GeomFromEWKT('SRID=4674;POINT (-36.400977792218 -5.0628998503089)'))) / (select extract(epoch from '2026-07-10 05:36:15'::timestamp) - extract(epoch from '2026-07-10 05:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.401092372835 -5.0628856848925)'), GeomFromEWKT('SRID=4674;POINT (-36.400977792218 -5.0628998503089)'))) / (select extract(epoch from '2026-07-10 05:36:15'::timestamp) - extract(epoch from '2026-07-10 05:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400847621262 -5.0629009399563)', '2026-07-10 05:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400977792218 -5.0628998503089)'), GeomFromEWKT('SRID=4674;POINT (-36.400847621262 -5.0629009399563)'))) / (select extract(epoch from '2026-07-10 05:36:24'::timestamp) - extract(epoch from '2026-07-10 05:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400977792218 -5.0628998503089)'), GeomFromEWKT('SRID=4674;POINT (-36.400847621262 -5.0629009399563)'))) / (select extract(epoch from '2026-07-10 05:36:24'::timestamp) - extract(epoch from '2026-07-10 05:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400755336508 -5.062905298546)', '2026-07-10 05:36:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400847621262 -5.0629009399563)'), GeomFromEWKT('SRID=4674;POINT (-36.400755336508 -5.062905298546)'))) / (select extract(epoch from '2026-07-10 05:36:32'::timestamp) - extract(epoch from '2026-07-10 05:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400847621262 -5.0629009399563)'), GeomFromEWKT('SRID=4674;POINT (-36.400755336508 -5.062905298546)'))) / (select extract(epoch from '2026-07-10 05:36:32'::timestamp) - extract(epoch from '2026-07-10 05:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400705128908 -5.0629189610481)', '2026-07-10 05:36:39', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400755336508 -5.062905298546)'), GeomFromEWKT('SRID=4674;POINT (-36.400705128908 -5.0629189610481)'))) / (select extract(epoch from '2026-07-10 05:36:39'::timestamp) - extract(epoch from '2026-07-10 05:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400755336508 -5.062905298546)'), GeomFromEWKT('SRID=4674;POINT (-36.400705128908 -5.0629189610481)'))) / (select extract(epoch from '2026-07-10 05:36:39'::timestamp) - extract(epoch from '2026-07-10 05:36:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400666655973 -5.0629453640431)', '2026-07-10 05:36:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400705128908 -5.0629189610481)'), GeomFromEWKT('SRID=4674;POINT (-36.400666655973 -5.0629453640431)'))) / (select extract(epoch from '2026-07-10 05:36:48'::timestamp) - extract(epoch from '2026-07-10 05:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400705128908 -5.0629189610481)'), GeomFromEWKT('SRID=4674;POINT (-36.400666655973 -5.0629453640431)'))) / (select extract(epoch from '2026-07-10 05:36:48'::timestamp) - extract(epoch from '2026-07-10 05:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400619968772 -5.0629913806915)', '2026-07-10 05:36:58', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400666655973 -5.0629453640431)'), GeomFromEWKT('SRID=4674;POINT (-36.400619968772 -5.0629913806915)'))) / (select extract(epoch from '2026-07-10 05:36:58'::timestamp) - extract(epoch from '2026-07-10 05:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400666655973 -5.0629453640431)'), GeomFromEWKT('SRID=4674;POINT (-36.400619968772 -5.0629913806915)'))) / (select extract(epoch from '2026-07-10 05:36:58'::timestamp) - extract(epoch from '2026-07-10 05:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400590632111 -5.0630596932024)', '2026-07-10 05:37:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400619968772 -5.0629913806915)'), GeomFromEWKT('SRID=4674;POINT (-36.400590632111 -5.0630596932024)'))) / (select extract(epoch from '2026-07-10 05:37:07'::timestamp) - extract(epoch from '2026-07-10 05:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400619968772 -5.0629913806915)'), GeomFromEWKT('SRID=4674;POINT (-36.400590632111 -5.0630596932024)'))) / (select extract(epoch from '2026-07-10 05:37:07'::timestamp) - extract(epoch from '2026-07-10 05:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.40058375895 -5.0630768761039)', '2026-07-10 05:37:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400590632111 -5.0630596932024)'), GeomFromEWKT('SRID=4674;POINT (-36.40058375895 -5.0630768761039)'))) / (select extract(epoch from '2026-07-10 05:37:09'::timestamp) - extract(epoch from '2026-07-10 05:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400590632111 -5.0630596932024)'), GeomFromEWKT('SRID=4674;POINT (-36.40058375895 -5.0630768761039)'))) / (select extract(epoch from '2026-07-10 05:37:09'::timestamp) - extract(epoch from '2026-07-10 05:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400571018457 -5.0631002616137)', '2026-07-10 05:37:14', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40058375895 -5.0630768761039)'), GeomFromEWKT('SRID=4674;POINT (-36.400571018457 -5.0631002616137)'))) / (select extract(epoch from '2026-07-10 05:37:14'::timestamp) - extract(epoch from '2026-07-10 05:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40058375895 -5.0630768761039)'), GeomFromEWKT('SRID=4674;POINT (-36.400571018457 -5.0631002616137)'))) / (select extract(epoch from '2026-07-10 05:37:14'::timestamp) - extract(epoch from '2026-07-10 05:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.40056297183 -5.0631113257259)', '2026-07-10 05:37:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400571018457 -5.0631002616137)'), GeomFromEWKT('SRID=4674;POINT (-36.40056297183 -5.0631113257259)'))) / (select extract(epoch from '2026-07-10 05:37:25'::timestamp) - extract(epoch from '2026-07-10 05:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400571018457 -5.0631002616137)'), GeomFromEWKT('SRID=4674;POINT (-36.40056297183 -5.0631113257259)'))) / (select extract(epoch from '2026-07-10 05:37:25'::timestamp) - extract(epoch from '2026-07-10 05:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400586944073 -5.063087856397)', '2026-07-10 05:37:41', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40056297183 -5.0631113257259)'), GeomFromEWKT('SRID=4674;POINT (-36.400586944073 -5.063087856397)'))) / (select extract(epoch from '2026-07-10 05:37:41'::timestamp) - extract(epoch from '2026-07-10 05:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.40056297183 -5.0631113257259)'), GeomFromEWKT('SRID=4674;POINT (-36.400586944073 -5.063087856397)'))) / (select extract(epoch from '2026-07-10 05:37:41'::timestamp) - extract(epoch from '2026-07-10 05:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400646874681 -5.063013844192)', '2026-07-10 05:38:05', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400586944073 -5.063087856397)'), GeomFromEWKT('SRID=4674;POINT (-36.400646874681 -5.063013844192)'))) / (select extract(epoch from '2026-07-10 05:38:05'::timestamp) - extract(epoch from '2026-07-10 05:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400586944073 -5.063087856397)'), GeomFromEWKT('SRID=4674;POINT (-36.400646874681 -5.063013844192)'))) / (select extract(epoch from '2026-07-10 05:38:05'::timestamp) - extract(epoch from '2026-07-10 05:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400718120858 -5.0629494711757)', '2026-07-10 05:38:33', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400646874681 -5.063013844192)'), GeomFromEWKT('SRID=4674;POINT (-36.400718120858 -5.0629494711757)'))) / (select extract(epoch from '2026-07-10 05:38:33'::timestamp) - extract(epoch from '2026-07-10 05:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400646874681 -5.063013844192)'), GeomFromEWKT('SRID=4674;POINT (-36.400718120858 -5.0629494711757)'))) / (select extract(epoch from '2026-07-10 05:38:33'::timestamp) - extract(epoch from '2026-07-10 05:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400765897706 -5.0629044603556)', '2026-07-10 05:38:54', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400718120858 -5.0629494711757)'), GeomFromEWKT('SRID=4674;POINT (-36.400765897706 -5.0629044603556)'))) / (select extract(epoch from '2026-07-10 05:38:54'::timestamp) - extract(epoch from '2026-07-10 05:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400718120858 -5.0629494711757)'), GeomFromEWKT('SRID=4674;POINT (-36.400765897706 -5.0629044603556)'))) / (select extract(epoch from '2026-07-10 05:38:54'::timestamp) - extract(epoch from '2026-07-10 05:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47355, 'SRID=4674;POINT (-36.400791965425 -5.0628940667957)', '2026-07-10 05:39:07', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400765897706 -5.0629044603556)'), GeomFromEWKT('SRID=4674;POINT (-36.400791965425 -5.0628940667957)'))) / (select extract(epoch from '2026-07-10 05:39:07'::timestamp) - extract(epoch from '2026-07-10 05:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.400765897706 -5.0629044603556)'), GeomFromEWKT('SRID=4674;POINT (-36.400791965425 -5.0628940667957)'))) / (select extract(epoch from '2026-07-10 05:39:07'::timestamp) - extract(epoch from '2026-07-10 05:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
