 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.342528 -2.800164)', '2026-06-29 08:05:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342616 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.800164)'))) / (select extract(epoch from '2026-06-29 08:05:54'::timestamp) - extract(epoch from '2026-06-29 08:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342616 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.800164)'))) / (select extract(epoch from '2026-06-29 08:05:54'::timestamp) - extract(epoch from '2026-06-29 08:05: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'), 46720, 'SRID=4674;POINT (-40.342501 -2.800174)', '2026-06-29 08:06:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.342501 -2.800174)'))) / (select extract(epoch from '2026-06-29 08:06:06'::timestamp) - extract(epoch from '2026-06-29 08:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.342501 -2.800174)'))) / (select extract(epoch from '2026-06-29 08:06:06'::timestamp) - extract(epoch from '2026-06-29 08:05: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'), 46720, 'SRID=4674;POINT (-40.34246 -2.800204)', '2026-06-29 08:06:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342501 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.34246 -2.800204)'))) / (select extract(epoch from '2026-06-29 08:06:24'::timestamp) - extract(epoch from '2026-06-29 08:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342501 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.34246 -2.800204)'))) / (select extract(epoch from '2026-06-29 08:06:24'::timestamp) - extract(epoch from '2026-06-29 08:06: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'), 46720, 'SRID=4674;POINT (-40.342355 -2.800178)', '2026-06-29 08:06:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34246 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.342355 -2.800178)'))) / (select extract(epoch from '2026-06-29 08:06:40'::timestamp) - extract(epoch from '2026-06-29 08:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34246 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.342355 -2.800178)'))) / (select extract(epoch from '2026-06-29 08:06:40'::timestamp) - extract(epoch from '2026-06-29 08:06: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'), 46720, 'SRID=4674;POINT (-40.342251 -2.800168)', '2026-06-29 08:06:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342355 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.800168)'))) / (select extract(epoch from '2026-06-29 08:06:54'::timestamp) - extract(epoch from '2026-06-29 08:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342355 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.800168)'))) / (select extract(epoch from '2026-06-29 08:06:54'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.342181 -2.800198)', '2026-06-29 08:07:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.800168)'), GeomFromEWKT('SRID=4674;POINT (-40.342181 -2.800198)'))) / (select extract(epoch from '2026-06-29 08:07:08'::timestamp) - extract(epoch from '2026-06-29 08:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.800168)'), GeomFromEWKT('SRID=4674;POINT (-40.342181 -2.800198)'))) / (select extract(epoch from '2026-06-29 08:07:08'::timestamp) - extract(epoch from '2026-06-29 08:06: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'), 46720, 'SRID=4674;POINT (-40.342126 -2.800228)', '2026-06-29 08:07:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342181 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.800228)'))) / (select extract(epoch from '2026-06-29 08:07:25'::timestamp) - extract(epoch from '2026-06-29 08:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342181 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.800228)'))) / (select extract(epoch from '2026-06-29 08:07:25'::timestamp) - extract(epoch from '2026-06-29 08:07: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'), 46720, 'SRID=4674;POINT (-40.34206 -2.800223)', '2026-06-29 08:07:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.34206 -2.800223)'))) / (select extract(epoch from '2026-06-29 08:07:41'::timestamp) - extract(epoch from '2026-06-29 08:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.34206 -2.800223)'))) / (select extract(epoch from '2026-06-29 08:07:41'::timestamp) - extract(epoch from '2026-06-29 08:07: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'), 46720, 'SRID=4674;POINT (-40.34199 -2.800199)', '2026-06-29 08:07:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34206 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800199)'))) / (select extract(epoch from '2026-06-29 08:07:56'::timestamp) - extract(epoch from '2026-06-29 08:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34206 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800199)'))) / (select extract(epoch from '2026-06-29 08:07:56'::timestamp) - extract(epoch from '2026-06-29 08:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341944 -2.800194)', '2026-06-29 08:08:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800199)'), GeomFromEWKT('SRID=4674;POINT (-40.341944 -2.800194)'))) / (select extract(epoch from '2026-06-29 08:08:10'::timestamp) - extract(epoch from '2026-06-29 08:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800199)'), GeomFromEWKT('SRID=4674;POINT (-40.341944 -2.800194)'))) / (select extract(epoch from '2026-06-29 08:08:10'::timestamp) - extract(epoch from '2026-06-29 08:07: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'), 46720, 'SRID=4674;POINT (-40.341872 -2.800203)', '2026-06-29 08:08:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341944 -2.800194)'), GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800203)'))) / (select extract(epoch from '2026-06-29 08:08:27'::timestamp) - extract(epoch from '2026-06-29 08:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341944 -2.800194)'), GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800203)'))) / (select extract(epoch from '2026-06-29 08:08:27'::timestamp) - extract(epoch from '2026-06-29 08:08: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'), 46720, 'SRID=4674;POINT (-40.341777 -2.800191)', '2026-06-29 08:08:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800203)'), GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.800191)'))) / (select extract(epoch from '2026-06-29 08:08:44'::timestamp) - extract(epoch from '2026-06-29 08:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800203)'), GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.800191)'))) / (select extract(epoch from '2026-06-29 08:08:44'::timestamp) - extract(epoch from '2026-06-29 08:08: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'), 46720, 'SRID=4674;POINT (-40.341707 -2.800157)', '2026-06-29 08:09:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.800191)'), GeomFromEWKT('SRID=4674;POINT (-40.341707 -2.800157)'))) / (select extract(epoch from '2026-06-29 08:09:00'::timestamp) - extract(epoch from '2026-06-29 08:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341777 -2.800191)'), GeomFromEWKT('SRID=4674;POINT (-40.341707 -2.800157)'))) / (select extract(epoch from '2026-06-29 08:09:00'::timestamp) - extract(epoch from '2026-06-29 08:08: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'), 46720, 'SRID=4674;POINT (-40.341676 -2.800177)', '2026-06-29 08:09:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341707 -2.800157)'), GeomFromEWKT('SRID=4674;POINT (-40.341676 -2.800177)'))) / (select extract(epoch from '2026-06-29 08:09:15'::timestamp) - extract(epoch from '2026-06-29 08:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341707 -2.800157)'), GeomFromEWKT('SRID=4674;POINT (-40.341676 -2.800177)'))) / (select extract(epoch from '2026-06-29 08:09:15'::timestamp) - extract(epoch from '2026-06-29 08:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341635 -2.800209)', '2026-06-29 08:09:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341676 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.341635 -2.800209)'))) / (select extract(epoch from '2026-06-29 08:09:28'::timestamp) - extract(epoch from '2026-06-29 08:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341676 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.341635 -2.800209)'))) / (select extract(epoch from '2026-06-29 08:09:28'::timestamp) - extract(epoch from '2026-06-29 08:09: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'), 46720, 'SRID=4674;POINT (-40.34156 -2.800212)', '2026-06-29 08:09:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341635 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.800212)'))) / (select extract(epoch from '2026-06-29 08:09:43'::timestamp) - extract(epoch from '2026-06-29 08:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341635 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.800212)'))) / (select extract(epoch from '2026-06-29 08:09:43'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.341508 -2.800192)', '2026-06-29 08:09:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800192)'))) / (select extract(epoch from '2026-06-29 08:09:55'::timestamp) - extract(epoch from '2026-06-29 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34156 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800192)'))) / (select extract(epoch from '2026-06-29 08:09:55'::timestamp) - extract(epoch from '2026-06-29 08:09: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'), 46720, 'SRID=4674;POINT (-40.341452 -2.800196)', '2026-06-29 08:10:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800192)'), GeomFromEWKT('SRID=4674;POINT (-40.341452 -2.800196)'))) / (select extract(epoch from '2026-06-29 08:10:10'::timestamp) - extract(epoch from '2026-06-29 08:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800192)'), GeomFromEWKT('SRID=4674;POINT (-40.341452 -2.800196)'))) / (select extract(epoch from '2026-06-29 08:10:10'::timestamp) - extract(epoch from '2026-06-29 08:09: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'), 46720, 'SRID=4674;POINT (-40.341405 -2.800212)', '2026-06-29 08:10:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341452 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.341405 -2.800212)'))) / (select extract(epoch from '2026-06-29 08:10:26'::timestamp) - extract(epoch from '2026-06-29 08:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341452 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.341405 -2.800212)'))) / (select extract(epoch from '2026-06-29 08:10:26'::timestamp) - extract(epoch from '2026-06-29 08:10: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'), 46720, 'SRID=4674;POINT (-40.341386 -2.800223)', '2026-06-29 08:10:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341405 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.341386 -2.800223)'))) / (select extract(epoch from '2026-06-29 08:10:46'::timestamp) - extract(epoch from '2026-06-29 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341405 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.341386 -2.800223)'))) / (select extract(epoch from '2026-06-29 08:10:46'::timestamp) - extract(epoch from '2026-06-29 08:10: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'), 46720, 'SRID=4674;POINT (-40.341306 -2.800225)', '2026-06-29 08:11:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341386 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.341306 -2.800225)'))) / (select extract(epoch from '2026-06-29 08:11:04'::timestamp) - extract(epoch from '2026-06-29 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341386 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.341306 -2.800225)'))) / (select extract(epoch from '2026-06-29 08:11:04'::timestamp) - extract(epoch from '2026-06-29 08:10: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'), 46720, 'SRID=4674;POINT (-40.341247 -2.800257)', '2026-06-29 08:11:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341306 -2.800225)'), GeomFromEWKT('SRID=4674;POINT (-40.341247 -2.800257)'))) / (select extract(epoch from '2026-06-29 08:11:20'::timestamp) - extract(epoch from '2026-06-29 08:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341306 -2.800225)'), GeomFromEWKT('SRID=4674;POINT (-40.341247 -2.800257)'))) / (select extract(epoch from '2026-06-29 08:11:20'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.341232 -2.800269)', '2026-06-29 08:11:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341247 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.341232 -2.800269)'))) / (select extract(epoch from '2026-06-29 08:11:36'::timestamp) - extract(epoch from '2026-06-29 08:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341247 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.341232 -2.800269)'))) / (select extract(epoch from '2026-06-29 08:11:36'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.341248 -2.80026)', '2026-06-29 08:11:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341232 -2.800269)'), GeomFromEWKT('SRID=4674;POINT (-40.341248 -2.80026)'))) / (select extract(epoch from '2026-06-29 08:11:57'::timestamp) - extract(epoch from '2026-06-29 08:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341232 -2.800269)'), GeomFromEWKT('SRID=4674;POINT (-40.341248 -2.80026)'))) / (select extract(epoch from '2026-06-29 08:11:57'::timestamp) - extract(epoch from '2026-06-29 08:11: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'), 46720, 'SRID=4674;POINT (-40.341246 -2.800228)', '2026-06-29 08:12:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341248 -2.80026)'), GeomFromEWKT('SRID=4674;POINT (-40.341246 -2.800228)'))) / (select extract(epoch from '2026-06-29 08:12:08'::timestamp) - extract(epoch from '2026-06-29 08:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341248 -2.80026)'), GeomFromEWKT('SRID=4674;POINT (-40.341246 -2.800228)'))) / (select extract(epoch from '2026-06-29 08:12:08'::timestamp) - extract(epoch from '2026-06-29 08:11: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'), 46720, 'SRID=4674;POINT (-40.34121 -2.800142)', '2026-06-29 08:12:26', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341246 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800142)'))) / (select extract(epoch from '2026-06-29 08:12:26'::timestamp) - extract(epoch from '2026-06-29 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341246 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800142)'))) / (select extract(epoch from '2026-06-29 08:12:26'::timestamp) - extract(epoch from '2026-06-29 08:12: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'), 46720, 'SRID=4674;POINT (-40.341178 -2.800101)', '2026-06-29 08:12:44', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800142)'), GeomFromEWKT('SRID=4674;POINT (-40.341178 -2.800101)'))) / (select extract(epoch from '2026-06-29 08:12:44'::timestamp) - extract(epoch from '2026-06-29 08:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800142)'), GeomFromEWKT('SRID=4674;POINT (-40.341178 -2.800101)'))) / (select extract(epoch from '2026-06-29 08:12:44'::timestamp) - extract(epoch from '2026-06-29 08:12: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'), 46720, 'SRID=4674;POINT (-40.341145 -2.800093)', '2026-06-29 08:13:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341178 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.341145 -2.800093)'))) / (select extract(epoch from '2026-06-29 08:13:01'::timestamp) - extract(epoch from '2026-06-29 08:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341178 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.341145 -2.800093)'))) / (select extract(epoch from '2026-06-29 08:13:01'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.341099 -2.800062)', '2026-06-29 08:13:17', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341145 -2.800093)'), GeomFromEWKT('SRID=4674;POINT (-40.341099 -2.800062)'))) / (select extract(epoch from '2026-06-29 08:13:17'::timestamp) - extract(epoch from '2026-06-29 08:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341145 -2.800093)'), GeomFromEWKT('SRID=4674;POINT (-40.341099 -2.800062)'))) / (select extract(epoch from '2026-06-29 08:13:17'::timestamp) - extract(epoch from '2026-06-29 08:13: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'), 46720, 'SRID=4674;POINT (-40.341028 -2.800041)', '2026-06-29 08:13:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341099 -2.800062)'), GeomFromEWKT('SRID=4674;POINT (-40.341028 -2.800041)'))) / (select extract(epoch from '2026-06-29 08:13:31'::timestamp) - extract(epoch from '2026-06-29 08:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341099 -2.800062)'), GeomFromEWKT('SRID=4674;POINT (-40.341028 -2.800041)'))) / (select extract(epoch from '2026-06-29 08:13:31'::timestamp) - extract(epoch from '2026-06-29 08:13: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'), 46720, 'SRID=4674;POINT (-40.340996 -2.80004)', '2026-06-29 08:13:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341028 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.340996 -2.80004)'))) / (select extract(epoch from '2026-06-29 08:13:43'::timestamp) - extract(epoch from '2026-06-29 08:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341028 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.340996 -2.80004)'))) / (select extract(epoch from '2026-06-29 08:13:43'::timestamp) - extract(epoch from '2026-06-29 08:13: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'), 46720, 'SRID=4674;POINT (-40.340918 -2.800058)', '2026-06-29 08:14:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340996 -2.80004)'), GeomFromEWKT('SRID=4674;POINT (-40.340918 -2.800058)'))) / (select extract(epoch from '2026-06-29 08:14:00'::timestamp) - extract(epoch from '2026-06-29 08:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340996 -2.80004)'), GeomFromEWKT('SRID=4674;POINT (-40.340918 -2.800058)'))) / (select extract(epoch from '2026-06-29 08:14:00'::timestamp) - extract(epoch from '2026-06-29 08:13: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'), 46720, 'SRID=4674;POINT (-40.340851 -2.80004)', '2026-06-29 08:14:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340918 -2.800058)'), GeomFromEWKT('SRID=4674;POINT (-40.340851 -2.80004)'))) / (select extract(epoch from '2026-06-29 08:14:15'::timestamp) - extract(epoch from '2026-06-29 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340918 -2.800058)'), GeomFromEWKT('SRID=4674;POINT (-40.340851 -2.80004)'))) / (select extract(epoch from '2026-06-29 08:14:15'::timestamp) - extract(epoch from '2026-06-29 08:14: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'), 46720, 'SRID=4674;POINT (-40.34076 -2.800008)', '2026-06-29 08:14:32', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340851 -2.80004)'), GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:14:32'::timestamp) - extract(epoch from '2026-06-29 08:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340851 -2.80004)'), GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:14:32'::timestamp) - extract(epoch from '2026-06-29 08:14: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'), 46720, 'SRID=4674;POINT (-40.340702 -2.80002)', '2026-06-29 08:14:48', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.340702 -2.80002)'))) / (select extract(epoch from '2026-06-29 08:14:48'::timestamp) - extract(epoch from '2026-06-29 08:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.340702 -2.80002)'))) / (select extract(epoch from '2026-06-29 08:14:48'::timestamp) - extract(epoch from '2026-06-29 08:14: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'), 46720, 'SRID=4674;POINT (-40.340663 -2.800044)', '2026-06-29 08:15:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340702 -2.80002)'), GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.800044)'))) / (select extract(epoch from '2026-06-29 08:15:04'::timestamp) - extract(epoch from '2026-06-29 08:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340702 -2.80002)'), GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.800044)'))) / (select extract(epoch from '2026-06-29 08:15:04'::timestamp) - extract(epoch from '2026-06-29 08:14: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'), 46720, 'SRID=4674;POINT (-40.340628 -2.800042)', '2026-06-29 08:15:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.800044)'), GeomFromEWKT('SRID=4674;POINT (-40.340628 -2.800042)'))) / (select extract(epoch from '2026-06-29 08:15:21'::timestamp) - extract(epoch from '2026-06-29 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.800044)'), GeomFromEWKT('SRID=4674;POINT (-40.340628 -2.800042)'))) / (select extract(epoch from '2026-06-29 08:15:21'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.340572 -2.800035)', '2026-06-29 08:15:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340628 -2.800042)'), GeomFromEWKT('SRID=4674;POINT (-40.340572 -2.800035)'))) / (select extract(epoch from '2026-06-29 08:15:40'::timestamp) - extract(epoch from '2026-06-29 08:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340628 -2.800042)'), GeomFromEWKT('SRID=4674;POINT (-40.340572 -2.800035)'))) / (select extract(epoch from '2026-06-29 08:15:40'::timestamp) - extract(epoch from '2026-06-29 08:15: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'), 46720, 'SRID=4674;POINT (-40.340485 -2.800055)', '2026-06-29 08:15:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340572 -2.800035)'), GeomFromEWKT('SRID=4674;POINT (-40.340485 -2.800055)'))) / (select extract(epoch from '2026-06-29 08:15:58'::timestamp) - extract(epoch from '2026-06-29 08:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340572 -2.800035)'), GeomFromEWKT('SRID=4674;POINT (-40.340485 -2.800055)'))) / (select extract(epoch from '2026-06-29 08:15:58'::timestamp) - extract(epoch from '2026-06-29 08:15: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'), 46720, 'SRID=4674;POINT (-40.340397 -2.800036)', '2026-06-29 08:16:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340485 -2.800055)'), GeomFromEWKT('SRID=4674;POINT (-40.340397 -2.800036)'))) / (select extract(epoch from '2026-06-29 08:16:14'::timestamp) - extract(epoch from '2026-06-29 08:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340485 -2.800055)'), GeomFromEWKT('SRID=4674;POINT (-40.340397 -2.800036)'))) / (select extract(epoch from '2026-06-29 08:16:14'::timestamp) - extract(epoch from '2026-06-29 08:15: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'), 46720, 'SRID=4674;POINT (-40.3403 -2.800034)', '2026-06-29 08:16:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340397 -2.800036)'), GeomFromEWKT('SRID=4674;POINT (-40.3403 -2.800034)'))) / (select extract(epoch from '2026-06-29 08:16:32'::timestamp) - extract(epoch from '2026-06-29 08:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340397 -2.800036)'), GeomFromEWKT('SRID=4674;POINT (-40.3403 -2.800034)'))) / (select extract(epoch from '2026-06-29 08:16:32'::timestamp) - extract(epoch from '2026-06-29 08:16: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'), 46720, 'SRID=4674;POINT (-40.340225 -2.800067)', '2026-06-29 08:16:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3403 -2.800034)'), GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.800067)'))) / (select extract(epoch from '2026-06-29 08:16:49'::timestamp) - extract(epoch from '2026-06-29 08:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3403 -2.800034)'), GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.800067)'))) / (select extract(epoch from '2026-06-29 08:16:49'::timestamp) - extract(epoch from '2026-06-29 08:16: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'), 46720, 'SRID=4674;POINT (-40.340201 -2.800075)', '2026-06-29 08:17:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.800067)'), GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.800075)'))) / (select extract(epoch from '2026-06-29 08:17:04'::timestamp) - extract(epoch from '2026-06-29 08:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.800067)'), GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.800075)'))) / (select extract(epoch from '2026-06-29 08:17:04'::timestamp) - extract(epoch from '2026-06-29 08:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34013 -2.800104)', '2026-06-29 08:17:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.800075)'), GeomFromEWKT('SRID=4674;POINT (-40.34013 -2.800104)'))) / (select extract(epoch from '2026-06-29 08:17:20'::timestamp) - extract(epoch from '2026-06-29 08:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.800075)'), GeomFromEWKT('SRID=4674;POINT (-40.34013 -2.800104)'))) / (select extract(epoch from '2026-06-29 08:17:20'::timestamp) - extract(epoch from '2026-06-29 08:17: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'), 46720, 'SRID=4674;POINT (-40.340041 -2.800093)', '2026-06-29 08:17:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34013 -2.800104)'), GeomFromEWKT('SRID=4674;POINT (-40.340041 -2.800093)'))) / (select extract(epoch from '2026-06-29 08:17:41'::timestamp) - extract(epoch from '2026-06-29 08:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34013 -2.800104)'), GeomFromEWKT('SRID=4674;POINT (-40.340041 -2.800093)'))) / (select extract(epoch from '2026-06-29 08:17:41'::timestamp) - extract(epoch from '2026-06-29 08:17: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'), 46720, 'SRID=4674;POINT (-40.339974 -2.800099)', '2026-06-29 08:18:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340041 -2.800093)'), GeomFromEWKT('SRID=4674;POINT (-40.339974 -2.800099)'))) / (select extract(epoch from '2026-06-29 08:18:02'::timestamp) - extract(epoch from '2026-06-29 08:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340041 -2.800093)'), GeomFromEWKT('SRID=4674;POINT (-40.339974 -2.800099)'))) / (select extract(epoch from '2026-06-29 08:18:02'::timestamp) - extract(epoch from '2026-06-29 08:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339906 -2.800123)', '2026-06-29 08:18:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339974 -2.800099)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.800123)'))) / (select extract(epoch from '2026-06-29 08:18:23'::timestamp) - extract(epoch from '2026-06-29 08:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339974 -2.800099)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.800123)'))) / (select extract(epoch from '2026-06-29 08:18:23'::timestamp) - extract(epoch from '2026-06-29 08:18: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'), 46720, 'SRID=4674;POINT (-40.339824 -2.80012)', '2026-06-29 08:18:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.800123)'), GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.80012)'))) / (select extract(epoch from '2026-06-29 08:18:41'::timestamp) - extract(epoch from '2026-06-29 08:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.800123)'), GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.80012)'))) / (select extract(epoch from '2026-06-29 08:18:41'::timestamp) - extract(epoch from '2026-06-29 08:18: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'), 46720, 'SRID=4674;POINT (-40.339807 -2.800101)', '2026-06-29 08:18:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.80012)'), GeomFromEWKT('SRID=4674;POINT (-40.339807 -2.800101)'))) / (select extract(epoch from '2026-06-29 08:18:56'::timestamp) - extract(epoch from '2026-06-29 08:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.80012)'), GeomFromEWKT('SRID=4674;POINT (-40.339807 -2.800101)'))) / (select extract(epoch from '2026-06-29 08:18:56'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339779 -2.800112)', '2026-06-29 08:19:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339807 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.339779 -2.800112)'))) / (select extract(epoch from '2026-06-29 08:19:11'::timestamp) - extract(epoch from '2026-06-29 08:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339807 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.339779 -2.800112)'))) / (select extract(epoch from '2026-06-29 08:19:11'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339722 -2.800135)', '2026-06-29 08:19:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339779 -2.800112)'), GeomFromEWKT('SRID=4674;POINT (-40.339722 -2.800135)'))) / (select extract(epoch from '2026-06-29 08:19:29'::timestamp) - extract(epoch from '2026-06-29 08:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339779 -2.800112)'), GeomFromEWKT('SRID=4674;POINT (-40.339722 -2.800135)'))) / (select extract(epoch from '2026-06-29 08:19:29'::timestamp) - extract(epoch from '2026-06-29 08:19: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'), 46720, 'SRID=4674;POINT (-40.339712 -2.800124)', '2026-06-29 08:19:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339722 -2.800135)'), GeomFromEWKT('SRID=4674;POINT (-40.339712 -2.800124)'))) / (select extract(epoch from '2026-06-29 08:19:46'::timestamp) - extract(epoch from '2026-06-29 08:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339722 -2.800135)'), GeomFromEWKT('SRID=4674;POINT (-40.339712 -2.800124)'))) / (select extract(epoch from '2026-06-29 08:19:46'::timestamp) - extract(epoch from '2026-06-29 08:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339671 -2.800116)', '2026-06-29 08:19:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339712 -2.800124)'), GeomFromEWKT('SRID=4674;POINT (-40.339671 -2.800116)'))) / (select extract(epoch from '2026-06-29 08:19:59'::timestamp) - extract(epoch from '2026-06-29 08:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339712 -2.800124)'), GeomFromEWKT('SRID=4674;POINT (-40.339671 -2.800116)'))) / (select extract(epoch from '2026-06-29 08:19:59'::timestamp) - extract(epoch from '2026-06-29 08:19: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'), 46720, 'SRID=4674;POINT (-40.33964 -2.800137)', '2026-06-29 08:20:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339671 -2.800116)'), GeomFromEWKT('SRID=4674;POINT (-40.33964 -2.800137)'))) / (select extract(epoch from '2026-06-29 08:20:13'::timestamp) - extract(epoch from '2026-06-29 08:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339671 -2.800116)'), GeomFromEWKT('SRID=4674;POINT (-40.33964 -2.800137)'))) / (select extract(epoch from '2026-06-29 08:20:13'::timestamp) - extract(epoch from '2026-06-29 08:19: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'), 46720, 'SRID=4674;POINT (-40.33958 -2.800164)', '2026-06-29 08:20:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33964 -2.800137)'), GeomFromEWKT('SRID=4674;POINT (-40.33958 -2.800164)'))) / (select extract(epoch from '2026-06-29 08:20:31'::timestamp) - extract(epoch from '2026-06-29 08:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33964 -2.800137)'), GeomFromEWKT('SRID=4674;POINT (-40.33958 -2.800164)'))) / (select extract(epoch from '2026-06-29 08:20:31'::timestamp) - extract(epoch from '2026-06-29 08:20: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'), 46720, 'SRID=4674;POINT (-40.339486 -2.800165)', '2026-06-29 08:20:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33958 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.339486 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:20:49'::timestamp) - extract(epoch from '2026-06-29 08:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33958 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.339486 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:20:49'::timestamp) - extract(epoch from '2026-06-29 08:20: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'), 46720, 'SRID=4674;POINT (-40.339415 -2.800165)', '2026-06-29 08:21:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339486 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.339415 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:21:07'::timestamp) - extract(epoch from '2026-06-29 08:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339486 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.339415 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:21:07'::timestamp) - extract(epoch from '2026-06-29 08:20: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'), 46720, 'SRID=4674;POINT (-40.339346 -2.800144)', '2026-06-29 08:21:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339415 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.339346 -2.800144)'))) / (select extract(epoch from '2026-06-29 08:21:23'::timestamp) - extract(epoch from '2026-06-29 08:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339415 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.339346 -2.800144)'))) / (select extract(epoch from '2026-06-29 08:21:23'::timestamp) - extract(epoch from '2026-06-29 08:21: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'), 46720, 'SRID=4674;POINT (-40.339303 -2.800131)', '2026-06-29 08:21:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339346 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.800131)'))) / (select extract(epoch from '2026-06-29 08:21:38'::timestamp) - extract(epoch from '2026-06-29 08:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339346 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.800131)'))) / (select extract(epoch from '2026-06-29 08:21:38'::timestamp) - extract(epoch from '2026-06-29 08:21: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'), 46720, 'SRID=4674;POINT (-40.33926 -2.800165)', '2026-06-29 08:21:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.800131)'), GeomFromEWKT('SRID=4674;POINT (-40.33926 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:21:54'::timestamp) - extract(epoch from '2026-06-29 08:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339303 -2.800131)'), GeomFromEWKT('SRID=4674;POINT (-40.33926 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:21:54'::timestamp) - extract(epoch from '2026-06-29 08:21: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'), 46720, 'SRID=4674;POINT (-40.339271 -2.800182)', '2026-06-29 08:22:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33926 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.339271 -2.800182)'))) / (select extract(epoch from '2026-06-29 08:22:13'::timestamp) - extract(epoch from '2026-06-29 08:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33926 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.339271 -2.800182)'))) / (select extract(epoch from '2026-06-29 08:22:13'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339263 -2.800169)', '2026-06-29 08:22:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339271 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.339263 -2.800169)'))) / (select extract(epoch from '2026-06-29 08:22:25'::timestamp) - extract(epoch from '2026-06-29 08:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339271 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.339263 -2.800169)'))) / (select extract(epoch from '2026-06-29 08:22:25'::timestamp) - extract(epoch from '2026-06-29 08:22: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'), 46720, 'SRID=4674;POINT (-40.339274 -2.800173)', '2026-06-29 08:22:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339263 -2.800169)'), GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.800173)'))) / (select extract(epoch from '2026-06-29 08:22:44'::timestamp) - extract(epoch from '2026-06-29 08:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339263 -2.800169)'), GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.800173)'))) / (select extract(epoch from '2026-06-29 08:22:44'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339296 -2.800177)', '2026-06-29 08:22:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.800173)'), GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800177)'))) / (select extract(epoch from '2026-06-29 08:22:59'::timestamp) - extract(epoch from '2026-06-29 08:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.800173)'), GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800177)'))) / (select extract(epoch from '2026-06-29 08:22:59'::timestamp) - extract(epoch from '2026-06-29 08:22: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'), 46720, 'SRID=4674;POINT (-40.339296 -2.800181)', '2026-06-29 08:23:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800181)'))) / (select extract(epoch from '2026-06-29 08:23:19'::timestamp) - extract(epoch from '2026-06-29 08:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800181)'))) / (select extract(epoch from '2026-06-29 08:23:19'::timestamp) - extract(epoch from '2026-06-29 08:22: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'), 46720, 'SRID=4674;POINT (-40.339299 -2.8002)', '2026-06-29 08:23:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.339299 -2.8002)'))) / (select extract(epoch from '2026-06-29 08:23:41'::timestamp) - extract(epoch from '2026-06-29 08:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339296 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.339299 -2.8002)'))) / (select extract(epoch from '2026-06-29 08:23:41'::timestamp) - extract(epoch from '2026-06-29 08:23: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'), 46720, 'SRID=4674;POINT (-40.339252 -2.800219)', '2026-06-29 08:23:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339299 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.339252 -2.800219)'))) / (select extract(epoch from '2026-06-29 08:23:56'::timestamp) - extract(epoch from '2026-06-29 08:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339299 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.339252 -2.800219)'))) / (select extract(epoch from '2026-06-29 08:23:56'::timestamp) - extract(epoch from '2026-06-29 08:23: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'), 46720, 'SRID=4674;POINT (-40.339282 -2.800238)', '2026-06-29 08:24:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339252 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.339282 -2.800238)'))) / (select extract(epoch from '2026-06-29 08:24:10'::timestamp) - extract(epoch from '2026-06-29 08:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339252 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.339282 -2.800238)'))) / (select extract(epoch from '2026-06-29 08:24:10'::timestamp) - extract(epoch from '2026-06-29 08:23: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'), 46720, 'SRID=4674;POINT (-40.339281 -2.800221)', '2026-06-29 08:24:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339282 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.339281 -2.800221)'))) / (select extract(epoch from '2026-06-29 08:24:21'::timestamp) - extract(epoch from '2026-06-29 08:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339282 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.339281 -2.800221)'))) / (select extract(epoch from '2026-06-29 08:24:21'::timestamp) - extract(epoch from '2026-06-29 08:24: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'), 46720, 'SRID=4674;POINT (-40.339258 -2.800177)', '2026-06-29 08:24:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339281 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-40.339258 -2.800177)'))) / (select extract(epoch from '2026-06-29 08:24:36'::timestamp) - extract(epoch from '2026-06-29 08:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339281 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-40.339258 -2.800177)'))) / (select extract(epoch from '2026-06-29 08:24:36'::timestamp) - extract(epoch from '2026-06-29 08:24: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'), 46720, 'SRID=4674;POINT (-40.339287 -2.800183)', '2026-06-29 08:24:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339258 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.339287 -2.800183)'))) / (select extract(epoch from '2026-06-29 08:24:58'::timestamp) - extract(epoch from '2026-06-29 08:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339258 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.339287 -2.800183)'))) / (select extract(epoch from '2026-06-29 08:24:58'::timestamp) - extract(epoch from '2026-06-29 08:24: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'), 46720, 'SRID=4674;POINT (-40.33927 -2.800193)', '2026-06-29 08:25:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339287 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800193)'))) / (select extract(epoch from '2026-06-29 08:25:15'::timestamp) - extract(epoch from '2026-06-29 08:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339287 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800193)'))) / (select extract(epoch from '2026-06-29 08:25:15'::timestamp) - extract(epoch from '2026-06-29 08:24: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'), 46720, 'SRID=4674;POINT (-40.339246 -2.800214)', '2026-06-29 08:25:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.339246 -2.800214)'))) / (select extract(epoch from '2026-06-29 08:25:27'::timestamp) - extract(epoch from '2026-06-29 08:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.339246 -2.800214)'))) / (select extract(epoch from '2026-06-29 08:25:27'::timestamp) - extract(epoch from '2026-06-29 08:25: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'), 46720, 'SRID=4674;POINT (-40.339268 -2.80023)', '2026-06-29 08:25:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339246 -2.800214)'), GeomFromEWKT('SRID=4674;POINT (-40.339268 -2.80023)'))) / (select extract(epoch from '2026-06-29 08:25:45'::timestamp) - extract(epoch from '2026-06-29 08:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339246 -2.800214)'), GeomFromEWKT('SRID=4674;POINT (-40.339268 -2.80023)'))) / (select extract(epoch from '2026-06-29 08:25:45'::timestamp) - extract(epoch from '2026-06-29 08:25:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339278 -2.80023)', '2026-06-29 08:25:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339268 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.339278 -2.80023)'))) / (select extract(epoch from '2026-06-29 08:25:56'::timestamp) - extract(epoch from '2026-06-29 08:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339268 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.339278 -2.80023)'))) / (select extract(epoch from '2026-06-29 08:25:56'::timestamp) - extract(epoch from '2026-06-29 08:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.33928 -2.800193)', '2026-06-29 08:26:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339278 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.33928 -2.800193)'))) / (select extract(epoch from '2026-06-29 08:26:08'::timestamp) - extract(epoch from '2026-06-29 08:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339278 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.33928 -2.800193)'))) / (select extract(epoch from '2026-06-29 08:26:08'::timestamp) - extract(epoch from '2026-06-29 08:25: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'), 46720, 'SRID=4674;POINT (-40.33927 -2.800114)', '2026-06-29 08:26:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33928 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800114)'))) / (select extract(epoch from '2026-06-29 08:26:27'::timestamp) - extract(epoch from '2026-06-29 08:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33928 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800114)'))) / (select extract(epoch from '2026-06-29 08:26:27'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339264 -2.800094)', '2026-06-29 08:26:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800114)'), GeomFromEWKT('SRID=4674;POINT (-40.339264 -2.800094)'))) / (select extract(epoch from '2026-06-29 08:26:46'::timestamp) - extract(epoch from '2026-06-29 08:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33927 -2.800114)'), GeomFromEWKT('SRID=4674;POINT (-40.339264 -2.800094)'))) / (select extract(epoch from '2026-06-29 08:26:46'::timestamp) - extract(epoch from '2026-06-29 08:26: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'), 46720, 'SRID=4674;POINT (-40.339248 -2.800079)', '2026-06-29 08:27:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339264 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.339248 -2.800079)'))) / (select extract(epoch from '2026-06-29 08:27:08'::timestamp) - extract(epoch from '2026-06-29 08:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339264 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.339248 -2.800079)'))) / (select extract(epoch from '2026-06-29 08:27:08'::timestamp) - extract(epoch from '2026-06-29 08:26: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'), 46720, 'SRID=4674;POINT (-40.339196 -2.800052)', '2026-06-29 08:27:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339248 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.339196 -2.800052)'))) / (select extract(epoch from '2026-06-29 08:27:26'::timestamp) - extract(epoch from '2026-06-29 08:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339248 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.339196 -2.800052)'))) / (select extract(epoch from '2026-06-29 08:27:26'::timestamp) - extract(epoch from '2026-06-29 08:27: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'), 46720, 'SRID=4674;POINT (-40.339128 -2.800051)', '2026-06-29 08:27:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339196 -2.800052)'), GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.800051)'))) / (select extract(epoch from '2026-06-29 08:27:43'::timestamp) - extract(epoch from '2026-06-29 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339196 -2.800052)'), GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.800051)'))) / (select extract(epoch from '2026-06-29 08:27:43'::timestamp) - extract(epoch from '2026-06-29 08:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339056 -2.800049)', '2026-06-29 08:28:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.800051)'), GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.800049)'))) / (select extract(epoch from '2026-06-29 08:28:00'::timestamp) - extract(epoch from '2026-06-29 08:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.800051)'), GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.800049)'))) / (select extract(epoch from '2026-06-29 08:28:00'::timestamp) - extract(epoch from '2026-06-29 08:27: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'), 46720, 'SRID=4674;POINT (-40.33903 -2.800031)', '2026-06-29 08:28:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.800049)'), GeomFromEWKT('SRID=4674;POINT (-40.33903 -2.800031)'))) / (select extract(epoch from '2026-06-29 08:28:20'::timestamp) - extract(epoch from '2026-06-29 08:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339056 -2.800049)'), GeomFromEWKT('SRID=4674;POINT (-40.33903 -2.800031)'))) / (select extract(epoch from '2026-06-29 08:28:20'::timestamp) - extract(epoch from '2026-06-29 08:28: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'), 46720, 'SRID=4674;POINT (-40.339048 -2.800013)', '2026-06-29 08:28:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33903 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.339048 -2.800013)'))) / (select extract(epoch from '2026-06-29 08:28:37'::timestamp) - extract(epoch from '2026-06-29 08:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33903 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.339048 -2.800013)'))) / (select extract(epoch from '2026-06-29 08:28:37'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339057 -2.800005)', '2026-06-29 08:28:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339048 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.800005)'))) / (select extract(epoch from '2026-06-29 08:28:57'::timestamp) - extract(epoch from '2026-06-29 08:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339048 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.800005)'))) / (select extract(epoch from '2026-06-29 08:28:57'::timestamp) - extract(epoch from '2026-06-29 08:28: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'), 46720, 'SRID=4674;POINT (-40.339054 -2.800019)', '2026-06-29 08:29:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.800005)'), GeomFromEWKT('SRID=4674;POINT (-40.339054 -2.800019)'))) / (select extract(epoch from '2026-06-29 08:29:07'::timestamp) - extract(epoch from '2026-06-29 08:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.800005)'), GeomFromEWKT('SRID=4674;POINT (-40.339054 -2.800019)'))) / (select extract(epoch from '2026-06-29 08:29:07'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339052 -2.800039)', '2026-06-29 08:29:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339054 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.339052 -2.800039)'))) / (select extract(epoch from '2026-06-29 08:29:22'::timestamp) - extract(epoch from '2026-06-29 08:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339054 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.339052 -2.800039)'))) / (select extract(epoch from '2026-06-29 08:29:22'::timestamp) - extract(epoch from '2026-06-29 08:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339041 -2.800052)', '2026-06-29 08:29:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339052 -2.800039)'), GeomFromEWKT('SRID=4674;POINT (-40.339041 -2.800052)'))) / (select extract(epoch from '2026-06-29 08:29:43'::timestamp) - extract(epoch from '2026-06-29 08:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339052 -2.800039)'), GeomFromEWKT('SRID=4674;POINT (-40.339041 -2.800052)'))) / (select extract(epoch from '2026-06-29 08:29:43'::timestamp) - extract(epoch from '2026-06-29 08:29: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'), 46720, 'SRID=4674;POINT (-40.338984 -2.800008)', '2026-06-29 08:29:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339041 -2.800052)'), GeomFromEWKT('SRID=4674;POINT (-40.338984 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:29:59'::timestamp) - extract(epoch from '2026-06-29 08:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339041 -2.800052)'), GeomFromEWKT('SRID=4674;POINT (-40.338984 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:29:59'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.338913 -2.79999)', '2026-06-29 08:30:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338984 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.338913 -2.79999)'))) / (select extract(epoch from '2026-06-29 08:30:17'::timestamp) - extract(epoch from '2026-06-29 08:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338984 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.338913 -2.79999)'))) / (select extract(epoch from '2026-06-29 08:30:17'::timestamp) - extract(epoch from '2026-06-29 08:29: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'), 46720, 'SRID=4674;POINT (-40.338886 -2.8)', '2026-06-29 08:30:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338913 -2.79999)'), GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.8)'))) / (select extract(epoch from '2026-06-29 08:30:33'::timestamp) - extract(epoch from '2026-06-29 08:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338913 -2.79999)'), GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.8)'))) / (select extract(epoch from '2026-06-29 08:30:33'::timestamp) - extract(epoch from '2026-06-29 08:30: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'), 46720, 'SRID=4674;POINT (-40.338848 -2.800008)', '2026-06-29 08:30:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.8)'), GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:30:52'::timestamp) - extract(epoch from '2026-06-29 08:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.8)'), GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:30:52'::timestamp) - extract(epoch from '2026-06-29 08:30: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'), 46720, 'SRID=4674;POINT (-40.33876 -2.800004)', '2026-06-29 08:31:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.33876 -2.800004)'))) / (select extract(epoch from '2026-06-29 08:31:09'::timestamp) - extract(epoch from '2026-06-29 08:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.33876 -2.800004)'))) / (select extract(epoch from '2026-06-29 08:31:09'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.338707 -2.799989)', '2026-06-29 08:31:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33876 -2.800004)'), GeomFromEWKT('SRID=4674;POINT (-40.338707 -2.799989)'))) / (select extract(epoch from '2026-06-29 08:31:26'::timestamp) - extract(epoch from '2026-06-29 08:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33876 -2.800004)'), GeomFromEWKT('SRID=4674;POINT (-40.338707 -2.799989)'))) / (select extract(epoch from '2026-06-29 08:31:26'::timestamp) - extract(epoch from '2026-06-29 08:31: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'), 46720, 'SRID=4674;POINT (-40.338655 -2.799994)', '2026-06-29 08:31:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338707 -2.799989)'), GeomFromEWKT('SRID=4674;POINT (-40.338655 -2.799994)'))) / (select extract(epoch from '2026-06-29 08:31:41'::timestamp) - extract(epoch from '2026-06-29 08:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338707 -2.799989)'), GeomFromEWKT('SRID=4674;POINT (-40.338655 -2.799994)'))) / (select extract(epoch from '2026-06-29 08:31:41'::timestamp) - extract(epoch from '2026-06-29 08:31: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'), 46720, 'SRID=4674;POINT (-40.338607 -2.800015)', '2026-06-29 08:31:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338655 -2.799994)'), GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.800015)'))) / (select extract(epoch from '2026-06-29 08:31:56'::timestamp) - extract(epoch from '2026-06-29 08:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338655 -2.799994)'), GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.800015)'))) / (select extract(epoch from '2026-06-29 08:31:56'::timestamp) - extract(epoch from '2026-06-29 08:31: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'), 46720, 'SRID=4674;POINT (-40.338538 -2.800017)', '2026-06-29 08:32:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.800015)'), GeomFromEWKT('SRID=4674;POINT (-40.338538 -2.800017)'))) / (select extract(epoch from '2026-06-29 08:32:12'::timestamp) - extract(epoch from '2026-06-29 08:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.800015)'), GeomFromEWKT('SRID=4674;POINT (-40.338538 -2.800017)'))) / (select extract(epoch from '2026-06-29 08:32:12'::timestamp) - extract(epoch from '2026-06-29 08:31: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'), 46720, 'SRID=4674;POINT (-40.338483 -2.800008)', '2026-06-29 08:32:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338538 -2.800017)'), GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:32:29'::timestamp) - extract(epoch from '2026-06-29 08:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338538 -2.800017)'), GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.800008)'))) / (select extract(epoch from '2026-06-29 08:32:29'::timestamp) - extract(epoch from '2026-06-29 08:32: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'), 46720, 'SRID=4674;POINT (-40.338472 -2.8)', '2026-06-29 08:32:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.338472 -2.8)'))) / (select extract(epoch from '2026-06-29 08:32:46'::timestamp) - extract(epoch from '2026-06-29 08:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.338472 -2.8)'))) / (select extract(epoch from '2026-06-29 08:32:46'::timestamp) - extract(epoch from '2026-06-29 08:32: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'), 46720, 'SRID=4674;POINT (-40.338468 -2.799989)', '2026-06-29 08:33:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338472 -2.8)'), GeomFromEWKT('SRID=4674;POINT (-40.338468 -2.799989)'))) / (select extract(epoch from '2026-06-29 08:33:04'::timestamp) - extract(epoch from '2026-06-29 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338472 -2.8)'), GeomFromEWKT('SRID=4674;POINT (-40.338468 -2.799989)'))) / (select extract(epoch from '2026-06-29 08:33:04'::timestamp) - extract(epoch from '2026-06-29 08:32: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'), 46720, 'SRID=4674;POINT (-40.338424 -2.800032)', '2026-06-29 08:33:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338468 -2.799989)'), GeomFromEWKT('SRID=4674;POINT (-40.338424 -2.800032)'))) / (select extract(epoch from '2026-06-29 08:33:19'::timestamp) - extract(epoch from '2026-06-29 08:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338468 -2.799989)'), GeomFromEWKT('SRID=4674;POINT (-40.338424 -2.800032)'))) / (select extract(epoch from '2026-06-29 08:33:19'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.338343 -2.800027)', '2026-06-29 08:33:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338424 -2.800032)'), GeomFromEWKT('SRID=4674;POINT (-40.338343 -2.800027)'))) / (select extract(epoch from '2026-06-29 08:33:37'::timestamp) - extract(epoch from '2026-06-29 08:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338424 -2.800032)'), GeomFromEWKT('SRID=4674;POINT (-40.338343 -2.800027)'))) / (select extract(epoch from '2026-06-29 08:33:37'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.338246 -2.800018)', '2026-06-29 08:33:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338343 -2.800027)'), GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.800018)'))) / (select extract(epoch from '2026-06-29 08:33:55'::timestamp) - extract(epoch from '2026-06-29 08:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338343 -2.800027)'), GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.800018)'))) / (select extract(epoch from '2026-06-29 08:33:55'::timestamp) - extract(epoch from '2026-06-29 08:33: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'), 46720, 'SRID=4674;POINT (-40.338167 -2.800031)', '2026-06-29 08:34:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.800018)'), GeomFromEWKT('SRID=4674;POINT (-40.338167 -2.800031)'))) / (select extract(epoch from '2026-06-29 08:34:11'::timestamp) - extract(epoch from '2026-06-29 08:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.800018)'), GeomFromEWKT('SRID=4674;POINT (-40.338167 -2.800031)'))) / (select extract(epoch from '2026-06-29 08:34:11'::timestamp) - extract(epoch from '2026-06-29 08:33: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'), 46720, 'SRID=4674;POINT (-40.33809 -2.800037)', '2026-06-29 08:34:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338167 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.33809 -2.800037)'))) / (select extract(epoch from '2026-06-29 08:34:26'::timestamp) - extract(epoch from '2026-06-29 08:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338167 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.33809 -2.800037)'))) / (select extract(epoch from '2026-06-29 08:34:26'::timestamp) - extract(epoch from '2026-06-29 08:34: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'), 46720, 'SRID=4674;POINT (-40.33803 -2.800049)', '2026-06-29 08:34:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33809 -2.800037)'), GeomFromEWKT('SRID=4674;POINT (-40.33803 -2.800049)'))) / (select extract(epoch from '2026-06-29 08:34:42'::timestamp) - extract(epoch from '2026-06-29 08:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33809 -2.800037)'), GeomFromEWKT('SRID=4674;POINT (-40.33803 -2.800049)'))) / (select extract(epoch from '2026-06-29 08:34:42'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.337999 -2.800067)', '2026-06-29 08:34:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33803 -2.800049)'), GeomFromEWKT('SRID=4674;POINT (-40.337999 -2.800067)'))) / (select extract(epoch from '2026-06-29 08:34:55'::timestamp) - extract(epoch from '2026-06-29 08:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33803 -2.800049)'), GeomFromEWKT('SRID=4674;POINT (-40.337999 -2.800067)'))) / (select extract(epoch from '2026-06-29 08:34:55'::timestamp) - extract(epoch from '2026-06-29 08:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337949 -2.800094)', '2026-06-29 08:35:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337999 -2.800067)'), GeomFromEWKT('SRID=4674;POINT (-40.337949 -2.800094)'))) / (select extract(epoch from '2026-06-29 08:35:09'::timestamp) - extract(epoch from '2026-06-29 08:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337999 -2.800067)'), GeomFromEWKT('SRID=4674;POINT (-40.337949 -2.800094)'))) / (select extract(epoch from '2026-06-29 08:35:09'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.337881 -2.800103)', '2026-06-29 08:35:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337949 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.337881 -2.800103)'))) / (select extract(epoch from '2026-06-29 08:35:25'::timestamp) - extract(epoch from '2026-06-29 08:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337949 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.337881 -2.800103)'))) / (select extract(epoch from '2026-06-29 08:35:25'::timestamp) - extract(epoch from '2026-06-29 08:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337809 -2.80009)', '2026-06-29 08:35:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337881 -2.800103)'), GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.80009)'))) / (select extract(epoch from '2026-06-29 08:35:43'::timestamp) - extract(epoch from '2026-06-29 08:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337881 -2.800103)'), GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.80009)'))) / (select extract(epoch from '2026-06-29 08:35:43'::timestamp) - extract(epoch from '2026-06-29 08:35: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'), 46720, 'SRID=4674;POINT (-40.337755 -2.800107)', '2026-06-29 08:35:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.80009)'), GeomFromEWKT('SRID=4674;POINT (-40.337755 -2.800107)'))) / (select extract(epoch from '2026-06-29 08:35:57'::timestamp) - extract(epoch from '2026-06-29 08:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337809 -2.80009)'), GeomFromEWKT('SRID=4674;POINT (-40.337755 -2.800107)'))) / (select extract(epoch from '2026-06-29 08:35:57'::timestamp) - extract(epoch from '2026-06-29 08:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337686 -2.800121)', '2026-06-29 08:36:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337755 -2.800107)'), GeomFromEWKT('SRID=4674;POINT (-40.337686 -2.800121)'))) / (select extract(epoch from '2026-06-29 08:36:13'::timestamp) - extract(epoch from '2026-06-29 08:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337755 -2.800107)'), GeomFromEWKT('SRID=4674;POINT (-40.337686 -2.800121)'))) / (select extract(epoch from '2026-06-29 08:36:13'::timestamp) - extract(epoch from '2026-06-29 08:35: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'), 46720, 'SRID=4674;POINT (-40.337664 -2.80011)', '2026-06-29 08:36:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337686 -2.800121)'), GeomFromEWKT('SRID=4674;POINT (-40.337664 -2.80011)'))) / (select extract(epoch from '2026-06-29 08:36:28'::timestamp) - extract(epoch from '2026-06-29 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337686 -2.800121)'), GeomFromEWKT('SRID=4674;POINT (-40.337664 -2.80011)'))) / (select extract(epoch from '2026-06-29 08:36:28'::timestamp) - extract(epoch from '2026-06-29 08:36: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'), 46720, 'SRID=4674;POINT (-40.337618 -2.800114)', '2026-06-29 08:36:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337664 -2.80011)'), GeomFromEWKT('SRID=4674;POINT (-40.337618 -2.800114)'))) / (select extract(epoch from '2026-06-29 08:36:41'::timestamp) - extract(epoch from '2026-06-29 08:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337664 -2.80011)'), GeomFromEWKT('SRID=4674;POINT (-40.337618 -2.800114)'))) / (select extract(epoch from '2026-06-29 08:36:41'::timestamp) - extract(epoch from '2026-06-29 08:36: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'), 46720, 'SRID=4674;POINT (-40.337577 -2.800161)', '2026-06-29 08:36:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337618 -2.800114)'), GeomFromEWKT('SRID=4674;POINT (-40.337577 -2.800161)'))) / (select extract(epoch from '2026-06-29 08:36:56'::timestamp) - extract(epoch from '2026-06-29 08:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337618 -2.800114)'), GeomFromEWKT('SRID=4674;POINT (-40.337577 -2.800161)'))) / (select extract(epoch from '2026-06-29 08:36:56'::timestamp) - extract(epoch from '2026-06-29 08:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337539 -2.800187)', '2026-06-29 08:37:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337577 -2.800161)'), GeomFromEWKT('SRID=4674;POINT (-40.337539 -2.800187)'))) / (select extract(epoch from '2026-06-29 08:37:12'::timestamp) - extract(epoch from '2026-06-29 08:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337577 -2.800161)'), GeomFromEWKT('SRID=4674;POINT (-40.337539 -2.800187)'))) / (select extract(epoch from '2026-06-29 08:37:12'::timestamp) - extract(epoch from '2026-06-29 08:36: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'), 46720, 'SRID=4674;POINT (-40.337496 -2.800178)', '2026-06-29 08:37:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337539 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.337496 -2.800178)'))) / (select extract(epoch from '2026-06-29 08:37:28'::timestamp) - extract(epoch from '2026-06-29 08:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337539 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.337496 -2.800178)'))) / (select extract(epoch from '2026-06-29 08:37:28'::timestamp) - extract(epoch from '2026-06-29 08:37: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'), 46720, 'SRID=4674;POINT (-40.337454 -2.800167)', '2026-06-29 08:37:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337496 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.337454 -2.800167)'))) / (select extract(epoch from '2026-06-29 08:37:43'::timestamp) - extract(epoch from '2026-06-29 08:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337496 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.337454 -2.800167)'))) / (select extract(epoch from '2026-06-29 08:37:43'::timestamp) - extract(epoch from '2026-06-29 08:37: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'), 46720, 'SRID=4674;POINT (-40.337425 -2.800163)', '2026-06-29 08:38:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337454 -2.800167)'), GeomFromEWKT('SRID=4674;POINT (-40.337425 -2.800163)'))) / (select extract(epoch from '2026-06-29 08:38:01'::timestamp) - extract(epoch from '2026-06-29 08:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337454 -2.800167)'), GeomFromEWKT('SRID=4674;POINT (-40.337425 -2.800163)'))) / (select extract(epoch from '2026-06-29 08:38:01'::timestamp) - extract(epoch from '2026-06-29 08:37: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'), 46720, 'SRID=4674;POINT (-40.337381 -2.800175)', '2026-06-29 08:38:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337425 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.337381 -2.800175)'))) / (select extract(epoch from '2026-06-29 08:38:12'::timestamp) - extract(epoch from '2026-06-29 08:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337425 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.337381 -2.800175)'))) / (select extract(epoch from '2026-06-29 08:38:12'::timestamp) - extract(epoch from '2026-06-29 08:38: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'), 46720, 'SRID=4674;POINT (-40.337309 -2.800172)', '2026-06-29 08:38:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337381 -2.800175)'), GeomFromEWKT('SRID=4674;POINT (-40.337309 -2.800172)'))) / (select extract(epoch from '2026-06-29 08:38:30'::timestamp) - extract(epoch from '2026-06-29 08:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337381 -2.800175)'), GeomFromEWKT('SRID=4674;POINT (-40.337309 -2.800172)'))) / (select extract(epoch from '2026-06-29 08:38:30'::timestamp) - extract(epoch from '2026-06-29 08:38: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'), 46720, 'SRID=4674;POINT (-40.337232 -2.800153)', '2026-06-29 08:38:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337309 -2.800172)'), GeomFromEWKT('SRID=4674;POINT (-40.337232 -2.800153)'))) / (select extract(epoch from '2026-06-29 08:38:50'::timestamp) - extract(epoch from '2026-06-29 08:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337309 -2.800172)'), GeomFromEWKT('SRID=4674;POINT (-40.337232 -2.800153)'))) / (select extract(epoch from '2026-06-29 08:38:50'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.337199 -2.800145)', '2026-06-29 08:39:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337232 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.337199 -2.800145)'))) / (select extract(epoch from '2026-06-29 08:39:06'::timestamp) - extract(epoch from '2026-06-29 08:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337232 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.337199 -2.800145)'))) / (select extract(epoch from '2026-06-29 08:39:06'::timestamp) - extract(epoch from '2026-06-29 08:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337162 -2.800165)', '2026-06-29 08:39:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337199 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.337162 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:39:28'::timestamp) - extract(epoch from '2026-06-29 08:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337199 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.337162 -2.800165)'))) / (select extract(epoch from '2026-06-29 08:39:28'::timestamp) - extract(epoch from '2026-06-29 08:39: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'), 46720, 'SRID=4674;POINT (-40.337119 -2.800181)', '2026-06-29 08:39:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337162 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.337119 -2.800181)'))) / (select extract(epoch from '2026-06-29 08:39:41'::timestamp) - extract(epoch from '2026-06-29 08:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337162 -2.800165)'), GeomFromEWKT('SRID=4674;POINT (-40.337119 -2.800181)'))) / (select extract(epoch from '2026-06-29 08:39:41'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.337094 -2.80019)', '2026-06-29 08:39:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337119 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.337094 -2.80019)'))) / (select extract(epoch from '2026-06-29 08:39:55'::timestamp) - extract(epoch from '2026-06-29 08:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337119 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.337094 -2.80019)'))) / (select extract(epoch from '2026-06-29 08:39:55'::timestamp) - extract(epoch from '2026-06-29 08:39: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'), 46720, 'SRID=4674;POINT (-40.337091 -2.80017)', '2026-06-29 08:40:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337094 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.337091 -2.80017)'))) / (select extract(epoch from '2026-06-29 08:40:08'::timestamp) - extract(epoch from '2026-06-29 08:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337094 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.337091 -2.80017)'))) / (select extract(epoch from '2026-06-29 08:40:08'::timestamp) - extract(epoch from '2026-06-29 08:39: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'), 46720, 'SRID=4674;POINT (-40.337076 -2.800163)', '2026-06-29 08:40:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337091 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800163)'))) / (select extract(epoch from '2026-06-29 08:40:18'::timestamp) - extract(epoch from '2026-06-29 08:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337091 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800163)'))) / (select extract(epoch from '2026-06-29 08:40:18'::timestamp) - extract(epoch from '2026-06-29 08:40: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'), 46720, 'SRID=4674;POINT (-40.337039 -2.800206)', '2026-06-29 08:40:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.337039 -2.800206)'))) / (select extract(epoch from '2026-06-29 08:40:32'::timestamp) - extract(epoch from '2026-06-29 08:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.337039 -2.800206)'))) / (select extract(epoch from '2026-06-29 08:40:32'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.33702 -2.800252)', '2026-06-29 08:40:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337039 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800252)'))) / (select extract(epoch from '2026-06-29 08:40:46'::timestamp) - extract(epoch from '2026-06-29 08:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337039 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800252)'))) / (select extract(epoch from '2026-06-29 08:40:46'::timestamp) - extract(epoch from '2026-06-29 08:40: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'), 46720, 'SRID=4674;POINT (-40.336999 -2.800266)', '2026-06-29 08:40:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800252)'), GeomFromEWKT('SRID=4674;POINT (-40.336999 -2.800266)'))) / (select extract(epoch from '2026-06-29 08:40:59'::timestamp) - extract(epoch from '2026-06-29 08:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800252)'), GeomFromEWKT('SRID=4674;POINT (-40.336999 -2.800266)'))) / (select extract(epoch from '2026-06-29 08:40:59'::timestamp) - extract(epoch from '2026-06-29 08:40: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'), 46720, 'SRID=4674;POINT (-40.336976 -2.80025)', '2026-06-29 08:41:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336999 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.336976 -2.80025)'))) / (select extract(epoch from '2026-06-29 08:41:15'::timestamp) - extract(epoch from '2026-06-29 08:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336999 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.336976 -2.80025)'))) / (select extract(epoch from '2026-06-29 08:41:15'::timestamp) - extract(epoch from '2026-06-29 08:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336953 -2.800232)', '2026-06-29 08:41:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336976 -2.80025)'), GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.800232)'))) / (select extract(epoch from '2026-06-29 08:41:30'::timestamp) - extract(epoch from '2026-06-29 08:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336976 -2.80025)'), GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.800232)'))) / (select extract(epoch from '2026-06-29 08:41:30'::timestamp) - extract(epoch from '2026-06-29 08:41: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'), 46720, 'SRID=4674;POINT (-40.336949 -2.800255)', '2026-06-29 08:41:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.800255)'))) / (select extract(epoch from '2026-06-29 08:41:47'::timestamp) - extract(epoch from '2026-06-29 08:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.800255)'))) / (select extract(epoch from '2026-06-29 08:41:47'::timestamp) - extract(epoch from '2026-06-29 08:41: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'), 46720, 'SRID=4674;POINT (-40.336961 -2.800263)', '2026-06-29 08:42:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.336961 -2.800263)'))) / (select extract(epoch from '2026-06-29 08:42:00'::timestamp) - extract(epoch from '2026-06-29 08:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.336961 -2.800263)'))) / (select extract(epoch from '2026-06-29 08:42:00'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.33699 -2.800264)', '2026-06-29 08:42:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336961 -2.800263)'), GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800264)'))) / (select extract(epoch from '2026-06-29 08:42:14'::timestamp) - extract(epoch from '2026-06-29 08:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336961 -2.800263)'), GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800264)'))) / (select extract(epoch from '2026-06-29 08:42:14'::timestamp) - extract(epoch from '2026-06-29 08:42: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'), 46720, 'SRID=4674;POINT (-40.33702 -2.800257)', '2026-06-29 08:42:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800257)'))) / (select extract(epoch from '2026-06-29 08:42:25'::timestamp) - extract(epoch from '2026-06-29 08:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800257)'))) / (select extract(epoch from '2026-06-29 08:42:25'::timestamp) - extract(epoch from '2026-06-29 08:42: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'), 46720, 'SRID=4674;POINT (-40.337076 -2.800238)', '2026-06-29 08:42:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800238)'))) / (select extract(epoch from '2026-06-29 08:42:44'::timestamp) - extract(epoch from '2026-06-29 08:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33702 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800238)'))) / (select extract(epoch from '2026-06-29 08:42:44'::timestamp) - extract(epoch from '2026-06-29 08:42: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'), 46720, 'SRID=4674;POINT (-40.337105 -2.800234)', '2026-06-29 08:42:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.337105 -2.800234)'))) / (select extract(epoch from '2026-06-29 08:42:59'::timestamp) - extract(epoch from '2026-06-29 08:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337076 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.337105 -2.800234)'))) / (select extract(epoch from '2026-06-29 08:42:59'::timestamp) - extract(epoch from '2026-06-29 08:42: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'), 46720, 'SRID=4674;POINT (-40.337152 -2.800223)', '2026-06-29 08:43:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337105 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.337152 -2.800223)'))) / (select extract(epoch from '2026-06-29 08:43:14'::timestamp) - extract(epoch from '2026-06-29 08:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337105 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.337152 -2.800223)'))) / (select extract(epoch from '2026-06-29 08:43:14'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.337212 -2.800202)', '2026-06-29 08:43:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337152 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.337212 -2.800202)'))) / (select extract(epoch from '2026-06-29 08:43:33'::timestamp) - extract(epoch from '2026-06-29 08:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337152 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.337212 -2.800202)'))) / (select extract(epoch from '2026-06-29 08:43:33'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.337258 -2.800185)', '2026-06-29 08:43:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337212 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.800185)'))) / (select extract(epoch from '2026-06-29 08:43:49'::timestamp) - extract(epoch from '2026-06-29 08:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337212 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.800185)'))) / (select extract(epoch from '2026-06-29 08:43:49'::timestamp) - extract(epoch from '2026-06-29 08:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337345 -2.800149)', '2026-06-29 08:44:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.800185)'), GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.800149)'))) / (select extract(epoch from '2026-06-29 08:44:14'::timestamp) - extract(epoch from '2026-06-29 08:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.800185)'), GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.800149)'))) / (select extract(epoch from '2026-06-29 08:44:14'::timestamp) - extract(epoch from '2026-06-29 08:43: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'), 46720, 'SRID=4674;POINT (-40.337422 -2.800144)', '2026-06-29 08:44:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.337422 -2.800144)'))) / (select extract(epoch from '2026-06-29 08:44:35'::timestamp) - extract(epoch from '2026-06-29 08:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337345 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.337422 -2.800144)'))) / (select extract(epoch from '2026-06-29 08:44:35'::timestamp) - extract(epoch from '2026-06-29 08:44: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'), 46720, 'SRID=4674;POINT (-40.33746 -2.800202)', '2026-06-29 08:44:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337422 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800202)'))) / (select extract(epoch from '2026-06-29 08:44:47'::timestamp) - extract(epoch from '2026-06-29 08:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337422 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800202)'))) / (select extract(epoch from '2026-06-29 08:44:47'::timestamp) - extract(epoch from '2026-06-29 08:44: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'), 46720, 'SRID=4674;POINT (-40.337463 -2.800329)', '2026-06-29 08:44:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.337463 -2.800329)'))) / (select extract(epoch from '2026-06-29 08:44:55'::timestamp) - extract(epoch from '2026-06-29 08:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.337463 -2.800329)'))) / (select extract(epoch from '2026-06-29 08:44:55'::timestamp) - extract(epoch from '2026-06-29 08:44: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'), 46720, 'SRID=4674;POINT (-40.337508 -2.800443)', '2026-06-29 08:45:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337463 -2.800329)'), GeomFromEWKT('SRID=4674;POINT (-40.337508 -2.800443)'))) / (select extract(epoch from '2026-06-29 08:45:01'::timestamp) - extract(epoch from '2026-06-29 08:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337463 -2.800329)'), GeomFromEWKT('SRID=4674;POINT (-40.337508 -2.800443)'))) / (select extract(epoch from '2026-06-29 08:45:01'::timestamp) - extract(epoch from '2026-06-29 08:44: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'), 46720, 'SRID=4674;POINT (-40.337638 -2.80054)', '2026-06-29 08:45:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337508 -2.800443)'), GeomFromEWKT('SRID=4674;POINT (-40.337638 -2.80054)'))) / (select extract(epoch from '2026-06-29 08:45:08'::timestamp) - extract(epoch from '2026-06-29 08:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337508 -2.800443)'), GeomFromEWKT('SRID=4674;POINT (-40.337638 -2.80054)'))) / (select extract(epoch from '2026-06-29 08:45:08'::timestamp) - extract(epoch from '2026-06-29 08:45: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'), 46720, 'SRID=4674;POINT (-40.33782 -2.800612)', '2026-06-29 08:45:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337638 -2.80054)'), GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.800612)'))) / (select extract(epoch from '2026-06-29 08:45:16'::timestamp) - extract(epoch from '2026-06-29 08:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337638 -2.80054)'), GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.800612)'))) / (select extract(epoch from '2026-06-29 08:45:16'::timestamp) - extract(epoch from '2026-06-29 08:45: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'), 46720, 'SRID=4674;POINT (-40.337976 -2.800634)', '2026-06-29 08:45:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.800612)'), GeomFromEWKT('SRID=4674;POINT (-40.337976 -2.800634)'))) / (select extract(epoch from '2026-06-29 08:45:22'::timestamp) - extract(epoch from '2026-06-29 08:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.800612)'), GeomFromEWKT('SRID=4674;POINT (-40.337976 -2.800634)'))) / (select extract(epoch from '2026-06-29 08:45:22'::timestamp) - extract(epoch from '2026-06-29 08:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.338221 -2.800692)', '2026-06-29 08:45:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337976 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.338221 -2.800692)'))) / (select extract(epoch from '2026-06-29 08:45:32'::timestamp) - extract(epoch from '2026-06-29 08:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337976 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.338221 -2.800692)'))) / (select extract(epoch from '2026-06-29 08:45:32'::timestamp) - extract(epoch from '2026-06-29 08:45: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'), 46720, 'SRID=4674;POINT (-40.338412 -2.800757)', '2026-06-29 08:45:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338221 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.338412 -2.800757)'))) / (select extract(epoch from '2026-06-29 08:45:40'::timestamp) - extract(epoch from '2026-06-29 08:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338221 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.338412 -2.800757)'))) / (select extract(epoch from '2026-06-29 08:45:40'::timestamp) - extract(epoch from '2026-06-29 08:45: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'), 46720, 'SRID=4674;POINT (-40.338617 -2.800787)', '2026-06-29 08:45:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338412 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.338617 -2.800787)'))) / (select extract(epoch from '2026-06-29 08:45:48'::timestamp) - extract(epoch from '2026-06-29 08:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338412 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.338617 -2.800787)'))) / (select extract(epoch from '2026-06-29 08:45:48'::timestamp) - extract(epoch from '2026-06-29 08:45: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'), 46720, 'SRID=4674;POINT (-40.338856 -2.800768)', '2026-06-29 08:45:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338617 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800768)'))) / (select extract(epoch from '2026-06-29 08:45:57'::timestamp) - extract(epoch from '2026-06-29 08:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338617 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800768)'))) / (select extract(epoch from '2026-06-29 08:45:57'::timestamp) - extract(epoch from '2026-06-29 08:45: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'), 46720, 'SRID=4674;POINT (-40.33909 -2.800746)', '2026-06-29 08:46:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800768)'), GeomFromEWKT('SRID=4674;POINT (-40.33909 -2.800746)'))) / (select extract(epoch from '2026-06-29 08:46:06'::timestamp) - extract(epoch from '2026-06-29 08:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800768)'), GeomFromEWKT('SRID=4674;POINT (-40.33909 -2.800746)'))) / (select extract(epoch from '2026-06-29 08:46:06'::timestamp) - extract(epoch from '2026-06-29 08:45: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'), 46720, 'SRID=4674;POINT (-40.33929 -2.800757)', '2026-06-29 08:46:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33909 -2.800746)'), GeomFromEWKT('SRID=4674;POINT (-40.33929 -2.800757)'))) / (select extract(epoch from '2026-06-29 08:46:14'::timestamp) - extract(epoch from '2026-06-29 08:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33909 -2.800746)'), GeomFromEWKT('SRID=4674;POINT (-40.33929 -2.800757)'))) / (select extract(epoch from '2026-06-29 08:46:14'::timestamp) - extract(epoch from '2026-06-29 08:46: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'), 46720, 'SRID=4674;POINT (-40.339455 -2.800796)', '2026-06-29 08:46:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33929 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.339455 -2.800796)'))) / (select extract(epoch from '2026-06-29 08:46:21'::timestamp) - extract(epoch from '2026-06-29 08:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33929 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.339455 -2.800796)'))) / (select extract(epoch from '2026-06-29 08:46:21'::timestamp) - extract(epoch from '2026-06-29 08:46: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'), 46720, 'SRID=4674;POINT (-40.339674 -2.800787)', '2026-06-29 08:46:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339455 -2.800796)'), GeomFromEWKT('SRID=4674;POINT (-40.339674 -2.800787)'))) / (select extract(epoch from '2026-06-29 08:46:30'::timestamp) - extract(epoch from '2026-06-29 08:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339455 -2.800796)'), GeomFromEWKT('SRID=4674;POINT (-40.339674 -2.800787)'))) / (select extract(epoch from '2026-06-29 08:46:30'::timestamp) - extract(epoch from '2026-06-29 08:46: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'), 46720, 'SRID=4674;POINT (-40.339803 -2.800809)', '2026-06-29 08:46:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339674 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.339803 -2.800809)'))) / (select extract(epoch from '2026-06-29 08:46:35'::timestamp) - extract(epoch from '2026-06-29 08:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339674 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.339803 -2.800809)'))) / (select extract(epoch from '2026-06-29 08:46:35'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.339951 -2.800831)', '2026-06-29 08:46:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339803 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.339951 -2.800831)'))) / (select extract(epoch from '2026-06-29 08:46:41'::timestamp) - extract(epoch from '2026-06-29 08:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339803 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.339951 -2.800831)'))) / (select extract(epoch from '2026-06-29 08:46:41'::timestamp) - extract(epoch from '2026-06-29 08:46: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'), 46720, 'SRID=4674;POINT (-40.340178 -2.800848)', '2026-06-29 08:46:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339951 -2.800831)'), GeomFromEWKT('SRID=4674;POINT (-40.340178 -2.800848)'))) / (select extract(epoch from '2026-06-29 08:46:50'::timestamp) - extract(epoch from '2026-06-29 08:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339951 -2.800831)'), GeomFromEWKT('SRID=4674;POINT (-40.340178 -2.800848)'))) / (select extract(epoch from '2026-06-29 08:46:50'::timestamp) - extract(epoch from '2026-06-29 08:46: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'), 46720, 'SRID=4674;POINT (-40.340404 -2.800874)', '2026-06-29 08:46:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340178 -2.800848)'), GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800874)'))) / (select extract(epoch from '2026-06-29 08:46:59'::timestamp) - extract(epoch from '2026-06-29 08:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340178 -2.800848)'), GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800874)'))) / (select extract(epoch from '2026-06-29 08:46:59'::timestamp) - extract(epoch from '2026-06-29 08:46: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'), 46720, 'SRID=4674;POINT (-40.340627 -2.800891)', '2026-06-29 08:47:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800874)'), GeomFromEWKT('SRID=4674;POINT (-40.340627 -2.800891)'))) / (select extract(epoch from '2026-06-29 08:47:08'::timestamp) - extract(epoch from '2026-06-29 08:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800874)'), GeomFromEWKT('SRID=4674;POINT (-40.340627 -2.800891)'))) / (select extract(epoch from '2026-06-29 08:47:08'::timestamp) - extract(epoch from '2026-06-29 08:46: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'), 46720, 'SRID=4674;POINT (-40.340801 -2.800892)', '2026-06-29 08:47:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340627 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.800892)'))) / (select extract(epoch from '2026-06-29 08:47:15'::timestamp) - extract(epoch from '2026-06-29 08:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340627 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.800892)'))) / (select extract(epoch from '2026-06-29 08:47:15'::timestamp) - extract(epoch from '2026-06-29 08:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341046 -2.800919)', '2026-06-29 08:47:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.341046 -2.800919)'))) / (select extract(epoch from '2026-06-29 08:47:25'::timestamp) - extract(epoch from '2026-06-29 08:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.341046 -2.800919)'))) / (select extract(epoch from '2026-06-29 08:47:25'::timestamp) - extract(epoch from '2026-06-29 08:47: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'), 46720, 'SRID=4674;POINT (-40.341256 -2.800989)', '2026-06-29 08:47:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341046 -2.800919)'), GeomFromEWKT('SRID=4674;POINT (-40.341256 -2.800989)'))) / (select extract(epoch from '2026-06-29 08:47:34'::timestamp) - extract(epoch from '2026-06-29 08:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341046 -2.800919)'), GeomFromEWKT('SRID=4674;POINT (-40.341256 -2.800989)'))) / (select extract(epoch from '2026-06-29 08:47:34'::timestamp) - extract(epoch from '2026-06-29 08:47: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'), 46720, 'SRID=4674;POINT (-40.341401 -2.801014)', '2026-06-29 08:47:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341256 -2.800989)'), GeomFromEWKT('SRID=4674;POINT (-40.341401 -2.801014)'))) / (select extract(epoch from '2026-06-29 08:47:40'::timestamp) - extract(epoch from '2026-06-29 08:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341256 -2.800989)'), GeomFromEWKT('SRID=4674;POINT (-40.341401 -2.801014)'))) / (select extract(epoch from '2026-06-29 08:47:40'::timestamp) - extract(epoch from '2026-06-29 08:47: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'), 46720, 'SRID=4674;POINT (-40.341594 -2.80105)', '2026-06-29 08:47:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341401 -2.801014)'), GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.80105)'))) / (select extract(epoch from '2026-06-29 08:47:48'::timestamp) - extract(epoch from '2026-06-29 08:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341401 -2.801014)'), GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.80105)'))) / (select extract(epoch from '2026-06-29 08:47:48'::timestamp) - extract(epoch from '2026-06-29 08:47: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'), 46720, 'SRID=4674;POINT (-40.341743 -2.801078)', '2026-06-29 08:47:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.80105)'), GeomFromEWKT('SRID=4674;POINT (-40.341743 -2.801078)'))) / (select extract(epoch from '2026-06-29 08:47:54'::timestamp) - extract(epoch from '2026-06-29 08:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.80105)'), GeomFromEWKT('SRID=4674;POINT (-40.341743 -2.801078)'))) / (select extract(epoch from '2026-06-29 08:47:54'::timestamp) - extract(epoch from '2026-06-29 08:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341923 -2.801095)', '2026-06-29 08:48:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341743 -2.801078)'), GeomFromEWKT('SRID=4674;POINT (-40.341923 -2.801095)'))) / (select extract(epoch from '2026-06-29 08:48:01'::timestamp) - extract(epoch from '2026-06-29 08:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341743 -2.801078)'), GeomFromEWKT('SRID=4674;POINT (-40.341923 -2.801095)'))) / (select extract(epoch from '2026-06-29 08:48:01'::timestamp) - extract(epoch from '2026-06-29 08:47: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'), 46720, 'SRID=4674;POINT (-40.34214 -2.801156)', '2026-06-29 08:48:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341923 -2.801095)'), GeomFromEWKT('SRID=4674;POINT (-40.34214 -2.801156)'))) / (select extract(epoch from '2026-06-29 08:48:10'::timestamp) - extract(epoch from '2026-06-29 08:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341923 -2.801095)'), GeomFromEWKT('SRID=4674;POINT (-40.34214 -2.801156)'))) / (select extract(epoch from '2026-06-29 08:48:10'::timestamp) - extract(epoch from '2026-06-29 08:48: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'), 46720, 'SRID=4674;POINT (-40.342352 -2.801231)', '2026-06-29 08:48:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34214 -2.801156)'), GeomFromEWKT('SRID=4674;POINT (-40.342352 -2.801231)'))) / (select extract(epoch from '2026-06-29 08:48:19'::timestamp) - extract(epoch from '2026-06-29 08:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34214 -2.801156)'), GeomFromEWKT('SRID=4674;POINT (-40.342352 -2.801231)'))) / (select extract(epoch from '2026-06-29 08:48:19'::timestamp) - extract(epoch from '2026-06-29 08:48: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'), 46720, 'SRID=4674;POINT (-40.342594 -2.801295)', '2026-06-29 08:48:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342352 -2.801231)'), GeomFromEWKT('SRID=4674;POINT (-40.342594 -2.801295)'))) / (select extract(epoch from '2026-06-29 08:48:29'::timestamp) - extract(epoch from '2026-06-29 08:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342352 -2.801231)'), GeomFromEWKT('SRID=4674;POINT (-40.342594 -2.801295)'))) / (select extract(epoch from '2026-06-29 08:48:29'::timestamp) - extract(epoch from '2026-06-29 08:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.342782 -2.801342)', '2026-06-29 08:48:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342594 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.801342)'))) / (select extract(epoch from '2026-06-29 08:48:37'::timestamp) - extract(epoch from '2026-06-29 08:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342594 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.801342)'))) / (select extract(epoch from '2026-06-29 08:48:37'::timestamp) - extract(epoch from '2026-06-29 08:48: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'), 46720, 'SRID=4674;POINT (-40.343003 -2.801386)', '2026-06-29 08:48:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.801342)'), GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.801386)'))) / (select extract(epoch from '2026-06-29 08:48:46'::timestamp) - extract(epoch from '2026-06-29 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.801342)'), GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.801386)'))) / (select extract(epoch from '2026-06-29 08:48:46'::timestamp) - extract(epoch from '2026-06-29 08:48: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'), 46720, 'SRID=4674;POINT (-40.343222 -2.801433)', '2026-06-29 08:48:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.801386)'), GeomFromEWKT('SRID=4674;POINT (-40.343222 -2.801433)'))) / (select extract(epoch from '2026-06-29 08:48:55'::timestamp) - extract(epoch from '2026-06-29 08:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.801386)'), GeomFromEWKT('SRID=4674;POINT (-40.343222 -2.801433)'))) / (select extract(epoch from '2026-06-29 08:48:55'::timestamp) - extract(epoch from '2026-06-29 08:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.343516 -2.8015)', '2026-06-29 08:49:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343222 -2.801433)'), GeomFromEWKT('SRID=4674;POINT (-40.343516 -2.8015)'))) / (select extract(epoch from '2026-06-29 08:49:07'::timestamp) - extract(epoch from '2026-06-29 08:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343222 -2.801433)'), GeomFromEWKT('SRID=4674;POINT (-40.343516 -2.8015)'))) / (select extract(epoch from '2026-06-29 08:49:07'::timestamp) - extract(epoch from '2026-06-29 08:48: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'), 46720, 'SRID=4674;POINT (-40.343836 -2.80157)', '2026-06-29 08:49:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343516 -2.8015)'), GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.80157)'))) / (select extract(epoch from '2026-06-29 08:49:20'::timestamp) - extract(epoch from '2026-06-29 08:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343516 -2.8015)'), GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.80157)'))) / (select extract(epoch from '2026-06-29 08:49:20'::timestamp) - extract(epoch from '2026-06-29 08:49: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'), 46720, 'SRID=4674;POINT (-40.344061 -2.801615)', '2026-06-29 08:49:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.801615)'))) / (select extract(epoch from '2026-06-29 08:49:29'::timestamp) - extract(epoch from '2026-06-29 08:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.801615)'))) / (select extract(epoch from '2026-06-29 08:49:29'::timestamp) - extract(epoch from '2026-06-29 08:49: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'), 46720, 'SRID=4674;POINT (-40.344311 -2.801676)', '2026-06-29 08:49:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801676)'))) / (select extract(epoch from '2026-06-29 08:49:39'::timestamp) - extract(epoch from '2026-06-29 08:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.801615)'), GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801676)'))) / (select extract(epoch from '2026-06-29 08:49:39'::timestamp) - extract(epoch from '2026-06-29 08:49: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'), 46720, 'SRID=4674;POINT (-40.344497 -2.801754)', '2026-06-29 08:49:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801676)'), GeomFromEWKT('SRID=4674;POINT (-40.344497 -2.801754)'))) / (select extract(epoch from '2026-06-29 08:49:47'::timestamp) - extract(epoch from '2026-06-29 08:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801676)'), GeomFromEWKT('SRID=4674;POINT (-40.344497 -2.801754)'))) / (select extract(epoch from '2026-06-29 08:49:47'::timestamp) - extract(epoch from '2026-06-29 08:49: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'), 46720, 'SRID=4674;POINT (-40.34469 -2.801804)', '2026-06-29 08:49:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344497 -2.801754)'), GeomFromEWKT('SRID=4674;POINT (-40.34469 -2.801804)'))) / (select extract(epoch from '2026-06-29 08:49:55'::timestamp) - extract(epoch from '2026-06-29 08:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344497 -2.801754)'), GeomFromEWKT('SRID=4674;POINT (-40.34469 -2.801804)'))) / (select extract(epoch from '2026-06-29 08:49:55'::timestamp) - extract(epoch from '2026-06-29 08:49: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'), 46720, 'SRID=4674;POINT (-40.344941 -2.801866)', '2026-06-29 08:50:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34469 -2.801804)'), GeomFromEWKT('SRID=4674;POINT (-40.344941 -2.801866)'))) / (select extract(epoch from '2026-06-29 08:50:05'::timestamp) - extract(epoch from '2026-06-29 08:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34469 -2.801804)'), GeomFromEWKT('SRID=4674;POINT (-40.344941 -2.801866)'))) / (select extract(epoch from '2026-06-29 08:50:05'::timestamp) - extract(epoch from '2026-06-29 08:49: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'), 46720, 'SRID=4674;POINT (-40.345108 -2.80192)', '2026-06-29 08:50:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344941 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.80192)'))) / (select extract(epoch from '2026-06-29 08:50:12'::timestamp) - extract(epoch from '2026-06-29 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344941 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.80192)'))) / (select extract(epoch from '2026-06-29 08:50:12'::timestamp) - extract(epoch from '2026-06-29 08:50: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'), 46720, 'SRID=4674;POINT (-40.345302 -2.80194)', '2026-06-29 08:50:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.80192)'), GeomFromEWKT('SRID=4674;POINT (-40.345302 -2.80194)'))) / (select extract(epoch from '2026-06-29 08:50:20'::timestamp) - extract(epoch from '2026-06-29 08:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.80192)'), GeomFromEWKT('SRID=4674;POINT (-40.345302 -2.80194)'))) / (select extract(epoch from '2026-06-29 08:50:20'::timestamp) - extract(epoch from '2026-06-29 08:50: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'), 46720, 'SRID=4674;POINT (-40.345575 -2.801999)', '2026-06-29 08:50:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345302 -2.80194)'), GeomFromEWKT('SRID=4674;POINT (-40.345575 -2.801999)'))) / (select extract(epoch from '2026-06-29 08:50:31'::timestamp) - extract(epoch from '2026-06-29 08:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345302 -2.80194)'), GeomFromEWKT('SRID=4674;POINT (-40.345575 -2.801999)'))) / (select extract(epoch from '2026-06-29 08:50:31'::timestamp) - extract(epoch from '2026-06-29 08:50: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'), 46720, 'SRID=4674;POINT (-40.345856 -2.802104)', '2026-06-29 08:50:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345575 -2.801999)'), GeomFromEWKT('SRID=4674;POINT (-40.345856 -2.802104)'))) / (select extract(epoch from '2026-06-29 08:50:43'::timestamp) - extract(epoch from '2026-06-29 08:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345575 -2.801999)'), GeomFromEWKT('SRID=4674;POINT (-40.345856 -2.802104)'))) / (select extract(epoch from '2026-06-29 08:50:43'::timestamp) - extract(epoch from '2026-06-29 08:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346084 -2.802188)', '2026-06-29 08:50:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345856 -2.802104)'), GeomFromEWKT('SRID=4674;POINT (-40.346084 -2.802188)'))) / (select extract(epoch from '2026-06-29 08:50:53'::timestamp) - extract(epoch from '2026-06-29 08:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345856 -2.802104)'), GeomFromEWKT('SRID=4674;POINT (-40.346084 -2.802188)'))) / (select extract(epoch from '2026-06-29 08:50:53'::timestamp) - extract(epoch from '2026-06-29 08:50: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'), 46720, 'SRID=4674;POINT (-40.34629 -2.802275)', '2026-06-29 08:51:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346084 -2.802188)'), GeomFromEWKT('SRID=4674;POINT (-40.34629 -2.802275)'))) / (select extract(epoch from '2026-06-29 08:51:02'::timestamp) - extract(epoch from '2026-06-29 08:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346084 -2.802188)'), GeomFromEWKT('SRID=4674;POINT (-40.34629 -2.802275)'))) / (select extract(epoch from '2026-06-29 08:51:02'::timestamp) - extract(epoch from '2026-06-29 08:50: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'), 46720, 'SRID=4674;POINT (-40.346451 -2.802332)', '2026-06-29 08:51:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34629 -2.802275)'), GeomFromEWKT('SRID=4674;POINT (-40.346451 -2.802332)'))) / (select extract(epoch from '2026-06-29 08:51:09'::timestamp) - extract(epoch from '2026-06-29 08:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34629 -2.802275)'), GeomFromEWKT('SRID=4674;POINT (-40.346451 -2.802332)'))) / (select extract(epoch from '2026-06-29 08:51:09'::timestamp) - extract(epoch from '2026-06-29 08:51: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'), 46720, 'SRID=4674;POINT (-40.346726 -2.802464)', '2026-06-29 08:51:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346451 -2.802332)'), GeomFromEWKT('SRID=4674;POINT (-40.346726 -2.802464)'))) / (select extract(epoch from '2026-06-29 08:51:21'::timestamp) - extract(epoch from '2026-06-29 08:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346451 -2.802332)'), GeomFromEWKT('SRID=4674;POINT (-40.346726 -2.802464)'))) / (select extract(epoch from '2026-06-29 08:51:21'::timestamp) - extract(epoch from '2026-06-29 08:51: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'), 46720, 'SRID=4674;POINT (-40.346908 -2.802554)', '2026-06-29 08:51:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346726 -2.802464)'), GeomFromEWKT('SRID=4674;POINT (-40.346908 -2.802554)'))) / (select extract(epoch from '2026-06-29 08:51:29'::timestamp) - extract(epoch from '2026-06-29 08:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346726 -2.802464)'), GeomFromEWKT('SRID=4674;POINT (-40.346908 -2.802554)'))) / (select extract(epoch from '2026-06-29 08:51:29'::timestamp) - extract(epoch from '2026-06-29 08:51: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'), 46720, 'SRID=4674;POINT (-40.34711 -2.802656)', '2026-06-29 08:51:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346908 -2.802554)'), GeomFromEWKT('SRID=4674;POINT (-40.34711 -2.802656)'))) / (select extract(epoch from '2026-06-29 08:51:38'::timestamp) - extract(epoch from '2026-06-29 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346908 -2.802554)'), GeomFromEWKT('SRID=4674;POINT (-40.34711 -2.802656)'))) / (select extract(epoch from '2026-06-29 08:51:38'::timestamp) - extract(epoch from '2026-06-29 08:51: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'), 46720, 'SRID=4674;POINT (-40.347293 -2.802744)', '2026-06-29 08:51:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34711 -2.802656)'), GeomFromEWKT('SRID=4674;POINT (-40.347293 -2.802744)'))) / (select extract(epoch from '2026-06-29 08:51:46'::timestamp) - extract(epoch from '2026-06-29 08:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34711 -2.802656)'), GeomFromEWKT('SRID=4674;POINT (-40.347293 -2.802744)'))) / (select extract(epoch from '2026-06-29 08:51:46'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.347528 -2.802849)', '2026-06-29 08:51:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347293 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.347528 -2.802849)'))) / (select extract(epoch from '2026-06-29 08:51:56'::timestamp) - extract(epoch from '2026-06-29 08:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347293 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.347528 -2.802849)'))) / (select extract(epoch from '2026-06-29 08:51:56'::timestamp) - extract(epoch from '2026-06-29 08:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347773 -2.802929)', '2026-06-29 08:52:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347528 -2.802849)'), GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802929)'))) / (select extract(epoch from '2026-06-29 08:52:06'::timestamp) - extract(epoch from '2026-06-29 08:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347528 -2.802849)'), GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802929)'))) / (select extract(epoch from '2026-06-29 08:52:06'::timestamp) - extract(epoch from '2026-06-29 08:51: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'), 46720, 'SRID=4674;POINT (-40.347967 -2.802993)', '2026-06-29 08:52:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802929)'), GeomFromEWKT('SRID=4674;POINT (-40.347967 -2.802993)'))) / (select extract(epoch from '2026-06-29 08:52:14'::timestamp) - extract(epoch from '2026-06-29 08:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802929)'), GeomFromEWKT('SRID=4674;POINT (-40.347967 -2.802993)'))) / (select extract(epoch from '2026-06-29 08:52:14'::timestamp) - extract(epoch from '2026-06-29 08:52: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'), 46720, 'SRID=4674;POINT (-40.348162 -2.803047)', '2026-06-29 08:52:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347967 -2.802993)'), GeomFromEWKT('SRID=4674;POINT (-40.348162 -2.803047)'))) / (select extract(epoch from '2026-06-29 08:52:22'::timestamp) - extract(epoch from '2026-06-29 08:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347967 -2.802993)'), GeomFromEWKT('SRID=4674;POINT (-40.348162 -2.803047)'))) / (select extract(epoch from '2026-06-29 08:52:22'::timestamp) - extract(epoch from '2026-06-29 08:52: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'), 46720, 'SRID=4674;POINT (-40.348335 -2.803105)', '2026-06-29 08:52:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348162 -2.803047)'), GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.803105)'))) / (select extract(epoch from '2026-06-29 08:52:29'::timestamp) - extract(epoch from '2026-06-29 08:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348162 -2.803047)'), GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.803105)'))) / (select extract(epoch from '2026-06-29 08:52:29'::timestamp) - extract(epoch from '2026-06-29 08:52: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'), 46720, 'SRID=4674;POINT (-40.348547 -2.803183)', '2026-06-29 08:52:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.803105)'), GeomFromEWKT('SRID=4674;POINT (-40.348547 -2.803183)'))) / (select extract(epoch from '2026-06-29 08:52:38'::timestamp) - extract(epoch from '2026-06-29 08:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.803105)'), GeomFromEWKT('SRID=4674;POINT (-40.348547 -2.803183)'))) / (select extract(epoch from '2026-06-29 08:52:38'::timestamp) - extract(epoch from '2026-06-29 08:52: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'), 46720, 'SRID=4674;POINT (-40.348734 -2.80326)', '2026-06-29 08:52:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348547 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.348734 -2.80326)'))) / (select extract(epoch from '2026-06-29 08:52:46'::timestamp) - extract(epoch from '2026-06-29 08:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348547 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.348734 -2.80326)'))) / (select extract(epoch from '2026-06-29 08:52:46'::timestamp) - extract(epoch from '2026-06-29 08: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'), 46720, 'SRID=4674;POINT (-40.348941 -2.803356)', '2026-06-29 08:52:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348734 -2.80326)'), GeomFromEWKT('SRID=4674;POINT (-40.348941 -2.803356)'))) / (select extract(epoch from '2026-06-29 08:52:55'::timestamp) - extract(epoch from '2026-06-29 08:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348734 -2.80326)'), GeomFromEWKT('SRID=4674;POINT (-40.348941 -2.803356)'))) / (select extract(epoch from '2026-06-29 08:52:55'::timestamp) - extract(epoch from '2026-06-29 08:52: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'), 46720, 'SRID=4674;POINT (-40.349114 -2.803408)', '2026-06-29 08:53:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348941 -2.803356)'), GeomFromEWKT('SRID=4674;POINT (-40.349114 -2.803408)'))) / (select extract(epoch from '2026-06-29 08:53:02'::timestamp) - extract(epoch from '2026-06-29 08:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348941 -2.803356)'), GeomFromEWKT('SRID=4674;POINT (-40.349114 -2.803408)'))) / (select extract(epoch from '2026-06-29 08:53:02'::timestamp) - extract(epoch from '2026-06-29 08:52: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'), 46720, 'SRID=4674;POINT (-40.349325 -2.803492)', '2026-06-29 08:53:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349114 -2.803408)'), GeomFromEWKT('SRID=4674;POINT (-40.349325 -2.803492)'))) / (select extract(epoch from '2026-06-29 08:53:11'::timestamp) - extract(epoch from '2026-06-29 08:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349114 -2.803408)'), GeomFromEWKT('SRID=4674;POINT (-40.349325 -2.803492)'))) / (select extract(epoch from '2026-06-29 08:53:11'::timestamp) - extract(epoch from '2026-06-29 08:53: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'), 46720, 'SRID=4674;POINT (-40.349543 -2.803565)', '2026-06-29 08:53:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349325 -2.803492)'), GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.803565)'))) / (select extract(epoch from '2026-06-29 08:53:20'::timestamp) - extract(epoch from '2026-06-29 08:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349325 -2.803492)'), GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.803565)'))) / (select extract(epoch from '2026-06-29 08:53:20'::timestamp) - extract(epoch from '2026-06-29 08:53: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'), 46720, 'SRID=4674;POINT (-40.349718 -2.803598)', '2026-06-29 08:53:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.803565)'), GeomFromEWKT('SRID=4674;POINT (-40.349718 -2.803598)'))) / (select extract(epoch from '2026-06-29 08:53:27'::timestamp) - extract(epoch from '2026-06-29 08:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.803565)'), GeomFromEWKT('SRID=4674;POINT (-40.349718 -2.803598)'))) / (select extract(epoch from '2026-06-29 08:53:27'::timestamp) - extract(epoch from '2026-06-29 08:53: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'), 46720, 'SRID=4674;POINT (-40.349898 -2.803683)', '2026-06-29 08:53:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349718 -2.803598)'), GeomFromEWKT('SRID=4674;POINT (-40.349898 -2.803683)'))) / (select extract(epoch from '2026-06-29 08:53:35'::timestamp) - extract(epoch from '2026-06-29 08:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349718 -2.803598)'), GeomFromEWKT('SRID=4674;POINT (-40.349898 -2.803683)'))) / (select extract(epoch from '2026-06-29 08:53:35'::timestamp) - extract(epoch from '2026-06-29 08:53: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'), 46720, 'SRID=4674;POINT (-40.350094 -2.803799)', '2026-06-29 08:53:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349898 -2.803683)'), GeomFromEWKT('SRID=4674;POINT (-40.350094 -2.803799)'))) / (select extract(epoch from '2026-06-29 08:53:44'::timestamp) - extract(epoch from '2026-06-29 08:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349898 -2.803683)'), GeomFromEWKT('SRID=4674;POINT (-40.350094 -2.803799)'))) / (select extract(epoch from '2026-06-29 08:53:44'::timestamp) - extract(epoch from '2026-06-29 08:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350318 -2.803914)', '2026-06-29 08:53:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350094 -2.803799)'), GeomFromEWKT('SRID=4674;POINT (-40.350318 -2.803914)'))) / (select extract(epoch from '2026-06-29 08:53:54'::timestamp) - extract(epoch from '2026-06-29 08:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350094 -2.803799)'), GeomFromEWKT('SRID=4674;POINT (-40.350318 -2.803914)'))) / (select extract(epoch from '2026-06-29 08:53:54'::timestamp) - extract(epoch from '2026-06-29 08:53: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'), 46720, 'SRID=4674;POINT (-40.350493 -2.803943)', '2026-06-29 08:54:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350318 -2.803914)'), GeomFromEWKT('SRID=4674;POINT (-40.350493 -2.803943)'))) / (select extract(epoch from '2026-06-29 08:54:01'::timestamp) - extract(epoch from '2026-06-29 08:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350318 -2.803914)'), GeomFromEWKT('SRID=4674;POINT (-40.350493 -2.803943)'))) / (select extract(epoch from '2026-06-29 08:54:01'::timestamp) - extract(epoch from '2026-06-29 08:53: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'), 46720, 'SRID=4674;POINT (-40.350723 -2.803971)', '2026-06-29 08:54:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350493 -2.803943)'), GeomFromEWKT('SRID=4674;POINT (-40.350723 -2.803971)'))) / (select extract(epoch from '2026-06-29 08:54:10'::timestamp) - extract(epoch from '2026-06-29 08:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350493 -2.803943)'), GeomFromEWKT('SRID=4674;POINT (-40.350723 -2.803971)'))) / (select extract(epoch from '2026-06-29 08:54:10'::timestamp) - extract(epoch from '2026-06-29 08:54: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'), 46720, 'SRID=4674;POINT (-40.350893 -2.804014)', '2026-06-29 08:54:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350723 -2.803971)'), GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.804014)'))) / (select extract(epoch from '2026-06-29 08:54:17'::timestamp) - extract(epoch from '2026-06-29 08:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350723 -2.803971)'), GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.804014)'))) / (select extract(epoch from '2026-06-29 08:54:17'::timestamp) - extract(epoch from '2026-06-29 08:54: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'), 46720, 'SRID=4674;POINT (-40.35111 -2.804066)', '2026-06-29 08:54:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.804014)'), GeomFromEWKT('SRID=4674;POINT (-40.35111 -2.804066)'))) / (select extract(epoch from '2026-06-29 08:54:26'::timestamp) - extract(epoch from '2026-06-29 08:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.804014)'), GeomFromEWKT('SRID=4674;POINT (-40.35111 -2.804066)'))) / (select extract(epoch from '2026-06-29 08:54:26'::timestamp) - extract(epoch from '2026-06-29 08:54: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'), 46720, 'SRID=4674;POINT (-40.3513 -2.80413)', '2026-06-29 08:54:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35111 -2.804066)'), GeomFromEWKT('SRID=4674;POINT (-40.3513 -2.80413)'))) / (select extract(epoch from '2026-06-29 08:54:34'::timestamp) - extract(epoch from '2026-06-29 08:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35111 -2.804066)'), GeomFromEWKT('SRID=4674;POINT (-40.3513 -2.80413)'))) / (select extract(epoch from '2026-06-29 08:54:34'::timestamp) - extract(epoch from '2026-06-29 08:54: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'), 46720, 'SRID=4674;POINT (-40.35151 -2.80424)', '2026-06-29 08:54:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3513 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.35151 -2.80424)'))) / (select extract(epoch from '2026-06-29 08:54:43'::timestamp) - extract(epoch from '2026-06-29 08:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3513 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.35151 -2.80424)'))) / (select extract(epoch from '2026-06-29 08:54:43'::timestamp) - extract(epoch from '2026-06-29 08:54: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'), 46720, 'SRID=4674;POINT (-40.351735 -2.804302)', '2026-06-29 08:54:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35151 -2.80424)'), GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.804302)'))) / (select extract(epoch from '2026-06-29 08:54:52'::timestamp) - extract(epoch from '2026-06-29 08:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35151 -2.80424)'), GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.804302)'))) / (select extract(epoch from '2026-06-29 08:54:52'::timestamp) - extract(epoch from '2026-06-29 08:54: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'), 46720, 'SRID=4674;POINT (-40.351959 -2.804361)', '2026-06-29 08:55:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.804302)'), GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804361)'))) / (select extract(epoch from '2026-06-29 08:55:01'::timestamp) - extract(epoch from '2026-06-29 08:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.804302)'), GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804361)'))) / (select extract(epoch from '2026-06-29 08:55:01'::timestamp) - extract(epoch from '2026-06-29 08:54: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'), 46720, 'SRID=4674;POINT (-40.352229 -2.804438)', '2026-06-29 08:55:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.352229 -2.804438)'))) / (select extract(epoch from '2026-06-29 08:55:12'::timestamp) - extract(epoch from '2026-06-29 08:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.352229 -2.804438)'))) / (select extract(epoch from '2026-06-29 08:55:12'::timestamp) - extract(epoch from '2026-06-29 08:55: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'), 46720, 'SRID=4674;POINT (-40.352412 -2.804535)', '2026-06-29 08:55:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352229 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.804535)'))) / (select extract(epoch from '2026-06-29 08:55:20'::timestamp) - extract(epoch from '2026-06-29 08:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352229 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.804535)'))) / (select extract(epoch from '2026-06-29 08:55:20'::timestamp) - extract(epoch from '2026-06-29 08:55: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'), 46720, 'SRID=4674;POINT (-40.352571 -2.804666)', '2026-06-29 08:55:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.804535)'), GeomFromEWKT('SRID=4674;POINT (-40.352571 -2.804666)'))) / (select extract(epoch from '2026-06-29 08:55:28'::timestamp) - extract(epoch from '2026-06-29 08:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352412 -2.804535)'), GeomFromEWKT('SRID=4674;POINT (-40.352571 -2.804666)'))) / (select extract(epoch from '2026-06-29 08:55:28'::timestamp) - extract(epoch from '2026-06-29 08:55: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'), 46720, 'SRID=4674;POINT (-40.35277 -2.804772)', '2026-06-29 08:55:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352571 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.35277 -2.804772)'))) / (select extract(epoch from '2026-06-29 08:55:37'::timestamp) - extract(epoch from '2026-06-29 08:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352571 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.35277 -2.804772)'))) / (select extract(epoch from '2026-06-29 08:55:37'::timestamp) - extract(epoch from '2026-06-29 08:55: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'), 46720, 'SRID=4674;POINT (-40.352952 -2.804868)', '2026-06-29 08:55:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35277 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.352952 -2.804868)'))) / (select extract(epoch from '2026-06-29 08:55:45'::timestamp) - extract(epoch from '2026-06-29 08:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35277 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.352952 -2.804868)'))) / (select extract(epoch from '2026-06-29 08:55:45'::timestamp) - extract(epoch from '2026-06-29 08:55: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'), 46720, 'SRID=4674;POINT (-40.353116 -2.804981)', '2026-06-29 08:55:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352952 -2.804868)'), GeomFromEWKT('SRID=4674;POINT (-40.353116 -2.804981)'))) / (select extract(epoch from '2026-06-29 08:55:53'::timestamp) - extract(epoch from '2026-06-29 08:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352952 -2.804868)'), GeomFromEWKT('SRID=4674;POINT (-40.353116 -2.804981)'))) / (select extract(epoch from '2026-06-29 08:55:53'::timestamp) - extract(epoch from '2026-06-29 08:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
