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'), 46723, 'SRID=4674;POINT (-40.357016 -2.808039)', '2026-06-16 05:07:52', 0.4, 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'), 46723, 'SRID=4674;POINT (-40.356896 -2.808008)', '2026-06-16 05:07:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357016 -2.808039)'), GeomFromEWKT('SRID=4674;POINT (-40.356896 -2.808008)'))) / (select extract(epoch from '2026-06-16 05:07:59'::timestamp) - extract(epoch from '2026-06-16 05:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357016 -2.808039)'), GeomFromEWKT('SRID=4674;POINT (-40.356896 -2.808008)'))) / (select extract(epoch from '2026-06-16 05:07:59'::timestamp) - extract(epoch from '2026-06-16 05:07: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'), 46723, 'SRID=4674;POINT (-40.356772 -2.807945)', '2026-06-16 05:08:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356896 -2.808008)'), GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.807945)'))) / (select extract(epoch from '2026-06-16 05:08:07'::timestamp) - extract(epoch from '2026-06-16 05:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356896 -2.808008)'), GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.807945)'))) / (select extract(epoch from '2026-06-16 05:08:07'::timestamp) - extract(epoch from '2026-06-16 05:07: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'), 46723, 'SRID=4674;POINT (-40.356629 -2.807873)', '2026-06-16 05:08:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.807945)'), GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.807873)'))) / (select extract(epoch from '2026-06-16 05:08:15'::timestamp) - extract(epoch from '2026-06-16 05:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.807945)'), GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.807873)'))) / (select extract(epoch from '2026-06-16 05:08:15'::timestamp) - extract(epoch from '2026-06-16 05:08: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'), 46723, 'SRID=4674;POINT (-40.356503 -2.807805)', '2026-06-16 05:08:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.807873)'), GeomFromEWKT('SRID=4674;POINT (-40.356503 -2.807805)'))) / (select extract(epoch from '2026-06-16 05:08:22'::timestamp) - extract(epoch from '2026-06-16 05:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.807873)'), GeomFromEWKT('SRID=4674;POINT (-40.356503 -2.807805)'))) / (select extract(epoch from '2026-06-16 05:08:22'::timestamp) - extract(epoch from '2026-06-16 05:08: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'), 46723, 'SRID=4674;POINT (-40.356376 -2.807732)', '2026-06-16 05:08:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356503 -2.807805)'), GeomFromEWKT('SRID=4674;POINT (-40.356376 -2.807732)'))) / (select extract(epoch from '2026-06-16 05:08:30'::timestamp) - extract(epoch from '2026-06-16 05:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356503 -2.807805)'), GeomFromEWKT('SRID=4674;POINT (-40.356376 -2.807732)'))) / (select extract(epoch from '2026-06-16 05:08:30'::timestamp) - extract(epoch from '2026-06-16 05:08: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'), 46723, 'SRID=4674;POINT (-40.35621 -2.807674)', '2026-06-16 05:08:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356376 -2.807732)'), GeomFromEWKT('SRID=4674;POINT (-40.35621 -2.807674)'))) / (select extract(epoch from '2026-06-16 05:08:39'::timestamp) - extract(epoch from '2026-06-16 05:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356376 -2.807732)'), GeomFromEWKT('SRID=4674;POINT (-40.35621 -2.807674)'))) / (select extract(epoch from '2026-06-16 05:08:39'::timestamp) - extract(epoch from '2026-06-16 05:08: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'), 46723, 'SRID=4674;POINT (-40.356044 -2.807639)', '2026-06-16 05:08:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35621 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.356044 -2.807639)'))) / (select extract(epoch from '2026-06-16 05:08:48'::timestamp) - extract(epoch from '2026-06-16 05:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35621 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.356044 -2.807639)'))) / (select extract(epoch from '2026-06-16 05:08:48'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.355941 -2.8076)', '2026-06-16 05:08:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356044 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.8076)'))) / (select extract(epoch from '2026-06-16 05:08:54'::timestamp) - extract(epoch from '2026-06-16 05:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356044 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.8076)'))) / (select extract(epoch from '2026-06-16 05:08:54'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.355784 -2.807551)', '2026-06-16 05:09:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355784 -2.807551)'))) / (select extract(epoch from '2026-06-16 05:09:02'::timestamp) - extract(epoch from '2026-06-16 05:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.355784 -2.807551)'))) / (select extract(epoch from '2026-06-16 05:09:02'::timestamp) - extract(epoch from '2026-06-16 05:08: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'), 46723, 'SRID=4674;POINT (-40.355647 -2.807506)', '2026-06-16 05:09:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355784 -2.807551)'), GeomFromEWKT('SRID=4674;POINT (-40.355647 -2.807506)'))) / (select extract(epoch from '2026-06-16 05:09:09'::timestamp) - extract(epoch from '2026-06-16 05:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355784 -2.807551)'), GeomFromEWKT('SRID=4674;POINT (-40.355647 -2.807506)'))) / (select extract(epoch from '2026-06-16 05:09:09'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.355522 -2.807463)', '2026-06-16 05:09:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355647 -2.807506)'), GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.807463)'))) / (select extract(epoch from '2026-06-16 05:09:16'::timestamp) - extract(epoch from '2026-06-16 05:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355647 -2.807506)'), GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.807463)'))) / (select extract(epoch from '2026-06-16 05:09:16'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.35544 -2.807436)', '2026-06-16 05:09:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.807463)'), GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.807436)'))) / (select extract(epoch from '2026-06-16 05:09:21'::timestamp) - extract(epoch from '2026-06-16 05:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.807463)'), GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.807436)'))) / (select extract(epoch from '2026-06-16 05:09:21'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.355309 -2.807394)', '2026-06-16 05:09:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.807436)'), GeomFromEWKT('SRID=4674;POINT (-40.355309 -2.807394)'))) / (select extract(epoch from '2026-06-16 05:09:28'::timestamp) - extract(epoch from '2026-06-16 05:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.807436)'), GeomFromEWKT('SRID=4674;POINT (-40.355309 -2.807394)'))) / (select extract(epoch from '2026-06-16 05:09:28'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.355147 -2.807376)', '2026-06-16 05:09:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355309 -2.807394)'), GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807376)'))) / (select extract(epoch from '2026-06-16 05:09:37'::timestamp) - extract(epoch from '2026-06-16 05:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355309 -2.807394)'), GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807376)'))) / (select extract(epoch from '2026-06-16 05:09:37'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.35501 -2.807363)', '2026-06-16 05:09:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807376)'), GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.807363)'))) / (select extract(epoch from '2026-06-16 05:09:44'::timestamp) - extract(epoch from '2026-06-16 05:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807376)'), GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.807363)'))) / (select extract(epoch from '2026-06-16 05:09:44'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.354866 -2.807347)', '2026-06-16 05:09:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.807363)'), GeomFromEWKT('SRID=4674;POINT (-40.354866 -2.807347)'))) / (select extract(epoch from '2026-06-16 05:09:51'::timestamp) - extract(epoch from '2026-06-16 05:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.807363)'), GeomFromEWKT('SRID=4674;POINT (-40.354866 -2.807347)'))) / (select extract(epoch from '2026-06-16 05:09:51'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.35474 -2.807331)', '2026-06-16 05:09:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354866 -2.807347)'), GeomFromEWKT('SRID=4674;POINT (-40.35474 -2.807331)'))) / (select extract(epoch from '2026-06-16 05:09:58'::timestamp) - extract(epoch from '2026-06-16 05:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354866 -2.807347)'), GeomFromEWKT('SRID=4674;POINT (-40.35474 -2.807331)'))) / (select extract(epoch from '2026-06-16 05:09:58'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.354569 -2.807283)', '2026-06-16 05:10:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35474 -2.807331)'), GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.807283)'))) / (select extract(epoch from '2026-06-16 05:10:07'::timestamp) - extract(epoch from '2026-06-16 05:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35474 -2.807331)'), GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.807283)'))) / (select extract(epoch from '2026-06-16 05:10:07'::timestamp) - extract(epoch from '2026-06-16 05:09: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'), 46723, 'SRID=4674;POINT (-40.354445 -2.807223)', '2026-06-16 05:10:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.807283)'), GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807223)'))) / (select extract(epoch from '2026-06-16 05:10:15'::timestamp) - extract(epoch from '2026-06-16 05:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.807283)'), GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807223)'))) / (select extract(epoch from '2026-06-16 05:10:15'::timestamp) - extract(epoch from '2026-06-16 05:10: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'), 46723, 'SRID=4674;POINT (-40.354302 -2.807136)', '2026-06-16 05:10:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807223)'), GeomFromEWKT('SRID=4674;POINT (-40.354302 -2.807136)'))) / (select extract(epoch from '2026-06-16 05:10:24'::timestamp) - extract(epoch from '2026-06-16 05:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807223)'), GeomFromEWKT('SRID=4674;POINT (-40.354302 -2.807136)'))) / (select extract(epoch from '2026-06-16 05:10:24'::timestamp) - extract(epoch from '2026-06-16 05:10: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'), 46723, 'SRID=4674;POINT (-40.354148 -2.807066)', '2026-06-16 05:10:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354302 -2.807136)'), GeomFromEWKT('SRID=4674;POINT (-40.354148 -2.807066)'))) / (select extract(epoch from '2026-06-16 05:10:33'::timestamp) - extract(epoch from '2026-06-16 05:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354302 -2.807136)'), GeomFromEWKT('SRID=4674;POINT (-40.354148 -2.807066)'))) / (select extract(epoch from '2026-06-16 05:10:33'::timestamp) - extract(epoch from '2026-06-16 05:10: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'), 46723, 'SRID=4674;POINT (-40.35399 -2.807008)', '2026-06-16 05:10:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354148 -2.807066)'), GeomFromEWKT('SRID=4674;POINT (-40.35399 -2.807008)'))) / (select extract(epoch from '2026-06-16 05:10:41'::timestamp) - extract(epoch from '2026-06-16 05:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354148 -2.807066)'), GeomFromEWKT('SRID=4674;POINT (-40.35399 -2.807008)'))) / (select extract(epoch from '2026-06-16 05:10:41'::timestamp) - extract(epoch from '2026-06-16 05:10: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'), 46723, 'SRID=4674;POINT (-40.353847 -2.806946)', '2026-06-16 05:10:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35399 -2.807008)'), GeomFromEWKT('SRID=4674;POINT (-40.353847 -2.806946)'))) / (select extract(epoch from '2026-06-16 05:10:49'::timestamp) - extract(epoch from '2026-06-16 05:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35399 -2.807008)'), GeomFromEWKT('SRID=4674;POINT (-40.353847 -2.806946)'))) / (select extract(epoch from '2026-06-16 05:10:49'::timestamp) - extract(epoch from '2026-06-16 05:10: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'), 46723, 'SRID=4674;POINT (-40.35373 -2.806875)', '2026-06-16 05:10:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353847 -2.806946)'), GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806875)'))) / (select extract(epoch from '2026-06-16 05:10:56'::timestamp) - extract(epoch from '2026-06-16 05:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353847 -2.806946)'), GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806875)'))) / (select extract(epoch from '2026-06-16 05:10:56'::timestamp) - extract(epoch from '2026-06-16 05:10: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'), 46723, 'SRID=4674;POINT (-40.353607 -2.806806)', '2026-06-16 05:11:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806875)'), GeomFromEWKT('SRID=4674;POINT (-40.353607 -2.806806)'))) / (select extract(epoch from '2026-06-16 05:11:04'::timestamp) - extract(epoch from '2026-06-16 05:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35373 -2.806875)'), GeomFromEWKT('SRID=4674;POINT (-40.353607 -2.806806)'))) / (select extract(epoch from '2026-06-16 05:11:04'::timestamp) - extract(epoch from '2026-06-16 05:10: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'), 46723, 'SRID=4674;POINT (-40.353475 -2.806737)', '2026-06-16 05:11:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353607 -2.806806)'), GeomFromEWKT('SRID=4674;POINT (-40.353475 -2.806737)'))) / (select extract(epoch from '2026-06-16 05:11:12'::timestamp) - extract(epoch from '2026-06-16 05:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353607 -2.806806)'), GeomFromEWKT('SRID=4674;POINT (-40.353475 -2.806737)'))) / (select extract(epoch from '2026-06-16 05:11:12'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.353345 -2.806658)', '2026-06-16 05:11:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353475 -2.806737)'), GeomFromEWKT('SRID=4674;POINT (-40.353345 -2.806658)'))) / (select extract(epoch from '2026-06-16 05:11:20'::timestamp) - extract(epoch from '2026-06-16 05:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353475 -2.806737)'), GeomFromEWKT('SRID=4674;POINT (-40.353345 -2.806658)'))) / (select extract(epoch from '2026-06-16 05:11:20'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.353244 -2.806582)', '2026-06-16 05:11:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353345 -2.806658)'), GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.806582)'))) / (select extract(epoch from '2026-06-16 05:11:27'::timestamp) - extract(epoch from '2026-06-16 05:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353345 -2.806658)'), GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.806582)'))) / (select extract(epoch from '2026-06-16 05:11:27'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.353139 -2.806505)', '2026-06-16 05:11:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.806582)'), GeomFromEWKT('SRID=4674;POINT (-40.353139 -2.806505)'))) / (select extract(epoch from '2026-06-16 05:11:34'::timestamp) - extract(epoch from '2026-06-16 05:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.806582)'), GeomFromEWKT('SRID=4674;POINT (-40.353139 -2.806505)'))) / (select extract(epoch from '2026-06-16 05:11:34'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.353008 -2.806441)', '2026-06-16 05:11:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353139 -2.806505)'), GeomFromEWKT('SRID=4674;POINT (-40.353008 -2.806441)'))) / (select extract(epoch from '2026-06-16 05:11:41'::timestamp) - extract(epoch from '2026-06-16 05:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353139 -2.806505)'), GeomFromEWKT('SRID=4674;POINT (-40.353008 -2.806441)'))) / (select extract(epoch from '2026-06-16 05:11:41'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.352865 -2.80638)', '2026-06-16 05:11:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353008 -2.806441)'), GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.80638)'))) / (select extract(epoch from '2026-06-16 05:11:49'::timestamp) - extract(epoch from '2026-06-16 05:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353008 -2.806441)'), GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.80638)'))) / (select extract(epoch from '2026-06-16 05:11:49'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.352748 -2.806331)', '2026-06-16 05:11:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-40.352748 -2.806331)'))) / (select extract(epoch from '2026-06-16 05:11:56'::timestamp) - extract(epoch from '2026-06-16 05:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352865 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-40.352748 -2.806331)'))) / (select extract(epoch from '2026-06-16 05:11:56'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.35262 -2.80627)', '2026-06-16 05:12:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352748 -2.806331)'), GeomFromEWKT('SRID=4674;POINT (-40.35262 -2.80627)'))) / (select extract(epoch from '2026-06-16 05:12:04'::timestamp) - extract(epoch from '2026-06-16 05:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352748 -2.806331)'), GeomFromEWKT('SRID=4674;POINT (-40.35262 -2.80627)'))) / (select extract(epoch from '2026-06-16 05:12:04'::timestamp) - extract(epoch from '2026-06-16 05:11: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'), 46723, 'SRID=4674;POINT (-40.352523 -2.806201)', '2026-06-16 05:12:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35262 -2.80627)'), GeomFromEWKT('SRID=4674;POINT (-40.352523 -2.806201)'))) / (select extract(epoch from '2026-06-16 05:12:11'::timestamp) - extract(epoch from '2026-06-16 05:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35262 -2.80627)'), GeomFromEWKT('SRID=4674;POINT (-40.352523 -2.806201)'))) / (select extract(epoch from '2026-06-16 05:12:11'::timestamp) - extract(epoch from '2026-06-16 05:12: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'), 46723, 'SRID=4674;POINT (-40.352426 -2.806091)', '2026-06-16 05:12:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352523 -2.806201)'), GeomFromEWKT('SRID=4674;POINT (-40.352426 -2.806091)'))) / (select extract(epoch from '2026-06-16 05:12:19'::timestamp) - extract(epoch from '2026-06-16 05:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352523 -2.806201)'), GeomFromEWKT('SRID=4674;POINT (-40.352426 -2.806091)'))) / (select extract(epoch from '2026-06-16 05:12:19'::timestamp) - extract(epoch from '2026-06-16 05:12: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'), 46723, 'SRID=4674;POINT (-40.352306 -2.806011)', '2026-06-16 05:12:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352426 -2.806091)'), GeomFromEWKT('SRID=4674;POINT (-40.352306 -2.806011)'))) / (select extract(epoch from '2026-06-16 05:12:27'::timestamp) - extract(epoch from '2026-06-16 05:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352426 -2.806091)'), GeomFromEWKT('SRID=4674;POINT (-40.352306 -2.806011)'))) / (select extract(epoch from '2026-06-16 05:12:27'::timestamp) - extract(epoch from '2026-06-16 05:12: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'), 46723, 'SRID=4674;POINT (-40.352222 -2.805907)', '2026-06-16 05:12:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352306 -2.806011)'), GeomFromEWKT('SRID=4674;POINT (-40.352222 -2.805907)'))) / (select extract(epoch from '2026-06-16 05:12:34'::timestamp) - extract(epoch from '2026-06-16 05:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352306 -2.806011)'), GeomFromEWKT('SRID=4674;POINT (-40.352222 -2.805907)'))) / (select extract(epoch from '2026-06-16 05:12:34'::timestamp) - extract(epoch from '2026-06-16 05:12: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'), 46723, 'SRID=4674;POINT (-40.352101 -2.805806)', '2026-06-16 05:12:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352222 -2.805907)'), GeomFromEWKT('SRID=4674;POINT (-40.352101 -2.805806)'))) / (select extract(epoch from '2026-06-16 05:12:42'::timestamp) - extract(epoch from '2026-06-16 05:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352222 -2.805907)'), GeomFromEWKT('SRID=4674;POINT (-40.352101 -2.805806)'))) / (select extract(epoch from '2026-06-16 05:12:42'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.351977 -2.80576)', '2026-06-16 05:12:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352101 -2.805806)'), GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.80576)'))) / (select extract(epoch from '2026-06-16 05:12:49'::timestamp) - extract(epoch from '2026-06-16 05:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352101 -2.805806)'), GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.80576)'))) / (select extract(epoch from '2026-06-16 05:12:49'::timestamp) - extract(epoch from '2026-06-16 05:12: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'), 46723, 'SRID=4674;POINT (-40.351814 -2.80572)', '2026-06-16 05:12:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.80576)'), GeomFromEWKT('SRID=4674;POINT (-40.351814 -2.80572)'))) / (select extract(epoch from '2026-06-16 05:12:58'::timestamp) - extract(epoch from '2026-06-16 05:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351977 -2.80576)'), GeomFromEWKT('SRID=4674;POINT (-40.351814 -2.80572)'))) / (select extract(epoch from '2026-06-16 05:12:58'::timestamp) - extract(epoch from '2026-06-16 05:12: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'), 46723, 'SRID=4674;POINT (-40.351689 -2.805708)', '2026-06-16 05:13:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351814 -2.80572)'), GeomFromEWKT('SRID=4674;POINT (-40.351689 -2.805708)'))) / (select extract(epoch from '2026-06-16 05:13:05'::timestamp) - extract(epoch from '2026-06-16 05:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351814 -2.80572)'), GeomFromEWKT('SRID=4674;POINT (-40.351689 -2.805708)'))) / (select extract(epoch from '2026-06-16 05:13:05'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.351542 -2.805678)', '2026-06-16 05:13:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351689 -2.805708)'), GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.805678)'))) / (select extract(epoch from '2026-06-16 05:13:13'::timestamp) - extract(epoch from '2026-06-16 05:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351689 -2.805708)'), GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.805678)'))) / (select extract(epoch from '2026-06-16 05:13:13'::timestamp) - extract(epoch from '2026-06-16 05:13: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'), 46723, 'SRID=4674;POINT (-40.351414 -2.805663)', '2026-06-16 05:13:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.805678)'), GeomFromEWKT('SRID=4674;POINT (-40.351414 -2.805663)'))) / (select extract(epoch from '2026-06-16 05:13:20'::timestamp) - extract(epoch from '2026-06-16 05:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351542 -2.805678)'), GeomFromEWKT('SRID=4674;POINT (-40.351414 -2.805663)'))) / (select extract(epoch from '2026-06-16 05:13:20'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.351305 -2.805649)', '2026-06-16 05:13:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351414 -2.805663)'), GeomFromEWKT('SRID=4674;POINT (-40.351305 -2.805649)'))) / (select extract(epoch from '2026-06-16 05:13:26'::timestamp) - extract(epoch from '2026-06-16 05:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351414 -2.805663)'), GeomFromEWKT('SRID=4674;POINT (-40.351305 -2.805649)'))) / (select extract(epoch from '2026-06-16 05:13:26'::timestamp) - extract(epoch from '2026-06-16 05:13: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'), 46723, 'SRID=4674;POINT (-40.351187 -2.805615)', '2026-06-16 05:13:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351305 -2.805649)'), GeomFromEWKT('SRID=4674;POINT (-40.351187 -2.805615)'))) / (select extract(epoch from '2026-06-16 05:13:33'::timestamp) - extract(epoch from '2026-06-16 05:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351305 -2.805649)'), GeomFromEWKT('SRID=4674;POINT (-40.351187 -2.805615)'))) / (select extract(epoch from '2026-06-16 05:13:33'::timestamp) - extract(epoch from '2026-06-16 05:13: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'), 46723, 'SRID=4674;POINT (-40.351041 -2.805579)', '2026-06-16 05:13:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351187 -2.805615)'), GeomFromEWKT('SRID=4674;POINT (-40.351041 -2.805579)'))) / (select extract(epoch from '2026-06-16 05:13:41'::timestamp) - extract(epoch from '2026-06-16 05:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351187 -2.805615)'), GeomFromEWKT('SRID=4674;POINT (-40.351041 -2.805579)'))) / (select extract(epoch from '2026-06-16 05:13:41'::timestamp) - extract(epoch from '2026-06-16 05:13: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'), 46723, 'SRID=4674;POINT (-40.350915 -2.805531)', '2026-06-16 05:13:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351041 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.350915 -2.805531)'))) / (select extract(epoch from '2026-06-16 05:13:48'::timestamp) - extract(epoch from '2026-06-16 05:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351041 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.350915 -2.805531)'))) / (select extract(epoch from '2026-06-16 05:13:48'::timestamp) - extract(epoch from '2026-06-16 05:13: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'), 46723, 'SRID=4674;POINT (-40.350787 -2.805475)', '2026-06-16 05:13:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350915 -2.805531)'), GeomFromEWKT('SRID=4674;POINT (-40.350787 -2.805475)'))) / (select extract(epoch from '2026-06-16 05:13:56'::timestamp) - extract(epoch from '2026-06-16 05:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350915 -2.805531)'), GeomFromEWKT('SRID=4674;POINT (-40.350787 -2.805475)'))) / (select extract(epoch from '2026-06-16 05:13:56'::timestamp) - extract(epoch from '2026-06-16 05:13: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'), 46723, 'SRID=4674;POINT (-40.350609 -2.805425)', '2026-06-16 05:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350787 -2.805475)'), GeomFromEWKT('SRID=4674;POINT (-40.350609 -2.805425)'))) / (select extract(epoch from '2026-06-16 05:14:06'::timestamp) - extract(epoch from '2026-06-16 05:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350787 -2.805475)'), GeomFromEWKT('SRID=4674;POINT (-40.350609 -2.805425)'))) / (select extract(epoch from '2026-06-16 05:14:06'::timestamp) - extract(epoch from '2026-06-16 05:13: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'), 46723, 'SRID=4674;POINT (-40.35045 -2.805384)', '2026-06-16 05:14:14', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350609 -2.805425)'), GeomFromEWKT('SRID=4674;POINT (-40.35045 -2.805384)'))) / (select extract(epoch from '2026-06-16 05:14:14'::timestamp) - extract(epoch from '2026-06-16 05:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350609 -2.805425)'), GeomFromEWKT('SRID=4674;POINT (-40.35045 -2.805384)'))) / (select extract(epoch from '2026-06-16 05:14:14'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.350302 -2.805355)', '2026-06-16 05:14:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35045 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.350302 -2.805355)'))) / (select extract(epoch from '2026-06-16 05:14:22'::timestamp) - extract(epoch from '2026-06-16 05:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35045 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.350302 -2.805355)'))) / (select extract(epoch from '2026-06-16 05:14:22'::timestamp) - extract(epoch from '2026-06-16 05:14: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'), 46723, 'SRID=4674;POINT (-40.350167 -2.805307)', '2026-06-16 05:14:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350302 -2.805355)'), GeomFromEWKT('SRID=4674;POINT (-40.350167 -2.805307)'))) / (select extract(epoch from '2026-06-16 05:14:30'::timestamp) - extract(epoch from '2026-06-16 05:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350302 -2.805355)'), GeomFromEWKT('SRID=4674;POINT (-40.350167 -2.805307)'))) / (select extract(epoch from '2026-06-16 05:14:30'::timestamp) - extract(epoch from '2026-06-16 05:14: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'), 46723, 'SRID=4674;POINT (-40.350046 -2.805266)', '2026-06-16 05:14:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350167 -2.805307)'), GeomFromEWKT('SRID=4674;POINT (-40.350046 -2.805266)'))) / (select extract(epoch from '2026-06-16 05:14:37'::timestamp) - extract(epoch from '2026-06-16 05:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350167 -2.805307)'), GeomFromEWKT('SRID=4674;POINT (-40.350046 -2.805266)'))) / (select extract(epoch from '2026-06-16 05:14:37'::timestamp) - extract(epoch from '2026-06-16 05:14: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'), 46723, 'SRID=4674;POINT (-40.349853 -2.805229)', '2026-06-16 05:14:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350046 -2.805266)'), GeomFromEWKT('SRID=4674;POINT (-40.349853 -2.805229)'))) / (select extract(epoch from '2026-06-16 05:14:47'::timestamp) - extract(epoch from '2026-06-16 05:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350046 -2.805266)'), GeomFromEWKT('SRID=4674;POINT (-40.349853 -2.805229)'))) / (select extract(epoch from '2026-06-16 05:14:47'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.349701 -2.805187)', '2026-06-16 05:14:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349853 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.805187)'))) / (select extract(epoch from '2026-06-16 05:14:55'::timestamp) - extract(epoch from '2026-06-16 05:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349853 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.805187)'))) / (select extract(epoch from '2026-06-16 05:14:55'::timestamp) - extract(epoch from '2026-06-16 05:14: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'), 46723, 'SRID=4674;POINT (-40.349593 -2.805141)', '2026-06-16 05:15:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.805187)'), GeomFromEWKT('SRID=4674;POINT (-40.349593 -2.805141)'))) / (select extract(epoch from '2026-06-16 05:15:01'::timestamp) - extract(epoch from '2026-06-16 05:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.805187)'), GeomFromEWKT('SRID=4674;POINT (-40.349593 -2.805141)'))) / (select extract(epoch from '2026-06-16 05:15:01'::timestamp) - extract(epoch from '2026-06-16 05:14: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'), 46723, 'SRID=4674;POINT (-40.349443 -2.805077)', '2026-06-16 05:15:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349593 -2.805141)'), GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.805077)'))) / (select extract(epoch from '2026-06-16 05:15:10'::timestamp) - extract(epoch from '2026-06-16 05:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349593 -2.805141)'), GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.805077)'))) / (select extract(epoch from '2026-06-16 05:15:10'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.349307 -2.80501)', '2026-06-16 05:15:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.805077)'), GeomFromEWKT('SRID=4674;POINT (-40.349307 -2.80501)'))) / (select extract(epoch from '2026-06-16 05:15:18'::timestamp) - extract(epoch from '2026-06-16 05:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.805077)'), GeomFromEWKT('SRID=4674;POINT (-40.349307 -2.80501)'))) / (select extract(epoch from '2026-06-16 05:15:18'::timestamp) - extract(epoch from '2026-06-16 05:15: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'), 46723, 'SRID=4674;POINT (-40.349145 -2.804919)', '2026-06-16 05:15:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349307 -2.80501)'), GeomFromEWKT('SRID=4674;POINT (-40.349145 -2.804919)'))) / (select extract(epoch from '2026-06-16 05:15:28'::timestamp) - extract(epoch from '2026-06-16 05:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349307 -2.80501)'), GeomFromEWKT('SRID=4674;POINT (-40.349145 -2.804919)'))) / (select extract(epoch from '2026-06-16 05:15:28'::timestamp) - extract(epoch from '2026-06-16 05:15: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'), 46723, 'SRID=4674;POINT (-40.349002 -2.804846)', '2026-06-16 05:15:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349145 -2.804919)'), GeomFromEWKT('SRID=4674;POINT (-40.349002 -2.804846)'))) / (select extract(epoch from '2026-06-16 05:15:36'::timestamp) - extract(epoch from '2026-06-16 05:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349145 -2.804919)'), GeomFromEWKT('SRID=4674;POINT (-40.349002 -2.804846)'))) / (select extract(epoch from '2026-06-16 05:15:36'::timestamp) - extract(epoch from '2026-06-16 05:15: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'), 46723, 'SRID=4674;POINT (-40.348872 -2.804777)', '2026-06-16 05:15:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349002 -2.804846)'), GeomFromEWKT('SRID=4674;POINT (-40.348872 -2.804777)'))) / (select extract(epoch from '2026-06-16 05:15:44'::timestamp) - extract(epoch from '2026-06-16 05:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349002 -2.804846)'), GeomFromEWKT('SRID=4674;POINT (-40.348872 -2.804777)'))) / (select extract(epoch from '2026-06-16 05:15:44'::timestamp) - extract(epoch from '2026-06-16 05:15: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'), 46723, 'SRID=4674;POINT (-40.348741 -2.8047)', '2026-06-16 05:15:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348872 -2.804777)'), GeomFromEWKT('SRID=4674;POINT (-40.348741 -2.8047)'))) / (select extract(epoch from '2026-06-16 05:15:52'::timestamp) - extract(epoch from '2026-06-16 05:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348872 -2.804777)'), GeomFromEWKT('SRID=4674;POINT (-40.348741 -2.8047)'))) / (select extract(epoch from '2026-06-16 05:15:52'::timestamp) - extract(epoch from '2026-06-16 05:15: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'), 46723, 'SRID=4674;POINT (-40.348607 -2.804631)', '2026-06-16 05:16:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348741 -2.8047)'), GeomFromEWKT('SRID=4674;POINT (-40.348607 -2.804631)'))) / (select extract(epoch from '2026-06-16 05:16:00'::timestamp) - extract(epoch from '2026-06-16 05:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348741 -2.8047)'), GeomFromEWKT('SRID=4674;POINT (-40.348607 -2.804631)'))) / (select extract(epoch from '2026-06-16 05:16:00'::timestamp) - extract(epoch from '2026-06-16 05:15: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'), 46723, 'SRID=4674;POINT (-40.348487 -2.804571)', '2026-06-16 05:16:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348607 -2.804631)'), GeomFromEWKT('SRID=4674;POINT (-40.348487 -2.804571)'))) / (select extract(epoch from '2026-06-16 05:16:07'::timestamp) - extract(epoch from '2026-06-16 05:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348607 -2.804631)'), GeomFromEWKT('SRID=4674;POINT (-40.348487 -2.804571)'))) / (select extract(epoch from '2026-06-16 05:16:07'::timestamp) - extract(epoch from '2026-06-16 05:16: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'), 46723, 'SRID=4674;POINT (-40.348314 -2.804486)', '2026-06-16 05:16:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348487 -2.804571)'), GeomFromEWKT('SRID=4674;POINT (-40.348314 -2.804486)'))) / (select extract(epoch from '2026-06-16 05:16:17'::timestamp) - extract(epoch from '2026-06-16 05:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348487 -2.804571)'), GeomFromEWKT('SRID=4674;POINT (-40.348314 -2.804486)'))) / (select extract(epoch from '2026-06-16 05:16:17'::timestamp) - extract(epoch from '2026-06-16 05:16: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'), 46723, 'SRID=4674;POINT (-40.348168 -2.804411)', '2026-06-16 05:16:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348314 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.348168 -2.804411)'))) / (select extract(epoch from '2026-06-16 05:16:26'::timestamp) - extract(epoch from '2026-06-16 05:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348314 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.348168 -2.804411)'))) / (select extract(epoch from '2026-06-16 05:16:26'::timestamp) - extract(epoch from '2026-06-16 05:16: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'), 46723, 'SRID=4674;POINT (-40.347998 -2.804319)', '2026-06-16 05:16:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348168 -2.804411)'), GeomFromEWKT('SRID=4674;POINT (-40.347998 -2.804319)'))) / (select extract(epoch from '2026-06-16 05:16:36'::timestamp) - extract(epoch from '2026-06-16 05:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348168 -2.804411)'), GeomFromEWKT('SRID=4674;POINT (-40.347998 -2.804319)'))) / (select extract(epoch from '2026-06-16 05:16:36'::timestamp) - extract(epoch from '2026-06-16 05:16: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'), 46723, 'SRID=4674;POINT (-40.34788 -2.804254)', '2026-06-16 05:16:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347998 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.804254)'))) / (select extract(epoch from '2026-06-16 05:16:43'::timestamp) - extract(epoch from '2026-06-16 05:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347998 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.804254)'))) / (select extract(epoch from '2026-06-16 05:16:43'::timestamp) - extract(epoch from '2026-06-16 05:16: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'), 46723, 'SRID=4674;POINT (-40.347755 -2.804172)', '2026-06-16 05:16:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.804254)'), GeomFromEWKT('SRID=4674;POINT (-40.347755 -2.804172)'))) / (select extract(epoch from '2026-06-16 05:16:51'::timestamp) - extract(epoch from '2026-06-16 05:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34788 -2.804254)'), GeomFromEWKT('SRID=4674;POINT (-40.347755 -2.804172)'))) / (select extract(epoch from '2026-06-16 05:16:51'::timestamp) - extract(epoch from '2026-06-16 05:16: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'), 46723, 'SRID=4674;POINT (-40.347596 -2.80407)', '2026-06-16 05:17:01', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347755 -2.804172)'), GeomFromEWKT('SRID=4674;POINT (-40.347596 -2.80407)'))) / (select extract(epoch from '2026-06-16 05:17:01'::timestamp) - extract(epoch from '2026-06-16 05:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347755 -2.804172)'), GeomFromEWKT('SRID=4674;POINT (-40.347596 -2.80407)'))) / (select extract(epoch from '2026-06-16 05:17:01'::timestamp) - extract(epoch from '2026-06-16 05:16: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'), 46723, 'SRID=4674;POINT (-40.34747 -2.804006)', '2026-06-16 05:17:09', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347596 -2.80407)'), GeomFromEWKT('SRID=4674;POINT (-40.34747 -2.804006)'))) / (select extract(epoch from '2026-06-16 05:17:09'::timestamp) - extract(epoch from '2026-06-16 05:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347596 -2.80407)'), GeomFromEWKT('SRID=4674;POINT (-40.34747 -2.804006)'))) / (select extract(epoch from '2026-06-16 05:17:09'::timestamp) - extract(epoch from '2026-06-16 05:17: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'), 46723, 'SRID=4674;POINT (-40.347315 -2.803929)', '2026-06-16 05:17:18', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34747 -2.804006)'), GeomFromEWKT('SRID=4674;POINT (-40.347315 -2.803929)'))) / (select extract(epoch from '2026-06-16 05:17:18'::timestamp) - extract(epoch from '2026-06-16 05:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34747 -2.804006)'), GeomFromEWKT('SRID=4674;POINT (-40.347315 -2.803929)'))) / (select extract(epoch from '2026-06-16 05:17:18'::timestamp) - extract(epoch from '2026-06-16 05:17: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'), 46723, 'SRID=4674;POINT (-40.347139 -2.803832)', '2026-06-16 05:17:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347315 -2.803929)'), GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803832)'))) / (select extract(epoch from '2026-06-16 05:17:28'::timestamp) - extract(epoch from '2026-06-16 05:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347315 -2.803929)'), GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803832)'))) / (select extract(epoch from '2026-06-16 05:17:28'::timestamp) - extract(epoch from '2026-06-16 05:17: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'), 46723, 'SRID=4674;POINT (-40.34703 -2.803746)', '2026-06-16 05:17:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803832)'), GeomFromEWKT('SRID=4674;POINT (-40.34703 -2.803746)'))) / (select extract(epoch from '2026-06-16 05:17:35'::timestamp) - extract(epoch from '2026-06-16 05:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803832)'), GeomFromEWKT('SRID=4674;POINT (-40.34703 -2.803746)'))) / (select extract(epoch from '2026-06-16 05:17:35'::timestamp) - extract(epoch from '2026-06-16 05:17: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'), 46723, 'SRID=4674;POINT (-40.346946 -2.803637)', '2026-06-16 05:17:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34703 -2.803746)'), GeomFromEWKT('SRID=4674;POINT (-40.346946 -2.803637)'))) / (select extract(epoch from '2026-06-16 05:17:43'::timestamp) - extract(epoch from '2026-06-16 05:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34703 -2.803746)'), GeomFromEWKT('SRID=4674;POINT (-40.346946 -2.803637)'))) / (select extract(epoch from '2026-06-16 05:17:43'::timestamp) - extract(epoch from '2026-06-16 05:17: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'), 46723, 'SRID=4674;POINT (-40.346878 -2.80352)', '2026-06-16 05:17:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346946 -2.803637)'), GeomFromEWKT('SRID=4674;POINT (-40.346878 -2.80352)'))) / (select extract(epoch from '2026-06-16 05:17:50'::timestamp) - extract(epoch from '2026-06-16 05:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346946 -2.803637)'), GeomFromEWKT('SRID=4674;POINT (-40.346878 -2.80352)'))) / (select extract(epoch from '2026-06-16 05:17:50'::timestamp) - extract(epoch from '2026-06-16 05:17: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'), 46723, 'SRID=4674;POINT (-40.346808 -2.803378)', '2026-06-16 05:17:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346878 -2.80352)'), GeomFromEWKT('SRID=4674;POINT (-40.346808 -2.803378)'))) / (select extract(epoch from '2026-06-16 05:17:58'::timestamp) - extract(epoch from '2026-06-16 05:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346878 -2.80352)'), GeomFromEWKT('SRID=4674;POINT (-40.346808 -2.803378)'))) / (select extract(epoch from '2026-06-16 05:17:58'::timestamp) - extract(epoch from '2026-06-16 05:17: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'), 46723, 'SRID=4674;POINT (-40.346743 -2.80321)', '2026-06-16 05:18:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346808 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.346743 -2.80321)'))) / (select extract(epoch from '2026-06-16 05:18:08'::timestamp) - extract(epoch from '2026-06-16 05:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346808 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.346743 -2.80321)'))) / (select extract(epoch from '2026-06-16 05:18:08'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.34667 -2.803042)', '2026-06-16 05:18:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346743 -2.80321)'), GeomFromEWKT('SRID=4674;POINT (-40.34667 -2.803042)'))) / (select extract(epoch from '2026-06-16 05:18:17'::timestamp) - extract(epoch from '2026-06-16 05:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346743 -2.80321)'), GeomFromEWKT('SRID=4674;POINT (-40.34667 -2.803042)'))) / (select extract(epoch from '2026-06-16 05:18:17'::timestamp) - extract(epoch from '2026-06-16 05:18: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'), 46723, 'SRID=4674;POINT (-40.346594 -2.802884)', '2026-06-16 05:18:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34667 -2.803042)'), GeomFromEWKT('SRID=4674;POINT (-40.346594 -2.802884)'))) / (select extract(epoch from '2026-06-16 05:18:26'::timestamp) - extract(epoch from '2026-06-16 05:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34667 -2.803042)'), GeomFromEWKT('SRID=4674;POINT (-40.346594 -2.802884)'))) / (select extract(epoch from '2026-06-16 05:18:26'::timestamp) - extract(epoch from '2026-06-16 05:18: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'), 46723, 'SRID=4674;POINT (-40.346522 -2.802739)', '2026-06-16 05:18:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346594 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.346522 -2.802739)'))) / (select extract(epoch from '2026-06-16 05:18:34'::timestamp) - extract(epoch from '2026-06-16 05:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346594 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.346522 -2.802739)'))) / (select extract(epoch from '2026-06-16 05:18:34'::timestamp) - extract(epoch from '2026-06-16 05:18: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'), 46723, 'SRID=4674;POINT (-40.346458 -2.802625)', '2026-06-16 05:18:41', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346522 -2.802739)'), GeomFromEWKT('SRID=4674;POINT (-40.346458 -2.802625)'))) / (select extract(epoch from '2026-06-16 05:18:41'::timestamp) - extract(epoch from '2026-06-16 05:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346522 -2.802739)'), GeomFromEWKT('SRID=4674;POINT (-40.346458 -2.802625)'))) / (select extract(epoch from '2026-06-16 05:18:41'::timestamp) - extract(epoch from '2026-06-16 05:18: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'), 46723, 'SRID=4674;POINT (-40.346409 -2.802525)', '2026-06-16 05:18:47', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346458 -2.802625)'), GeomFromEWKT('SRID=4674;POINT (-40.346409 -2.802525)'))) / (select extract(epoch from '2026-06-16 05:18:47'::timestamp) - extract(epoch from '2026-06-16 05:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346458 -2.802625)'), GeomFromEWKT('SRID=4674;POINT (-40.346409 -2.802525)'))) / (select extract(epoch from '2026-06-16 05:18:47'::timestamp) - extract(epoch from '2026-06-16 05:18: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'), 46723, 'SRID=4674;POINT (-40.346333 -2.802354)', '2026-06-16 05:18:56', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346409 -2.802525)'), GeomFromEWKT('SRID=4674;POINT (-40.346333 -2.802354)'))) / (select extract(epoch from '2026-06-16 05:18:56'::timestamp) - extract(epoch from '2026-06-16 05:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346409 -2.802525)'), GeomFromEWKT('SRID=4674;POINT (-40.346333 -2.802354)'))) / (select extract(epoch from '2026-06-16 05:18:56'::timestamp) - extract(epoch from '2026-06-16 05:18: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'), 46723, 'SRID=4674;POINT (-40.346284 -2.802208)', '2026-06-16 05:19:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346333 -2.802354)'), GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802208)'))) / (select extract(epoch from '2026-06-16 05:19:03'::timestamp) - extract(epoch from '2026-06-16 05:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346333 -2.802354)'), GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802208)'))) / (select extract(epoch from '2026-06-16 05:19:03'::timestamp) - extract(epoch from '2026-06-16 05:18: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'), 46723, 'SRID=4674;POINT (-40.346252 -2.802098)', '2026-06-16 05:19:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802208)'), GeomFromEWKT('SRID=4674;POINT (-40.346252 -2.802098)'))) / (select extract(epoch from '2026-06-16 05:19:09'::timestamp) - extract(epoch from '2026-06-16 05:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802208)'), GeomFromEWKT('SRID=4674;POINT (-40.346252 -2.802098)'))) / (select extract(epoch from '2026-06-16 05:19:09'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.346198 -2.801905)', '2026-06-16 05:19:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346252 -2.802098)'), GeomFromEWKT('SRID=4674;POINT (-40.346198 -2.801905)'))) / (select extract(epoch from '2026-06-16 05:19:19'::timestamp) - extract(epoch from '2026-06-16 05:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346252 -2.802098)'), GeomFromEWKT('SRID=4674;POINT (-40.346198 -2.801905)'))) / (select extract(epoch from '2026-06-16 05:19:19'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.346162 -2.801747)', '2026-06-16 05:19:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346198 -2.801905)'), GeomFromEWKT('SRID=4674;POINT (-40.346162 -2.801747)'))) / (select extract(epoch from '2026-06-16 05:19:27'::timestamp) - extract(epoch from '2026-06-16 05:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346198 -2.801905)'), GeomFromEWKT('SRID=4674;POINT (-40.346162 -2.801747)'))) / (select extract(epoch from '2026-06-16 05:19:27'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.34613 -2.801632)', '2026-06-16 05:19:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346162 -2.801747)'), GeomFromEWKT('SRID=4674;POINT (-40.34613 -2.801632)'))) / (select extract(epoch from '2026-06-16 05:19:33'::timestamp) - extract(epoch from '2026-06-16 05:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346162 -2.801747)'), GeomFromEWKT('SRID=4674;POINT (-40.34613 -2.801632)'))) / (select extract(epoch from '2026-06-16 05:19:33'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.346086 -2.801479)', '2026-06-16 05:19:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34613 -2.801632)'), GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.801479)'))) / (select extract(epoch from '2026-06-16 05:19:41'::timestamp) - extract(epoch from '2026-06-16 05:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34613 -2.801632)'), GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.801479)'))) / (select extract(epoch from '2026-06-16 05:19:41'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.346049 -2.801349)', '2026-06-16 05:19:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.801479)'), GeomFromEWKT('SRID=4674;POINT (-40.346049 -2.801349)'))) / (select extract(epoch from '2026-06-16 05:19:48'::timestamp) - extract(epoch from '2026-06-16 05:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346086 -2.801479)'), GeomFromEWKT('SRID=4674;POINT (-40.346049 -2.801349)'))) / (select extract(epoch from '2026-06-16 05:19:48'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.346009 -2.801234)', '2026-06-16 05:19:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346049 -2.801349)'), GeomFromEWKT('SRID=4674;POINT (-40.346009 -2.801234)'))) / (select extract(epoch from '2026-06-16 05:19:55'::timestamp) - extract(epoch from '2026-06-16 05:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346049 -2.801349)'), GeomFromEWKT('SRID=4674;POINT (-40.346009 -2.801234)'))) / (select extract(epoch from '2026-06-16 05:19:55'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.34595 -2.801062)', '2026-06-16 05:20:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346009 -2.801234)'), GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.801062)'))) / (select extract(epoch from '2026-06-16 05:20:04'::timestamp) - extract(epoch from '2026-06-16 05:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346009 -2.801234)'), GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.801062)'))) / (select extract(epoch from '2026-06-16 05:20:04'::timestamp) - extract(epoch from '2026-06-16 05:19: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'), 46723, 'SRID=4674;POINT (-40.345908 -2.800918)', '2026-06-16 05:20:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.345908 -2.800918)'))) / (select extract(epoch from '2026-06-16 05:20:11'::timestamp) - extract(epoch from '2026-06-16 05:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.345908 -2.800918)'))) / (select extract(epoch from '2026-06-16 05:20:11'::timestamp) - extract(epoch from '2026-06-16 05:20: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'), 46723, 'SRID=4674;POINT (-40.345864 -2.800783)', '2026-06-16 05:20:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345908 -2.800918)'), GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.800783)'))) / (select extract(epoch from '2026-06-16 05:20:18'::timestamp) - extract(epoch from '2026-06-16 05:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345908 -2.800918)'), GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.800783)'))) / (select extract(epoch from '2026-06-16 05:20:18'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.345805 -2.800604)', '2026-06-16 05:20:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.800783)'), GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.800604)'))) / (select extract(epoch from '2026-06-16 05:20:27'::timestamp) - extract(epoch from '2026-06-16 05:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.800783)'), GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.800604)'))) / (select extract(epoch from '2026-06-16 05:20:27'::timestamp) - extract(epoch from '2026-06-16 05:20: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'), 46723, 'SRID=4674;POINT (-40.345751 -2.800421)', '2026-06-16 05:20:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.800604)'), GeomFromEWKT('SRID=4674;POINT (-40.345751 -2.800421)'))) / (select extract(epoch from '2026-06-16 05:20:36'::timestamp) - extract(epoch from '2026-06-16 05:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.800604)'), GeomFromEWKT('SRID=4674;POINT (-40.345751 -2.800421)'))) / (select extract(epoch from '2026-06-16 05:20:36'::timestamp) - extract(epoch from '2026-06-16 05:20: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'), 46723, 'SRID=4674;POINT (-40.345713 -2.800294)', '2026-06-16 05:20:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345751 -2.800421)'), GeomFromEWKT('SRID=4674;POINT (-40.345713 -2.800294)'))) / (select extract(epoch from '2026-06-16 05:20:43'::timestamp) - extract(epoch from '2026-06-16 05:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345751 -2.800421)'), GeomFromEWKT('SRID=4674;POINT (-40.345713 -2.800294)'))) / (select extract(epoch from '2026-06-16 05:20:43'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.345661 -2.800149)', '2026-06-16 05:20:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345713 -2.800294)'), GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.800149)'))) / (select extract(epoch from '2026-06-16 05:20:52'::timestamp) - extract(epoch from '2026-06-16 05:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345713 -2.800294)'), GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.800149)'))) / (select extract(epoch from '2026-06-16 05:20:52'::timestamp) - extract(epoch from '2026-06-16 05:20: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'), 46723, 'SRID=4674;POINT (-40.34558 -2.799984)', '2026-06-16 05:21:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.34558 -2.799984)'))) / (select extract(epoch from '2026-06-16 05:21:01'::timestamp) - extract(epoch from '2026-06-16 05:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345661 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.34558 -2.799984)'))) / (select extract(epoch from '2026-06-16 05:21:01'::timestamp) - extract(epoch from '2026-06-16 05:20: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'), 46723, 'SRID=4674;POINT (-40.345502 -2.799848)', '2026-06-16 05:21:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34558 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.345502 -2.799848)'))) / (select extract(epoch from '2026-06-16 05:21:09'::timestamp) - extract(epoch from '2026-06-16 05:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34558 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.345502 -2.799848)'))) / (select extract(epoch from '2026-06-16 05:21:09'::timestamp) - extract(epoch from '2026-06-16 05:21: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'), 46723, 'SRID=4674;POINT (-40.345399 -2.799733)', '2026-06-16 05:21:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345502 -2.799848)'), GeomFromEWKT('SRID=4674;POINT (-40.345399 -2.799733)'))) / (select extract(epoch from '2026-06-16 05:21:17'::timestamp) - extract(epoch from '2026-06-16 05:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345502 -2.799848)'), GeomFromEWKT('SRID=4674;POINT (-40.345399 -2.799733)'))) / (select extract(epoch from '2026-06-16 05:21:17'::timestamp) - extract(epoch from '2026-06-16 05:21: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'), 46723, 'SRID=4674;POINT (-40.345278 -2.799592)', '2026-06-16 05:21:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345399 -2.799733)'), GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.799592)'))) / (select extract(epoch from '2026-06-16 05:21:27'::timestamp) - extract(epoch from '2026-06-16 05:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345399 -2.799733)'), GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.799592)'))) / (select extract(epoch from '2026-06-16 05:21:27'::timestamp) - extract(epoch from '2026-06-16 05:21: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'), 46723, 'SRID=4674;POINT (-40.345175 -2.799485)', '2026-06-16 05:21:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.799592)'), GeomFromEWKT('SRID=4674;POINT (-40.345175 -2.799485)'))) / (select extract(epoch from '2026-06-16 05:21:35'::timestamp) - extract(epoch from '2026-06-16 05:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.799592)'), GeomFromEWKT('SRID=4674;POINT (-40.345175 -2.799485)'))) / (select extract(epoch from '2026-06-16 05:21:35'::timestamp) - extract(epoch from '2026-06-16 05:21: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'), 46723, 'SRID=4674;POINT (-40.345049 -2.799339)', '2026-06-16 05:21:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345175 -2.799485)'), GeomFromEWKT('SRID=4674;POINT (-40.345049 -2.799339)'))) / (select extract(epoch from '2026-06-16 05:21:45'::timestamp) - extract(epoch from '2026-06-16 05:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345175 -2.799485)'), GeomFromEWKT('SRID=4674;POINT (-40.345049 -2.799339)'))) / (select extract(epoch from '2026-06-16 05:21:45'::timestamp) - extract(epoch from '2026-06-16 05:21: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'), 46723, 'SRID=4674;POINT (-40.34494 -2.799213)', '2026-06-16 05:21:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345049 -2.799339)'), GeomFromEWKT('SRID=4674;POINT (-40.34494 -2.799213)'))) / (select extract(epoch from '2026-06-16 05:21:54'::timestamp) - extract(epoch from '2026-06-16 05:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345049 -2.799339)'), GeomFromEWKT('SRID=4674;POINT (-40.34494 -2.799213)'))) / (select extract(epoch from '2026-06-16 05:21:54'::timestamp) - extract(epoch from '2026-06-16 05:21: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'), 46723, 'SRID=4674;POINT (-40.344828 -2.799086)', '2026-06-16 05:22:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34494 -2.799213)'), GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.799086)'))) / (select extract(epoch from '2026-06-16 05:22:03'::timestamp) - extract(epoch from '2026-06-16 05:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34494 -2.799213)'), GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.799086)'))) / (select extract(epoch from '2026-06-16 05:22:03'::timestamp) - extract(epoch from '2026-06-16 05:21: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'), 46723, 'SRID=4674;POINT (-40.344745 -2.798984)', '2026-06-16 05:22:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.799086)'), GeomFromEWKT('SRID=4674;POINT (-40.344745 -2.798984)'))) / (select extract(epoch from '2026-06-16 05:22:11'::timestamp) - extract(epoch from '2026-06-16 05:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.799086)'), GeomFromEWKT('SRID=4674;POINT (-40.344745 -2.798984)'))) / (select extract(epoch from '2026-06-16 05:22:11'::timestamp) - extract(epoch from '2026-06-16 05:22: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'), 46723, 'SRID=4674;POINT (-40.344665 -2.798883)', '2026-06-16 05:22:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344745 -2.798984)'), GeomFromEWKT('SRID=4674;POINT (-40.344665 -2.798883)'))) / (select extract(epoch from '2026-06-16 05:22:18'::timestamp) - extract(epoch from '2026-06-16 05:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344745 -2.798984)'), GeomFromEWKT('SRID=4674;POINT (-40.344665 -2.798883)'))) / (select extract(epoch from '2026-06-16 05:22:18'::timestamp) - extract(epoch from '2026-06-16 05:22: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'), 46723, 'SRID=4674;POINT (-40.344568 -2.798777)', '2026-06-16 05:22:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344665 -2.798883)'), GeomFromEWKT('SRID=4674;POINT (-40.344568 -2.798777)'))) / (select extract(epoch from '2026-06-16 05:22:25'::timestamp) - extract(epoch from '2026-06-16 05:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344665 -2.798883)'), GeomFromEWKT('SRID=4674;POINT (-40.344568 -2.798777)'))) / (select extract(epoch from '2026-06-16 05:22:25'::timestamp) - extract(epoch from '2026-06-16 05:22: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'), 46723, 'SRID=4674;POINT (-40.344448 -2.798656)', '2026-06-16 05:22:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344568 -2.798777)'), GeomFromEWKT('SRID=4674;POINT (-40.344448 -2.798656)'))) / (select extract(epoch from '2026-06-16 05:22:34'::timestamp) - extract(epoch from '2026-06-16 05:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344568 -2.798777)'), GeomFromEWKT('SRID=4674;POINT (-40.344448 -2.798656)'))) / (select extract(epoch from '2026-06-16 05:22:34'::timestamp) - extract(epoch from '2026-06-16 05:22: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'), 46723, 'SRID=4674;POINT (-40.344364 -2.798574)', '2026-06-16 05:22:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344448 -2.798656)'), GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.798574)'))) / (select extract(epoch from '2026-06-16 05:22:40'::timestamp) - extract(epoch from '2026-06-16 05:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344448 -2.798656)'), GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.798574)'))) / (select extract(epoch from '2026-06-16 05:22:40'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.344282 -2.798495)', '2026-06-16 05:22:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.798574)'), GeomFromEWKT('SRID=4674;POINT (-40.344282 -2.798495)'))) / (select extract(epoch from '2026-06-16 05:22:46'::timestamp) - extract(epoch from '2026-06-16 05:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.798574)'), GeomFromEWKT('SRID=4674;POINT (-40.344282 -2.798495)'))) / (select extract(epoch from '2026-06-16 05:22:46'::timestamp) - extract(epoch from '2026-06-16 05:22: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'), 46723, 'SRID=4674;POINT (-40.344172 -2.79839)', '2026-06-16 05:22:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344282 -2.798495)'), GeomFromEWKT('SRID=4674;POINT (-40.344172 -2.79839)'))) / (select extract(epoch from '2026-06-16 05:22:54'::timestamp) - extract(epoch from '2026-06-16 05:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344282 -2.798495)'), GeomFromEWKT('SRID=4674;POINT (-40.344172 -2.79839)'))) / (select extract(epoch from '2026-06-16 05:22:54'::timestamp) - extract(epoch from '2026-06-16 05:22: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'), 46723, 'SRID=4674;POINT (-40.344049 -2.798266)', '2026-06-16 05:23:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344172 -2.79839)'), GeomFromEWKT('SRID=4674;POINT (-40.344049 -2.798266)'))) / (select extract(epoch from '2026-06-16 05:23:03'::timestamp) - extract(epoch from '2026-06-16 05:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344172 -2.79839)'), GeomFromEWKT('SRID=4674;POINT (-40.344049 -2.798266)'))) / (select extract(epoch from '2026-06-16 05:23:03'::timestamp) - extract(epoch from '2026-06-16 05:22: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'), 46723, 'SRID=4674;POINT (-40.343944 -2.79817)', '2026-06-16 05:23:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344049 -2.798266)'), GeomFromEWKT('SRID=4674;POINT (-40.343944 -2.79817)'))) / (select extract(epoch from '2026-06-16 05:23:11'::timestamp) - extract(epoch from '2026-06-16 05:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344049 -2.798266)'), GeomFromEWKT('SRID=4674;POINT (-40.343944 -2.79817)'))) / (select extract(epoch from '2026-06-16 05:23:11'::timestamp) - extract(epoch from '2026-06-16 05:23: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'), 46723, 'SRID=4674;POINT (-40.343859 -2.798088)', '2026-06-16 05:23:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343944 -2.79817)'), GeomFromEWKT('SRID=4674;POINT (-40.343859 -2.798088)'))) / (select extract(epoch from '2026-06-16 05:23:17'::timestamp) - extract(epoch from '2026-06-16 05:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343944 -2.79817)'), GeomFromEWKT('SRID=4674;POINT (-40.343859 -2.798088)'))) / (select extract(epoch from '2026-06-16 05:23:17'::timestamp) - extract(epoch from '2026-06-16 05:23: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'), 46723, 'SRID=4674;POINT (-40.34375 -2.797976)', '2026-06-16 05:23:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343859 -2.798088)'), GeomFromEWKT('SRID=4674;POINT (-40.34375 -2.797976)'))) / (select extract(epoch from '2026-06-16 05:23:25'::timestamp) - extract(epoch from '2026-06-16 05:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343859 -2.798088)'), GeomFromEWKT('SRID=4674;POINT (-40.34375 -2.797976)'))) / (select extract(epoch from '2026-06-16 05:23:25'::timestamp) - extract(epoch from '2026-06-16 05:23: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'), 46723, 'SRID=4674;POINT (-40.343653 -2.797893)', '2026-06-16 05:23:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34375 -2.797976)'), GeomFromEWKT('SRID=4674;POINT (-40.343653 -2.797893)'))) / (select extract(epoch from '2026-06-16 05:23:32'::timestamp) - extract(epoch from '2026-06-16 05:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34375 -2.797976)'), GeomFromEWKT('SRID=4674;POINT (-40.343653 -2.797893)'))) / (select extract(epoch from '2026-06-16 05:23:32'::timestamp) - extract(epoch from '2026-06-16 05:23: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'), 46723, 'SRID=4674;POINT (-40.343505 -2.797759)', '2026-06-16 05:23:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343653 -2.797893)'), GeomFromEWKT('SRID=4674;POINT (-40.343505 -2.797759)'))) / (select extract(epoch from '2026-06-16 05:23:42'::timestamp) - extract(epoch from '2026-06-16 05:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343653 -2.797893)'), GeomFromEWKT('SRID=4674;POINT (-40.343505 -2.797759)'))) / (select extract(epoch from '2026-06-16 05:23:42'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.343394 -2.797639)', '2026-06-16 05:23:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343505 -2.797759)'), GeomFromEWKT('SRID=4674;POINT (-40.343394 -2.797639)'))) / (select extract(epoch from '2026-06-16 05:23:51'::timestamp) - extract(epoch from '2026-06-16 05:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343505 -2.797759)'), GeomFromEWKT('SRID=4674;POINT (-40.343394 -2.797639)'))) / (select extract(epoch from '2026-06-16 05:23:51'::timestamp) - extract(epoch from '2026-06-16 05:23: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'), 46723, 'SRID=4674;POINT (-40.343334 -2.797554)', '2026-06-16 05:23:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343394 -2.797639)'), GeomFromEWKT('SRID=4674;POINT (-40.343334 -2.797554)'))) / (select extract(epoch from '2026-06-16 05:23:58'::timestamp) - extract(epoch from '2026-06-16 05:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343394 -2.797639)'), GeomFromEWKT('SRID=4674;POINT (-40.343334 -2.797554)'))) / (select extract(epoch from '2026-06-16 05:23:58'::timestamp) - extract(epoch from '2026-06-16 05:23: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'), 46723, 'SRID=4674;POINT (-40.34325 -2.797417)', '2026-06-16 05:24:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343334 -2.797554)'), GeomFromEWKT('SRID=4674;POINT (-40.34325 -2.797417)'))) / (select extract(epoch from '2026-06-16 05:24:06'::timestamp) - extract(epoch from '2026-06-16 05:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343334 -2.797554)'), GeomFromEWKT('SRID=4674;POINT (-40.34325 -2.797417)'))) / (select extract(epoch from '2026-06-16 05:24:06'::timestamp) - extract(epoch from '2026-06-16 05:23: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'), 46723, 'SRID=4674;POINT (-40.343139 -2.797268)', '2026-06-16 05:24:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34325 -2.797417)'), GeomFromEWKT('SRID=4674;POINT (-40.343139 -2.797268)'))) / (select extract(epoch from '2026-06-16 05:24:15'::timestamp) - extract(epoch from '2026-06-16 05:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34325 -2.797417)'), GeomFromEWKT('SRID=4674;POINT (-40.343139 -2.797268)'))) / (select extract(epoch from '2026-06-16 05:24:15'::timestamp) - extract(epoch from '2026-06-16 05:24: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'), 46723, 'SRID=4674;POINT (-40.343078 -2.797165)', '2026-06-16 05:24:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343139 -2.797268)'), GeomFromEWKT('SRID=4674;POINT (-40.343078 -2.797165)'))) / (select extract(epoch from '2026-06-16 05:24:22'::timestamp) - extract(epoch from '2026-06-16 05:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343139 -2.797268)'), GeomFromEWKT('SRID=4674;POINT (-40.343078 -2.797165)'))) / (select extract(epoch from '2026-06-16 05:24:22'::timestamp) - extract(epoch from '2026-06-16 05:24: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'), 46723, 'SRID=4674;POINT (-40.342997 -2.797043)', '2026-06-16 05:24:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343078 -2.797165)'), GeomFromEWKT('SRID=4674;POINT (-40.342997 -2.797043)'))) / (select extract(epoch from '2026-06-16 05:24:30'::timestamp) - extract(epoch from '2026-06-16 05:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343078 -2.797165)'), GeomFromEWKT('SRID=4674;POINT (-40.342997 -2.797043)'))) / (select extract(epoch from '2026-06-16 05:24:30'::timestamp) - extract(epoch from '2026-06-16 05:24: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'), 46723, 'SRID=4674;POINT (-40.342911 -2.796905)', '2026-06-16 05:24:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342997 -2.797043)'), GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.796905)'))) / (select extract(epoch from '2026-06-16 05:24:38'::timestamp) - extract(epoch from '2026-06-16 05:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342997 -2.797043)'), GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.796905)'))) / (select extract(epoch from '2026-06-16 05:24:38'::timestamp) - extract(epoch from '2026-06-16 05:24: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'), 46723, 'SRID=4674;POINT (-40.342839 -2.796731)', '2026-06-16 05:24:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.796905)'), GeomFromEWKT('SRID=4674;POINT (-40.342839 -2.796731)'))) / (select extract(epoch from '2026-06-16 05:24:47'::timestamp) - extract(epoch from '2026-06-16 05:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.796905)'), GeomFromEWKT('SRID=4674;POINT (-40.342839 -2.796731)'))) / (select extract(epoch from '2026-06-16 05:24:47'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.342781 -2.796604)', '2026-06-16 05:24:54', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342839 -2.796731)'), GeomFromEWKT('SRID=4674;POINT (-40.342781 -2.796604)'))) / (select extract(epoch from '2026-06-16 05:24:54'::timestamp) - extract(epoch from '2026-06-16 05:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342839 -2.796731)'), GeomFromEWKT('SRID=4674;POINT (-40.342781 -2.796604)'))) / (select extract(epoch from '2026-06-16 05:24:54'::timestamp) - extract(epoch from '2026-06-16 05:24: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'), 46723, 'SRID=4674;POINT (-40.342726 -2.796491)', '2026-06-16 05:25:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342781 -2.796604)'), GeomFromEWKT('SRID=4674;POINT (-40.342726 -2.796491)'))) / (select extract(epoch from '2026-06-16 05:25:01'::timestamp) - extract(epoch from '2026-06-16 05:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342781 -2.796604)'), GeomFromEWKT('SRID=4674;POINT (-40.342726 -2.796491)'))) / (select extract(epoch from '2026-06-16 05:25:01'::timestamp) - extract(epoch from '2026-06-16 05:24: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'), 46723, 'SRID=4674;POINT (-40.342675 -2.79636)', '2026-06-16 05:25:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342726 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.342675 -2.79636)'))) / (select extract(epoch from '2026-06-16 05:25:09'::timestamp) - extract(epoch from '2026-06-16 05:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342726 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.342675 -2.79636)'))) / (select extract(epoch from '2026-06-16 05:25:09'::timestamp) - extract(epoch from '2026-06-16 05:25: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'), 46723, 'SRID=4674;POINT (-40.342564 -2.79622)', '2026-06-16 05:25:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342675 -2.79636)'), GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.79622)'))) / (select extract(epoch from '2026-06-16 05:25:18'::timestamp) - extract(epoch from '2026-06-16 05:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342675 -2.79636)'), GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.79622)'))) / (select extract(epoch from '2026-06-16 05:25:18'::timestamp) - extract(epoch from '2026-06-16 05:25: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'), 46723, 'SRID=4674;POINT (-40.342466 -2.796134)', '2026-06-16 05:25:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.79622)'), GeomFromEWKT('SRID=4674;POINT (-40.342466 -2.796134)'))) / (select extract(epoch from '2026-06-16 05:25:25'::timestamp) - extract(epoch from '2026-06-16 05:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.79622)'), GeomFromEWKT('SRID=4674;POINT (-40.342466 -2.796134)'))) / (select extract(epoch from '2026-06-16 05:25:25'::timestamp) - extract(epoch from '2026-06-16 05:25: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'), 46723, 'SRID=4674;POINT (-40.342378 -2.796055)', '2026-06-16 05:25:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342466 -2.796134)'), GeomFromEWKT('SRID=4674;POINT (-40.342378 -2.796055)'))) / (select extract(epoch from '2026-06-16 05:25:32'::timestamp) - extract(epoch from '2026-06-16 05:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342466 -2.796134)'), GeomFromEWKT('SRID=4674;POINT (-40.342378 -2.796055)'))) / (select extract(epoch from '2026-06-16 05:25:32'::timestamp) - extract(epoch from '2026-06-16 05:25: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'), 46723, 'SRID=4674;POINT (-40.342272 -2.795986)', '2026-06-16 05:25:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342378 -2.796055)'), GeomFromEWKT('SRID=4674;POINT (-40.342272 -2.795986)'))) / (select extract(epoch from '2026-06-16 05:25:39'::timestamp) - extract(epoch from '2026-06-16 05:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342378 -2.796055)'), GeomFromEWKT('SRID=4674;POINT (-40.342272 -2.795986)'))) / (select extract(epoch from '2026-06-16 05:25:39'::timestamp) - extract(epoch from '2026-06-16 05:25: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'), 46723, 'SRID=4674;POINT (-40.342146 -2.79589)', '2026-06-16 05:25:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342272 -2.795986)'), GeomFromEWKT('SRID=4674;POINT (-40.342146 -2.79589)'))) / (select extract(epoch from '2026-06-16 05:25:48'::timestamp) - extract(epoch from '2026-06-16 05:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342272 -2.795986)'), GeomFromEWKT('SRID=4674;POINT (-40.342146 -2.79589)'))) / (select extract(epoch from '2026-06-16 05:25:48'::timestamp) - extract(epoch from '2026-06-16 05:25: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'), 46723, 'SRID=4674;POINT (-40.342023 -2.795788)', '2026-06-16 05:25:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342146 -2.79589)'), GeomFromEWKT('SRID=4674;POINT (-40.342023 -2.795788)'))) / (select extract(epoch from '2026-06-16 05:25:57'::timestamp) - extract(epoch from '2026-06-16 05:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342146 -2.79589)'), GeomFromEWKT('SRID=4674;POINT (-40.342023 -2.795788)'))) / (select extract(epoch from '2026-06-16 05:25:57'::timestamp) - extract(epoch from '2026-06-16 05:25: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'), 46723, 'SRID=4674;POINT (-40.341883 -2.795635)', '2026-06-16 05:26:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342023 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.795635)'))) / (select extract(epoch from '2026-06-16 05:26:08'::timestamp) - extract(epoch from '2026-06-16 05:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342023 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.795635)'))) / (select extract(epoch from '2026-06-16 05:26:08'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.341788 -2.795523)', '2026-06-16 05:26:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.795635)'), GeomFromEWKT('SRID=4674;POINT (-40.341788 -2.795523)'))) / (select extract(epoch from '2026-06-16 05:26:16'::timestamp) - extract(epoch from '2026-06-16 05:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.795635)'), GeomFromEWKT('SRID=4674;POINT (-40.341788 -2.795523)'))) / (select extract(epoch from '2026-06-16 05:26:16'::timestamp) - extract(epoch from '2026-06-16 05:26: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'), 46723, 'SRID=4674;POINT (-40.341683 -2.795403)', '2026-06-16 05:26:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341788 -2.795523)'), GeomFromEWKT('SRID=4674;POINT (-40.341683 -2.795403)'))) / (select extract(epoch from '2026-06-16 05:26:24'::timestamp) - extract(epoch from '2026-06-16 05:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341788 -2.795523)'), GeomFromEWKT('SRID=4674;POINT (-40.341683 -2.795403)'))) / (select extract(epoch from '2026-06-16 05:26:24'::timestamp) - extract(epoch from '2026-06-16 05:26: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'), 46723, 'SRID=4674;POINT (-40.341575 -2.795282)', '2026-06-16 05:26:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341683 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.341575 -2.795282)'))) / (select extract(epoch from '2026-06-16 05:26:33'::timestamp) - extract(epoch from '2026-06-16 05:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341683 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.341575 -2.795282)'))) / (select extract(epoch from '2026-06-16 05:26:33'::timestamp) - extract(epoch from '2026-06-16 05:26: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'), 46723, 'SRID=4674;POINT (-40.341479 -2.795161)', '2026-06-16 05:26:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341575 -2.795282)'), GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.795161)'))) / (select extract(epoch from '2026-06-16 05:26:41'::timestamp) - extract(epoch from '2026-06-16 05:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341575 -2.795282)'), GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.795161)'))) / (select extract(epoch from '2026-06-16 05:26:41'::timestamp) - extract(epoch from '2026-06-16 05:26: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'), 46723, 'SRID=4674;POINT (-40.341366 -2.795041)', '2026-06-16 05:26:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.795161)'), GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.795041)'))) / (select extract(epoch from '2026-06-16 05:26:49'::timestamp) - extract(epoch from '2026-06-16 05:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.795161)'), GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.795041)'))) / (select extract(epoch from '2026-06-16 05:26:49'::timestamp) - extract(epoch from '2026-06-16 05:26: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'), 46723, 'SRID=4674;POINT (-40.341239 -2.794944)', '2026-06-16 05:26:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.795041)'), GeomFromEWKT('SRID=4674;POINT (-40.341239 -2.794944)'))) / (select extract(epoch from '2026-06-16 05:26:57'::timestamp) - extract(epoch from '2026-06-16 05:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.795041)'), GeomFromEWKT('SRID=4674;POINT (-40.341239 -2.794944)'))) / (select extract(epoch from '2026-06-16 05:26:57'::timestamp) - extract(epoch from '2026-06-16 05:26: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'), 46723, 'SRID=4674;POINT (-40.341136 -2.794864)', '2026-06-16 05:27:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341239 -2.794944)'), GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.794864)'))) / (select extract(epoch from '2026-06-16 05:27:04'::timestamp) - extract(epoch from '2026-06-16 05:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341239 -2.794944)'), GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.794864)'))) / (select extract(epoch from '2026-06-16 05:27:04'::timestamp) - extract(epoch from '2026-06-16 05:26: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'), 46723, 'SRID=4674;POINT (-40.341049 -2.794794)', '2026-06-16 05:27:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.794864)'), GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.794794)'))) / (select extract(epoch from '2026-06-16 05:27:11'::timestamp) - extract(epoch from '2026-06-16 05:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341136 -2.794864)'), GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.794794)'))) / (select extract(epoch from '2026-06-16 05:27:11'::timestamp) - extract(epoch from '2026-06-16 05:27: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'), 46723, 'SRID=4674;POINT (-40.340939 -2.794736)', '2026-06-16 05:27:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.794794)'), GeomFromEWKT('SRID=4674;POINT (-40.340939 -2.794736)'))) / (select extract(epoch from '2026-06-16 05:27:18'::timestamp) - extract(epoch from '2026-06-16 05:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.794794)'), GeomFromEWKT('SRID=4674;POINT (-40.340939 -2.794736)'))) / (select extract(epoch from '2026-06-16 05:27:18'::timestamp) - extract(epoch from '2026-06-16 05:27: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'), 46723, 'SRID=4674;POINT (-40.340824 -2.794704)', '2026-06-16 05:27:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340939 -2.794736)'), GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.794704)'))) / (select extract(epoch from '2026-06-16 05:27:25'::timestamp) - extract(epoch from '2026-06-16 05:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340939 -2.794736)'), GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.794704)'))) / (select extract(epoch from '2026-06-16 05:27:25'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.340695 -2.794634)', '2026-06-16 05:27:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.340695 -2.794634)'))) / (select extract(epoch from '2026-06-16 05:27:33'::timestamp) - extract(epoch from '2026-06-16 05:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.340695 -2.794634)'))) / (select extract(epoch from '2026-06-16 05:27:33'::timestamp) - extract(epoch from '2026-06-16 05:27: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'), 46723, 'SRID=4674;POINT (-40.340577 -2.79454)', '2026-06-16 05:27:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340695 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.340577 -2.79454)'))) / (select extract(epoch from '2026-06-16 05:27:41'::timestamp) - extract(epoch from '2026-06-16 05:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340695 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.340577 -2.79454)'))) / (select extract(epoch from '2026-06-16 05:27:41'::timestamp) - extract(epoch from '2026-06-16 05:27: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'), 46723, 'SRID=4674;POINT (-40.340446 -2.794386)', '2026-06-16 05:27:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340577 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.340446 -2.794386)'))) / (select extract(epoch from '2026-06-16 05:27:52'::timestamp) - extract(epoch from '2026-06-16 05:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340577 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.340446 -2.794386)'))) / (select extract(epoch from '2026-06-16 05:27:52'::timestamp) - extract(epoch from '2026-06-16 05:27: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'), 46723, 'SRID=4674;POINT (-40.340329 -2.79423)', '2026-06-16 05:28:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340446 -2.794386)'), GeomFromEWKT('SRID=4674;POINT (-40.340329 -2.79423)'))) / (select extract(epoch from '2026-06-16 05:28:02'::timestamp) - extract(epoch from '2026-06-16 05:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340446 -2.794386)'), GeomFromEWKT('SRID=4674;POINT (-40.340329 -2.79423)'))) / (select extract(epoch from '2026-06-16 05:28:02'::timestamp) - extract(epoch from '2026-06-16 05:27: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'), 46723, 'SRID=4674;POINT (-40.340232 -2.794107)', '2026-06-16 05:28:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340329 -2.79423)'), GeomFromEWKT('SRID=4674;POINT (-40.340232 -2.794107)'))) / (select extract(epoch from '2026-06-16 05:28:11'::timestamp) - extract(epoch from '2026-06-16 05:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340329 -2.79423)'), GeomFromEWKT('SRID=4674;POINT (-40.340232 -2.794107)'))) / (select extract(epoch from '2026-06-16 05:28:11'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.340114 -2.793997)', '2026-06-16 05:28:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340232 -2.794107)'), GeomFromEWKT('SRID=4674;POINT (-40.340114 -2.793997)'))) / (select extract(epoch from '2026-06-16 05:28:20'::timestamp) - extract(epoch from '2026-06-16 05:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340232 -2.794107)'), GeomFromEWKT('SRID=4674;POINT (-40.340114 -2.793997)'))) / (select extract(epoch from '2026-06-16 05:28:20'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.340015 -2.793914)', '2026-06-16 05:28:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340114 -2.793997)'), GeomFromEWKT('SRID=4674;POINT (-40.340015 -2.793914)'))) / (select extract(epoch from '2026-06-16 05:28:27'::timestamp) - extract(epoch from '2026-06-16 05:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340114 -2.793997)'), GeomFromEWKT('SRID=4674;POINT (-40.340015 -2.793914)'))) / (select extract(epoch from '2026-06-16 05:28:27'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.339893 -2.793818)', '2026-06-16 05:28:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340015 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.339893 -2.793818)'))) / (select extract(epoch from '2026-06-16 05:28:35'::timestamp) - extract(epoch from '2026-06-16 05:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340015 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.339893 -2.793818)'))) / (select extract(epoch from '2026-06-16 05:28:35'::timestamp) - extract(epoch from '2026-06-16 05:28: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'), 46723, 'SRID=4674;POINT (-40.339792 -2.793729)', '2026-06-16 05:28:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339893 -2.793818)'), GeomFromEWKT('SRID=4674;POINT (-40.339792 -2.793729)'))) / (select extract(epoch from '2026-06-16 05:28:42'::timestamp) - extract(epoch from '2026-06-16 05:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339893 -2.793818)'), GeomFromEWKT('SRID=4674;POINT (-40.339792 -2.793729)'))) / (select extract(epoch from '2026-06-16 05:28:42'::timestamp) - extract(epoch from '2026-06-16 05:28: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'), 46723, 'SRID=4674;POINT (-40.339694 -2.793609)', '2026-06-16 05:28:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339792 -2.793729)'), GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.793609)'))) / (select extract(epoch from '2026-06-16 05:28:50'::timestamp) - extract(epoch from '2026-06-16 05:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339792 -2.793729)'), GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.793609)'))) / (select extract(epoch from '2026-06-16 05:28:50'::timestamp) - extract(epoch from '2026-06-16 05:28: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'), 46723, 'SRID=4674;POINT (-40.339633 -2.793494)', '2026-06-16 05:28:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.793609)'), GeomFromEWKT('SRID=4674;POINT (-40.339633 -2.793494)'))) / (select extract(epoch from '2026-06-16 05:28:57'::timestamp) - extract(epoch from '2026-06-16 05:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.793609)'), GeomFromEWKT('SRID=4674;POINT (-40.339633 -2.793494)'))) / (select extract(epoch from '2026-06-16 05:28:57'::timestamp) - extract(epoch from '2026-06-16 05:28: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'), 46723, 'SRID=4674;POINT (-40.339575 -2.793363)', '2026-06-16 05:29:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339633 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.339575 -2.793363)'))) / (select extract(epoch from '2026-06-16 05:29:05'::timestamp) - extract(epoch from '2026-06-16 05:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339633 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.339575 -2.793363)'))) / (select extract(epoch from '2026-06-16 05:29:05'::timestamp) - extract(epoch from '2026-06-16 05:28: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'), 46723, 'SRID=4674;POINT (-40.339519 -2.793237)', '2026-06-16 05:29:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339575 -2.793363)'), GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.793237)'))) / (select extract(epoch from '2026-06-16 05:29:12'::timestamp) - extract(epoch from '2026-06-16 05:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339575 -2.793363)'), GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.793237)'))) / (select extract(epoch from '2026-06-16 05:29:12'::timestamp) - extract(epoch from '2026-06-16 05:29: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'), 46723, 'SRID=4674;POINT (-40.339464 -2.793114)', '2026-06-16 05:29:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.793237)'), GeomFromEWKT('SRID=4674;POINT (-40.339464 -2.793114)'))) / (select extract(epoch from '2026-06-16 05:29:19'::timestamp) - extract(epoch from '2026-06-16 05:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.793237)'), GeomFromEWKT('SRID=4674;POINT (-40.339464 -2.793114)'))) / (select extract(epoch from '2026-06-16 05:29:19'::timestamp) - extract(epoch from '2026-06-16 05:29: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'), 46723, 'SRID=4674;POINT (-40.339373 -2.792969)', '2026-06-16 05:29:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339464 -2.793114)'), GeomFromEWKT('SRID=4674;POINT (-40.339373 -2.792969)'))) / (select extract(epoch from '2026-06-16 05:29:27'::timestamp) - extract(epoch from '2026-06-16 05:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339464 -2.793114)'), GeomFromEWKT('SRID=4674;POINT (-40.339373 -2.792969)'))) / (select extract(epoch from '2026-06-16 05:29:27'::timestamp) - extract(epoch from '2026-06-16 05:29: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'), 46723, 'SRID=4674;POINT (-40.339314 -2.792837)', '2026-06-16 05:29:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339373 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.792837)'))) / (select extract(epoch from '2026-06-16 05:29:36'::timestamp) - extract(epoch from '2026-06-16 05:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339373 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.792837)'))) / (select extract(epoch from '2026-06-16 05:29:36'::timestamp) - extract(epoch from '2026-06-16 05:29: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'), 46723, 'SRID=4674;POINT (-40.339251 -2.792733)', '2026-06-16 05:29:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.792837)'), GeomFromEWKT('SRID=4674;POINT (-40.339251 -2.792733)'))) / (select extract(epoch from '2026-06-16 05:29:43'::timestamp) - extract(epoch from '2026-06-16 05:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.792837)'), GeomFromEWKT('SRID=4674;POINT (-40.339251 -2.792733)'))) / (select extract(epoch from '2026-06-16 05:29:43'::timestamp) - extract(epoch from '2026-06-16 05:29: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'), 46723, 'SRID=4674;POINT (-40.339165 -2.792606)', '2026-06-16 05:29:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339251 -2.792733)'), GeomFromEWKT('SRID=4674;POINT (-40.339165 -2.792606)'))) / (select extract(epoch from '2026-06-16 05:29:51'::timestamp) - extract(epoch from '2026-06-16 05:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339251 -2.792733)'), GeomFromEWKT('SRID=4674;POINT (-40.339165 -2.792606)'))) / (select extract(epoch from '2026-06-16 05:29:51'::timestamp) - extract(epoch from '2026-06-16 05:29: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'), 46723, 'SRID=4674;POINT (-40.339056 -2.792473)', '2026-06-16 05:30:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339165 -2.792606)'), GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.792473)'))) / (select extract(epoch from '2026-06-16 05:30:00'::timestamp) - extract(epoch from '2026-06-16 05:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339165 -2.792606)'), GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.792473)'))) / (select extract(epoch from '2026-06-16 05:30:00'::timestamp) - extract(epoch from '2026-06-16 05:29: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'), 46723, 'SRID=4674;POINT (-40.338936 -2.792368)', '2026-06-16 05:30:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.792473)'), GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.792368)'))) / (select extract(epoch from '2026-06-16 05:30:08'::timestamp) - extract(epoch from '2026-06-16 05:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.792473)'), GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.792368)'))) / (select extract(epoch from '2026-06-16 05:30:08'::timestamp) - extract(epoch from '2026-06-16 05:30: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'), 46723, 'SRID=4674;POINT (-40.338832 -2.792313)', '2026-06-16 05:30:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.792368)'), GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.792313)'))) / (select extract(epoch from '2026-06-16 05:30:15'::timestamp) - extract(epoch from '2026-06-16 05:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.792368)'), GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.792313)'))) / (select extract(epoch from '2026-06-16 05:30:15'::timestamp) - extract(epoch from '2026-06-16 05:30: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'), 46723, 'SRID=4674;POINT (-40.338722 -2.792237)', '2026-06-16 05:30:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.792313)'), GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.792237)'))) / (select extract(epoch from '2026-06-16 05:30:22'::timestamp) - extract(epoch from '2026-06-16 05:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.792313)'), GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.792237)'))) / (select extract(epoch from '2026-06-16 05:30:22'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.338614 -2.792169)', '2026-06-16 05:30:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.792237)'), GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.792169)'))) / (select extract(epoch from '2026-06-16 05:30:29'::timestamp) - extract(epoch from '2026-06-16 05:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.792237)'), GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.792169)'))) / (select extract(epoch from '2026-06-16 05:30:29'::timestamp) - extract(epoch from '2026-06-16 05:30: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'), 46723, 'SRID=4674;POINT (-40.338473 -2.792099)', '2026-06-16 05:30:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.792169)'), GeomFromEWKT('SRID=4674;POINT (-40.338473 -2.792099)'))) / (select extract(epoch from '2026-06-16 05:30:37'::timestamp) - extract(epoch from '2026-06-16 05:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.792169)'), GeomFromEWKT('SRID=4674;POINT (-40.338473 -2.792099)'))) / (select extract(epoch from '2026-06-16 05:30:37'::timestamp) - extract(epoch from '2026-06-16 05:30: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'), 46723, 'SRID=4674;POINT (-40.338345 -2.792041)', '2026-06-16 05:30:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338473 -2.792099)'), GeomFromEWKT('SRID=4674;POINT (-40.338345 -2.792041)'))) / (select extract(epoch from '2026-06-16 05:30:44'::timestamp) - extract(epoch from '2026-06-16 05:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338473 -2.792099)'), GeomFromEWKT('SRID=4674;POINT (-40.338345 -2.792041)'))) / (select extract(epoch from '2026-06-16 05:30:44'::timestamp) - extract(epoch from '2026-06-16 05:30: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'), 46723, 'SRID=4674;POINT (-40.338222 -2.791964)', '2026-06-16 05:30:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338345 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.338222 -2.791964)'))) / (select extract(epoch from '2026-06-16 05:30:52'::timestamp) - extract(epoch from '2026-06-16 05:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338345 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.338222 -2.791964)'))) / (select extract(epoch from '2026-06-16 05:30:52'::timestamp) - extract(epoch from '2026-06-16 05:30: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'), 46723, 'SRID=4674;POINT (-40.338079 -2.791839)', '2026-06-16 05:31:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338222 -2.791964)'), GeomFromEWKT('SRID=4674;POINT (-40.338079 -2.791839)'))) / (select extract(epoch from '2026-06-16 05:31:02'::timestamp) - extract(epoch from '2026-06-16 05:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338222 -2.791964)'), GeomFromEWKT('SRID=4674;POINT (-40.338079 -2.791839)'))) / (select extract(epoch from '2026-06-16 05:31:02'::timestamp) - extract(epoch from '2026-06-16 05:30: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'), 46723, 'SRID=4674;POINT (-40.337957 -2.791705)', '2026-06-16 05:31:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338079 -2.791839)'), GeomFromEWKT('SRID=4674;POINT (-40.337957 -2.791705)'))) / (select extract(epoch from '2026-06-16 05:31:11'::timestamp) - extract(epoch from '2026-06-16 05:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338079 -2.791839)'), GeomFromEWKT('SRID=4674;POINT (-40.337957 -2.791705)'))) / (select extract(epoch from '2026-06-16 05:31:11'::timestamp) - extract(epoch from '2026-06-16 05:31: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'), 46723, 'SRID=4674;POINT (-40.337828 -2.791582)', '2026-06-16 05:31:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337957 -2.791705)'), GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.791582)'))) / (select extract(epoch from '2026-06-16 05:31:20'::timestamp) - extract(epoch from '2026-06-16 05:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337957 -2.791705)'), GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.791582)'))) / (select extract(epoch from '2026-06-16 05:31:20'::timestamp) - extract(epoch from '2026-06-16 05:31: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'), 46723, 'SRID=4674;POINT (-40.337726 -2.791478)', '2026-06-16 05:31:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.791582)'), GeomFromEWKT('SRID=4674;POINT (-40.337726 -2.791478)'))) / (select extract(epoch from '2026-06-16 05:31:28'::timestamp) - extract(epoch from '2026-06-16 05:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337828 -2.791582)'), GeomFromEWKT('SRID=4674;POINT (-40.337726 -2.791478)'))) / (select extract(epoch from '2026-06-16 05:31:28'::timestamp) - extract(epoch from '2026-06-16 05:31: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'), 46723, 'SRID=4674;POINT (-40.337635 -2.791362)', '2026-06-16 05:31:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337726 -2.791478)'), GeomFromEWKT('SRID=4674;POINT (-40.337635 -2.791362)'))) / (select extract(epoch from '2026-06-16 05:31:37'::timestamp) - extract(epoch from '2026-06-16 05:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337726 -2.791478)'), GeomFromEWKT('SRID=4674;POINT (-40.337635 -2.791362)'))) / (select extract(epoch from '2026-06-16 05:31:37'::timestamp) - extract(epoch from '2026-06-16 05:31: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'), 46723, 'SRID=4674;POINT (-40.337562 -2.79126)', '2026-06-16 05:31:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337635 -2.791362)'), GeomFromEWKT('SRID=4674;POINT (-40.337562 -2.79126)'))) / (select extract(epoch from '2026-06-16 05:31:44'::timestamp) - extract(epoch from '2026-06-16 05:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337635 -2.791362)'), GeomFromEWKT('SRID=4674;POINT (-40.337562 -2.79126)'))) / (select extract(epoch from '2026-06-16 05:31:44'::timestamp) - extract(epoch from '2026-06-16 05:31: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'), 46723, 'SRID=4674;POINT (-40.337449 -2.791107)', '2026-06-16 05:31:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337562 -2.79126)'), GeomFromEWKT('SRID=4674;POINT (-40.337449 -2.791107)'))) / (select extract(epoch from '2026-06-16 05:31:54'::timestamp) - extract(epoch from '2026-06-16 05:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337562 -2.79126)'), GeomFromEWKT('SRID=4674;POINT (-40.337449 -2.791107)'))) / (select extract(epoch from '2026-06-16 05:31:54'::timestamp) - extract(epoch from '2026-06-16 05:31: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'), 46723, 'SRID=4674;POINT (-40.337361 -2.790983)', '2026-06-16 05:32:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337449 -2.791107)'), GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.790983)'))) / (select extract(epoch from '2026-06-16 05:32:02'::timestamp) - extract(epoch from '2026-06-16 05:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337449 -2.791107)'), GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.790983)'))) / (select extract(epoch from '2026-06-16 05:32:02'::timestamp) - extract(epoch from '2026-06-16 05:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.337264 -2.790862)', '2026-06-16 05:32:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.790983)'), GeomFromEWKT('SRID=4674;POINT (-40.337264 -2.790862)'))) / (select extract(epoch from '2026-06-16 05:32:10'::timestamp) - extract(epoch from '2026-06-16 05:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.790983)'), GeomFromEWKT('SRID=4674;POINT (-40.337264 -2.790862)'))) / (select extract(epoch from '2026-06-16 05:32:10'::timestamp) - extract(epoch from '2026-06-16 05:32: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'), 46723, 'SRID=4674;POINT (-40.337172 -2.790741)', '2026-06-16 05:32:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337264 -2.790862)'), GeomFromEWKT('SRID=4674;POINT (-40.337172 -2.790741)'))) / (select extract(epoch from '2026-06-16 05:32:18'::timestamp) - extract(epoch from '2026-06-16 05:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337264 -2.790862)'), GeomFromEWKT('SRID=4674;POINT (-40.337172 -2.790741)'))) / (select extract(epoch from '2026-06-16 05:32:18'::timestamp) - extract(epoch from '2026-06-16 05:32: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'), 46723, 'SRID=4674;POINT (-40.337083 -2.790639)', '2026-06-16 05:32:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337172 -2.790741)'), GeomFromEWKT('SRID=4674;POINT (-40.337083 -2.790639)'))) / (select extract(epoch from '2026-06-16 05:32:25'::timestamp) - extract(epoch from '2026-06-16 05:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337172 -2.790741)'), GeomFromEWKT('SRID=4674;POINT (-40.337083 -2.790639)'))) / (select extract(epoch from '2026-06-16 05:32:25'::timestamp) - extract(epoch from '2026-06-16 05:32: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'), 46723, 'SRID=4674;POINT (-40.336992 -2.790532)', '2026-06-16 05:32:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337083 -2.790639)'), GeomFromEWKT('SRID=4674;POINT (-40.336992 -2.790532)'))) / (select extract(epoch from '2026-06-16 05:32:32'::timestamp) - extract(epoch from '2026-06-16 05:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337083 -2.790639)'), GeomFromEWKT('SRID=4674;POINT (-40.336992 -2.790532)'))) / (select extract(epoch from '2026-06-16 05:32:32'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.33688 -2.790399)', '2026-06-16 05:32:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336992 -2.790532)'), GeomFromEWKT('SRID=4674;POINT (-40.33688 -2.790399)'))) / (select extract(epoch from '2026-06-16 05:32:41'::timestamp) - extract(epoch from '2026-06-16 05:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336992 -2.790532)'), GeomFromEWKT('SRID=4674;POINT (-40.33688 -2.790399)'))) / (select extract(epoch from '2026-06-16 05:32:41'::timestamp) - extract(epoch from '2026-06-16 05:32: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'), 46723, 'SRID=4674;POINT (-40.336762 -2.790272)', '2026-06-16 05:32:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33688 -2.790399)'), GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.790272)'))) / (select extract(epoch from '2026-06-16 05:32:50'::timestamp) - extract(epoch from '2026-06-16 05:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33688 -2.790399)'), GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.790272)'))) / (select extract(epoch from '2026-06-16 05:32:50'::timestamp) - extract(epoch from '2026-06-16 05:32: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'), 46723, 'SRID=4674;POINT (-40.336705 -2.790159)', '2026-06-16 05:32:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.790272)'), GeomFromEWKT('SRID=4674;POINT (-40.336705 -2.790159)'))) / (select extract(epoch from '2026-06-16 05:32:58'::timestamp) - extract(epoch from '2026-06-16 05:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.790272)'), GeomFromEWKT('SRID=4674;POINT (-40.336705 -2.790159)'))) / (select extract(epoch from '2026-06-16 05:32:58'::timestamp) - extract(epoch from '2026-06-16 05:32: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'), 46723, 'SRID=4674;POINT (-40.336693 -2.790039)', '2026-06-16 05:33:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336705 -2.790159)'), GeomFromEWKT('SRID=4674;POINT (-40.336693 -2.790039)'))) / (select extract(epoch from '2026-06-16 05:33:04'::timestamp) - extract(epoch from '2026-06-16 05:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336705 -2.790159)'), GeomFromEWKT('SRID=4674;POINT (-40.336693 -2.790039)'))) / (select extract(epoch from '2026-06-16 05:33:04'::timestamp) - extract(epoch from '2026-06-16 05:32: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'), 46723, 'SRID=4674;POINT (-40.336712 -2.789847)', '2026-06-16 05:33:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336693 -2.790039)'), GeomFromEWKT('SRID=4674;POINT (-40.336712 -2.789847)'))) / (select extract(epoch from '2026-06-16 05:33:13'::timestamp) - extract(epoch from '2026-06-16 05:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336693 -2.790039)'), GeomFromEWKT('SRID=4674;POINT (-40.336712 -2.789847)'))) / (select extract(epoch from '2026-06-16 05:33:13'::timestamp) - extract(epoch from '2026-06-16 05:33: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'), 46723, 'SRID=4674;POINT (-40.3367 -2.789739)', '2026-06-16 05:33:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336712 -2.789847)'), GeomFromEWKT('SRID=4674;POINT (-40.3367 -2.789739)'))) / (select extract(epoch from '2026-06-16 05:33:19'::timestamp) - extract(epoch from '2026-06-16 05:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336712 -2.789847)'), GeomFromEWKT('SRID=4674;POINT (-40.3367 -2.789739)'))) / (select extract(epoch from '2026-06-16 05:33:19'::timestamp) - extract(epoch from '2026-06-16 05:33: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'), 46723, 'SRID=4674;POINT (-40.336656 -2.789644)', '2026-06-16 05:33:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3367 -2.789739)'), GeomFromEWKT('SRID=4674;POINT (-40.336656 -2.789644)'))) / (select extract(epoch from '2026-06-16 05:33:25'::timestamp) - extract(epoch from '2026-06-16 05:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3367 -2.789739)'), GeomFromEWKT('SRID=4674;POINT (-40.336656 -2.789644)'))) / (select extract(epoch from '2026-06-16 05:33:25'::timestamp) - extract(epoch from '2026-06-16 05:33: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'), 46723, 'SRID=4674;POINT (-40.336616 -2.789533)', '2026-06-16 05:33:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336656 -2.789644)'), GeomFromEWKT('SRID=4674;POINT (-40.336616 -2.789533)'))) / (select extract(epoch from '2026-06-16 05:33:31'::timestamp) - extract(epoch from '2026-06-16 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336656 -2.789644)'), GeomFromEWKT('SRID=4674;POINT (-40.336616 -2.789533)'))) / (select extract(epoch from '2026-06-16 05:33:31'::timestamp) - extract(epoch from '2026-06-16 05:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.336539 -2.789418)', '2026-06-16 05:33:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336616 -2.789533)'), GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.789418)'))) / (select extract(epoch from '2026-06-16 05:33:38'::timestamp) - extract(epoch from '2026-06-16 05:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336616 -2.789533)'), GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.789418)'))) / (select extract(epoch from '2026-06-16 05:33:38'::timestamp) - extract(epoch from '2026-06-16 05:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.336443 -2.78933)', '2026-06-16 05:33:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.789418)'), GeomFromEWKT('SRID=4674;POINT (-40.336443 -2.78933)'))) / (select extract(epoch from '2026-06-16 05:33:45'::timestamp) - extract(epoch from '2026-06-16 05:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336539 -2.789418)'), GeomFromEWKT('SRID=4674;POINT (-40.336443 -2.78933)'))) / (select extract(epoch from '2026-06-16 05:33:45'::timestamp) - extract(epoch from '2026-06-16 05:33: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'), 46723, 'SRID=4674;POINT (-40.336352 -2.789267)', '2026-06-16 05:33:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336443 -2.78933)'), GeomFromEWKT('SRID=4674;POINT (-40.336352 -2.789267)'))) / (select extract(epoch from '2026-06-16 05:33:51'::timestamp) - extract(epoch from '2026-06-16 05:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336443 -2.78933)'), GeomFromEWKT('SRID=4674;POINT (-40.336352 -2.789267)'))) / (select extract(epoch from '2026-06-16 05:33:51'::timestamp) - extract(epoch from '2026-06-16 05:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.336228 -2.78915)', '2026-06-16 05:34:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336352 -2.789267)'), GeomFromEWKT('SRID=4674;POINT (-40.336228 -2.78915)'))) / (select extract(epoch from '2026-06-16 05:34:00'::timestamp) - extract(epoch from '2026-06-16 05:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336352 -2.789267)'), GeomFromEWKT('SRID=4674;POINT (-40.336228 -2.78915)'))) / (select extract(epoch from '2026-06-16 05:34:00'::timestamp) - extract(epoch from '2026-06-16 05:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.33612 -2.789011)', '2026-06-16 05:34:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336228 -2.78915)'), GeomFromEWKT('SRID=4674;POINT (-40.33612 -2.789011)'))) / (select extract(epoch from '2026-06-16 05:34:09'::timestamp) - extract(epoch from '2026-06-16 05:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336228 -2.78915)'), GeomFromEWKT('SRID=4674;POINT (-40.33612 -2.789011)'))) / (select extract(epoch from '2026-06-16 05:34:09'::timestamp) - extract(epoch from '2026-06-16 05:34: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'), 46723, 'SRID=4674;POINT (-40.336001 -2.7889)', '2026-06-16 05:34:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33612 -2.789011)'), GeomFromEWKT('SRID=4674;POINT (-40.336001 -2.7889)'))) / (select extract(epoch from '2026-06-16 05:34:17'::timestamp) - extract(epoch from '2026-06-16 05:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33612 -2.789011)'), GeomFromEWKT('SRID=4674;POINT (-40.336001 -2.7889)'))) / (select extract(epoch from '2026-06-16 05:34:17'::timestamp) - extract(epoch from '2026-06-16 05:34: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'), 46723, 'SRID=4674;POINT (-40.335873 -2.788781)', '2026-06-16 05:34:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336001 -2.7889)'), GeomFromEWKT('SRID=4674;POINT (-40.335873 -2.788781)'))) / (select extract(epoch from '2026-06-16 05:34:26'::timestamp) - extract(epoch from '2026-06-16 05:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336001 -2.7889)'), GeomFromEWKT('SRID=4674;POINT (-40.335873 -2.788781)'))) / (select extract(epoch from '2026-06-16 05:34:26'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.335794 -2.788692)', '2026-06-16 05:34:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335873 -2.788781)'), GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.788692)'))) / (select extract(epoch from '2026-06-16 05:34:33'::timestamp) - extract(epoch from '2026-06-16 05:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335873 -2.788781)'), GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.788692)'))) / (select extract(epoch from '2026-06-16 05:34:33'::timestamp) - extract(epoch from '2026-06-16 05:34: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'), 46723, 'SRID=4674;POINT (-40.335695 -2.788614)', '2026-06-16 05:34:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.788692)'), GeomFromEWKT('SRID=4674;POINT (-40.335695 -2.788614)'))) / (select extract(epoch from '2026-06-16 05:34:40'::timestamp) - extract(epoch from '2026-06-16 05:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.788692)'), GeomFromEWKT('SRID=4674;POINT (-40.335695 -2.788614)'))) / (select extract(epoch from '2026-06-16 05:34:40'::timestamp) - extract(epoch from '2026-06-16 05:34: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'), 46723, 'SRID=4674;POINT (-40.335623 -2.788547)', '2026-06-16 05:34:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335695 -2.788614)'), GeomFromEWKT('SRID=4674;POINT (-40.335623 -2.788547)'))) / (select extract(epoch from '2026-06-16 05:34:46'::timestamp) - extract(epoch from '2026-06-16 05:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335695 -2.788614)'), GeomFromEWKT('SRID=4674;POINT (-40.335623 -2.788547)'))) / (select extract(epoch from '2026-06-16 05:34:46'::timestamp) - extract(epoch from '2026-06-16 05:34: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'), 46723, 'SRID=4674;POINT (-40.335477 -2.788445)', '2026-06-16 05:34:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335623 -2.788547)'), GeomFromEWKT('SRID=4674;POINT (-40.335477 -2.788445)'))) / (select extract(epoch from '2026-06-16 05:34:55'::timestamp) - extract(epoch from '2026-06-16 05:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335623 -2.788547)'), GeomFromEWKT('SRID=4674;POINT (-40.335477 -2.788445)'))) / (select extract(epoch from '2026-06-16 05:34:55'::timestamp) - extract(epoch from '2026-06-16 05:34: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'), 46723, 'SRID=4674;POINT (-40.335365 -2.788384)', '2026-06-16 05:35:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335477 -2.788445)'), GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.788384)'))) / (select extract(epoch from '2026-06-16 05:35:02'::timestamp) - extract(epoch from '2026-06-16 05:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335477 -2.788445)'), GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.788384)'))) / (select extract(epoch from '2026-06-16 05:35:02'::timestamp) - extract(epoch from '2026-06-16 05:34: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'), 46723, 'SRID=4674;POINT (-40.335253 -2.788289)', '2026-06-16 05:35:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.788384)'), GeomFromEWKT('SRID=4674;POINT (-40.335253 -2.788289)'))) / (select extract(epoch from '2026-06-16 05:35:10'::timestamp) - extract(epoch from '2026-06-16 05:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335365 -2.788384)'), GeomFromEWKT('SRID=4674;POINT (-40.335253 -2.788289)'))) / (select extract(epoch from '2026-06-16 05:35:10'::timestamp) - extract(epoch from '2026-06-16 05:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.335167 -2.788166)', '2026-06-16 05:35:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335253 -2.788289)'), GeomFromEWKT('SRID=4674;POINT (-40.335167 -2.788166)'))) / (select extract(epoch from '2026-06-16 05:35:18'::timestamp) - extract(epoch from '2026-06-16 05:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335253 -2.788289)'), GeomFromEWKT('SRID=4674;POINT (-40.335167 -2.788166)'))) / (select extract(epoch from '2026-06-16 05:35:18'::timestamp) - extract(epoch from '2026-06-16 05:35: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'), 46723, 'SRID=4674;POINT (-40.335115 -2.788061)', '2026-06-16 05:35:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335167 -2.788166)'), GeomFromEWKT('SRID=4674;POINT (-40.335115 -2.788061)'))) / (select extract(epoch from '2026-06-16 05:35:24'::timestamp) - extract(epoch from '2026-06-16 05:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335167 -2.788166)'), GeomFromEWKT('SRID=4674;POINT (-40.335115 -2.788061)'))) / (select extract(epoch from '2026-06-16 05:35:24'::timestamp) - extract(epoch from '2026-06-16 05:35: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'), 46723, 'SRID=4674;POINT (-40.335001 -2.787924)', '2026-06-16 05:35:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335115 -2.788061)'), GeomFromEWKT('SRID=4674;POINT (-40.335001 -2.787924)'))) / (select extract(epoch from '2026-06-16 05:35:33'::timestamp) - extract(epoch from '2026-06-16 05:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335115 -2.788061)'), GeomFromEWKT('SRID=4674;POINT (-40.335001 -2.787924)'))) / (select extract(epoch from '2026-06-16 05:35:33'::timestamp) - extract(epoch from '2026-06-16 05:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.334863 -2.787822)', '2026-06-16 05:35:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335001 -2.787924)'), GeomFromEWKT('SRID=4674;POINT (-40.334863 -2.787822)'))) / (select extract(epoch from '2026-06-16 05:35:42'::timestamp) - extract(epoch from '2026-06-16 05:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335001 -2.787924)'), GeomFromEWKT('SRID=4674;POINT (-40.334863 -2.787822)'))) / (select extract(epoch from '2026-06-16 05:35:42'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.334702 -2.787726)', '2026-06-16 05:35:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334863 -2.787822)'), GeomFromEWKT('SRID=4674;POINT (-40.334702 -2.787726)'))) / (select extract(epoch from '2026-06-16 05:35:52'::timestamp) - extract(epoch from '2026-06-16 05:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334863 -2.787822)'), GeomFromEWKT('SRID=4674;POINT (-40.334702 -2.787726)'))) / (select extract(epoch from '2026-06-16 05:35:52'::timestamp) - extract(epoch from '2026-06-16 05:35: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'), 46723, 'SRID=4674;POINT (-40.334563 -2.787646)', '2026-06-16 05:36:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334702 -2.787726)'), GeomFromEWKT('SRID=4674;POINT (-40.334563 -2.787646)'))) / (select extract(epoch from '2026-06-16 05:36:01'::timestamp) - extract(epoch from '2026-06-16 05:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334702 -2.787726)'), GeomFromEWKT('SRID=4674;POINT (-40.334563 -2.787646)'))) / (select extract(epoch from '2026-06-16 05:36:01'::timestamp) - extract(epoch from '2026-06-16 05:35: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'), 46723, 'SRID=4674;POINT (-40.334415 -2.787564)', '2026-06-16 05:36:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334563 -2.787646)'), GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.787564)'))) / (select extract(epoch from '2026-06-16 05:36:10'::timestamp) - extract(epoch from '2026-06-16 05:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334563 -2.787646)'), GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.787564)'))) / (select extract(epoch from '2026-06-16 05:36:10'::timestamp) - extract(epoch from '2026-06-16 05:36: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'), 46723, 'SRID=4674;POINT (-40.334301 -2.78752)', '2026-06-16 05:36:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.787564)'), GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.78752)'))) / (select extract(epoch from '2026-06-16 05:36:17'::timestamp) - extract(epoch from '2026-06-16 05:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334415 -2.787564)'), GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.78752)'))) / (select extract(epoch from '2026-06-16 05:36:17'::timestamp) - extract(epoch from '2026-06-16 05:36: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'), 46723, 'SRID=4674;POINT (-40.334176 -2.787478)', '2026-06-16 05:36:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.78752)'), GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.787478)'))) / (select extract(epoch from '2026-06-16 05:36:24'::timestamp) - extract(epoch from '2026-06-16 05:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.78752)'), GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.787478)'))) / (select extract(epoch from '2026-06-16 05:36:24'::timestamp) - extract(epoch from '2026-06-16 05:36: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'), 46723, 'SRID=4674;POINT (-40.334046 -2.78742)', '2026-06-16 05:36:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.787478)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.78742)'))) / (select extract(epoch from '2026-06-16 05:36:32'::timestamp) - extract(epoch from '2026-06-16 05:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334176 -2.787478)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.78742)'))) / (select extract(epoch from '2026-06-16 05:36:32'::timestamp) - extract(epoch from '2026-06-16 05:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.333934 -2.787362)', '2026-06-16 05:36:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.78742)'), GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.787362)'))) / (select extract(epoch from '2026-06-16 05:36:39'::timestamp) - extract(epoch from '2026-06-16 05:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.78742)'), GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.787362)'))) / (select extract(epoch from '2026-06-16 05:36:39'::timestamp) - extract(epoch from '2026-06-16 05:36:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.333762 -2.787278)', '2026-06-16 05:36:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.787362)'), GeomFromEWKT('SRID=4674;POINT (-40.333762 -2.787278)'))) / (select extract(epoch from '2026-06-16 05:36:49'::timestamp) - extract(epoch from '2026-06-16 05:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.787362)'), GeomFromEWKT('SRID=4674;POINT (-40.333762 -2.787278)'))) / (select extract(epoch from '2026-06-16 05:36:49'::timestamp) - extract(epoch from '2026-06-16 05:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.333624 -2.787219)', '2026-06-16 05:36:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333762 -2.787278)'), GeomFromEWKT('SRID=4674;POINT (-40.333624 -2.787219)'))) / (select extract(epoch from '2026-06-16 05:36:57'::timestamp) - extract(epoch from '2026-06-16 05:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333762 -2.787278)'), GeomFromEWKT('SRID=4674;POINT (-40.333624 -2.787219)'))) / (select extract(epoch from '2026-06-16 05:36:57'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333479 -2.787163)', '2026-06-16 05:37:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333624 -2.787219)'), GeomFromEWKT('SRID=4674;POINT (-40.333479 -2.787163)'))) / (select extract(epoch from '2026-06-16 05:37:06'::timestamp) - extract(epoch from '2026-06-16 05:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333624 -2.787219)'), GeomFromEWKT('SRID=4674;POINT (-40.333479 -2.787163)'))) / (select extract(epoch from '2026-06-16 05:37:06'::timestamp) - extract(epoch from '2026-06-16 05:36: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'), 46723, 'SRID=4674;POINT (-40.333339 -2.787114)', '2026-06-16 05:37:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333479 -2.787163)'), GeomFromEWKT('SRID=4674;POINT (-40.333339 -2.787114)'))) / (select extract(epoch from '2026-06-16 05:37:14'::timestamp) - extract(epoch from '2026-06-16 05:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333479 -2.787163)'), GeomFromEWKT('SRID=4674;POINT (-40.333339 -2.787114)'))) / (select extract(epoch from '2026-06-16 05:37:14'::timestamp) - extract(epoch from '2026-06-16 05:37: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'), 46723, 'SRID=4674;POINT (-40.333254 -2.787056)', '2026-06-16 05:37:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333339 -2.787114)'), GeomFromEWKT('SRID=4674;POINT (-40.333254 -2.787056)'))) / (select extract(epoch from '2026-06-16 05:37:20'::timestamp) - extract(epoch from '2026-06-16 05:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333339 -2.787114)'), GeomFromEWKT('SRID=4674;POINT (-40.333254 -2.787056)'))) / (select extract(epoch from '2026-06-16 05:37:20'::timestamp) - extract(epoch from '2026-06-16 05:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.333248 -2.786927)', '2026-06-16 05:37:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333254 -2.787056)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.786927)'))) / (select extract(epoch from '2026-06-16 05:37:27'::timestamp) - extract(epoch from '2026-06-16 05:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333254 -2.787056)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.786927)'))) / (select extract(epoch from '2026-06-16 05:37:27'::timestamp) - extract(epoch from '2026-06-16 05:37: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'), 46723, 'SRID=4674;POINT (-40.33326 -2.786783)', '2026-06-16 05:37:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.786927)'), GeomFromEWKT('SRID=4674;POINT (-40.33326 -2.786783)'))) / (select extract(epoch from '2026-06-16 05:37:34'::timestamp) - extract(epoch from '2026-06-16 05:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.786927)'), GeomFromEWKT('SRID=4674;POINT (-40.33326 -2.786783)'))) / (select extract(epoch from '2026-06-16 05:37:34'::timestamp) - extract(epoch from '2026-06-16 05:37: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'), 46723, 'SRID=4674;POINT (-40.333275 -2.78664)', '2026-06-16 05:37:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33326 -2.786783)'), GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.78664)'))) / (select extract(epoch from '2026-06-16 05:37:41'::timestamp) - extract(epoch from '2026-06-16 05:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33326 -2.786783)'), GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.78664)'))) / (select extract(epoch from '2026-06-16 05:37:41'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333319 -2.7865)', '2026-06-16 05:37:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.78664)'), GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.7865)'))) / (select extract(epoch from '2026-06-16 05:37:48'::timestamp) - extract(epoch from '2026-06-16 05:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.78664)'), GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.7865)'))) / (select extract(epoch from '2026-06-16 05:37:48'::timestamp) - extract(epoch from '2026-06-16 05:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.333342 -2.786357)', '2026-06-16 05:37:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.7865)'), GeomFromEWKT('SRID=4674;POINT (-40.333342 -2.786357)'))) / (select extract(epoch from '2026-06-16 05:37:55'::timestamp) - extract(epoch from '2026-06-16 05:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.7865)'), GeomFromEWKT('SRID=4674;POINT (-40.333342 -2.786357)'))) / (select extract(epoch from '2026-06-16 05:37:55'::timestamp) - extract(epoch from '2026-06-16 05:37: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'), 46723, 'SRID=4674;POINT (-40.333309 -2.786194)', '2026-06-16 05:38:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333342 -2.786357)'), GeomFromEWKT('SRID=4674;POINT (-40.333309 -2.786194)'))) / (select extract(epoch from '2026-06-16 05:38:03'::timestamp) - extract(epoch from '2026-06-16 05:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333342 -2.786357)'), GeomFromEWKT('SRID=4674;POINT (-40.333309 -2.786194)'))) / (select extract(epoch from '2026-06-16 05:38:03'::timestamp) - extract(epoch from '2026-06-16 05:37: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'), 46723, 'SRID=4674;POINT (-40.333294 -2.786053)', '2026-06-16 05:38:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333309 -2.786194)'), GeomFromEWKT('SRID=4674;POINT (-40.333294 -2.786053)'))) / (select extract(epoch from '2026-06-16 05:38:10'::timestamp) - extract(epoch from '2026-06-16 05:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333309 -2.786194)'), GeomFromEWKT('SRID=4674;POINT (-40.333294 -2.786053)'))) / (select extract(epoch from '2026-06-16 05:38:10'::timestamp) - extract(epoch from '2026-06-16 05:38: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'), 46723, 'SRID=4674;POINT (-40.333277 -2.785921)', '2026-06-16 05:38:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333294 -2.786053)'), GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.785921)'))) / (select extract(epoch from '2026-06-16 05:38:16'::timestamp) - extract(epoch from '2026-06-16 05:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333294 -2.786053)'), GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.785921)'))) / (select extract(epoch from '2026-06-16 05:38:16'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333251 -2.785774)', '2026-06-16 05:38:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.785921)'), GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.785774)'))) / (select extract(epoch from '2026-06-16 05:38:23'::timestamp) - extract(epoch from '2026-06-16 05:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.785921)'), GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.785774)'))) / (select extract(epoch from '2026-06-16 05:38:23'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333248 -2.785626)', '2026-06-16 05:38:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.785774)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.785626)'))) / (select extract(epoch from '2026-06-16 05:38:30'::timestamp) - extract(epoch from '2026-06-16 05:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.785774)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.785626)'))) / (select extract(epoch from '2026-06-16 05:38:30'::timestamp) - extract(epoch from '2026-06-16 05:38: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'), 46723, 'SRID=4674;POINT (-40.333229 -2.785453)', '2026-06-16 05:38:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.785626)'), GeomFromEWKT('SRID=4674;POINT (-40.333229 -2.785453)'))) / (select extract(epoch from '2026-06-16 05:38:38'::timestamp) - extract(epoch from '2026-06-16 05:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.785626)'), GeomFromEWKT('SRID=4674;POINT (-40.333229 -2.785453)'))) / (select extract(epoch from '2026-06-16 05:38:38'::timestamp) - extract(epoch from '2026-06-16 05:38: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'), 46723, 'SRID=4674;POINT (-40.333213 -2.785329)', '2026-06-16 05:38:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333229 -2.785453)'), GeomFromEWKT('SRID=4674;POINT (-40.333213 -2.785329)'))) / (select extract(epoch from '2026-06-16 05:38:44'::timestamp) - extract(epoch from '2026-06-16 05:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333229 -2.785453)'), GeomFromEWKT('SRID=4674;POINT (-40.333213 -2.785329)'))) / (select extract(epoch from '2026-06-16 05:38:44'::timestamp) - extract(epoch from '2026-06-16 05:38: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'), 46723, 'SRID=4674;POINT (-40.333193 -2.785183)', '2026-06-16 05:38:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333213 -2.785329)'), GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.785183)'))) / (select extract(epoch from '2026-06-16 05:38:51'::timestamp) - extract(epoch from '2026-06-16 05:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333213 -2.785329)'), GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.785183)'))) / (select extract(epoch from '2026-06-16 05:38:51'::timestamp) - extract(epoch from '2026-06-16 05:38: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'), 46723, 'SRID=4674;POINT (-40.333211 -2.785044)', '2026-06-16 05:38:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.785183)'), GeomFromEWKT('SRID=4674;POINT (-40.333211 -2.785044)'))) / (select extract(epoch from '2026-06-16 05:38:58'::timestamp) - extract(epoch from '2026-06-16 05:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.785183)'), GeomFromEWKT('SRID=4674;POINT (-40.333211 -2.785044)'))) / (select extract(epoch from '2026-06-16 05:38:58'::timestamp) - extract(epoch from '2026-06-16 05:38: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'), 46723, 'SRID=4674;POINT (-40.33321 -2.7849)', '2026-06-16 05:39:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333211 -2.785044)'), GeomFromEWKT('SRID=4674;POINT (-40.33321 -2.7849)'))) / (select extract(epoch from '2026-06-16 05:39:05'::timestamp) - extract(epoch from '2026-06-16 05:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333211 -2.785044)'), GeomFromEWKT('SRID=4674;POINT (-40.33321 -2.7849)'))) / (select extract(epoch from '2026-06-16 05:39:05'::timestamp) - extract(epoch from '2026-06-16 05:38: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'), 46723, 'SRID=4674;POINT (-40.333186 -2.784741)', '2026-06-16 05:39:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33321 -2.7849)'), GeomFromEWKT('SRID=4674;POINT (-40.333186 -2.784741)'))) / (select extract(epoch from '2026-06-16 05:39:13'::timestamp) - extract(epoch from '2026-06-16 05:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33321 -2.7849)'), GeomFromEWKT('SRID=4674;POINT (-40.333186 -2.784741)'))) / (select extract(epoch from '2026-06-16 05:39:13'::timestamp) - extract(epoch from '2026-06-16 05:39: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'), 46723, 'SRID=4674;POINT (-40.333167 -2.784609)', '2026-06-16 05:39:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333186 -2.784741)'), GeomFromEWKT('SRID=4674;POINT (-40.333167 -2.784609)'))) / (select extract(epoch from '2026-06-16 05:39:20'::timestamp) - extract(epoch from '2026-06-16 05:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333186 -2.784741)'), GeomFromEWKT('SRID=4674;POINT (-40.333167 -2.784609)'))) / (select extract(epoch from '2026-06-16 05:39:20'::timestamp) - extract(epoch from '2026-06-16 05:39: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'), 46723, 'SRID=4674;POINT (-40.333112 -2.78446)', '2026-06-16 05:39:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333167 -2.784609)'), GeomFromEWKT('SRID=4674;POINT (-40.333112 -2.78446)'))) / (select extract(epoch from '2026-06-16 05:39:28'::timestamp) - extract(epoch from '2026-06-16 05:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333167 -2.784609)'), GeomFromEWKT('SRID=4674;POINT (-40.333112 -2.78446)'))) / (select extract(epoch from '2026-06-16 05:39:28'::timestamp) - extract(epoch from '2026-06-16 05:39: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'), 46723, 'SRID=4674;POINT (-40.333041 -2.784313)', '2026-06-16 05:39:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333112 -2.78446)'), GeomFromEWKT('SRID=4674;POINT (-40.333041 -2.784313)'))) / (select extract(epoch from '2026-06-16 05:39:36'::timestamp) - extract(epoch from '2026-06-16 05:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333112 -2.78446)'), GeomFromEWKT('SRID=4674;POINT (-40.333041 -2.784313)'))) / (select extract(epoch from '2026-06-16 05:39:36'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332983 -2.784223)', '2026-06-16 05:39:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333041 -2.784313)'), GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.784223)'))) / (select extract(epoch from '2026-06-16 05:39:42'::timestamp) - extract(epoch from '2026-06-16 05:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333041 -2.784313)'), GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.784223)'))) / (select extract(epoch from '2026-06-16 05:39:42'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332946 -2.784058)', '2026-06-16 05:39:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.784223)'), GeomFromEWKT('SRID=4674;POINT (-40.332946 -2.784058)'))) / (select extract(epoch from '2026-06-16 05:39:51'::timestamp) - extract(epoch from '2026-06-16 05:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.784223)'), GeomFromEWKT('SRID=4674;POINT (-40.332946 -2.784058)'))) / (select extract(epoch from '2026-06-16 05:39:51'::timestamp) - extract(epoch from '2026-06-16 05:39: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'), 46723, 'SRID=4674;POINT (-40.332922 -2.783906)', '2026-06-16 05:39:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332946 -2.784058)'), GeomFromEWKT('SRID=4674;POINT (-40.332922 -2.783906)'))) / (select extract(epoch from '2026-06-16 05:39:59'::timestamp) - extract(epoch from '2026-06-16 05:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332946 -2.784058)'), GeomFromEWKT('SRID=4674;POINT (-40.332922 -2.783906)'))) / (select extract(epoch from '2026-06-16 05:39:59'::timestamp) - extract(epoch from '2026-06-16 05:39: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'), 46723, 'SRID=4674;POINT (-40.332885 -2.783778)', '2026-06-16 05:40:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332922 -2.783906)'), GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783778)'))) / (select extract(epoch from '2026-06-16 05:40:06'::timestamp) - extract(epoch from '2026-06-16 05:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332922 -2.783906)'), GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783778)'))) / (select extract(epoch from '2026-06-16 05:40:06'::timestamp) - extract(epoch from '2026-06-16 05:39: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'), 46723, 'SRID=4674;POINT (-40.332851 -2.783619)', '2026-06-16 05:40:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783778)'), GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.783619)'))) / (select extract(epoch from '2026-06-16 05:40:14'::timestamp) - extract(epoch from '2026-06-16 05:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783778)'), GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.783619)'))) / (select extract(epoch from '2026-06-16 05:40:14'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332839 -2.783541)', '2026-06-16 05:40:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.783619)'), GeomFromEWKT('SRID=4674;POINT (-40.332839 -2.783541)'))) / (select extract(epoch from '2026-06-16 05:40:18'::timestamp) - extract(epoch from '2026-06-16 05:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.783619)'), GeomFromEWKT('SRID=4674;POINT (-40.332839 -2.783541)'))) / (select extract(epoch from '2026-06-16 05:40:18'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332842 -2.783503)', '2026-06-16 05:40:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332839 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.332842 -2.783503)'))) / (select extract(epoch from '2026-06-16 05:40:20'::timestamp) - extract(epoch from '2026-06-16 05:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332839 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.332842 -2.783503)'))) / (select extract(epoch from '2026-06-16 05:40:20'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332885 -2.783368)', '2026-06-16 05:40:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332842 -2.783503)'), GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783368)'))) / (select extract(epoch from '2026-06-16 05:40:27'::timestamp) - extract(epoch from '2026-06-16 05:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332842 -2.783503)'), GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783368)'))) / (select extract(epoch from '2026-06-16 05:40:27'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332918 -2.783193)', '2026-06-16 05:40:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.332918 -2.783193)'))) / (select extract(epoch from '2026-06-16 05:40:35'::timestamp) - extract(epoch from '2026-06-16 05:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.332918 -2.783193)'))) / (select extract(epoch from '2026-06-16 05:40:35'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332923 -2.783022)', '2026-06-16 05:40:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332918 -2.783193)'), GeomFromEWKT('SRID=4674;POINT (-40.332923 -2.783022)'))) / (select extract(epoch from '2026-06-16 05:40:43'::timestamp) - extract(epoch from '2026-06-16 05:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332918 -2.783193)'), GeomFromEWKT('SRID=4674;POINT (-40.332923 -2.783022)'))) / (select extract(epoch from '2026-06-16 05:40:43'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332907 -2.782875)', '2026-06-16 05:40:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332923 -2.783022)'), GeomFromEWKT('SRID=4674;POINT (-40.332907 -2.782875)'))) / (select extract(epoch from '2026-06-16 05:40:50'::timestamp) - extract(epoch from '2026-06-16 05:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332923 -2.783022)'), GeomFromEWKT('SRID=4674;POINT (-40.332907 -2.782875)'))) / (select extract(epoch from '2026-06-16 05:40:50'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332901 -2.782756)', '2026-06-16 05:40:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332907 -2.782875)'), GeomFromEWKT('SRID=4674;POINT (-40.332901 -2.782756)'))) / (select extract(epoch from '2026-06-16 05:40:56'::timestamp) - extract(epoch from '2026-06-16 05:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332907 -2.782875)'), GeomFromEWKT('SRID=4674;POINT (-40.332901 -2.782756)'))) / (select extract(epoch from '2026-06-16 05:40:56'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332873 -2.782641)', '2026-06-16 05:41:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332901 -2.782756)'), GeomFromEWKT('SRID=4674;POINT (-40.332873 -2.782641)'))) / (select extract(epoch from '2026-06-16 05:41:02'::timestamp) - extract(epoch from '2026-06-16 05:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332901 -2.782756)'), GeomFromEWKT('SRID=4674;POINT (-40.332873 -2.782641)'))) / (select extract(epoch from '2026-06-16 05:41:02'::timestamp) - extract(epoch from '2026-06-16 05:40: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'), 46723, 'SRID=4674;POINT (-40.332883 -2.782524)', '2026-06-16 05:41:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332873 -2.782641)'), GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.782524)'))) / (select extract(epoch from '2026-06-16 05:41:08'::timestamp) - extract(epoch from '2026-06-16 05:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332873 -2.782641)'), GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.782524)'))) / (select extract(epoch from '2026-06-16 05:41:08'::timestamp) - extract(epoch from '2026-06-16 05:41: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'), 46723, 'SRID=4674;POINT (-40.332932 -2.78235)', '2026-06-16 05:41:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.782524)'), GeomFromEWKT('SRID=4674;POINT (-40.332932 -2.78235)'))) / (select extract(epoch from '2026-06-16 05:41:17'::timestamp) - extract(epoch from '2026-06-16 05:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.782524)'), GeomFromEWKT('SRID=4674;POINT (-40.332932 -2.78235)'))) / (select extract(epoch from '2026-06-16 05:41:17'::timestamp) - extract(epoch from '2026-06-16 05:41: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'), 46723, 'SRID=4674;POINT (-40.332916 -2.782231)', '2026-06-16 05:41:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332932 -2.78235)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.782231)'))) / (select extract(epoch from '2026-06-16 05:41:23'::timestamp) - extract(epoch from '2026-06-16 05:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332932 -2.78235)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.782231)'))) / (select extract(epoch from '2026-06-16 05:41:23'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332897 -2.782051)', '2026-06-16 05:41:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.782231)'), GeomFromEWKT('SRID=4674;POINT (-40.332897 -2.782051)'))) / (select extract(epoch from '2026-06-16 05:41:32'::timestamp) - extract(epoch from '2026-06-16 05:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.782231)'), GeomFromEWKT('SRID=4674;POINT (-40.332897 -2.782051)'))) / (select extract(epoch from '2026-06-16 05:41:32'::timestamp) - extract(epoch from '2026-06-16 05:41: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'), 46723, 'SRID=4674;POINT (-40.332866 -2.781875)', '2026-06-16 05:41:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332897 -2.782051)'), GeomFromEWKT('SRID=4674;POINT (-40.332866 -2.781875)'))) / (select extract(epoch from '2026-06-16 05:41:41'::timestamp) - extract(epoch from '2026-06-16 05:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332897 -2.782051)'), GeomFromEWKT('SRID=4674;POINT (-40.332866 -2.781875)'))) / (select extract(epoch from '2026-06-16 05:41:41'::timestamp) - extract(epoch from '2026-06-16 05:41: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'), 46723, 'SRID=4674;POINT (-40.332844 -2.78176)', '2026-06-16 05:41:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332866 -2.781875)'), GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.78176)'))) / (select extract(epoch from '2026-06-16 05:41:47'::timestamp) - extract(epoch from '2026-06-16 05:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332866 -2.781875)'), GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.78176)'))) / (select extract(epoch from '2026-06-16 05:41:47'::timestamp) - extract(epoch from '2026-06-16 05:41: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'), 46723, 'SRID=4674;POINT (-40.332776 -2.781642)', '2026-06-16 05:41:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.78176)'), GeomFromEWKT('SRID=4674;POINT (-40.332776 -2.781642)'))) / (select extract(epoch from '2026-06-16 05:41:54'::timestamp) - extract(epoch from '2026-06-16 05:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.78176)'), GeomFromEWKT('SRID=4674;POINT (-40.332776 -2.781642)'))) / (select extract(epoch from '2026-06-16 05:41:54'::timestamp) - extract(epoch from '2026-06-16 05:41: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'), 46723, 'SRID=4674;POINT (-40.332716 -2.781462)', '2026-06-16 05:42:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332776 -2.781642)'), GeomFromEWKT('SRID=4674;POINT (-40.332716 -2.781462)'))) / (select extract(epoch from '2026-06-16 05:42:03'::timestamp) - extract(epoch from '2026-06-16 05:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332776 -2.781642)'), GeomFromEWKT('SRID=4674;POINT (-40.332716 -2.781462)'))) / (select extract(epoch from '2026-06-16 05:42:03'::timestamp) - extract(epoch from '2026-06-16 05:41: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'), 46723, 'SRID=4674;POINT (-40.332674 -2.781323)', '2026-06-16 05:42:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332716 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-40.332674 -2.781323)'))) / (select extract(epoch from '2026-06-16 05:42:10'::timestamp) - extract(epoch from '2026-06-16 05:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332716 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-40.332674 -2.781323)'))) / (select extract(epoch from '2026-06-16 05:42:10'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332647 -2.781229)', '2026-06-16 05:42:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332674 -2.781323)'), GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.781229)'))) / (select extract(epoch from '2026-06-16 05:42:15'::timestamp) - extract(epoch from '2026-06-16 05:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332674 -2.781323)'), GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.781229)'))) / (select extract(epoch from '2026-06-16 05:42:15'::timestamp) - extract(epoch from '2026-06-16 05:42: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'), 46723, 'SRID=4674;POINT (-40.332622 -2.781115)', '2026-06-16 05:42:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.781229)'), GeomFromEWKT('SRID=4674;POINT (-40.332622 -2.781115)'))) / (select extract(epoch from '2026-06-16 05:42:21'::timestamp) - extract(epoch from '2026-06-16 05:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.781229)'), GeomFromEWKT('SRID=4674;POINT (-40.332622 -2.781115)'))) / (select extract(epoch from '2026-06-16 05:42:21'::timestamp) - extract(epoch from '2026-06-16 05:42: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'), 46723, 'SRID=4674;POINT (-40.332599 -2.780988)', '2026-06-16 05:42:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332622 -2.781115)'), GeomFromEWKT('SRID=4674;POINT (-40.332599 -2.780988)'))) / (select extract(epoch from '2026-06-16 05:42:28'::timestamp) - extract(epoch from '2026-06-16 05:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332622 -2.781115)'), GeomFromEWKT('SRID=4674;POINT (-40.332599 -2.780988)'))) / (select extract(epoch from '2026-06-16 05:42:28'::timestamp) - extract(epoch from '2026-06-16 05:42: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'), 46723, 'SRID=4674;POINT (-40.332639 -2.780853)', '2026-06-16 05:42:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332599 -2.780988)'), GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.780853)'))) / (select extract(epoch from '2026-06-16 05:42:35'::timestamp) - extract(epoch from '2026-06-16 05:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332599 -2.780988)'), GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.780853)'))) / (select extract(epoch from '2026-06-16 05:42:35'::timestamp) - extract(epoch from '2026-06-16 05:42: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'), 46723, 'SRID=4674;POINT (-40.332678 -2.780694)', '2026-06-16 05:42:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.780853)'), GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.780694)'))) / (select extract(epoch from '2026-06-16 05:42:43'::timestamp) - extract(epoch from '2026-06-16 05:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.780853)'), GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.780694)'))) / (select extract(epoch from '2026-06-16 05:42:43'::timestamp) - extract(epoch from '2026-06-16 05:42: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'), 46723, 'SRID=4674;POINT (-40.332701 -2.780553)', '2026-06-16 05:42:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.780694)'), GeomFromEWKT('SRID=4674;POINT (-40.332701 -2.780553)'))) / (select extract(epoch from '2026-06-16 05:42:50'::timestamp) - extract(epoch from '2026-06-16 05:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.780694)'), GeomFromEWKT('SRID=4674;POINT (-40.332701 -2.780553)'))) / (select extract(epoch from '2026-06-16 05:42:50'::timestamp) - extract(epoch from '2026-06-16 05:42: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'), 46723, 'SRID=4674;POINT (-40.332785 -2.780385)', '2026-06-16 05:42:59', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332701 -2.780553)'), GeomFromEWKT('SRID=4674;POINT (-40.332785 -2.780385)'))) / (select extract(epoch from '2026-06-16 05:42:59'::timestamp) - extract(epoch from '2026-06-16 05:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332701 -2.780553)'), GeomFromEWKT('SRID=4674;POINT (-40.332785 -2.780385)'))) / (select extract(epoch from '2026-06-16 05:42:59'::timestamp) - extract(epoch from '2026-06-16 05:42: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'), 46723, 'SRID=4674;POINT (-40.332768 -2.780243)', '2026-06-16 05:43:06', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332785 -2.780385)'), GeomFromEWKT('SRID=4674;POINT (-40.332768 -2.780243)'))) / (select extract(epoch from '2026-06-16 05:43:06'::timestamp) - extract(epoch from '2026-06-16 05:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332785 -2.780385)'), GeomFromEWKT('SRID=4674;POINT (-40.332768 -2.780243)'))) / (select extract(epoch from '2026-06-16 05:43:06'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.33266 -2.780118)', '2026-06-16 05:43:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332768 -2.780243)'), GeomFromEWKT('SRID=4674;POINT (-40.33266 -2.780118)'))) / (select extract(epoch from '2026-06-16 05:43:14'::timestamp) - extract(epoch from '2026-06-16 05:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332768 -2.780243)'), GeomFromEWKT('SRID=4674;POINT (-40.33266 -2.780118)'))) / (select extract(epoch from '2026-06-16 05:43:14'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.332595 -2.780009)', '2026-06-16 05:43:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33266 -2.780118)'), GeomFromEWKT('SRID=4674;POINT (-40.332595 -2.780009)'))) / (select extract(epoch from '2026-06-16 05:43:21'::timestamp) - extract(epoch from '2026-06-16 05:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33266 -2.780118)'), GeomFromEWKT('SRID=4674;POINT (-40.332595 -2.780009)'))) / (select extract(epoch from '2026-06-16 05:43:21'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.332488 -2.779853)', '2026-06-16 05:43:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332595 -2.780009)'), GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.779853)'))) / (select extract(epoch from '2026-06-16 05:43:30'::timestamp) - extract(epoch from '2026-06-16 05:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332595 -2.780009)'), GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.779853)'))) / (select extract(epoch from '2026-06-16 05:43:30'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.332453 -2.779731)', '2026-06-16 05:43:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.779853)'), GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779731)'))) / (select extract(epoch from '2026-06-16 05:43:37'::timestamp) - extract(epoch from '2026-06-16 05:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332488 -2.779853)'), GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779731)'))) / (select extract(epoch from '2026-06-16 05:43:37'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.332436 -2.779591)', '2026-06-16 05:43:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779731)'), GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.779591)'))) / (select extract(epoch from '2026-06-16 05:43:45'::timestamp) - extract(epoch from '2026-06-16 05:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779731)'), GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.779591)'))) / (select extract(epoch from '2026-06-16 05:43:45'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.332475 -2.779492)', '2026-06-16 05:43:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.779591)'), GeomFromEWKT('SRID=4674;POINT (-40.332475 -2.779492)'))) / (select extract(epoch from '2026-06-16 05:43:51'::timestamp) - extract(epoch from '2026-06-16 05:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.779591)'), GeomFromEWKT('SRID=4674;POINT (-40.332475 -2.779492)'))) / (select extract(epoch from '2026-06-16 05:43:51'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.33256 -2.779402)', '2026-06-16 05:43:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332475 -2.779492)'), GeomFromEWKT('SRID=4674;POINT (-40.33256 -2.779402)'))) / (select extract(epoch from '2026-06-16 05:43:58'::timestamp) - extract(epoch from '2026-06-16 05:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332475 -2.779492)'), GeomFromEWKT('SRID=4674;POINT (-40.33256 -2.779402)'))) / (select extract(epoch from '2026-06-16 05:43:58'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.332625 -2.779288)', '2026-06-16 05:44:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33256 -2.779402)'), GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.779288)'))) / (select extract(epoch from '2026-06-16 05:44:05'::timestamp) - extract(epoch from '2026-06-16 05:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33256 -2.779402)'), GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.779288)'))) / (select extract(epoch from '2026-06-16 05:44:05'::timestamp) - extract(epoch from '2026-06-16 05:43: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'), 46723, 'SRID=4674;POINT (-40.332707 -2.77919)', '2026-06-16 05:44:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.779288)'), GeomFromEWKT('SRID=4674;POINT (-40.332707 -2.77919)'))) / (select extract(epoch from '2026-06-16 05:44:12'::timestamp) - extract(epoch from '2026-06-16 05:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.779288)'), GeomFromEWKT('SRID=4674;POINT (-40.332707 -2.77919)'))) / (select extract(epoch from '2026-06-16 05:44:12'::timestamp) - extract(epoch from '2026-06-16 05:44: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'), 46723, 'SRID=4674;POINT (-40.332778 -2.779188)', '2026-06-16 05:44:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332707 -2.77919)'), GeomFromEWKT('SRID=4674;POINT (-40.332778 -2.779188)'))) / (select extract(epoch from '2026-06-16 05:44:18'::timestamp) - extract(epoch from '2026-06-16 05:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332707 -2.77919)'), GeomFromEWKT('SRID=4674;POINT (-40.332778 -2.779188)'))) / (select extract(epoch from '2026-06-16 05:44:18'::timestamp) - extract(epoch from '2026-06-16 05:44: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'), 46723, 'SRID=4674;POINT (-40.332802 -2.779264)', '2026-06-16 05:44:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332778 -2.779188)'), GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.779264)'))) / (select extract(epoch from '2026-06-16 05:44:25'::timestamp) - extract(epoch from '2026-06-16 05:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332778 -2.779188)'), GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.779264)'))) / (select extract(epoch from '2026-06-16 05:44:25'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332775 -2.779337)', '2026-06-16 05:44:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.779264)'), GeomFromEWKT('SRID=4674;POINT (-40.332775 -2.779337)'))) / (select extract(epoch from '2026-06-16 05:44:32'::timestamp) - extract(epoch from '2026-06-16 05:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.779264)'), GeomFromEWKT('SRID=4674;POINT (-40.332775 -2.779337)'))) / (select extract(epoch from '2026-06-16 05:44:32'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.33275 -2.779369)', '2026-06-16 05:44:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332775 -2.779337)'), GeomFromEWKT('SRID=4674;POINT (-40.33275 -2.779369)'))) / (select extract(epoch from '2026-06-16 05:44:40'::timestamp) - extract(epoch from '2026-06-16 05:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332775 -2.779337)'), GeomFromEWKT('SRID=4674;POINT (-40.33275 -2.779369)'))) / (select extract(epoch from '2026-06-16 05:44:40'::timestamp) - extract(epoch from '2026-06-16 05:44: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'), 46723, 'SRID=4674;POINT (-40.332734 -2.779377)', '2026-06-16 05:44:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33275 -2.779369)'), GeomFromEWKT('SRID=4674;POINT (-40.332734 -2.779377)'))) / (select extract(epoch from '2026-06-16 05:44:53'::timestamp) - extract(epoch from '2026-06-16 05:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33275 -2.779369)'), GeomFromEWKT('SRID=4674;POINT (-40.332734 -2.779377)'))) / (select extract(epoch from '2026-06-16 05:44:53'::timestamp) - extract(epoch from '2026-06-16 05:44: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'), 46723, 'SRID=4674;POINT (-40.332737 -2.779342)', '2026-06-16 05:45:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332734 -2.779377)'), GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.779342)'))) / (select extract(epoch from '2026-06-16 05:45:10'::timestamp) - extract(epoch from '2026-06-16 05:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332734 -2.779377)'), GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.779342)'))) / (select extract(epoch from '2026-06-16 05:45:10'::timestamp) - extract(epoch from '2026-06-16 05:44: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'), 46723, 'SRID=4674;POINT (-40.332733 -2.779331)', '2026-06-16 05:45:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.779342)'), GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779331)'))) / (select extract(epoch from '2026-06-16 05:45:26'::timestamp) - extract(epoch from '2026-06-16 05:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332737 -2.779342)'), GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779331)'))) / (select extract(epoch from '2026-06-16 05:45:26'::timestamp) - extract(epoch from '2026-06-16 05:45: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'), 46723, 'SRID=4674;POINT (-40.33273 -2.779328)', '2026-06-16 05:45:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779331)'), GeomFromEWKT('SRID=4674;POINT (-40.33273 -2.779328)'))) / (select extract(epoch from '2026-06-16 05:45:51'::timestamp) - extract(epoch from '2026-06-16 05:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779331)'), GeomFromEWKT('SRID=4674;POINT (-40.33273 -2.779328)'))) / (select extract(epoch from '2026-06-16 05:45:51'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332731 -2.779338)', '2026-06-16 05:46:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33273 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.332731 -2.779338)'))) / (select extract(epoch from '2026-06-16 05:46:12'::timestamp) - extract(epoch from '2026-06-16 05:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33273 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.332731 -2.779338)'))) / (select extract(epoch from '2026-06-16 05:46:12'::timestamp) - extract(epoch from '2026-06-16 05:45: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'), 46723, 'SRID=4674;POINT (-40.332725 -2.779358)', '2026-06-16 05:46:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332731 -2.779338)'), GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.779358)'))) / (select extract(epoch from '2026-06-16 05:46:30'::timestamp) - extract(epoch from '2026-06-16 05:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332731 -2.779338)'), GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.779358)'))) / (select extract(epoch from '2026-06-16 05:46:30'::timestamp) - extract(epoch from '2026-06-16 05:46: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'), 46723, 'SRID=4674;POINT (-40.332687 -2.779373)', '2026-06-16 05:46:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.779358)'), GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.779373)'))) / (select extract(epoch from '2026-06-16 05:46:42'::timestamp) - extract(epoch from '2026-06-16 05:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.779358)'), GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.779373)'))) / (select extract(epoch from '2026-06-16 05:46:42'::timestamp) - extract(epoch from '2026-06-16 05:46: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'), 46723, 'SRID=4674;POINT (-40.33265 -2.779358)', '2026-06-16 05:46:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.779373)'), GeomFromEWKT('SRID=4674;POINT (-40.33265 -2.779358)'))) / (select extract(epoch from '2026-06-16 05:46:56'::timestamp) - extract(epoch from '2026-06-16 05:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.779373)'), GeomFromEWKT('SRID=4674;POINT (-40.33265 -2.779358)'))) / (select extract(epoch from '2026-06-16 05:46:56'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332652 -2.779349)', '2026-06-16 05:47:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33265 -2.779358)'), GeomFromEWKT('SRID=4674;POINT (-40.332652 -2.779349)'))) / (select extract(epoch from '2026-06-16 05:47:10'::timestamp) - extract(epoch from '2026-06-16 05:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33265 -2.779358)'), GeomFromEWKT('SRID=4674;POINT (-40.332652 -2.779349)'))) / (select extract(epoch from '2026-06-16 05:47:10'::timestamp) - extract(epoch from '2026-06-16 05:46: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'), 46723, 'SRID=4674;POINT (-40.332664 -2.779338)', '2026-06-16 05:47:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332652 -2.779349)'), GeomFromEWKT('SRID=4674;POINT (-40.332664 -2.779338)'))) / (select extract(epoch from '2026-06-16 05:47:30'::timestamp) - extract(epoch from '2026-06-16 05:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332652 -2.779349)'), GeomFromEWKT('SRID=4674;POINT (-40.332664 -2.779338)'))) / (select extract(epoch from '2026-06-16 05:47:30'::timestamp) - extract(epoch from '2026-06-16 05:47: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'), 46723, 'SRID=4674;POINT (-40.332666 -2.779335)', '2026-06-16 05:47:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332664 -2.779338)'), GeomFromEWKT('SRID=4674;POINT (-40.332666 -2.779335)'))) / (select extract(epoch from '2026-06-16 05:47:49'::timestamp) - extract(epoch from '2026-06-16 05:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332664 -2.779338)'), GeomFromEWKT('SRID=4674;POINT (-40.332666 -2.779335)'))) / (select extract(epoch from '2026-06-16 05:47:49'::timestamp) - extract(epoch from '2026-06-16 05:47: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'), 46723, 'SRID=4674;POINT (-40.332647 -2.779306)', '2026-06-16 05:48:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332666 -2.779335)'), GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.779306)'))) / (select extract(epoch from '2026-06-16 05:48:12'::timestamp) - extract(epoch from '2026-06-16 05:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332666 -2.779335)'), GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.779306)'))) / (select extract(epoch from '2026-06-16 05:48:12'::timestamp) - extract(epoch from '2026-06-16 05:47: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'), 46723, 'SRID=4674;POINT (-40.332646 -2.779297)', '2026-06-16 05:48:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.779306)'), GeomFromEWKT('SRID=4674;POINT (-40.332646 -2.779297)'))) / (select extract(epoch from '2026-06-16 05:48:26'::timestamp) - extract(epoch from '2026-06-16 05:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332647 -2.779306)'), GeomFromEWKT('SRID=4674;POINT (-40.332646 -2.779297)'))) / (select extract(epoch from '2026-06-16 05:48:26'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332642 -2.779295)', '2026-06-16 05:48:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332646 -2.779297)'), GeomFromEWKT('SRID=4674;POINT (-40.332642 -2.779295)'))) / (select extract(epoch from '2026-06-16 05:48:34'::timestamp) - extract(epoch from '2026-06-16 05:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332646 -2.779297)'), GeomFromEWKT('SRID=4674;POINT (-40.332642 -2.779295)'))) / (select extract(epoch from '2026-06-16 05:48:34'::timestamp) - extract(epoch from '2026-06-16 05:48: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'), 46723, 'SRID=4674;POINT (-40.332645 -2.779305)', '2026-06-16 05:48:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332642 -2.779295)'), GeomFromEWKT('SRID=4674;POINT (-40.332645 -2.779305)'))) / (select extract(epoch from '2026-06-16 05:48:50'::timestamp) - extract(epoch from '2026-06-16 05:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332642 -2.779295)'), GeomFromEWKT('SRID=4674;POINT (-40.332645 -2.779305)'))) / (select extract(epoch from '2026-06-16 05:48:50'::timestamp) - extract(epoch from '2026-06-16 05:48: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'), 46723, 'SRID=4674;POINT (-40.332639 -2.779297)', '2026-06-16 05:49:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332645 -2.779305)'), GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.779297)'))) / (select extract(epoch from '2026-06-16 05:49:12'::timestamp) - extract(epoch from '2026-06-16 05:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332645 -2.779305)'), GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.779297)'))) / (select extract(epoch from '2026-06-16 05:49:12'::timestamp) - extract(epoch from '2026-06-16 05:48: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'), 46723, 'SRID=4674;POINT (-40.3326 -2.779325)', '2026-06-16 05:49:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.779297)'), GeomFromEWKT('SRID=4674;POINT (-40.3326 -2.779325)'))) / (select extract(epoch from '2026-06-16 05:49:24'::timestamp) - extract(epoch from '2026-06-16 05:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332639 -2.779297)'), GeomFromEWKT('SRID=4674;POINT (-40.3326 -2.779325)'))) / (select extract(epoch from '2026-06-16 05:49:24'::timestamp) - extract(epoch from '2026-06-16 05:49: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'), 46723, 'SRID=4674;POINT (-40.33253 -2.779385)', '2026-06-16 05:49:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3326 -2.779325)'), GeomFromEWKT('SRID=4674;POINT (-40.33253 -2.779385)'))) / (select extract(epoch from '2026-06-16 05:49:38'::timestamp) - extract(epoch from '2026-06-16 05:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3326 -2.779325)'), GeomFromEWKT('SRID=4674;POINT (-40.33253 -2.779385)'))) / (select extract(epoch from '2026-06-16 05:49:38'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332453 -2.779459)', '2026-06-16 05:49:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33253 -2.779385)'), GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779459)'))) / (select extract(epoch from '2026-06-16 05:49:56'::timestamp) - extract(epoch from '2026-06-16 05:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33253 -2.779385)'), GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779459)'))) / (select extract(epoch from '2026-06-16 05:49:56'::timestamp) - extract(epoch from '2026-06-16 05:49: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'), 46723, 'SRID=4674;POINT (-40.332419 -2.779477)', '2026-06-16 05:50:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779459)'), GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779477)'))) / (select extract(epoch from '2026-06-16 05:50:11'::timestamp) - extract(epoch from '2026-06-16 05:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.779459)'), GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779477)'))) / (select extract(epoch from '2026-06-16 05:50:11'::timestamp) - extract(epoch from '2026-06-16 05:49: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'), 46723, 'SRID=4674;POINT (-40.332415 -2.779495)', '2026-06-16 05:50:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779477)'), GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.779495)'))) / (select extract(epoch from '2026-06-16 05:50:25'::timestamp) - extract(epoch from '2026-06-16 05:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779477)'), GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.779495)'))) / (select extract(epoch from '2026-06-16 05:50:25'::timestamp) - extract(epoch from '2026-06-16 05:50: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'), 46723, 'SRID=4674;POINT (-40.332391 -2.779498)', '2026-06-16 05:50:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.779495)'), GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779498)'))) / (select extract(epoch from '2026-06-16 05:50:37'::timestamp) - extract(epoch from '2026-06-16 05:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332415 -2.779495)'), GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779498)'))) / (select extract(epoch from '2026-06-16 05:50:37'::timestamp) - extract(epoch from '2026-06-16 05:50: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'), 46723, 'SRID=4674;POINT (-40.332393 -2.7795)', '2026-06-16 05:50:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779498)'), GeomFromEWKT('SRID=4674;POINT (-40.332393 -2.7795)'))) / (select extract(epoch from '2026-06-16 05:50:52'::timestamp) - extract(epoch from '2026-06-16 05:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779498)'), GeomFromEWKT('SRID=4674;POINT (-40.332393 -2.7795)'))) / (select extract(epoch from '2026-06-16 05:50:52'::timestamp) - extract(epoch from '2026-06-16 05:50: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'), 46723, 'SRID=4674;POINT (-40.332392 -2.779494)', '2026-06-16 05:51:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332393 -2.7795)'), GeomFromEWKT('SRID=4674;POINT (-40.332392 -2.779494)'))) / (select extract(epoch from '2026-06-16 05:51:11'::timestamp) - extract(epoch from '2026-06-16 05:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332393 -2.7795)'), GeomFromEWKT('SRID=4674;POINT (-40.332392 -2.779494)'))) / (select extract(epoch from '2026-06-16 05:51:11'::timestamp) - extract(epoch from '2026-06-16 05:50: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'), 46723, 'SRID=4674;POINT (-40.332391 -2.779472)', '2026-06-16 05:51:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332392 -2.779494)'), GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779472)'))) / (select extract(epoch from '2026-06-16 05:51:28'::timestamp) - extract(epoch from '2026-06-16 05:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332392 -2.779494)'), GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779472)'))) / (select extract(epoch from '2026-06-16 05:51:28'::timestamp) - extract(epoch from '2026-06-16 05:51: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'), 46723, 'SRID=4674;POINT (-40.33238 -2.779484)', '2026-06-16 05:51:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779472)'), GeomFromEWKT('SRID=4674;POINT (-40.33238 -2.779484)'))) / (select extract(epoch from '2026-06-16 05:51:38'::timestamp) - extract(epoch from '2026-06-16 05:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332391 -2.779472)'), GeomFromEWKT('SRID=4674;POINT (-40.33238 -2.779484)'))) / (select extract(epoch from '2026-06-16 05:51:38'::timestamp) - extract(epoch from '2026-06-16 05:51: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'), 46723, 'SRID=4674;POINT (-40.332389 -2.77948)', '2026-06-16 05:51:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33238 -2.779484)'), GeomFromEWKT('SRID=4674;POINT (-40.332389 -2.77948)'))) / (select extract(epoch from '2026-06-16 05:51:51'::timestamp) - extract(epoch from '2026-06-16 05:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33238 -2.779484)'), GeomFromEWKT('SRID=4674;POINT (-40.332389 -2.77948)'))) / (select extract(epoch from '2026-06-16 05:51:51'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332394 -2.77948)', '2026-06-16 05:52:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332389 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.332394 -2.77948)'))) / (select extract(epoch from '2026-06-16 05:52:07'::timestamp) - extract(epoch from '2026-06-16 05:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332389 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.332394 -2.77948)'))) / (select extract(epoch from '2026-06-16 05:52:07'::timestamp) - extract(epoch from '2026-06-16 05:51: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'), 46723, 'SRID=4674;POINT (-40.332387 -2.779478)', '2026-06-16 05:52:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332394 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.332387 -2.779478)'))) / (select extract(epoch from '2026-06-16 05:52:23'::timestamp) - extract(epoch from '2026-06-16 05:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332394 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.332387 -2.779478)'))) / (select extract(epoch from '2026-06-16 05:52:23'::timestamp) - extract(epoch from '2026-06-16 05:52: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'), 46723, 'SRID=4674;POINT (-40.33239 -2.77947)', '2026-06-16 05:52:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332387 -2.779478)'), GeomFromEWKT('SRID=4674;POINT (-40.33239 -2.77947)'))) / (select extract(epoch from '2026-06-16 05:52:38'::timestamp) - extract(epoch from '2026-06-16 05:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332387 -2.779478)'), GeomFromEWKT('SRID=4674;POINT (-40.33239 -2.77947)'))) / (select extract(epoch from '2026-06-16 05:52:38'::timestamp) - extract(epoch from '2026-06-16 05:52: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'), 46723, 'SRID=4674;POINT (-40.332388 -2.77949)', '2026-06-16 05:53:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33239 -2.77947)'), GeomFromEWKT('SRID=4674;POINT (-40.332388 -2.77949)'))) / (select extract(epoch from '2026-06-16 05:53:00'::timestamp) - extract(epoch from '2026-06-16 05:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33239 -2.77947)'), GeomFromEWKT('SRID=4674;POINT (-40.332388 -2.77949)'))) / (select extract(epoch from '2026-06-16 05:53:00'::timestamp) - extract(epoch from '2026-06-16 05:52: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'), 46723, 'SRID=4674;POINT (-40.332383 -2.779489)', '2026-06-16 05:53:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332388 -2.77949)'), GeomFromEWKT('SRID=4674;POINT (-40.332383 -2.779489)'))) / (select extract(epoch from '2026-06-16 05:53:07'::timestamp) - extract(epoch from '2026-06-16 05:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332388 -2.77949)'), GeomFromEWKT('SRID=4674;POINT (-40.332383 -2.779489)'))) / (select extract(epoch from '2026-06-16 05:53:07'::timestamp) - extract(epoch from '2026-06-16 05:53: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'), 46723, 'SRID=4674;POINT (-40.332384 -2.77948)', '2026-06-16 05:53:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332383 -2.779489)'), GeomFromEWKT('SRID=4674;POINT (-40.332384 -2.77948)'))) / (select extract(epoch from '2026-06-16 05:53:23'::timestamp) - extract(epoch from '2026-06-16 05:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332383 -2.779489)'), GeomFromEWKT('SRID=4674;POINT (-40.332384 -2.77948)'))) / (select extract(epoch from '2026-06-16 05:53:23'::timestamp) - extract(epoch from '2026-06-16 05:53: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'), 46723, 'SRID=4674;POINT (-40.332399 -2.779459)', '2026-06-16 05:53:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332384 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.332399 -2.779459)'))) / (select extract(epoch from '2026-06-16 05:53:36'::timestamp) - extract(epoch from '2026-06-16 05:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332384 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.332399 -2.779459)'))) / (select extract(epoch from '2026-06-16 05:53:36'::timestamp) - extract(epoch from '2026-06-16 05:53: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'), 46723, 'SRID=4674;POINT (-40.332419 -2.779462)', '2026-06-16 05:53:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332399 -2.779459)'), GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779462)'))) / (select extract(epoch from '2026-06-16 05:53:55'::timestamp) - extract(epoch from '2026-06-16 05:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332399 -2.779459)'), GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779462)'))) / (select extract(epoch from '2026-06-16 05:53:55'::timestamp) - extract(epoch from '2026-06-16 05:53: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'), 46723, 'SRID=4674;POINT (-40.332439 -2.779437)', '2026-06-16 05:54:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779462)'), GeomFromEWKT('SRID=4674;POINT (-40.332439 -2.779437)'))) / (select extract(epoch from '2026-06-16 05:54:15'::timestamp) - extract(epoch from '2026-06-16 05:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332419 -2.779462)'), GeomFromEWKT('SRID=4674;POINT (-40.332439 -2.779437)'))) / (select extract(epoch from '2026-06-16 05:54:15'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.332459 -2.779416)', '2026-06-16 05:54:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332439 -2.779437)'), GeomFromEWKT('SRID=4674;POINT (-40.332459 -2.779416)'))) / (select extract(epoch from '2026-06-16 05:54:28'::timestamp) - extract(epoch from '2026-06-16 05:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332439 -2.779437)'), GeomFromEWKT('SRID=4674;POINT (-40.332459 -2.779416)'))) / (select extract(epoch from '2026-06-16 05:54:28'::timestamp) - extract(epoch from '2026-06-16 05:54: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'), 46723, 'SRID=4674;POINT (-40.332476 -2.779399)', '2026-06-16 05:54:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332459 -2.779416)'), GeomFromEWKT('SRID=4674;POINT (-40.332476 -2.779399)'))) / (select extract(epoch from '2026-06-16 05:54:41'::timestamp) - extract(epoch from '2026-06-16 05:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332459 -2.779416)'), GeomFromEWKT('SRID=4674;POINT (-40.332476 -2.779399)'))) / (select extract(epoch from '2026-06-16 05:54:41'::timestamp) - extract(epoch from '2026-06-16 05:54: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'), 46723, 'SRID=4674;POINT (-40.332497 -2.779374)', '2026-06-16 05:54:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332476 -2.779399)'), GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.779374)'))) / (select extract(epoch from '2026-06-16 05:54:56'::timestamp) - extract(epoch from '2026-06-16 05:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332476 -2.779399)'), GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.779374)'))) / (select extract(epoch from '2026-06-16 05:54:56'::timestamp) - extract(epoch from '2026-06-16 05:54: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'), 46723, 'SRID=4674;POINT (-40.332537 -2.779357)', '2026-06-16 05:55:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.779374)'), GeomFromEWKT('SRID=4674;POINT (-40.332537 -2.779357)'))) / (select extract(epoch from '2026-06-16 05:55:07'::timestamp) - extract(epoch from '2026-06-16 05:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.779374)'), GeomFromEWKT('SRID=4674;POINT (-40.332537 -2.779357)'))) / (select extract(epoch from '2026-06-16 05:55:07'::timestamp) - extract(epoch from '2026-06-16 05:54: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'), 46723, 'SRID=4674;POINT (-40.332571 -2.779338)', '2026-06-16 05:55:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332537 -2.779357)'), GeomFromEWKT('SRID=4674;POINT (-40.332571 -2.779338)'))) / (select extract(epoch from '2026-06-16 05:55:21'::timestamp) - extract(epoch from '2026-06-16 05:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332537 -2.779357)'), GeomFromEWKT('SRID=4674;POINT (-40.332571 -2.779338)'))) / (select extract(epoch from '2026-06-16 05:55:21'::timestamp) - extract(epoch from '2026-06-16 05:55: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'), 46723, 'SRID=4674;POINT (-40.332608 -2.779331)', '2026-06-16 05:55:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332571 -2.779338)'), GeomFromEWKT('SRID=4674;POINT (-40.332608 -2.779331)'))) / (select extract(epoch from '2026-06-16 05:55:36'::timestamp) - extract(epoch from '2026-06-16 05:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332571 -2.779338)'), GeomFromEWKT('SRID=4674;POINT (-40.332608 -2.779331)'))) / (select extract(epoch from '2026-06-16 05:55:36'::timestamp) - extract(epoch from '2026-06-16 05:55: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'), 46723, 'SRID=4674;POINT (-40.332627 -2.779313)', '2026-06-16 05:55:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332608 -2.779331)'), GeomFromEWKT('SRID=4674;POINT (-40.332627 -2.779313)'))) / (select extract(epoch from '2026-06-16 05:55:55'::timestamp) - extract(epoch from '2026-06-16 05:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332608 -2.779331)'), GeomFromEWKT('SRID=4674;POINT (-40.332627 -2.779313)'))) / (select extract(epoch from '2026-06-16 05:55:55'::timestamp) - extract(epoch from '2026-06-16 05:55: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'), 46723, 'SRID=4674;POINT (-40.332663 -2.779282)', '2026-06-16 05:56:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332627 -2.779313)'), GeomFromEWKT('SRID=4674;POINT (-40.332663 -2.779282)'))) / (select extract(epoch from '2026-06-16 05:56:10'::timestamp) - extract(epoch from '2026-06-16 05:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332627 -2.779313)'), GeomFromEWKT('SRID=4674;POINT (-40.332663 -2.779282)'))) / (select extract(epoch from '2026-06-16 05:56:10'::timestamp) - extract(epoch from '2026-06-16 05:55: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'), 46723, 'SRID=4674;POINT (-40.332711 -2.779253)', '2026-06-16 05:56:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332663 -2.779282)'), GeomFromEWKT('SRID=4674;POINT (-40.332711 -2.779253)'))) / (select extract(epoch from '2026-06-16 05:56:24'::timestamp) - extract(epoch from '2026-06-16 05:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332663 -2.779282)'), GeomFromEWKT('SRID=4674;POINT (-40.332711 -2.779253)'))) / (select extract(epoch from '2026-06-16 05:56:24'::timestamp) - extract(epoch from '2026-06-16 05:56: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'), 46723, 'SRID=4674;POINT (-40.332694 -2.779173)', '2026-06-16 05:56:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332711 -2.779253)'), GeomFromEWKT('SRID=4674;POINT (-40.332694 -2.779173)'))) / (select extract(epoch from '2026-06-16 05:56:34'::timestamp) - extract(epoch from '2026-06-16 05:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332711 -2.779253)'), GeomFromEWKT('SRID=4674;POINT (-40.332694 -2.779173)'))) / (select extract(epoch from '2026-06-16 05:56:34'::timestamp) - extract(epoch from '2026-06-16 05:56: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'), 46723, 'SRID=4674;POINT (-40.332733 -2.779066)', '2026-06-16 05:56:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332694 -2.779173)'), GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779066)'))) / (select extract(epoch from '2026-06-16 05:56:42'::timestamp) - extract(epoch from '2026-06-16 05:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332694 -2.779173)'), GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779066)'))) / (select extract(epoch from '2026-06-16 05:56:42'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.33285 -2.778971)', '2026-06-16 05:56:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779066)'), GeomFromEWKT('SRID=4674;POINT (-40.33285 -2.778971)'))) / (select extract(epoch from '2026-06-16 05:56:50'::timestamp) - extract(epoch from '2026-06-16 05:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332733 -2.779066)'), GeomFromEWKT('SRID=4674;POINT (-40.33285 -2.778971)'))) / (select extract(epoch from '2026-06-16 05:56:50'::timestamp) - extract(epoch from '2026-06-16 05:56: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'), 46723, 'SRID=4674;POINT (-40.333002 -2.778895)', '2026-06-16 05:56:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33285 -2.778971)'), GeomFromEWKT('SRID=4674;POINT (-40.333002 -2.778895)'))) / (select extract(epoch from '2026-06-16 05:56:59'::timestamp) - extract(epoch from '2026-06-16 05:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33285 -2.778971)'), GeomFromEWKT('SRID=4674;POINT (-40.333002 -2.778895)'))) / (select extract(epoch from '2026-06-16 05:56:59'::timestamp) - extract(epoch from '2026-06-16 05:56: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'), 46723, 'SRID=4674;POINT (-40.333106 -2.778819)', '2026-06-16 05:57:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333002 -2.778895)'), GeomFromEWKT('SRID=4674;POINT (-40.333106 -2.778819)'))) / (select extract(epoch from '2026-06-16 05:57:05'::timestamp) - extract(epoch from '2026-06-16 05:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333002 -2.778895)'), GeomFromEWKT('SRID=4674;POINT (-40.333106 -2.778819)'))) / (select extract(epoch from '2026-06-16 05:57:05'::timestamp) - extract(epoch from '2026-06-16 05:56: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'), 46723, 'SRID=4674;POINT (-40.333113 -2.778802)', '2026-06-16 05:57:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333106 -2.778819)'), GeomFromEWKT('SRID=4674;POINT (-40.333113 -2.778802)'))) / (select extract(epoch from '2026-06-16 05:57:06'::timestamp) - extract(epoch from '2026-06-16 05:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333106 -2.778819)'), GeomFromEWKT('SRID=4674;POINT (-40.333113 -2.778802)'))) / (select extract(epoch from '2026-06-16 05:57:06'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333145 -2.778754)', '2026-06-16 05:57:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333113 -2.778802)'), GeomFromEWKT('SRID=4674;POINT (-40.333145 -2.778754)'))) / (select extract(epoch from '2026-06-16 05:57:09'::timestamp) - extract(epoch from '2026-06-16 05:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333113 -2.778802)'), GeomFromEWKT('SRID=4674;POINT (-40.333145 -2.778754)'))) / (select extract(epoch from '2026-06-16 05:57:09'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333157 -2.77872)', '2026-06-16 05:57:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333145 -2.778754)'), GeomFromEWKT('SRID=4674;POINT (-40.333157 -2.77872)'))) / (select extract(epoch from '2026-06-16 05:57:11'::timestamp) - extract(epoch from '2026-06-16 05:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333145 -2.778754)'), GeomFromEWKT('SRID=4674;POINT (-40.333157 -2.77872)'))) / (select extract(epoch from '2026-06-16 05:57:11'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333208 -2.778577)', '2026-06-16 05:57:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333157 -2.77872)'), GeomFromEWKT('SRID=4674;POINT (-40.333208 -2.778577)'))) / (select extract(epoch from '2026-06-16 05:57:19'::timestamp) - extract(epoch from '2026-06-16 05:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333157 -2.77872)'), GeomFromEWKT('SRID=4674;POINT (-40.333208 -2.778577)'))) / (select extract(epoch from '2026-06-16 05:57:19'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333296 -2.778468)', '2026-06-16 05:57:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333208 -2.778577)'), GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.778468)'))) / (select extract(epoch from '2026-06-16 05:57:26'::timestamp) - extract(epoch from '2026-06-16 05:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333208 -2.778577)'), GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.778468)'))) / (select extract(epoch from '2026-06-16 05:57:26'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333374 -2.778322)', '2026-06-16 05:57:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.778468)'), GeomFromEWKT('SRID=4674;POINT (-40.333374 -2.778322)'))) / (select extract(epoch from '2026-06-16 05:57:34'::timestamp) - extract(epoch from '2026-06-16 05:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.778468)'), GeomFromEWKT('SRID=4674;POINT (-40.333374 -2.778322)'))) / (select extract(epoch from '2026-06-16 05:57:34'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333396 -2.778182)', '2026-06-16 05:57:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333374 -2.778322)'), GeomFromEWKT('SRID=4674;POINT (-40.333396 -2.778182)'))) / (select extract(epoch from '2026-06-16 05:57:41'::timestamp) - extract(epoch from '2026-06-16 05:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333374 -2.778322)'), GeomFromEWKT('SRID=4674;POINT (-40.333396 -2.778182)'))) / (select extract(epoch from '2026-06-16 05:57:41'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333397 -2.778042)', '2026-06-16 05:57:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333396 -2.778182)'), GeomFromEWKT('SRID=4674;POINT (-40.333397 -2.778042)'))) / (select extract(epoch from '2026-06-16 05:57:48'::timestamp) - extract(epoch from '2026-06-16 05:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333396 -2.778182)'), GeomFromEWKT('SRID=4674;POINT (-40.333397 -2.778042)'))) / (select extract(epoch from '2026-06-16 05:57:48'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333364 -2.777924)', '2026-06-16 05:57:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333397 -2.778042)'), GeomFromEWKT('SRID=4674;POINT (-40.333364 -2.777924)'))) / (select extract(epoch from '2026-06-16 05:57:55'::timestamp) - extract(epoch from '2026-06-16 05:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333397 -2.778042)'), GeomFromEWKT('SRID=4674;POINT (-40.333364 -2.777924)'))) / (select extract(epoch from '2026-06-16 05:57:55'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.33331 -2.777772)', '2026-06-16 05:58:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333364 -2.777924)'), GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.777772)'))) / (select extract(epoch from '2026-06-16 05:58:03'::timestamp) - extract(epoch from '2026-06-16 05:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333364 -2.777924)'), GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.777772)'))) / (select extract(epoch from '2026-06-16 05:58:03'::timestamp) - extract(epoch from '2026-06-16 05:57: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'), 46723, 'SRID=4674;POINT (-40.333277 -2.777602)', '2026-06-16 05:58:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.777772)'), GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.777602)'))) / (select extract(epoch from '2026-06-16 05:58:12'::timestamp) - extract(epoch from '2026-06-16 05:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33331 -2.777772)'), GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.777602)'))) / (select extract(epoch from '2026-06-16 05:58:12'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333228 -2.777453)', '2026-06-16 05:58:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.777602)'), GeomFromEWKT('SRID=4674;POINT (-40.333228 -2.777453)'))) / (select extract(epoch from '2026-06-16 05:58:20'::timestamp) - extract(epoch from '2026-06-16 05:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.777602)'), GeomFromEWKT('SRID=4674;POINT (-40.333228 -2.777453)'))) / (select extract(epoch from '2026-06-16 05:58:20'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333198 -2.777315)', '2026-06-16 05:58:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333228 -2.777453)'), GeomFromEWKT('SRID=4674;POINT (-40.333198 -2.777315)'))) / (select extract(epoch from '2026-06-16 05:58:27'::timestamp) - extract(epoch from '2026-06-16 05:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333228 -2.777453)'), GeomFromEWKT('SRID=4674;POINT (-40.333198 -2.777315)'))) / (select extract(epoch from '2026-06-16 05:58:27'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333184 -2.777158)', '2026-06-16 05:58:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333198 -2.777315)'), GeomFromEWKT('SRID=4674;POINT (-40.333184 -2.777158)'))) / (select extract(epoch from '2026-06-16 05:58:35'::timestamp) - extract(epoch from '2026-06-16 05:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333198 -2.777315)'), GeomFromEWKT('SRID=4674;POINT (-40.333184 -2.777158)'))) / (select extract(epoch from '2026-06-16 05:58:35'::timestamp) - extract(epoch from '2026-06-16 05:58: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'), 46723, 'SRID=4674;POINT (-40.333131 -2.777052)', '2026-06-16 05:58:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333184 -2.777158)'), GeomFromEWKT('SRID=4674;POINT (-40.333131 -2.777052)'))) / (select extract(epoch from '2026-06-16 05:58:41'::timestamp) - extract(epoch from '2026-06-16 05:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333184 -2.777158)'), GeomFromEWKT('SRID=4674;POINT (-40.333131 -2.777052)'))) / (select extract(epoch from '2026-06-16 05:58:41'::timestamp) - extract(epoch from '2026-06-16 05:58: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'), 46723, 'SRID=4674;POINT (-40.333103 -2.776908)', '2026-06-16 05:58:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333131 -2.777052)'), GeomFromEWKT('SRID=4674;POINT (-40.333103 -2.776908)'))) / (select extract(epoch from '2026-06-16 05:58:49'::timestamp) - extract(epoch from '2026-06-16 05:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333131 -2.777052)'), GeomFromEWKT('SRID=4674;POINT (-40.333103 -2.776908)'))) / (select extract(epoch from '2026-06-16 05:58:49'::timestamp) - extract(epoch from '2026-06-16 05:58: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'), 46723, 'SRID=4674;POINT (-40.333182 -2.776799)', '2026-06-16 05:58:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333103 -2.776908)'), GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.776799)'))) / (select extract(epoch from '2026-06-16 05:58:56'::timestamp) - extract(epoch from '2026-06-16 05:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333103 -2.776908)'), GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.776799)'))) / (select extract(epoch from '2026-06-16 05:58:56'::timestamp) - extract(epoch from '2026-06-16 05:58: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'), 46723, 'SRID=4674;POINT (-40.333251 -2.776793)', '2026-06-16 05:59:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.776799)'), GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.776793)'))) / (select extract(epoch from '2026-06-16 05:59:01'::timestamp) - extract(epoch from '2026-06-16 05:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.776799)'), GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.776793)'))) / (select extract(epoch from '2026-06-16 05:59:01'::timestamp) - extract(epoch from '2026-06-16 05:58: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'), 46723, 'SRID=4674;POINT (-40.333312 -2.77685)', '2026-06-16 05:59:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.776793)'), GeomFromEWKT('SRID=4674;POINT (-40.333312 -2.77685)'))) / (select extract(epoch from '2026-06-16 05:59:07'::timestamp) - extract(epoch from '2026-06-16 05:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.776793)'), GeomFromEWKT('SRID=4674;POINT (-40.333312 -2.77685)'))) / (select extract(epoch from '2026-06-16 05:59:07'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333394 -2.77685)', '2026-06-16 05:59:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333312 -2.77685)'), GeomFromEWKT('SRID=4674;POINT (-40.333394 -2.77685)'))) / (select extract(epoch from '2026-06-16 05:59:13'::timestamp) - extract(epoch from '2026-06-16 05:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333312 -2.77685)'), GeomFromEWKT('SRID=4674;POINT (-40.333394 -2.77685)'))) / (select extract(epoch from '2026-06-16 05:59:13'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333435 -2.776797)', '2026-06-16 05:59:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333394 -2.77685)'), GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.776797)'))) / (select extract(epoch from '2026-06-16 05:59:18'::timestamp) - extract(epoch from '2026-06-16 05:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333394 -2.77685)'), GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.776797)'))) / (select extract(epoch from '2026-06-16 05:59:18'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333432 -2.776785)', '2026-06-16 05:59:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.776797)'), GeomFromEWKT('SRID=4674;POINT (-40.333432 -2.776785)'))) / (select extract(epoch from '2026-06-16 05:59:19'::timestamp) - extract(epoch from '2026-06-16 05:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.776797)'), GeomFromEWKT('SRID=4674;POINT (-40.333432 -2.776785)'))) / (select extract(epoch from '2026-06-16 05:59:19'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333435 -2.77675)', '2026-06-16 05:59:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333432 -2.776785)'), GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.77675)'))) / (select extract(epoch from '2026-06-16 05:59:22'::timestamp) - extract(epoch from '2026-06-16 05:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333432 -2.776785)'), GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.77675)'))) / (select extract(epoch from '2026-06-16 05:59:22'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333418 -2.776723)', '2026-06-16 05:59:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.77675)'), GeomFromEWKT('SRID=4674;POINT (-40.333418 -2.776723)'))) / (select extract(epoch from '2026-06-16 05:59:25'::timestamp) - extract(epoch from '2026-06-16 05:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333435 -2.77675)'), GeomFromEWKT('SRID=4674;POINT (-40.333418 -2.776723)'))) / (select extract(epoch from '2026-06-16 05:59:25'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333411 -2.776718)', '2026-06-16 05:59:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333418 -2.776723)'), GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.776718)'))) / (select extract(epoch from '2026-06-16 05:59:26'::timestamp) - extract(epoch from '2026-06-16 05:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333418 -2.776723)'), GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.776718)'))) / (select extract(epoch from '2026-06-16 05:59:26'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333361 -2.776702)', '2026-06-16 05:59:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.776718)'), GeomFromEWKT('SRID=4674;POINT (-40.333361 -2.776702)'))) / (select extract(epoch from '2026-06-16 05:59:32'::timestamp) - extract(epoch from '2026-06-16 05:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.776718)'), GeomFromEWKT('SRID=4674;POINT (-40.333361 -2.776702)'))) / (select extract(epoch from '2026-06-16 05:59:32'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333337 -2.776721)', '2026-06-16 05:59:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333361 -2.776702)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.776721)'))) / (select extract(epoch from '2026-06-16 05:59:40'::timestamp) - extract(epoch from '2026-06-16 05:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333361 -2.776702)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.776721)'))) / (select extract(epoch from '2026-06-16 05:59:40'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333305 -2.776747)', '2026-06-16 05:59:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.776721)'), GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.776747)'))) / (select extract(epoch from '2026-06-16 05:59:48'::timestamp) - extract(epoch from '2026-06-16 05:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.776721)'), GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.776747)'))) / (select extract(epoch from '2026-06-16 05:59:48'::timestamp) - extract(epoch from '2026-06-16 05:59: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'), 46723, 'SRID=4674;POINT (-40.333283 -2.776789)', '2026-06-16 06:00:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.776747)'), GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.776789)'))) / (select extract(epoch from '2026-06-16 06:00:01'::timestamp) - extract(epoch from '2026-06-16 05:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.776747)'), GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.776789)'))) / (select extract(epoch from '2026-06-16 06:00:01'::timestamp) - extract(epoch from '2026-06-16 05: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'), 46723, 'SRID=4674;POINT (-40.333307 -2.7768)', '2026-06-16 06:00:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.776789)'), GeomFromEWKT('SRID=4674;POINT (-40.333307 -2.7768)'))) / (select extract(epoch from '2026-06-16 06:00:17'::timestamp) - extract(epoch from '2026-06-16 06:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.776789)'), GeomFromEWKT('SRID=4674;POINT (-40.333307 -2.7768)'))) / (select extract(epoch from '2026-06-16 06:00:17'::timestamp) - extract(epoch from '2026-06-16 06:00: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'), 46723, 'SRID=4674;POINT (-40.333265 -2.776809)', '2026-06-16 06:00:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333307 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.776809)'))) / (select extract(epoch from '2026-06-16 06:00:31'::timestamp) - extract(epoch from '2026-06-16 06:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333307 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.776809)'))) / (select extract(epoch from '2026-06-16 06:00:31'::timestamp) - extract(epoch from '2026-06-16 06:00: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'), 46723, 'SRID=4674;POINT (-40.333248 -2.776813)', '2026-06-16 06:00:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.776809)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.776813)'))) / (select extract(epoch from '2026-06-16 06:00:46'::timestamp) - extract(epoch from '2026-06-16 06:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.776809)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.776813)'))) / (select extract(epoch from '2026-06-16 06:00:46'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.33325 -2.776811)', '2026-06-16 06:00:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.776813)'), GeomFromEWKT('SRID=4674;POINT (-40.33325 -2.776811)'))) / (select extract(epoch from '2026-06-16 06:00:56'::timestamp) - extract(epoch from '2026-06-16 06:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.776813)'), GeomFromEWKT('SRID=4674;POINT (-40.33325 -2.776811)'))) / (select extract(epoch from '2026-06-16 06:00:56'::timestamp) - extract(epoch from '2026-06-16 06:00: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'), 46723, 'SRID=4674;POINT (-40.333243 -2.776819)', '2026-06-16 06:01:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33325 -2.776811)'), GeomFromEWKT('SRID=4674;POINT (-40.333243 -2.776819)'))) / (select extract(epoch from '2026-06-16 06:01:12'::timestamp) - extract(epoch from '2026-06-16 06:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33325 -2.776811)'), GeomFromEWKT('SRID=4674;POINT (-40.333243 -2.776819)'))) / (select extract(epoch from '2026-06-16 06:01:12'::timestamp) - extract(epoch from '2026-06-16 06:00: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'), 46723, 'SRID=4674;POINT (-40.33324 -2.776806)', '2026-06-16 06:01:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333243 -2.776819)'), GeomFromEWKT('SRID=4674;POINT (-40.33324 -2.776806)'))) / (select extract(epoch from '2026-06-16 06:01:29'::timestamp) - extract(epoch from '2026-06-16 06:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333243 -2.776819)'), GeomFromEWKT('SRID=4674;POINT (-40.33324 -2.776806)'))) / (select extract(epoch from '2026-06-16 06:01:29'::timestamp) - extract(epoch from '2026-06-16 06:01: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'), 46723, 'SRID=4674;POINT (-40.333238 -2.776801)', '2026-06-16 06:01:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33324 -2.776806)'), GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776801)'))) / (select extract(epoch from '2026-06-16 06:01:40'::timestamp) - extract(epoch from '2026-06-16 06:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33324 -2.776806)'), GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776801)'))) / (select extract(epoch from '2026-06-16 06:01:40'::timestamp) - extract(epoch from '2026-06-16 06:01: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'), 46723, 'SRID=4674;POINT (-40.333237 -2.776796)', '2026-06-16 06:01:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776801)'), GeomFromEWKT('SRID=4674;POINT (-40.333237 -2.776796)'))) / (select extract(epoch from '2026-06-16 06:01:49'::timestamp) - extract(epoch from '2026-06-16 06:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776801)'), GeomFromEWKT('SRID=4674;POINT (-40.333237 -2.776796)'))) / (select extract(epoch from '2026-06-16 06:01:49'::timestamp) - extract(epoch from '2026-06-16 06:01: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'), 46723, 'SRID=4674;POINT (-40.333236 -2.776796)', '2026-06-16 06:02:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333237 -2.776796)'), GeomFromEWKT('SRID=4674;POINT (-40.333236 -2.776796)'))) / (select extract(epoch from '2026-06-16 06:02:01'::timestamp) - extract(epoch from '2026-06-16 06:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333237 -2.776796)'), GeomFromEWKT('SRID=4674;POINT (-40.333236 -2.776796)'))) / (select extract(epoch from '2026-06-16 06:02:01'::timestamp) - extract(epoch from '2026-06-16 06:01: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'), 46723, 'SRID=4674;POINT (-40.333233 -2.776798)', '2026-06-16 06:02:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333236 -2.776796)'), GeomFromEWKT('SRID=4674;POINT (-40.333233 -2.776798)'))) / (select extract(epoch from '2026-06-16 06:02:14'::timestamp) - extract(epoch from '2026-06-16 06:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333236 -2.776796)'), GeomFromEWKT('SRID=4674;POINT (-40.333233 -2.776798)'))) / (select extract(epoch from '2026-06-16 06:02:14'::timestamp) - extract(epoch from '2026-06-16 06:02: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'), 46723, 'SRID=4674;POINT (-40.333235 -2.776788)', '2026-06-16 06:02:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333233 -2.776798)'), GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.776788)'))) / (select extract(epoch from '2026-06-16 06:02:30'::timestamp) - extract(epoch from '2026-06-16 06:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333233 -2.776798)'), GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.776788)'))) / (select extract(epoch from '2026-06-16 06:02:30'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333249 -2.776796)', '2026-06-16 06:02:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.776788)'), GeomFromEWKT('SRID=4674;POINT (-40.333249 -2.776796)'))) / (select extract(epoch from '2026-06-16 06:02:41'::timestamp) - extract(epoch from '2026-06-16 06:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333235 -2.776788)'), GeomFromEWKT('SRID=4674;POINT (-40.333249 -2.776796)'))) / (select extract(epoch from '2026-06-16 06:02:41'::timestamp) - extract(epoch from '2026-06-16 06:02: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'), 46723, 'SRID=4674;POINT (-40.333238 -2.776806)', '2026-06-16 06:02:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333249 -2.776796)'), GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776806)'))) / (select extract(epoch from '2026-06-16 06:02:54'::timestamp) - extract(epoch from '2026-06-16 06:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333249 -2.776796)'), GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776806)'))) / (select extract(epoch from '2026-06-16 06:02:54'::timestamp) - extract(epoch from '2026-06-16 06:02: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'), 46723, 'SRID=4674;POINT (-40.333185 -2.776862)', '2026-06-16 06:03:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776806)'), GeomFromEWKT('SRID=4674;POINT (-40.333185 -2.776862)'))) / (select extract(epoch from '2026-06-16 06:03:09'::timestamp) - extract(epoch from '2026-06-16 06:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333238 -2.776806)'), GeomFromEWKT('SRID=4674;POINT (-40.333185 -2.776862)'))) / (select extract(epoch from '2026-06-16 06:03:09'::timestamp) - extract(epoch from '2026-06-16 06:02: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'), 46723, 'SRID=4674;POINT (-40.333098 -2.776927)', '2026-06-16 06:03:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333185 -2.776862)'), GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.776927)'))) / (select extract(epoch from '2026-06-16 06:03:28'::timestamp) - extract(epoch from '2026-06-16 06:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333185 -2.776862)'), GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.776927)'))) / (select extract(epoch from '2026-06-16 06:03:28'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333043 -2.777006)', '2026-06-16 06:03:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.776927)'), GeomFromEWKT('SRID=4674;POINT (-40.333043 -2.777006)'))) / (select extract(epoch from '2026-06-16 06:03:43'::timestamp) - extract(epoch from '2026-06-16 06:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.776927)'), GeomFromEWKT('SRID=4674;POINT (-40.333043 -2.777006)'))) / (select extract(epoch from '2026-06-16 06:03:43'::timestamp) - extract(epoch from '2026-06-16 06:03: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'), 46723, 'SRID=4674;POINT (-40.333042 -2.777018)', '2026-06-16 06:03:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333043 -2.777006)'), GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.777018)'))) / (select extract(epoch from '2026-06-16 06:03:57'::timestamp) - extract(epoch from '2026-06-16 06:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333043 -2.777006)'), GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.777018)'))) / (select extract(epoch from '2026-06-16 06:03:57'::timestamp) - extract(epoch from '2026-06-16 06:03: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'), 46723, 'SRID=4674;POINT (-40.333037 -2.777049)', '2026-06-16 06:04:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.777018)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777049)'))) / (select extract(epoch from '2026-06-16 06:04:08'::timestamp) - extract(epoch from '2026-06-16 06:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.777018)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777049)'))) / (select extract(epoch from '2026-06-16 06:04:08'::timestamp) - extract(epoch from '2026-06-16 06:03: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'), 46723, 'SRID=4674;POINT (-40.33302 -2.777049)', '2026-06-16 06:04:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777049)'), GeomFromEWKT('SRID=4674;POINT (-40.33302 -2.777049)'))) / (select extract(epoch from '2026-06-16 06:04:24'::timestamp) - extract(epoch from '2026-06-16 06:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777049)'), GeomFromEWKT('SRID=4674;POINT (-40.33302 -2.777049)'))) / (select extract(epoch from '2026-06-16 06:04:24'::timestamp) - extract(epoch from '2026-06-16 06:04: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'), 46723, 'SRID=4674;POINT (-40.333037 -2.77704)', '2026-06-16 06:04:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33302 -2.777049)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.77704)'))) / (select extract(epoch from '2026-06-16 06:04:44'::timestamp) - extract(epoch from '2026-06-16 06:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33302 -2.777049)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.77704)'))) / (select extract(epoch from '2026-06-16 06:04:44'::timestamp) - extract(epoch from '2026-06-16 06:04: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'), 46723, 'SRID=4674;POINT (-40.333044 -2.777043)', '2026-06-16 06:05:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.77704)'), GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777043)'))) / (select extract(epoch from '2026-06-16 06:05:02'::timestamp) - extract(epoch from '2026-06-16 06:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.77704)'), GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777043)'))) / (select extract(epoch from '2026-06-16 06:05:02'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333037 -2.777031)', '2026-06-16 06:05:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777043)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777031)'))) / (select extract(epoch from '2026-06-16 06:05:17'::timestamp) - extract(epoch from '2026-06-16 06:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777043)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777031)'))) / (select extract(epoch from '2026-06-16 06:05:17'::timestamp) - extract(epoch from '2026-06-16 06:05: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'), 46723, 'SRID=4674;POINT (-40.333037 -2.777019)', '2026-06-16 06:05:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777031)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777019)'))) / (select extract(epoch from '2026-06-16 06:05:31'::timestamp) - extract(epoch from '2026-06-16 06:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777031)'), GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777019)'))) / (select extract(epoch from '2026-06-16 06:05:31'::timestamp) - extract(epoch from '2026-06-16 06:05: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'), 46723, 'SRID=4674;POINT (-40.333044 -2.777022)', '2026-06-16 06:05:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777019)'), GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777022)'))) / (select extract(epoch from '2026-06-16 06:05:43'::timestamp) - extract(epoch from '2026-06-16 06:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333037 -2.777019)'), GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777022)'))) / (select extract(epoch from '2026-06-16 06:05:43'::timestamp) - extract(epoch from '2026-06-16 06:05: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'), 46723, 'SRID=4674;POINT (-40.333054 -2.777029)', '2026-06-16 06:06:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777022)'), GeomFromEWKT('SRID=4674;POINT (-40.333054 -2.777029)'))) / (select extract(epoch from '2026-06-16 06:06:01'::timestamp) - extract(epoch from '2026-06-16 06:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333044 -2.777022)'), GeomFromEWKT('SRID=4674;POINT (-40.333054 -2.777029)'))) / (select extract(epoch from '2026-06-16 06:06:01'::timestamp) - extract(epoch from '2026-06-16 06:05: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'), 46723, 'SRID=4674;POINT (-40.33305 -2.777032)', '2026-06-16 06:06:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333054 -2.777029)'), GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.777032)'))) / (select extract(epoch from '2026-06-16 06:06:19'::timestamp) - extract(epoch from '2026-06-16 06:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333054 -2.777029)'), GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.777032)'))) / (select extract(epoch from '2026-06-16 06:06:19'::timestamp) - extract(epoch from '2026-06-16 06:06: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'), 46723, 'SRID=4674;POINT (-40.333053 -2.777031)', '2026-06-16 06:06:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.777032)'), GeomFromEWKT('SRID=4674;POINT (-40.333053 -2.777031)'))) / (select extract(epoch from '2026-06-16 06:06:26'::timestamp) - extract(epoch from '2026-06-16 06:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.777032)'), GeomFromEWKT('SRID=4674;POINT (-40.333053 -2.777031)'))) / (select extract(epoch from '2026-06-16 06:06:26'::timestamp) - extract(epoch from '2026-06-16 06:06: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'), 46723, 'SRID=4674;POINT (-40.333051 -2.777033)', '2026-06-16 06:06:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333053 -2.777031)'), GeomFromEWKT('SRID=4674;POINT (-40.333051 -2.777033)'))) / (select extract(epoch from '2026-06-16 06:06:40'::timestamp) - extract(epoch from '2026-06-16 06:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333053 -2.777031)'), GeomFromEWKT('SRID=4674;POINT (-40.333051 -2.777033)'))) / (select extract(epoch from '2026-06-16 06:06:40'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333056 -2.777027)', '2026-06-16 06:06:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333051 -2.777033)'), GeomFromEWKT('SRID=4674;POINT (-40.333056 -2.777027)'))) / (select extract(epoch from '2026-06-16 06:06:56'::timestamp) - extract(epoch from '2026-06-16 06:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333051 -2.777033)'), GeomFromEWKT('SRID=4674;POINT (-40.333056 -2.777027)'))) / (select extract(epoch from '2026-06-16 06:06:56'::timestamp) - extract(epoch from '2026-06-16 06:06: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'), 46723, 'SRID=4674;POINT (-40.333068 -2.777013)', '2026-06-16 06:07:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333056 -2.777027)'), GeomFromEWKT('SRID=4674;POINT (-40.333068 -2.777013)'))) / (select extract(epoch from '2026-06-16 06:07:06'::timestamp) - extract(epoch from '2026-06-16 06:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333056 -2.777027)'), GeomFromEWKT('SRID=4674;POINT (-40.333068 -2.777013)'))) / (select extract(epoch from '2026-06-16 06:07:06'::timestamp) - extract(epoch from '2026-06-16 06:06: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'), 46723, 'SRID=4674;POINT (-40.333084 -2.777006)', '2026-06-16 06:07:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333068 -2.777013)'), GeomFromEWKT('SRID=4674;POINT (-40.333084 -2.777006)'))) / (select extract(epoch from '2026-06-16 06:07:20'::timestamp) - extract(epoch from '2026-06-16 06:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333068 -2.777013)'), GeomFromEWKT('SRID=4674;POINT (-40.333084 -2.777006)'))) / (select extract(epoch from '2026-06-16 06:07:20'::timestamp) - extract(epoch from '2026-06-16 06:07: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'), 46723, 'SRID=4674;POINT (-40.333105 -2.776979)', '2026-06-16 06:07:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333084 -2.777006)'), GeomFromEWKT('SRID=4674;POINT (-40.333105 -2.776979)'))) / (select extract(epoch from '2026-06-16 06:07:32'::timestamp) - extract(epoch from '2026-06-16 06:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333084 -2.777006)'), GeomFromEWKT('SRID=4674;POINT (-40.333105 -2.776979)'))) / (select extract(epoch from '2026-06-16 06:07:32'::timestamp) - extract(epoch from '2026-06-16 06:07: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'), 46723, 'SRID=4674;POINT (-40.333125 -2.776951)', '2026-06-16 06:07:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333105 -2.776979)'), GeomFromEWKT('SRID=4674;POINT (-40.333125 -2.776951)'))) / (select extract(epoch from '2026-06-16 06:07:46'::timestamp) - extract(epoch from '2026-06-16 06:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333105 -2.776979)'), GeomFromEWKT('SRID=4674;POINT (-40.333125 -2.776951)'))) / (select extract(epoch from '2026-06-16 06:07:46'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333148 -2.776929)', '2026-06-16 06:07:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333125 -2.776951)'), GeomFromEWKT('SRID=4674;POINT (-40.333148 -2.776929)'))) / (select extract(epoch from '2026-06-16 06:07:58'::timestamp) - extract(epoch from '2026-06-16 06:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333125 -2.776951)'), GeomFromEWKT('SRID=4674;POINT (-40.333148 -2.776929)'))) / (select extract(epoch from '2026-06-16 06:07:58'::timestamp) - extract(epoch from '2026-06-16 06:07: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'), 46723, 'SRID=4674;POINT (-40.333169 -2.776909)', '2026-06-16 06:08:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333148 -2.776929)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.776909)'))) / (select extract(epoch from '2026-06-16 06:08:07'::timestamp) - extract(epoch from '2026-06-16 06:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333148 -2.776929)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.776909)'))) / (select extract(epoch from '2026-06-16 06:08:07'::timestamp) - extract(epoch from '2026-06-16 06:07: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'), 46723, 'SRID=4674;POINT (-40.333199 -2.776882)', '2026-06-16 06:08:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.776909)'), GeomFromEWKT('SRID=4674;POINT (-40.333199 -2.776882)'))) / (select extract(epoch from '2026-06-16 06:08:19'::timestamp) - extract(epoch from '2026-06-16 06:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.776909)'), GeomFromEWKT('SRID=4674;POINT (-40.333199 -2.776882)'))) / (select extract(epoch from '2026-06-16 06:08:19'::timestamp) - extract(epoch from '2026-06-16 06:08: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'), 46723, 'SRID=4674;POINT (-40.333225 -2.776863)', '2026-06-16 06:08:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333199 -2.776882)'), GeomFromEWKT('SRID=4674;POINT (-40.333225 -2.776863)'))) / (select extract(epoch from '2026-06-16 06:08:33'::timestamp) - extract(epoch from '2026-06-16 06:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333199 -2.776882)'), GeomFromEWKT('SRID=4674;POINT (-40.333225 -2.776863)'))) / (select extract(epoch from '2026-06-16 06:08:33'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333257 -2.776831)', '2026-06-16 06:08:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333225 -2.776863)'), GeomFromEWKT('SRID=4674;POINT (-40.333257 -2.776831)'))) / (select extract(epoch from '2026-06-16 06:08:50'::timestamp) - extract(epoch from '2026-06-16 06:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333225 -2.776863)'), GeomFromEWKT('SRID=4674;POINT (-40.333257 -2.776831)'))) / (select extract(epoch from '2026-06-16 06:08:50'::timestamp) - extract(epoch from '2026-06-16 06:08: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'), 46723, 'SRID=4674;POINT (-40.333274 -2.776816)', '2026-06-16 06:09:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333257 -2.776831)'), GeomFromEWKT('SRID=4674;POINT (-40.333274 -2.776816)'))) / (select extract(epoch from '2026-06-16 06:09:01'::timestamp) - extract(epoch from '2026-06-16 06:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333257 -2.776831)'), GeomFromEWKT('SRID=4674;POINT (-40.333274 -2.776816)'))) / (select extract(epoch from '2026-06-16 06:09:01'::timestamp) - extract(epoch from '2026-06-16 06:08: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'), 46723, 'SRID=4674;POINT (-40.333285 -2.776814)', '2026-06-16 06:09:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333274 -2.776816)'), GeomFromEWKT('SRID=4674;POINT (-40.333285 -2.776814)'))) / (select extract(epoch from '2026-06-16 06:09:12'::timestamp) - extract(epoch from '2026-06-16 06:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333274 -2.776816)'), GeomFromEWKT('SRID=4674;POINT (-40.333285 -2.776814)'))) / (select extract(epoch from '2026-06-16 06:09:12'::timestamp) - extract(epoch from '2026-06-16 06:09: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'), 46723, 'SRID=4674;POINT (-40.333314 -2.776797)', '2026-06-16 06:09:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333285 -2.776814)'), GeomFromEWKT('SRID=4674;POINT (-40.333314 -2.776797)'))) / (select extract(epoch from '2026-06-16 06:09:25'::timestamp) - extract(epoch from '2026-06-16 06:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333285 -2.776814)'), GeomFromEWKT('SRID=4674;POINT (-40.333314 -2.776797)'))) / (select extract(epoch from '2026-06-16 06:09:25'::timestamp) - extract(epoch from '2026-06-16 06:09: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'), 46723, 'SRID=4674;POINT (-40.333343 -2.776766)', '2026-06-16 06:09:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333314 -2.776797)'), GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.776766)'))) / (select extract(epoch from '2026-06-16 06:09:38'::timestamp) - extract(epoch from '2026-06-16 06:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333314 -2.776797)'), GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.776766)'))) / (select extract(epoch from '2026-06-16 06:09:38'::timestamp) - extract(epoch from '2026-06-16 06:09: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'), 46723, 'SRID=4674;POINT (-40.333373 -2.776716)', '2026-06-16 06:09:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.776766)'), GeomFromEWKT('SRID=4674;POINT (-40.333373 -2.776716)'))) / (select extract(epoch from '2026-06-16 06:09:53'::timestamp) - extract(epoch from '2026-06-16 06:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.776766)'), GeomFromEWKT('SRID=4674;POINT (-40.333373 -2.776716)'))) / (select extract(epoch from '2026-06-16 06:09:53'::timestamp) - extract(epoch from '2026-06-16 06:09: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'), 46723, 'SRID=4674;POINT (-40.3334 -2.776688)', '2026-06-16 06:10:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333373 -2.776716)'), GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.776688)'))) / (select extract(epoch from '2026-06-16 06:10:05'::timestamp) - extract(epoch from '2026-06-16 06:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333373 -2.776716)'), GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.776688)'))) / (select extract(epoch from '2026-06-16 06:10:05'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333414 -2.776674)', '2026-06-16 06:10:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.776688)'), GeomFromEWKT('SRID=4674;POINT (-40.333414 -2.776674)'))) / (select extract(epoch from '2026-06-16 06:10:18'::timestamp) - extract(epoch from '2026-06-16 06:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.776688)'), GeomFromEWKT('SRID=4674;POINT (-40.333414 -2.776674)'))) / (select extract(epoch from '2026-06-16 06:10:18'::timestamp) - extract(epoch from '2026-06-16 06:10: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'), 46723, 'SRID=4674;POINT (-40.333446 -2.776658)', '2026-06-16 06:10:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333414 -2.776674)'), GeomFromEWKT('SRID=4674;POINT (-40.333446 -2.776658)'))) / (select extract(epoch from '2026-06-16 06:10:28'::timestamp) - extract(epoch from '2026-06-16 06:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333414 -2.776674)'), GeomFromEWKT('SRID=4674;POINT (-40.333446 -2.776658)'))) / (select extract(epoch from '2026-06-16 06:10:28'::timestamp) - extract(epoch from '2026-06-16 06:10: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'), 46723, 'SRID=4674;POINT (-40.333395 -2.776598)', '2026-06-16 06:10:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333446 -2.776658)'), GeomFromEWKT('SRID=4674;POINT (-40.333395 -2.776598)'))) / (select extract(epoch from '2026-06-16 06:10:36'::timestamp) - extract(epoch from '2026-06-16 06:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333446 -2.776658)'), GeomFromEWKT('SRID=4674;POINT (-40.333395 -2.776598)'))) / (select extract(epoch from '2026-06-16 06:10:36'::timestamp) - extract(epoch from '2026-06-16 06:10: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'), 46723, 'SRID=4674;POINT (-40.333258 -2.776546)', '2026-06-16 06:10:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333395 -2.776598)'), GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.776546)'))) / (select extract(epoch from '2026-06-16 06:10:45'::timestamp) - extract(epoch from '2026-06-16 06:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333395 -2.776598)'), GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.776546)'))) / (select extract(epoch from '2026-06-16 06:10:45'::timestamp) - extract(epoch from '2026-06-16 06:10: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'), 46723, 'SRID=4674;POINT (-40.33311 -2.776552)', '2026-06-16 06:10:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.776546)'), GeomFromEWKT('SRID=4674;POINT (-40.33311 -2.776552)'))) / (select extract(epoch from '2026-06-16 06:10:53'::timestamp) - extract(epoch from '2026-06-16 06:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.776546)'), GeomFromEWKT('SRID=4674;POINT (-40.33311 -2.776552)'))) / (select extract(epoch from '2026-06-16 06:10:53'::timestamp) - extract(epoch from '2026-06-16 06:10: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'), 46723, 'SRID=4674;POINT (-40.332972 -2.776601)', '2026-06-16 06:11:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33311 -2.776552)'), GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.776601)'))) / (select extract(epoch from '2026-06-16 06:11:01'::timestamp) - extract(epoch from '2026-06-16 06:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33311 -2.776552)'), GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.776601)'))) / (select extract(epoch from '2026-06-16 06:11:01'::timestamp) - extract(epoch from '2026-06-16 06:10: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'), 46723, 'SRID=4674;POINT (-40.332859 -2.776645)', '2026-06-16 06:11:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.776601)'), GeomFromEWKT('SRID=4674;POINT (-40.332859 -2.776645)'))) / (select extract(epoch from '2026-06-16 06:11:09'::timestamp) - extract(epoch from '2026-06-16 06:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.776601)'), GeomFromEWKT('SRID=4674;POINT (-40.332859 -2.776645)'))) / (select extract(epoch from '2026-06-16 06:11:09'::timestamp) - extract(epoch from '2026-06-16 06:11: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'), 46723, 'SRID=4674;POINT (-40.332732 -2.776699)', '2026-06-16 06:11:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332859 -2.776645)'), GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.776699)'))) / (select extract(epoch from '2026-06-16 06:11:17'::timestamp) - extract(epoch from '2026-06-16 06:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332859 -2.776645)'), GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.776699)'))) / (select extract(epoch from '2026-06-16 06:11:17'::timestamp) - extract(epoch from '2026-06-16 06:11: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'), 46723, 'SRID=4674;POINT (-40.332623 -2.776729)', '2026-06-16 06:11:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.776699)'), GeomFromEWKT('SRID=4674;POINT (-40.332623 -2.776729)'))) / (select extract(epoch from '2026-06-16 06:11:24'::timestamp) - extract(epoch from '2026-06-16 06:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.776699)'), GeomFromEWKT('SRID=4674;POINT (-40.332623 -2.776729)'))) / (select extract(epoch from '2026-06-16 06:11:24'::timestamp) - extract(epoch from '2026-06-16 06:11: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'), 46723, 'SRID=4674;POINT (-40.33249 -2.776709)', '2026-06-16 06:11:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332623 -2.776729)'), GeomFromEWKT('SRID=4674;POINT (-40.33249 -2.776709)'))) / (select extract(epoch from '2026-06-16 06:11:32'::timestamp) - extract(epoch from '2026-06-16 06:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332623 -2.776729)'), GeomFromEWKT('SRID=4674;POINT (-40.33249 -2.776709)'))) / (select extract(epoch from '2026-06-16 06:11:32'::timestamp) - extract(epoch from '2026-06-16 06:11: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'), 46723, 'SRID=4674;POINT (-40.332348 -2.776695)', '2026-06-16 06:11:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33249 -2.776709)'), GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.776695)'))) / (select extract(epoch from '2026-06-16 06:11:40'::timestamp) - extract(epoch from '2026-06-16 06:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33249 -2.776709)'), GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.776695)'))) / (select extract(epoch from '2026-06-16 06:11:40'::timestamp) - extract(epoch from '2026-06-16 06:11: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'), 46723, 'SRID=4674;POINT (-40.332197 -2.776686)', '2026-06-16 06:11:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.776695)'), GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.776686)'))) / (select extract(epoch from '2026-06-16 06:11:49'::timestamp) - extract(epoch from '2026-06-16 06:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.776695)'), GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.776686)'))) / (select extract(epoch from '2026-06-16 06:11:49'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.332041 -2.776665)', '2026-06-16 06:11:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.776686)'), GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.776665)'))) / (select extract(epoch from '2026-06-16 06:11:58'::timestamp) - extract(epoch from '2026-06-16 06:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332197 -2.776686)'), GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.776665)'))) / (select extract(epoch from '2026-06-16 06:11:58'::timestamp) - extract(epoch from '2026-06-16 06:11: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'), 46723, 'SRID=4674;POINT (-40.331887 -2.776623)', '2026-06-16 06:12:07', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.776665)'), GeomFromEWKT('SRID=4674;POINT (-40.331887 -2.776623)'))) / (select extract(epoch from '2026-06-16 06:12:07'::timestamp) - extract(epoch from '2026-06-16 06:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.776665)'), GeomFromEWKT('SRID=4674;POINT (-40.331887 -2.776623)'))) / (select extract(epoch from '2026-06-16 06:12:07'::timestamp) - extract(epoch from '2026-06-16 06:11: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'), 46723, 'SRID=4674;POINT (-40.331743 -2.776597)', '2026-06-16 06:12:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331887 -2.776623)'), GeomFromEWKT('SRID=4674;POINT (-40.331743 -2.776597)'))) / (select extract(epoch from '2026-06-16 06:12:15'::timestamp) - extract(epoch from '2026-06-16 06:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331887 -2.776623)'), GeomFromEWKT('SRID=4674;POINT (-40.331743 -2.776597)'))) / (select extract(epoch from '2026-06-16 06:12:15'::timestamp) - extract(epoch from '2026-06-16 06:12: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'), 46723, 'SRID=4674;POINT (-40.331618 -2.776591)', '2026-06-16 06:12:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331743 -2.776597)'), GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.776591)'))) / (select extract(epoch from '2026-06-16 06:12:23'::timestamp) - extract(epoch from '2026-06-16 06:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331743 -2.776597)'), GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.776591)'))) / (select extract(epoch from '2026-06-16 06:12:23'::timestamp) - extract(epoch from '2026-06-16 06:12: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'), 46723, 'SRID=4674;POINT (-40.331492 -2.776549)', '2026-06-16 06:12:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.776591)'), GeomFromEWKT('SRID=4674;POINT (-40.331492 -2.776549)'))) / (select extract(epoch from '2026-06-16 06:12:31'::timestamp) - extract(epoch from '2026-06-16 06:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331618 -2.776591)'), GeomFromEWKT('SRID=4674;POINT (-40.331492 -2.776549)'))) / (select extract(epoch from '2026-06-16 06:12:31'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.331409 -2.776528)', '2026-06-16 06:12:37', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331492 -2.776549)'), GeomFromEWKT('SRID=4674;POINT (-40.331409 -2.776528)'))) / (select extract(epoch from '2026-06-16 06:12:37'::timestamp) - extract(epoch from '2026-06-16 06:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331492 -2.776549)'), GeomFromEWKT('SRID=4674;POINT (-40.331409 -2.776528)'))) / (select extract(epoch from '2026-06-16 06:12:37'::timestamp) - extract(epoch from '2026-06-16 06:12: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'), 46723, 'SRID=4674;POINT (-40.331335 -2.776471)', '2026-06-16 06:12:44', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331409 -2.776528)'), GeomFromEWKT('SRID=4674;POINT (-40.331335 -2.776471)'))) / (select extract(epoch from '2026-06-16 06:12:44'::timestamp) - extract(epoch from '2026-06-16 06:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331409 -2.776528)'), GeomFromEWKT('SRID=4674;POINT (-40.331335 -2.776471)'))) / (select extract(epoch from '2026-06-16 06:12:44'::timestamp) - extract(epoch from '2026-06-16 06:12: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'), 46723, 'SRID=4674;POINT (-40.331234 -2.776375)', '2026-06-16 06:12:52', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331335 -2.776471)'), GeomFromEWKT('SRID=4674;POINT (-40.331234 -2.776375)'))) / (select extract(epoch from '2026-06-16 06:12:52'::timestamp) - extract(epoch from '2026-06-16 06:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331335 -2.776471)'), GeomFromEWKT('SRID=4674;POINT (-40.331234 -2.776375)'))) / (select extract(epoch from '2026-06-16 06:12:52'::timestamp) - extract(epoch from '2026-06-16 06:12: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'), 46723, 'SRID=4674;POINT (-40.33115 -2.776255)', '2026-06-16 06:13:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331234 -2.776375)'), GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.776255)'))) / (select extract(epoch from '2026-06-16 06:13:00'::timestamp) - extract(epoch from '2026-06-16 06:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331234 -2.776375)'), GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.776255)'))) / (select extract(epoch from '2026-06-16 06:13:00'::timestamp) - extract(epoch from '2026-06-16 06:12: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'), 46723, 'SRID=4674;POINT (-40.33107 -2.776176)', '2026-06-16 06:13:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.776255)'), GeomFromEWKT('SRID=4674;POINT (-40.33107 -2.776176)'))) / (select extract(epoch from '2026-06-16 06:13:07'::timestamp) - extract(epoch from '2026-06-16 06:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.776255)'), GeomFromEWKT('SRID=4674;POINT (-40.33107 -2.776176)'))) / (select extract(epoch from '2026-06-16 06:13:07'::timestamp) - extract(epoch from '2026-06-16 06:13: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'), 46723, 'SRID=4674;POINT (-40.330974 -2.776105)', '2026-06-16 06:13:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33107 -2.776176)'), GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.776105)'))) / (select extract(epoch from '2026-06-16 06:13:14'::timestamp) - extract(epoch from '2026-06-16 06:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33107 -2.776176)'), GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.776105)'))) / (select extract(epoch from '2026-06-16 06:13:14'::timestamp) - extract(epoch from '2026-06-16 06:13: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'), 46723, 'SRID=4674;POINT (-40.33086 -2.776026)', '2026-06-16 06:13:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.776105)'), GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.776026)'))) / (select extract(epoch from '2026-06-16 06:13:22'::timestamp) - extract(epoch from '2026-06-16 06:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.776105)'), GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.776026)'))) / (select extract(epoch from '2026-06-16 06:13:22'::timestamp) - extract(epoch from '2026-06-16 06:13: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'), 46723, 'SRID=4674;POINT (-40.330762 -2.776035)', '2026-06-16 06:13:29', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.776026)'), GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.776035)'))) / (select extract(epoch from '2026-06-16 06:13:29'::timestamp) - extract(epoch from '2026-06-16 06:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.776026)'), GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.776035)'))) / (select extract(epoch from '2026-06-16 06:13:29'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330706 -2.776108)', '2026-06-16 06:13:35', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.776035)'), GeomFromEWKT('SRID=4674;POINT (-40.330706 -2.776108)'))) / (select extract(epoch from '2026-06-16 06:13:35'::timestamp) - extract(epoch from '2026-06-16 06:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.776035)'), GeomFromEWKT('SRID=4674;POINT (-40.330706 -2.776108)'))) / (select extract(epoch from '2026-06-16 06:13:35'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330679 -2.776222)', '2026-06-16 06:13:42', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330706 -2.776108)'), GeomFromEWKT('SRID=4674;POINT (-40.330679 -2.776222)'))) / (select extract(epoch from '2026-06-16 06:13:42'::timestamp) - extract(epoch from '2026-06-16 06:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330706 -2.776108)'), GeomFromEWKT('SRID=4674;POINT (-40.330679 -2.776222)'))) / (select extract(epoch from '2026-06-16 06:13:42'::timestamp) - extract(epoch from '2026-06-16 06:13: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'), 46723, 'SRID=4674;POINT (-40.330673 -2.776355)', '2026-06-16 06:13:49', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330679 -2.776222)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776355)'))) / (select extract(epoch from '2026-06-16 06:13:49'::timestamp) - extract(epoch from '2026-06-16 06:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330679 -2.776222)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776355)'))) / (select extract(epoch from '2026-06-16 06:13:49'::timestamp) - extract(epoch from '2026-06-16 06:13: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'), 46723, 'SRID=4674;POINT (-40.330686 -2.776499)', '2026-06-16 06:13:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776355)'), GeomFromEWKT('SRID=4674;POINT (-40.330686 -2.776499)'))) / (select extract(epoch from '2026-06-16 06:13:57'::timestamp) - extract(epoch from '2026-06-16 06:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776355)'), GeomFromEWKT('SRID=4674;POINT (-40.330686 -2.776499)'))) / (select extract(epoch from '2026-06-16 06:13:57'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.33074 -2.776644)', '2026-06-16 06:14:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330686 -2.776499)'), GeomFromEWKT('SRID=4674;POINT (-40.33074 -2.776644)'))) / (select extract(epoch from '2026-06-16 06:14:05'::timestamp) - extract(epoch from '2026-06-16 06:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330686 -2.776499)'), GeomFromEWKT('SRID=4674;POINT (-40.33074 -2.776644)'))) / (select extract(epoch from '2026-06-16 06:14:05'::timestamp) - extract(epoch from '2026-06-16 06:13: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'), 46723, 'SRID=4674;POINT (-40.33077 -2.776762)', '2026-06-16 06:14:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33074 -2.776644)'), GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.776762)'))) / (select extract(epoch from '2026-06-16 06:14:12'::timestamp) - extract(epoch from '2026-06-16 06:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33074 -2.776644)'), GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.776762)'))) / (select extract(epoch from '2026-06-16 06:14:12'::timestamp) - extract(epoch from '2026-06-16 06:14: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'), 46723, 'SRID=4674;POINT (-40.330766 -2.776871)', '2026-06-16 06:14:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.776762)'), GeomFromEWKT('SRID=4674;POINT (-40.330766 -2.776871)'))) / (select extract(epoch from '2026-06-16 06:14:19'::timestamp) - extract(epoch from '2026-06-16 06:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.776762)'), GeomFromEWKT('SRID=4674;POINT (-40.330766 -2.776871)'))) / (select extract(epoch from '2026-06-16 06:14:19'::timestamp) - extract(epoch from '2026-06-16 06:14: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'), 46723, 'SRID=4674;POINT (-40.330749 -2.776909)', '2026-06-16 06:14:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330766 -2.776871)'), GeomFromEWKT('SRID=4674;POINT (-40.330749 -2.776909)'))) / (select extract(epoch from '2026-06-16 06:14:25'::timestamp) - extract(epoch from '2026-06-16 06:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330766 -2.776871)'), GeomFromEWKT('SRID=4674;POINT (-40.330749 -2.776909)'))) / (select extract(epoch from '2026-06-16 06:14:25'::timestamp) - extract(epoch from '2026-06-16 06:14: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'), 46723, 'SRID=4674;POINT (-40.330725 -2.776918)', '2026-06-16 06:14:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330749 -2.776909)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776918)'))) / (select extract(epoch from '2026-06-16 06:14:38'::timestamp) - extract(epoch from '2026-06-16 06:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330749 -2.776909)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776918)'))) / (select extract(epoch from '2026-06-16 06:14:38'::timestamp) - extract(epoch from '2026-06-16 06:14: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'), 46723, 'SRID=4674;POINT (-40.330704 -2.776939)', '2026-06-16 06:14:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776918)'), GeomFromEWKT('SRID=4674;POINT (-40.330704 -2.776939)'))) / (select extract(epoch from '2026-06-16 06:14:50'::timestamp) - extract(epoch from '2026-06-16 06:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776918)'), GeomFromEWKT('SRID=4674;POINT (-40.330704 -2.776939)'))) / (select extract(epoch from '2026-06-16 06:14:50'::timestamp) - extract(epoch from '2026-06-16 06:14: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'), 46723, 'SRID=4674;POINT (-40.33071 -2.776943)', '2026-06-16 06:15:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330704 -2.776939)'), GeomFromEWKT('SRID=4674;POINT (-40.33071 -2.776943)'))) / (select extract(epoch from '2026-06-16 06:15:04'::timestamp) - extract(epoch from '2026-06-16 06:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330704 -2.776939)'), GeomFromEWKT('SRID=4674;POINT (-40.33071 -2.776943)'))) / (select extract(epoch from '2026-06-16 06:15:04'::timestamp) - extract(epoch from '2026-06-16 06:14: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'), 46723, 'SRID=4674;POINT (-40.330673 -2.776946)', '2026-06-16 06:15:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33071 -2.776943)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776946)'))) / (select extract(epoch from '2026-06-16 06:15:15'::timestamp) - extract(epoch from '2026-06-16 06:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33071 -2.776943)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776946)'))) / (select extract(epoch from '2026-06-16 06:15:15'::timestamp) - extract(epoch from '2026-06-16 06:15: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'), 46723, 'SRID=4674;POINT (-40.330654 -2.776942)', '2026-06-16 06:15:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776946)'), GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776942)'))) / (select extract(epoch from '2026-06-16 06:15:27'::timestamp) - extract(epoch from '2026-06-16 06:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776946)'), GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776942)'))) / (select extract(epoch from '2026-06-16 06:15:27'::timestamp) - extract(epoch from '2026-06-16 06:15: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'), 46723, 'SRID=4674;POINT (-40.330653 -2.776938)', '2026-06-16 06:15:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776942)'), GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.776938)'))) / (select extract(epoch from '2026-06-16 06:15:39'::timestamp) - extract(epoch from '2026-06-16 06:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776942)'), GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.776938)'))) / (select extract(epoch from '2026-06-16 06:15:39'::timestamp) - extract(epoch from '2026-06-16 06:15: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'), 46723, 'SRID=4674;POINT (-40.330654 -2.776937)', '2026-06-16 06:15:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.776938)'), GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776937)'))) / (select extract(epoch from '2026-06-16 06:15:50'::timestamp) - extract(epoch from '2026-06-16 06:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.776938)'), GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776937)'))) / (select extract(epoch from '2026-06-16 06:15:50'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330648 -2.77693)', '2026-06-16 06:16:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776937)'), GeomFromEWKT('SRID=4674;POINT (-40.330648 -2.77693)'))) / (select extract(epoch from '2026-06-16 06:16:02'::timestamp) - extract(epoch from '2026-06-16 06:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330654 -2.776937)'), GeomFromEWKT('SRID=4674;POINT (-40.330648 -2.77693)'))) / (select extract(epoch from '2026-06-16 06:16:02'::timestamp) - extract(epoch from '2026-06-16 06:15: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'), 46723, 'SRID=4674;POINT (-40.33064 -2.776918)', '2026-06-16 06:16:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330648 -2.77693)'), GeomFromEWKT('SRID=4674;POINT (-40.33064 -2.776918)'))) / (select extract(epoch from '2026-06-16 06:16:17'::timestamp) - extract(epoch from '2026-06-16 06:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330648 -2.77693)'), GeomFromEWKT('SRID=4674;POINT (-40.33064 -2.776918)'))) / (select extract(epoch from '2026-06-16 06:16:17'::timestamp) - extract(epoch from '2026-06-16 06:16: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'), 46723, 'SRID=4674;POINT (-40.330639 -2.776919)', '2026-06-16 06:16:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33064 -2.776918)'), GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.776919)'))) / (select extract(epoch from '2026-06-16 06:16:28'::timestamp) - extract(epoch from '2026-06-16 06:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33064 -2.776918)'), GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.776919)'))) / (select extract(epoch from '2026-06-16 06:16:28'::timestamp) - extract(epoch from '2026-06-16 06:16: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'), 46723, 'SRID=4674;POINT (-40.330637 -2.776909)', '2026-06-16 06:16:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.776919)'), GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.776909)'))) / (select extract(epoch from '2026-06-16 06:16:42'::timestamp) - extract(epoch from '2026-06-16 06:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.776919)'), GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.776909)'))) / (select extract(epoch from '2026-06-16 06:16:42'::timestamp) - extract(epoch from '2026-06-16 06:16: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'), 46723, 'SRID=4674;POINT (-40.330632 -2.776904)', '2026-06-16 06:16:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.776909)'), GeomFromEWKT('SRID=4674;POINT (-40.330632 -2.776904)'))) / (select extract(epoch from '2026-06-16 06:16:58'::timestamp) - extract(epoch from '2026-06-16 06:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.776909)'), GeomFromEWKT('SRID=4674;POINT (-40.330632 -2.776904)'))) / (select extract(epoch from '2026-06-16 06:16:58'::timestamp) - extract(epoch from '2026-06-16 06:16: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'), 46723, 'SRID=4674;POINT (-40.330634 -2.7769)', '2026-06-16 06:17:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330632 -2.776904)'), GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.7769)'))) / (select extract(epoch from '2026-06-16 06:17:12'::timestamp) - extract(epoch from '2026-06-16 06:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330632 -2.776904)'), GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.7769)'))) / (select extract(epoch from '2026-06-16 06:17:12'::timestamp) - extract(epoch from '2026-06-16 06:16: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'), 46723, 'SRID=4674;POINT (-40.330624 -2.776911)', '2026-06-16 06:17:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.7769)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776911)'))) / (select extract(epoch from '2026-06-16 06:17:22'::timestamp) - extract(epoch from '2026-06-16 06:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330634 -2.7769)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776911)'))) / (select extract(epoch from '2026-06-16 06:17:22'::timestamp) - extract(epoch from '2026-06-16 06:17: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'), 46723, 'SRID=4674;POINT (-40.330572 -2.776988)', '2026-06-16 06:17:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776911)'), GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.776988)'))) / (select extract(epoch from '2026-06-16 06:17:36'::timestamp) - extract(epoch from '2026-06-16 06:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776911)'), GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.776988)'))) / (select extract(epoch from '2026-06-16 06:17:36'::timestamp) - extract(epoch from '2026-06-16 06:17: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'), 46723, 'SRID=4674;POINT (-40.330551 -2.777061)', '2026-06-16 06:17:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.776988)'), GeomFromEWKT('SRID=4674;POINT (-40.330551 -2.777061)'))) / (select extract(epoch from '2026-06-16 06:17:52'::timestamp) - extract(epoch from '2026-06-16 06:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.776988)'), GeomFromEWKT('SRID=4674;POINT (-40.330551 -2.777061)'))) / (select extract(epoch from '2026-06-16 06:17:52'::timestamp) - extract(epoch from '2026-06-16 06:17: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'), 46723, 'SRID=4674;POINT (-40.33053 -2.777082)', '2026-06-16 06:18:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330551 -2.777061)'), GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.777082)'))) / (select extract(epoch from '2026-06-16 06:18:01'::timestamp) - extract(epoch from '2026-06-16 06:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330551 -2.777061)'), GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.777082)'))) / (select extract(epoch from '2026-06-16 06:18:01'::timestamp) - extract(epoch from '2026-06-16 06:17: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'), 46723, 'SRID=4674;POINT (-40.330511 -2.777098)', '2026-06-16 06:18:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.777082)'), GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.777098)'))) / (select extract(epoch from '2026-06-16 06:18:06'::timestamp) - extract(epoch from '2026-06-16 06:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.777082)'), GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.777098)'))) / (select extract(epoch from '2026-06-16 06:18:06'::timestamp) - extract(epoch from '2026-06-16 06:18: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'), 46723, 'SRID=4674;POINT (-40.330499 -2.777105)', '2026-06-16 06:18:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.777098)'), GeomFromEWKT('SRID=4674;POINT (-40.330499 -2.777105)'))) / (select extract(epoch from '2026-06-16 06:18:21'::timestamp) - extract(epoch from '2026-06-16 06:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.777098)'), GeomFromEWKT('SRID=4674;POINT (-40.330499 -2.777105)'))) / (select extract(epoch from '2026-06-16 06:18:21'::timestamp) - extract(epoch from '2026-06-16 06:18: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'), 46723, 'SRID=4674;POINT (-40.330496 -2.777122)', '2026-06-16 06:18:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330499 -2.777105)'), GeomFromEWKT('SRID=4674;POINT (-40.330496 -2.777122)'))) / (select extract(epoch from '2026-06-16 06:18:30'::timestamp) - extract(epoch from '2026-06-16 06:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330499 -2.777105)'), GeomFromEWKT('SRID=4674;POINT (-40.330496 -2.777122)'))) / (select extract(epoch from '2026-06-16 06:18:30'::timestamp) - extract(epoch from '2026-06-16 06:18: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'), 46723, 'SRID=4674;POINT (-40.330442 -2.777126)', '2026-06-16 06:18:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330496 -2.777122)'), GeomFromEWKT('SRID=4674;POINT (-40.330442 -2.777126)'))) / (select extract(epoch from '2026-06-16 06:18:46'::timestamp) - extract(epoch from '2026-06-16 06:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330496 -2.777122)'), GeomFromEWKT('SRID=4674;POINT (-40.330442 -2.777126)'))) / (select extract(epoch from '2026-06-16 06:18:46'::timestamp) - extract(epoch from '2026-06-16 06:18: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'), 46723, 'SRID=4674;POINT (-40.330438 -2.777133)', '2026-06-16 06:19:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330442 -2.777126)'), GeomFromEWKT('SRID=4674;POINT (-40.330438 -2.777133)'))) / (select extract(epoch from '2026-06-16 06:19:03'::timestamp) - extract(epoch from '2026-06-16 06:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330442 -2.777126)'), GeomFromEWKT('SRID=4674;POINT (-40.330438 -2.777133)'))) / (select extract(epoch from '2026-06-16 06:19:03'::timestamp) - extract(epoch from '2026-06-16 06:18: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'), 46723, 'SRID=4674;POINT (-40.330434 -2.777123)', '2026-06-16 06:19:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330438 -2.777133)'), GeomFromEWKT('SRID=4674;POINT (-40.330434 -2.777123)'))) / (select extract(epoch from '2026-06-16 06:19:20'::timestamp) - extract(epoch from '2026-06-16 06:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330438 -2.777133)'), GeomFromEWKT('SRID=4674;POINT (-40.330434 -2.777123)'))) / (select extract(epoch from '2026-06-16 06:19:20'::timestamp) - extract(epoch from '2026-06-16 06:19: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'), 46723, 'SRID=4674;POINT (-40.330429 -2.777126)', '2026-06-16 06:19:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330434 -2.777123)'), GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.777126)'))) / (select extract(epoch from '2026-06-16 06:19:33'::timestamp) - extract(epoch from '2026-06-16 06:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330434 -2.777123)'), GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.777126)'))) / (select extract(epoch from '2026-06-16 06:19:33'::timestamp) - extract(epoch from '2026-06-16 06:19: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'), 46723, 'SRID=4674;POINT (-40.330433 -2.777139)', '2026-06-16 06:19:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.777126)'), GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777139)'))) / (select extract(epoch from '2026-06-16 06:19:48'::timestamp) - extract(epoch from '2026-06-16 06:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.777126)'), GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777139)'))) / (select extract(epoch from '2026-06-16 06:19:48'::timestamp) - extract(epoch from '2026-06-16 06:19: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'), 46723, 'SRID=4674;POINT (-40.330437 -2.777137)', '2026-06-16 06:20:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777139)'), GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777137)'))) / (select extract(epoch from '2026-06-16 06:20:03'::timestamp) - extract(epoch from '2026-06-16 06:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777139)'), GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777137)'))) / (select extract(epoch from '2026-06-16 06:20:03'::timestamp) - extract(epoch from '2026-06-16 06:19: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'), 46723, 'SRID=4674;POINT (-40.330436 -2.77714)', '2026-06-16 06:20:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777137)'), GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.77714)'))) / (select extract(epoch from '2026-06-16 06:20:14'::timestamp) - extract(epoch from '2026-06-16 06:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777137)'), GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.77714)'))) / (select extract(epoch from '2026-06-16 06:20:14'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.33044 -2.777155)', '2026-06-16 06:20:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.77714)'), GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777155)'))) / (select extract(epoch from '2026-06-16 06:20:22'::timestamp) - extract(epoch from '2026-06-16 06:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.77714)'), GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777155)'))) / (select extract(epoch from '2026-06-16 06:20:22'::timestamp) - extract(epoch from '2026-06-16 06:20: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'), 46723, 'SRID=4674;POINT (-40.330439 -2.777145)', '2026-06-16 06:20:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777155)'), GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.777145)'))) / (select extract(epoch from '2026-06-16 06:20:37'::timestamp) - extract(epoch from '2026-06-16 06:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777155)'), GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.777145)'))) / (select extract(epoch from '2026-06-16 06:20:37'::timestamp) - extract(epoch from '2026-06-16 06:20: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'), 46723, 'SRID=4674;POINT (-40.330436 -2.777133)', '2026-06-16 06:20:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.777145)'), GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.777133)'))) / (select extract(epoch from '2026-06-16 06:20:49'::timestamp) - extract(epoch from '2026-06-16 06:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.777145)'), GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.777133)'))) / (select extract(epoch from '2026-06-16 06:20:49'::timestamp) - extract(epoch from '2026-06-16 06:20: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'), 46723, 'SRID=4674;POINT (-40.33044 -2.777131)', '2026-06-16 06:20:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.777133)'), GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777131)'))) / (select extract(epoch from '2026-06-16 06:20:57'::timestamp) - extract(epoch from '2026-06-16 06:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.777133)'), GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777131)'))) / (select extract(epoch from '2026-06-16 06:20:57'::timestamp) - extract(epoch from '2026-06-16 06:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
