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'), 47836, 'SRID=4674;POINT (-40.353725 -2.806994)', '2026-07-17 01:57:20', 1.8, 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'), 47836, 'SRID=4674;POINT (-40.35372 -2.806987)', '2026-07-17 01:57:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353725 -2.806994)'), GeomFromEWKT('SRID=4674;POINT (-40.35372 -2.806987)'))) / (select extract(epoch from '2026-07-17 01:57:38'::timestamp) - extract(epoch from '2026-07-17 01:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353725 -2.806994)'), GeomFromEWKT('SRID=4674;POINT (-40.35372 -2.806987)'))) / (select extract(epoch from '2026-07-17 01:57:38'::timestamp) - extract(epoch from '2026-07-17 01:57:20'::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'), 47836, 'SRID=4674;POINT (-40.353727 -2.807006)', '2026-07-17 01:57:57', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35372 -2.806987)'), GeomFromEWKT('SRID=4674;POINT (-40.353727 -2.807006)'))) / (select extract(epoch from '2026-07-17 01:57:57'::timestamp) - extract(epoch from '2026-07-17 01:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35372 -2.806987)'), GeomFromEWKT('SRID=4674;POINT (-40.353727 -2.807006)'))) / (select extract(epoch from '2026-07-17 01:57:57'::timestamp) - extract(epoch from '2026-07-17 01:57: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'), 47836, 'SRID=4674;POINT (-40.353728 -2.806986)', '2026-07-17 01:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353727 -2.807006)'), GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806986)'))) / (select extract(epoch from '2026-07-17 01:58:13'::timestamp) - extract(epoch from '2026-07-17 01:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353727 -2.807006)'), GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806986)'))) / (select extract(epoch from '2026-07-17 01:58:13'::timestamp) - extract(epoch from '2026-07-17 01:57: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'), 47836, 'SRID=4674;POINT (-40.353731 -2.806988)', '2026-07-17 01:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806986)'), GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806988)'))) / (select extract(epoch from '2026-07-17 01:58:33'::timestamp) - extract(epoch from '2026-07-17 01:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806986)'), GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806988)'))) / (select extract(epoch from '2026-07-17 01:58:33'::timestamp) - extract(epoch from '2026-07-17 01:58: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'), 47836, 'SRID=4674;POINT (-40.353728 -2.806988)', '2026-07-17 01:58:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806988)'))) / (select extract(epoch from '2026-07-17 01:58:54'::timestamp) - extract(epoch from '2026-07-17 01:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353731 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806988)'))) / (select extract(epoch from '2026-07-17 01:58:54'::timestamp) - extract(epoch from '2026-07-17 01:58: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'), 47836, 'SRID=4674;POINT (-40.35373 -2.806985)', '2026-07-17 01:59:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806985)'))) / (select extract(epoch from '2026-07-17 01:59:11'::timestamp) - extract(epoch from '2026-07-17 01:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353728 -2.806988)'), GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806985)'))) / (select extract(epoch from '2026-07-17 01:59:11'::timestamp) - extract(epoch from '2026-07-17 01:58: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'), 47836, 'SRID=4674;POINT (-40.353736 -2.806973)', '2026-07-17 01:59:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806985)'), GeomFromEWKT('SRID=4674;POINT (-40.353736 -2.806973)'))) / (select extract(epoch from '2026-07-17 01:59:37'::timestamp) - extract(epoch from '2026-07-17 01:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806985)'), GeomFromEWKT('SRID=4674;POINT (-40.353736 -2.806973)'))) / (select extract(epoch from '2026-07-17 01:59:37'::timestamp) - extract(epoch from '2026-07-17 01:59:11'::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'), 47836, 'SRID=4674;POINT (-40.353749 -2.806882)', '2026-07-17 01:59:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353736 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.353749 -2.806882)'))) / (select extract(epoch from '2026-07-17 01:59:51'::timestamp) - extract(epoch from '2026-07-17 01:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353736 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.353749 -2.806882)'))) / (select extract(epoch from '2026-07-17 01:59:51'::timestamp) - extract(epoch from '2026-07-17 01:59: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'), 47836, 'SRID=4674;POINT (-40.353747 -2.806785)', '2026-07-17 02:00:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353749 -2.806882)'), GeomFromEWKT('SRID=4674;POINT (-40.353747 -2.806785)'))) / (select extract(epoch from '2026-07-17 02:00:06'::timestamp) - extract(epoch from '2026-07-17 01:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353749 -2.806882)'), GeomFromEWKT('SRID=4674;POINT (-40.353747 -2.806785)'))) / (select extract(epoch from '2026-07-17 02:00:06'::timestamp) - extract(epoch from '2026-07-17 01:59: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'), 47836, 'SRID=4674;POINT (-40.353746 -2.806747)', '2026-07-17 02:00:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353747 -2.806785)'), GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806747)'))) / (select extract(epoch from '2026-07-17 02:00:24'::timestamp) - extract(epoch from '2026-07-17 02:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353747 -2.806785)'), GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806747)'))) / (select extract(epoch from '2026-07-17 02:00:24'::timestamp) - extract(epoch from '2026-07-17 02:00: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'), 47836, 'SRID=4674;POINT (-40.353751 -2.80675)', '2026-07-17 02:00:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806747)'), GeomFromEWKT('SRID=4674;POINT (-40.353751 -2.80675)'))) / (select extract(epoch from '2026-07-17 02:00:31'::timestamp) - extract(epoch from '2026-07-17 02:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.806747)'), GeomFromEWKT('SRID=4674;POINT (-40.353751 -2.80675)'))) / (select extract(epoch from '2026-07-17 02:00:31'::timestamp) - extract(epoch from '2026-07-17 02:00: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'), 47836, 'SRID=4674;POINT (-40.353755 -2.806757)', '2026-07-17 02:00:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353751 -2.80675)'), GeomFromEWKT('SRID=4674;POINT (-40.353755 -2.806757)'))) / (select extract(epoch from '2026-07-17 02:00:42'::timestamp) - extract(epoch from '2026-07-17 02:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353751 -2.80675)'), GeomFromEWKT('SRID=4674;POINT (-40.353755 -2.806757)'))) / (select extract(epoch from '2026-07-17 02:00:42'::timestamp) - extract(epoch from '2026-07-17 02:00: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'), 47836, 'SRID=4674;POINT (-40.35377 -2.806768)', '2026-07-17 02:00:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353755 -2.806757)'), GeomFromEWKT('SRID=4674;POINT (-40.35377 -2.806768)'))) / (select extract(epoch from '2026-07-17 02:00:53'::timestamp) - extract(epoch from '2026-07-17 02:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353755 -2.806757)'), GeomFromEWKT('SRID=4674;POINT (-40.35377 -2.806768)'))) / (select extract(epoch from '2026-07-17 02:00:53'::timestamp) - extract(epoch from '2026-07-17 02:00: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'), 47836, 'SRID=4674;POINT (-40.353784 -2.806771)', '2026-07-17 02:01:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35377 -2.806768)'), GeomFromEWKT('SRID=4674;POINT (-40.353784 -2.806771)'))) / (select extract(epoch from '2026-07-17 02:01:13'::timestamp) - extract(epoch from '2026-07-17 02:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35377 -2.806768)'), GeomFromEWKT('SRID=4674;POINT (-40.353784 -2.806771)'))) / (select extract(epoch from '2026-07-17 02:01:13'::timestamp) - extract(epoch from '2026-07-17 02:00: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'), 47836, 'SRID=4674;POINT (-40.353769 -2.806685)', '2026-07-17 02:01:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353784 -2.806771)'), GeomFromEWKT('SRID=4674;POINT (-40.353769 -2.806685)'))) / (select extract(epoch from '2026-07-17 02:01:25'::timestamp) - extract(epoch from '2026-07-17 02:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353784 -2.806771)'), GeomFromEWKT('SRID=4674;POINT (-40.353769 -2.806685)'))) / (select extract(epoch from '2026-07-17 02:01:25'::timestamp) - extract(epoch from '2026-07-17 02:01: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'), 47836, 'SRID=4674;POINT (-40.353775 -2.806504)', '2026-07-17 02:01:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353769 -2.806685)'), GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806504)'))) / (select extract(epoch from '2026-07-17 02:01:43'::timestamp) - extract(epoch from '2026-07-17 02:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353769 -2.806685)'), GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806504)'))) / (select extract(epoch from '2026-07-17 02:01:43'::timestamp) - extract(epoch from '2026-07-17 02:01: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'), 47836, 'SRID=4674;POINT (-40.353777 -2.806322)', '2026-07-17 02:01:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806504)'), GeomFromEWKT('SRID=4674;POINT (-40.353777 -2.806322)'))) / (select extract(epoch from '2026-07-17 02:01:54'::timestamp) - extract(epoch from '2026-07-17 02:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806504)'), GeomFromEWKT('SRID=4674;POINT (-40.353777 -2.806322)'))) / (select extract(epoch from '2026-07-17 02:01:54'::timestamp) - extract(epoch from '2026-07-17 02:01:43'::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'), 47836, 'SRID=4674;POINT (-40.353775 -2.806312)', '2026-07-17 02:01:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353777 -2.806322)'), GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806312)'))) / (select extract(epoch from '2026-07-17 02:01:55'::timestamp) - extract(epoch from '2026-07-17 02:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353777 -2.806322)'), GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806312)'))) / (select extract(epoch from '2026-07-17 02:01:55'::timestamp) - extract(epoch from '2026-07-17 02:01: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'), 47836, 'SRID=4674;POINT (-40.353683 -2.806156)', '2026-07-17 02:02:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806312)'), GeomFromEWKT('SRID=4674;POINT (-40.353683 -2.806156)'))) / (select extract(epoch from '2026-07-17 02:02:08'::timestamp) - extract(epoch from '2026-07-17 02:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353775 -2.806312)'), GeomFromEWKT('SRID=4674;POINT (-40.353683 -2.806156)'))) / (select extract(epoch from '2026-07-17 02:02:08'::timestamp) - extract(epoch from '2026-07-17 02:01: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'), 47836, 'SRID=4674;POINT (-40.353672 -2.806141)', '2026-07-17 02:02:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353683 -2.806156)'), GeomFromEWKT('SRID=4674;POINT (-40.353672 -2.806141)'))) / (select extract(epoch from '2026-07-17 02:02:09'::timestamp) - extract(epoch from '2026-07-17 02:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353683 -2.806156)'), GeomFromEWKT('SRID=4674;POINT (-40.353672 -2.806141)'))) / (select extract(epoch from '2026-07-17 02:02:09'::timestamp) - extract(epoch from '2026-07-17 02:02: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'), 47836, 'SRID=4674;POINT (-40.353597 -2.806049)', '2026-07-17 02:02:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353672 -2.806141)'), GeomFromEWKT('SRID=4674;POINT (-40.353597 -2.806049)'))) / (select extract(epoch from '2026-07-17 02:02:16'::timestamp) - extract(epoch from '2026-07-17 02:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353672 -2.806141)'), GeomFromEWKT('SRID=4674;POINT (-40.353597 -2.806049)'))) / (select extract(epoch from '2026-07-17 02:02:16'::timestamp) - extract(epoch from '2026-07-17 02:02: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'), 47836, 'SRID=4674;POINT (-40.353468 -2.805939)', '2026-07-17 02:02:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353597 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.353468 -2.805939)'))) / (select extract(epoch from '2026-07-17 02:02:25'::timestamp) - extract(epoch from '2026-07-17 02:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353597 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.353468 -2.805939)'))) / (select extract(epoch from '2026-07-17 02:02:25'::timestamp) - extract(epoch from '2026-07-17 02:02: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'), 47836, 'SRID=4674;POINT (-40.353348 -2.805835)', '2026-07-17 02:02:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353468 -2.805939)'), GeomFromEWKT('SRID=4674;POINT (-40.353348 -2.805835)'))) / (select extract(epoch from '2026-07-17 02:02:34'::timestamp) - extract(epoch from '2026-07-17 02:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353468 -2.805939)'), GeomFromEWKT('SRID=4674;POINT (-40.353348 -2.805835)'))) / (select extract(epoch from '2026-07-17 02:02:34'::timestamp) - extract(epoch from '2026-07-17 02:02: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'), 47836, 'SRID=4674;POINT (-40.353206 -2.805703)', '2026-07-17 02:02:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353348 -2.805835)'), GeomFromEWKT('SRID=4674;POINT (-40.353206 -2.805703)'))) / (select extract(epoch from '2026-07-17 02:02:44'::timestamp) - extract(epoch from '2026-07-17 02:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353348 -2.805835)'), GeomFromEWKT('SRID=4674;POINT (-40.353206 -2.805703)'))) / (select extract(epoch from '2026-07-17 02:02:44'::timestamp) - extract(epoch from '2026-07-17 02:02:34'::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'), 47836, 'SRID=4674;POINT (-40.353095 -2.805597)', '2026-07-17 02:02:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353206 -2.805703)'), GeomFromEWKT('SRID=4674;POINT (-40.353095 -2.805597)'))) / (select extract(epoch from '2026-07-17 02:02:52'::timestamp) - extract(epoch from '2026-07-17 02:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353206 -2.805703)'), GeomFromEWKT('SRID=4674;POINT (-40.353095 -2.805597)'))) / (select extract(epoch from '2026-07-17 02:02:52'::timestamp) - extract(epoch from '2026-07-17 02:02:44'::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'), 47836, 'SRID=4674;POINT (-40.352981 -2.805515)', '2026-07-17 02:03:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353095 -2.805597)'), GeomFromEWKT('SRID=4674;POINT (-40.352981 -2.805515)'))) / (select extract(epoch from '2026-07-17 02:03:00'::timestamp) - extract(epoch from '2026-07-17 02:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353095 -2.805597)'), GeomFromEWKT('SRID=4674;POINT (-40.352981 -2.805515)'))) / (select extract(epoch from '2026-07-17 02:03:00'::timestamp) - extract(epoch from '2026-07-17 02:02: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'), 47836, 'SRID=4674;POINT (-40.352842 -2.805438)', '2026-07-17 02:03:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352981 -2.805515)'), GeomFromEWKT('SRID=4674;POINT (-40.352842 -2.805438)'))) / (select extract(epoch from '2026-07-17 02:03:09'::timestamp) - extract(epoch from '2026-07-17 02:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352981 -2.805515)'), GeomFromEWKT('SRID=4674;POINT (-40.352842 -2.805438)'))) / (select extract(epoch from '2026-07-17 02:03:09'::timestamp) - extract(epoch from '2026-07-17 02:03: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'), 47836, 'SRID=4674;POINT (-40.352681 -2.805349)', '2026-07-17 02:03:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352842 -2.805438)'), GeomFromEWKT('SRID=4674;POINT (-40.352681 -2.805349)'))) / (select extract(epoch from '2026-07-17 02:03:18'::timestamp) - extract(epoch from '2026-07-17 02:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352842 -2.805438)'), GeomFromEWKT('SRID=4674;POINT (-40.352681 -2.805349)'))) / (select extract(epoch from '2026-07-17 02:03:18'::timestamp) - extract(epoch from '2026-07-17 02:03: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'), 47836, 'SRID=4674;POINT (-40.352663 -2.805337)', '2026-07-17 02:03:19', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352681 -2.805349)'), GeomFromEWKT('SRID=4674;POINT (-40.352663 -2.805337)'))) / (select extract(epoch from '2026-07-17 02:03:19'::timestamp) - extract(epoch from '2026-07-17 02:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352681 -2.805349)'), GeomFromEWKT('SRID=4674;POINT (-40.352663 -2.805337)'))) / (select extract(epoch from '2026-07-17 02:03:19'::timestamp) - extract(epoch from '2026-07-17 02:03: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'), 47836, 'SRID=4674;POINT (-40.352496 -2.805229)', '2026-07-17 02:03:29', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352663 -2.805337)'), GeomFromEWKT('SRID=4674;POINT (-40.352496 -2.805229)'))) / (select extract(epoch from '2026-07-17 02:03:29'::timestamp) - extract(epoch from '2026-07-17 02:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352663 -2.805337)'), GeomFromEWKT('SRID=4674;POINT (-40.352496 -2.805229)'))) / (select extract(epoch from '2026-07-17 02:03:29'::timestamp) - extract(epoch from '2026-07-17 02:03:19'::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'), 47836, 'SRID=4674;POINT (-40.352381 -2.805146)', '2026-07-17 02:03:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352496 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-40.352381 -2.805146)'))) / (select extract(epoch from '2026-07-17 02:03:37'::timestamp) - extract(epoch from '2026-07-17 02:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352496 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-40.352381 -2.805146)'))) / (select extract(epoch from '2026-07-17 02:03:37'::timestamp) - extract(epoch from '2026-07-17 02:03: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'), 47836, 'SRID=4674;POINT (-40.352238 -2.80503)', '2026-07-17 02:03:47', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352381 -2.805146)'), GeomFromEWKT('SRID=4674;POINT (-40.352238 -2.80503)'))) / (select extract(epoch from '2026-07-17 02:03:47'::timestamp) - extract(epoch from '2026-07-17 02:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352381 -2.805146)'), GeomFromEWKT('SRID=4674;POINT (-40.352238 -2.80503)'))) / (select extract(epoch from '2026-07-17 02:03:47'::timestamp) - extract(epoch from '2026-07-17 02:03: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'), 47836, 'SRID=4674;POINT (-40.352083 -2.804949)', '2026-07-17 02:03:56', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352238 -2.80503)'), GeomFromEWKT('SRID=4674;POINT (-40.352083 -2.804949)'))) / (select extract(epoch from '2026-07-17 02:03:56'::timestamp) - extract(epoch from '2026-07-17 02:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352238 -2.80503)'), GeomFromEWKT('SRID=4674;POINT (-40.352083 -2.804949)'))) / (select extract(epoch from '2026-07-17 02:03:56'::timestamp) - extract(epoch from '2026-07-17 02:03: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'), 47836, 'SRID=4674;POINT (-40.351956 -2.804893)', '2026-07-17 02:04:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352083 -2.804949)'), GeomFromEWKT('SRID=4674;POINT (-40.351956 -2.804893)'))) / (select extract(epoch from '2026-07-17 02:04:04'::timestamp) - extract(epoch from '2026-07-17 02:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352083 -2.804949)'), GeomFromEWKT('SRID=4674;POINT (-40.351956 -2.804893)'))) / (select extract(epoch from '2026-07-17 02:04:04'::timestamp) - extract(epoch from '2026-07-17 02:03:56'::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'), 47836, 'SRID=4674;POINT (-40.351789 -2.804801)', '2026-07-17 02:04:13', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351956 -2.804893)'), GeomFromEWKT('SRID=4674;POINT (-40.351789 -2.804801)'))) / (select extract(epoch from '2026-07-17 02:04:13'::timestamp) - extract(epoch from '2026-07-17 02:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351956 -2.804893)'), GeomFromEWKT('SRID=4674;POINT (-40.351789 -2.804801)'))) / (select extract(epoch from '2026-07-17 02:04:13'::timestamp) - extract(epoch from '2026-07-17 02:04: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'), 47836, 'SRID=4674;POINT (-40.351664 -2.804704)', '2026-07-17 02:04:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351789 -2.804801)'), GeomFromEWKT('SRID=4674;POINT (-40.351664 -2.804704)'))) / (select extract(epoch from '2026-07-17 02:04:21'::timestamp) - extract(epoch from '2026-07-17 02:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351789 -2.804801)'), GeomFromEWKT('SRID=4674;POINT (-40.351664 -2.804704)'))) / (select extract(epoch from '2026-07-17 02:04:21'::timestamp) - extract(epoch from '2026-07-17 02:04: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'), 47836, 'SRID=4674;POINT (-40.351542 -2.80458)', '2026-07-17 02:04:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351664 -2.804704)'), GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.80458)'))) / (select extract(epoch from '2026-07-17 02:04:32'::timestamp) - extract(epoch from '2026-07-17 02:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351664 -2.804704)'), GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.80458)'))) / (select extract(epoch from '2026-07-17 02:04:32'::timestamp) - extract(epoch from '2026-07-17 02:04: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'), 47836, 'SRID=4674;POINT (-40.351396 -2.804473)', '2026-07-17 02:04:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.80458)'), GeomFromEWKT('SRID=4674;POINT (-40.351396 -2.804473)'))) / (select extract(epoch from '2026-07-17 02:04:41'::timestamp) - extract(epoch from '2026-07-17 02:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.80458)'), GeomFromEWKT('SRID=4674;POINT (-40.351396 -2.804473)'))) / (select extract(epoch from '2026-07-17 02:04:41'::timestamp) - extract(epoch from '2026-07-17 02:04: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'), 47836, 'SRID=4674;POINT (-40.351276 -2.804393)', '2026-07-17 02:04:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351396 -2.804473)'), GeomFromEWKT('SRID=4674;POINT (-40.351276 -2.804393)'))) / (select extract(epoch from '2026-07-17 02:04:48'::timestamp) - extract(epoch from '2026-07-17 02:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351396 -2.804473)'), GeomFromEWKT('SRID=4674;POINT (-40.351276 -2.804393)'))) / (select extract(epoch from '2026-07-17 02:04:48'::timestamp) - extract(epoch from '2026-07-17 02:04: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'), 47836, 'SRID=4674;POINT (-40.351119 -2.804287)', '2026-07-17 02:04:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351276 -2.804393)'), GeomFromEWKT('SRID=4674;POINT (-40.351119 -2.804287)'))) / (select extract(epoch from '2026-07-17 02:04:57'::timestamp) - extract(epoch from '2026-07-17 02:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351276 -2.804393)'), GeomFromEWKT('SRID=4674;POINT (-40.351119 -2.804287)'))) / (select extract(epoch from '2026-07-17 02:04:57'::timestamp) - extract(epoch from '2026-07-17 02:04: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'), 47836, 'SRID=4674;POINT (-40.350968 -2.8042)', '2026-07-17 02:05:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351119 -2.804287)'), GeomFromEWKT('SRID=4674;POINT (-40.350968 -2.8042)'))) / (select extract(epoch from '2026-07-17 02:05:07'::timestamp) - extract(epoch from '2026-07-17 02:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351119 -2.804287)'), GeomFromEWKT('SRID=4674;POINT (-40.350968 -2.8042)'))) / (select extract(epoch from '2026-07-17 02:05:07'::timestamp) - extract(epoch from '2026-07-17 02:04: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'), 47836, 'SRID=4674;POINT (-40.350819 -2.804137)', '2026-07-17 02:05:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350968 -2.8042)'), GeomFromEWKT('SRID=4674;POINT (-40.350819 -2.804137)'))) / (select extract(epoch from '2026-07-17 02:05:16'::timestamp) - extract(epoch from '2026-07-17 02:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350968 -2.8042)'), GeomFromEWKT('SRID=4674;POINT (-40.350819 -2.804137)'))) / (select extract(epoch from '2026-07-17 02:05:16'::timestamp) - extract(epoch from '2026-07-17 02:05: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'), 47836, 'SRID=4674;POINT (-40.350674 -2.804071)', '2026-07-17 02:05:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350819 -2.804137)'), GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.804071)'))) / (select extract(epoch from '2026-07-17 02:05:25'::timestamp) - extract(epoch from '2026-07-17 02:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350819 -2.804137)'), GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.804071)'))) / (select extract(epoch from '2026-07-17 02:05:25'::timestamp) - extract(epoch from '2026-07-17 02:05: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'), 47836, 'SRID=4674;POINT (-40.350555 -2.804011)', '2026-07-17 02:05:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.804071)'), GeomFromEWKT('SRID=4674;POINT (-40.350555 -2.804011)'))) / (select extract(epoch from '2026-07-17 02:05:32'::timestamp) - extract(epoch from '2026-07-17 02:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.804071)'), GeomFromEWKT('SRID=4674;POINT (-40.350555 -2.804011)'))) / (select extract(epoch from '2026-07-17 02:05:32'::timestamp) - extract(epoch from '2026-07-17 02:05: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'), 47836, 'SRID=4674;POINT (-40.350411 -2.803939)', '2026-07-17 02:05:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350555 -2.804011)'), GeomFromEWKT('SRID=4674;POINT (-40.350411 -2.803939)'))) / (select extract(epoch from '2026-07-17 02:05:41'::timestamp) - extract(epoch from '2026-07-17 02:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350555 -2.804011)'), GeomFromEWKT('SRID=4674;POINT (-40.350411 -2.803939)'))) / (select extract(epoch from '2026-07-17 02:05:41'::timestamp) - extract(epoch from '2026-07-17 02:05: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'), 47836, 'SRID=4674;POINT (-40.350277 -2.803853)', '2026-07-17 02:05:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350411 -2.803939)'), GeomFromEWKT('SRID=4674;POINT (-40.350277 -2.803853)'))) / (select extract(epoch from '2026-07-17 02:05:50'::timestamp) - extract(epoch from '2026-07-17 02:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350411 -2.803939)'), GeomFromEWKT('SRID=4674;POINT (-40.350277 -2.803853)'))) / (select extract(epoch from '2026-07-17 02:05:50'::timestamp) - extract(epoch from '2026-07-17 02:05: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'), 47836, 'SRID=4674;POINT (-40.350107 -2.803768)', '2026-07-17 02:06:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350277 -2.803853)'), GeomFromEWKT('SRID=4674;POINT (-40.350107 -2.803768)'))) / (select extract(epoch from '2026-07-17 02:06:00'::timestamp) - extract(epoch from '2026-07-17 02:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350277 -2.803853)'), GeomFromEWKT('SRID=4674;POINT (-40.350107 -2.803768)'))) / (select extract(epoch from '2026-07-17 02:06:00'::timestamp) - extract(epoch from '2026-07-17 02:05: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'), 47836, 'SRID=4674;POINT (-40.349929 -2.803697)', '2026-07-17 02:06:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350107 -2.803768)'), GeomFromEWKT('SRID=4674;POINT (-40.349929 -2.803697)'))) / (select extract(epoch from '2026-07-17 02:06:09'::timestamp) - extract(epoch from '2026-07-17 02:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350107 -2.803768)'), GeomFromEWKT('SRID=4674;POINT (-40.349929 -2.803697)'))) / (select extract(epoch from '2026-07-17 02:06:09'::timestamp) - extract(epoch from '2026-07-17 02:06: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'), 47836, 'SRID=4674;POINT (-40.349794 -2.803626)', '2026-07-17 02:06:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349929 -2.803697)'), GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.803626)'))) / (select extract(epoch from '2026-07-17 02:06:17'::timestamp) - extract(epoch from '2026-07-17 02:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349929 -2.803697)'), GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.803626)'))) / (select extract(epoch from '2026-07-17 02:06:17'::timestamp) - extract(epoch from '2026-07-17 02:06: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'), 47836, 'SRID=4674;POINT (-40.349633 -2.803536)', '2026-07-17 02:06:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.803626)'), GeomFromEWKT('SRID=4674;POINT (-40.349633 -2.803536)'))) / (select extract(epoch from '2026-07-17 02:06:26'::timestamp) - extract(epoch from '2026-07-17 02:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.803626)'), GeomFromEWKT('SRID=4674;POINT (-40.349633 -2.803536)'))) / (select extract(epoch from '2026-07-17 02:06:26'::timestamp) - extract(epoch from '2026-07-17 02:06: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'), 47836, 'SRID=4674;POINT (-40.349501 -2.803457)', '2026-07-17 02:06:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349633 -2.803536)'), GeomFromEWKT('SRID=4674;POINT (-40.349501 -2.803457)'))) / (select extract(epoch from '2026-07-17 02:06:34'::timestamp) - extract(epoch from '2026-07-17 02:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349633 -2.803536)'), GeomFromEWKT('SRID=4674;POINT (-40.349501 -2.803457)'))) / (select extract(epoch from '2026-07-17 02:06:34'::timestamp) - extract(epoch from '2026-07-17 02:06: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'), 47836, 'SRID=4674;POINT (-40.349382 -2.8034)', '2026-07-17 02:06:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349501 -2.803457)'), GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.8034)'))) / (select extract(epoch from '2026-07-17 02:06:42'::timestamp) - extract(epoch from '2026-07-17 02:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349501 -2.803457)'), GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.8034)'))) / (select extract(epoch from '2026-07-17 02:06:42'::timestamp) - extract(epoch from '2026-07-17 02:06:34'::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'), 47836, 'SRID=4674;POINT (-40.349253 -2.803331)', '2026-07-17 02:06:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.8034)'), GeomFromEWKT('SRID=4674;POINT (-40.349253 -2.803331)'))) / (select extract(epoch from '2026-07-17 02:06:50'::timestamp) - extract(epoch from '2026-07-17 02:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349382 -2.8034)'), GeomFromEWKT('SRID=4674;POINT (-40.349253 -2.803331)'))) / (select extract(epoch from '2026-07-17 02:06:50'::timestamp) - extract(epoch from '2026-07-17 02:06: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'), 47836, 'SRID=4674;POINT (-40.349085 -2.803243)', '2026-07-17 02:07:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349253 -2.803331)'), GeomFromEWKT('SRID=4674;POINT (-40.349085 -2.803243)'))) / (select extract(epoch from '2026-07-17 02:07:00'::timestamp) - extract(epoch from '2026-07-17 02:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349253 -2.803331)'), GeomFromEWKT('SRID=4674;POINT (-40.349085 -2.803243)'))) / (select extract(epoch from '2026-07-17 02:07:00'::timestamp) - extract(epoch from '2026-07-17 02:06: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'), 47836, 'SRID=4674;POINT (-40.348971 -2.803195)', '2026-07-17 02:07:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349085 -2.803243)'), GeomFromEWKT('SRID=4674;POINT (-40.348971 -2.803195)'))) / (select extract(epoch from '2026-07-17 02:07:07'::timestamp) - extract(epoch from '2026-07-17 02:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349085 -2.803243)'), GeomFromEWKT('SRID=4674;POINT (-40.348971 -2.803195)'))) / (select extract(epoch from '2026-07-17 02:07:07'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.348845 -2.803132)', '2026-07-17 02:07:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348971 -2.803195)'), GeomFromEWKT('SRID=4674;POINT (-40.348845 -2.803132)'))) / (select extract(epoch from '2026-07-17 02:07:15'::timestamp) - extract(epoch from '2026-07-17 02:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348971 -2.803195)'), GeomFromEWKT('SRID=4674;POINT (-40.348845 -2.803132)'))) / (select extract(epoch from '2026-07-17 02:07:15'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.348691 -2.803053)', '2026-07-17 02:07:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348845 -2.803132)'), GeomFromEWKT('SRID=4674;POINT (-40.348691 -2.803053)'))) / (select extract(epoch from '2026-07-17 02:07:24'::timestamp) - extract(epoch from '2026-07-17 02:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348845 -2.803132)'), GeomFromEWKT('SRID=4674;POINT (-40.348691 -2.803053)'))) / (select extract(epoch from '2026-07-17 02:07:24'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.348551 -2.802983)', '2026-07-17 02:07:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348691 -2.803053)'), GeomFromEWKT('SRID=4674;POINT (-40.348551 -2.802983)'))) / (select extract(epoch from '2026-07-17 02:07:32'::timestamp) - extract(epoch from '2026-07-17 02:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348691 -2.803053)'), GeomFromEWKT('SRID=4674;POINT (-40.348551 -2.802983)'))) / (select extract(epoch from '2026-07-17 02:07:32'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.348407 -2.802923)', '2026-07-17 02:07:41', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348551 -2.802983)'), GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802923)'))) / (select extract(epoch from '2026-07-17 02:07:41'::timestamp) - extract(epoch from '2026-07-17 02:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348551 -2.802983)'), GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802923)'))) / (select extract(epoch from '2026-07-17 02:07:41'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.348236 -2.802852)', '2026-07-17 02:07:51', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802923)'), GeomFromEWKT('SRID=4674;POINT (-40.348236 -2.802852)'))) / (select extract(epoch from '2026-07-17 02:07:51'::timestamp) - extract(epoch from '2026-07-17 02:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802923)'), GeomFromEWKT('SRID=4674;POINT (-40.348236 -2.802852)'))) / (select extract(epoch from '2026-07-17 02:07:51'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.348197 -2.802831)', '2026-07-17 02:07:53', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348236 -2.802852)'), GeomFromEWKT('SRID=4674;POINT (-40.348197 -2.802831)'))) / (select extract(epoch from '2026-07-17 02:07:53'::timestamp) - extract(epoch from '2026-07-17 02:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348236 -2.802852)'), GeomFromEWKT('SRID=4674;POINT (-40.348197 -2.802831)'))) / (select extract(epoch from '2026-07-17 02:07:53'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.34804 -2.802751)', '2026-07-17 02:08:02', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348197 -2.802831)'), GeomFromEWKT('SRID=4674;POINT (-40.34804 -2.802751)'))) / (select extract(epoch from '2026-07-17 02:08:02'::timestamp) - extract(epoch from '2026-07-17 02:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348197 -2.802831)'), GeomFromEWKT('SRID=4674;POINT (-40.34804 -2.802751)'))) / (select extract(epoch from '2026-07-17 02:08:02'::timestamp) - extract(epoch from '2026-07-17 02:07: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'), 47836, 'SRID=4674;POINT (-40.34788 -2.802678)', '2026-07-17 02:08:11', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34804 -2.802751)'), GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.802678)'))) / (select extract(epoch from '2026-07-17 02:08:11'::timestamp) - extract(epoch from '2026-07-17 02:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34804 -2.802751)'), GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.802678)'))) / (select extract(epoch from '2026-07-17 02:08:11'::timestamp) - extract(epoch from '2026-07-17 02:08: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'), 47836, 'SRID=4674;POINT (-40.347742 -2.80262)', '2026-07-17 02:08:19', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.802678)'), GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.80262)'))) / (select extract(epoch from '2026-07-17 02:08:19'::timestamp) - extract(epoch from '2026-07-17 02:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.802678)'), GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.80262)'))) / (select extract(epoch from '2026-07-17 02:08:19'::timestamp) - extract(epoch from '2026-07-17 02:08:11'::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'), 47836, 'SRID=4674;POINT (-40.347601 -2.802554)', '2026-07-17 02:08:28', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.80262)'), GeomFromEWKT('SRID=4674;POINT (-40.347601 -2.802554)'))) / (select extract(epoch from '2026-07-17 02:08:28'::timestamp) - extract(epoch from '2026-07-17 02:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.80262)'), GeomFromEWKT('SRID=4674;POINT (-40.347601 -2.802554)'))) / (select extract(epoch from '2026-07-17 02:08:28'::timestamp) - extract(epoch from '2026-07-17 02:08:19'::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'), 47836, 'SRID=4674;POINT (-40.347432 -2.802476)', '2026-07-17 02:08:39', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347601 -2.802554)'), GeomFromEWKT('SRID=4674;POINT (-40.347432 -2.802476)'))) / (select extract(epoch from '2026-07-17 02:08:39'::timestamp) - extract(epoch from '2026-07-17 02:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347601 -2.802554)'), GeomFromEWKT('SRID=4674;POINT (-40.347432 -2.802476)'))) / (select extract(epoch from '2026-07-17 02:08:39'::timestamp) - extract(epoch from '2026-07-17 02:08:28'::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'), 47836, 'SRID=4674;POINT (-40.347416 -2.802472)', '2026-07-17 02:08:40', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347432 -2.802476)'), GeomFromEWKT('SRID=4674;POINT (-40.347416 -2.802472)'))) / (select extract(epoch from '2026-07-17 02:08:40'::timestamp) - extract(epoch from '2026-07-17 02:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347432 -2.802476)'), GeomFromEWKT('SRID=4674;POINT (-40.347416 -2.802472)'))) / (select extract(epoch from '2026-07-17 02:08:40'::timestamp) - extract(epoch from '2026-07-17 02:08: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'), 47836, 'SRID=4674;POINT (-40.347286 -2.802421)', '2026-07-17 02:08:48', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347416 -2.802472)'), GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.802421)'))) / (select extract(epoch from '2026-07-17 02:08:48'::timestamp) - extract(epoch from '2026-07-17 02:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347416 -2.802472)'), GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.802421)'))) / (select extract(epoch from '2026-07-17 02:08:48'::timestamp) - extract(epoch from '2026-07-17 02:08:40'::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'), 47836, 'SRID=4674;POINT (-40.347122 -2.802331)', '2026-07-17 02:08:58', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.802421)'), GeomFromEWKT('SRID=4674;POINT (-40.347122 -2.802331)'))) / (select extract(epoch from '2026-07-17 02:08:58'::timestamp) - extract(epoch from '2026-07-17 02:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.802421)'), GeomFromEWKT('SRID=4674;POINT (-40.347122 -2.802331)'))) / (select extract(epoch from '2026-07-17 02:08:58'::timestamp) - extract(epoch from '2026-07-17 02:08: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'), 47836, 'SRID=4674;POINT (-40.346959 -2.802236)', '2026-07-17 02:09:08', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347122 -2.802331)'), GeomFromEWKT('SRID=4674;POINT (-40.346959 -2.802236)'))) / (select extract(epoch from '2026-07-17 02:09:08'::timestamp) - extract(epoch from '2026-07-17 02:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347122 -2.802331)'), GeomFromEWKT('SRID=4674;POINT (-40.346959 -2.802236)'))) / (select extract(epoch from '2026-07-17 02:09:08'::timestamp) - extract(epoch from '2026-07-17 02:08: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'), 47836, 'SRID=4674;POINT (-40.346797 -2.802179)', '2026-07-17 02:09:17', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346959 -2.802236)'), GeomFromEWKT('SRID=4674;POINT (-40.346797 -2.802179)'))) / (select extract(epoch from '2026-07-17 02:09:17'::timestamp) - extract(epoch from '2026-07-17 02:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346959 -2.802236)'), GeomFromEWKT('SRID=4674;POINT (-40.346797 -2.802179)'))) / (select extract(epoch from '2026-07-17 02:09:17'::timestamp) - extract(epoch from '2026-07-17 02:09: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'), 47836, 'SRID=4674;POINT (-40.346648 -2.802115)', '2026-07-17 02:09:26', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346797 -2.802179)'), GeomFromEWKT('SRID=4674;POINT (-40.346648 -2.802115)'))) / (select extract(epoch from '2026-07-17 02:09:26'::timestamp) - extract(epoch from '2026-07-17 02:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346797 -2.802179)'), GeomFromEWKT('SRID=4674;POINT (-40.346648 -2.802115)'))) / (select extract(epoch from '2026-07-17 02:09:26'::timestamp) - extract(epoch from '2026-07-17 02:09: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'), 47836, 'SRID=4674;POINT (-40.346483 -2.802044)', '2026-07-17 02:09:37', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346648 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.346483 -2.802044)'))) / (select extract(epoch from '2026-07-17 02:09:37'::timestamp) - extract(epoch from '2026-07-17 02:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346648 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.346483 -2.802044)'))) / (select extract(epoch from '2026-07-17 02:09:37'::timestamp) - extract(epoch from '2026-07-17 02:09: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'), 47836, 'SRID=4674;POINT (-40.34633 -2.80199)', '2026-07-17 02:09:46', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346483 -2.802044)'), GeomFromEWKT('SRID=4674;POINT (-40.34633 -2.80199)'))) / (select extract(epoch from '2026-07-17 02:09:46'::timestamp) - extract(epoch from '2026-07-17 02:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346483 -2.802044)'), GeomFromEWKT('SRID=4674;POINT (-40.34633 -2.80199)'))) / (select extract(epoch from '2026-07-17 02:09:46'::timestamp) - extract(epoch from '2026-07-17 02:09: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'), 47836, 'SRID=4674;POINT (-40.346191 -2.801934)', '2026-07-17 02:09:54', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34633 -2.80199)'), GeomFromEWKT('SRID=4674;POINT (-40.346191 -2.801934)'))) / (select extract(epoch from '2026-07-17 02:09:54'::timestamp) - extract(epoch from '2026-07-17 02:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34633 -2.80199)'), GeomFromEWKT('SRID=4674;POINT (-40.346191 -2.801934)'))) / (select extract(epoch from '2026-07-17 02:09:54'::timestamp) - extract(epoch from '2026-07-17 02:09: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'), 47836, 'SRID=4674;POINT (-40.346028 -2.801878)', '2026-07-17 02:10:03', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346191 -2.801934)'), GeomFromEWKT('SRID=4674;POINT (-40.346028 -2.801878)'))) / (select extract(epoch from '2026-07-17 02:10:03'::timestamp) - extract(epoch from '2026-07-17 02:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346191 -2.801934)'), GeomFromEWKT('SRID=4674;POINT (-40.346028 -2.801878)'))) / (select extract(epoch from '2026-07-17 02:10:03'::timestamp) - extract(epoch from '2026-07-17 02:09: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'), 47836, 'SRID=4674;POINT (-40.345887 -2.801849)', '2026-07-17 02:10:11', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346028 -2.801878)'), GeomFromEWKT('SRID=4674;POINT (-40.345887 -2.801849)'))) / (select extract(epoch from '2026-07-17 02:10:11'::timestamp) - extract(epoch from '2026-07-17 02:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346028 -2.801878)'), GeomFromEWKT('SRID=4674;POINT (-40.345887 -2.801849)'))) / (select extract(epoch from '2026-07-17 02:10:11'::timestamp) - extract(epoch from '2026-07-17 02:10: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'), 47836, 'SRID=4674;POINT (-40.345718 -2.801811)', '2026-07-17 02:10:21', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345887 -2.801849)'), GeomFromEWKT('SRID=4674;POINT (-40.345718 -2.801811)'))) / (select extract(epoch from '2026-07-17 02:10:21'::timestamp) - extract(epoch from '2026-07-17 02:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345887 -2.801849)'), GeomFromEWKT('SRID=4674;POINT (-40.345718 -2.801811)'))) / (select extract(epoch from '2026-07-17 02:10:21'::timestamp) - extract(epoch from '2026-07-17 02:10:11'::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'), 47836, 'SRID=4674;POINT (-40.345563 -2.80178)', '2026-07-17 02:10:30', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345718 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.80178)'))) / (select extract(epoch from '2026-07-17 02:10:30'::timestamp) - extract(epoch from '2026-07-17 02:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345718 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.80178)'))) / (select extract(epoch from '2026-07-17 02:10:30'::timestamp) - extract(epoch from '2026-07-17 02:10: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'), 47836, 'SRID=4674;POINT (-40.345393 -2.801759)', '2026-07-17 02:10:39', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.80178)'), GeomFromEWKT('SRID=4674;POINT (-40.345393 -2.801759)'))) / (select extract(epoch from '2026-07-17 02:10:39'::timestamp) - extract(epoch from '2026-07-17 02:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345563 -2.80178)'), GeomFromEWKT('SRID=4674;POINT (-40.345393 -2.801759)'))) / (select extract(epoch from '2026-07-17 02:10:39'::timestamp) - extract(epoch from '2026-07-17 02:10: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'), 47836, 'SRID=4674;POINT (-40.345219 -2.801724)', '2026-07-17 02:10:48', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345393 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.345219 -2.801724)'))) / (select extract(epoch from '2026-07-17 02:10:48'::timestamp) - extract(epoch from '2026-07-17 02:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345393 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.345219 -2.801724)'))) / (select extract(epoch from '2026-07-17 02:10:48'::timestamp) - extract(epoch from '2026-07-17 02:10: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'), 47836, 'SRID=4674;POINT (-40.345055 -2.801693)', '2026-07-17 02:10:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345219 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801693)'))) / (select extract(epoch from '2026-07-17 02:10:57'::timestamp) - extract(epoch from '2026-07-17 02:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345219 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801693)'))) / (select extract(epoch from '2026-07-17 02:10:57'::timestamp) - extract(epoch from '2026-07-17 02:10: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'), 47836, 'SRID=4674;POINT (-40.344887 -2.80168)', '2026-07-17 02:11:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801693)'), GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.80168)'))) / (select extract(epoch from '2026-07-17 02:11:06'::timestamp) - extract(epoch from '2026-07-17 02:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801693)'), GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.80168)'))) / (select extract(epoch from '2026-07-17 02:11:06'::timestamp) - extract(epoch from '2026-07-17 02:10: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'), 47836, 'SRID=4674;POINT (-40.344744 -2.801657)', '2026-07-17 02:11:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.344744 -2.801657)'))) / (select extract(epoch from '2026-07-17 02:11:14'::timestamp) - extract(epoch from '2026-07-17 02:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.344744 -2.801657)'))) / (select extract(epoch from '2026-07-17 02:11:14'::timestamp) - extract(epoch from '2026-07-17 02:11: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'), 47836, 'SRID=4674;POINT (-40.344608 -2.801618)', '2026-07-17 02:11:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344744 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.344608 -2.801618)'))) / (select extract(epoch from '2026-07-17 02:11:22'::timestamp) - extract(epoch from '2026-07-17 02:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344744 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.344608 -2.801618)'))) / (select extract(epoch from '2026-07-17 02:11:22'::timestamp) - extract(epoch from '2026-07-17 02:11: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'), 47836, 'SRID=4674;POINT (-40.344456 -2.801585)', '2026-07-17 02:11:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344608 -2.801618)'), GeomFromEWKT('SRID=4674;POINT (-40.344456 -2.801585)'))) / (select extract(epoch from '2026-07-17 02:11:30'::timestamp) - extract(epoch from '2026-07-17 02:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344608 -2.801618)'), GeomFromEWKT('SRID=4674;POINT (-40.344456 -2.801585)'))) / (select extract(epoch from '2026-07-17 02:11:30'::timestamp) - extract(epoch from '2026-07-17 02:11:22'::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'), 47836, 'SRID=4674;POINT (-40.344279 -2.801549)', '2026-07-17 02:11:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344456 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.344279 -2.801549)'))) / (select extract(epoch from '2026-07-17 02:11:40'::timestamp) - extract(epoch from '2026-07-17 02:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344456 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.344279 -2.801549)'))) / (select extract(epoch from '2026-07-17 02:11:40'::timestamp) - extract(epoch from '2026-07-17 02:11: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'), 47836, 'SRID=4674;POINT (-40.344084 -2.801514)', '2026-07-17 02:11:50', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344279 -2.801549)'), GeomFromEWKT('SRID=4674;POINT (-40.344084 -2.801514)'))) / (select extract(epoch from '2026-07-17 02:11:50'::timestamp) - extract(epoch from '2026-07-17 02:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344279 -2.801549)'), GeomFromEWKT('SRID=4674;POINT (-40.344084 -2.801514)'))) / (select extract(epoch from '2026-07-17 02:11:50'::timestamp) - extract(epoch from '2026-07-17 02:11:40'::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'), 47836, 'SRID=4674;POINT (-40.343925 -2.801485)', '2026-07-17 02:11:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344084 -2.801514)'), GeomFromEWKT('SRID=4674;POINT (-40.343925 -2.801485)'))) / (select extract(epoch from '2026-07-17 02:11:59'::timestamp) - extract(epoch from '2026-07-17 02:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344084 -2.801514)'), GeomFromEWKT('SRID=4674;POINT (-40.343925 -2.801485)'))) / (select extract(epoch from '2026-07-17 02:11:59'::timestamp) - extract(epoch from '2026-07-17 02:11: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'), 47836, 'SRID=4674;POINT (-40.343784 -2.801462)', '2026-07-17 02:12:06', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343925 -2.801485)'), GeomFromEWKT('SRID=4674;POINT (-40.343784 -2.801462)'))) / (select extract(epoch from '2026-07-17 02:12:06'::timestamp) - extract(epoch from '2026-07-17 02:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343925 -2.801485)'), GeomFromEWKT('SRID=4674;POINT (-40.343784 -2.801462)'))) / (select extract(epoch from '2026-07-17 02:12:06'::timestamp) - extract(epoch from '2026-07-17 02:11: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'), 47836, 'SRID=4674;POINT (-40.343645 -2.801429)', '2026-07-17 02:12:13', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343784 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.343645 -2.801429)'))) / (select extract(epoch from '2026-07-17 02:12:13'::timestamp) - extract(epoch from '2026-07-17 02:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343784 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.343645 -2.801429)'))) / (select extract(epoch from '2026-07-17 02:12:13'::timestamp) - extract(epoch from '2026-07-17 02:12: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'), 47836, 'SRID=4674;POINT (-40.343461 -2.801403)', '2026-07-17 02:12:22', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343645 -2.801429)'), GeomFromEWKT('SRID=4674;POINT (-40.343461 -2.801403)'))) / (select extract(epoch from '2026-07-17 02:12:22'::timestamp) - extract(epoch from '2026-07-17 02:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343645 -2.801429)'), GeomFromEWKT('SRID=4674;POINT (-40.343461 -2.801403)'))) / (select extract(epoch from '2026-07-17 02:12:22'::timestamp) - extract(epoch from '2026-07-17 02:12: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'), 47836, 'SRID=4674;POINT (-40.343441 -2.801401)', '2026-07-17 02:12:23', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343461 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.343441 -2.801401)'))) / (select extract(epoch from '2026-07-17 02:12:23'::timestamp) - extract(epoch from '2026-07-17 02:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343461 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.343441 -2.801401)'))) / (select extract(epoch from '2026-07-17 02:12:23'::timestamp) - extract(epoch from '2026-07-17 02:12:22'::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'), 47836, 'SRID=4674;POINT (-40.343248 -2.801395)', '2026-07-17 02:12:34', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343441 -2.801401)'), GeomFromEWKT('SRID=4674;POINT (-40.343248 -2.801395)'))) / (select extract(epoch from '2026-07-17 02:12:34'::timestamp) - extract(epoch from '2026-07-17 02:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343441 -2.801401)'), GeomFromEWKT('SRID=4674;POINT (-40.343248 -2.801395)'))) / (select extract(epoch from '2026-07-17 02:12:34'::timestamp) - extract(epoch from '2026-07-17 02:12: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'), 47836, 'SRID=4674;POINT (-40.343077 -2.801365)', '2026-07-17 02:12:43', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343248 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.801365)'))) / (select extract(epoch from '2026-07-17 02:12:43'::timestamp) - extract(epoch from '2026-07-17 02:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343248 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.801365)'))) / (select extract(epoch from '2026-07-17 02:12:43'::timestamp) - extract(epoch from '2026-07-17 02:12:34'::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'), 47836, 'SRID=4674;POINT (-40.34293 -2.801343)', '2026-07-17 02:12:51', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.801365)'), GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.801343)'))) / (select extract(epoch from '2026-07-17 02:12:51'::timestamp) - extract(epoch from '2026-07-17 02:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.801365)'), GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.801343)'))) / (select extract(epoch from '2026-07-17 02:12:51'::timestamp) - extract(epoch from '2026-07-17 02:12:43'::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'), 47836, 'SRID=4674;POINT (-40.342794 -2.801307)', '2026-07-17 02:12:58', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.801343)'), GeomFromEWKT('SRID=4674;POINT (-40.342794 -2.801307)'))) / (select extract(epoch from '2026-07-17 02:12:58'::timestamp) - extract(epoch from '2026-07-17 02:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.801343)'), GeomFromEWKT('SRID=4674;POINT (-40.342794 -2.801307)'))) / (select extract(epoch from '2026-07-17 02:12:58'::timestamp) - extract(epoch from '2026-07-17 02:12: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'), 47836, 'SRID=4674;POINT (-40.34265 -2.801269)', '2026-07-17 02:13:06', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342794 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.34265 -2.801269)'))) / (select extract(epoch from '2026-07-17 02:13:06'::timestamp) - extract(epoch from '2026-07-17 02:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342794 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.34265 -2.801269)'))) / (select extract(epoch from '2026-07-17 02:13:06'::timestamp) - extract(epoch from '2026-07-17 02:12: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'), 47836, 'SRID=4674;POINT (-40.342514 -2.801244)', '2026-07-17 02:13:13', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34265 -2.801269)'), GeomFromEWKT('SRID=4674;POINT (-40.342514 -2.801244)'))) / (select extract(epoch from '2026-07-17 02:13:13'::timestamp) - extract(epoch from '2026-07-17 02:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34265 -2.801269)'), GeomFromEWKT('SRID=4674;POINT (-40.342514 -2.801244)'))) / (select extract(epoch from '2026-07-17 02:13:13'::timestamp) - extract(epoch from '2026-07-17 02:13: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'), 47836, 'SRID=4674;POINT (-40.342335 -2.801209)', '2026-07-17 02:13:22', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342514 -2.801244)'), GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.801209)'))) / (select extract(epoch from '2026-07-17 02:13:22'::timestamp) - extract(epoch from '2026-07-17 02:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342514 -2.801244)'), GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.801209)'))) / (select extract(epoch from '2026-07-17 02:13:22'::timestamp) - extract(epoch from '2026-07-17 02:13: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'), 47836, 'SRID=4674;POINT (-40.342204 -2.801184)', '2026-07-17 02:13:29', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.801184)'))) / (select extract(epoch from '2026-07-17 02:13:29'::timestamp) - extract(epoch from '2026-07-17 02:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342335 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.801184)'))) / (select extract(epoch from '2026-07-17 02:13:29'::timestamp) - extract(epoch from '2026-07-17 02:13:22'::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'), 47836, 'SRID=4674;POINT (-40.342026 -2.80115)', '2026-07-17 02:13:39', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.801184)'), GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.80115)'))) / (select extract(epoch from '2026-07-17 02:13:39'::timestamp) - extract(epoch from '2026-07-17 02:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.801184)'), GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.80115)'))) / (select extract(epoch from '2026-07-17 02:13:39'::timestamp) - extract(epoch from '2026-07-17 02:13: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'), 47836, 'SRID=4674;POINT (-40.341845 -2.801114)', '2026-07-17 02:13:49', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.80115)'), GeomFromEWKT('SRID=4674;POINT (-40.341845 -2.801114)'))) / (select extract(epoch from '2026-07-17 02:13:49'::timestamp) - extract(epoch from '2026-07-17 02:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.80115)'), GeomFromEWKT('SRID=4674;POINT (-40.341845 -2.801114)'))) / (select extract(epoch from '2026-07-17 02:13:49'::timestamp) - extract(epoch from '2026-07-17 02:13: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'), 47836, 'SRID=4674;POINT (-40.341679 -2.801072)', '2026-07-17 02:13:58', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341845 -2.801114)'), GeomFromEWKT('SRID=4674;POINT (-40.341679 -2.801072)'))) / (select extract(epoch from '2026-07-17 02:13:58'::timestamp) - extract(epoch from '2026-07-17 02:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341845 -2.801114)'), GeomFromEWKT('SRID=4674;POINT (-40.341679 -2.801072)'))) / (select extract(epoch from '2026-07-17 02:13:58'::timestamp) - extract(epoch from '2026-07-17 02:13:49'::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'), 47836, 'SRID=4674;POINT (-40.341528 -2.801068)', '2026-07-17 02:14:06', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341679 -2.801072)'), GeomFromEWKT('SRID=4674;POINT (-40.341528 -2.801068)'))) / (select extract(epoch from '2026-07-17 02:14:06'::timestamp) - extract(epoch from '2026-07-17 02:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341679 -2.801072)'), GeomFromEWKT('SRID=4674;POINT (-40.341528 -2.801068)'))) / (select extract(epoch from '2026-07-17 02:14:06'::timestamp) - extract(epoch from '2026-07-17 02:13: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'), 47836, 'SRID=4674;POINT (-40.341333 -2.801061)', '2026-07-17 02:14:17', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341528 -2.801068)'), GeomFromEWKT('SRID=4674;POINT (-40.341333 -2.801061)'))) / (select extract(epoch from '2026-07-17 02:14:17'::timestamp) - extract(epoch from '2026-07-17 02:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341528 -2.801068)'), GeomFromEWKT('SRID=4674;POINT (-40.341333 -2.801061)'))) / (select extract(epoch from '2026-07-17 02:14:17'::timestamp) - extract(epoch from '2026-07-17 02:14: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'), 47836, 'SRID=4674;POINT (-40.341142 -2.801049)', '2026-07-17 02:14:26', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341333 -2.801061)'), GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.801049)'))) / (select extract(epoch from '2026-07-17 02:14:26'::timestamp) - extract(epoch from '2026-07-17 02:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341333 -2.801061)'), GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.801049)'))) / (select extract(epoch from '2026-07-17 02:14:26'::timestamp) - extract(epoch from '2026-07-17 02:14: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'), 47836, 'SRID=4674;POINT (-40.340964 -2.801018)', '2026-07-17 02:14:36', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.801049)'), GeomFromEWKT('SRID=4674;POINT (-40.340964 -2.801018)'))) / (select extract(epoch from '2026-07-17 02:14:36'::timestamp) - extract(epoch from '2026-07-17 02:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.801049)'), GeomFromEWKT('SRID=4674;POINT (-40.340964 -2.801018)'))) / (select extract(epoch from '2026-07-17 02:14:36'::timestamp) - extract(epoch from '2026-07-17 02:14: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'), 47836, 'SRID=4674;POINT (-40.340948 -2.801015)', '2026-07-17 02:14:37', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340964 -2.801018)'), GeomFromEWKT('SRID=4674;POINT (-40.340948 -2.801015)'))) / (select extract(epoch from '2026-07-17 02:14:37'::timestamp) - extract(epoch from '2026-07-17 02:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340964 -2.801018)'), GeomFromEWKT('SRID=4674;POINT (-40.340948 -2.801015)'))) / (select extract(epoch from '2026-07-17 02:14:37'::timestamp) - extract(epoch from '2026-07-17 02:14:36'::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'), 47836, 'SRID=4674;POINT (-40.340801 -2.801005)', '2026-07-17 02:14:45', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340948 -2.801015)'), GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.801005)'))) / (select extract(epoch from '2026-07-17 02:14:45'::timestamp) - extract(epoch from '2026-07-17 02:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340948 -2.801015)'), GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.801005)'))) / (select extract(epoch from '2026-07-17 02:14:45'::timestamp) - extract(epoch from '2026-07-17 02:14: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'), 47836, 'SRID=4674;POINT (-40.340646 -2.800991)', '2026-07-17 02:14:54', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.801005)'), GeomFromEWKT('SRID=4674;POINT (-40.340646 -2.800991)'))) / (select extract(epoch from '2026-07-17 02:14:54'::timestamp) - extract(epoch from '2026-07-17 02:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.801005)'), GeomFromEWKT('SRID=4674;POINT (-40.340646 -2.800991)'))) / (select extract(epoch from '2026-07-17 02:14:54'::timestamp) - extract(epoch from '2026-07-17 02:14: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'), 47836, 'SRID=4674;POINT (-40.340506 -2.800973)', '2026-07-17 02:15:01', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340646 -2.800991)'), GeomFromEWKT('SRID=4674;POINT (-40.340506 -2.800973)'))) / (select extract(epoch from '2026-07-17 02:15:01'::timestamp) - extract(epoch from '2026-07-17 02:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340646 -2.800991)'), GeomFromEWKT('SRID=4674;POINT (-40.340506 -2.800973)'))) / (select extract(epoch from '2026-07-17 02:15:01'::timestamp) - extract(epoch from '2026-07-17 02:14: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'), 47836, 'SRID=4674;POINT (-40.340345 -2.800957)', '2026-07-17 02:15:09', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340506 -2.800973)'), GeomFromEWKT('SRID=4674;POINT (-40.340345 -2.800957)'))) / (select extract(epoch from '2026-07-17 02:15:09'::timestamp) - extract(epoch from '2026-07-17 02:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340506 -2.800973)'), GeomFromEWKT('SRID=4674;POINT (-40.340345 -2.800957)'))) / (select extract(epoch from '2026-07-17 02:15:09'::timestamp) - extract(epoch from '2026-07-17 02:15: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'), 47836, 'SRID=4674;POINT (-40.340155 -2.800948)', '2026-07-17 02:15:19', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340345 -2.800957)'), GeomFromEWKT('SRID=4674;POINT (-40.340155 -2.800948)'))) / (select extract(epoch from '2026-07-17 02:15:19'::timestamp) - extract(epoch from '2026-07-17 02:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340345 -2.800957)'), GeomFromEWKT('SRID=4674;POINT (-40.340155 -2.800948)'))) / (select extract(epoch from '2026-07-17 02:15:19'::timestamp) - extract(epoch from '2026-07-17 02:15: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'), 47836, 'SRID=4674;POINT (-40.339985 -2.800927)', '2026-07-17 02:15:30', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340155 -2.800948)'), GeomFromEWKT('SRID=4674;POINT (-40.339985 -2.800927)'))) / (select extract(epoch from '2026-07-17 02:15:30'::timestamp) - extract(epoch from '2026-07-17 02:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340155 -2.800948)'), GeomFromEWKT('SRID=4674;POINT (-40.339985 -2.800927)'))) / (select extract(epoch from '2026-07-17 02:15:30'::timestamp) - extract(epoch from '2026-07-17 02:15:19'::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'), 47836, 'SRID=4674;POINT (-40.339878 -2.800898)', '2026-07-17 02:15:39', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339985 -2.800927)'), GeomFromEWKT('SRID=4674;POINT (-40.339878 -2.800898)'))) / (select extract(epoch from '2026-07-17 02:15:39'::timestamp) - extract(epoch from '2026-07-17 02:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339985 -2.800927)'), GeomFromEWKT('SRID=4674;POINT (-40.339878 -2.800898)'))) / (select extract(epoch from '2026-07-17 02:15:39'::timestamp) - extract(epoch from '2026-07-17 02:15: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'), 47836, 'SRID=4674;POINT (-40.339772 -2.80088)', '2026-07-17 02:15:47', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339878 -2.800898)'), GeomFromEWKT('SRID=4674;POINT (-40.339772 -2.80088)'))) / (select extract(epoch from '2026-07-17 02:15:47'::timestamp) - extract(epoch from '2026-07-17 02:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339878 -2.800898)'), GeomFromEWKT('SRID=4674;POINT (-40.339772 -2.80088)'))) / (select extract(epoch from '2026-07-17 02:15:47'::timestamp) - extract(epoch from '2026-07-17 02:15: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'), 47836, 'SRID=4674;POINT (-40.339664 -2.80087)', '2026-07-17 02:15:55', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339772 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.80087)'))) / (select extract(epoch from '2026-07-17 02:15:55'::timestamp) - extract(epoch from '2026-07-17 02:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339772 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.80087)'))) / (select extract(epoch from '2026-07-17 02:15:55'::timestamp) - extract(epoch from '2026-07-17 02:15: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'), 47836, 'SRID=4674;POINT (-40.339574 -2.800863)', '2026-07-17 02:16:03', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.339574 -2.800863)'))) / (select extract(epoch from '2026-07-17 02:16:03'::timestamp) - extract(epoch from '2026-07-17 02:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.339574 -2.800863)'))) / (select extract(epoch from '2026-07-17 02:16:03'::timestamp) - extract(epoch from '2026-07-17 02:15: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'), 47836, 'SRID=4674;POINT (-40.339462 -2.800829)', '2026-07-17 02:16:12', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339574 -2.800863)'), GeomFromEWKT('SRID=4674;POINT (-40.339462 -2.800829)'))) / (select extract(epoch from '2026-07-17 02:16:12'::timestamp) - extract(epoch from '2026-07-17 02:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339574 -2.800863)'), GeomFromEWKT('SRID=4674;POINT (-40.339462 -2.800829)'))) / (select extract(epoch from '2026-07-17 02:16:12'::timestamp) - extract(epoch from '2026-07-17 02:16: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'), 47836, 'SRID=4674;POINT (-40.339345 -2.800805)', '2026-07-17 02:16:21', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339462 -2.800829)'), GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800805)'))) / (select extract(epoch from '2026-07-17 02:16:21'::timestamp) - extract(epoch from '2026-07-17 02:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339462 -2.800829)'), GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800805)'))) / (select extract(epoch from '2026-07-17 02:16:21'::timestamp) - extract(epoch from '2026-07-17 02:16:12'::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'), 47836, 'SRID=4674;POINT (-40.339228 -2.800787)', '2026-07-17 02:16:30', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800805)'), GeomFromEWKT('SRID=4674;POINT (-40.339228 -2.800787)'))) / (select extract(epoch from '2026-07-17 02:16:30'::timestamp) - extract(epoch from '2026-07-17 02:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800805)'), GeomFromEWKT('SRID=4674;POINT (-40.339228 -2.800787)'))) / (select extract(epoch from '2026-07-17 02:16:30'::timestamp) - extract(epoch from '2026-07-17 02:16: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'), 47836, 'SRID=4674;POINT (-40.339108 -2.80077)', '2026-07-17 02:16:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339228 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.80077)'))) / (select extract(epoch from '2026-07-17 02:16:39'::timestamp) - extract(epoch from '2026-07-17 02:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339228 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.80077)'))) / (select extract(epoch from '2026-07-17 02:16:39'::timestamp) - extract(epoch from '2026-07-17 02:16: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'), 47836, 'SRID=4674;POINT (-40.338956 -2.800759)', '2026-07-17 02:16:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.80077)'), GeomFromEWKT('SRID=4674;POINT (-40.338956 -2.800759)'))) / (select extract(epoch from '2026-07-17 02:16:49'::timestamp) - extract(epoch from '2026-07-17 02:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.80077)'), GeomFromEWKT('SRID=4674;POINT (-40.338956 -2.800759)'))) / (select extract(epoch from '2026-07-17 02:16:49'::timestamp) - extract(epoch from '2026-07-17 02:16: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'), 47836, 'SRID=4674;POINT (-40.338861 -2.800726)', '2026-07-17 02:16:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338956 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.338861 -2.800726)'))) / (select extract(epoch from '2026-07-17 02:16:57'::timestamp) - extract(epoch from '2026-07-17 02:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338956 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.338861 -2.800726)'))) / (select extract(epoch from '2026-07-17 02:16:57'::timestamp) - extract(epoch from '2026-07-17 02:16:49'::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'), 47836, 'SRID=4674;POINT (-40.338744 -2.800697)', '2026-07-17 02:17:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338861 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.338744 -2.800697)'))) / (select extract(epoch from '2026-07-17 02:17:06'::timestamp) - extract(epoch from '2026-07-17 02:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338861 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.338744 -2.800697)'))) / (select extract(epoch from '2026-07-17 02:17:06'::timestamp) - extract(epoch from '2026-07-17 02:16: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'), 47836, 'SRID=4674;POINT (-40.338605 -2.800679)', '2026-07-17 02:17:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338744 -2.800697)'), GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.800679)'))) / (select extract(epoch from '2026-07-17 02:17:16'::timestamp) - extract(epoch from '2026-07-17 02:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338744 -2.800697)'), GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.800679)'))) / (select extract(epoch from '2026-07-17 02:17:16'::timestamp) - extract(epoch from '2026-07-17 02:17: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'), 47836, 'SRID=4674;POINT (-40.338497 -2.800663)', '2026-07-17 02:17:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.338497 -2.800663)'))) / (select extract(epoch from '2026-07-17 02:17:24'::timestamp) - extract(epoch from '2026-07-17 02:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.338497 -2.800663)'))) / (select extract(epoch from '2026-07-17 02:17:24'::timestamp) - extract(epoch from '2026-07-17 02:17: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'), 47836, 'SRID=4674;POINT (-40.338373 -2.800651)', '2026-07-17 02:17:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338497 -2.800663)'), GeomFromEWKT('SRID=4674;POINT (-40.338373 -2.800651)'))) / (select extract(epoch from '2026-07-17 02:17:33'::timestamp) - extract(epoch from '2026-07-17 02:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338497 -2.800663)'), GeomFromEWKT('SRID=4674;POINT (-40.338373 -2.800651)'))) / (select extract(epoch from '2026-07-17 02:17:33'::timestamp) - extract(epoch from '2026-07-17 02:17: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'), 47836, 'SRID=4674;POINT (-40.338259 -2.800651)', '2026-07-17 02:17:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338373 -2.800651)'), GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.800651)'))) / (select extract(epoch from '2026-07-17 02:17:41'::timestamp) - extract(epoch from '2026-07-17 02:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338373 -2.800651)'), GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.800651)'))) / (select extract(epoch from '2026-07-17 02:17:41'::timestamp) - extract(epoch from '2026-07-17 02:17: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'), 47836, 'SRID=4674;POINT (-40.338157 -2.800633)', '2026-07-17 02:17:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.800651)'), GeomFromEWKT('SRID=4674;POINT (-40.338157 -2.800633)'))) / (select extract(epoch from '2026-07-17 02:17:49'::timestamp) - extract(epoch from '2026-07-17 02:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.800651)'), GeomFromEWKT('SRID=4674;POINT (-40.338157 -2.800633)'))) / (select extract(epoch from '2026-07-17 02:17:49'::timestamp) - extract(epoch from '2026-07-17 02:17: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'), 47836, 'SRID=4674;POINT (-40.338041 -2.800607)', '2026-07-17 02:17:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338157 -2.800633)'), GeomFromEWKT('SRID=4674;POINT (-40.338041 -2.800607)'))) / (select extract(epoch from '2026-07-17 02:17:58'::timestamp) - extract(epoch from '2026-07-17 02:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338157 -2.800633)'), GeomFromEWKT('SRID=4674;POINT (-40.338041 -2.800607)'))) / (select extract(epoch from '2026-07-17 02:17:58'::timestamp) - extract(epoch from '2026-07-17 02:17:49'::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'), 47836, 'SRID=4674;POINT (-40.337912 -2.800583)', '2026-07-17 02:18:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338041 -2.800607)'), GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.800583)'))) / (select extract(epoch from '2026-07-17 02:18:07'::timestamp) - extract(epoch from '2026-07-17 02:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338041 -2.800607)'), GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.800583)'))) / (select extract(epoch from '2026-07-17 02:18:07'::timestamp) - extract(epoch from '2026-07-17 02:17: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'), 47836, 'SRID=4674;POINT (-40.337809 -2.800567)', '2026-07-17 02:18:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.800583)'), GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.800567)'))) / (select extract(epoch from '2026-07-17 02:18:16'::timestamp) - extract(epoch from '2026-07-17 02:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.800583)'), GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.800567)'))) / (select extract(epoch from '2026-07-17 02:18:16'::timestamp) - extract(epoch from '2026-07-17 02:18: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'), 47836, 'SRID=4674;POINT (-40.337689 -2.800557)', '2026-07-17 02:18:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.800567)'), GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800557)'))) / (select extract(epoch from '2026-07-17 02:18:25'::timestamp) - extract(epoch from '2026-07-17 02:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.800567)'), GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800557)'))) / (select extract(epoch from '2026-07-17 02:18:25'::timestamp) - extract(epoch from '2026-07-17 02:18: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'), 47836, 'SRID=4674;POINT (-40.337554 -2.800546)', '2026-07-17 02:18:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800557)'), GeomFromEWKT('SRID=4674;POINT (-40.337554 -2.800546)'))) / (select extract(epoch from '2026-07-17 02:18:33'::timestamp) - extract(epoch from '2026-07-17 02:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800557)'), GeomFromEWKT('SRID=4674;POINT (-40.337554 -2.800546)'))) / (select extract(epoch from '2026-07-17 02:18:33'::timestamp) - extract(epoch from '2026-07-17 02:18: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'), 47836, 'SRID=4674;POINT (-40.33742 -2.800538)', '2026-07-17 02:18:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337554 -2.800546)'), GeomFromEWKT('SRID=4674;POINT (-40.33742 -2.800538)'))) / (select extract(epoch from '2026-07-17 02:18:42'::timestamp) - extract(epoch from '2026-07-17 02:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337554 -2.800546)'), GeomFromEWKT('SRID=4674;POINT (-40.33742 -2.800538)'))) / (select extract(epoch from '2026-07-17 02:18:42'::timestamp) - extract(epoch from '2026-07-17 02:18: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'), 47836, 'SRID=4674;POINT (-40.337326 -2.800532)', '2026-07-17 02:18:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33742 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.337326 -2.800532)'))) / (select extract(epoch from '2026-07-17 02:18:50'::timestamp) - extract(epoch from '2026-07-17 02:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33742 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.337326 -2.800532)'))) / (select extract(epoch from '2026-07-17 02:18:50'::timestamp) - extract(epoch from '2026-07-17 02:18: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'), 47836, 'SRID=4674;POINT (-40.337201 -2.800528)', '2026-07-17 02:18:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337326 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.337201 -2.800528)'))) / (select extract(epoch from '2026-07-17 02:18:58'::timestamp) - extract(epoch from '2026-07-17 02:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337326 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.337201 -2.800528)'))) / (select extract(epoch from '2026-07-17 02:18:58'::timestamp) - extract(epoch from '2026-07-17 02:18: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'), 47836, 'SRID=4674;POINT (-40.337087 -2.800526)', '2026-07-17 02:19:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337201 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.337087 -2.800526)'))) / (select extract(epoch from '2026-07-17 02:19:06'::timestamp) - extract(epoch from '2026-07-17 02:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337201 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.337087 -2.800526)'))) / (select extract(epoch from '2026-07-17 02:19:06'::timestamp) - extract(epoch from '2026-07-17 02:18: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'), 47836, 'SRID=4674;POINT (-40.336987 -2.800531)', '2026-07-17 02:19:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337087 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.336987 -2.800531)'))) / (select extract(epoch from '2026-07-17 02:19:14'::timestamp) - extract(epoch from '2026-07-17 02:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337087 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.336987 -2.800531)'))) / (select extract(epoch from '2026-07-17 02:19:14'::timestamp) - extract(epoch from '2026-07-17 02:19: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'), 47836, 'SRID=4674;POINT (-40.336901 -2.800533)', '2026-07-17 02:19:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336987 -2.800531)'), GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.800533)'))) / (select extract(epoch from '2026-07-17 02:19:21'::timestamp) - extract(epoch from '2026-07-17 02:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336987 -2.800531)'), GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.800533)'))) / (select extract(epoch from '2026-07-17 02:19:21'::timestamp) - extract(epoch from '2026-07-17 02:19: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'), 47836, 'SRID=4674;POINT (-40.336784 -2.800552)', '2026-07-17 02:19:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.336784 -2.800552)'))) / (select extract(epoch from '2026-07-17 02:19:29'::timestamp) - extract(epoch from '2026-07-17 02:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.336784 -2.800552)'))) / (select extract(epoch from '2026-07-17 02:19:29'::timestamp) - extract(epoch from '2026-07-17 02:19: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'), 47836, 'SRID=4674;POINT (-40.336666 -2.800533)', '2026-07-17 02:19:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336784 -2.800552)'), GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.800533)'))) / (select extract(epoch from '2026-07-17 02:19:38'::timestamp) - extract(epoch from '2026-07-17 02:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336784 -2.800552)'), GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.800533)'))) / (select extract(epoch from '2026-07-17 02:19:38'::timestamp) - extract(epoch from '2026-07-17 02:19: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'), 47836, 'SRID=4674;POINT (-40.336539 -2.800514)', '2026-07-17 02:19:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.800514)'))) / (select extract(epoch from '2026-07-17 02:19:47'::timestamp) - extract(epoch from '2026-07-17 02:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.800514)'))) / (select extract(epoch from '2026-07-17 02:19:47'::timestamp) - extract(epoch from '2026-07-17 02:19: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'), 47836, 'SRID=4674;POINT (-40.336413 -2.800489)', '2026-07-17 02:19:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.336413 -2.800489)'))) / (select extract(epoch from '2026-07-17 02:19:56'::timestamp) - extract(epoch from '2026-07-17 02:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.336413 -2.800489)'))) / (select extract(epoch from '2026-07-17 02:19:56'::timestamp) - extract(epoch from '2026-07-17 02:19: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'), 47836, 'SRID=4674;POINT (-40.336331 -2.800479)', '2026-07-17 02:20:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336413 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.336331 -2.800479)'))) / (select extract(epoch from '2026-07-17 02:20:03'::timestamp) - extract(epoch from '2026-07-17 02:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336413 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.336331 -2.800479)'))) / (select extract(epoch from '2026-07-17 02:20:03'::timestamp) - extract(epoch from '2026-07-17 02:19:56'::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'), 47836, 'SRID=4674;POINT (-40.336213 -2.800493)', '2026-07-17 02:20:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336331 -2.800479)'), GeomFromEWKT('SRID=4674;POINT (-40.336213 -2.800493)'))) / (select extract(epoch from '2026-07-17 02:20:11'::timestamp) - extract(epoch from '2026-07-17 02:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336331 -2.800479)'), GeomFromEWKT('SRID=4674;POINT (-40.336213 -2.800493)'))) / (select extract(epoch from '2026-07-17 02:20:11'::timestamp) - extract(epoch from '2026-07-17 02:20: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'), 47836, 'SRID=4674;POINT (-40.336105 -2.800498)', '2026-07-17 02:20:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336213 -2.800493)'), GeomFromEWKT('SRID=4674;POINT (-40.336105 -2.800498)'))) / (select extract(epoch from '2026-07-17 02:20:19'::timestamp) - extract(epoch from '2026-07-17 02:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336213 -2.800493)'), GeomFromEWKT('SRID=4674;POINT (-40.336105 -2.800498)'))) / (select extract(epoch from '2026-07-17 02:20:19'::timestamp) - extract(epoch from '2026-07-17 02:20:11'::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'), 47836, 'SRID=4674;POINT (-40.336007 -2.800506)', '2026-07-17 02:20:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336105 -2.800498)'), GeomFromEWKT('SRID=4674;POINT (-40.336007 -2.800506)'))) / (select extract(epoch from '2026-07-17 02:20:26'::timestamp) - extract(epoch from '2026-07-17 02:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336105 -2.800498)'), GeomFromEWKT('SRID=4674;POINT (-40.336007 -2.800506)'))) / (select extract(epoch from '2026-07-17 02:20:26'::timestamp) - extract(epoch from '2026-07-17 02:20:19'::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'), 47836, 'SRID=4674;POINT (-40.335884 -2.800512)', '2026-07-17 02:20:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336007 -2.800506)'), GeomFromEWKT('SRID=4674;POINT (-40.335884 -2.800512)'))) / (select extract(epoch from '2026-07-17 02:20:36'::timestamp) - extract(epoch from '2026-07-17 02:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336007 -2.800506)'), GeomFromEWKT('SRID=4674;POINT (-40.335884 -2.800512)'))) / (select extract(epoch from '2026-07-17 02:20:36'::timestamp) - extract(epoch from '2026-07-17 02:20: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'), 47836, 'SRID=4674;POINT (-40.335732 -2.800539)', '2026-07-17 02:20:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335884 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.335732 -2.800539)'))) / (select extract(epoch from '2026-07-17 02:20:46'::timestamp) - extract(epoch from '2026-07-17 02:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335884 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.335732 -2.800539)'))) / (select extract(epoch from '2026-07-17 02:20:46'::timestamp) - extract(epoch from '2026-07-17 02:20:36'::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'), 47836, 'SRID=4674;POINT (-40.335587 -2.80057)', '2026-07-17 02:20:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335732 -2.800539)'), GeomFromEWKT('SRID=4674;POINT (-40.335587 -2.80057)'))) / (select extract(epoch from '2026-07-17 02:20:56'::timestamp) - extract(epoch from '2026-07-17 02:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335732 -2.800539)'), GeomFromEWKT('SRID=4674;POINT (-40.335587 -2.80057)'))) / (select extract(epoch from '2026-07-17 02:20:56'::timestamp) - extract(epoch from '2026-07-17 02:20: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'), 47836, 'SRID=4674;POINT (-40.335499 -2.800591)', '2026-07-17 02:21:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335587 -2.80057)'), GeomFromEWKT('SRID=4674;POINT (-40.335499 -2.800591)'))) / (select extract(epoch from '2026-07-17 02:21:03'::timestamp) - extract(epoch from '2026-07-17 02:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335587 -2.80057)'), GeomFromEWKT('SRID=4674;POINT (-40.335499 -2.800591)'))) / (select extract(epoch from '2026-07-17 02:21:03'::timestamp) - extract(epoch from '2026-07-17 02:20:56'::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'), 47836, 'SRID=4674;POINT (-40.33539 -2.800607)', '2026-07-17 02:21:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335499 -2.800591)'), GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.800607)'))) / (select extract(epoch from '2026-07-17 02:21:12'::timestamp) - extract(epoch from '2026-07-17 02:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335499 -2.800591)'), GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.800607)'))) / (select extract(epoch from '2026-07-17 02:21:12'::timestamp) - extract(epoch from '2026-07-17 02:21: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'), 47836, 'SRID=4674;POINT (-40.33526 -2.800632)', '2026-07-17 02:21:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.800607)'), GeomFromEWKT('SRID=4674;POINT (-40.33526 -2.800632)'))) / (select extract(epoch from '2026-07-17 02:21:21'::timestamp) - extract(epoch from '2026-07-17 02:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.800607)'), GeomFromEWKT('SRID=4674;POINT (-40.33526 -2.800632)'))) / (select extract(epoch from '2026-07-17 02:21:21'::timestamp) - extract(epoch from '2026-07-17 02:21:12'::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'), 47836, 'SRID=4674;POINT (-40.33513 -2.800658)', '2026-07-17 02:21:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33526 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.33513 -2.800658)'))) / (select extract(epoch from '2026-07-17 02:21:30'::timestamp) - extract(epoch from '2026-07-17 02:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33526 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.33513 -2.800658)'))) / (select extract(epoch from '2026-07-17 02:21:30'::timestamp) - extract(epoch from '2026-07-17 02:21: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'), 47836, 'SRID=4674;POINT (-40.335002 -2.800686)', '2026-07-17 02:21:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33513 -2.800658)'), GeomFromEWKT('SRID=4674;POINT (-40.335002 -2.800686)'))) / (select extract(epoch from '2026-07-17 02:21:39'::timestamp) - extract(epoch from '2026-07-17 02:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33513 -2.800658)'), GeomFromEWKT('SRID=4674;POINT (-40.335002 -2.800686)'))) / (select extract(epoch from '2026-07-17 02:21:39'::timestamp) - extract(epoch from '2026-07-17 02:21: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'), 47836, 'SRID=4674;POINT (-40.334905 -2.800695)', '2026-07-17 02:21:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335002 -2.800686)'), GeomFromEWKT('SRID=4674;POINT (-40.334905 -2.800695)'))) / (select extract(epoch from '2026-07-17 02:21:47'::timestamp) - extract(epoch from '2026-07-17 02:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335002 -2.800686)'), GeomFromEWKT('SRID=4674;POINT (-40.334905 -2.800695)'))) / (select extract(epoch from '2026-07-17 02:21:47'::timestamp) - extract(epoch from '2026-07-17 02:21: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'), 47836, 'SRID=4674;POINT (-40.334801 -2.80072)', '2026-07-17 02:21:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334905 -2.800695)'), GeomFromEWKT('SRID=4674;POINT (-40.334801 -2.80072)'))) / (select extract(epoch from '2026-07-17 02:21:55'::timestamp) - extract(epoch from '2026-07-17 02:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334905 -2.800695)'), GeomFromEWKT('SRID=4674;POINT (-40.334801 -2.80072)'))) / (select extract(epoch from '2026-07-17 02:21:55'::timestamp) - extract(epoch from '2026-07-17 02:21: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'), 47836, 'SRID=4674;POINT (-40.334649 -2.800755)', '2026-07-17 02:22:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334801 -2.80072)'), GeomFromEWKT('SRID=4674;POINT (-40.334649 -2.800755)'))) / (select extract(epoch from '2026-07-17 02:22:06'::timestamp) - extract(epoch from '2026-07-17 02:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334801 -2.80072)'), GeomFromEWKT('SRID=4674;POINT (-40.334649 -2.800755)'))) / (select extract(epoch from '2026-07-17 02:22:06'::timestamp) - extract(epoch from '2026-07-17 02:21: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'), 47836, 'SRID=4674;POINT (-40.334525 -2.800783)', '2026-07-17 02:22:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334649 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.334525 -2.800783)'))) / (select extract(epoch from '2026-07-17 02:22:14'::timestamp) - extract(epoch from '2026-07-17 02:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334649 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.334525 -2.800783)'))) / (select extract(epoch from '2026-07-17 02:22:14'::timestamp) - extract(epoch from '2026-07-17 02:22: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'), 47836, 'SRID=4674;POINT (-40.334378 -2.80082)', '2026-07-17 02:22:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334525 -2.800783)'), GeomFromEWKT('SRID=4674;POINT (-40.334378 -2.80082)'))) / (select extract(epoch from '2026-07-17 02:22:24'::timestamp) - extract(epoch from '2026-07-17 02:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334525 -2.800783)'), GeomFromEWKT('SRID=4674;POINT (-40.334378 -2.80082)'))) / (select extract(epoch from '2026-07-17 02:22:24'::timestamp) - extract(epoch from '2026-07-17 02:22: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'), 47836, 'SRID=4674;POINT (-40.334242 -2.800854)', '2026-07-17 02:22:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334378 -2.80082)'), GeomFromEWKT('SRID=4674;POINT (-40.334242 -2.800854)'))) / (select extract(epoch from '2026-07-17 02:22:34'::timestamp) - extract(epoch from '2026-07-17 02:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334378 -2.80082)'), GeomFromEWKT('SRID=4674;POINT (-40.334242 -2.800854)'))) / (select extract(epoch from '2026-07-17 02:22:34'::timestamp) - extract(epoch from '2026-07-17 02:22: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'), 47836, 'SRID=4674;POINT (-40.334122 -2.800891)', '2026-07-17 02:22:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334242 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.334122 -2.800891)'))) / (select extract(epoch from '2026-07-17 02:22:43'::timestamp) - extract(epoch from '2026-07-17 02:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334242 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.334122 -2.800891)'))) / (select extract(epoch from '2026-07-17 02:22:43'::timestamp) - extract(epoch from '2026-07-17 02:22:34'::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'), 47836, 'SRID=4674;POINT (-40.334046 -2.800919)', '2026-07-17 02:22:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334122 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.800919)'))) / (select extract(epoch from '2026-07-17 02:22:50'::timestamp) - extract(epoch from '2026-07-17 02:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334122 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.800919)'))) / (select extract(epoch from '2026-07-17 02:22:50'::timestamp) - extract(epoch from '2026-07-17 02:22:43'::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'), 47836, 'SRID=4674;POINT (-40.333907 -2.800975)', '2026-07-17 02:22:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.800919)'), GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.800975)'))) / (select extract(epoch from '2026-07-17 02:22:58'::timestamp) - extract(epoch from '2026-07-17 02:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.800919)'), GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.800975)'))) / (select extract(epoch from '2026-07-17 02:22:58'::timestamp) - extract(epoch from '2026-07-17 02:22: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'), 47836, 'SRID=4674;POINT (-40.333829 -2.800991)', '2026-07-17 02:23:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.800975)'), GeomFromEWKT('SRID=4674;POINT (-40.333829 -2.800991)'))) / (select extract(epoch from '2026-07-17 02:23:05'::timestamp) - extract(epoch from '2026-07-17 02:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.800975)'), GeomFromEWKT('SRID=4674;POINT (-40.333829 -2.800991)'))) / (select extract(epoch from '2026-07-17 02:23:05'::timestamp) - extract(epoch from '2026-07-17 02:22: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'), 47836, 'SRID=4674;POINT (-40.333717 -2.801017)', '2026-07-17 02:23:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333829 -2.800991)'), GeomFromEWKT('SRID=4674;POINT (-40.333717 -2.801017)'))) / (select extract(epoch from '2026-07-17 02:23:14'::timestamp) - extract(epoch from '2026-07-17 02:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333829 -2.800991)'), GeomFromEWKT('SRID=4674;POINT (-40.333717 -2.801017)'))) / (select extract(epoch from '2026-07-17 02:23:14'::timestamp) - extract(epoch from '2026-07-17 02:23: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'), 47836, 'SRID=4674;POINT (-40.333601 -2.801045)', '2026-07-17 02:23:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333717 -2.801017)'), GeomFromEWKT('SRID=4674;POINT (-40.333601 -2.801045)'))) / (select extract(epoch from '2026-07-17 02:23:22'::timestamp) - extract(epoch from '2026-07-17 02:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333717 -2.801017)'), GeomFromEWKT('SRID=4674;POINT (-40.333601 -2.801045)'))) / (select extract(epoch from '2026-07-17 02:23:22'::timestamp) - extract(epoch from '2026-07-17 02:23: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'), 47836, 'SRID=4674;POINT (-40.333457 -2.801062)', '2026-07-17 02:23:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333601 -2.801045)'), GeomFromEWKT('SRID=4674;POINT (-40.333457 -2.801062)'))) / (select extract(epoch from '2026-07-17 02:23:32'::timestamp) - extract(epoch from '2026-07-17 02:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333601 -2.801045)'), GeomFromEWKT('SRID=4674;POINT (-40.333457 -2.801062)'))) / (select extract(epoch from '2026-07-17 02:23:32'::timestamp) - extract(epoch from '2026-07-17 02:23:22'::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'), 47836, 'SRID=4674;POINT (-40.333356 -2.801092)', '2026-07-17 02:23:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333457 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.333356 -2.801092)'))) / (select extract(epoch from '2026-07-17 02:23:40'::timestamp) - extract(epoch from '2026-07-17 02:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333457 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.333356 -2.801092)'))) / (select extract(epoch from '2026-07-17 02:23:40'::timestamp) - extract(epoch from '2026-07-17 02:23: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'), 47836, 'SRID=4674;POINT (-40.333261 -2.801122)', '2026-07-17 02:23:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333356 -2.801092)'), GeomFromEWKT('SRID=4674;POINT (-40.333261 -2.801122)'))) / (select extract(epoch from '2026-07-17 02:23:47'::timestamp) - extract(epoch from '2026-07-17 02:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333356 -2.801092)'), GeomFromEWKT('SRID=4674;POINT (-40.333261 -2.801122)'))) / (select extract(epoch from '2026-07-17 02:23:47'::timestamp) - extract(epoch from '2026-07-17 02:23:40'::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'), 47836, 'SRID=4674;POINT (-40.333132 -2.801157)', '2026-07-17 02:23:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333261 -2.801122)'), GeomFromEWKT('SRID=4674;POINT (-40.333132 -2.801157)'))) / (select extract(epoch from '2026-07-17 02:23:55'::timestamp) - extract(epoch from '2026-07-17 02:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333261 -2.801122)'), GeomFromEWKT('SRID=4674;POINT (-40.333132 -2.801157)'))) / (select extract(epoch from '2026-07-17 02:23:55'::timestamp) - extract(epoch from '2026-07-17 02:23: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'), 47836, 'SRID=4674;POINT (-40.333023 -2.801173)', '2026-07-17 02:24:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333132 -2.801157)'), GeomFromEWKT('SRID=4674;POINT (-40.333023 -2.801173)'))) / (select extract(epoch from '2026-07-17 02:24:03'::timestamp) - extract(epoch from '2026-07-17 02:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333132 -2.801157)'), GeomFromEWKT('SRID=4674;POINT (-40.333023 -2.801173)'))) / (select extract(epoch from '2026-07-17 02:24:03'::timestamp) - extract(epoch from '2026-07-17 02:23: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'), 47836, 'SRID=4674;POINT (-40.332906 -2.8012)', '2026-07-17 02:24:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333023 -2.801173)'), GeomFromEWKT('SRID=4674;POINT (-40.332906 -2.8012)'))) / (select extract(epoch from '2026-07-17 02:24:11'::timestamp) - extract(epoch from '2026-07-17 02:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333023 -2.801173)'), GeomFromEWKT('SRID=4674;POINT (-40.332906 -2.8012)'))) / (select extract(epoch from '2026-07-17 02:24:11'::timestamp) - extract(epoch from '2026-07-17 02:24: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'), 47836, 'SRID=4674;POINT (-40.332814 -2.801207)', '2026-07-17 02:24:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332906 -2.8012)'), GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.801207)'))) / (select extract(epoch from '2026-07-17 02:24:18'::timestamp) - extract(epoch from '2026-07-17 02:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332906 -2.8012)'), GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.801207)'))) / (select extract(epoch from '2026-07-17 02:24:18'::timestamp) - extract(epoch from '2026-07-17 02:24:11'::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'), 47836, 'SRID=4674;POINT (-40.332658 -2.801247)', '2026-07-17 02:24:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.801207)'), GeomFromEWKT('SRID=4674;POINT (-40.332658 -2.801247)'))) / (select extract(epoch from '2026-07-17 02:24:28'::timestamp) - extract(epoch from '2026-07-17 02:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.801207)'), GeomFromEWKT('SRID=4674;POINT (-40.332658 -2.801247)'))) / (select extract(epoch from '2026-07-17 02:24:28'::timestamp) - extract(epoch from '2026-07-17 02:24: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'), 47836, 'SRID=4674;POINT (-40.332533 -2.801307)', '2026-07-17 02:24:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332658 -2.801247)'), GeomFromEWKT('SRID=4674;POINT (-40.332533 -2.801307)'))) / (select extract(epoch from '2026-07-17 02:24:38'::timestamp) - extract(epoch from '2026-07-17 02:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332658 -2.801247)'), GeomFromEWKT('SRID=4674;POINT (-40.332533 -2.801307)'))) / (select extract(epoch from '2026-07-17 02:24:38'::timestamp) - extract(epoch from '2026-07-17 02:24:28'::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'), 47836, 'SRID=4674;POINT (-40.332433 -2.801344)', '2026-07-17 02:24:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332533 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.332433 -2.801344)'))) / (select extract(epoch from '2026-07-17 02:24:46'::timestamp) - extract(epoch from '2026-07-17 02:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332533 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.332433 -2.801344)'))) / (select extract(epoch from '2026-07-17 02:24:46'::timestamp) - extract(epoch from '2026-07-17 02:24: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'), 47836, 'SRID=4674;POINT (-40.332339 -2.801378)', '2026-07-17 02:24:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332433 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.332339 -2.801378)'))) / (select extract(epoch from '2026-07-17 02:24:53'::timestamp) - extract(epoch from '2026-07-17 02:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332433 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.332339 -2.801378)'))) / (select extract(epoch from '2026-07-17 02:24:53'::timestamp) - extract(epoch from '2026-07-17 02:24: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'), 47836, 'SRID=4674;POINT (-40.332233 -2.801415)', '2026-07-17 02:25:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332339 -2.801378)'), GeomFromEWKT('SRID=4674;POINT (-40.332233 -2.801415)'))) / (select extract(epoch from '2026-07-17 02:25:02'::timestamp) - extract(epoch from '2026-07-17 02:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332339 -2.801378)'), GeomFromEWKT('SRID=4674;POINT (-40.332233 -2.801415)'))) / (select extract(epoch from '2026-07-17 02:25:02'::timestamp) - extract(epoch from '2026-07-17 02:24: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'), 47836, 'SRID=4674;POINT (-40.332081 -2.801452)', '2026-07-17 02:25:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332233 -2.801415)'), GeomFromEWKT('SRID=4674;POINT (-40.332081 -2.801452)'))) / (select extract(epoch from '2026-07-17 02:25:13'::timestamp) - extract(epoch from '2026-07-17 02:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332233 -2.801415)'), GeomFromEWKT('SRID=4674;POINT (-40.332081 -2.801452)'))) / (select extract(epoch from '2026-07-17 02:25:13'::timestamp) - extract(epoch from '2026-07-17 02:25: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'), 47836, 'SRID=4674;POINT (-40.33198 -2.801472)', '2026-07-17 02:25:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332081 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.33198 -2.801472)'))) / (select extract(epoch from '2026-07-17 02:25:20'::timestamp) - extract(epoch from '2026-07-17 02:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332081 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.33198 -2.801472)'))) / (select extract(epoch from '2026-07-17 02:25:20'::timestamp) - extract(epoch from '2026-07-17 02:25: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'), 47836, 'SRID=4674;POINT (-40.331873 -2.801467)', '2026-07-17 02:25:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33198 -2.801472)'), GeomFromEWKT('SRID=4674;POINT (-40.331873 -2.801467)'))) / (select extract(epoch from '2026-07-17 02:25:27'::timestamp) - extract(epoch from '2026-07-17 02:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33198 -2.801472)'), GeomFromEWKT('SRID=4674;POINT (-40.331873 -2.801467)'))) / (select extract(epoch from '2026-07-17 02:25:27'::timestamp) - extract(epoch from '2026-07-17 02:25:20'::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'), 47836, 'SRID=4674;POINT (-40.331734 -2.801456)', '2026-07-17 02:25:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331873 -2.801467)'), GeomFromEWKT('SRID=4674;POINT (-40.331734 -2.801456)'))) / (select extract(epoch from '2026-07-17 02:25:37'::timestamp) - extract(epoch from '2026-07-17 02:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331873 -2.801467)'), GeomFromEWKT('SRID=4674;POINT (-40.331734 -2.801456)'))) / (select extract(epoch from '2026-07-17 02:25:37'::timestamp) - extract(epoch from '2026-07-17 02:25:27'::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'), 47836, 'SRID=4674;POINT (-40.331618 -2.801452)', '2026-07-17 02:25:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331734 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.801452)'))) / (select extract(epoch from '2026-07-17 02:25:45'::timestamp) - extract(epoch from '2026-07-17 02:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331734 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.801452)'))) / (select extract(epoch from '2026-07-17 02:25:45'::timestamp) - extract(epoch from '2026-07-17 02:25: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'), 47836, 'SRID=4674;POINT (-40.331472 -2.801453)', '2026-07-17 02:25:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.801453)'))) / (select extract(epoch from '2026-07-17 02:25:57'::timestamp) - extract(epoch from '2026-07-17 02:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.801453)'))) / (select extract(epoch from '2026-07-17 02:25:57'::timestamp) - extract(epoch from '2026-07-17 02:25: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'), 47836, 'SRID=4674;POINT (-40.331369 -2.80145)', '2026-07-17 02:26:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.801453)'), GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.80145)'))) / (select extract(epoch from '2026-07-17 02:26:04'::timestamp) - extract(epoch from '2026-07-17 02:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.801453)'), GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.80145)'))) / (select extract(epoch from '2026-07-17 02:26:04'::timestamp) - extract(epoch from '2026-07-17 02:25: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'), 47836, 'SRID=4674;POINT (-40.331228 -2.801446)', '2026-07-17 02:26:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.331228 -2.801446)'))) / (select extract(epoch from '2026-07-17 02:26:13'::timestamp) - extract(epoch from '2026-07-17 02:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.331228 -2.801446)'))) / (select extract(epoch from '2026-07-17 02:26:13'::timestamp) - extract(epoch from '2026-07-17 02:26: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'), 47836, 'SRID=4674;POINT (-40.331048 -2.801435)', '2026-07-17 02:26:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331228 -2.801446)'), GeomFromEWKT('SRID=4674;POINT (-40.331048 -2.801435)'))) / (select extract(epoch from '2026-07-17 02:26:25'::timestamp) - extract(epoch from '2026-07-17 02:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331228 -2.801446)'), GeomFromEWKT('SRID=4674;POINT (-40.331048 -2.801435)'))) / (select extract(epoch from '2026-07-17 02:26:25'::timestamp) - extract(epoch from '2026-07-17 02:26: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'), 47836, 'SRID=4674;POINT (-40.330934 -2.801425)', '2026-07-17 02:26:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331048 -2.801435)'), GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.801425)'))) / (select extract(epoch from '2026-07-17 02:26:35'::timestamp) - extract(epoch from '2026-07-17 02:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331048 -2.801435)'), GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.801425)'))) / (select extract(epoch from '2026-07-17 02:26:35'::timestamp) - extract(epoch from '2026-07-17 02:26: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'), 47836, 'SRID=4674;POINT (-40.330794 -2.80144)', '2026-07-17 02:26:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.801425)'), GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.80144)'))) / (select extract(epoch from '2026-07-17 02:26:45'::timestamp) - extract(epoch from '2026-07-17 02:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.801425)'), GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.80144)'))) / (select extract(epoch from '2026-07-17 02:26:45'::timestamp) - extract(epoch from '2026-07-17 02:26: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'), 47836, 'SRID=4674;POINT (-40.330673 -2.80146)', '2026-07-17 02:26:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.80144)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.80146)'))) / (select extract(epoch from '2026-07-17 02:26:54'::timestamp) - extract(epoch from '2026-07-17 02:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.80144)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.80146)'))) / (select extract(epoch from '2026-07-17 02:26:54'::timestamp) - extract(epoch from '2026-07-17 02:26: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'), 47836, 'SRID=4674;POINT (-40.330556 -2.801481)', '2026-07-17 02:27:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.80146)'), GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.801481)'))) / (select extract(epoch from '2026-07-17 02:27:02'::timestamp) - extract(epoch from '2026-07-17 02:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.80146)'), GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.801481)'))) / (select extract(epoch from '2026-07-17 02:27:02'::timestamp) - extract(epoch from '2026-07-17 02:26: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'), 47836, 'SRID=4674;POINT (-40.330458 -2.801525)', '2026-07-17 02:27:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.330458 -2.801525)'))) / (select extract(epoch from '2026-07-17 02:27:10'::timestamp) - extract(epoch from '2026-07-17 02:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.330458 -2.801525)'))) / (select extract(epoch from '2026-07-17 02:27:10'::timestamp) - extract(epoch from '2026-07-17 02:27: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'), 47836, 'SRID=4674;POINT (-40.330365 -2.801589)', '2026-07-17 02:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330458 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.801589)'))) / (select extract(epoch from '2026-07-17 02:27:18'::timestamp) - extract(epoch from '2026-07-17 02:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330458 -2.801525)'), GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.801589)'))) / (select extract(epoch from '2026-07-17 02:27:18'::timestamp) - extract(epoch from '2026-07-17 02:27: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'), 47836, 'SRID=4674;POINT (-40.330274 -2.801616)', '2026-07-17 02:27:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.330274 -2.801616)'))) / (select extract(epoch from '2026-07-17 02:27:26'::timestamp) - extract(epoch from '2026-07-17 02:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.330274 -2.801616)'))) / (select extract(epoch from '2026-07-17 02:27:26'::timestamp) - extract(epoch from '2026-07-17 02:27: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'), 47836, 'SRID=4674;POINT (-40.330132 -2.801609)', '2026-07-17 02:27:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330274 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.801609)'))) / (select extract(epoch from '2026-07-17 02:27:36'::timestamp) - extract(epoch from '2026-07-17 02:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330274 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.801609)'))) / (select extract(epoch from '2026-07-17 02:27:36'::timestamp) - extract(epoch from '2026-07-17 02:27: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'), 47836, 'SRID=4674;POINT (-40.329992 -2.801607)', '2026-07-17 02:27:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.329992 -2.801607)'))) / (select extract(epoch from '2026-07-17 02:27:45'::timestamp) - extract(epoch from '2026-07-17 02:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.329992 -2.801607)'))) / (select extract(epoch from '2026-07-17 02:27:45'::timestamp) - extract(epoch from '2026-07-17 02:27:36'::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'), 47836, 'SRID=4674;POINT (-40.329889 -2.801603)', '2026-07-17 02:27:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329992 -2.801607)'), GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.801603)'))) / (select extract(epoch from '2026-07-17 02:27:53'::timestamp) - extract(epoch from '2026-07-17 02:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329992 -2.801607)'), GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.801603)'))) / (select extract(epoch from '2026-07-17 02:27:53'::timestamp) - extract(epoch from '2026-07-17 02:27: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'), 47836, 'SRID=4674;POINT (-40.329774 -2.801593)', '2026-07-17 02:28:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.801603)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.801593)'))) / (select extract(epoch from '2026-07-17 02:28:02'::timestamp) - extract(epoch from '2026-07-17 02:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329889 -2.801603)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.801593)'))) / (select extract(epoch from '2026-07-17 02:28:02'::timestamp) - extract(epoch from '2026-07-17 02:27: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'), 47836, 'SRID=4674;POINT (-40.32964 -2.801591)', '2026-07-17 02:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.32964 -2.801591)'))) / (select extract(epoch from '2026-07-17 02:28:11'::timestamp) - extract(epoch from '2026-07-17 02:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.32964 -2.801591)'))) / (select extract(epoch from '2026-07-17 02:28:11'::timestamp) - extract(epoch from '2026-07-17 02:28: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'), 47836, 'SRID=4674;POINT (-40.329506 -2.801579)', '2026-07-17 02:28:20', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32964 -2.801591)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.801579)'))) / (select extract(epoch from '2026-07-17 02:28:20'::timestamp) - extract(epoch from '2026-07-17 02:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32964 -2.801591)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.801579)'))) / (select extract(epoch from '2026-07-17 02:28:20'::timestamp) - extract(epoch from '2026-07-17 02:28:11'::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'), 47836, 'SRID=4674;POINT (-40.329388 -2.801587)', '2026-07-17 02:28:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.801579)'), GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801587)'))) / (select extract(epoch from '2026-07-17 02:28:28'::timestamp) - extract(epoch from '2026-07-17 02:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.801579)'), GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801587)'))) / (select extract(epoch from '2026-07-17 02:28:28'::timestamp) - extract(epoch from '2026-07-17 02:28:20'::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'), 47836, 'SRID=4674;POINT (-40.329285 -2.8016)', '2026-07-17 02:28:36', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801587)'), GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.8016)'))) / (select extract(epoch from '2026-07-17 02:28:36'::timestamp) - extract(epoch from '2026-07-17 02:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801587)'), GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.8016)'))) / (select extract(epoch from '2026-07-17 02:28:36'::timestamp) - extract(epoch from '2026-07-17 02:28:28'::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'), 47836, 'SRID=4674;POINT (-40.329188 -2.801612)', '2026-07-17 02:28:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.8016)'), GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:28:43'::timestamp) - extract(epoch from '2026-07-17 02:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.8016)'), GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:28:43'::timestamp) - extract(epoch from '2026-07-17 02:28:36'::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'), 47836, 'SRID=4674;POINT (-40.329075 -2.801609)', '2026-07-17 02:28:52', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.801609)'))) / (select extract(epoch from '2026-07-17 02:28:52'::timestamp) - extract(epoch from '2026-07-17 02:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.801609)'))) / (select extract(epoch from '2026-07-17 02:28:52'::timestamp) - extract(epoch from '2026-07-17 02:28:43'::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'), 47836, 'SRID=4674;POINT (-40.328963 -2.801616)', '2026-07-17 02:28:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801616)'))) / (select extract(epoch from '2026-07-17 02:28:59'::timestamp) - extract(epoch from '2026-07-17 02:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801616)'))) / (select extract(epoch from '2026-07-17 02:28:59'::timestamp) - extract(epoch from '2026-07-17 02:28: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'), 47836, 'SRID=4674;POINT (-40.328829 -2.80162)', '2026-07-17 02:29:07', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.80162)'))) / (select extract(epoch from '2026-07-17 02:29:07'::timestamp) - extract(epoch from '2026-07-17 02:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.80162)'))) / (select extract(epoch from '2026-07-17 02:29:07'::timestamp) - extract(epoch from '2026-07-17 02:28: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'), 47836, 'SRID=4674;POINT (-40.328715 -2.801622)', '2026-07-17 02:29:15', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.80162)'), GeomFromEWKT('SRID=4674;POINT (-40.328715 -2.801622)'))) / (select extract(epoch from '2026-07-17 02:29:15'::timestamp) - extract(epoch from '2026-07-17 02:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328829 -2.80162)'), GeomFromEWKT('SRID=4674;POINT (-40.328715 -2.801622)'))) / (select extract(epoch from '2026-07-17 02:29:15'::timestamp) - extract(epoch from '2026-07-17 02:29: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'), 47836, 'SRID=4674;POINT (-40.328613 -2.801614)', '2026-07-17 02:29:23', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328715 -2.801622)'), GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.801614)'))) / (select extract(epoch from '2026-07-17 02:29:23'::timestamp) - extract(epoch from '2026-07-17 02:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328715 -2.801622)'), GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.801614)'))) / (select extract(epoch from '2026-07-17 02:29:23'::timestamp) - extract(epoch from '2026-07-17 02:29: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'), 47836, 'SRID=4674;POINT (-40.328488 -2.801612)', '2026-07-17 02:29:32', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:29:32'::timestamp) - extract(epoch from '2026-07-17 02:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:29:32'::timestamp) - extract(epoch from '2026-07-17 02:29: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'), 47836, 'SRID=4674;POINT (-40.328392 -2.801612)', '2026-07-17 02:29:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:29:39'::timestamp) - extract(epoch from '2026-07-17 02:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:29:39'::timestamp) - extract(epoch from '2026-07-17 02:29: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'), 47836, 'SRID=4674;POINT (-40.328282 -2.801606)', '2026-07-17 02:29:46', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.801606)'))) / (select extract(epoch from '2026-07-17 02:29:46'::timestamp) - extract(epoch from '2026-07-17 02:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.801606)'))) / (select extract(epoch from '2026-07-17 02:29:46'::timestamp) - extract(epoch from '2026-07-17 02:29: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'), 47836, 'SRID=4674;POINT (-40.328138 -2.801596)', '2026-07-17 02:29:56', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.801596)'))) / (select extract(epoch from '2026-07-17 02:29:56'::timestamp) - extract(epoch from '2026-07-17 02:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.801596)'))) / (select extract(epoch from '2026-07-17 02:29:56'::timestamp) - extract(epoch from '2026-07-17 02:29: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'), 47836, 'SRID=4674;POINT (-40.327989 -2.801593)', '2026-07-17 02:30:06', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.327989 -2.801593)'))) / (select extract(epoch from '2026-07-17 02:30:06'::timestamp) - extract(epoch from '2026-07-17 02:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.327989 -2.801593)'))) / (select extract(epoch from '2026-07-17 02:30:06'::timestamp) - extract(epoch from '2026-07-17 02:29:56'::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'), 47836, 'SRID=4674;POINT (-40.327843 -2.801596)', '2026-07-17 02:30:15', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327989 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.327843 -2.801596)'))) / (select extract(epoch from '2026-07-17 02:30:15'::timestamp) - extract(epoch from '2026-07-17 02:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327989 -2.801593)'), GeomFromEWKT('SRID=4674;POINT (-40.327843 -2.801596)'))) / (select extract(epoch from '2026-07-17 02:30:15'::timestamp) - extract(epoch from '2026-07-17 02:30: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'), 47836, 'SRID=4674;POINT (-40.327732 -2.801604)', '2026-07-17 02:30:23', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327843 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.327732 -2.801604)'))) / (select extract(epoch from '2026-07-17 02:30:23'::timestamp) - extract(epoch from '2026-07-17 02:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327843 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.327732 -2.801604)'))) / (select extract(epoch from '2026-07-17 02:30:23'::timestamp) - extract(epoch from '2026-07-17 02:30: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'), 47836, 'SRID=4674;POINT (-40.327618 -2.801639)', '2026-07-17 02:30:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327732 -2.801604)'), GeomFromEWKT('SRID=4674;POINT (-40.327618 -2.801639)'))) / (select extract(epoch from '2026-07-17 02:30:32'::timestamp) - extract(epoch from '2026-07-17 02:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327732 -2.801604)'), GeomFromEWKT('SRID=4674;POINT (-40.327618 -2.801639)'))) / (select extract(epoch from '2026-07-17 02:30:32'::timestamp) - extract(epoch from '2026-07-17 02:30: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'), 47836, 'SRID=4674;POINT (-40.327512 -2.801666)', '2026-07-17 02:30:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327618 -2.801639)'), GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.801666)'))) / (select extract(epoch from '2026-07-17 02:30:40'::timestamp) - extract(epoch from '2026-07-17 02:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327618 -2.801639)'), GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.801666)'))) / (select extract(epoch from '2026-07-17 02:30:40'::timestamp) - extract(epoch from '2026-07-17 02:30: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'), 47836, 'SRID=4674;POINT (-40.327378 -2.801656)', '2026-07-17 02:30:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.801666)'), GeomFromEWKT('SRID=4674;POINT (-40.327378 -2.801656)'))) / (select extract(epoch from '2026-07-17 02:30:50'::timestamp) - extract(epoch from '2026-07-17 02:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.801666)'), GeomFromEWKT('SRID=4674;POINT (-40.327378 -2.801656)'))) / (select extract(epoch from '2026-07-17 02:30:50'::timestamp) - extract(epoch from '2026-07-17 02:30:40'::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'), 47836, 'SRID=4674;POINT (-40.327251 -2.801646)', '2026-07-17 02:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327378 -2.801656)'), GeomFromEWKT('SRID=4674;POINT (-40.327251 -2.801646)'))) / (select extract(epoch from '2026-07-17 02:30:59'::timestamp) - extract(epoch from '2026-07-17 02:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327378 -2.801656)'), GeomFromEWKT('SRID=4674;POINT (-40.327251 -2.801646)'))) / (select extract(epoch from '2026-07-17 02:30:59'::timestamp) - extract(epoch from '2026-07-17 02:30: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'), 47836, 'SRID=4674;POINT (-40.327119 -2.801652)', '2026-07-17 02:31:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327251 -2.801646)'), GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.801652)'))) / (select extract(epoch from '2026-07-17 02:31:08'::timestamp) - extract(epoch from '2026-07-17 02:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327251 -2.801646)'), GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.801652)'))) / (select extract(epoch from '2026-07-17 02:31:08'::timestamp) - extract(epoch from '2026-07-17 02:30: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'), 47836, 'SRID=4674;POINT (-40.326951 -2.801646)', '2026-07-17 02:31:18', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.326951 -2.801646)'))) / (select extract(epoch from '2026-07-17 02:31:18'::timestamp) - extract(epoch from '2026-07-17 02:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.326951 -2.801646)'))) / (select extract(epoch from '2026-07-17 02:31:18'::timestamp) - extract(epoch from '2026-07-17 02:31: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'), 47836, 'SRID=4674;POINT (-40.326826 -2.80165)', '2026-07-17 02:31:25', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326951 -2.801646)'), GeomFromEWKT('SRID=4674;POINT (-40.326826 -2.80165)'))) / (select extract(epoch from '2026-07-17 02:31:25'::timestamp) - extract(epoch from '2026-07-17 02:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326951 -2.801646)'), GeomFromEWKT('SRID=4674;POINT (-40.326826 -2.80165)'))) / (select extract(epoch from '2026-07-17 02:31:25'::timestamp) - extract(epoch from '2026-07-17 02:31: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'), 47836, 'SRID=4674;POINT (-40.326678 -2.801644)', '2026-07-17 02:31:33', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326826 -2.80165)'), GeomFromEWKT('SRID=4674;POINT (-40.326678 -2.801644)'))) / (select extract(epoch from '2026-07-17 02:31:33'::timestamp) - extract(epoch from '2026-07-17 02:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326826 -2.80165)'), GeomFromEWKT('SRID=4674;POINT (-40.326678 -2.801644)'))) / (select extract(epoch from '2026-07-17 02:31:33'::timestamp) - extract(epoch from '2026-07-17 02:31: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'), 47836, 'SRID=4674;POINT (-40.326499 -2.80164)', '2026-07-17 02:31:42', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326678 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.326499 -2.80164)'))) / (select extract(epoch from '2026-07-17 02:31:42'::timestamp) - extract(epoch from '2026-07-17 02:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326678 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.326499 -2.80164)'))) / (select extract(epoch from '2026-07-17 02:31:42'::timestamp) - extract(epoch from '2026-07-17 02:31: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'), 47836, 'SRID=4674;POINT (-40.326312 -2.801629)', '2026-07-17 02:31:52', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326499 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.801629)'))) / (select extract(epoch from '2026-07-17 02:31:52'::timestamp) - extract(epoch from '2026-07-17 02:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326499 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.801629)'))) / (select extract(epoch from '2026-07-17 02:31:52'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.326189 -2.801617)', '2026-07-17 02:31:59', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.801629)'), GeomFromEWKT('SRID=4674;POINT (-40.326189 -2.801617)'))) / (select extract(epoch from '2026-07-17 02:31:59'::timestamp) - extract(epoch from '2026-07-17 02:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.801629)'), GeomFromEWKT('SRID=4674;POINT (-40.326189 -2.801617)'))) / (select extract(epoch from '2026-07-17 02:31:59'::timestamp) - extract(epoch from '2026-07-17 02:31: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'), 47836, 'SRID=4674;POINT (-40.326034 -2.801615)', '2026-07-17 02:32:07', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326189 -2.801617)'), GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.801615)'))) / (select extract(epoch from '2026-07-17 02:32:07'::timestamp) - extract(epoch from '2026-07-17 02:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326189 -2.801617)'), GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.801615)'))) / (select extract(epoch from '2026-07-17 02:32:07'::timestamp) - extract(epoch from '2026-07-17 02:31: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'), 47836, 'SRID=4674;POINT (-40.325852 -2.801608)', '2026-07-17 02:32:17', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.325852 -2.801608)'))) / (select extract(epoch from '2026-07-17 02:32:17'::timestamp) - extract(epoch from '2026-07-17 02:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.325852 -2.801608)'))) / (select extract(epoch from '2026-07-17 02:32:17'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.325715 -2.801612)', '2026-07-17 02:32:25', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325852 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.325715 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:32:25'::timestamp) - extract(epoch from '2026-07-17 02:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325852 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.325715 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:32:25'::timestamp) - extract(epoch from '2026-07-17 02:32: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'), 47836, 'SRID=4674;POINT (-40.325531 -2.801596)', '2026-07-17 02:32:34', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325715 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.801596)'))) / (select extract(epoch from '2026-07-17 02:32:34'::timestamp) - extract(epoch from '2026-07-17 02:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325715 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.801596)'))) / (select extract(epoch from '2026-07-17 02:32:34'::timestamp) - extract(epoch from '2026-07-17 02:32: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'), 47836, 'SRID=4674;POINT (-40.325508 -2.801597)', '2026-07-17 02:32:35', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.325508 -2.801597)'))) / (select extract(epoch from '2026-07-17 02:32:35'::timestamp) - extract(epoch from '2026-07-17 02:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.801596)'), GeomFromEWKT('SRID=4674;POINT (-40.325508 -2.801597)'))) / (select extract(epoch from '2026-07-17 02:32:35'::timestamp) - extract(epoch from '2026-07-17 02:32:34'::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'), 47836, 'SRID=4674;POINT (-40.325342 -2.801592)', '2026-07-17 02:32:44', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325508 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.325342 -2.801592)'))) / (select extract(epoch from '2026-07-17 02:32:44'::timestamp) - extract(epoch from '2026-07-17 02:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325508 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.325342 -2.801592)'))) / (select extract(epoch from '2026-07-17 02:32:44'::timestamp) - extract(epoch from '2026-07-17 02:32: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'), 47836, 'SRID=4674;POINT (-40.325217 -2.801606)', '2026-07-17 02:32:52', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325342 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.325217 -2.801606)'))) / (select extract(epoch from '2026-07-17 02:32:52'::timestamp) - extract(epoch from '2026-07-17 02:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325342 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.325217 -2.801606)'))) / (select extract(epoch from '2026-07-17 02:32:52'::timestamp) - extract(epoch from '2026-07-17 02:32:44'::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'), 47836, 'SRID=4674;POINT (-40.325107 -2.801612)', '2026-07-17 02:32:59', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325217 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.325107 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:32:59'::timestamp) - extract(epoch from '2026-07-17 02:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325217 -2.801606)'), GeomFromEWKT('SRID=4674;POINT (-40.325107 -2.801612)'))) / (select extract(epoch from '2026-07-17 02:32:59'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.324995 -2.801616)', '2026-07-17 02:33:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325107 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.324995 -2.801616)'))) / (select extract(epoch from '2026-07-17 02:33:07'::timestamp) - extract(epoch from '2026-07-17 02:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325107 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.324995 -2.801616)'))) / (select extract(epoch from '2026-07-17 02:33:07'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.324894 -2.801615)', '2026-07-17 02:33:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324995 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.801615)'))) / (select extract(epoch from '2026-07-17 02:33:15'::timestamp) - extract(epoch from '2026-07-17 02:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324995 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.801615)'))) / (select extract(epoch from '2026-07-17 02:33:15'::timestamp) - extract(epoch from '2026-07-17 02:33: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'), 47836, 'SRID=4674;POINT (-40.324786 -2.801597)', '2026-07-17 02:33:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.801597)'))) / (select extract(epoch from '2026-07-17 02:33:23'::timestamp) - extract(epoch from '2026-07-17 02:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.801597)'))) / (select extract(epoch from '2026-07-17 02:33:23'::timestamp) - extract(epoch from '2026-07-17 02:33: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'), 47836, 'SRID=4674;POINT (-40.324647 -2.801575)', '2026-07-17 02:33:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.324647 -2.801575)'))) / (select extract(epoch from '2026-07-17 02:33:33'::timestamp) - extract(epoch from '2026-07-17 02:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.801597)'), GeomFromEWKT('SRID=4674;POINT (-40.324647 -2.801575)'))) / (select extract(epoch from '2026-07-17 02:33:33'::timestamp) - extract(epoch from '2026-07-17 02:33: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'), 47836, 'SRID=4674;POINT (-40.324551 -2.801574)', '2026-07-17 02:33:40', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324647 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.324551 -2.801574)'))) / (select extract(epoch from '2026-07-17 02:33:40'::timestamp) - extract(epoch from '2026-07-17 02:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324647 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.324551 -2.801574)'))) / (select extract(epoch from '2026-07-17 02:33:40'::timestamp) - extract(epoch from '2026-07-17 02:33: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'), 47836, 'SRID=4674;POINT (-40.324418 -2.801594)', '2026-07-17 02:33:48', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324551 -2.801574)'), GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.801594)'))) / (select extract(epoch from '2026-07-17 02:33:48'::timestamp) - extract(epoch from '2026-07-17 02:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324551 -2.801574)'), GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.801594)'))) / (select extract(epoch from '2026-07-17 02:33:48'::timestamp) - extract(epoch from '2026-07-17 02:33:40'::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'), 47836, 'SRID=4674;POINT (-40.324285 -2.801589)', '2026-07-17 02:33:57', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.801589)'))) / (select extract(epoch from '2026-07-17 02:33:57'::timestamp) - extract(epoch from '2026-07-17 02:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.801589)'))) / (select extract(epoch from '2026-07-17 02:33:57'::timestamp) - extract(epoch from '2026-07-17 02:33: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'), 47836, 'SRID=4674;POINT (-40.324146 -2.801569)', '2026-07-17 02:34:07', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.324146 -2.801569)'))) / (select extract(epoch from '2026-07-17 02:34:07'::timestamp) - extract(epoch from '2026-07-17 02:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.801589)'), GeomFromEWKT('SRID=4674;POINT (-40.324146 -2.801569)'))) / (select extract(epoch from '2026-07-17 02:34:07'::timestamp) - extract(epoch from '2026-07-17 02:33: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'), 47836, 'SRID=4674;POINT (-40.323998 -2.801562)', '2026-07-17 02:34:17', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324146 -2.801569)'), GeomFromEWKT('SRID=4674;POINT (-40.323998 -2.801562)'))) / (select extract(epoch from '2026-07-17 02:34:17'::timestamp) - extract(epoch from '2026-07-17 02:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324146 -2.801569)'), GeomFromEWKT('SRID=4674;POINT (-40.323998 -2.801562)'))) / (select extract(epoch from '2026-07-17 02:34:17'::timestamp) - extract(epoch from '2026-07-17 02:34: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'), 47836, 'SRID=4674;POINT (-40.323855 -2.801557)', '2026-07-17 02:34:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323998 -2.801562)'), GeomFromEWKT('SRID=4674;POINT (-40.323855 -2.801557)'))) / (select extract(epoch from '2026-07-17 02:34:27'::timestamp) - extract(epoch from '2026-07-17 02:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323998 -2.801562)'), GeomFromEWKT('SRID=4674;POINT (-40.323855 -2.801557)'))) / (select extract(epoch from '2026-07-17 02:34:27'::timestamp) - extract(epoch from '2026-07-17 02:34: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'), 47836, 'SRID=4674;POINT (-40.323731 -2.801553)', '2026-07-17 02:34:37', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323855 -2.801557)'), GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.801553)'))) / (select extract(epoch from '2026-07-17 02:34:37'::timestamp) - extract(epoch from '2026-07-17 02:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323855 -2.801557)'), GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.801553)'))) / (select extract(epoch from '2026-07-17 02:34:37'::timestamp) - extract(epoch from '2026-07-17 02:34:27'::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'), 47836, 'SRID=4674;POINT (-40.323637 -2.801564)', '2026-07-17 02:34:44', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.801553)'), GeomFromEWKT('SRID=4674;POINT (-40.323637 -2.801564)'))) / (select extract(epoch from '2026-07-17 02:34:44'::timestamp) - extract(epoch from '2026-07-17 02:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.801553)'), GeomFromEWKT('SRID=4674;POINT (-40.323637 -2.801564)'))) / (select extract(epoch from '2026-07-17 02:34:44'::timestamp) - extract(epoch from '2026-07-17 02:34: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'), 47836, 'SRID=4674;POINT (-40.323519 -2.801583)', '2026-07-17 02:34:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323637 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.801583)'))) / (select extract(epoch from '2026-07-17 02:34:52'::timestamp) - extract(epoch from '2026-07-17 02:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323637 -2.801564)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.801583)'))) / (select extract(epoch from '2026-07-17 02:34:52'::timestamp) - extract(epoch from '2026-07-17 02:34:44'::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'), 47836, 'SRID=4674;POINT (-40.323427 -2.801586)', '2026-07-17 02:35:00', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.323427 -2.801586)'))) / (select extract(epoch from '2026-07-17 02:35:00'::timestamp) - extract(epoch from '2026-07-17 02:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.801583)'), GeomFromEWKT('SRID=4674;POINT (-40.323427 -2.801586)'))) / (select extract(epoch from '2026-07-17 02:35:00'::timestamp) - extract(epoch from '2026-07-17 02:34: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'), 47836, 'SRID=4674;POINT (-40.323343 -2.801587)', '2026-07-17 02:35:07', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323427 -2.801586)'), GeomFromEWKT('SRID=4674;POINT (-40.323343 -2.801587)'))) / (select extract(epoch from '2026-07-17 02:35:07'::timestamp) - extract(epoch from '2026-07-17 02:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323427 -2.801586)'), GeomFromEWKT('SRID=4674;POINT (-40.323343 -2.801587)'))) / (select extract(epoch from '2026-07-17 02:35:07'::timestamp) - extract(epoch from '2026-07-17 02:35: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'), 47836, 'SRID=4674;POINT (-40.323239 -2.801586)', '2026-07-17 02:35:15', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323343 -2.801587)'), GeomFromEWKT('SRID=4674;POINT (-40.323239 -2.801586)'))) / (select extract(epoch from '2026-07-17 02:35:15'::timestamp) - extract(epoch from '2026-07-17 02:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323343 -2.801587)'), GeomFromEWKT('SRID=4674;POINT (-40.323239 -2.801586)'))) / (select extract(epoch from '2026-07-17 02:35:15'::timestamp) - extract(epoch from '2026-07-17 02:35: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'), 47836, 'SRID=4674;POINT (-40.323097 -2.801601)', '2026-07-17 02:35:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323239 -2.801586)'), GeomFromEWKT('SRID=4674;POINT (-40.323097 -2.801601)'))) / (select extract(epoch from '2026-07-17 02:35:24'::timestamp) - extract(epoch from '2026-07-17 02:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323239 -2.801586)'), GeomFromEWKT('SRID=4674;POINT (-40.323097 -2.801601)'))) / (select extract(epoch from '2026-07-17 02:35:24'::timestamp) - extract(epoch from '2026-07-17 02:35: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'), 47836, 'SRID=4674;POINT (-40.322948 -2.801623)', '2026-07-17 02:35:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323097 -2.801601)'), GeomFromEWKT('SRID=4674;POINT (-40.322948 -2.801623)'))) / (select extract(epoch from '2026-07-17 02:35:33'::timestamp) - extract(epoch from '2026-07-17 02:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323097 -2.801601)'), GeomFromEWKT('SRID=4674;POINT (-40.322948 -2.801623)'))) / (select extract(epoch from '2026-07-17 02:35:33'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.322797 -2.801628)', '2026-07-17 02:35:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322948 -2.801623)'), GeomFromEWKT('SRID=4674;POINT (-40.322797 -2.801628)'))) / (select extract(epoch from '2026-07-17 02:35:43'::timestamp) - extract(epoch from '2026-07-17 02:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322948 -2.801623)'), GeomFromEWKT('SRID=4674;POINT (-40.322797 -2.801628)'))) / (select extract(epoch from '2026-07-17 02:35:43'::timestamp) - extract(epoch from '2026-07-17 02:35: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'), 47836, 'SRID=4674;POINT (-40.322694 -2.801644)', '2026-07-17 02:35:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322797 -2.801628)'), GeomFromEWKT('SRID=4674;POINT (-40.322694 -2.801644)'))) / (select extract(epoch from '2026-07-17 02:35:51'::timestamp) - extract(epoch from '2026-07-17 02:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322797 -2.801628)'), GeomFromEWKT('SRID=4674;POINT (-40.322694 -2.801644)'))) / (select extract(epoch from '2026-07-17 02:35:51'::timestamp) - extract(epoch from '2026-07-17 02:35:43'::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'), 47836, 'SRID=4674;POINT (-40.32256 -2.801663)', '2026-07-17 02:36:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322694 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.32256 -2.801663)'))) / (select extract(epoch from '2026-07-17 02:36:00'::timestamp) - extract(epoch from '2026-07-17 02:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322694 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.32256 -2.801663)'))) / (select extract(epoch from '2026-07-17 02:36:00'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.322437 -2.801668)', '2026-07-17 02:36:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32256 -2.801663)'), GeomFromEWKT('SRID=4674;POINT (-40.322437 -2.801668)'))) / (select extract(epoch from '2026-07-17 02:36:09'::timestamp) - extract(epoch from '2026-07-17 02:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32256 -2.801663)'), GeomFromEWKT('SRID=4674;POINT (-40.322437 -2.801668)'))) / (select extract(epoch from '2026-07-17 02:36:09'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.322326 -2.801689)', '2026-07-17 02:36:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322437 -2.801668)'), GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.801689)'))) / (select extract(epoch from '2026-07-17 02:36:16'::timestamp) - extract(epoch from '2026-07-17 02:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322437 -2.801668)'), GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.801689)'))) / (select extract(epoch from '2026-07-17 02:36:16'::timestamp) - extract(epoch from '2026-07-17 02:36: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'), 47836, 'SRID=4674;POINT (-40.322217 -2.801685)', '2026-07-17 02:36:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.801689)'), GeomFromEWKT('SRID=4674;POINT (-40.322217 -2.801685)'))) / (select extract(epoch from '2026-07-17 02:36:25'::timestamp) - extract(epoch from '2026-07-17 02:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.801689)'), GeomFromEWKT('SRID=4674;POINT (-40.322217 -2.801685)'))) / (select extract(epoch from '2026-07-17 02:36:25'::timestamp) - extract(epoch from '2026-07-17 02:36: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'), 47836, 'SRID=4674;POINT (-40.322098 -2.801689)', '2026-07-17 02:36:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322217 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.801689)'))) / (select extract(epoch from '2026-07-17 02:36:33'::timestamp) - extract(epoch from '2026-07-17 02:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322217 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.801689)'))) / (select extract(epoch from '2026-07-17 02:36:33'::timestamp) - extract(epoch from '2026-07-17 02:36: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'), 47836, 'SRID=4674;POINT (-40.321998 -2.801682)', '2026-07-17 02:36:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.801689)'), GeomFromEWKT('SRID=4674;POINT (-40.321998 -2.801682)'))) / (select extract(epoch from '2026-07-17 02:36:41'::timestamp) - extract(epoch from '2026-07-17 02:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.801689)'), GeomFromEWKT('SRID=4674;POINT (-40.321998 -2.801682)'))) / (select extract(epoch from '2026-07-17 02:36:41'::timestamp) - extract(epoch from '2026-07-17 02:36: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'), 47836, 'SRID=4674;POINT (-40.321886 -2.801684)', '2026-07-17 02:36:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321998 -2.801682)'), GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.801684)'))) / (select extract(epoch from '2026-07-17 02:36:49'::timestamp) - extract(epoch from '2026-07-17 02:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321998 -2.801682)'), GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.801684)'))) / (select extract(epoch from '2026-07-17 02:36:49'::timestamp) - extract(epoch from '2026-07-17 02:36: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'), 47836, 'SRID=4674;POINT (-40.321732 -2.801688)', '2026-07-17 02:36:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.801688)'))) / (select extract(epoch from '2026-07-17 02:36:58'::timestamp) - extract(epoch from '2026-07-17 02:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.801688)'))) / (select extract(epoch from '2026-07-17 02:36:58'::timestamp) - extract(epoch from '2026-07-17 02:36:49'::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'), 47836, 'SRID=4674;POINT (-40.32159 -2.801687)', '2026-07-17 02:37:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.801688)'), GeomFromEWKT('SRID=4674;POINT (-40.32159 -2.801687)'))) / (select extract(epoch from '2026-07-17 02:37:07'::timestamp) - extract(epoch from '2026-07-17 02:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.801688)'), GeomFromEWKT('SRID=4674;POINT (-40.32159 -2.801687)'))) / (select extract(epoch from '2026-07-17 02:37:07'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.32144 -2.801677)', '2026-07-17 02:37:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32159 -2.801687)'), GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.801677)'))) / (select extract(epoch from '2026-07-17 02:37:17'::timestamp) - extract(epoch from '2026-07-17 02:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32159 -2.801687)'), GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.801677)'))) / (select extract(epoch from '2026-07-17 02:37:17'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.321288 -2.801689)', '2026-07-17 02:37:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.801677)'), GeomFromEWKT('SRID=4674;POINT (-40.321288 -2.801689)'))) / (select extract(epoch from '2026-07-17 02:37:26'::timestamp) - extract(epoch from '2026-07-17 02:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.801677)'), GeomFromEWKT('SRID=4674;POINT (-40.321288 -2.801689)'))) / (select extract(epoch from '2026-07-17 02:37:26'::timestamp) - extract(epoch from '2026-07-17 02:37: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'), 47836, 'SRID=4674;POINT (-40.32119 -2.801702)', '2026-07-17 02:37:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321288 -2.801689)'), GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.801702)'))) / (select extract(epoch from '2026-07-17 02:37:34'::timestamp) - extract(epoch from '2026-07-17 02:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321288 -2.801689)'), GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.801702)'))) / (select extract(epoch from '2026-07-17 02:37:34'::timestamp) - extract(epoch from '2026-07-17 02:37: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'), 47836, 'SRID=4674;POINT (-40.321049 -2.801697)', '2026-07-17 02:37:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.321049 -2.801697)'))) / (select extract(epoch from '2026-07-17 02:37:44'::timestamp) - extract(epoch from '2026-07-17 02:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32119 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.321049 -2.801697)'))) / (select extract(epoch from '2026-07-17 02:37:44'::timestamp) - extract(epoch from '2026-07-17 02:37:34'::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'), 47836, 'SRID=4674;POINT (-40.320919 -2.801684)', '2026-07-17 02:37:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321049 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.801684)'))) / (select extract(epoch from '2026-07-17 02:37:53'::timestamp) - extract(epoch from '2026-07-17 02:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321049 -2.801697)'), GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.801684)'))) / (select extract(epoch from '2026-07-17 02:37:53'::timestamp) - extract(epoch from '2026-07-17 02:37:44'::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'), 47836, 'SRID=4674;POINT (-40.320782 -2.801675)', '2026-07-17 02:38:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.320782 -2.801675)'))) / (select extract(epoch from '2026-07-17 02:38:02'::timestamp) - extract(epoch from '2026-07-17 02:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.320782 -2.801675)'))) / (select extract(epoch from '2026-07-17 02:38:02'::timestamp) - extract(epoch from '2026-07-17 02:37: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'), 47836, 'SRID=4674;POINT (-40.320671 -2.801683)', '2026-07-17 02:38:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320782 -2.801675)'), GeomFromEWKT('SRID=4674;POINT (-40.320671 -2.801683)'))) / (select extract(epoch from '2026-07-17 02:38:10'::timestamp) - extract(epoch from '2026-07-17 02:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320782 -2.801675)'), GeomFromEWKT('SRID=4674;POINT (-40.320671 -2.801683)'))) / (select extract(epoch from '2026-07-17 02:38:10'::timestamp) - extract(epoch from '2026-07-17 02:38: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'), 47836, 'SRID=4674;POINT (-40.320602 -2.801698)', '2026-07-17 02:38:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320671 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.320602 -2.801698)'))) / (select extract(epoch from '2026-07-17 02:38:16'::timestamp) - extract(epoch from '2026-07-17 02:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320671 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.320602 -2.801698)'))) / (select extract(epoch from '2026-07-17 02:38:16'::timestamp) - extract(epoch from '2026-07-17 02:38: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'), 47836, 'SRID=4674;POINT (-40.32049 -2.80171)', '2026-07-17 02:38:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320602 -2.801698)'), GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.80171)'))) / (select extract(epoch from '2026-07-17 02:38:24'::timestamp) - extract(epoch from '2026-07-17 02:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320602 -2.801698)'), GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.80171)'))) / (select extract(epoch from '2026-07-17 02:38:24'::timestamp) - extract(epoch from '2026-07-17 02:38: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'), 47836, 'SRID=4674;POINT (-40.32036 -2.801709)', '2026-07-17 02:38:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.32036 -2.801709)'))) / (select extract(epoch from '2026-07-17 02:38:33'::timestamp) - extract(epoch from '2026-07-17 02:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.32036 -2.801709)'))) / (select extract(epoch from '2026-07-17 02:38:33'::timestamp) - extract(epoch from '2026-07-17 02:38: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'), 47836, 'SRID=4674;POINT (-40.32022 -2.801717)', '2026-07-17 02:38:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32036 -2.801709)'), GeomFromEWKT('SRID=4674;POINT (-40.32022 -2.801717)'))) / (select extract(epoch from '2026-07-17 02:38:42'::timestamp) - extract(epoch from '2026-07-17 02:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32036 -2.801709)'), GeomFromEWKT('SRID=4674;POINT (-40.32022 -2.801717)'))) / (select extract(epoch from '2026-07-17 02:38:42'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.320117 -2.801712)', '2026-07-17 02:38:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32022 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.320117 -2.801712)'))) / (select extract(epoch from '2026-07-17 02:38:50'::timestamp) - extract(epoch from '2026-07-17 02:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32022 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.320117 -2.801712)'))) / (select extract(epoch from '2026-07-17 02:38:50'::timestamp) - extract(epoch from '2026-07-17 02:38: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'), 47836, 'SRID=4674;POINT (-40.319963 -2.801702)', '2026-07-17 02:39:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320117 -2.801712)'), GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.801702)'))) / (select extract(epoch from '2026-07-17 02:39:01'::timestamp) - extract(epoch from '2026-07-17 02:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320117 -2.801712)'), GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.801702)'))) / (select extract(epoch from '2026-07-17 02:39:01'::timestamp) - extract(epoch from '2026-07-17 02:38: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'), 47836, 'SRID=4674;POINT (-40.319861 -2.801684)', '2026-07-17 02:39:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.319861 -2.801684)'))) / (select extract(epoch from '2026-07-17 02:39:09'::timestamp) - extract(epoch from '2026-07-17 02:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.319861 -2.801684)'))) / (select extract(epoch from '2026-07-17 02:39:09'::timestamp) - extract(epoch from '2026-07-17 02:39: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'), 47836, 'SRID=4674;POINT (-40.319738 -2.801686)', '2026-07-17 02:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319861 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.319738 -2.801686)'))) / (select extract(epoch from '2026-07-17 02:39:19'::timestamp) - extract(epoch from '2026-07-17 02:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319861 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.319738 -2.801686)'))) / (select extract(epoch from '2026-07-17 02:39:19'::timestamp) - extract(epoch from '2026-07-17 02:39: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'), 47836, 'SRID=4674;POINT (-40.319601 -2.801687)', '2026-07-17 02:39:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319738 -2.801686)'), GeomFromEWKT('SRID=4674;POINT (-40.319601 -2.801687)'))) / (select extract(epoch from '2026-07-17 02:39:28'::timestamp) - extract(epoch from '2026-07-17 02:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319738 -2.801686)'), GeomFromEWKT('SRID=4674;POINT (-40.319601 -2.801687)'))) / (select extract(epoch from '2026-07-17 02:39:28'::timestamp) - extract(epoch from '2026-07-17 02:39:19'::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'), 47836, 'SRID=4674;POINT (-40.319494 -2.801675)', '2026-07-17 02:39:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319601 -2.801687)'), GeomFromEWKT('SRID=4674;POINT (-40.319494 -2.801675)'))) / (select extract(epoch from '2026-07-17 02:39:36'::timestamp) - extract(epoch from '2026-07-17 02:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319601 -2.801687)'), GeomFromEWKT('SRID=4674;POINT (-40.319494 -2.801675)'))) / (select extract(epoch from '2026-07-17 02:39:36'::timestamp) - extract(epoch from '2026-07-17 02:39:28'::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'), 47836, 'SRID=4674;POINT (-40.319379 -2.801662)', '2026-07-17 02:39:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319494 -2.801675)'), GeomFromEWKT('SRID=4674;POINT (-40.319379 -2.801662)'))) / (select extract(epoch from '2026-07-17 02:39:44'::timestamp) - extract(epoch from '2026-07-17 02:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319494 -2.801675)'), GeomFromEWKT('SRID=4674;POINT (-40.319379 -2.801662)'))) / (select extract(epoch from '2026-07-17 02:39:44'::timestamp) - extract(epoch from '2026-07-17 02:39:36'::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'), 47836, 'SRID=4674;POINT (-40.319245 -2.801657)', '2026-07-17 02:39:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319379 -2.801662)'), GeomFromEWKT('SRID=4674;POINT (-40.319245 -2.801657)'))) / (select extract(epoch from '2026-07-17 02:39:53'::timestamp) - extract(epoch from '2026-07-17 02:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319379 -2.801662)'), GeomFromEWKT('SRID=4674;POINT (-40.319245 -2.801657)'))) / (select extract(epoch from '2026-07-17 02:39:53'::timestamp) - extract(epoch from '2026-07-17 02:39:44'::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'), 47836, 'SRID=4674;POINT (-40.319117 -2.801654)', '2026-07-17 02:40:01', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319245 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.319117 -2.801654)'))) / (select extract(epoch from '2026-07-17 02:40:01'::timestamp) - extract(epoch from '2026-07-17 02:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319245 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.319117 -2.801654)'))) / (select extract(epoch from '2026-07-17 02:40:01'::timestamp) - extract(epoch from '2026-07-17 02:39: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'), 47836, 'SRID=4674;POINT (-40.318989 -2.801651)', '2026-07-17 02:40:10', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319117 -2.801654)'), GeomFromEWKT('SRID=4674;POINT (-40.318989 -2.801651)'))) / (select extract(epoch from '2026-07-17 02:40:10'::timestamp) - extract(epoch from '2026-07-17 02:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319117 -2.801654)'), GeomFromEWKT('SRID=4674;POINT (-40.318989 -2.801651)'))) / (select extract(epoch from '2026-07-17 02:40:10'::timestamp) - extract(epoch from '2026-07-17 02:40: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'), 47836, 'SRID=4674;POINT (-40.31887 -2.801644)', '2026-07-17 02:40:19', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318989 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.31887 -2.801644)'))) / (select extract(epoch from '2026-07-17 02:40:19'::timestamp) - extract(epoch from '2026-07-17 02:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318989 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.31887 -2.801644)'))) / (select extract(epoch from '2026-07-17 02:40:19'::timestamp) - extract(epoch from '2026-07-17 02:40: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'), 47836, 'SRID=4674;POINT (-40.318747 -2.801619)', '2026-07-17 02:40:27', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31887 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.318747 -2.801619)'))) / (select extract(epoch from '2026-07-17 02:40:27'::timestamp) - extract(epoch from '2026-07-17 02:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31887 -2.801644)'), GeomFromEWKT('SRID=4674;POINT (-40.318747 -2.801619)'))) / (select extract(epoch from '2026-07-17 02:40:27'::timestamp) - extract(epoch from '2026-07-17 02:40:19'::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'), 47836, 'SRID=4674;POINT (-40.318616 -2.801598)', '2026-07-17 02:40:36', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318747 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.318616 -2.801598)'))) / (select extract(epoch from '2026-07-17 02:40:36'::timestamp) - extract(epoch from '2026-07-17 02:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318747 -2.801619)'), GeomFromEWKT('SRID=4674;POINT (-40.318616 -2.801598)'))) / (select extract(epoch from '2026-07-17 02:40:36'::timestamp) - extract(epoch from '2026-07-17 02:40:27'::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'), 47836, 'SRID=4674;POINT (-40.318513 -2.801592)', '2026-07-17 02:40:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318616 -2.801598)'), GeomFromEWKT('SRID=4674;POINT (-40.318513 -2.801592)'))) / (select extract(epoch from '2026-07-17 02:40:44'::timestamp) - extract(epoch from '2026-07-17 02:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318616 -2.801598)'), GeomFromEWKT('SRID=4674;POINT (-40.318513 -2.801592)'))) / (select extract(epoch from '2026-07-17 02:40:44'::timestamp) - extract(epoch from '2026-07-17 02:40:36'::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'), 47836, 'SRID=4674;POINT (-40.318427 -2.801581)', '2026-07-17 02:40:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318513 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.318427 -2.801581)'))) / (select extract(epoch from '2026-07-17 02:40:51'::timestamp) - extract(epoch from '2026-07-17 02:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318513 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.318427 -2.801581)'))) / (select extract(epoch from '2026-07-17 02:40:51'::timestamp) - extract(epoch from '2026-07-17 02:40:44'::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'), 47836, 'SRID=4674;POINT (-40.318308 -2.801565)', '2026-07-17 02:40:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318427 -2.801581)'), GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.801565)'))) / (select extract(epoch from '2026-07-17 02:40:59'::timestamp) - extract(epoch from '2026-07-17 02:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318427 -2.801581)'), GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.801565)'))) / (select extract(epoch from '2026-07-17 02:40:59'::timestamp) - extract(epoch from '2026-07-17 02:40: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'), 47836, 'SRID=4674;POINT (-40.318156 -2.801556)', '2026-07-17 02:41:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.318156 -2.801556)'))) / (select extract(epoch from '2026-07-17 02:41:09'::timestamp) - extract(epoch from '2026-07-17 02:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318308 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.318156 -2.801556)'))) / (select extract(epoch from '2026-07-17 02:41:09'::timestamp) - extract(epoch from '2026-07-17 02:40: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'), 47836, 'SRID=4674;POINT (-40.318042 -2.80154)', '2026-07-17 02:41:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318156 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.318042 -2.80154)'))) / (select extract(epoch from '2026-07-17 02:41:17'::timestamp) - extract(epoch from '2026-07-17 02:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318156 -2.801556)'), GeomFromEWKT('SRID=4674;POINT (-40.318042 -2.80154)'))) / (select extract(epoch from '2026-07-17 02:41:17'::timestamp) - extract(epoch from '2026-07-17 02:41: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'), 47836, 'SRID=4674;POINT (-40.317936 -2.801517)', '2026-07-17 02:41:25', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318042 -2.80154)'), GeomFromEWKT('SRID=4674;POINT (-40.317936 -2.801517)'))) / (select extract(epoch from '2026-07-17 02:41:25'::timestamp) - extract(epoch from '2026-07-17 02:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318042 -2.80154)'), GeomFromEWKT('SRID=4674;POINT (-40.317936 -2.801517)'))) / (select extract(epoch from '2026-07-17 02:41:25'::timestamp) - extract(epoch from '2026-07-17 02:41: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'), 47836, 'SRID=4674;POINT (-40.317801 -2.801495)', '2026-07-17 02:41:36', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317936 -2.801517)'), GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.801495)'))) / (select extract(epoch from '2026-07-17 02:41:36'::timestamp) - extract(epoch from '2026-07-17 02:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317936 -2.801517)'), GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.801495)'))) / (select extract(epoch from '2026-07-17 02:41:36'::timestamp) - extract(epoch from '2026-07-17 02:41: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'), 47836, 'SRID=4674;POINT (-40.317691 -2.80148)', '2026-07-17 02:41:45', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.317691 -2.80148)'))) / (select extract(epoch from '2026-07-17 02:41:45'::timestamp) - extract(epoch from '2026-07-17 02:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.317691 -2.80148)'))) / (select extract(epoch from '2026-07-17 02:41:45'::timestamp) - extract(epoch from '2026-07-17 02:41:36'::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'), 47836, 'SRID=4674;POINT (-40.317566 -2.801461)', '2026-07-17 02:41:53', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317691 -2.80148)'), GeomFromEWKT('SRID=4674;POINT (-40.317566 -2.801461)'))) / (select extract(epoch from '2026-07-17 02:41:53'::timestamp) - extract(epoch from '2026-07-17 02:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317691 -2.80148)'), GeomFromEWKT('SRID=4674;POINT (-40.317566 -2.801461)'))) / (select extract(epoch from '2026-07-17 02:41:53'::timestamp) - extract(epoch from '2026-07-17 02:41: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'), 47836, 'SRID=4674;POINT (-40.317384 -2.801446)', '2026-07-17 02:42:03', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317566 -2.801461)'), GeomFromEWKT('SRID=4674;POINT (-40.317384 -2.801446)'))) / (select extract(epoch from '2026-07-17 02:42:03'::timestamp) - extract(epoch from '2026-07-17 02:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317566 -2.801461)'), GeomFromEWKT('SRID=4674;POINT (-40.317384 -2.801446)'))) / (select extract(epoch from '2026-07-17 02:42:03'::timestamp) - extract(epoch from '2026-07-17 02:41: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'), 47836, 'SRID=4674;POINT (-40.317195 -2.80142)', '2026-07-17 02:42:12', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317384 -2.801446)'), GeomFromEWKT('SRID=4674;POINT (-40.317195 -2.80142)'))) / (select extract(epoch from '2026-07-17 02:42:12'::timestamp) - extract(epoch from '2026-07-17 02:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317384 -2.801446)'), GeomFromEWKT('SRID=4674;POINT (-40.317195 -2.80142)'))) / (select extract(epoch from '2026-07-17 02:42:12'::timestamp) - extract(epoch from '2026-07-17 02:42: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'), 47836, 'SRID=4674;POINT (-40.317174 -2.801416)', '2026-07-17 02:42:13', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317195 -2.80142)'), GeomFromEWKT('SRID=4674;POINT (-40.317174 -2.801416)'))) / (select extract(epoch from '2026-07-17 02:42:13'::timestamp) - extract(epoch from '2026-07-17 02:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317195 -2.80142)'), GeomFromEWKT('SRID=4674;POINT (-40.317174 -2.801416)'))) / (select extract(epoch from '2026-07-17 02:42:13'::timestamp) - extract(epoch from '2026-07-17 02:42:12'::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'), 47836, 'SRID=4674;POINT (-40.317001 -2.801393)', '2026-07-17 02:42:22', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317174 -2.801416)'), GeomFromEWKT('SRID=4674;POINT (-40.317001 -2.801393)'))) / (select extract(epoch from '2026-07-17 02:42:22'::timestamp) - extract(epoch from '2026-07-17 02:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317174 -2.801416)'), GeomFromEWKT('SRID=4674;POINT (-40.317001 -2.801393)'))) / (select extract(epoch from '2026-07-17 02:42:22'::timestamp) - extract(epoch from '2026-07-17 02:42: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'), 47836, 'SRID=4674;POINT (-40.316822 -2.801352)', '2026-07-17 02:42:31', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317001 -2.801393)'), GeomFromEWKT('SRID=4674;POINT (-40.316822 -2.801352)'))) / (select extract(epoch from '2026-07-17 02:42:31'::timestamp) - extract(epoch from '2026-07-17 02:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317001 -2.801393)'), GeomFromEWKT('SRID=4674;POINT (-40.316822 -2.801352)'))) / (select extract(epoch from '2026-07-17 02:42:31'::timestamp) - extract(epoch from '2026-07-17 02:42:22'::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'), 47836, 'SRID=4674;POINT (-40.316631 -2.801312)', '2026-07-17 02:42:41', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316822 -2.801352)'), GeomFromEWKT('SRID=4674;POINT (-40.316631 -2.801312)'))) / (select extract(epoch from '2026-07-17 02:42:41'::timestamp) - extract(epoch from '2026-07-17 02:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316822 -2.801352)'), GeomFromEWKT('SRID=4674;POINT (-40.316631 -2.801312)'))) / (select extract(epoch from '2026-07-17 02:42:41'::timestamp) - extract(epoch from '2026-07-17 02:42: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'), 47836, 'SRID=4674;POINT (-40.316464 -2.801289)', '2026-07-17 02:42:49', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316631 -2.801312)'), GeomFromEWKT('SRID=4674;POINT (-40.316464 -2.801289)'))) / (select extract(epoch from '2026-07-17 02:42:49'::timestamp) - extract(epoch from '2026-07-17 02:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316631 -2.801312)'), GeomFromEWKT('SRID=4674;POINT (-40.316464 -2.801289)'))) / (select extract(epoch from '2026-07-17 02:42:49'::timestamp) - extract(epoch from '2026-07-17 02:42: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'), 47836, 'SRID=4674;POINT (-40.316278 -2.801259)', '2026-07-17 02:42:58', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316464 -2.801289)'), GeomFromEWKT('SRID=4674;POINT (-40.316278 -2.801259)'))) / (select extract(epoch from '2026-07-17 02:42:58'::timestamp) - extract(epoch from '2026-07-17 02:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316464 -2.801289)'), GeomFromEWKT('SRID=4674;POINT (-40.316278 -2.801259)'))) / (select extract(epoch from '2026-07-17 02:42:58'::timestamp) - extract(epoch from '2026-07-17 02:42:49'::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'), 47836, 'SRID=4674;POINT (-40.316257 -2.801257)', '2026-07-17 02:42:59', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316278 -2.801259)'), GeomFromEWKT('SRID=4674;POINT (-40.316257 -2.801257)'))) / (select extract(epoch from '2026-07-17 02:42:59'::timestamp) - extract(epoch from '2026-07-17 02:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316278 -2.801259)'), GeomFromEWKT('SRID=4674;POINT (-40.316257 -2.801257)'))) / (select extract(epoch from '2026-07-17 02:42:59'::timestamp) - extract(epoch from '2026-07-17 02:42: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'), 47836, 'SRID=4674;POINT (-40.316091 -2.801206)', '2026-07-17 02:43:08', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316257 -2.801257)'), GeomFromEWKT('SRID=4674;POINT (-40.316091 -2.801206)'))) / (select extract(epoch from '2026-07-17 02:43:08'::timestamp) - extract(epoch from '2026-07-17 02:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316257 -2.801257)'), GeomFromEWKT('SRID=4674;POINT (-40.316091 -2.801206)'))) / (select extract(epoch from '2026-07-17 02:43:08'::timestamp) - extract(epoch from '2026-07-17 02:42: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'), 47836, 'SRID=4674;POINT (-40.315934 -2.801169)', '2026-07-17 02:43:16', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316091 -2.801206)'), GeomFromEWKT('SRID=4674;POINT (-40.315934 -2.801169)'))) / (select extract(epoch from '2026-07-17 02:43:16'::timestamp) - extract(epoch from '2026-07-17 02:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316091 -2.801206)'), GeomFromEWKT('SRID=4674;POINT (-40.315934 -2.801169)'))) / (select extract(epoch from '2026-07-17 02:43:16'::timestamp) - extract(epoch from '2026-07-17 02:43: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'), 47836, 'SRID=4674;POINT (-40.315762 -2.80115)', '2026-07-17 02:43:25', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315934 -2.801169)'), GeomFromEWKT('SRID=4674;POINT (-40.315762 -2.80115)'))) / (select extract(epoch from '2026-07-17 02:43:25'::timestamp) - extract(epoch from '2026-07-17 02:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315934 -2.801169)'), GeomFromEWKT('SRID=4674;POINT (-40.315762 -2.80115)'))) / (select extract(epoch from '2026-07-17 02:43:25'::timestamp) - extract(epoch from '2026-07-17 02:43: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'), 47836, 'SRID=4674;POINT (-40.31561 -2.801136)', '2026-07-17 02:43:33', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315762 -2.80115)'), GeomFromEWKT('SRID=4674;POINT (-40.31561 -2.801136)'))) / (select extract(epoch from '2026-07-17 02:43:33'::timestamp) - extract(epoch from '2026-07-17 02:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315762 -2.80115)'), GeomFromEWKT('SRID=4674;POINT (-40.31561 -2.801136)'))) / (select extract(epoch from '2026-07-17 02:43:33'::timestamp) - extract(epoch from '2026-07-17 02:43: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'), 47836, 'SRID=4674;POINT (-40.315428 -2.801119)', '2026-07-17 02:43:42', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31561 -2.801136)'), GeomFromEWKT('SRID=4674;POINT (-40.315428 -2.801119)'))) / (select extract(epoch from '2026-07-17 02:43:42'::timestamp) - extract(epoch from '2026-07-17 02:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31561 -2.801136)'), GeomFromEWKT('SRID=4674;POINT (-40.315428 -2.801119)'))) / (select extract(epoch from '2026-07-17 02:43:42'::timestamp) - extract(epoch from '2026-07-17 02:43: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'), 47836, 'SRID=4674;POINT (-40.315271 -2.801069)', '2026-07-17 02:43:50', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315428 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.315271 -2.801069)'))) / (select extract(epoch from '2026-07-17 02:43:50'::timestamp) - extract(epoch from '2026-07-17 02:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315428 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.315271 -2.801069)'))) / (select extract(epoch from '2026-07-17 02:43:50'::timestamp) - extract(epoch from '2026-07-17 02:43: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'), 47836, 'SRID=4674;POINT (-40.315095 -2.801006)', '2026-07-17 02:43:59', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315271 -2.801069)'), GeomFromEWKT('SRID=4674;POINT (-40.315095 -2.801006)'))) / (select extract(epoch from '2026-07-17 02:43:59'::timestamp) - extract(epoch from '2026-07-17 02:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315271 -2.801069)'), GeomFromEWKT('SRID=4674;POINT (-40.315095 -2.801006)'))) / (select extract(epoch from '2026-07-17 02:43:59'::timestamp) - extract(epoch from '2026-07-17 02:43: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'), 47836, 'SRID=4674;POINT (-40.314915 -2.80099)', '2026-07-17 02:44:09', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315095 -2.801006)'), GeomFromEWKT('SRID=4674;POINT (-40.314915 -2.80099)'))) / (select extract(epoch from '2026-07-17 02:44:09'::timestamp) - extract(epoch from '2026-07-17 02:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315095 -2.801006)'), GeomFromEWKT('SRID=4674;POINT (-40.314915 -2.80099)'))) / (select extract(epoch from '2026-07-17 02:44:09'::timestamp) - extract(epoch from '2026-07-17 02:43: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'), 47836, 'SRID=4674;POINT (-40.314742 -2.800993)', '2026-07-17 02:44:18', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314915 -2.80099)'), GeomFromEWKT('SRID=4674;POINT (-40.314742 -2.800993)'))) / (select extract(epoch from '2026-07-17 02:44:18'::timestamp) - extract(epoch from '2026-07-17 02:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314915 -2.80099)'), GeomFromEWKT('SRID=4674;POINT (-40.314742 -2.800993)'))) / (select extract(epoch from '2026-07-17 02:44:18'::timestamp) - extract(epoch from '2026-07-17 02:44: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'), 47836, 'SRID=4674;POINT (-40.314614 -2.800979)', '2026-07-17 02:44:25', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314742 -2.800993)'), GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.800979)'))) / (select extract(epoch from '2026-07-17 02:44:25'::timestamp) - extract(epoch from '2026-07-17 02:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314742 -2.800993)'), GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.800979)'))) / (select extract(epoch from '2026-07-17 02:44:25'::timestamp) - extract(epoch from '2026-07-17 02:44: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'), 47836, 'SRID=4674;POINT (-40.314434 -2.800978)', '2026-07-17 02:44:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.800979)'), GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.800978)'))) / (select extract(epoch from '2026-07-17 02:44:34'::timestamp) - extract(epoch from '2026-07-17 02:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314614 -2.800979)'), GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.800978)'))) / (select extract(epoch from '2026-07-17 02:44:34'::timestamp) - extract(epoch from '2026-07-17 02:44: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'), 47836, 'SRID=4674;POINT (-40.314278 -2.800967)', '2026-07-17 02:44:42', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.800978)'), GeomFromEWKT('SRID=4674;POINT (-40.314278 -2.800967)'))) / (select extract(epoch from '2026-07-17 02:44:42'::timestamp) - extract(epoch from '2026-07-17 02:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.800978)'), GeomFromEWKT('SRID=4674;POINT (-40.314278 -2.800967)'))) / (select extract(epoch from '2026-07-17 02:44:42'::timestamp) - extract(epoch from '2026-07-17 02:44:34'::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'), 47836, 'SRID=4674;POINT (-40.314119 -2.800935)', '2026-07-17 02:44:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314278 -2.800967)'), GeomFromEWKT('SRID=4674;POINT (-40.314119 -2.800935)'))) / (select extract(epoch from '2026-07-17 02:44:50'::timestamp) - extract(epoch from '2026-07-17 02:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314278 -2.800967)'), GeomFromEWKT('SRID=4674;POINT (-40.314119 -2.800935)'))) / (select extract(epoch from '2026-07-17 02:44:50'::timestamp) - extract(epoch from '2026-07-17 02:44: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'), 47836, 'SRID=4674;POINT (-40.313941 -2.800913)', '2026-07-17 02:44:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314119 -2.800935)'), GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.800913)'))) / (select extract(epoch from '2026-07-17 02:44:59'::timestamp) - extract(epoch from '2026-07-17 02:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314119 -2.800935)'), GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.800913)'))) / (select extract(epoch from '2026-07-17 02:44:59'::timestamp) - extract(epoch from '2026-07-17 02:44: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'), 47836, 'SRID=4674;POINT (-40.313806 -2.800904)', '2026-07-17 02:45:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.313806 -2.800904)'))) / (select extract(epoch from '2026-07-17 02:45:06'::timestamp) - extract(epoch from '2026-07-17 02:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.313806 -2.800904)'))) / (select extract(epoch from '2026-07-17 02:45:06'::timestamp) - extract(epoch from '2026-07-17 02:44: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'), 47836, 'SRID=4674;POINT (-40.31361 -2.800908)', '2026-07-17 02:45:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313806 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.31361 -2.800908)'))) / (select extract(epoch from '2026-07-17 02:45:16'::timestamp) - extract(epoch from '2026-07-17 02:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313806 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.31361 -2.800908)'))) / (select extract(epoch from '2026-07-17 02:45:16'::timestamp) - extract(epoch from '2026-07-17 02:45: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'), 47836, 'SRID=4674;POINT (-40.313429 -2.800914)', '2026-07-17 02:45:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31361 -2.800908)'), GeomFromEWKT('SRID=4674;POINT (-40.313429 -2.800914)'))) / (select extract(epoch from '2026-07-17 02:45:26'::timestamp) - extract(epoch from '2026-07-17 02:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31361 -2.800908)'), GeomFromEWKT('SRID=4674;POINT (-40.313429 -2.800914)'))) / (select extract(epoch from '2026-07-17 02:45:26'::timestamp) - extract(epoch from '2026-07-17 02:45: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'), 47836, 'SRID=4674;POINT (-40.313278 -2.800924)', '2026-07-17 02:45:34', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313429 -2.800914)'), GeomFromEWKT('SRID=4674;POINT (-40.313278 -2.800924)'))) / (select extract(epoch from '2026-07-17 02:45:34'::timestamp) - extract(epoch from '2026-07-17 02:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313429 -2.800914)'), GeomFromEWKT('SRID=4674;POINT (-40.313278 -2.800924)'))) / (select extract(epoch from '2026-07-17 02:45:34'::timestamp) - extract(epoch from '2026-07-17 02:45: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'), 47836, 'SRID=4674;POINT (-40.313119 -2.800921)', '2026-07-17 02:45:42', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313278 -2.800924)'), GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.800921)'))) / (select extract(epoch from '2026-07-17 02:45:42'::timestamp) - extract(epoch from '2026-07-17 02:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313278 -2.800924)'), GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.800921)'))) / (select extract(epoch from '2026-07-17 02:45:42'::timestamp) - extract(epoch from '2026-07-17 02:45:34'::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'), 47836, 'SRID=4674;POINT (-40.312956 -2.800905)', '2026-07-17 02:45:50', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.800921)'), GeomFromEWKT('SRID=4674;POINT (-40.312956 -2.800905)'))) / (select extract(epoch from '2026-07-17 02:45:50'::timestamp) - extract(epoch from '2026-07-17 02:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313119 -2.800921)'), GeomFromEWKT('SRID=4674;POINT (-40.312956 -2.800905)'))) / (select extract(epoch from '2026-07-17 02:45:50'::timestamp) - extract(epoch from '2026-07-17 02:45: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'), 47836, 'SRID=4674;POINT (-40.312793 -2.800907)', '2026-07-17 02:45:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312956 -2.800905)'), GeomFromEWKT('SRID=4674;POINT (-40.312793 -2.800907)'))) / (select extract(epoch from '2026-07-17 02:45:58'::timestamp) - extract(epoch from '2026-07-17 02:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312956 -2.800905)'), GeomFromEWKT('SRID=4674;POINT (-40.312793 -2.800907)'))) / (select extract(epoch from '2026-07-17 02:45:58'::timestamp) - extract(epoch from '2026-07-17 02:45: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'), 47836, 'SRID=4674;POINT (-40.312608 -2.800915)', '2026-07-17 02:46:08', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312793 -2.800907)'), GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.800915)'))) / (select extract(epoch from '2026-07-17 02:46:08'::timestamp) - extract(epoch from '2026-07-17 02:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312793 -2.800907)'), GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.800915)'))) / (select extract(epoch from '2026-07-17 02:46:08'::timestamp) - extract(epoch from '2026-07-17 02:45: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'), 47836, 'SRID=4674;POINT (-40.312436 -2.800938)', '2026-07-17 02:46:17', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.800915)'), GeomFromEWKT('SRID=4674;POINT (-40.312436 -2.800938)'))) / (select extract(epoch from '2026-07-17 02:46:17'::timestamp) - extract(epoch from '2026-07-17 02:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.800915)'), GeomFromEWKT('SRID=4674;POINT (-40.312436 -2.800938)'))) / (select extract(epoch from '2026-07-17 02:46:17'::timestamp) - extract(epoch from '2026-07-17 02:46: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'), 47836, 'SRID=4674;POINT (-40.312246 -2.800954)', '2026-07-17 02:46:27', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312436 -2.800938)'), GeomFromEWKT('SRID=4674;POINT (-40.312246 -2.800954)'))) / (select extract(epoch from '2026-07-17 02:46:27'::timestamp) - extract(epoch from '2026-07-17 02:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312436 -2.800938)'), GeomFromEWKT('SRID=4674;POINT (-40.312246 -2.800954)'))) / (select extract(epoch from '2026-07-17 02:46:27'::timestamp) - extract(epoch from '2026-07-17 02:46: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'), 47836, 'SRID=4674;POINT (-40.312127 -2.800962)', '2026-07-17 02:46:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312246 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.312127 -2.800962)'))) / (select extract(epoch from '2026-07-17 02:46:34'::timestamp) - extract(epoch from '2026-07-17 02:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312246 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.312127 -2.800962)'))) / (select extract(epoch from '2026-07-17 02:46:34'::timestamp) - extract(epoch from '2026-07-17 02:46:27'::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'), 47836, 'SRID=4674;POINT (-40.311975 -2.800982)', '2026-07-17 02:46:42', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312127 -2.800962)'), GeomFromEWKT('SRID=4674;POINT (-40.311975 -2.800982)'))) / (select extract(epoch from '2026-07-17 02:46:42'::timestamp) - extract(epoch from '2026-07-17 02:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312127 -2.800962)'), GeomFromEWKT('SRID=4674;POINT (-40.311975 -2.800982)'))) / (select extract(epoch from '2026-07-17 02:46:42'::timestamp) - extract(epoch from '2026-07-17 02:46:34'::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'), 47836, 'SRID=4674;POINT (-40.311787 -2.800982)', '2026-07-17 02:46:51', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311975 -2.800982)'), GeomFromEWKT('SRID=4674;POINT (-40.311787 -2.800982)'))) / (select extract(epoch from '2026-07-17 02:46:51'::timestamp) - extract(epoch from '2026-07-17 02:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311975 -2.800982)'), GeomFromEWKT('SRID=4674;POINT (-40.311787 -2.800982)'))) / (select extract(epoch from '2026-07-17 02:46:51'::timestamp) - extract(epoch from '2026-07-17 02:46: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'), 47836, 'SRID=4674;POINT (-40.311604 -2.800963)', '2026-07-17 02:47:01', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311787 -2.800982)'), GeomFromEWKT('SRID=4674;POINT (-40.311604 -2.800963)'))) / (select extract(epoch from '2026-07-17 02:47:01'::timestamp) - extract(epoch from '2026-07-17 02:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311787 -2.800982)'), GeomFromEWKT('SRID=4674;POINT (-40.311604 -2.800963)'))) / (select extract(epoch from '2026-07-17 02:47:01'::timestamp) - extract(epoch from '2026-07-17 02:46: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'), 47836, 'SRID=4674;POINT (-40.311496 -2.800952)', '2026-07-17 02:47:08', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311604 -2.800963)'), GeomFromEWKT('SRID=4674;POINT (-40.311496 -2.800952)'))) / (select extract(epoch from '2026-07-17 02:47:08'::timestamp) - extract(epoch from '2026-07-17 02:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311604 -2.800963)'), GeomFromEWKT('SRID=4674;POINT (-40.311496 -2.800952)'))) / (select extract(epoch from '2026-07-17 02:47:08'::timestamp) - extract(epoch from '2026-07-17 02:47: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'), 47836, 'SRID=4674;POINT (-40.311362 -2.800926)', '2026-07-17 02:47:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311496 -2.800952)'), GeomFromEWKT('SRID=4674;POINT (-40.311362 -2.800926)'))) / (select extract(epoch from '2026-07-17 02:47:17'::timestamp) - extract(epoch from '2026-07-17 02:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311496 -2.800952)'), GeomFromEWKT('SRID=4674;POINT (-40.311362 -2.800926)'))) / (select extract(epoch from '2026-07-17 02:47:17'::timestamp) - extract(epoch from '2026-07-17 02:47: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'), 47836, 'SRID=4674;POINT (-40.31125 -2.800909)', '2026-07-17 02:47:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311362 -2.800926)'), GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.800909)'))) / (select extract(epoch from '2026-07-17 02:47:24'::timestamp) - extract(epoch from '2026-07-17 02:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311362 -2.800926)'), GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.800909)'))) / (select extract(epoch from '2026-07-17 02:47:24'::timestamp) - extract(epoch from '2026-07-17 02:47: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'), 47836, 'SRID=4674;POINT (-40.311127 -2.800902)', '2026-07-17 02:47:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.800909)'), GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.800902)'))) / (select extract(epoch from '2026-07-17 02:47:32'::timestamp) - extract(epoch from '2026-07-17 02:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.800909)'), GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.800902)'))) / (select extract(epoch from '2026-07-17 02:47:32'::timestamp) - extract(epoch from '2026-07-17 02:47: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'), 47836, 'SRID=4674;POINT (-40.311007 -2.800892)', '2026-07-17 02:47:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.800892)'))) / (select extract(epoch from '2026-07-17 02:47:41'::timestamp) - extract(epoch from '2026-07-17 02:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.800892)'))) / (select extract(epoch from '2026-07-17 02:47:41'::timestamp) - extract(epoch from '2026-07-17 02:47: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'), 47836, 'SRID=4674;POINT (-40.310913 -2.800884)', '2026-07-17 02:47:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.310913 -2.800884)'))) / (select extract(epoch from '2026-07-17 02:47:48'::timestamp) - extract(epoch from '2026-07-17 02:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.310913 -2.800884)'))) / (select extract(epoch from '2026-07-17 02:47:48'::timestamp) - extract(epoch from '2026-07-17 02:47: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'), 47836, 'SRID=4674;POINT (-40.310777 -2.800883)', '2026-07-17 02:47:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310913 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.310777 -2.800883)'))) / (select extract(epoch from '2026-07-17 02:47:56'::timestamp) - extract(epoch from '2026-07-17 02:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310913 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.310777 -2.800883)'))) / (select extract(epoch from '2026-07-17 02:47:56'::timestamp) - extract(epoch from '2026-07-17 02:47: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'), 47836, 'SRID=4674;POINT (-40.310631 -2.800874)', '2026-07-17 02:48:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310777 -2.800883)'), GeomFromEWKT('SRID=4674;POINT (-40.310631 -2.800874)'))) / (select extract(epoch from '2026-07-17 02:48:05'::timestamp) - extract(epoch from '2026-07-17 02:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310777 -2.800883)'), GeomFromEWKT('SRID=4674;POINT (-40.310631 -2.800874)'))) / (select extract(epoch from '2026-07-17 02:48:05'::timestamp) - extract(epoch from '2026-07-17 02:47:56'::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'), 47836, 'SRID=4674;POINT (-40.310516 -2.800879)', '2026-07-17 02:48:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310631 -2.800874)'), GeomFromEWKT('SRID=4674;POINT (-40.310516 -2.800879)'))) / (select extract(epoch from '2026-07-17 02:48:12'::timestamp) - extract(epoch from '2026-07-17 02:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310631 -2.800874)'), GeomFromEWKT('SRID=4674;POINT (-40.310516 -2.800879)'))) / (select extract(epoch from '2026-07-17 02:48:12'::timestamp) - extract(epoch from '2026-07-17 02:48: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'), 47836, 'SRID=4674;POINT (-40.310424 -2.800888)', '2026-07-17 02:48:19', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310516 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.800888)'))) / (select extract(epoch from '2026-07-17 02:48:19'::timestamp) - extract(epoch from '2026-07-17 02:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310516 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.800888)'))) / (select extract(epoch from '2026-07-17 02:48:19'::timestamp) - extract(epoch from '2026-07-17 02:48:12'::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'), 47836, 'SRID=4674;POINT (-40.310301 -2.800886)', '2026-07-17 02:48:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.800888)'), GeomFromEWKT('SRID=4674;POINT (-40.310301 -2.800886)'))) / (select extract(epoch from '2026-07-17 02:48:27'::timestamp) - extract(epoch from '2026-07-17 02:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.800888)'), GeomFromEWKT('SRID=4674;POINT (-40.310301 -2.800886)'))) / (select extract(epoch from '2026-07-17 02:48:27'::timestamp) - extract(epoch from '2026-07-17 02:48:19'::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'), 47836, 'SRID=4674;POINT (-40.310168 -2.800887)', '2026-07-17 02:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310301 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.310168 -2.800887)'))) / (select extract(epoch from '2026-07-17 02:48:35'::timestamp) - extract(epoch from '2026-07-17 02:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310301 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.310168 -2.800887)'))) / (select extract(epoch from '2026-07-17 02:48:35'::timestamp) - extract(epoch from '2026-07-17 02:48:27'::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'), 47836, 'SRID=4674;POINT (-40.309989 -2.800861)', '2026-07-17 02:48:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310168 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.309989 -2.800861)'))) / (select extract(epoch from '2026-07-17 02:48:43'::timestamp) - extract(epoch from '2026-07-17 02:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310168 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.309989 -2.800861)'))) / (select extract(epoch from '2026-07-17 02:48:43'::timestamp) - extract(epoch from '2026-07-17 02:48: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'), 47836, 'SRID=4674;POINT (-40.309808 -2.800792)', '2026-07-17 02:48:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309989 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.309808 -2.800792)'))) / (select extract(epoch from '2026-07-17 02:48:52'::timestamp) - extract(epoch from '2026-07-17 02:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309989 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.309808 -2.800792)'))) / (select extract(epoch from '2026-07-17 02:48:52'::timestamp) - extract(epoch from '2026-07-17 02:48:43'::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'), 47836, 'SRID=4674;POINT (-40.309654 -2.800766)', '2026-07-17 02:49:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309808 -2.800792)'), GeomFromEWKT('SRID=4674;POINT (-40.309654 -2.800766)'))) / (select extract(epoch from '2026-07-17 02:49:00'::timestamp) - extract(epoch from '2026-07-17 02:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309808 -2.800792)'), GeomFromEWKT('SRID=4674;POINT (-40.309654 -2.800766)'))) / (select extract(epoch from '2026-07-17 02:49:00'::timestamp) - extract(epoch from '2026-07-17 02:48: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'), 47836, 'SRID=4674;POINT (-40.309471 -2.800743)', '2026-07-17 02:49:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309654 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.309471 -2.800743)'))) / (select extract(epoch from '2026-07-17 02:49:09'::timestamp) - extract(epoch from '2026-07-17 02:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309654 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.309471 -2.800743)'))) / (select extract(epoch from '2026-07-17 02:49:09'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.309355 -2.80073)', '2026-07-17 02:49:15', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309471 -2.800743)'), GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.80073)'))) / (select extract(epoch from '2026-07-17 02:49:15'::timestamp) - extract(epoch from '2026-07-17 02:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309471 -2.800743)'), GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.80073)'))) / (select extract(epoch from '2026-07-17 02:49:15'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.30917 -2.800714)', '2026-07-17 02:49:24', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.80073)'), GeomFromEWKT('SRID=4674;POINT (-40.30917 -2.800714)'))) / (select extract(epoch from '2026-07-17 02:49:24'::timestamp) - extract(epoch from '2026-07-17 02:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309355 -2.80073)'), GeomFromEWKT('SRID=4674;POINT (-40.30917 -2.800714)'))) / (select extract(epoch from '2026-07-17 02:49:24'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.309002 -2.800698)', '2026-07-17 02:49:33', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30917 -2.800714)'), GeomFromEWKT('SRID=4674;POINT (-40.309002 -2.800698)'))) / (select extract(epoch from '2026-07-17 02:49:33'::timestamp) - extract(epoch from '2026-07-17 02:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30917 -2.800714)'), GeomFromEWKT('SRID=4674;POINT (-40.309002 -2.800698)'))) / (select extract(epoch from '2026-07-17 02:49:33'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.308856 -2.800698)', '2026-07-17 02:49:41', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309002 -2.800698)'), GeomFromEWKT('SRID=4674;POINT (-40.308856 -2.800698)'))) / (select extract(epoch from '2026-07-17 02:49:41'::timestamp) - extract(epoch from '2026-07-17 02:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309002 -2.800698)'), GeomFromEWKT('SRID=4674;POINT (-40.308856 -2.800698)'))) / (select extract(epoch from '2026-07-17 02:49:41'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.308667 -2.800702)', '2026-07-17 02:49:50', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308856 -2.800698)'), GeomFromEWKT('SRID=4674;POINT (-40.308667 -2.800702)'))) / (select extract(epoch from '2026-07-17 02:49:50'::timestamp) - extract(epoch from '2026-07-17 02:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308856 -2.800698)'), GeomFromEWKT('SRID=4674;POINT (-40.308667 -2.800702)'))) / (select extract(epoch from '2026-07-17 02:49:50'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.308646 -2.800702)', '2026-07-17 02:49:51', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308667 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.308646 -2.800702)'))) / (select extract(epoch from '2026-07-17 02:49:51'::timestamp) - extract(epoch from '2026-07-17 02:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308667 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.308646 -2.800702)'))) / (select extract(epoch from '2026-07-17 02:49:51'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.308479 -2.800701)', '2026-07-17 02:49:59', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308646 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.308479 -2.800701)'))) / (select extract(epoch from '2026-07-17 02:49:59'::timestamp) - extract(epoch from '2026-07-17 02:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308646 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.308479 -2.800701)'))) / (select extract(epoch from '2026-07-17 02:49:59'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.30832 -2.800701)', '2026-07-17 02:50:07', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308479 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.30832 -2.800701)'))) / (select extract(epoch from '2026-07-17 02:50:07'::timestamp) - extract(epoch from '2026-07-17 02:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308479 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.30832 -2.800701)'))) / (select extract(epoch from '2026-07-17 02:50:07'::timestamp) - extract(epoch from '2026-07-17 02:49: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'), 47836, 'SRID=4674;POINT (-40.308184 -2.800684)', '2026-07-17 02:50:14', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30832 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.308184 -2.800684)'))) / (select extract(epoch from '2026-07-17 02:50:14'::timestamp) - extract(epoch from '2026-07-17 02:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30832 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.308184 -2.800684)'))) / (select extract(epoch from '2026-07-17 02:50:14'::timestamp) - extract(epoch from '2026-07-17 02:50: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'), 47836, 'SRID=4674;POINT (-40.308027 -2.800679)', '2026-07-17 02:50:22', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308184 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.308027 -2.800679)'))) / (select extract(epoch from '2026-07-17 02:50:22'::timestamp) - extract(epoch from '2026-07-17 02:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308184 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.308027 -2.800679)'))) / (select extract(epoch from '2026-07-17 02:50:22'::timestamp) - extract(epoch from '2026-07-17 02:50: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'), 47836, 'SRID=4674;POINT (-40.307848 -2.800689)', '2026-07-17 02:50:31', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308027 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.307848 -2.800689)'))) / (select extract(epoch from '2026-07-17 02:50:31'::timestamp) - extract(epoch from '2026-07-17 02:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308027 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.307848 -2.800689)'))) / (select extract(epoch from '2026-07-17 02:50:31'::timestamp) - extract(epoch from '2026-07-17 02:50:22'::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'), 47836, 'SRID=4674;POINT (-40.307657 -2.800691)', '2026-07-17 02:50:40', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307848 -2.800689)'), GeomFromEWKT('SRID=4674;POINT (-40.307657 -2.800691)'))) / (select extract(epoch from '2026-07-17 02:50:40'::timestamp) - extract(epoch from '2026-07-17 02:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307848 -2.800689)'), GeomFromEWKT('SRID=4674;POINT (-40.307657 -2.800691)'))) / (select extract(epoch from '2026-07-17 02:50:40'::timestamp) - extract(epoch from '2026-07-17 02:50: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'), 47836, 'SRID=4674;POINT (-40.307481 -2.800703)', '2026-07-17 02:50:48', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307657 -2.800691)'), GeomFromEWKT('SRID=4674;POINT (-40.307481 -2.800703)'))) / (select extract(epoch from '2026-07-17 02:50:48'::timestamp) - extract(epoch from '2026-07-17 02:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307657 -2.800691)'), GeomFromEWKT('SRID=4674;POINT (-40.307481 -2.800703)'))) / (select extract(epoch from '2026-07-17 02:50:48'::timestamp) - extract(epoch from '2026-07-17 02:50:40'::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'), 47836, 'SRID=4674;POINT (-40.307329 -2.800705)', '2026-07-17 02:50:56', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307481 -2.800703)'), GeomFromEWKT('SRID=4674;POINT (-40.307329 -2.800705)'))) / (select extract(epoch from '2026-07-17 02:50:56'::timestamp) - extract(epoch from '2026-07-17 02:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307481 -2.800703)'), GeomFromEWKT('SRID=4674;POINT (-40.307329 -2.800705)'))) / (select extract(epoch from '2026-07-17 02:50:56'::timestamp) - extract(epoch from '2026-07-17 02:50: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'), 47836, 'SRID=4674;POINT (-40.307146 -2.800737)', '2026-07-17 02:51:04', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307329 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.307146 -2.800737)'))) / (select extract(epoch from '2026-07-17 02:51:04'::timestamp) - extract(epoch from '2026-07-17 02:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307329 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.307146 -2.800737)'))) / (select extract(epoch from '2026-07-17 02:51:04'::timestamp) - extract(epoch from '2026-07-17 02:50:56'::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'), 47836, 'SRID=4674;POINT (-40.307079 -2.800749)', '2026-07-17 02:51:07', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307146 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.307079 -2.800749)'))) / (select extract(epoch from '2026-07-17 02:51:07'::timestamp) - extract(epoch from '2026-07-17 02:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307146 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.307079 -2.800749)'))) / (select extract(epoch from '2026-07-17 02:51:07'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.306886 -2.800758)', '2026-07-17 02:51:16', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307079 -2.800749)'), GeomFromEWKT('SRID=4674;POINT (-40.306886 -2.800758)'))) / (select extract(epoch from '2026-07-17 02:51:16'::timestamp) - extract(epoch from '2026-07-17 02:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307079 -2.800749)'), GeomFromEWKT('SRID=4674;POINT (-40.306886 -2.800758)'))) / (select extract(epoch from '2026-07-17 02:51:16'::timestamp) - extract(epoch from '2026-07-17 02:51: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'), 47836, 'SRID=4674;POINT (-40.306728 -2.800759)', '2026-07-17 02:51:24', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306886 -2.800758)'), GeomFromEWKT('SRID=4674;POINT (-40.306728 -2.800759)'))) / (select extract(epoch from '2026-07-17 02:51:24'::timestamp) - extract(epoch from '2026-07-17 02:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306886 -2.800758)'), GeomFromEWKT('SRID=4674;POINT (-40.306728 -2.800759)'))) / (select extract(epoch from '2026-07-17 02:51:24'::timestamp) - extract(epoch from '2026-07-17 02:51: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'), 47836, 'SRID=4674;POINT (-40.30663 -2.800766)', '2026-07-17 02:51:30', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306728 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.30663 -2.800766)'))) / (select extract(epoch from '2026-07-17 02:51:30'::timestamp) - extract(epoch from '2026-07-17 02:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306728 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.30663 -2.800766)'))) / (select extract(epoch from '2026-07-17 02:51:30'::timestamp) - extract(epoch from '2026-07-17 02:51: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'), 47836, 'SRID=4674;POINT (-40.306451 -2.800772)', '2026-07-17 02:51:38', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30663 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.306451 -2.800772)'))) / (select extract(epoch from '2026-07-17 02:51:38'::timestamp) - extract(epoch from '2026-07-17 02:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30663 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.306451 -2.800772)'))) / (select extract(epoch from '2026-07-17 02:51:38'::timestamp) - extract(epoch from '2026-07-17 02:51: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'), 47836, 'SRID=4674;POINT (-40.306283 -2.800772)', '2026-07-17 02:51:46', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306451 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.306283 -2.800772)'))) / (select extract(epoch from '2026-07-17 02:51:46'::timestamp) - extract(epoch from '2026-07-17 02:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306451 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.306283 -2.800772)'))) / (select extract(epoch from '2026-07-17 02:51:46'::timestamp) - extract(epoch from '2026-07-17 02:51: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'), 47836, 'SRID=4674;POINT (-40.306093 -2.800769)', '2026-07-17 02:51:55', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306283 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.306093 -2.800769)'))) / (select extract(epoch from '2026-07-17 02:51:55'::timestamp) - extract(epoch from '2026-07-17 02:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306283 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.306093 -2.800769)'))) / (select extract(epoch from '2026-07-17 02:51:55'::timestamp) - extract(epoch from '2026-07-17 02:51: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'), 47836, 'SRID=4674;POINT (-40.305935 -2.800761)', '2026-07-17 02:52:03', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306093 -2.800769)'), GeomFromEWKT('SRID=4674;POINT (-40.305935 -2.800761)'))) / (select extract(epoch from '2026-07-17 02:52:03'::timestamp) - extract(epoch from '2026-07-17 02:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306093 -2.800769)'), GeomFromEWKT('SRID=4674;POINT (-40.305935 -2.800761)'))) / (select extract(epoch from '2026-07-17 02:52:03'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.305743 -2.800765)', '2026-07-17 02:52:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305935 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.305743 -2.800765)'))) / (select extract(epoch from '2026-07-17 02:52:12'::timestamp) - extract(epoch from '2026-07-17 02:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305935 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.305743 -2.800765)'))) / (select extract(epoch from '2026-07-17 02:52:12'::timestamp) - extract(epoch from '2026-07-17 02:52: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'), 47836, 'SRID=4674;POINT (-40.305582 -2.80078)', '2026-07-17 02:52:19', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305743 -2.800765)'), GeomFromEWKT('SRID=4674;POINT (-40.305582 -2.80078)'))) / (select extract(epoch from '2026-07-17 02:52:19'::timestamp) - extract(epoch from '2026-07-17 02:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305743 -2.800765)'), GeomFromEWKT('SRID=4674;POINT (-40.305582 -2.80078)'))) / (select extract(epoch from '2026-07-17 02:52:19'::timestamp) - extract(epoch from '2026-07-17 02:52:12'::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'), 47836, 'SRID=4674;POINT (-40.305411 -2.800815)', '2026-07-17 02:52:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305582 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.305411 -2.800815)'))) / (select extract(epoch from '2026-07-17 02:52:27'::timestamp) - extract(epoch from '2026-07-17 02:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305582 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.305411 -2.800815)'))) / (select extract(epoch from '2026-07-17 02:52:27'::timestamp) - extract(epoch from '2026-07-17 02:52:19'::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'), 47836, 'SRID=4674;POINT (-40.305221 -2.800834)', '2026-07-17 02:52:37', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305411 -2.800815)'), GeomFromEWKT('SRID=4674;POINT (-40.305221 -2.800834)'))) / (select extract(epoch from '2026-07-17 02:52:37'::timestamp) - extract(epoch from '2026-07-17 02:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305411 -2.800815)'), GeomFromEWKT('SRID=4674;POINT (-40.305221 -2.800834)'))) / (select extract(epoch from '2026-07-17 02:52:37'::timestamp) - extract(epoch from '2026-07-17 02:52:27'::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'), 47836, 'SRID=4674;POINT (-40.305116 -2.800851)', '2026-07-17 02:52:45', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305221 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.305116 -2.800851)'))) / (select extract(epoch from '2026-07-17 02:52:45'::timestamp) - extract(epoch from '2026-07-17 02:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305221 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.305116 -2.800851)'))) / (select extract(epoch from '2026-07-17 02:52:45'::timestamp) - extract(epoch from '2026-07-17 02:52: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'), 47836, 'SRID=4674;POINT (-40.305024 -2.800859)', '2026-07-17 02:52:52', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305116 -2.800851)'), GeomFromEWKT('SRID=4674;POINT (-40.305024 -2.800859)'))) / (select extract(epoch from '2026-07-17 02:52:52'::timestamp) - extract(epoch from '2026-07-17 02:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305116 -2.800851)'), GeomFromEWKT('SRID=4674;POINT (-40.305024 -2.800859)'))) / (select extract(epoch from '2026-07-17 02:52:52'::timestamp) - extract(epoch from '2026-07-17 02: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'), 47836, 'SRID=4674;POINT (-40.304936 -2.800861)', '2026-07-17 02:53:01', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305024 -2.800859)'), GeomFromEWKT('SRID=4674;POINT (-40.304936 -2.800861)'))) / (select extract(epoch from '2026-07-17 02:53:01'::timestamp) - extract(epoch from '2026-07-17 02:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305024 -2.800859)'), GeomFromEWKT('SRID=4674;POINT (-40.304936 -2.800861)'))) / (select extract(epoch from '2026-07-17 02:53:01'::timestamp) - extract(epoch from '2026-07-17 02:52: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'), 47836, 'SRID=4674;POINT (-40.304853 -2.80085)', '2026-07-17 02:53:09', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304936 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.304853 -2.80085)'))) / (select extract(epoch from '2026-07-17 02:53:09'::timestamp) - extract(epoch from '2026-07-17 02:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304936 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.304853 -2.80085)'))) / (select extract(epoch from '2026-07-17 02:53:09'::timestamp) - extract(epoch from '2026-07-17 02:53: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'), 47836, 'SRID=4674;POINT (-40.304764 -2.800853)', '2026-07-17 02:53:19', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304853 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.304764 -2.800853)'))) / (select extract(epoch from '2026-07-17 02:53:19'::timestamp) - extract(epoch from '2026-07-17 02:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304853 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.304764 -2.800853)'))) / (select extract(epoch from '2026-07-17 02:53:19'::timestamp) - extract(epoch from '2026-07-17 02:53: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'), 47836, 'SRID=4674;POINT (-40.304618 -2.800841)', '2026-07-17 02:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304764 -2.800853)'), GeomFromEWKT('SRID=4674;POINT (-40.304618 -2.800841)'))) / (select extract(epoch from '2026-07-17 02:53:33'::timestamp) - extract(epoch from '2026-07-17 02:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304764 -2.800853)'), GeomFromEWKT('SRID=4674;POINT (-40.304618 -2.800841)'))) / (select extract(epoch from '2026-07-17 02:53:33'::timestamp) - extract(epoch from '2026-07-17 02:53:19'::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'), 47836, 'SRID=4674;POINT (-40.304451 -2.80083)', '2026-07-17 02:53:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304618 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.304451 -2.80083)'))) / (select extract(epoch from '2026-07-17 02:53:46'::timestamp) - extract(epoch from '2026-07-17 02:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304618 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.304451 -2.80083)'))) / (select extract(epoch from '2026-07-17 02:53:46'::timestamp) - extract(epoch from '2026-07-17 02:53: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'), 47836, 'SRID=4674;POINT (-40.304293 -2.800809)', '2026-07-17 02:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304451 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.304293 -2.800809)'))) / (select extract(epoch from '2026-07-17 02:53:55'::timestamp) - extract(epoch from '2026-07-17 02:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304451 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.304293 -2.800809)'))) / (select extract(epoch from '2026-07-17 02:53:55'::timestamp) - extract(epoch from '2026-07-17 02:53: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'), 47836, 'SRID=4674;POINT (-40.304162 -2.800789)', '2026-07-17 02:54:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304293 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.304162 -2.800789)'))) / (select extract(epoch from '2026-07-17 02:54:02'::timestamp) - extract(epoch from '2026-07-17 02:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304293 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.304162 -2.800789)'))) / (select extract(epoch from '2026-07-17 02:54:02'::timestamp) - extract(epoch from '2026-07-17 02:53: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'), 47836, 'SRID=4674;POINT (-40.303989 -2.80078)', '2026-07-17 02:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304162 -2.800789)'), GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.80078)'))) / (select extract(epoch from '2026-07-17 02:54:11'::timestamp) - extract(epoch from '2026-07-17 02:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304162 -2.800789)'), GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.80078)'))) / (select extract(epoch from '2026-07-17 02:54:11'::timestamp) - extract(epoch from '2026-07-17 02:54: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'), 47836, 'SRID=4674;POINT (-40.303826 -2.800765)', '2026-07-17 02:54:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.303826 -2.800765)'))) / (select extract(epoch from '2026-07-17 02:54:19'::timestamp) - extract(epoch from '2026-07-17 02:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.303826 -2.800765)'))) / (select extract(epoch from '2026-07-17 02:54:19'::timestamp) - extract(epoch from '2026-07-17 02:54:11'::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'), 47836, 'SRID=4674;POINT (-40.303655 -2.800744)', '2026-07-17 02:54:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303826 -2.800765)'), GeomFromEWKT('SRID=4674;POINT (-40.303655 -2.800744)'))) / (select extract(epoch from '2026-07-17 02:54:27'::timestamp) - extract(epoch from '2026-07-17 02:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303826 -2.800765)'), GeomFromEWKT('SRID=4674;POINT (-40.303655 -2.800744)'))) / (select extract(epoch from '2026-07-17 02:54:27'::timestamp) - extract(epoch from '2026-07-17 02:54:19'::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'), 47836, 'SRID=4674;POINT (-40.303521 -2.800735)', '2026-07-17 02:54:35', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303655 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.303521 -2.800735)'))) / (select extract(epoch from '2026-07-17 02:54:35'::timestamp) - extract(epoch from '2026-07-17 02:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303655 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.303521 -2.800735)'))) / (select extract(epoch from '2026-07-17 02:54:35'::timestamp) - extract(epoch from '2026-07-17 02:54:27'::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'), 47836, 'SRID=4674;POINT (-40.303357 -2.800745)', '2026-07-17 02:54:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303521 -2.800735)'), GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.800745)'))) / (select extract(epoch from '2026-07-17 02:54:44'::timestamp) - extract(epoch from '2026-07-17 02:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303521 -2.800735)'), GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.800745)'))) / (select extract(epoch from '2026-07-17 02:54:44'::timestamp) - extract(epoch from '2026-07-17 02:54: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'), 47836, 'SRID=4674;POINT (-40.303216 -2.800748)', '2026-07-17 02:54:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.800745)'), GeomFromEWKT('SRID=4674;POINT (-40.303216 -2.800748)'))) / (select extract(epoch from '2026-07-17 02:54:51'::timestamp) - extract(epoch from '2026-07-17 02:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.800745)'), GeomFromEWKT('SRID=4674;POINT (-40.303216 -2.800748)'))) / (select extract(epoch from '2026-07-17 02:54:51'::timestamp) - extract(epoch from '2026-07-17 02:54:44'::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'), 47836, 'SRID=4674;POINT (-40.303082 -2.800737)', '2026-07-17 02:54:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303216 -2.800748)'), GeomFromEWKT('SRID=4674;POINT (-40.303082 -2.800737)'))) / (select extract(epoch from '2026-07-17 02:54:59'::timestamp) - extract(epoch from '2026-07-17 02:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303216 -2.800748)'), GeomFromEWKT('SRID=4674;POINT (-40.303082 -2.800737)'))) / (select extract(epoch from '2026-07-17 02:54:59'::timestamp) - extract(epoch from '2026-07-17 02:54: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'), 47836, 'SRID=4674;POINT (-40.303018 -2.800684)', '2026-07-17 02:55:06', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303082 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.303018 -2.800684)'))) / (select extract(epoch from '2026-07-17 02:55:06'::timestamp) - extract(epoch from '2026-07-17 02:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303082 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.303018 -2.800684)'))) / (select extract(epoch from '2026-07-17 02:55:06'::timestamp) - extract(epoch from '2026-07-17 02:54: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'), 47836, 'SRID=4674;POINT (-40.302985 -2.800618)', '2026-07-17 02:55:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303018 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.302985 -2.800618)'))) / (select extract(epoch from '2026-07-17 02:55:16'::timestamp) - extract(epoch from '2026-07-17 02:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303018 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.302985 -2.800618)'))) / (select extract(epoch from '2026-07-17 02:55:16'::timestamp) - extract(epoch from '2026-07-17 02:55: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'), 47836, 'SRID=4674;POINT (-40.302984 -2.800584)', '2026-07-17 02:55:25', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302985 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.302984 -2.800584)'))) / (select extract(epoch from '2026-07-17 02:55:25'::timestamp) - extract(epoch from '2026-07-17 02:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302985 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.302984 -2.800584)'))) / (select extract(epoch from '2026-07-17 02:55:25'::timestamp) - extract(epoch from '2026-07-17 02:55: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'), 47836, 'SRID=4674;POINT (-40.302998 -2.800561)', '2026-07-17 02:55:41', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302984 -2.800584)'), GeomFromEWKT('SRID=4674;POINT (-40.302998 -2.800561)'))) / (select extract(epoch from '2026-07-17 02:55:41'::timestamp) - extract(epoch from '2026-07-17 02:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302984 -2.800584)'), GeomFromEWKT('SRID=4674;POINT (-40.302998 -2.800561)'))) / (select extract(epoch from '2026-07-17 02:55:41'::timestamp) - extract(epoch from '2026-07-17 02:55: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'), 47836, 'SRID=4674;POINT (-40.303068 -2.800533)', '2026-07-17 02:56:00', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302998 -2.800561)'), GeomFromEWKT('SRID=4674;POINT (-40.303068 -2.800533)'))) / (select extract(epoch from '2026-07-17 02:56:00'::timestamp) - extract(epoch from '2026-07-17 02:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302998 -2.800561)'), GeomFromEWKT('SRID=4674;POINT (-40.303068 -2.800533)'))) / (select extract(epoch from '2026-07-17 02:56:00'::timestamp) - extract(epoch from '2026-07-17 02:55: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'), 47836, 'SRID=4674;POINT (-40.303096 -2.800525)', '2026-07-17 02:56:16', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303068 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.303096 -2.800525)'))) / (select extract(epoch from '2026-07-17 02:56:16'::timestamp) - extract(epoch from '2026-07-17 02:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303068 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.303096 -2.800525)'))) / (select extract(epoch from '2026-07-17 02:56:16'::timestamp) - extract(epoch from '2026-07-17 02:56: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'), 47836, 'SRID=4674;POINT (-40.303114 -2.800523)', '2026-07-17 02:56:25', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303096 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.303114 -2.800523)'))) / (select extract(epoch from '2026-07-17 02:56:25'::timestamp) - extract(epoch from '2026-07-17 02:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303096 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.303114 -2.800523)'))) / (select extract(epoch from '2026-07-17 02:56:25'::timestamp) - extract(epoch from '2026-07-17 02:56: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'), 47836, 'SRID=4674;POINT (-40.303138 -2.800521)', '2026-07-17 02:56:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303114 -2.800523)'), GeomFromEWKT('SRID=4674;POINT (-40.303138 -2.800521)'))) / (select extract(epoch from '2026-07-17 02:56:34'::timestamp) - extract(epoch from '2026-07-17 02:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303114 -2.800523)'), GeomFromEWKT('SRID=4674;POINT (-40.303138 -2.800521)'))) / (select extract(epoch from '2026-07-17 02:56:34'::timestamp) - extract(epoch from '2026-07-17 02:56: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'), 47836, 'SRID=4674;POINT (-40.303174 -2.800514)', '2026-07-17 02:56:48', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303138 -2.800521)'), GeomFromEWKT('SRID=4674;POINT (-40.303174 -2.800514)'))) / (select extract(epoch from '2026-07-17 02:56:48'::timestamp) - extract(epoch from '2026-07-17 02:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303138 -2.800521)'), GeomFromEWKT('SRID=4674;POINT (-40.303174 -2.800514)'))) / (select extract(epoch from '2026-07-17 02:56:48'::timestamp) - extract(epoch from '2026-07-17 02:56:34'::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'), 47836, 'SRID=4674;POINT (-40.303224 -2.800465)', '2026-07-17 02:57:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303174 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.303224 -2.800465)'))) / (select extract(epoch from '2026-07-17 02:57:04'::timestamp) - extract(epoch from '2026-07-17 02:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303174 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.303224 -2.800465)'))) / (select extract(epoch from '2026-07-17 02:57:04'::timestamp) - extract(epoch from '2026-07-17 02:56: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'), 47836, 'SRID=4674;POINT (-40.303281 -2.800481)', '2026-07-17 02:57:21', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303224 -2.800465)'), GeomFromEWKT('SRID=4674;POINT (-40.303281 -2.800481)'))) / (select extract(epoch from '2026-07-17 02:57:21'::timestamp) - extract(epoch from '2026-07-17 02:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303224 -2.800465)'), GeomFromEWKT('SRID=4674;POINT (-40.303281 -2.800481)'))) / (select extract(epoch from '2026-07-17 02:57:21'::timestamp) - extract(epoch from '2026-07-17 02:57: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'), 47836, 'SRID=4674;POINT (-40.303316 -2.8005)', '2026-07-17 02:57:30', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303281 -2.800481)'), GeomFromEWKT('SRID=4674;POINT (-40.303316 -2.8005)'))) / (select extract(epoch from '2026-07-17 02:57:30'::timestamp) - extract(epoch from '2026-07-17 02:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303281 -2.800481)'), GeomFromEWKT('SRID=4674;POINT (-40.303316 -2.8005)'))) / (select extract(epoch from '2026-07-17 02:57:30'::timestamp) - extract(epoch from '2026-07-17 02:57: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'), 47836, 'SRID=4674;POINT (-40.303368 -2.8005)', '2026-07-17 02:57:39', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303316 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.303368 -2.8005)'))) / (select extract(epoch from '2026-07-17 02:57:39'::timestamp) - extract(epoch from '2026-07-17 02:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303316 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.303368 -2.8005)'))) / (select extract(epoch from '2026-07-17 02:57:39'::timestamp) - extract(epoch from '2026-07-17 02:57: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'), 47836, 'SRID=4674;POINT (-40.303399 -2.800511)', '2026-07-17 02:57:46', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303368 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.303399 -2.800511)'))) / (select extract(epoch from '2026-07-17 02:57:46'::timestamp) - extract(epoch from '2026-07-17 02:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303368 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.303399 -2.800511)'))) / (select extract(epoch from '2026-07-17 02:57:46'::timestamp) - extract(epoch from '2026-07-17 02:57: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'), 47836, 'SRID=4674;POINT (-40.303442 -2.800512)', '2026-07-17 02:57:54', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303399 -2.800511)'), GeomFromEWKT('SRID=4674;POINT (-40.303442 -2.800512)'))) / (select extract(epoch from '2026-07-17 02:57:54'::timestamp) - extract(epoch from '2026-07-17 02:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303399 -2.800511)'), GeomFromEWKT('SRID=4674;POINT (-40.303442 -2.800512)'))) / (select extract(epoch from '2026-07-17 02:57:54'::timestamp) - extract(epoch from '2026-07-17 02:57: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'), 47836, 'SRID=4674;POINT (-40.303484 -2.800508)', '2026-07-17 02:58:03', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303442 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.303484 -2.800508)'))) / (select extract(epoch from '2026-07-17 02:58:03'::timestamp) - extract(epoch from '2026-07-17 02:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303442 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.303484 -2.800508)'))) / (select extract(epoch from '2026-07-17 02:58:03'::timestamp) - extract(epoch from '2026-07-17 02:57: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'), 47836, 'SRID=4674;POINT (-40.303515 -2.800504)', '2026-07-17 02:58:12', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303484 -2.800508)'), GeomFromEWKT('SRID=4674;POINT (-40.303515 -2.800504)'))) / (select extract(epoch from '2026-07-17 02:58:12'::timestamp) - extract(epoch from '2026-07-17 02:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303484 -2.800508)'), GeomFromEWKT('SRID=4674;POINT (-40.303515 -2.800504)'))) / (select extract(epoch from '2026-07-17 02:58:12'::timestamp) - extract(epoch from '2026-07-17 02:58: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'), 47836, 'SRID=4674;POINT (-40.303555 -2.800492)', '2026-07-17 02:58:20', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303515 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.303555 -2.800492)'))) / (select extract(epoch from '2026-07-17 02:58:20'::timestamp) - extract(epoch from '2026-07-17 02:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303515 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.303555 -2.800492)'))) / (select extract(epoch from '2026-07-17 02:58:20'::timestamp) - extract(epoch from '2026-07-17 02:58:12'::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'), 47836, 'SRID=4674;POINT (-40.303606 -2.800501)', '2026-07-17 02:58:29', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303555 -2.800492)'), GeomFromEWKT('SRID=4674;POINT (-40.303606 -2.800501)'))) / (select extract(epoch from '2026-07-17 02:58:29'::timestamp) - extract(epoch from '2026-07-17 02:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303555 -2.800492)'), GeomFromEWKT('SRID=4674;POINT (-40.303606 -2.800501)'))) / (select extract(epoch from '2026-07-17 02:58:29'::timestamp) - extract(epoch from '2026-07-17 02:58:20'::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'), 47836, 'SRID=4674;POINT (-40.303657 -2.800501)', '2026-07-17 02:58:37', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303606 -2.800501)'), GeomFromEWKT('SRID=4674;POINT (-40.303657 -2.800501)'))) / (select extract(epoch from '2026-07-17 02:58:37'::timestamp) - extract(epoch from '2026-07-17 02:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303606 -2.800501)'), GeomFromEWKT('SRID=4674;POINT (-40.303657 -2.800501)'))) / (select extract(epoch from '2026-07-17 02:58:37'::timestamp) - extract(epoch from '2026-07-17 02:58: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'), 47836, 'SRID=4674;POINT (-40.303687 -2.800513)', '2026-07-17 02:58:44', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303657 -2.800501)'), GeomFromEWKT('SRID=4674;POINT (-40.303687 -2.800513)'))) / (select extract(epoch from '2026-07-17 02:58:44'::timestamp) - extract(epoch from '2026-07-17 02:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303657 -2.800501)'), GeomFromEWKT('SRID=4674;POINT (-40.303687 -2.800513)'))) / (select extract(epoch from '2026-07-17 02:58:44'::timestamp) - extract(epoch from '2026-07-17 02:58: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'), 47836, 'SRID=4674;POINT (-40.303717 -2.800519)', '2026-07-17 02:58:53', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303687 -2.800513)'), GeomFromEWKT('SRID=4674;POINT (-40.303717 -2.800519)'))) / (select extract(epoch from '2026-07-17 02:58:53'::timestamp) - extract(epoch from '2026-07-17 02:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303687 -2.800513)'), GeomFromEWKT('SRID=4674;POINT (-40.303717 -2.800519)'))) / (select extract(epoch from '2026-07-17 02:58:53'::timestamp) - extract(epoch from '2026-07-17 02:58:44'::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'), 47836, 'SRID=4674;POINT (-40.303747 -2.80053)', '2026-07-17 02:59:03', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303717 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.303747 -2.80053)'))) / (select extract(epoch from '2026-07-17 02:59:03'::timestamp) - extract(epoch from '2026-07-17 02:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303717 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.303747 -2.80053)'))) / (select extract(epoch from '2026-07-17 02:59:03'::timestamp) - extract(epoch from '2026-07-17 02:58: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'), 47836, 'SRID=4674;POINT (-40.30377 -2.80053)', '2026-07-17 02:59:11', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303747 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.30377 -2.80053)'))) / (select extract(epoch from '2026-07-17 02:59:11'::timestamp) - extract(epoch from '2026-07-17 02:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303747 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.30377 -2.80053)'))) / (select extract(epoch from '2026-07-17 02:59:11'::timestamp) - extract(epoch from '2026-07-17 02:59: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'), 47836, 'SRID=4674;POINT (-40.303791 -2.800549)', '2026-07-17 02:59:20', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30377 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.303791 -2.800549)'))) / (select extract(epoch from '2026-07-17 02:59:20'::timestamp) - extract(epoch from '2026-07-17 02:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30377 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.303791 -2.800549)'))) / (select extract(epoch from '2026-07-17 02:59:20'::timestamp) - extract(epoch from '2026-07-17 02:59:11'::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'), 47836, 'SRID=4674;POINT (-40.303837 -2.800556)', '2026-07-17 02:59:33', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303791 -2.800549)'), GeomFromEWKT('SRID=4674;POINT (-40.303837 -2.800556)'))) / (select extract(epoch from '2026-07-17 02:59:33'::timestamp) - extract(epoch from '2026-07-17 02:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303791 -2.800549)'), GeomFromEWKT('SRID=4674;POINT (-40.303837 -2.800556)'))) / (select extract(epoch from '2026-07-17 02:59:33'::timestamp) - extract(epoch from '2026-07-17 02:59:20'::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'), 47836, 'SRID=4674;POINT (-40.303902 -2.800573)', '2026-07-17 02:59:48', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303837 -2.800556)'), GeomFromEWKT('SRID=4674;POINT (-40.303902 -2.800573)'))) / (select extract(epoch from '2026-07-17 02:59:48'::timestamp) - extract(epoch from '2026-07-17 02:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303837 -2.800556)'), GeomFromEWKT('SRID=4674;POINT (-40.303902 -2.800573)'))) / (select extract(epoch from '2026-07-17 02:59:48'::timestamp) - extract(epoch from '2026-07-17 02:59: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'), 47836, 'SRID=4674;POINT (-40.303976 -2.800578)', '2026-07-17 03:00:04', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303902 -2.800573)'), GeomFromEWKT('SRID=4674;POINT (-40.303976 -2.800578)'))) / (select extract(epoch from '2026-07-17 03:00:04'::timestamp) - extract(epoch from '2026-07-17 02:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303902 -2.800573)'), GeomFromEWKT('SRID=4674;POINT (-40.303976 -2.800578)'))) / (select extract(epoch from '2026-07-17 03:00:04'::timestamp) - extract(epoch from '2026-07-17 02:59: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'), 47836, 'SRID=4674;POINT (-40.304026 -2.800594)', '2026-07-17 03:00:19', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303976 -2.800578)'), GeomFromEWKT('SRID=4674;POINT (-40.304026 -2.800594)'))) / (select extract(epoch from '2026-07-17 03:00:19'::timestamp) - extract(epoch from '2026-07-17 03:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303976 -2.800578)'), GeomFromEWKT('SRID=4674;POINT (-40.304026 -2.800594)'))) / (select extract(epoch from '2026-07-17 03:00:19'::timestamp) - extract(epoch from '2026-07-17 03:00: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'), 47836, 'SRID=4674;POINT (-40.304087 -2.800617)', '2026-07-17 03:00:33', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304026 -2.800594)'), GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.800617)'))) / (select extract(epoch from '2026-07-17 03:00:33'::timestamp) - extract(epoch from '2026-07-17 03:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304026 -2.800594)'), GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.800617)'))) / (select extract(epoch from '2026-07-17 03:00:33'::timestamp) - extract(epoch from '2026-07-17 03:00:19'::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'), 47836, 'SRID=4674;POINT (-40.304131 -2.80062)', '2026-07-17 03:00:49', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.800617)'), GeomFromEWKT('SRID=4674;POINT (-40.304131 -2.80062)'))) / (select extract(epoch from '2026-07-17 03:00:49'::timestamp) - extract(epoch from '2026-07-17 03:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.800617)'), GeomFromEWKT('SRID=4674;POINT (-40.304131 -2.80062)'))) / (select extract(epoch from '2026-07-17 03:00:49'::timestamp) - extract(epoch from '2026-07-17 03:00: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'), 47836, 'SRID=4674;POINT (-40.304177 -2.800657)', '2026-07-17 03:01:07', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304131 -2.80062)'), GeomFromEWKT('SRID=4674;POINT (-40.304177 -2.800657)'))) / (select extract(epoch from '2026-07-17 03:01:07'::timestamp) - extract(epoch from '2026-07-17 03:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304131 -2.80062)'), GeomFromEWKT('SRID=4674;POINT (-40.304177 -2.800657)'))) / (select extract(epoch from '2026-07-17 03:01:07'::timestamp) - extract(epoch from '2026-07-17 03:00:49'::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'), 47836, 'SRID=4674;POINT (-40.30427 -2.800662)', '2026-07-17 03:01:25', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304177 -2.800657)'), GeomFromEWKT('SRID=4674;POINT (-40.30427 -2.800662)'))) / (select extract(epoch from '2026-07-17 03:01:25'::timestamp) - extract(epoch from '2026-07-17 03:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304177 -2.800657)'), GeomFromEWKT('SRID=4674;POINT (-40.30427 -2.800662)'))) / (select extract(epoch from '2026-07-17 03:01:25'::timestamp) - extract(epoch from '2026-07-17 03:01: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'), 47836, 'SRID=4674;POINT (-40.304344 -2.800664)', '2026-07-17 03:01:39', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30427 -2.800662)'), GeomFromEWKT('SRID=4674;POINT (-40.304344 -2.800664)'))) / (select extract(epoch from '2026-07-17 03:01:39'::timestamp) - extract(epoch from '2026-07-17 03:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30427 -2.800662)'), GeomFromEWKT('SRID=4674;POINT (-40.304344 -2.800664)'))) / (select extract(epoch from '2026-07-17 03:01:39'::timestamp) - extract(epoch from '2026-07-17 03:01: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'), 47836, 'SRID=4674;POINT (-40.304419 -2.800652)', '2026-07-17 03:01:56', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304344 -2.800664)'), GeomFromEWKT('SRID=4674;POINT (-40.304419 -2.800652)'))) / (select extract(epoch from '2026-07-17 03:01:56'::timestamp) - extract(epoch from '2026-07-17 03:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304344 -2.800664)'), GeomFromEWKT('SRID=4674;POINT (-40.304419 -2.800652)'))) / (select extract(epoch from '2026-07-17 03:01:56'::timestamp) - extract(epoch from '2026-07-17 03:01: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'), 47836, 'SRID=4674;POINT (-40.304482 -2.800678)', '2026-07-17 03:02:14', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304419 -2.800652)'), GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.800678)'))) / (select extract(epoch from '2026-07-17 03:02:14'::timestamp) - extract(epoch from '2026-07-17 03:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304419 -2.800652)'), GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.800678)'))) / (select extract(epoch from '2026-07-17 03:02:14'::timestamp) - extract(epoch from '2026-07-17 03:01:56'::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'), 47836, 'SRID=4674;POINT (-40.304519 -2.800696)', '2026-07-17 03:02:32', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.800678)'), GeomFromEWKT('SRID=4674;POINT (-40.304519 -2.800696)'))) / (select extract(epoch from '2026-07-17 03:02:32'::timestamp) - extract(epoch from '2026-07-17 03:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.800678)'), GeomFromEWKT('SRID=4674;POINT (-40.304519 -2.800696)'))) / (select extract(epoch from '2026-07-17 03:02:32'::timestamp) - extract(epoch from '2026-07-17 03:02: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'), 47836, 'SRID=4674;POINT (-40.304576 -2.800709)', '2026-07-17 03:02:50', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304519 -2.800696)'), GeomFromEWKT('SRID=4674;POINT (-40.304576 -2.800709)'))) / (select extract(epoch from '2026-07-17 03:02:50'::timestamp) - extract(epoch from '2026-07-17 03:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304519 -2.800696)'), GeomFromEWKT('SRID=4674;POINT (-40.304576 -2.800709)'))) / (select extract(epoch from '2026-07-17 03:02:50'::timestamp) - extract(epoch from '2026-07-17 03:02: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'), 47836, 'SRID=4674;POINT (-40.304614 -2.800712)', '2026-07-17 03:03:02', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304576 -2.800709)'), GeomFromEWKT('SRID=4674;POINT (-40.304614 -2.800712)'))) / (select extract(epoch from '2026-07-17 03:03:02'::timestamp) - extract(epoch from '2026-07-17 03:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304576 -2.800709)'), GeomFromEWKT('SRID=4674;POINT (-40.304614 -2.800712)'))) / (select extract(epoch from '2026-07-17 03:03:02'::timestamp) - extract(epoch from '2026-07-17 03:02: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'), 47836, 'SRID=4674;POINT (-40.304721 -2.800724)', '2026-07-17 03:03:21', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304614 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.304721 -2.800724)'))) / (select extract(epoch from '2026-07-17 03:03:21'::timestamp) - extract(epoch from '2026-07-17 03:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304614 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.304721 -2.800724)'))) / (select extract(epoch from '2026-07-17 03:03:21'::timestamp) - extract(epoch from '2026-07-17 03:03: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'), 47836, 'SRID=4674;POINT (-40.304816 -2.800743)', '2026-07-17 03:03:39', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304721 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.304816 -2.800743)'))) / (select extract(epoch from '2026-07-17 03:03:39'::timestamp) - extract(epoch from '2026-07-17 03:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304721 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.304816 -2.800743)'))) / (select extract(epoch from '2026-07-17 03:03:39'::timestamp) - extract(epoch from '2026-07-17 03:03: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'), 47836, 'SRID=4674;POINT (-40.304891 -2.800754)', '2026-07-17 03:03:55', -10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304816 -2.800743)'), GeomFromEWKT('SRID=4674;POINT (-40.304891 -2.800754)'))) / (select extract(epoch from '2026-07-17 03:03:55'::timestamp) - extract(epoch from '2026-07-17 03:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304816 -2.800743)'), GeomFromEWKT('SRID=4674;POINT (-40.304891 -2.800754)'))) / (select extract(epoch from '2026-07-17 03:03:55'::timestamp) - extract(epoch from '2026-07-17 03:03: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'), 47836, 'SRID=4674;POINT (-40.304962 -2.800754)', '2026-07-17 03:04:12', -10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304891 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.304962 -2.800754)'))) / (select extract(epoch from '2026-07-17 03:04:12'::timestamp) - extract(epoch from '2026-07-17 03:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304891 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.304962 -2.800754)'))) / (select extract(epoch from '2026-07-17 03:04:12'::timestamp) - extract(epoch from '2026-07-17 03:03: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'), 47836, 'SRID=4674;POINT (-40.305036 -2.800776)', '2026-07-17 03:04:29', -11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304962 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.305036 -2.800776)'))) / (select extract(epoch from '2026-07-17 03:04:29'::timestamp) - extract(epoch from '2026-07-17 03:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304962 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.305036 -2.800776)'))) / (select extract(epoch from '2026-07-17 03:04:29'::timestamp) - extract(epoch from '2026-07-17 03:04:12'::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'), 47836, 'SRID=4674;POINT (-40.305086 -2.80078)', '2026-07-17 03:04:44', -11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305036 -2.800776)'), GeomFromEWKT('SRID=4674;POINT (-40.305086 -2.80078)'))) / (select extract(epoch from '2026-07-17 03:04:44'::timestamp) - extract(epoch from '2026-07-17 03:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305036 -2.800776)'), GeomFromEWKT('SRID=4674;POINT (-40.305086 -2.80078)'))) / (select extract(epoch from '2026-07-17 03:04:44'::timestamp) - extract(epoch from '2026-07-17 03:04: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'), 47836, 'SRID=4674;POINT (-40.30514 -2.80079)', '2026-07-17 03:04:59', -11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305086 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.30514 -2.80079)'))) / (select extract(epoch from '2026-07-17 03:04:59'::timestamp) - extract(epoch from '2026-07-17 03:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305086 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.30514 -2.80079)'))) / (select extract(epoch from '2026-07-17 03:04:59'::timestamp) - extract(epoch from '2026-07-17 03:04:44'::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'), 47836, 'SRID=4674;POINT (-40.305237 -2.80079)', '2026-07-17 03:05:18', -11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30514 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.305237 -2.80079)'))) / (select extract(epoch from '2026-07-17 03:05:18'::timestamp) - extract(epoch from '2026-07-17 03:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30514 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.305237 -2.80079)'))) / (select extract(epoch from '2026-07-17 03:05:18'::timestamp) - extract(epoch from '2026-07-17 03:04: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'), 47836, 'SRID=4674;POINT (-40.305286 -2.800812)', '2026-07-17 03:05:34', -10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305237 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.305286 -2.800812)'))) / (select extract(epoch from '2026-07-17 03:05:34'::timestamp) - extract(epoch from '2026-07-17 03:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305237 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.305286 -2.800812)'))) / (select extract(epoch from '2026-07-17 03:05:34'::timestamp) - extract(epoch from '2026-07-17 03:05: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'), 47836, 'SRID=4674;POINT (-40.305357 -2.800807)', '2026-07-17 03:05:53', -11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305286 -2.800812)'), GeomFromEWKT('SRID=4674;POINT (-40.305357 -2.800807)'))) / (select extract(epoch from '2026-07-17 03:05:53'::timestamp) - extract(epoch from '2026-07-17 03:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305286 -2.800812)'), GeomFromEWKT('SRID=4674;POINT (-40.305357 -2.800807)'))) / (select extract(epoch from '2026-07-17 03:05:53'::timestamp) - extract(epoch from '2026-07-17 03:05:34'::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'), 47836, 'SRID=4674;POINT (-40.305417 -2.800818)', '2026-07-17 03:06:10', -10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305357 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.305417 -2.800818)'))) / (select extract(epoch from '2026-07-17 03:06:10'::timestamp) - extract(epoch from '2026-07-17 03:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305357 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.305417 -2.800818)'))) / (select extract(epoch from '2026-07-17 03:06:10'::timestamp) - extract(epoch from '2026-07-17 03:05: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'), 47836, 'SRID=4674;POINT (-40.305451 -2.800841)', '2026-07-17 03:06:27', -10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305417 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.305451 -2.800841)'))) / (select extract(epoch from '2026-07-17 03:06:27'::timestamp) - extract(epoch from '2026-07-17 03:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305417 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.305451 -2.800841)'))) / (select extract(epoch from '2026-07-17 03:06:27'::timestamp) - extract(epoch from '2026-07-17 03:06: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'), 47836, 'SRID=4674;POINT (-40.305507 -2.800852)', '2026-07-17 03:06:43', -10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305451 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.305507 -2.800852)'))) / (select extract(epoch from '2026-07-17 03:06:43'::timestamp) - extract(epoch from '2026-07-17 03:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305451 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.305507 -2.800852)'))) / (select extract(epoch from '2026-07-17 03:06:43'::timestamp) - extract(epoch from '2026-07-17 03:06:27'::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'), 47836, 'SRID=4674;POINT (-40.30558 -2.800853)', '2026-07-17 03:07:01', -10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305507 -2.800852)'), GeomFromEWKT('SRID=4674;POINT (-40.30558 -2.800853)'))) / (select extract(epoch from '2026-07-17 03:07:01'::timestamp) - extract(epoch from '2026-07-17 03:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305507 -2.800852)'), GeomFromEWKT('SRID=4674;POINT (-40.30558 -2.800853)'))) / (select extract(epoch from '2026-07-17 03:07:01'::timestamp) - extract(epoch from '2026-07-17 03:06:43'::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'), 47836, 'SRID=4674;POINT (-40.30565 -2.800873)', '2026-07-17 03:07:17', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30558 -2.800853)'), GeomFromEWKT('SRID=4674;POINT (-40.30565 -2.800873)'))) / (select extract(epoch from '2026-07-17 03:07:17'::timestamp) - extract(epoch from '2026-07-17 03:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30558 -2.800853)'), GeomFromEWKT('SRID=4674;POINT (-40.30565 -2.800873)'))) / (select extract(epoch from '2026-07-17 03:07:17'::timestamp) - extract(epoch from '2026-07-17 03:07: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'), 47836, 'SRID=4674;POINT (-40.305709 -2.800896)', '2026-07-17 03:07:32', -9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30565 -2.800873)'), GeomFromEWKT('SRID=4674;POINT (-40.305709 -2.800896)'))) / (select extract(epoch from '2026-07-17 03:07:32'::timestamp) - extract(epoch from '2026-07-17 03:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30565 -2.800873)'), GeomFromEWKT('SRID=4674;POINT (-40.305709 -2.800896)'))) / (select extract(epoch from '2026-07-17 03:07:32'::timestamp) - extract(epoch from '2026-07-17 03:07: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'), 47836, 'SRID=4674;POINT (-40.305776 -2.800887)', '2026-07-17 03:07:49', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305709 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.305776 -2.800887)'))) / (select extract(epoch from '2026-07-17 03:07:49'::timestamp) - extract(epoch from '2026-07-17 03:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305709 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.305776 -2.800887)'))) / (select extract(epoch from '2026-07-17 03:07:49'::timestamp) - extract(epoch from '2026-07-17 03:07: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'), 47836, 'SRID=4674;POINT (-40.305841 -2.800902)', '2026-07-17 03:08:09', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305776 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.305841 -2.800902)'))) / (select extract(epoch from '2026-07-17 03:08:09'::timestamp) - extract(epoch from '2026-07-17 03:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305776 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.305841 -2.800902)'))) / (select extract(epoch from '2026-07-17 03:08:09'::timestamp) - extract(epoch from '2026-07-17 03:07:49'::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'), 47836, 'SRID=4674;POINT (-40.305914 -2.800917)', '2026-07-17 03:08:28', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305841 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.305914 -2.800917)'))) / (select extract(epoch from '2026-07-17 03:08:28'::timestamp) - extract(epoch from '2026-07-17 03:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305841 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.305914 -2.800917)'))) / (select extract(epoch from '2026-07-17 03:08:28'::timestamp) - extract(epoch from '2026-07-17 03:08: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'), 47836, 'SRID=4674;POINT (-40.305976 -2.800942)', '2026-07-17 03:08:45', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305914 -2.800917)'), GeomFromEWKT('SRID=4674;POINT (-40.305976 -2.800942)'))) / (select extract(epoch from '2026-07-17 03:08:45'::timestamp) - extract(epoch from '2026-07-17 03:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305914 -2.800917)'), GeomFromEWKT('SRID=4674;POINT (-40.305976 -2.800942)'))) / (select extract(epoch from '2026-07-17 03:08:45'::timestamp) - extract(epoch from '2026-07-17 03:08:28'::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'), 47836, 'SRID=4674;POINT (-40.306051 -2.800954)', '2026-07-17 03:09:00', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305976 -2.800942)'), GeomFromEWKT('SRID=4674;POINT (-40.306051 -2.800954)'))) / (select extract(epoch from '2026-07-17 03:09:00'::timestamp) - extract(epoch from '2026-07-17 03:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305976 -2.800942)'), GeomFromEWKT('SRID=4674;POINT (-40.306051 -2.800954)'))) / (select extract(epoch from '2026-07-17 03:09:00'::timestamp) - extract(epoch from '2026-07-17 03:08: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'), 47836, 'SRID=4674;POINT (-40.306116 -2.800973)', '2026-07-17 03:09:20', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306051 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.306116 -2.800973)'))) / (select extract(epoch from '2026-07-17 03:09:20'::timestamp) - extract(epoch from '2026-07-17 03:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306051 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.306116 -2.800973)'))) / (select extract(epoch from '2026-07-17 03:09:20'::timestamp) - extract(epoch from '2026-07-17 03:09: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'), 47836, 'SRID=4674;POINT (-40.306187 -2.800979)', '2026-07-17 03:09:36', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306116 -2.800973)'), GeomFromEWKT('SRID=4674;POINT (-40.306187 -2.800979)'))) / (select extract(epoch from '2026-07-17 03:09:36'::timestamp) - extract(epoch from '2026-07-17 03:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306116 -2.800973)'), GeomFromEWKT('SRID=4674;POINT (-40.306187 -2.800979)'))) / (select extract(epoch from '2026-07-17 03:09:36'::timestamp) - extract(epoch from '2026-07-17 03:09:20'::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'), 47836, 'SRID=4674;POINT (-40.30623 -2.800993)', '2026-07-17 03:09:53', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306187 -2.800979)'), GeomFromEWKT('SRID=4674;POINT (-40.30623 -2.800993)'))) / (select extract(epoch from '2026-07-17 03:09:53'::timestamp) - extract(epoch from '2026-07-17 03:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306187 -2.800979)'), GeomFromEWKT('SRID=4674;POINT (-40.30623 -2.800993)'))) / (select extract(epoch from '2026-07-17 03:09:53'::timestamp) - extract(epoch from '2026-07-17 03:09:36'::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'), 47836, 'SRID=4674;POINT (-40.306269 -2.800998)', '2026-07-17 03:10:06', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30623 -2.800993)'), GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.800998)'))) / (select extract(epoch from '2026-07-17 03:10:06'::timestamp) - extract(epoch from '2026-07-17 03:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30623 -2.800993)'), GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.800998)'))) / (select extract(epoch from '2026-07-17 03:10:06'::timestamp) - extract(epoch from '2026-07-17 03:09: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'), 47836, 'SRID=4674;POINT (-40.306348 -2.801021)', '2026-07-17 03:10:23', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.800998)'), GeomFromEWKT('SRID=4674;POINT (-40.306348 -2.801021)'))) / (select extract(epoch from '2026-07-17 03:10:23'::timestamp) - extract(epoch from '2026-07-17 03:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.800998)'), GeomFromEWKT('SRID=4674;POINT (-40.306348 -2.801021)'))) / (select extract(epoch from '2026-07-17 03:10:23'::timestamp) - extract(epoch from '2026-07-17 03:10: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'), 47836, 'SRID=4674;POINT (-40.306433 -2.801027)', '2026-07-17 03:10:42', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306348 -2.801021)'), GeomFromEWKT('SRID=4674;POINT (-40.306433 -2.801027)'))) / (select extract(epoch from '2026-07-17 03:10:42'::timestamp) - extract(epoch from '2026-07-17 03:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306348 -2.801021)'), GeomFromEWKT('SRID=4674;POINT (-40.306433 -2.801027)'))) / (select extract(epoch from '2026-07-17 03:10:42'::timestamp) - extract(epoch from '2026-07-17 03:10: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'), 47836, 'SRID=4674;POINT (-40.306511 -2.801045)', '2026-07-17 03:10:58', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306433 -2.801027)'), GeomFromEWKT('SRID=4674;POINT (-40.306511 -2.801045)'))) / (select extract(epoch from '2026-07-17 03:10:58'::timestamp) - extract(epoch from '2026-07-17 03:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306433 -2.801027)'), GeomFromEWKT('SRID=4674;POINT (-40.306511 -2.801045)'))) / (select extract(epoch from '2026-07-17 03:10:58'::timestamp) - extract(epoch from '2026-07-17 03:10: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'), 47836, 'SRID=4674;POINT (-40.306569 -2.801047)', '2026-07-17 03:11:14', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306511 -2.801045)'), GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.801047)'))) / (select extract(epoch from '2026-07-17 03:11:14'::timestamp) - extract(epoch from '2026-07-17 03:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306511 -2.801045)'), GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.801047)'))) / (select extract(epoch from '2026-07-17 03:11:14'::timestamp) - extract(epoch from '2026-07-17 03:10: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'), 47836, 'SRID=4674;POINT (-40.306611 -2.801054)', '2026-07-17 03:11:33', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.801047)'), GeomFromEWKT('SRID=4674;POINT (-40.306611 -2.801054)'))) / (select extract(epoch from '2026-07-17 03:11:33'::timestamp) - extract(epoch from '2026-07-17 03:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.801047)'), GeomFromEWKT('SRID=4674;POINT (-40.306611 -2.801054)'))) / (select extract(epoch from '2026-07-17 03:11:33'::timestamp) - extract(epoch from '2026-07-17 03:11: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'), 47836, 'SRID=4674;POINT (-40.306679 -2.801071)', '2026-07-17 03:11:47', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306611 -2.801054)'), GeomFromEWKT('SRID=4674;POINT (-40.306679 -2.801071)'))) / (select extract(epoch from '2026-07-17 03:11:47'::timestamp) - extract(epoch from '2026-07-17 03:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306611 -2.801054)'), GeomFromEWKT('SRID=4674;POINT (-40.306679 -2.801071)'))) / (select extract(epoch from '2026-07-17 03:11:47'::timestamp) - extract(epoch from '2026-07-17 03:11: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'), 47836, 'SRID=4674;POINT (-40.306749 -2.801094)', '2026-07-17 03:12:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306679 -2.801071)'), GeomFromEWKT('SRID=4674;POINT (-40.306749 -2.801094)'))) / (select extract(epoch from '2026-07-17 03:12:02'::timestamp) - extract(epoch from '2026-07-17 03:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306679 -2.801071)'), GeomFromEWKT('SRID=4674;POINT (-40.306749 -2.801094)'))) / (select extract(epoch from '2026-07-17 03:12:02'::timestamp) - extract(epoch from '2026-07-17 03:11: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'), 47836, 'SRID=4674;POINT (-40.306829 -2.801109)', '2026-07-17 03:12:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306749 -2.801094)'), GeomFromEWKT('SRID=4674;POINT (-40.306829 -2.801109)'))) / (select extract(epoch from '2026-07-17 03:12:16'::timestamp) - extract(epoch from '2026-07-17 03:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306749 -2.801094)'), GeomFromEWKT('SRID=4674;POINT (-40.306829 -2.801109)'))) / (select extract(epoch from '2026-07-17 03:12:16'::timestamp) - extract(epoch from '2026-07-17 03:12: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'), 47836, 'SRID=4674;POINT (-40.306885 -2.801128)', '2026-07-17 03:12:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306829 -2.801109)'), GeomFromEWKT('SRID=4674;POINT (-40.306885 -2.801128)'))) / (select extract(epoch from '2026-07-17 03:12:33'::timestamp) - extract(epoch from '2026-07-17 03:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306829 -2.801109)'), GeomFromEWKT('SRID=4674;POINT (-40.306885 -2.801128)'))) / (select extract(epoch from '2026-07-17 03:12:33'::timestamp) - extract(epoch from '2026-07-17 03:12: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'), 47836, 'SRID=4674;POINT (-40.306939 -2.801126)', '2026-07-17 03:12:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306885 -2.801128)'), GeomFromEWKT('SRID=4674;POINT (-40.306939 -2.801126)'))) / (select extract(epoch from '2026-07-17 03:12:48'::timestamp) - extract(epoch from '2026-07-17 03:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306885 -2.801128)'), GeomFromEWKT('SRID=4674;POINT (-40.306939 -2.801126)'))) / (select extract(epoch from '2026-07-17 03:12:48'::timestamp) - extract(epoch from '2026-07-17 03:12: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'), 47836, 'SRID=4674;POINT (-40.306984 -2.801121)', '2026-07-17 03:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306939 -2.801126)'), GeomFromEWKT('SRID=4674;POINT (-40.306984 -2.801121)'))) / (select extract(epoch from '2026-07-17 03:13:01'::timestamp) - extract(epoch from '2026-07-17 03:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306939 -2.801126)'), GeomFromEWKT('SRID=4674;POINT (-40.306984 -2.801121)'))) / (select extract(epoch from '2026-07-17 03:13:01'::timestamp) - extract(epoch from '2026-07-17 03:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
