 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326144 -2.782225)', '2026-07-17 08:48:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326073 -2.782107)'), GeomFromEWKT('SRID=4674;POINT (-40.326144 -2.782225)'))) / (select extract(epoch from '2026-07-17 08:48:41'::timestamp) - extract(epoch from '2026-07-17 08:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326073 -2.782107)'), GeomFromEWKT('SRID=4674;POINT (-40.326144 -2.782225)'))) / (select extract(epoch from '2026-07-17 08:48:41'::timestamp) - extract(epoch from '2026-07-17 08:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32622 -2.78236)', '2026-07-17 08:48:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326144 -2.782225)'), GeomFromEWKT('SRID=4674;POINT (-40.32622 -2.78236)'))) / (select extract(epoch from '2026-07-17 08:48:48'::timestamp) - extract(epoch from '2026-07-17 08:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326144 -2.782225)'), GeomFromEWKT('SRID=4674;POINT (-40.32622 -2.78236)'))) / (select extract(epoch from '2026-07-17 08:48:48'::timestamp) - extract(epoch from '2026-07-17 08:48: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'), 47804, 'SRID=4674;POINT (-40.326278 -2.782475)', '2026-07-17 08:48:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32622 -2.78236)'), GeomFromEWKT('SRID=4674;POINT (-40.326278 -2.782475)'))) / (select extract(epoch from '2026-07-17 08:48:54'::timestamp) - extract(epoch from '2026-07-17 08:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32622 -2.78236)'), GeomFromEWKT('SRID=4674;POINT (-40.326278 -2.782475)'))) / (select extract(epoch from '2026-07-17 08:48:54'::timestamp) - extract(epoch from '2026-07-17 08:48: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'), 47804, 'SRID=4674;POINT (-40.326363 -2.782573)', '2026-07-17 08:49:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326278 -2.782475)'), GeomFromEWKT('SRID=4674;POINT (-40.326363 -2.782573)'))) / (select extract(epoch from '2026-07-17 08:49:00'::timestamp) - extract(epoch from '2026-07-17 08:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326278 -2.782475)'), GeomFromEWKT('SRID=4674;POINT (-40.326363 -2.782573)'))) / (select extract(epoch from '2026-07-17 08:49:00'::timestamp) - extract(epoch from '2026-07-17 08:48: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'), 47804, 'SRID=4674;POINT (-40.326441 -2.782682)', '2026-07-17 08:49:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326363 -2.782573)'), GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.782682)'))) / (select extract(epoch from '2026-07-17 08:49:06'::timestamp) - extract(epoch from '2026-07-17 08:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326363 -2.782573)'), GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.782682)'))) / (select extract(epoch from '2026-07-17 08:49:06'::timestamp) - extract(epoch from '2026-07-17 08:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326512 -2.782849)', '2026-07-17 08:49:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.782682)'), GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.782849)'))) / (select extract(epoch from '2026-07-17 08:49:15'::timestamp) - extract(epoch from '2026-07-17 08:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326441 -2.782682)'), GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.782849)'))) / (select extract(epoch from '2026-07-17 08:49:15'::timestamp) - extract(epoch from '2026-07-17 08:49: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'), 47804, 'SRID=4674;POINT (-40.326579 -2.782989)', '2026-07-17 08:49:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.782849)'), GeomFromEWKT('SRID=4674;POINT (-40.326579 -2.782989)'))) / (select extract(epoch from '2026-07-17 08:49:22'::timestamp) - extract(epoch from '2026-07-17 08:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326512 -2.782849)'), GeomFromEWKT('SRID=4674;POINT (-40.326579 -2.782989)'))) / (select extract(epoch from '2026-07-17 08:49:22'::timestamp) - extract(epoch from '2026-07-17 08:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326654 -2.783103)', '2026-07-17 08:49:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326579 -2.782989)'), GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783103)'))) / (select extract(epoch from '2026-07-17 08:49:28'::timestamp) - extract(epoch from '2026-07-17 08:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326579 -2.782989)'), GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783103)'))) / (select extract(epoch from '2026-07-17 08:49:28'::timestamp) - extract(epoch from '2026-07-17 08:49: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'), 47804, 'SRID=4674;POINT (-40.32671 -2.783268)', '2026-07-17 08:49:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783103)'), GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.783268)'))) / (select extract(epoch from '2026-07-17 08:49:36'::timestamp) - extract(epoch from '2026-07-17 08:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783103)'), GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.783268)'))) / (select extract(epoch from '2026-07-17 08:49:36'::timestamp) - extract(epoch from '2026-07-17 08:49: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'), 47804, 'SRID=4674;POINT (-40.32673 -2.783391)', '2026-07-17 08:49:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.783268)'), GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783391)'))) / (select extract(epoch from '2026-07-17 08:49:42'::timestamp) - extract(epoch from '2026-07-17 08:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.783268)'), GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783391)'))) / (select extract(epoch from '2026-07-17 08:49:42'::timestamp) - extract(epoch from '2026-07-17 08:49: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'), 47804, 'SRID=4674;POINT (-40.326754 -2.783541)', '2026-07-17 08:49:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783391)'), GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.783541)'))) / (select extract(epoch from '2026-07-17 08:49:49'::timestamp) - extract(epoch from '2026-07-17 08:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783391)'), GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.783541)'))) / (select extract(epoch from '2026-07-17 08:49:49'::timestamp) - extract(epoch from '2026-07-17 08:49: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'), 47804, 'SRID=4674;POINT (-40.326725 -2.783629)', '2026-07-17 08:49:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.326725 -2.783629)'))) / (select extract(epoch from '2026-07-17 08:49:54'::timestamp) - extract(epoch from '2026-07-17 08:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.326725 -2.783629)'))) / (select extract(epoch from '2026-07-17 08:49:54'::timestamp) - extract(epoch from '2026-07-17 08:49: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'), 47804, 'SRID=4674;POINT (-40.326654 -2.783681)', '2026-07-17 08:50:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326725 -2.783629)'), GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783681)'))) / (select extract(epoch from '2026-07-17 08:50:01'::timestamp) - extract(epoch from '2026-07-17 08:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326725 -2.783629)'), GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783681)'))) / (select extract(epoch from '2026-07-17 08:50:01'::timestamp) - extract(epoch from '2026-07-17 08:49: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'), 47804, 'SRID=4674;POINT (-40.326625 -2.783697)', '2026-07-17 08:50:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783681)'), GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.783697)'))) / (select extract(epoch from '2026-07-17 08:50:08'::timestamp) - extract(epoch from '2026-07-17 08:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326654 -2.783681)'), GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.783697)'))) / (select extract(epoch from '2026-07-17 08:50:08'::timestamp) - extract(epoch from '2026-07-17 08:50: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'), 47804, 'SRID=4674;POINT (-40.326625 -2.7837)', '2026-07-17 08:50:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.783697)'), GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.7837)'))) / (select extract(epoch from '2026-07-17 08:50:20'::timestamp) - extract(epoch from '2026-07-17 08:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.783697)'), GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.7837)'))) / (select extract(epoch from '2026-07-17 08:50:20'::timestamp) - extract(epoch from '2026-07-17 08:50: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'), 47804, 'SRID=4674;POINT (-40.326663 -2.783719)', '2026-07-17 08:50:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.783719)'))) / (select extract(epoch from '2026-07-17 08:50:42'::timestamp) - extract(epoch from '2026-07-17 08:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326625 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.783719)'))) / (select extract(epoch from '2026-07-17 08:50:42'::timestamp) - extract(epoch from '2026-07-17 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'), 47804, 'SRID=4674;POINT (-40.326623 -2.783707)', '2026-07-17 08:51:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.783719)'), GeomFromEWKT('SRID=4674;POINT (-40.326623 -2.783707)'))) / (select extract(epoch from '2026-07-17 08:51:18'::timestamp) - extract(epoch from '2026-07-17 08:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.783719)'), GeomFromEWKT('SRID=4674;POINT (-40.326623 -2.783707)'))) / (select extract(epoch from '2026-07-17 08:51:18'::timestamp) - extract(epoch from '2026-07-17 08:50: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'), 47804, 'SRID=4674;POINT (-40.326565 -2.783676)', '2026-07-17 08:55:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326623 -2.783707)'), GeomFromEWKT('SRID=4674;POINT (-40.326565 -2.783676)'))) / (select extract(epoch from '2026-07-17 08:55:21'::timestamp) - extract(epoch from '2026-07-17 08:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326623 -2.783707)'), GeomFromEWKT('SRID=4674;POINT (-40.326565 -2.783676)'))) / (select extract(epoch from '2026-07-17 08:55:21'::timestamp) - extract(epoch from '2026-07-17 08:51: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'), 47804, 'SRID=4674;POINT (-40.326537 -2.783697)', '2026-07-17 08:55:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326565 -2.783676)'), GeomFromEWKT('SRID=4674;POINT (-40.326537 -2.783697)'))) / (select extract(epoch from '2026-07-17 08:55:28'::timestamp) - extract(epoch from '2026-07-17 08:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326565 -2.783676)'), GeomFromEWKT('SRID=4674;POINT (-40.326537 -2.783697)'))) / (select extract(epoch from '2026-07-17 08:55:28'::timestamp) - extract(epoch from '2026-07-17 08:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32651 -2.783718)', '2026-07-17 08:55:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326537 -2.783697)'), GeomFromEWKT('SRID=4674;POINT (-40.32651 -2.783718)'))) / (select extract(epoch from '2026-07-17 08:55:38'::timestamp) - extract(epoch from '2026-07-17 08:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326537 -2.783697)'), GeomFromEWKT('SRID=4674;POINT (-40.32651 -2.783718)'))) / (select extract(epoch from '2026-07-17 08:55:38'::timestamp) - extract(epoch from '2026-07-17 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'), 47804, 'SRID=4674;POINT (-40.326473 -2.783727)', '2026-07-17 08:55:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32651 -2.783718)'), GeomFromEWKT('SRID=4674;POINT (-40.326473 -2.783727)'))) / (select extract(epoch from '2026-07-17 08:55:46'::timestamp) - extract(epoch from '2026-07-17 08:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32651 -2.783718)'), GeomFromEWKT('SRID=4674;POINT (-40.326473 -2.783727)'))) / (select extract(epoch from '2026-07-17 08:55:46'::timestamp) - extract(epoch from '2026-07-17 08:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32641 -2.783759)', '2026-07-17 08:55:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326473 -2.783727)'), GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.783759)'))) / (select extract(epoch from '2026-07-17 08:55:57'::timestamp) - extract(epoch from '2026-07-17 08:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326473 -2.783727)'), GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.783759)'))) / (select extract(epoch from '2026-07-17 08:55:57'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47804, 'SRID=4674;POINT (-40.326357 -2.783816)', '2026-07-17 08:56:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.783759)'), GeomFromEWKT('SRID=4674;POINT (-40.326357 -2.783816)'))) / (select extract(epoch from '2026-07-17 08:56:10'::timestamp) - extract(epoch from '2026-07-17 08:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.783759)'), GeomFromEWKT('SRID=4674;POINT (-40.326357 -2.783816)'))) / (select extract(epoch from '2026-07-17 08:56:10'::timestamp) - extract(epoch from '2026-07-17 08:55: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'), 47804, 'SRID=4674;POINT (-40.326353 -2.78382)', '2026-07-17 08:56:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326357 -2.783816)'), GeomFromEWKT('SRID=4674;POINT (-40.326353 -2.78382)'))) / (select extract(epoch from '2026-07-17 08:56:23'::timestamp) - extract(epoch from '2026-07-17 08:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326357 -2.783816)'), GeomFromEWKT('SRID=4674;POINT (-40.326353 -2.78382)'))) / (select extract(epoch from '2026-07-17 08:56:23'::timestamp) - extract(epoch from '2026-07-17 08:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326346 -2.783795)', '2026-07-17 08:56:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326353 -2.78382)'), GeomFromEWKT('SRID=4674;POINT (-40.326346 -2.783795)'))) / (select extract(epoch from '2026-07-17 08:56:54'::timestamp) - extract(epoch from '2026-07-17 08:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326353 -2.78382)'), GeomFromEWKT('SRID=4674;POINT (-40.326346 -2.783795)'))) / (select extract(epoch from '2026-07-17 08:56:54'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47804, 'SRID=4674;POINT (-40.326339 -2.783701)', '2026-07-17 08:58:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326346 -2.783795)'), GeomFromEWKT('SRID=4674;POINT (-40.326339 -2.783701)'))) / (select extract(epoch from '2026-07-17 08:58:16'::timestamp) - extract(epoch from '2026-07-17 08:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326346 -2.783795)'), GeomFromEWKT('SRID=4674;POINT (-40.326339 -2.783701)'))) / (select extract(epoch from '2026-07-17 08:58:16'::timestamp) - extract(epoch from '2026-07-17 08:56: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'), 47804, 'SRID=4674;POINT (-40.326385 -2.783615)', '2026-07-17 08:59:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326339 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.326385 -2.783615)'))) / (select extract(epoch from '2026-07-17 08:59:24'::timestamp) - extract(epoch from '2026-07-17 08:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326339 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.326385 -2.783615)'))) / (select extract(epoch from '2026-07-17 08:59:24'::timestamp) - extract(epoch from '2026-07-17 08:58: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'), 47804, 'SRID=4674;POINT (-40.326448 -2.78359)', '2026-07-17 08:59:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326385 -2.783615)'), GeomFromEWKT('SRID=4674;POINT (-40.326448 -2.78359)'))) / (select extract(epoch from '2026-07-17 08:59:58'::timestamp) - extract(epoch from '2026-07-17 08:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326385 -2.783615)'), GeomFromEWKT('SRID=4674;POINT (-40.326448 -2.78359)'))) / (select extract(epoch from '2026-07-17 08:59:58'::timestamp) - extract(epoch from '2026-07-17 08:59: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'), 47804, 'SRID=4674;POINT (-40.326487 -2.783572)', '2026-07-17 09:00:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326448 -2.78359)'), GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.783572)'))) / (select extract(epoch from '2026-07-17 09:00:05'::timestamp) - extract(epoch from '2026-07-17 08:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326448 -2.78359)'), GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.783572)'))) / (select extract(epoch from '2026-07-17 09:00:05'::timestamp) - extract(epoch from '2026-07-17 08:59: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'), 47804, 'SRID=4674;POINT (-40.326514 -2.783564)', '2026-07-17 09:00:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.783572)'), GeomFromEWKT('SRID=4674;POINT (-40.326514 -2.783564)'))) / (select extract(epoch from '2026-07-17 09:00:14'::timestamp) - extract(epoch from '2026-07-17 09:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.783572)'), GeomFromEWKT('SRID=4674;POINT (-40.326514 -2.783564)'))) / (select extract(epoch from '2026-07-17 09:00:14'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47804, 'SRID=4674;POINT (-40.326538 -2.783558)', '2026-07-17 09:00:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326514 -2.783564)'), GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.783558)'))) / (select extract(epoch from '2026-07-17 09:00:25'::timestamp) - extract(epoch from '2026-07-17 09:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326514 -2.783564)'), GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.783558)'))) / (select extract(epoch from '2026-07-17 09:00:25'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47804, 'SRID=4674;POINT (-40.326619 -2.783518)', '2026-07-17 09:00:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.783558)'), GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783518)'))) / (select extract(epoch from '2026-07-17 09:00:59'::timestamp) - extract(epoch from '2026-07-17 09:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.783558)'), GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783518)'))) / (select extract(epoch from '2026-07-17 09:00:59'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47804, 'SRID=4674;POINT (-40.326655 -2.783497)', '2026-07-17 09:01:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783518)'), GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.783497)'))) / (select extract(epoch from '2026-07-17 09:01:09'::timestamp) - extract(epoch from '2026-07-17 09:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783518)'), GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.783497)'))) / (select extract(epoch from '2026-07-17 09:01:09'::timestamp) - extract(epoch from '2026-07-17 09:00: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'), 47804, 'SRID=4674;POINT (-40.326735 -2.783443)', '2026-07-17 09:01:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.783497)'), GeomFromEWKT('SRID=4674;POINT (-40.326735 -2.783443)'))) / (select extract(epoch from '2026-07-17 09:01:49'::timestamp) - extract(epoch from '2026-07-17 09:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326655 -2.783497)'), GeomFromEWKT('SRID=4674;POINT (-40.326735 -2.783443)'))) / (select extract(epoch from '2026-07-17 09:01:49'::timestamp) - extract(epoch from '2026-07-17 09:01: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'), 47804, 'SRID=4674;POINT (-40.326745 -2.783437)', '2026-07-17 09:02:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326735 -2.783443)'), GeomFromEWKT('SRID=4674;POINT (-40.326745 -2.783437)'))) / (select extract(epoch from '2026-07-17 09:02:02'::timestamp) - extract(epoch from '2026-07-17 09:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326735 -2.783443)'), GeomFromEWKT('SRID=4674;POINT (-40.326745 -2.783437)'))) / (select extract(epoch from '2026-07-17 09:02:02'::timestamp) - extract(epoch from '2026-07-17 09:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326762 -2.783342)', '2026-07-17 09:02:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326745 -2.783437)'), GeomFromEWKT('SRID=4674;POINT (-40.326762 -2.783342)'))) / (select extract(epoch from '2026-07-17 09:02:12'::timestamp) - extract(epoch from '2026-07-17 09:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326745 -2.783437)'), GeomFromEWKT('SRID=4674;POINT (-40.326762 -2.783342)'))) / (select extract(epoch from '2026-07-17 09:02:12'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47804, 'SRID=4674;POINT (-40.326792 -2.783236)', '2026-07-17 09:02:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326762 -2.783342)'), GeomFromEWKT('SRID=4674;POINT (-40.326792 -2.783236)'))) / (select extract(epoch from '2026-07-17 09:02:18'::timestamp) - extract(epoch from '2026-07-17 09:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326762 -2.783342)'), GeomFromEWKT('SRID=4674;POINT (-40.326792 -2.783236)'))) / (select extract(epoch from '2026-07-17 09:02:18'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47804, 'SRID=4674;POINT (-40.326895 -2.783157)', '2026-07-17 09:02:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326792 -2.783236)'), GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.783157)'))) / (select extract(epoch from '2026-07-17 09:02:24'::timestamp) - extract(epoch from '2026-07-17 09:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326792 -2.783236)'), GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.783157)'))) / (select extract(epoch from '2026-07-17 09:02:24'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47804, 'SRID=4674;POINT (-40.327062 -2.783068)', '2026-07-17 09:02:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.783157)'), GeomFromEWKT('SRID=4674;POINT (-40.327062 -2.783068)'))) / (select extract(epoch from '2026-07-17 09:02:32'::timestamp) - extract(epoch from '2026-07-17 09:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.783157)'), GeomFromEWKT('SRID=4674;POINT (-40.327062 -2.783068)'))) / (select extract(epoch from '2026-07-17 09:02:32'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47804, 'SRID=4674;POINT (-40.32719 -2.782916)', '2026-07-17 09:02:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327062 -2.783068)'), GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.782916)'))) / (select extract(epoch from '2026-07-17 09:02:40'::timestamp) - extract(epoch from '2026-07-17 09:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327062 -2.783068)'), GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.782916)'))) / (select extract(epoch from '2026-07-17 09:02:40'::timestamp) - extract(epoch from '2026-07-17 09:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327289 -2.782753)', '2026-07-17 09:02:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.782916)'), GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.782753)'))) / (select extract(epoch from '2026-07-17 09:02:48'::timestamp) - extract(epoch from '2026-07-17 09:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.782916)'), GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.782753)'))) / (select extract(epoch from '2026-07-17 09:02:48'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47804, 'SRID=4674;POINT (-40.327424 -2.782649)', '2026-07-17 09:02:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.782753)'), GeomFromEWKT('SRID=4674;POINT (-40.327424 -2.782649)'))) / (select extract(epoch from '2026-07-17 09:02:55'::timestamp) - extract(epoch from '2026-07-17 09:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.782753)'), GeomFromEWKT('SRID=4674;POINT (-40.327424 -2.782649)'))) / (select extract(epoch from '2026-07-17 09:02:55'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47804, 'SRID=4674;POINT (-40.327538 -2.78257)', '2026-07-17 09:03:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327424 -2.782649)'), GeomFromEWKT('SRID=4674;POINT (-40.327538 -2.78257)'))) / (select extract(epoch from '2026-07-17 09:03:01'::timestamp) - extract(epoch from '2026-07-17 09:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327424 -2.782649)'), GeomFromEWKT('SRID=4674;POINT (-40.327538 -2.78257)'))) / (select extract(epoch from '2026-07-17 09:03:01'::timestamp) - extract(epoch from '2026-07-17 09:02: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'), 47804, 'SRID=4674;POINT (-40.327685 -2.782482)', '2026-07-17 09:03:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327538 -2.78257)'), GeomFromEWKT('SRID=4674;POINT (-40.327685 -2.782482)'))) / (select extract(epoch from '2026-07-17 09:03:08'::timestamp) - extract(epoch from '2026-07-17 09:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327538 -2.78257)'), GeomFromEWKT('SRID=4674;POINT (-40.327685 -2.782482)'))) / (select extract(epoch from '2026-07-17 09:03:08'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.327818 -2.782381)', '2026-07-17 09:03:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327685 -2.782482)'), GeomFromEWKT('SRID=4674;POINT (-40.327818 -2.782381)'))) / (select extract(epoch from '2026-07-17 09:03:15'::timestamp) - extract(epoch from '2026-07-17 09:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327685 -2.782482)'), GeomFromEWKT('SRID=4674;POINT (-40.327818 -2.782381)'))) / (select extract(epoch from '2026-07-17 09:03:15'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.32797 -2.782317)', '2026-07-17 09:03:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327818 -2.782381)'), GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.782317)'))) / (select extract(epoch from '2026-07-17 09:03:22'::timestamp) - extract(epoch from '2026-07-17 09:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327818 -2.782381)'), GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.782317)'))) / (select extract(epoch from '2026-07-17 09:03:22'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.328134 -2.78229)', '2026-07-17 09:03:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.782317)'), GeomFromEWKT('SRID=4674;POINT (-40.328134 -2.78229)'))) / (select extract(epoch from '2026-07-17 09:03:29'::timestamp) - extract(epoch from '2026-07-17 09:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.782317)'), GeomFromEWKT('SRID=4674;POINT (-40.328134 -2.78229)'))) / (select extract(epoch from '2026-07-17 09:03:29'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.328273 -2.782241)', '2026-07-17 09:03:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328134 -2.78229)'), GeomFromEWKT('SRID=4674;POINT (-40.328273 -2.782241)'))) / (select extract(epoch from '2026-07-17 09:03:35'::timestamp) - extract(epoch from '2026-07-17 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328134 -2.78229)'), GeomFromEWKT('SRID=4674;POINT (-40.328273 -2.782241)'))) / (select extract(epoch from '2026-07-17 09:03:35'::timestamp) - extract(epoch from '2026-07-17 09:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328428 -2.782155)', '2026-07-17 09:03:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328273 -2.782241)'), GeomFromEWKT('SRID=4674;POINT (-40.328428 -2.782155)'))) / (select extract(epoch from '2026-07-17 09:03:42'::timestamp) - extract(epoch from '2026-07-17 09:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328273 -2.782241)'), GeomFromEWKT('SRID=4674;POINT (-40.328428 -2.782155)'))) / (select extract(epoch from '2026-07-17 09:03:42'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.328607 -2.782041)', '2026-07-17 09:03:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328428 -2.782155)'), GeomFromEWKT('SRID=4674;POINT (-40.328607 -2.782041)'))) / (select extract(epoch from '2026-07-17 09:03:50'::timestamp) - extract(epoch from '2026-07-17 09:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328428 -2.782155)'), GeomFromEWKT('SRID=4674;POINT (-40.328607 -2.782041)'))) / (select extract(epoch from '2026-07-17 09:03:50'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.328756 -2.781914)', '2026-07-17 09:03:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328607 -2.782041)'), GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.781914)'))) / (select extract(epoch from '2026-07-17 09:03:58'::timestamp) - extract(epoch from '2026-07-17 09:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328607 -2.782041)'), GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.781914)'))) / (select extract(epoch from '2026-07-17 09:03:58'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.328874 -2.781828)', '2026-07-17 09:04:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.781914)'), GeomFromEWKT('SRID=4674;POINT (-40.328874 -2.781828)'))) / (select extract(epoch from '2026-07-17 09:04:04'::timestamp) - extract(epoch from '2026-07-17 09:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.781914)'), GeomFromEWKT('SRID=4674;POINT (-40.328874 -2.781828)'))) / (select extract(epoch from '2026-07-17 09:04:04'::timestamp) - extract(epoch from '2026-07-17 09:03: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'), 47804, 'SRID=4674;POINT (-40.328988 -2.781741)', '2026-07-17 09:04:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328874 -2.781828)'), GeomFromEWKT('SRID=4674;POINT (-40.328988 -2.781741)'))) / (select extract(epoch from '2026-07-17 09:04:10'::timestamp) - extract(epoch from '2026-07-17 09:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328874 -2.781828)'), GeomFromEWKT('SRID=4674;POINT (-40.328988 -2.781741)'))) / (select extract(epoch from '2026-07-17 09:04:10'::timestamp) - extract(epoch from '2026-07-17 09:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329099 -2.781662)', '2026-07-17 09:04:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328988 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.781662)'))) / (select extract(epoch from '2026-07-17 09:04:16'::timestamp) - extract(epoch from '2026-07-17 09:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328988 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.781662)'))) / (select extract(epoch from '2026-07-17 09:04:16'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47804, 'SRID=4674;POINT (-40.329196 -2.781669)', '2026-07-17 09:04:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.781662)'), GeomFromEWKT('SRID=4674;POINT (-40.329196 -2.781669)'))) / (select extract(epoch from '2026-07-17 09:04:21'::timestamp) - extract(epoch from '2026-07-17 09:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.781662)'), GeomFromEWKT('SRID=4674;POINT (-40.329196 -2.781669)'))) / (select extract(epoch from '2026-07-17 09:04:21'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47804, 'SRID=4674;POINT (-40.329324 -2.781749)', '2026-07-17 09:04:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329196 -2.781669)'), GeomFromEWKT('SRID=4674;POINT (-40.329324 -2.781749)'))) / (select extract(epoch from '2026-07-17 09:04:28'::timestamp) - extract(epoch from '2026-07-17 09:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329196 -2.781669)'), GeomFromEWKT('SRID=4674;POINT (-40.329324 -2.781749)'))) / (select extract(epoch from '2026-07-17 09:04:28'::timestamp) - extract(epoch from '2026-07-17 09:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329449 -2.781783)', '2026-07-17 09:04:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329324 -2.781749)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.781783)'))) / (select extract(epoch from '2026-07-17 09:04:34'::timestamp) - extract(epoch from '2026-07-17 09:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329324 -2.781749)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.781783)'))) / (select extract(epoch from '2026-07-17 09:04:34'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47804, 'SRID=4674;POINT (-40.32959 -2.781772)', '2026-07-17 09:04:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.781783)'), GeomFromEWKT('SRID=4674;POINT (-40.32959 -2.781772)'))) / (select extract(epoch from '2026-07-17 09:04:40'::timestamp) - extract(epoch from '2026-07-17 09:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.781783)'), GeomFromEWKT('SRID=4674;POINT (-40.32959 -2.781772)'))) / (select extract(epoch from '2026-07-17 09:04:40'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47804, 'SRID=4674;POINT (-40.329744 -2.781798)', '2026-07-17 09:04:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32959 -2.781772)'), GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.781798)'))) / (select extract(epoch from '2026-07-17 09:04:47'::timestamp) - extract(epoch from '2026-07-17 09:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32959 -2.781772)'), GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.781798)'))) / (select extract(epoch from '2026-07-17 09:04:47'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47804, 'SRID=4674;POINT (-40.329828 -2.781878)', '2026-07-17 09:04:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.781798)'), GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.781878)'))) / (select extract(epoch from '2026-07-17 09:04:53'::timestamp) - extract(epoch from '2026-07-17 09:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.781798)'), GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.781878)'))) / (select extract(epoch from '2026-07-17 09:04:53'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47804, 'SRID=4674;POINT (-40.329879 -2.782015)', '2026-07-17 09:05:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-40.329879 -2.782015)'))) / (select extract(epoch from '2026-07-17 09:05:00'::timestamp) - extract(epoch from '2026-07-17 09:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-40.329879 -2.782015)'))) / (select extract(epoch from '2026-07-17 09:05:00'::timestamp) - extract(epoch from '2026-07-17 09:04: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'), 47804, 'SRID=4674;POINT (-40.329866 -2.782112)', '2026-07-17 09:05:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329879 -2.782015)'), GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782112)'))) / (select extract(epoch from '2026-07-17 09:05:06'::timestamp) - extract(epoch from '2026-07-17 09:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329879 -2.782015)'), GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782112)'))) / (select extract(epoch from '2026-07-17 09:05:06'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47804, 'SRID=4674;POINT (-40.329827 -2.782158)', '2026-07-17 09:05:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782112)'), GeomFromEWKT('SRID=4674;POINT (-40.329827 -2.782158)'))) / (select extract(epoch from '2026-07-17 09:05:15'::timestamp) - extract(epoch from '2026-07-17 09:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782112)'), GeomFromEWKT('SRID=4674;POINT (-40.329827 -2.782158)'))) / (select extract(epoch from '2026-07-17 09:05:15'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47804, 'SRID=4674;POINT (-40.329844 -2.782186)', '2026-07-17 09:05:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329827 -2.782158)'), GeomFromEWKT('SRID=4674;POINT (-40.329844 -2.782186)'))) / (select extract(epoch from '2026-07-17 09:05:47'::timestamp) - extract(epoch from '2026-07-17 09:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329827 -2.782158)'), GeomFromEWKT('SRID=4674;POINT (-40.329844 -2.782186)'))) / (select extract(epoch from '2026-07-17 09:05:47'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47804, 'SRID=4674;POINT (-40.329809 -2.782169)', '2026-07-17 09:06:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329844 -2.782186)'), GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.782169)'))) / (select extract(epoch from '2026-07-17 09:06:16'::timestamp) - extract(epoch from '2026-07-17 09:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329844 -2.782186)'), GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.782169)'))) / (select extract(epoch from '2026-07-17 09:06:16'::timestamp) - extract(epoch from '2026-07-17 09:05: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'), 47804, 'SRID=4674;POINT (-40.329761 -2.782081)', '2026-07-17 09:07:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.782169)'), GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.782081)'))) / (select extract(epoch from '2026-07-17 09:07:17'::timestamp) - extract(epoch from '2026-07-17 09:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.782169)'), GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.782081)'))) / (select extract(epoch from '2026-07-17 09:07:17'::timestamp) - extract(epoch from '2026-07-17 09:06: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'), 47804, 'SRID=4674;POINT (-40.329691 -2.782073)', '2026-07-17 09:09:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.782081)'), GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.782073)'))) / (select extract(epoch from '2026-07-17 09:09:09'::timestamp) - extract(epoch from '2026-07-17 09:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.782081)'), GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.782073)'))) / (select extract(epoch from '2026-07-17 09:09:09'::timestamp) - extract(epoch from '2026-07-17 09:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329647 -2.782092)', '2026-07-17 09:09:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.782073)'), GeomFromEWKT('SRID=4674;POINT (-40.329647 -2.782092)'))) / (select extract(epoch from '2026-07-17 09:09:22'::timestamp) - extract(epoch from '2026-07-17 09:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.782073)'), GeomFromEWKT('SRID=4674;POINT (-40.329647 -2.782092)'))) / (select extract(epoch from '2026-07-17 09:09:22'::timestamp) - extract(epoch from '2026-07-17 09:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329606 -2.782119)', '2026-07-17 09:09:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329647 -2.782092)'), GeomFromEWKT('SRID=4674;POINT (-40.329606 -2.782119)'))) / (select extract(epoch from '2026-07-17 09:09:33'::timestamp) - extract(epoch from '2026-07-17 09:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329647 -2.782092)'), GeomFromEWKT('SRID=4674;POINT (-40.329606 -2.782119)'))) / (select extract(epoch from '2026-07-17 09:09:33'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47804, 'SRID=4674;POINT (-40.32956 -2.782163)', '2026-07-17 09:09:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329606 -2.782119)'), GeomFromEWKT('SRID=4674;POINT (-40.32956 -2.782163)'))) / (select extract(epoch from '2026-07-17 09:09:47'::timestamp) - extract(epoch from '2026-07-17 09:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329606 -2.782119)'), GeomFromEWKT('SRID=4674;POINT (-40.32956 -2.782163)'))) / (select extract(epoch from '2026-07-17 09:09:47'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47804, 'SRID=4674;POINT (-40.329536 -2.7822)', '2026-07-17 09:09:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32956 -2.782163)'), GeomFromEWKT('SRID=4674;POINT (-40.329536 -2.7822)'))) / (select extract(epoch from '2026-07-17 09:09:59'::timestamp) - extract(epoch from '2026-07-17 09:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32956 -2.782163)'), GeomFromEWKT('SRID=4674;POINT (-40.329536 -2.7822)'))) / (select extract(epoch from '2026-07-17 09:09:59'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47804, 'SRID=4674;POINT (-40.329484 -2.782208)', '2026-07-17 09:10:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329536 -2.7822)'), GeomFromEWKT('SRID=4674;POINT (-40.329484 -2.782208)'))) / (select extract(epoch from '2026-07-17 09:10:38'::timestamp) - extract(epoch from '2026-07-17 09:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329536 -2.7822)'), GeomFromEWKT('SRID=4674;POINT (-40.329484 -2.782208)'))) / (select extract(epoch from '2026-07-17 09:10:38'::timestamp) - extract(epoch from '2026-07-17 09:09: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'), 47804, 'SRID=4674;POINT (-40.329538 -2.782124)', '2026-07-17 09:14:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329484 -2.782208)'), GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.782124)'))) / (select extract(epoch from '2026-07-17 09:14:53'::timestamp) - extract(epoch from '2026-07-17 09:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329484 -2.782208)'), GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.782124)'))) / (select extract(epoch from '2026-07-17 09:14:53'::timestamp) - extract(epoch from '2026-07-17 09:10: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'), 47804, 'SRID=4674;POINT (-40.329576 -2.7821)', '2026-07-17 09:15:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-40.329576 -2.7821)'))) / (select extract(epoch from '2026-07-17 09:15:07'::timestamp) - extract(epoch from '2026-07-17 09:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-40.329576 -2.7821)'))) / (select extract(epoch from '2026-07-17 09:15:07'::timestamp) - extract(epoch from '2026-07-17 09:14: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'), 47804, 'SRID=4674;POINT (-40.329635 -2.782077)', '2026-07-17 09:15:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329576 -2.7821)'), GeomFromEWKT('SRID=4674;POINT (-40.329635 -2.782077)'))) / (select extract(epoch from '2026-07-17 09:15:25'::timestamp) - extract(epoch from '2026-07-17 09:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329576 -2.7821)'), GeomFromEWKT('SRID=4674;POINT (-40.329635 -2.782077)'))) / (select extract(epoch from '2026-07-17 09:15:25'::timestamp) - extract(epoch from '2026-07-17 09:15: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'), 47804, 'SRID=4674;POINT (-40.329672 -2.782064)', '2026-07-17 09:15:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329635 -2.782077)'), GeomFromEWKT('SRID=4674;POINT (-40.329672 -2.782064)'))) / (select extract(epoch from '2026-07-17 09:15:35'::timestamp) - extract(epoch from '2026-07-17 09:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329635 -2.782077)'), GeomFromEWKT('SRID=4674;POINT (-40.329672 -2.782064)'))) / (select extract(epoch from '2026-07-17 09:15:35'::timestamp) - extract(epoch from '2026-07-17 09:15: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'), 47804, 'SRID=4674;POINT (-40.329698 -2.782054)', '2026-07-17 09:15:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329672 -2.782064)'), GeomFromEWKT('SRID=4674;POINT (-40.329698 -2.782054)'))) / (select extract(epoch from '2026-07-17 09:15:43'::timestamp) - extract(epoch from '2026-07-17 09:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329672 -2.782064)'), GeomFromEWKT('SRID=4674;POINT (-40.329698 -2.782054)'))) / (select extract(epoch from '2026-07-17 09:15:43'::timestamp) - extract(epoch from '2026-07-17 09:15: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'), 47804, 'SRID=4674;POINT (-40.329745 -2.782044)', '2026-07-17 09:15:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329698 -2.782054)'), GeomFromEWKT('SRID=4674;POINT (-40.329745 -2.782044)'))) / (select extract(epoch from '2026-07-17 09:15:58'::timestamp) - extract(epoch from '2026-07-17 09:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329698 -2.782054)'), GeomFromEWKT('SRID=4674;POINT (-40.329745 -2.782044)'))) / (select extract(epoch from '2026-07-17 09:15:58'::timestamp) - extract(epoch from '2026-07-17 09:15: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'), 47804, 'SRID=4674;POINT (-40.329756 -2.782045)', '2026-07-17 09:16:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329745 -2.782044)'), GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.782045)'))) / (select extract(epoch from '2026-07-17 09:16:11'::timestamp) - extract(epoch from '2026-07-17 09:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329745 -2.782044)'), GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.782045)'))) / (select extract(epoch from '2026-07-17 09:16:11'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.329835 -2.781982)', '2026-07-17 09:16:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.782045)'), GeomFromEWKT('SRID=4674;POINT (-40.329835 -2.781982)'))) / (select extract(epoch from '2026-07-17 09:16:50'::timestamp) - extract(epoch from '2026-07-17 09:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.782045)'), GeomFromEWKT('SRID=4674;POINT (-40.329835 -2.781982)'))) / (select extract(epoch from '2026-07-17 09:16:50'::timestamp) - extract(epoch from '2026-07-17 09:16: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'), 47804, 'SRID=4674;POINT (-40.329926 -2.781944)', '2026-07-17 09:17:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329835 -2.781982)'), GeomFromEWKT('SRID=4674;POINT (-40.329926 -2.781944)'))) / (select extract(epoch from '2026-07-17 09:17:38'::timestamp) - extract(epoch from '2026-07-17 09:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329835 -2.781982)'), GeomFromEWKT('SRID=4674;POINT (-40.329926 -2.781944)'))) / (select extract(epoch from '2026-07-17 09:17:38'::timestamp) - extract(epoch from '2026-07-17 09:16: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'), 47804, 'SRID=4674;POINT (-40.329998 -2.781903)', '2026-07-17 09:17:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329926 -2.781944)'), GeomFromEWKT('SRID=4674;POINT (-40.329998 -2.781903)'))) / (select extract(epoch from '2026-07-17 09:17:57'::timestamp) - extract(epoch from '2026-07-17 09:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329926 -2.781944)'), GeomFromEWKT('SRID=4674;POINT (-40.329998 -2.781903)'))) / (select extract(epoch from '2026-07-17 09:17:57'::timestamp) - extract(epoch from '2026-07-17 09:17: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'), 47804, 'SRID=4674;POINT (-40.330003 -2.781898)', '2026-07-17 09:18:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329998 -2.781903)'), GeomFromEWKT('SRID=4674;POINT (-40.330003 -2.781898)'))) / (select extract(epoch from '2026-07-17 09:18:10'::timestamp) - extract(epoch from '2026-07-17 09:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329998 -2.781903)'), GeomFromEWKT('SRID=4674;POINT (-40.330003 -2.781898)'))) / (select extract(epoch from '2026-07-17 09:18:10'::timestamp) - extract(epoch from '2026-07-17 09:17: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'), 47804, 'SRID=4674;POINT (-40.330096 -2.781865)', '2026-07-17 09:18:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330003 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-40.330096 -2.781865)'))) / (select extract(epoch from '2026-07-17 09:18:48'::timestamp) - extract(epoch from '2026-07-17 09:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330003 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-40.330096 -2.781865)'))) / (select extract(epoch from '2026-07-17 09:18:48'::timestamp) - extract(epoch from '2026-07-17 09:18: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'), 47804, 'SRID=4674;POINT (-40.330189 -2.781833)', '2026-07-17 09:19:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330096 -2.781865)'), GeomFromEWKT('SRID=4674;POINT (-40.330189 -2.781833)'))) / (select extract(epoch from '2026-07-17 09:19:26'::timestamp) - extract(epoch from '2026-07-17 09:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330096 -2.781865)'), GeomFromEWKT('SRID=4674;POINT (-40.330189 -2.781833)'))) / (select extract(epoch from '2026-07-17 09:19:26'::timestamp) - extract(epoch from '2026-07-17 09:18: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'), 47804, 'SRID=4674;POINT (-40.330246 -2.781811)', '2026-07-17 09:19:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330189 -2.781833)'), GeomFromEWKT('SRID=4674;POINT (-40.330246 -2.781811)'))) / (select extract(epoch from '2026-07-17 09:19:45'::timestamp) - extract(epoch from '2026-07-17 09:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330189 -2.781833)'), GeomFromEWKT('SRID=4674;POINT (-40.330246 -2.781811)'))) / (select extract(epoch from '2026-07-17 09:19:45'::timestamp) - extract(epoch from '2026-07-17 09:19: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'), 47804, 'SRID=4674;POINT (-40.330337 -2.781777)', '2026-07-17 09:20:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330246 -2.781811)'), GeomFromEWKT('SRID=4674;POINT (-40.330337 -2.781777)'))) / (select extract(epoch from '2026-07-17 09:20:07'::timestamp) - extract(epoch from '2026-07-17 09:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330246 -2.781811)'), GeomFromEWKT('SRID=4674;POINT (-40.330337 -2.781777)'))) / (select extract(epoch from '2026-07-17 09:20:07'::timestamp) - extract(epoch from '2026-07-17 09:19: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'), 47804, 'SRID=4674;POINT (-40.330366 -2.781754)', '2026-07-17 09:20:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330337 -2.781777)'), GeomFromEWKT('SRID=4674;POINT (-40.330366 -2.781754)'))) / (select extract(epoch from '2026-07-17 09:20:19'::timestamp) - extract(epoch from '2026-07-17 09:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330337 -2.781777)'), GeomFromEWKT('SRID=4674;POINT (-40.330366 -2.781754)'))) / (select extract(epoch from '2026-07-17 09:20:19'::timestamp) - extract(epoch from '2026-07-17 09:20: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'), 47804, 'SRID=4674;POINT (-40.330402 -2.781723)', '2026-07-17 09:20:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330366 -2.781754)'), GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.781723)'))) / (select extract(epoch from '2026-07-17 09:20:30'::timestamp) - extract(epoch from '2026-07-17 09:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330366 -2.781754)'), GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.781723)'))) / (select extract(epoch from '2026-07-17 09:20:30'::timestamp) - extract(epoch from '2026-07-17 09:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330421 -2.7817)', '2026-07-17 09:20:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.781723)'), GeomFromEWKT('SRID=4674;POINT (-40.330421 -2.7817)'))) / (select extract(epoch from '2026-07-17 09:20:40'::timestamp) - extract(epoch from '2026-07-17 09:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.781723)'), GeomFromEWKT('SRID=4674;POINT (-40.330421 -2.7817)'))) / (select extract(epoch from '2026-07-17 09:20:40'::timestamp) - extract(epoch from '2026-07-17 09:20: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'), 47804, 'SRID=4674;POINT (-40.330445 -2.781684)', '2026-07-17 09:20:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330421 -2.7817)'), GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.781684)'))) / (select extract(epoch from '2026-07-17 09:20:52'::timestamp) - extract(epoch from '2026-07-17 09:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330421 -2.7817)'), GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.781684)'))) / (select extract(epoch from '2026-07-17 09:20:52'::timestamp) - extract(epoch from '2026-07-17 09:20: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'), 47804, 'SRID=4674;POINT (-40.330533 -2.78163)', '2026-07-17 09:21:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.781684)'), GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.78163)'))) / (select extract(epoch from '2026-07-17 09:21:39'::timestamp) - extract(epoch from '2026-07-17 09:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.781684)'), GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.78163)'))) / (select extract(epoch from '2026-07-17 09:21:39'::timestamp) - extract(epoch from '2026-07-17 09:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330582 -2.781599)', '2026-07-17 09:21:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.78163)'), GeomFromEWKT('SRID=4674;POINT (-40.330582 -2.781599)'))) / (select extract(epoch from '2026-07-17 09:21:56'::timestamp) - extract(epoch from '2026-07-17 09:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.78163)'), GeomFromEWKT('SRID=4674;POINT (-40.330582 -2.781599)'))) / (select extract(epoch from '2026-07-17 09:21:56'::timestamp) - extract(epoch from '2026-07-17 09:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330659 -2.781539)', '2026-07-17 09:22:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330582 -2.781599)'), GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.781539)'))) / (select extract(epoch from '2026-07-17 09:22:31'::timestamp) - extract(epoch from '2026-07-17 09:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330582 -2.781599)'), GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.781539)'))) / (select extract(epoch from '2026-07-17 09:22:31'::timestamp) - extract(epoch from '2026-07-17 09:21: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'), 47804, 'SRID=4674;POINT (-40.330705 -2.781527)', '2026-07-17 09:22:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.781527)'))) / (select extract(epoch from '2026-07-17 09:22:46'::timestamp) - extract(epoch from '2026-07-17 09:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.781527)'))) / (select extract(epoch from '2026-07-17 09:22:46'::timestamp) - extract(epoch from '2026-07-17 09:22: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'), 47804, 'SRID=4674;POINT (-40.33078 -2.781465)', '2026-07-17 09:23:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.781527)'), GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.781465)'))) / (select extract(epoch from '2026-07-17 09:23:15'::timestamp) - extract(epoch from '2026-07-17 09:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.781527)'), GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.781465)'))) / (select extract(epoch from '2026-07-17 09:23:15'::timestamp) - extract(epoch from '2026-07-17 09:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330812 -2.781428)', '2026-07-17 09:23:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.781465)'), GeomFromEWKT('SRID=4674;POINT (-40.330812 -2.781428)'))) / (select extract(epoch from '2026-07-17 09:23:29'::timestamp) - extract(epoch from '2026-07-17 09:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.781465)'), GeomFromEWKT('SRID=4674;POINT (-40.330812 -2.781428)'))) / (select extract(epoch from '2026-07-17 09:23:29'::timestamp) - extract(epoch from '2026-07-17 09:23: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'), 47804, 'SRID=4674;POINT (-40.330879 -2.781352)', '2026-07-17 09:24:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330812 -2.781428)'), GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.781352)'))) / (select extract(epoch from '2026-07-17 09:24:09'::timestamp) - extract(epoch from '2026-07-17 09:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330812 -2.781428)'), GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.781352)'))) / (select extract(epoch from '2026-07-17 09:24:09'::timestamp) - extract(epoch from '2026-07-17 09:23: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'), 47804, 'SRID=4674;POINT (-40.33092 -2.781297)', '2026-07-17 09:24:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.781352)'), GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.781297)'))) / (select extract(epoch from '2026-07-17 09:24:32'::timestamp) - extract(epoch from '2026-07-17 09:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.781352)'), GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.781297)'))) / (select extract(epoch from '2026-07-17 09:24:32'::timestamp) - extract(epoch from '2026-07-17 09:24: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'), 47804, 'SRID=4674;POINT (-40.331027 -2.781247)', '2026-07-17 09:25:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.781297)'), GeomFromEWKT('SRID=4674;POINT (-40.331027 -2.781247)'))) / (select extract(epoch from '2026-07-17 09:25:06'::timestamp) - extract(epoch from '2026-07-17 09:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.781297)'), GeomFromEWKT('SRID=4674;POINT (-40.331027 -2.781247)'))) / (select extract(epoch from '2026-07-17 09:25:06'::timestamp) - extract(epoch from '2026-07-17 09:24: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'), 47804, 'SRID=4674;POINT (-40.331084 -2.781232)', '2026-07-17 09:25:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331027 -2.781247)'), GeomFromEWKT('SRID=4674;POINT (-40.331084 -2.781232)'))) / (select extract(epoch from '2026-07-17 09:25:35'::timestamp) - extract(epoch from '2026-07-17 09:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331027 -2.781247)'), GeomFromEWKT('SRID=4674;POINT (-40.331084 -2.781232)'))) / (select extract(epoch from '2026-07-17 09:25:35'::timestamp) - extract(epoch from '2026-07-17 09:25: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'), 47804, 'SRID=4674;POINT (-40.33118 -2.781202)', '2026-07-17 09:26:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331084 -2.781232)'), GeomFromEWKT('SRID=4674;POINT (-40.33118 -2.781202)'))) / (select extract(epoch from '2026-07-17 09:26:16'::timestamp) - extract(epoch from '2026-07-17 09:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331084 -2.781232)'), GeomFromEWKT('SRID=4674;POINT (-40.33118 -2.781202)'))) / (select extract(epoch from '2026-07-17 09:26:16'::timestamp) - extract(epoch from '2026-07-17 09:25: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'), 47804, 'SRID=4674;POINT (-40.331211 -2.781186)', '2026-07-17 09:26:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33118 -2.781202)'), GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.781186)'))) / (select extract(epoch from '2026-07-17 09:26:28'::timestamp) - extract(epoch from '2026-07-17 09:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33118 -2.781202)'), GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.781186)'))) / (select extract(epoch from '2026-07-17 09:26:28'::timestamp) - extract(epoch from '2026-07-17 09:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.331294 -2.781127)', '2026-07-17 09:27:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.781186)'), GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.781127)'))) / (select extract(epoch from '2026-07-17 09:27:01'::timestamp) - extract(epoch from '2026-07-17 09:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.781186)'), GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.781127)'))) / (select extract(epoch from '2026-07-17 09:27:01'::timestamp) - extract(epoch from '2026-07-17 09:26: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'), 47804, 'SRID=4674;POINT (-40.331334 -2.781016)', '2026-07-17 09:27:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.781127)'), GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.781016)'))) / (select extract(epoch from '2026-07-17 09:27:27'::timestamp) - extract(epoch from '2026-07-17 09:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.781127)'), GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.781016)'))) / (select extract(epoch from '2026-07-17 09:27:27'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47804, 'SRID=4674;POINT (-40.331237 -2.78094)', '2026-07-17 09:27:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.781016)'), GeomFromEWKT('SRID=4674;POINT (-40.331237 -2.78094)'))) / (select extract(epoch from '2026-07-17 09:27:34'::timestamp) - extract(epoch from '2026-07-17 09:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.781016)'), GeomFromEWKT('SRID=4674;POINT (-40.331237 -2.78094)'))) / (select extract(epoch from '2026-07-17 09:27:34'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47804, 'SRID=4674;POINT (-40.33116 -2.780814)', '2026-07-17 09:27:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331237 -2.78094)'), GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.780814)'))) / (select extract(epoch from '2026-07-17 09:27:41'::timestamp) - extract(epoch from '2026-07-17 09:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331237 -2.78094)'), GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.780814)'))) / (select extract(epoch from '2026-07-17 09:27:41'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47804, 'SRID=4674;POINT (-40.331049 -2.780641)', '2026-07-17 09:27:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.780814)'), GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.780641)'))) / (select extract(epoch from '2026-07-17 09:27:50'::timestamp) - extract(epoch from '2026-07-17 09:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.780814)'), GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.780641)'))) / (select extract(epoch from '2026-07-17 09:27:50'::timestamp) - extract(epoch from '2026-07-17 09:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330969 -2.780493)', '2026-07-17 09:27:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.780641)'), GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.780493)'))) / (select extract(epoch from '2026-07-17 09:27:58'::timestamp) - extract(epoch from '2026-07-17 09:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.780641)'), GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.780493)'))) / (select extract(epoch from '2026-07-17 09:27:58'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47804, 'SRID=4674;POINT (-40.331028 -2.780372)', '2026-07-17 09:28:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.780493)'), GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.780372)'))) / (select extract(epoch from '2026-07-17 09:28:04'::timestamp) - extract(epoch from '2026-07-17 09:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.780493)'), GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.780372)'))) / (select extract(epoch from '2026-07-17 09:28:04'::timestamp) - extract(epoch from '2026-07-17 09:27: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'), 47804, 'SRID=4674;POINT (-40.331105 -2.780198)', '2026-07-17 09:28:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.780372)'), GeomFromEWKT('SRID=4674;POINT (-40.331105 -2.780198)'))) / (select extract(epoch from '2026-07-17 09:28:12'::timestamp) - extract(epoch from '2026-07-17 09:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.780372)'), GeomFromEWKT('SRID=4674;POINT (-40.331105 -2.780198)'))) / (select extract(epoch from '2026-07-17 09:28:12'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47804, 'SRID=4674;POINT (-40.33106 -2.780072)', '2026-07-17 09:28:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331105 -2.780198)'), GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.780072)'))) / (select extract(epoch from '2026-07-17 09:28:18'::timestamp) - extract(epoch from '2026-07-17 09:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331105 -2.780198)'), GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.780072)'))) / (select extract(epoch from '2026-07-17 09:28:18'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47804, 'SRID=4674;POINT (-40.330958 -2.779938)', '2026-07-17 09:28:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.780072)'), GeomFromEWKT('SRID=4674;POINT (-40.330958 -2.779938)'))) / (select extract(epoch from '2026-07-17 09:28:26'::timestamp) - extract(epoch from '2026-07-17 09:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.780072)'), GeomFromEWKT('SRID=4674;POINT (-40.330958 -2.779938)'))) / (select extract(epoch from '2026-07-17 09:28:26'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47804, 'SRID=4674;POINT (-40.330893 -2.779868)', '2026-07-17 09:28:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330958 -2.779938)'), GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.779868)'))) / (select extract(epoch from '2026-07-17 09:28:32'::timestamp) - extract(epoch from '2026-07-17 09:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330958 -2.779938)'), GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.779868)'))) / (select extract(epoch from '2026-07-17 09:28:32'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47804, 'SRID=4674;POINT (-40.330793 -2.779804)', '2026-07-17 09:28:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.779868)'), GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779804)'))) / (select extract(epoch from '2026-07-17 09:28:39'::timestamp) - extract(epoch from '2026-07-17 09:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.779868)'), GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779804)'))) / (select extract(epoch from '2026-07-17 09:28:39'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47804, 'SRID=4674;POINT (-40.330611 -2.779734)', '2026-07-17 09:28:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779804)'), GeomFromEWKT('SRID=4674;POINT (-40.330611 -2.779734)'))) / (select extract(epoch from '2026-07-17 09:28:48'::timestamp) - extract(epoch from '2026-07-17 09:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779804)'), GeomFromEWKT('SRID=4674;POINT (-40.330611 -2.779734)'))) / (select extract(epoch from '2026-07-17 09:28:48'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47804, 'SRID=4674;POINT (-40.330427 -2.779667)', '2026-07-17 09:28:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330611 -2.779734)'), GeomFromEWKT('SRID=4674;POINT (-40.330427 -2.779667)'))) / (select extract(epoch from '2026-07-17 09:28:57'::timestamp) - extract(epoch from '2026-07-17 09:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330611 -2.779734)'), GeomFromEWKT('SRID=4674;POINT (-40.330427 -2.779667)'))) / (select extract(epoch from '2026-07-17 09:28:57'::timestamp) - extract(epoch from '2026-07-17 09:28: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'), 47804, 'SRID=4674;POINT (-40.330312 -2.779586)', '2026-07-17 09:29:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330427 -2.779667)'), GeomFromEWKT('SRID=4674;POINT (-40.330312 -2.779586)'))) / (select extract(epoch from '2026-07-17 09:29:04'::timestamp) - extract(epoch from '2026-07-17 09:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330427 -2.779667)'), GeomFromEWKT('SRID=4674;POINT (-40.330312 -2.779586)'))) / (select extract(epoch from '2026-07-17 09:29:04'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.330128 -2.779496)', '2026-07-17 09:29:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330312 -2.779586)'), GeomFromEWKT('SRID=4674;POINT (-40.330128 -2.779496)'))) / (select extract(epoch from '2026-07-17 09:29:14'::timestamp) - extract(epoch from '2026-07-17 09:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330312 -2.779586)'), GeomFromEWKT('SRID=4674;POINT (-40.330128 -2.779496)'))) / (select extract(epoch from '2026-07-17 09:29:14'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47804, 'SRID=4674;POINT (-40.329934 -2.779412)', '2026-07-17 09:29:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330128 -2.779496)'), GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.779412)'))) / (select extract(epoch from '2026-07-17 09:29:24'::timestamp) - extract(epoch from '2026-07-17 09:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330128 -2.779496)'), GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.779412)'))) / (select extract(epoch from '2026-07-17 09:29:24'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47804, 'SRID=4674;POINT (-40.329719 -2.779298)', '2026-07-17 09:29:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.779412)'), GeomFromEWKT('SRID=4674;POINT (-40.329719 -2.779298)'))) / (select extract(epoch from '2026-07-17 09:29:35'::timestamp) - extract(epoch from '2026-07-17 09:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.779412)'), GeomFromEWKT('SRID=4674;POINT (-40.329719 -2.779298)'))) / (select extract(epoch from '2026-07-17 09:29:35'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47804, 'SRID=4674;POINT (-40.329552 -2.779206)', '2026-07-17 09:29:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329719 -2.779298)'), GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.779206)'))) / (select extract(epoch from '2026-07-17 09:29:44'::timestamp) - extract(epoch from '2026-07-17 09:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329719 -2.779298)'), GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.779206)'))) / (select extract(epoch from '2026-07-17 09:29:44'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47804, 'SRID=4674;POINT (-40.329412 -2.779062)', '2026-07-17 09:29:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.779206)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.779062)'))) / (select extract(epoch from '2026-07-17 09:29:53'::timestamp) - extract(epoch from '2026-07-17 09:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.779206)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.779062)'))) / (select extract(epoch from '2026-07-17 09:29:53'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47804, 'SRID=4674;POINT (-40.329265 -2.778943)', '2026-07-17 09:30:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.779062)'), GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778943)'))) / (select extract(epoch from '2026-07-17 09:30:02'::timestamp) - extract(epoch from '2026-07-17 09:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.779062)'), GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778943)'))) / (select extract(epoch from '2026-07-17 09:30:02'::timestamp) - extract(epoch from '2026-07-17 09:29: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'), 47804, 'SRID=4674;POINT (-40.329131 -2.778803)', '2026-07-17 09:30:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778943)'), GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778803)'))) / (select extract(epoch from '2026-07-17 09:30:11'::timestamp) - extract(epoch from '2026-07-17 09:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778943)'), GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778803)'))) / (select extract(epoch from '2026-07-17 09:30:11'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47804, 'SRID=4674;POINT (-40.328971 -2.778575)', '2026-07-17 09:30:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778803)'), GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778575)'))) / (select extract(epoch from '2026-07-17 09:30:23'::timestamp) - extract(epoch from '2026-07-17 09:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778803)'), GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778575)'))) / (select extract(epoch from '2026-07-17 09:30:23'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47804, 'SRID=4674;POINT (-40.328966 -2.778411)', '2026-07-17 09:30:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778575)'), GeomFromEWKT('SRID=4674;POINT (-40.328966 -2.778411)'))) / (select extract(epoch from '2026-07-17 09:30:30'::timestamp) - extract(epoch from '2026-07-17 09:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778575)'), GeomFromEWKT('SRID=4674;POINT (-40.328966 -2.778411)'))) / (select extract(epoch from '2026-07-17 09:30:30'::timestamp) - extract(epoch from '2026-07-17 09:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328981 -2.778192)', '2026-07-17 09:30:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328966 -2.778411)'), GeomFromEWKT('SRID=4674;POINT (-40.328981 -2.778192)'))) / (select extract(epoch from '2026-07-17 09:30:39'::timestamp) - extract(epoch from '2026-07-17 09:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328966 -2.778411)'), GeomFromEWKT('SRID=4674;POINT (-40.328981 -2.778192)'))) / (select extract(epoch from '2026-07-17 09:30:39'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47804, 'SRID=4674;POINT (-40.328984 -2.778031)', '2026-07-17 09:30:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328981 -2.778192)'), GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.778031)'))) / (select extract(epoch from '2026-07-17 09:30:46'::timestamp) - extract(epoch from '2026-07-17 09:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328981 -2.778192)'), GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.778031)'))) / (select extract(epoch from '2026-07-17 09:30:46'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47804, 'SRID=4674;POINT (-40.329048 -2.777961)', '2026-07-17 09:30:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.778031)'), GeomFromEWKT('SRID=4674;POINT (-40.329048 -2.777961)'))) / (select extract(epoch from '2026-07-17 09:30:51'::timestamp) - extract(epoch from '2026-07-17 09:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.778031)'), GeomFromEWKT('SRID=4674;POINT (-40.329048 -2.777961)'))) / (select extract(epoch from '2026-07-17 09:30:51'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47804, 'SRID=4674;POINT (-40.32917 -2.777958)', '2026-07-17 09:30:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329048 -2.777961)'), GeomFromEWKT('SRID=4674;POINT (-40.32917 -2.777958)'))) / (select extract(epoch from '2026-07-17 09:30:57'::timestamp) - extract(epoch from '2026-07-17 09:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329048 -2.777961)'), GeomFromEWKT('SRID=4674;POINT (-40.32917 -2.777958)'))) / (select extract(epoch from '2026-07-17 09:30:57'::timestamp) - extract(epoch from '2026-07-17 09:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329299 -2.778021)', '2026-07-17 09:31:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32917 -2.777958)'), GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778021)'))) / (select extract(epoch from '2026-07-17 09:31:04'::timestamp) - extract(epoch from '2026-07-17 09:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32917 -2.777958)'), GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778021)'))) / (select extract(epoch from '2026-07-17 09:31:04'::timestamp) - extract(epoch from '2026-07-17 09:30: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'), 47804, 'SRID=4674;POINT (-40.329365 -2.778118)', '2026-07-17 09:31:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778021)'), GeomFromEWKT('SRID=4674;POINT (-40.329365 -2.778118)'))) / (select extract(epoch from '2026-07-17 09:31:10'::timestamp) - extract(epoch from '2026-07-17 09:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778021)'), GeomFromEWKT('SRID=4674;POINT (-40.329365 -2.778118)'))) / (select extract(epoch from '2026-07-17 09:31:10'::timestamp) - extract(epoch from '2026-07-17 09:31: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'), 47804, 'SRID=4674;POINT (-40.32938 -2.778231)', '2026-07-17 09:31:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329365 -2.778118)'), GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.778231)'))) / (select extract(epoch from '2026-07-17 09:31:16'::timestamp) - extract(epoch from '2026-07-17 09:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329365 -2.778118)'), GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.778231)'))) / (select extract(epoch from '2026-07-17 09:31:16'::timestamp) - extract(epoch from '2026-07-17 09:31: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'), 47804, 'SRID=4674;POINT (-40.329363 -2.778383)', '2026-07-17 09:31:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.778231)'), GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.778383)'))) / (select extract(epoch from '2026-07-17 09:31:24'::timestamp) - extract(epoch from '2026-07-17 09:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.778231)'), GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.778383)'))) / (select extract(epoch from '2026-07-17 09:31:24'::timestamp) - extract(epoch from '2026-07-17 09:31: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'), 47804, 'SRID=4674;POINT (-40.329265 -2.778487)', '2026-07-17 09:31:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.778383)'), GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778487)'))) / (select extract(epoch from '2026-07-17 09:31:33'::timestamp) - extract(epoch from '2026-07-17 09:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.778383)'), GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778487)'))) / (select extract(epoch from '2026-07-17 09:31:33'::timestamp) - extract(epoch from '2026-07-17 09:31: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'), 47804, 'SRID=4674;POINT (-40.329207 -2.77851)', '2026-07-17 09:31:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778487)'), GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.77851)'))) / (select extract(epoch from '2026-07-17 09:31:41'::timestamp) - extract(epoch from '2026-07-17 09:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778487)'), GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.77851)'))) / (select extract(epoch from '2026-07-17 09:31:41'::timestamp) - extract(epoch from '2026-07-17 09:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329205 -2.778508)', '2026-07-17 09:31:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.77851)'), GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.778508)'))) / (select extract(epoch from '2026-07-17 09:31:52'::timestamp) - extract(epoch from '2026-07-17 09:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329207 -2.77851)'), GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.778508)'))) / (select extract(epoch from '2026-07-17 09:31:52'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.329245 -2.77853)', '2026-07-17 09:32:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.778508)'), GeomFromEWKT('SRID=4674;POINT (-40.329245 -2.77853)'))) / (select extract(epoch from '2026-07-17 09:32:09'::timestamp) - extract(epoch from '2026-07-17 09:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.778508)'), GeomFromEWKT('SRID=4674;POINT (-40.329245 -2.77853)'))) / (select extract(epoch from '2026-07-17 09:32:09'::timestamp) - extract(epoch from '2026-07-17 09:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329258 -2.778534)', '2026-07-17 09:32:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329245 -2.77853)'), GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778534)'))) / (select extract(epoch from '2026-07-17 09:32:19'::timestamp) - extract(epoch from '2026-07-17 09:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329245 -2.77853)'), GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778534)'))) / (select extract(epoch from '2026-07-17 09:32:19'::timestamp) - extract(epoch from '2026-07-17 09:32: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'), 47804, 'SRID=4674;POINT (-40.329236 -2.77851)', '2026-07-17 09:32:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778534)'), GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.77851)'))) / (select extract(epoch from '2026-07-17 09:32:46'::timestamp) - extract(epoch from '2026-07-17 09:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778534)'), GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.77851)'))) / (select extract(epoch from '2026-07-17 09:32:46'::timestamp) - extract(epoch from '2026-07-17 09:32: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'), 47804, 'SRID=4674;POINT (-40.329209 -2.778417)', '2026-07-17 09:33:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.77851)'), GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778417)'))) / (select extract(epoch from '2026-07-17 09:33:59'::timestamp) - extract(epoch from '2026-07-17 09:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.77851)'), GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778417)'))) / (select extract(epoch from '2026-07-17 09:33:59'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.329161 -2.778336)', '2026-07-17 09:35:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778417)'), GeomFromEWKT('SRID=4674;POINT (-40.329161 -2.778336)'))) / (select extract(epoch from '2026-07-17 09:35:46'::timestamp) - extract(epoch from '2026-07-17 09:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778417)'), GeomFromEWKT('SRID=4674;POINT (-40.329161 -2.778336)'))) / (select extract(epoch from '2026-07-17 09:35:46'::timestamp) - extract(epoch from '2026-07-17 09:33: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'), 47804, 'SRID=4674;POINT (-40.329119 -2.778367)', '2026-07-17 09:35:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329161 -2.778336)'), GeomFromEWKT('SRID=4674;POINT (-40.329119 -2.778367)'))) / (select extract(epoch from '2026-07-17 09:35:56'::timestamp) - extract(epoch from '2026-07-17 09:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329161 -2.778336)'), GeomFromEWKT('SRID=4674;POINT (-40.329119 -2.778367)'))) / (select extract(epoch from '2026-07-17 09:35:56'::timestamp) - extract(epoch from '2026-07-17 09:35: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'), 47804, 'SRID=4674;POINT (-40.329012 -2.778447)', '2026-07-17 09:36:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329119 -2.778367)'), GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.778447)'))) / (select extract(epoch from '2026-07-17 09:36:35'::timestamp) - extract(epoch from '2026-07-17 09:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329119 -2.778367)'), GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.778447)'))) / (select extract(epoch from '2026-07-17 09:36:35'::timestamp) - extract(epoch from '2026-07-17 09:35: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'), 47804, 'SRID=4674;POINT (-40.328989 -2.778477)', '2026-07-17 09:36:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.778447)'), GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.778477)'))) / (select extract(epoch from '2026-07-17 09:36:47'::timestamp) - extract(epoch from '2026-07-17 09:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329012 -2.778447)'), GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.778477)'))) / (select extract(epoch from '2026-07-17 09:36:47'::timestamp) - extract(epoch from '2026-07-17 09:36: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'), 47804, 'SRID=4674;POINT (-40.328968 -2.778503)', '2026-07-17 09:36:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.778477)'), GeomFromEWKT('SRID=4674;POINT (-40.328968 -2.778503)'))) / (select extract(epoch from '2026-07-17 09:36:56'::timestamp) - extract(epoch from '2026-07-17 09:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.778477)'), GeomFromEWKT('SRID=4674;POINT (-40.328968 -2.778503)'))) / (select extract(epoch from '2026-07-17 09:36:56'::timestamp) - extract(epoch from '2026-07-17 09:36: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'), 47804, 'SRID=4674;POINT (-40.328871 -2.778507)', '2026-07-17 09:40:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328968 -2.778503)'), GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.778507)'))) / (select extract(epoch from '2026-07-17 09:40:23'::timestamp) - extract(epoch from '2026-07-17 09:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328968 -2.778503)'), GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.778507)'))) / (select extract(epoch from '2026-07-17 09:40:23'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.328841 -2.778533)', '2026-07-17 09:40:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.778507)'), GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.778533)'))) / (select extract(epoch from '2026-07-17 09:40:33'::timestamp) - extract(epoch from '2026-07-17 09:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.778507)'), GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.778533)'))) / (select extract(epoch from '2026-07-17 09:40:33'::timestamp) - extract(epoch from '2026-07-17 09:40: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'), 47804, 'SRID=4674;POINT (-40.328873 -2.778526)', '2026-07-17 09:41:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.328873 -2.778526)'))) / (select extract(epoch from '2026-07-17 09:41:40'::timestamp) - extract(epoch from '2026-07-17 09:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.328873 -2.778526)'))) / (select extract(epoch from '2026-07-17 09:41:40'::timestamp) - extract(epoch from '2026-07-17 09:40: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'), 47804, 'SRID=4674;POINT (-40.328903 -2.778478)', '2026-07-17 09:41:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328873 -2.778526)'), GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778478)'))) / (select extract(epoch from '2026-07-17 09:41:51'::timestamp) - extract(epoch from '2026-07-17 09:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328873 -2.778526)'), GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778478)'))) / (select extract(epoch from '2026-07-17 09:41:51'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47804, 'SRID=4674;POINT (-40.328862 -2.778495)', '2026-07-17 09:41:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778478)'), GeomFromEWKT('SRID=4674;POINT (-40.328862 -2.778495)'))) / (select extract(epoch from '2026-07-17 09:41:57'::timestamp) - extract(epoch from '2026-07-17 09:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328903 -2.778478)'), GeomFromEWKT('SRID=4674;POINT (-40.328862 -2.778495)'))) / (select extract(epoch from '2026-07-17 09:41:57'::timestamp) - extract(epoch from '2026-07-17 09:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328863 -2.778601)', '2026-07-17 09:42:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328862 -2.778495)'), GeomFromEWKT('SRID=4674;POINT (-40.328863 -2.778601)'))) / (select extract(epoch from '2026-07-17 09:42:04'::timestamp) - extract(epoch from '2026-07-17 09:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328862 -2.778495)'), GeomFromEWKT('SRID=4674;POINT (-40.328863 -2.778601)'))) / (select extract(epoch from '2026-07-17 09:42:04'::timestamp) - extract(epoch from '2026-07-17 09:41: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'), 47804, 'SRID=4674;POINT (-40.328878 -2.778747)', '2026-07-17 09:42:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328863 -2.778601)'), GeomFromEWKT('SRID=4674;POINT (-40.328878 -2.778747)'))) / (select extract(epoch from '2026-07-17 09:42:11'::timestamp) - extract(epoch from '2026-07-17 09:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328863 -2.778601)'), GeomFromEWKT('SRID=4674;POINT (-40.328878 -2.778747)'))) / (select extract(epoch from '2026-07-17 09:42:11'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47804, 'SRID=4674;POINT (-40.328896 -2.778914)', '2026-07-17 09:42:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328878 -2.778747)'), GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.778914)'))) / (select extract(epoch from '2026-07-17 09:42:19'::timestamp) - extract(epoch from '2026-07-17 09:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328878 -2.778747)'), GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.778914)'))) / (select extract(epoch from '2026-07-17 09:42:19'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47804, 'SRID=4674;POINT (-40.328906 -2.779076)', '2026-07-17 09:42:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.778914)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779076)'))) / (select extract(epoch from '2026-07-17 09:42:27'::timestamp) - extract(epoch from '2026-07-17 09:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328896 -2.778914)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779076)'))) / (select extract(epoch from '2026-07-17 09:42:27'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47804, 'SRID=4674;POINT (-40.328906 -2.779238)', '2026-07-17 09:42:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779076)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779238)'))) / (select extract(epoch from '2026-07-17 09:42:35'::timestamp) - extract(epoch from '2026-07-17 09:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779076)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779238)'))) / (select extract(epoch from '2026-07-17 09:42:35'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47804, 'SRID=4674;POINT (-40.328917 -2.7794)', '2026-07-17 09:42:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779238)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.7794)'))) / (select extract(epoch from '2026-07-17 09:42:43'::timestamp) - extract(epoch from '2026-07-17 09:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.779238)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.7794)'))) / (select extract(epoch from '2026-07-17 09:42:43'::timestamp) - extract(epoch from '2026-07-17 09:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328942 -2.779571)', '2026-07-17 09:42:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.7794)'), GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.779571)'))) / (select extract(epoch from '2026-07-17 09:42:52'::timestamp) - extract(epoch from '2026-07-17 09:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.7794)'), GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.779571)'))) / (select extract(epoch from '2026-07-17 09:42:52'::timestamp) - extract(epoch from '2026-07-17 09:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328964 -2.779754)', '2026-07-17 09:43:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.779571)'), GeomFromEWKT('SRID=4674;POINT (-40.328964 -2.779754)'))) / (select extract(epoch from '2026-07-17 09:43:01'::timestamp) - extract(epoch from '2026-07-17 09:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.779571)'), GeomFromEWKT('SRID=4674;POINT (-40.328964 -2.779754)'))) / (select extract(epoch from '2026-07-17 09:43:01'::timestamp) - extract(epoch from '2026-07-17 09:42: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'), 47804, 'SRID=4674;POINT (-40.328978 -2.779918)', '2026-07-17 09:43:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328964 -2.779754)'), GeomFromEWKT('SRID=4674;POINT (-40.328978 -2.779918)'))) / (select extract(epoch from '2026-07-17 09:43:09'::timestamp) - extract(epoch from '2026-07-17 09:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328964 -2.779754)'), GeomFromEWKT('SRID=4674;POINT (-40.328978 -2.779918)'))) / (select extract(epoch from '2026-07-17 09:43:09'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47804, 'SRID=4674;POINT (-40.328998 -2.780074)', '2026-07-17 09:43:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328978 -2.779918)'), GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.780074)'))) / (select extract(epoch from '2026-07-17 09:43:17'::timestamp) - extract(epoch from '2026-07-17 09:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328978 -2.779918)'), GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.780074)'))) / (select extract(epoch from '2026-07-17 09:43:17'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47804, 'SRID=4674;POINT (-40.329023 -2.780237)', '2026-07-17 09:43:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.780074)'), GeomFromEWKT('SRID=4674;POINT (-40.329023 -2.780237)'))) / (select extract(epoch from '2026-07-17 09:43:25'::timestamp) - extract(epoch from '2026-07-17 09:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.780074)'), GeomFromEWKT('SRID=4674;POINT (-40.329023 -2.780237)'))) / (select extract(epoch from '2026-07-17 09:43:25'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47804, 'SRID=4674;POINT (-40.329027 -2.780399)', '2026-07-17 09:43:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329023 -2.780237)'), GeomFromEWKT('SRID=4674;POINT (-40.329027 -2.780399)'))) / (select extract(epoch from '2026-07-17 09:43:33'::timestamp) - extract(epoch from '2026-07-17 09:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329023 -2.780237)'), GeomFromEWKT('SRID=4674;POINT (-40.329027 -2.780399)'))) / (select extract(epoch from '2026-07-17 09:43:33'::timestamp) - extract(epoch from '2026-07-17 09:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329049 -2.780552)', '2026-07-17 09:43:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329027 -2.780399)'), GeomFromEWKT('SRID=4674;POINT (-40.329049 -2.780552)'))) / (select extract(epoch from '2026-07-17 09:43:41'::timestamp) - extract(epoch from '2026-07-17 09:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329027 -2.780399)'), GeomFromEWKT('SRID=4674;POINT (-40.329049 -2.780552)'))) / (select extract(epoch from '2026-07-17 09:43:41'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.329083 -2.780704)', '2026-07-17 09:43:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329049 -2.780552)'), GeomFromEWKT('SRID=4674;POINT (-40.329083 -2.780704)'))) / (select extract(epoch from '2026-07-17 09:43:48'::timestamp) - extract(epoch from '2026-07-17 09:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329049 -2.780552)'), GeomFromEWKT('SRID=4674;POINT (-40.329083 -2.780704)'))) / (select extract(epoch from '2026-07-17 09:43:48'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47804, 'SRID=4674;POINT (-40.329099 -2.780844)', '2026-07-17 09:43:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329083 -2.780704)'), GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.780844)'))) / (select extract(epoch from '2026-07-17 09:43:55'::timestamp) - extract(epoch from '2026-07-17 09:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329083 -2.780704)'), GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.780844)'))) / (select extract(epoch from '2026-07-17 09:43:55'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47804, 'SRID=4674;POINT (-40.329091 -2.780971)', '2026-07-17 09:44:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.780844)'), GeomFromEWKT('SRID=4674;POINT (-40.329091 -2.780971)'))) / (select extract(epoch from '2026-07-17 09:44:02'::timestamp) - extract(epoch from '2026-07-17 09:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329099 -2.780844)'), GeomFromEWKT('SRID=4674;POINT (-40.329091 -2.780971)'))) / (select extract(epoch from '2026-07-17 09:44:02'::timestamp) - extract(epoch from '2026-07-17 09:43: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'), 47804, 'SRID=4674;POINT (-40.329116 -2.781103)', '2026-07-17 09:44:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329091 -2.780971)'), GeomFromEWKT('SRID=4674;POINT (-40.329116 -2.781103)'))) / (select extract(epoch from '2026-07-17 09:44:09'::timestamp) - extract(epoch from '2026-07-17 09:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329091 -2.780971)'), GeomFromEWKT('SRID=4674;POINT (-40.329116 -2.781103)'))) / (select extract(epoch from '2026-07-17 09:44:09'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47804, 'SRID=4674;POINT (-40.32915 -2.781222)', '2026-07-17 09:44:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329116 -2.781103)'), GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.781222)'))) / (select extract(epoch from '2026-07-17 09:44:15'::timestamp) - extract(epoch from '2026-07-17 09:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329116 -2.781103)'), GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.781222)'))) / (select extract(epoch from '2026-07-17 09:44:15'::timestamp) - extract(epoch from '2026-07-17 09:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329185 -2.78136)', '2026-07-17 09:44:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.781222)'), GeomFromEWKT('SRID=4674;POINT (-40.329185 -2.78136)'))) / (select extract(epoch from '2026-07-17 09:44:22'::timestamp) - extract(epoch from '2026-07-17 09:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32915 -2.781222)'), GeomFromEWKT('SRID=4674;POINT (-40.329185 -2.78136)'))) / (select extract(epoch from '2026-07-17 09:44:22'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47804, 'SRID=4674;POINT (-40.329235 -2.781521)', '2026-07-17 09:44:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329185 -2.78136)'), GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.781521)'))) / (select extract(epoch from '2026-07-17 09:44:30'::timestamp) - extract(epoch from '2026-07-17 09:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329185 -2.78136)'), GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.781521)'))) / (select extract(epoch from '2026-07-17 09:44:30'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47804, 'SRID=4674;POINT (-40.329246 -2.781663)', '2026-07-17 09:44:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.781521)'), GeomFromEWKT('SRID=4674;POINT (-40.329246 -2.781663)'))) / (select extract(epoch from '2026-07-17 09:44:37'::timestamp) - extract(epoch from '2026-07-17 09:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.781521)'), GeomFromEWKT('SRID=4674;POINT (-40.329246 -2.781663)'))) / (select extract(epoch from '2026-07-17 09:44:37'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47804, 'SRID=4674;POINT (-40.329284 -2.781824)', '2026-07-17 09:44:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329246 -2.781663)'), GeomFromEWKT('SRID=4674;POINT (-40.329284 -2.781824)'))) / (select extract(epoch from '2026-07-17 09:44:45'::timestamp) - extract(epoch from '2026-07-17 09:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329246 -2.781663)'), GeomFromEWKT('SRID=4674;POINT (-40.329284 -2.781824)'))) / (select extract(epoch from '2026-07-17 09:44:45'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47804, 'SRID=4674;POINT (-40.329393 -2.782001)', '2026-07-17 09:44:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329284 -2.781824)'), GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.782001)'))) / (select extract(epoch from '2026-07-17 09:44:55'::timestamp) - extract(epoch from '2026-07-17 09:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329284 -2.781824)'), GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.782001)'))) / (select extract(epoch from '2026-07-17 09:44:55'::timestamp) - extract(epoch from '2026-07-17 09:44: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'), 47804, 'SRID=4674;POINT (-40.329445 -2.782159)', '2026-07-17 09:45:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.782001)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.782159)'))) / (select extract(epoch from '2026-07-17 09:45:03'::timestamp) - extract(epoch from '2026-07-17 09:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.782001)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.782159)'))) / (select extract(epoch from '2026-07-17 09:45:03'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.329489 -2.782328)', '2026-07-17 09:45:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.782159)'), GeomFromEWKT('SRID=4674;POINT (-40.329489 -2.782328)'))) / (select extract(epoch from '2026-07-17 09:45:12'::timestamp) - extract(epoch from '2026-07-17 09:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.782159)'), GeomFromEWKT('SRID=4674;POINT (-40.329489 -2.782328)'))) / (select extract(epoch from '2026-07-17 09:45:12'::timestamp) - extract(epoch from '2026-07-17 09:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329521 -2.782481)', '2026-07-17 09:45:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329489 -2.782328)'), GeomFromEWKT('SRID=4674;POINT (-40.329521 -2.782481)'))) / (select extract(epoch from '2026-07-17 09:45:20'::timestamp) - extract(epoch from '2026-07-17 09:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329489 -2.782328)'), GeomFromEWKT('SRID=4674;POINT (-40.329521 -2.782481)'))) / (select extract(epoch from '2026-07-17 09:45:20'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47804, 'SRID=4674;POINT (-40.329569 -2.782668)', '2026-07-17 09:45:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329521 -2.782481)'), GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782668)'))) / (select extract(epoch from '2026-07-17 09:45:30'::timestamp) - extract(epoch from '2026-07-17 09:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329521 -2.782481)'), GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782668)'))) / (select extract(epoch from '2026-07-17 09:45:30'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47804, 'SRID=4674;POINT (-40.329597 -2.782817)', '2026-07-17 09:45:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782668)'), GeomFromEWKT('SRID=4674;POINT (-40.329597 -2.782817)'))) / (select extract(epoch from '2026-07-17 09:45:38'::timestamp) - extract(epoch from '2026-07-17 09:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782668)'), GeomFromEWKT('SRID=4674;POINT (-40.329597 -2.782817)'))) / (select extract(epoch from '2026-07-17 09:45:38'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47804, 'SRID=4674;POINT (-40.329616 -2.782972)', '2026-07-17 09:45:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329597 -2.782817)'), GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.782972)'))) / (select extract(epoch from '2026-07-17 09:45:46'::timestamp) - extract(epoch from '2026-07-17 09:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329597 -2.782817)'), GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.782972)'))) / (select extract(epoch from '2026-07-17 09:45:46'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47804, 'SRID=4674;POINT (-40.329638 -2.783115)', '2026-07-17 09:45:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.782972)'), GeomFromEWKT('SRID=4674;POINT (-40.329638 -2.783115)'))) / (select extract(epoch from '2026-07-17 09:45:53'::timestamp) - extract(epoch from '2026-07-17 09:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.782972)'), GeomFromEWKT('SRID=4674;POINT (-40.329638 -2.783115)'))) / (select extract(epoch from '2026-07-17 09:45:53'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47804, 'SRID=4674;POINT (-40.329667 -2.783243)', '2026-07-17 09:45:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329638 -2.783115)'), GeomFromEWKT('SRID=4674;POINT (-40.329667 -2.783243)'))) / (select extract(epoch from '2026-07-17 09:45:59'::timestamp) - extract(epoch from '2026-07-17 09:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329638 -2.783115)'), GeomFromEWKT('SRID=4674;POINT (-40.329667 -2.783243)'))) / (select extract(epoch from '2026-07-17 09:45:59'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47804, 'SRID=4674;POINT (-40.329693 -2.78335)', '2026-07-17 09:46:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329667 -2.783243)'), GeomFromEWKT('SRID=4674;POINT (-40.329693 -2.78335)'))) / (select extract(epoch from '2026-07-17 09:46:05'::timestamp) - extract(epoch from '2026-07-17 09:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329667 -2.783243)'), GeomFromEWKT('SRID=4674;POINT (-40.329693 -2.78335)'))) / (select extract(epoch from '2026-07-17 09:46:05'::timestamp) - extract(epoch from '2026-07-17 09:45: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'), 47804, 'SRID=4674;POINT (-40.329696 -2.783493)', '2026-07-17 09:46:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329693 -2.78335)'), GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.783493)'))) / (select extract(epoch from '2026-07-17 09:46:12'::timestamp) - extract(epoch from '2026-07-17 09:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329693 -2.78335)'), GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.783493)'))) / (select extract(epoch from '2026-07-17 09:46:12'::timestamp) - extract(epoch from '2026-07-17 09:46: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'), 47804, 'SRID=4674;POINT (-40.329669 -2.783667)', '2026-07-17 09:46:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.783493)'), GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.783667)'))) / (select extract(epoch from '2026-07-17 09:46:21'::timestamp) - extract(epoch from '2026-07-17 09:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.783493)'), GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.783667)'))) / (select extract(epoch from '2026-07-17 09:46:21'::timestamp) - extract(epoch from '2026-07-17 09:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329691 -2.783772)', '2026-07-17 09:46:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.783667)'), GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.783772)'))) / (select extract(epoch from '2026-07-17 09:46:27'::timestamp) - extract(epoch from '2026-07-17 09:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.783667)'), GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.783772)'))) / (select extract(epoch from '2026-07-17 09:46:27'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.329732 -2.783904)', '2026-07-17 09:46:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.783772)'), GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.783904)'))) / (select extract(epoch from '2026-07-17 09:46:34'::timestamp) - extract(epoch from '2026-07-17 09:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329691 -2.783772)'), GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.783904)'))) / (select extract(epoch from '2026-07-17 09:46:34'::timestamp) - extract(epoch from '2026-07-17 09:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329735 -2.784045)', '2026-07-17 09:46:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.783904)'), GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.784045)'))) / (select extract(epoch from '2026-07-17 09:46:41'::timestamp) - extract(epoch from '2026-07-17 09:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.783904)'), GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.784045)'))) / (select extract(epoch from '2026-07-17 09:46:41'::timestamp) - extract(epoch from '2026-07-17 09:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329772 -2.78418)', '2026-07-17 09:46:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.784045)'), GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.78418)'))) / (select extract(epoch from '2026-07-17 09:46:48'::timestamp) - extract(epoch from '2026-07-17 09:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.784045)'), GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.78418)'))) / (select extract(epoch from '2026-07-17 09:46:48'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.329833 -2.784348)', '2026-07-17 09:46:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.78418)'), GeomFromEWKT('SRID=4674;POINT (-40.329833 -2.784348)'))) / (select extract(epoch from '2026-07-17 09:46:56'::timestamp) - extract(epoch from '2026-07-17 09:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.78418)'), GeomFromEWKT('SRID=4674;POINT (-40.329833 -2.784348)'))) / (select extract(epoch from '2026-07-17 09:46:56'::timestamp) - extract(epoch from '2026-07-17 09:46: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'), 47804, 'SRID=4674;POINT (-40.329848 -2.784498)', '2026-07-17 09:47:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329833 -2.784348)'), GeomFromEWKT('SRID=4674;POINT (-40.329848 -2.784498)'))) / (select extract(epoch from '2026-07-17 09:47:03'::timestamp) - extract(epoch from '2026-07-17 09:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329833 -2.784348)'), GeomFromEWKT('SRID=4674;POINT (-40.329848 -2.784498)'))) / (select extract(epoch from '2026-07-17 09:47:03'::timestamp) - extract(epoch from '2026-07-17 09:46:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329883 -2.784664)', '2026-07-17 09:47:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329848 -2.784498)'), GeomFromEWKT('SRID=4674;POINT (-40.329883 -2.784664)'))) / (select extract(epoch from '2026-07-17 09:47:12'::timestamp) - extract(epoch from '2026-07-17 09:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329848 -2.784498)'), GeomFromEWKT('SRID=4674;POINT (-40.329883 -2.784664)'))) / (select extract(epoch from '2026-07-17 09:47:12'::timestamp) - extract(epoch from '2026-07-17 09:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329901 -2.784807)', '2026-07-17 09:47:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329883 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.784807)'))) / (select extract(epoch from '2026-07-17 09:47:19'::timestamp) - extract(epoch from '2026-07-17 09:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329883 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.784807)'))) / (select extract(epoch from '2026-07-17 09:47:19'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47804, 'SRID=4674;POINT (-40.329927 -2.784957)', '2026-07-17 09:47:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.329927 -2.784957)'))) / (select extract(epoch from '2026-07-17 09:47:27'::timestamp) - extract(epoch from '2026-07-17 09:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.329927 -2.784957)'))) / (select extract(epoch from '2026-07-17 09:47:27'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47804, 'SRID=4674;POINT (-40.329941 -2.785144)', '2026-07-17 09:47:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329927 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.785144)'))) / (select extract(epoch from '2026-07-17 09:47:36'::timestamp) - extract(epoch from '2026-07-17 09:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329927 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.785144)'))) / (select extract(epoch from '2026-07-17 09:47:36'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47804, 'SRID=4674;POINT (-40.329943 -2.785304)', '2026-07-17 09:47:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.785144)'), GeomFromEWKT('SRID=4674;POINT (-40.329943 -2.785304)'))) / (select extract(epoch from '2026-07-17 09:47:44'::timestamp) - extract(epoch from '2026-07-17 09:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.785144)'), GeomFromEWKT('SRID=4674;POINT (-40.329943 -2.785304)'))) / (select extract(epoch from '2026-07-17 09:47:44'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47804, 'SRID=4674;POINT (-40.329957 -2.785463)', '2026-07-17 09:47:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329943 -2.785304)'), GeomFromEWKT('SRID=4674;POINT (-40.329957 -2.785463)'))) / (select extract(epoch from '2026-07-17 09:47:52'::timestamp) - extract(epoch from '2026-07-17 09:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329943 -2.785304)'), GeomFromEWKT('SRID=4674;POINT (-40.329957 -2.785463)'))) / (select extract(epoch from '2026-07-17 09:47:52'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47804, 'SRID=4674;POINT (-40.330029 -2.78559)', '2026-07-17 09:47:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329957 -2.785463)'), GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.78559)'))) / (select extract(epoch from '2026-07-17 09:47:59'::timestamp) - extract(epoch from '2026-07-17 09:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329957 -2.785463)'), GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.78559)'))) / (select extract(epoch from '2026-07-17 09:47:59'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47804, 'SRID=4674;POINT (-40.330121 -2.785747)', '2026-07-17 09:48:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.78559)'), GeomFromEWKT('SRID=4674;POINT (-40.330121 -2.785747)'))) / (select extract(epoch from '2026-07-17 09:48:07'::timestamp) - extract(epoch from '2026-07-17 09:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.78559)'), GeomFromEWKT('SRID=4674;POINT (-40.330121 -2.785747)'))) / (select extract(epoch from '2026-07-17 09:48:07'::timestamp) - extract(epoch from '2026-07-17 09:47: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'), 47804, 'SRID=4674;POINT (-40.330194 -2.785906)', '2026-07-17 09:48:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330121 -2.785747)'), GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785906)'))) / (select extract(epoch from '2026-07-17 09:48:14'::timestamp) - extract(epoch from '2026-07-17 09:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330121 -2.785747)'), GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785906)'))) / (select extract(epoch from '2026-07-17 09:48:14'::timestamp) - extract(epoch from '2026-07-17 09:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330292 -2.786093)', '2026-07-17 09:48:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785906)'), GeomFromEWKT('SRID=4674;POINT (-40.330292 -2.786093)'))) / (select extract(epoch from '2026-07-17 09:48:23'::timestamp) - extract(epoch from '2026-07-17 09:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785906)'), GeomFromEWKT('SRID=4674;POINT (-40.330292 -2.786093)'))) / (select extract(epoch from '2026-07-17 09:48:23'::timestamp) - extract(epoch from '2026-07-17 09:48: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'), 47804, 'SRID=4674;POINT (-40.330319 -2.78618)', '2026-07-17 09:48:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330292 -2.786093)'), GeomFromEWKT('SRID=4674;POINT (-40.330319 -2.78618)'))) / (select extract(epoch from '2026-07-17 09:48:29'::timestamp) - extract(epoch from '2026-07-17 09:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330292 -2.786093)'), GeomFromEWKT('SRID=4674;POINT (-40.330319 -2.78618)'))) / (select extract(epoch from '2026-07-17 09:48:29'::timestamp) - extract(epoch from '2026-07-17 09:48: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'), 47804, 'SRID=4674;POINT (-40.330335 -2.786329)', '2026-07-17 09:48:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330319 -2.78618)'), GeomFromEWKT('SRID=4674;POINT (-40.330335 -2.786329)'))) / (select extract(epoch from '2026-07-17 09:48:37'::timestamp) - extract(epoch from '2026-07-17 09:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330319 -2.78618)'), GeomFromEWKT('SRID=4674;POINT (-40.330335 -2.786329)'))) / (select extract(epoch from '2026-07-17 09:48:37'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.330359 -2.786435)', '2026-07-17 09:48:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330335 -2.786329)'), GeomFromEWKT('SRID=4674;POINT (-40.330359 -2.786435)'))) / (select extract(epoch from '2026-07-17 09:48:43'::timestamp) - extract(epoch from '2026-07-17 09:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330335 -2.786329)'), GeomFromEWKT('SRID=4674;POINT (-40.330359 -2.786435)'))) / (select extract(epoch from '2026-07-17 09:48:43'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.330379 -2.786601)', '2026-07-17 09:48:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330359 -2.786435)'), GeomFromEWKT('SRID=4674;POINT (-40.330379 -2.786601)'))) / (select extract(epoch from '2026-07-17 09:48:51'::timestamp) - extract(epoch from '2026-07-17 09:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330359 -2.786435)'), GeomFromEWKT('SRID=4674;POINT (-40.330379 -2.786601)'))) / (select extract(epoch from '2026-07-17 09:48:51'::timestamp) - extract(epoch from '2026-07-17 09:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330416 -2.786734)', '2026-07-17 09:48:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330379 -2.786601)'), GeomFromEWKT('SRID=4674;POINT (-40.330416 -2.786734)'))) / (select extract(epoch from '2026-07-17 09:48:58'::timestamp) - extract(epoch from '2026-07-17 09:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330379 -2.786601)'), GeomFromEWKT('SRID=4674;POINT (-40.330416 -2.786734)'))) / (select extract(epoch from '2026-07-17 09:48:58'::timestamp) - extract(epoch from '2026-07-17 09:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33043 -2.786879)', '2026-07-17 09:49:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330416 -2.786734)'), GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786879)'))) / (select extract(epoch from '2026-07-17 09:49:05'::timestamp) - extract(epoch from '2026-07-17 09:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330416 -2.786734)'), GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786879)'))) / (select extract(epoch from '2026-07-17 09:49:05'::timestamp) - extract(epoch from '2026-07-17 09:48: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'), 47804, 'SRID=4674;POINT (-40.330441 -2.787082)', '2026-07-17 09:49:14', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786879)'), GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.787082)'))) / (select extract(epoch from '2026-07-17 09:49:14'::timestamp) - extract(epoch from '2026-07-17 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786879)'), GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.787082)'))) / (select extract(epoch from '2026-07-17 09:49:14'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47804, 'SRID=4674;POINT (-40.330474 -2.78726)', '2026-07-17 09:49:23', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.787082)'), GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.78726)'))) / (select extract(epoch from '2026-07-17 09:49:23'::timestamp) - extract(epoch from '2026-07-17 09:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.787082)'), GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.78726)'))) / (select extract(epoch from '2026-07-17 09:49:23'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47804, 'SRID=4674;POINT (-40.330494 -2.787417)', '2026-07-17 09:49:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.78726)'), GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.787417)'))) / (select extract(epoch from '2026-07-17 09:49:30'::timestamp) - extract(epoch from '2026-07-17 09:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.78726)'), GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.787417)'))) / (select extract(epoch from '2026-07-17 09:49:30'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47804, 'SRID=4674;POINT (-40.330545 -2.787563)', '2026-07-17 09:49:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.787417)'), GeomFromEWKT('SRID=4674;POINT (-40.330545 -2.787563)'))) / (select extract(epoch from '2026-07-17 09:49:37'::timestamp) - extract(epoch from '2026-07-17 09:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.787417)'), GeomFromEWKT('SRID=4674;POINT (-40.330545 -2.787563)'))) / (select extract(epoch from '2026-07-17 09:49:37'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47804, 'SRID=4674;POINT (-40.33057 -2.787725)', '2026-07-17 09:49:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330545 -2.787563)'), GeomFromEWKT('SRID=4674;POINT (-40.33057 -2.787725)'))) / (select extract(epoch from '2026-07-17 09:49:45'::timestamp) - extract(epoch from '2026-07-17 09:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330545 -2.787563)'), GeomFromEWKT('SRID=4674;POINT (-40.33057 -2.787725)'))) / (select extract(epoch from '2026-07-17 09:49:45'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47804, 'SRID=4674;POINT (-40.330593 -2.787872)', '2026-07-17 09:49:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33057 -2.787725)'), GeomFromEWKT('SRID=4674;POINT (-40.330593 -2.787872)'))) / (select extract(epoch from '2026-07-17 09:49:52'::timestamp) - extract(epoch from '2026-07-17 09:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33057 -2.787725)'), GeomFromEWKT('SRID=4674;POINT (-40.330593 -2.787872)'))) / (select extract(epoch from '2026-07-17 09:49:52'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47804, 'SRID=4674;POINT (-40.330613 -2.788035)', '2026-07-17 09:50:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330593 -2.787872)'), GeomFromEWKT('SRID=4674;POINT (-40.330613 -2.788035)'))) / (select extract(epoch from '2026-07-17 09:50:00'::timestamp) - extract(epoch from '2026-07-17 09:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330593 -2.787872)'), GeomFromEWKT('SRID=4674;POINT (-40.330613 -2.788035)'))) / (select extract(epoch from '2026-07-17 09:50:00'::timestamp) - extract(epoch from '2026-07-17 09:49: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'), 47804, 'SRID=4674;POINT (-40.330646 -2.788159)', '2026-07-17 09:50:07', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330613 -2.788035)'), GeomFromEWKT('SRID=4674;POINT (-40.330646 -2.788159)'))) / (select extract(epoch from '2026-07-17 09:50:07'::timestamp) - extract(epoch from '2026-07-17 09:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330613 -2.788035)'), GeomFromEWKT('SRID=4674;POINT (-40.330646 -2.788159)'))) / (select extract(epoch from '2026-07-17 09:50:07'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47804, 'SRID=4674;POINT (-40.330721 -2.788338)', '2026-07-17 09:50:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330646 -2.788159)'), GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.788338)'))) / (select extract(epoch from '2026-07-17 09:50:16'::timestamp) - extract(epoch from '2026-07-17 09:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330646 -2.788159)'), GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.788338)'))) / (select extract(epoch from '2026-07-17 09:50:16'::timestamp) - extract(epoch from '2026-07-17 09:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330785 -2.788529)', '2026-07-17 09:50:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.788338)'), GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.788529)'))) / (select extract(epoch from '2026-07-17 09:50:26'::timestamp) - extract(epoch from '2026-07-17 09:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.788338)'), GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.788529)'))) / (select extract(epoch from '2026-07-17 09:50:26'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47804, 'SRID=4674;POINT (-40.330821 -2.788665)', '2026-07-17 09:50:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.788529)'), GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.788665)'))) / (select extract(epoch from '2026-07-17 09:50:33'::timestamp) - extract(epoch from '2026-07-17 09:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.788529)'), GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.788665)'))) / (select extract(epoch from '2026-07-17 09:50:33'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47804, 'SRID=4674;POINT (-40.33083 -2.788805)', '2026-07-17 09:50:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.788665)'), GeomFromEWKT('SRID=4674;POINT (-40.33083 -2.788805)'))) / (select extract(epoch from '2026-07-17 09:50:39'::timestamp) - extract(epoch from '2026-07-17 09:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.788665)'), GeomFromEWKT('SRID=4674;POINT (-40.33083 -2.788805)'))) / (select extract(epoch from '2026-07-17 09:50:39'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47804, 'SRID=4674;POINT (-40.330854 -2.78896)', '2026-07-17 09:50:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33083 -2.788805)'), GeomFromEWKT('SRID=4674;POINT (-40.330854 -2.78896)'))) / (select extract(epoch from '2026-07-17 09:50:46'::timestamp) - extract(epoch from '2026-07-17 09:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33083 -2.788805)'), GeomFromEWKT('SRID=4674;POINT (-40.330854 -2.78896)'))) / (select extract(epoch from '2026-07-17 09:50:46'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47804, 'SRID=4674;POINT (-40.330884 -2.789111)', '2026-07-17 09:50:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330854 -2.78896)'), GeomFromEWKT('SRID=4674;POINT (-40.330884 -2.789111)'))) / (select extract(epoch from '2026-07-17 09:50:53'::timestamp) - extract(epoch from '2026-07-17 09:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330854 -2.78896)'), GeomFromEWKT('SRID=4674;POINT (-40.330884 -2.789111)'))) / (select extract(epoch from '2026-07-17 09:50:53'::timestamp) - extract(epoch from '2026-07-17 09:50: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'), 47804, 'SRID=4674;POINT (-40.330849 -2.789194)', '2026-07-17 09:51:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330884 -2.789111)'), GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.789194)'))) / (select extract(epoch from '2026-07-17 09:51:00'::timestamp) - extract(epoch from '2026-07-17 09:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330884 -2.789111)'), GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.789194)'))) / (select extract(epoch from '2026-07-17 09:51:00'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.33082 -2.789228)', '2026-07-17 09:51:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.789194)'), GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.789228)'))) / (select extract(epoch from '2026-07-17 09:51:08'::timestamp) - extract(epoch from '2026-07-17 09:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.789194)'), GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.789228)'))) / (select extract(epoch from '2026-07-17 09:51:08'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47804, 'SRID=4674;POINT (-40.330876 -2.789201)', '2026-07-17 09:51:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.789228)'), GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.789201)'))) / (select extract(epoch from '2026-07-17 09:51:44'::timestamp) - extract(epoch from '2026-07-17 09:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.789228)'), GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.789201)'))) / (select extract(epoch from '2026-07-17 09:51:44'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47804, 'SRID=4674;POINT (-40.330937 -2.789176)', '2026-07-17 09:51:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.789201)'), GeomFromEWKT('SRID=4674;POINT (-40.330937 -2.789176)'))) / (select extract(epoch from '2026-07-17 09:51:54'::timestamp) - extract(epoch from '2026-07-17 09:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.789201)'), GeomFromEWKT('SRID=4674;POINT (-40.330937 -2.789176)'))) / (select extract(epoch from '2026-07-17 09:51:54'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47804, 'SRID=4674;POINT (-40.331028 -2.789155)', '2026-07-17 09:52:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330937 -2.789176)'), GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.789155)'))) / (select extract(epoch from '2026-07-17 09:52:10'::timestamp) - extract(epoch from '2026-07-17 09:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330937 -2.789176)'), GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.789155)'))) / (select extract(epoch from '2026-07-17 09:52:10'::timestamp) - extract(epoch from '2026-07-17 09:51: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'), 47804, 'SRID=4674;POINT (-40.331045 -2.789137)', '2026-07-17 09:52:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.789155)'), GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.789137)'))) / (select extract(epoch from '2026-07-17 09:52:24'::timestamp) - extract(epoch from '2026-07-17 09:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331028 -2.789155)'), GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.789137)'))) / (select extract(epoch from '2026-07-17 09:52:24'::timestamp) - extract(epoch from '2026-07-17 09:52: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'), 47804, 'SRID=4674;POINT (-40.331119 -2.789091)', '2026-07-17 09:52:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.789137)'), GeomFromEWKT('SRID=4674;POINT (-40.331119 -2.789091)'))) / (select extract(epoch from '2026-07-17 09:52:51'::timestamp) - extract(epoch from '2026-07-17 09:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.789137)'), GeomFromEWKT('SRID=4674;POINT (-40.331119 -2.789091)'))) / (select extract(epoch from '2026-07-17 09:52:51'::timestamp) - extract(epoch from '2026-07-17 09:52: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'), 47804, 'SRID=4674;POINT (-40.331174 -2.789069)', '2026-07-17 09:53:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331119 -2.789091)'), GeomFromEWKT('SRID=4674;POINT (-40.331174 -2.789069)'))) / (select extract(epoch from '2026-07-17 09:53:10'::timestamp) - extract(epoch from '2026-07-17 09:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331119 -2.789091)'), GeomFromEWKT('SRID=4674;POINT (-40.331174 -2.789069)'))) / (select extract(epoch from '2026-07-17 09:53:10'::timestamp) - extract(epoch from '2026-07-17 09:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.331199 -2.789062)', '2026-07-17 09:53:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331174 -2.789069)'), GeomFromEWKT('SRID=4674;POINT (-40.331199 -2.789062)'))) / (select extract(epoch from '2026-07-17 09:53:24'::timestamp) - extract(epoch from '2026-07-17 09:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331174 -2.789069)'), GeomFromEWKT('SRID=4674;POINT (-40.331199 -2.789062)'))) / (select extract(epoch from '2026-07-17 09:53:24'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47804, 'SRID=4674;POINT (-40.33123 -2.789048)', '2026-07-17 09:53:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331199 -2.789062)'), GeomFromEWKT('SRID=4674;POINT (-40.33123 -2.789048)'))) / (select extract(epoch from '2026-07-17 09:53:41'::timestamp) - extract(epoch from '2026-07-17 09:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331199 -2.789062)'), GeomFromEWKT('SRID=4674;POINT (-40.33123 -2.789048)'))) / (select extract(epoch from '2026-07-17 09:53:41'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47804, 'SRID=4674;POINT (-40.331248 -2.789037)', '2026-07-17 09:53:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33123 -2.789048)'), GeomFromEWKT('SRID=4674;POINT (-40.331248 -2.789037)'))) / (select extract(epoch from '2026-07-17 09:53:50'::timestamp) - extract(epoch from '2026-07-17 09:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33123 -2.789048)'), GeomFromEWKT('SRID=4674;POINT (-40.331248 -2.789037)'))) / (select extract(epoch from '2026-07-17 09:53:50'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47804, 'SRID=4674;POINT (-40.331301 -2.789014)', '2026-07-17 09:54:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331248 -2.789037)'), GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.789014)'))) / (select extract(epoch from '2026-07-17 09:54:04'::timestamp) - extract(epoch from '2026-07-17 09:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331248 -2.789037)'), GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.789014)'))) / (select extract(epoch from '2026-07-17 09:54:04'::timestamp) - extract(epoch from '2026-07-17 09:53: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'), 47804, 'SRID=4674;POINT (-40.331301 -2.78893)', '2026-07-17 09:54:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.789014)'), GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.78893)'))) / (select extract(epoch from '2026-07-17 09:54:20'::timestamp) - extract(epoch from '2026-07-17 09:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.789014)'), GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.78893)'))) / (select extract(epoch from '2026-07-17 09:54:20'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47804, 'SRID=4674;POINT (-40.331314 -2.788868)', '2026-07-17 09:54:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.78893)'), GeomFromEWKT('SRID=4674;POINT (-40.331314 -2.788868)'))) / (select extract(epoch from '2026-07-17 09:54:24'::timestamp) - extract(epoch from '2026-07-17 09:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331301 -2.78893)'), GeomFromEWKT('SRID=4674;POINT (-40.331314 -2.788868)'))) / (select extract(epoch from '2026-07-17 09:54:24'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47804, 'SRID=4674;POINT (-40.331348 -2.788852)', '2026-07-17 09:54:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331314 -2.788868)'), GeomFromEWKT('SRID=4674;POINT (-40.331348 -2.788852)'))) / (select extract(epoch from '2026-07-17 09:54:26'::timestamp) - extract(epoch from '2026-07-17 09:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331314 -2.788868)'), GeomFromEWKT('SRID=4674;POINT (-40.331348 -2.788852)'))) / (select extract(epoch from '2026-07-17 09:54:26'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47804, 'SRID=4674;POINT (-40.331475 -2.788867)', '2026-07-17 09:54:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331348 -2.788852)'), GeomFromEWKT('SRID=4674;POINT (-40.331475 -2.788867)'))) / (select extract(epoch from '2026-07-17 09:54:32'::timestamp) - extract(epoch from '2026-07-17 09:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331348 -2.788852)'), GeomFromEWKT('SRID=4674;POINT (-40.331475 -2.788867)'))) / (select extract(epoch from '2026-07-17 09:54:32'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.331569 -2.788953)', '2026-07-17 09:54:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331475 -2.788867)'), GeomFromEWKT('SRID=4674;POINT (-40.331569 -2.788953)'))) / (select extract(epoch from '2026-07-17 09:54:38'::timestamp) - extract(epoch from '2026-07-17 09:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331475 -2.788867)'), GeomFromEWKT('SRID=4674;POINT (-40.331569 -2.788953)'))) / (select extract(epoch from '2026-07-17 09:54:38'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47804, 'SRID=4674;POINT (-40.331651 -2.789068)', '2026-07-17 09:54:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331569 -2.788953)'), GeomFromEWKT('SRID=4674;POINT (-40.331651 -2.789068)'))) / (select extract(epoch from '2026-07-17 09:54:45'::timestamp) - extract(epoch from '2026-07-17 09:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331569 -2.788953)'), GeomFromEWKT('SRID=4674;POINT (-40.331651 -2.789068)'))) / (select extract(epoch from '2026-07-17 09:54:45'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47804, 'SRID=4674;POINT (-40.33181 -2.789154)', '2026-07-17 09:54:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331651 -2.789068)'), GeomFromEWKT('SRID=4674;POINT (-40.33181 -2.789154)'))) / (select extract(epoch from '2026-07-17 09:54:53'::timestamp) - extract(epoch from '2026-07-17 09:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331651 -2.789068)'), GeomFromEWKT('SRID=4674;POINT (-40.33181 -2.789154)'))) / (select extract(epoch from '2026-07-17 09:54:53'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47804, 'SRID=4674;POINT (-40.331989 -2.789234)', '2026-07-17 09:55:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33181 -2.789154)'), GeomFromEWKT('SRID=4674;POINT (-40.331989 -2.789234)'))) / (select extract(epoch from '2026-07-17 09:55:01'::timestamp) - extract(epoch from '2026-07-17 09:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33181 -2.789154)'), GeomFromEWKT('SRID=4674;POINT (-40.331989 -2.789234)'))) / (select extract(epoch from '2026-07-17 09:55:01'::timestamp) - extract(epoch from '2026-07-17 09:54: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'), 47804, 'SRID=4674;POINT (-40.332176 -2.789359)', '2026-07-17 09:55:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331989 -2.789234)'), GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.789359)'))) / (select extract(epoch from '2026-07-17 09:55:11'::timestamp) - extract(epoch from '2026-07-17 09:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331989 -2.789234)'), GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.789359)'))) / (select extract(epoch from '2026-07-17 09:55:11'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.332361 -2.789442)', '2026-07-17 09:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.789442)'))) / (select extract(epoch from '2026-07-17 09:55:20'::timestamp) - extract(epoch from '2026-07-17 09:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.789442)'))) / (select extract(epoch from '2026-07-17 09:55:20'::timestamp) - extract(epoch from '2026-07-17 09:55: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'), 47804, 'SRID=4674;POINT (-40.332506 -2.789537)', '2026-07-17 09:55:28', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.789442)'), GeomFromEWKT('SRID=4674;POINT (-40.332506 -2.789537)'))) / (select extract(epoch from '2026-07-17 09:55:28'::timestamp) - extract(epoch from '2026-07-17 09:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.789442)'), GeomFromEWKT('SRID=4674;POINT (-40.332506 -2.789537)'))) / (select extract(epoch from '2026-07-17 09:55:28'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.332676 -2.789645)', '2026-07-17 09:55:37', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332506 -2.789537)'), GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.789645)'))) / (select extract(epoch from '2026-07-17 09:55:37'::timestamp) - extract(epoch from '2026-07-17 09:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332506 -2.789537)'), GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.789645)'))) / (select extract(epoch from '2026-07-17 09:55:37'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.332814 -2.78976)', '2026-07-17 09:55:45', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.789645)'), GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.78976)'))) / (select extract(epoch from '2026-07-17 09:55:45'::timestamp) - extract(epoch from '2026-07-17 09:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.789645)'), GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.78976)'))) / (select extract(epoch from '2026-07-17 09:55:45'::timestamp) - extract(epoch from '2026-07-17 09: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'), 47804, 'SRID=4674;POINT (-40.332913 -2.789863)', '2026-07-17 09:55:51', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.78976)'), GeomFromEWKT('SRID=4674;POINT (-40.332913 -2.789863)'))) / (select extract(epoch from '2026-07-17 09:55:51'::timestamp) - extract(epoch from '2026-07-17 09:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332814 -2.78976)'), GeomFromEWKT('SRID=4674;POINT (-40.332913 -2.789863)'))) / (select extract(epoch from '2026-07-17 09:55:51'::timestamp) - extract(epoch from '2026-07-17 09:55: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'), 47804, 'SRID=4674;POINT (-40.333042 -2.78996)', '2026-07-17 09:55:58', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332913 -2.789863)'), GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.78996)'))) / (select extract(epoch from '2026-07-17 09:55:58'::timestamp) - extract(epoch from '2026-07-17 09:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332913 -2.789863)'), GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.78996)'))) / (select extract(epoch from '2026-07-17 09:55:58'::timestamp) - extract(epoch from '2026-07-17 09:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.333178 -2.790039)', '2026-07-17 09:56:05', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.78996)'), GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.790039)'))) / (select extract(epoch from '2026-07-17 09:56:05'::timestamp) - extract(epoch from '2026-07-17 09:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333042 -2.78996)'), GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.790039)'))) / (select extract(epoch from '2026-07-17 09:56:05'::timestamp) - extract(epoch from '2026-07-17 09:55: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'), 47804, 'SRID=4674;POINT (-40.333297 -2.79017)', '2026-07-17 09:56:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.790039)'), GeomFromEWKT('SRID=4674;POINT (-40.333297 -2.79017)'))) / (select extract(epoch from '2026-07-17 09:56:13'::timestamp) - extract(epoch from '2026-07-17 09:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.790039)'), GeomFromEWKT('SRID=4674;POINT (-40.333297 -2.79017)'))) / (select extract(epoch from '2026-07-17 09:56:13'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47804, 'SRID=4674;POINT (-40.3334 -2.790298)', '2026-07-17 09:56:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333297 -2.79017)'), GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.790298)'))) / (select extract(epoch from '2026-07-17 09:56:21'::timestamp) - extract(epoch from '2026-07-17 09:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333297 -2.79017)'), GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.790298)'))) / (select extract(epoch from '2026-07-17 09:56:21'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47804, 'SRID=4674;POINT (-40.333511 -2.790368)', '2026-07-17 09:56:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.790298)'), GeomFromEWKT('SRID=4674;POINT (-40.333511 -2.790368)'))) / (select extract(epoch from '2026-07-17 09:56:27'::timestamp) - extract(epoch from '2026-07-17 09:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3334 -2.790298)'), GeomFromEWKT('SRID=4674;POINT (-40.333511 -2.790368)'))) / (select extract(epoch from '2026-07-17 09:56:27'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47804, 'SRID=4674;POINT (-40.333641 -2.790459)', '2026-07-17 09:56:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333511 -2.790368)'), GeomFromEWKT('SRID=4674;POINT (-40.333641 -2.790459)'))) / (select extract(epoch from '2026-07-17 09:56:34'::timestamp) - extract(epoch from '2026-07-17 09:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333511 -2.790368)'), GeomFromEWKT('SRID=4674;POINT (-40.333641 -2.790459)'))) / (select extract(epoch from '2026-07-17 09:56:34'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47804, 'SRID=4674;POINT (-40.333788 -2.790531)', '2026-07-17 09:56:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333641 -2.790459)'), GeomFromEWKT('SRID=4674;POINT (-40.333788 -2.790531)'))) / (select extract(epoch from '2026-07-17 09:56:41'::timestamp) - extract(epoch from '2026-07-17 09:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333641 -2.790459)'), GeomFromEWKT('SRID=4674;POINT (-40.333788 -2.790531)'))) / (select extract(epoch from '2026-07-17 09:56:41'::timestamp) - extract(epoch from '2026-07-17 09:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.333953 -2.790641)', '2026-07-17 09:56:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333788 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.790641)'))) / (select extract(epoch from '2026-07-17 09:56:50'::timestamp) - extract(epoch from '2026-07-17 09:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333788 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.790641)'))) / (select extract(epoch from '2026-07-17 09:56:50'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47804, 'SRID=4674;POINT (-40.334072 -2.790752)', '2026-07-17 09:56:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.334072 -2.790752)'))) / (select extract(epoch from '2026-07-17 09:56:57'::timestamp) - extract(epoch from '2026-07-17 09:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.790641)'), GeomFromEWKT('SRID=4674;POINT (-40.334072 -2.790752)'))) / (select extract(epoch from '2026-07-17 09:56:57'::timestamp) - extract(epoch from '2026-07-17 09:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.334207 -2.790873)', '2026-07-17 09:57:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334072 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-40.334207 -2.790873)'))) / (select extract(epoch from '2026-07-17 09:57:05'::timestamp) - extract(epoch from '2026-07-17 09:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334072 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-40.334207 -2.790873)'))) / (select extract(epoch from '2026-07-17 09:57:05'::timestamp) - extract(epoch from '2026-07-17 09:56: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'), 47804, 'SRID=4674;POINT (-40.334295 -2.79101)', '2026-07-17 09:57:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334207 -2.790873)'), GeomFromEWKT('SRID=4674;POINT (-40.334295 -2.79101)'))) / (select extract(epoch from '2026-07-17 09:57:12'::timestamp) - extract(epoch from '2026-07-17 09:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334207 -2.790873)'), GeomFromEWKT('SRID=4674;POINT (-40.334295 -2.79101)'))) / (select extract(epoch from '2026-07-17 09:57:12'::timestamp) - extract(epoch from '2026-07-17 09:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33438 -2.791162)', '2026-07-17 09:57:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334295 -2.79101)'), GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.791162)'))) / (select extract(epoch from '2026-07-17 09:57:20'::timestamp) - extract(epoch from '2026-07-17 09:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334295 -2.79101)'), GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.791162)'))) / (select extract(epoch from '2026-07-17 09:57:20'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47804, 'SRID=4674;POINT (-40.334491 -2.791319)', '2026-07-17 09:57:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.791162)'), GeomFromEWKT('SRID=4674;POINT (-40.334491 -2.791319)'))) / (select extract(epoch from '2026-07-17 09:57:29'::timestamp) - extract(epoch from '2026-07-17 09:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.791162)'), GeomFromEWKT('SRID=4674;POINT (-40.334491 -2.791319)'))) / (select extract(epoch from '2026-07-17 09:57:29'::timestamp) - extract(epoch from '2026-07-17 09:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.334624 -2.791444)', '2026-07-17 09:57:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334491 -2.791319)'), GeomFromEWKT('SRID=4674;POINT (-40.334624 -2.791444)'))) / (select extract(epoch from '2026-07-17 09:57:37'::timestamp) - extract(epoch from '2026-07-17 09:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334491 -2.791319)'), GeomFromEWKT('SRID=4674;POINT (-40.334624 -2.791444)'))) / (select extract(epoch from '2026-07-17 09:57:37'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47804, 'SRID=4674;POINT (-40.334762 -2.79152)', '2026-07-17 09:57:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334624 -2.791444)'), GeomFromEWKT('SRID=4674;POINT (-40.334762 -2.79152)'))) / (select extract(epoch from '2026-07-17 09:57:44'::timestamp) - extract(epoch from '2026-07-17 09:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334624 -2.791444)'), GeomFromEWKT('SRID=4674;POINT (-40.334762 -2.79152)'))) / (select extract(epoch from '2026-07-17 09:57:44'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47804, 'SRID=4674;POINT (-40.334878 -2.791591)', '2026-07-17 09:57:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334762 -2.79152)'), GeomFromEWKT('SRID=4674;POINT (-40.334878 -2.791591)'))) / (select extract(epoch from '2026-07-17 09:57:51'::timestamp) - extract(epoch from '2026-07-17 09:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334762 -2.79152)'), GeomFromEWKT('SRID=4674;POINT (-40.334878 -2.791591)'))) / (select extract(epoch from '2026-07-17 09:57:51'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47804, 'SRID=4674;POINT (-40.335009 -2.791668)', '2026-07-17 09:57:58', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334878 -2.791591)'), GeomFromEWKT('SRID=4674;POINT (-40.335009 -2.791668)'))) / (select extract(epoch from '2026-07-17 09:57:58'::timestamp) - extract(epoch from '2026-07-17 09:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334878 -2.791591)'), GeomFromEWKT('SRID=4674;POINT (-40.335009 -2.791668)'))) / (select extract(epoch from '2026-07-17 09:57:58'::timestamp) - extract(epoch from '2026-07-17 09:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.335142 -2.791753)', '2026-07-17 09:58:05', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335009 -2.791668)'), GeomFromEWKT('SRID=4674;POINT (-40.335142 -2.791753)'))) / (select extract(epoch from '2026-07-17 09:58:05'::timestamp) - extract(epoch from '2026-07-17 09:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335009 -2.791668)'), GeomFromEWKT('SRID=4674;POINT (-40.335142 -2.791753)'))) / (select extract(epoch from '2026-07-17 09:58:05'::timestamp) - extract(epoch from '2026-07-17 09:57: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'), 47804, 'SRID=4674;POINT (-40.335268 -2.791852)', '2026-07-17 09:58:11', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335142 -2.791753)'), GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.791852)'))) / (select extract(epoch from '2026-07-17 09:58:11'::timestamp) - extract(epoch from '2026-07-17 09:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335142 -2.791753)'), GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.791852)'))) / (select extract(epoch from '2026-07-17 09:58:11'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47804, 'SRID=4674;POINT (-40.33544 -2.791958)', '2026-07-17 09:58:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.791852)'), GeomFromEWKT('SRID=4674;POINT (-40.33544 -2.791958)'))) / (select extract(epoch from '2026-07-17 09:58:19'::timestamp) - extract(epoch from '2026-07-17 09:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.791852)'), GeomFromEWKT('SRID=4674;POINT (-40.33544 -2.791958)'))) / (select extract(epoch from '2026-07-17 09:58:19'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47804, 'SRID=4674;POINT (-40.335601 -2.792047)', '2026-07-17 09:58:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33544 -2.791958)'), GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792047)'))) / (select extract(epoch from '2026-07-17 09:58:27'::timestamp) - extract(epoch from '2026-07-17 09:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33544 -2.791958)'), GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792047)'))) / (select extract(epoch from '2026-07-17 09:58:27'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47804, 'SRID=4674;POINT (-40.335763 -2.792143)', '2026-07-17 09:58:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.335763 -2.792143)'))) / (select extract(epoch from '2026-07-17 09:58:35'::timestamp) - extract(epoch from '2026-07-17 09:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.335763 -2.792143)'))) / (select extract(epoch from '2026-07-17 09:58:35'::timestamp) - extract(epoch from '2026-07-17 09:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.335921 -2.792227)', '2026-07-17 09:58:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335763 -2.792143)'), GeomFromEWKT('SRID=4674;POINT (-40.335921 -2.792227)'))) / (select extract(epoch from '2026-07-17 09:58:42'::timestamp) - extract(epoch from '2026-07-17 09:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335763 -2.792143)'), GeomFromEWKT('SRID=4674;POINT (-40.335921 -2.792227)'))) / (select extract(epoch from '2026-07-17 09:58:42'::timestamp) - extract(epoch from '2026-07-17 09:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.336032 -2.792291)', '2026-07-17 09:58:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335921 -2.792227)'), GeomFromEWKT('SRID=4674;POINT (-40.336032 -2.792291)'))) / (select extract(epoch from '2026-07-17 09:58:48'::timestamp) - extract(epoch from '2026-07-17 09:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335921 -2.792227)'), GeomFromEWKT('SRID=4674;POINT (-40.336032 -2.792291)'))) / (select extract(epoch from '2026-07-17 09:58:48'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47804, 'SRID=4674;POINT (-40.336144 -2.792341)', '2026-07-17 09:58:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336032 -2.792291)'), GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.792341)'))) / (select extract(epoch from '2026-07-17 09:58:54'::timestamp) - extract(epoch from '2026-07-17 09:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336032 -2.792291)'), GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.792341)'))) / (select extract(epoch from '2026-07-17 09:58:54'::timestamp) - extract(epoch from '2026-07-17 09:58: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'), 47804, 'SRID=4674;POINT (-40.336255 -2.792413)', '2026-07-17 09:59:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.792341)'), GeomFromEWKT('SRID=4674;POINT (-40.336255 -2.792413)'))) / (select extract(epoch from '2026-07-17 09:59:00'::timestamp) - extract(epoch from '2026-07-17 09:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.792341)'), GeomFromEWKT('SRID=4674;POINT (-40.336255 -2.792413)'))) / (select extract(epoch from '2026-07-17 09:59:00'::timestamp) - extract(epoch from '2026-07-17 09:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33644 -2.792545)', '2026-07-17 09:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336255 -2.792413)'), GeomFromEWKT('SRID=4674;POINT (-40.33644 -2.792545)'))) / (select extract(epoch from '2026-07-17 09:59:10'::timestamp) - extract(epoch from '2026-07-17 09:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336255 -2.792413)'), GeomFromEWKT('SRID=4674;POINT (-40.33644 -2.792545)'))) / (select extract(epoch from '2026-07-17 09:59:10'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47804, 'SRID=4674;POINT (-40.336586 -2.79265)', '2026-07-17 09:59:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33644 -2.792545)'), GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.79265)'))) / (select extract(epoch from '2026-07-17 09:59:18'::timestamp) - extract(epoch from '2026-07-17 09:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33644 -2.792545)'), GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.79265)'))) / (select extract(epoch from '2026-07-17 09:59:18'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47804, 'SRID=4674;POINT (-40.336694 -2.79274)', '2026-07-17 09:59:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.79265)'), GeomFromEWKT('SRID=4674;POINT (-40.336694 -2.79274)'))) / (select extract(epoch from '2026-07-17 09:59:24'::timestamp) - extract(epoch from '2026-07-17 09:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336586 -2.79265)'), GeomFromEWKT('SRID=4674;POINT (-40.336694 -2.79274)'))) / (select extract(epoch from '2026-07-17 09:59:24'::timestamp) - extract(epoch from '2026-07-17 09:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.336871 -2.792846)', '2026-07-17 09:59:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336694 -2.79274)'), GeomFromEWKT('SRID=4674;POINT (-40.336871 -2.792846)'))) / (select extract(epoch from '2026-07-17 09:59:33'::timestamp) - extract(epoch from '2026-07-17 09:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336694 -2.79274)'), GeomFromEWKT('SRID=4674;POINT (-40.336871 -2.792846)'))) / (select extract(epoch from '2026-07-17 09:59:33'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47804, 'SRID=4674;POINT (-40.33706 -2.792899)', '2026-07-17 09:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336871 -2.792846)'), GeomFromEWKT('SRID=4674;POINT (-40.33706 -2.792899)'))) / (select extract(epoch from '2026-07-17 09:59:41'::timestamp) - extract(epoch from '2026-07-17 09:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336871 -2.792846)'), GeomFromEWKT('SRID=4674;POINT (-40.33706 -2.792899)'))) / (select extract(epoch from '2026-07-17 09:59:41'::timestamp) - extract(epoch from '2026-07-17 09:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.337213 -2.792966)', '2026-07-17 09:59:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33706 -2.792899)'), GeomFromEWKT('SRID=4674;POINT (-40.337213 -2.792966)'))) / (select extract(epoch from '2026-07-17 09:59:49'::timestamp) - extract(epoch from '2026-07-17 09:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33706 -2.792899)'), GeomFromEWKT('SRID=4674;POINT (-40.337213 -2.792966)'))) / (select extract(epoch from '2026-07-17 09:59:49'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47804, 'SRID=4674;POINT (-40.337356 -2.793026)', '2026-07-17 09:59:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337213 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.337356 -2.793026)'))) / (select extract(epoch from '2026-07-17 09:59:56'::timestamp) - extract(epoch from '2026-07-17 09:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337213 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.337356 -2.793026)'))) / (select extract(epoch from '2026-07-17 09:59:56'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47804, 'SRID=4674;POINT (-40.337436 -2.79307)', '2026-07-17 10:00:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337356 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.337436 -2.79307)'))) / (select extract(epoch from '2026-07-17 10:00:01'::timestamp) - extract(epoch from '2026-07-17 09:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337356 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.337436 -2.79307)'))) / (select extract(epoch from '2026-07-17 10:00:01'::timestamp) - extract(epoch from '2026-07-17 09:59: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'), 47804, 'SRID=4674;POINT (-40.337596 -2.793174)', '2026-07-17 10:00:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337436 -2.79307)'), GeomFromEWKT('SRID=4674;POINT (-40.337596 -2.793174)'))) / (select extract(epoch from '2026-07-17 10:00:10'::timestamp) - extract(epoch from '2026-07-17 10:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337436 -2.79307)'), GeomFromEWKT('SRID=4674;POINT (-40.337596 -2.793174)'))) / (select extract(epoch from '2026-07-17 10:00:10'::timestamp) - extract(epoch from '2026-07-17 10:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.337708 -2.793252)', '2026-07-17 10:00:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337596 -2.793174)'), GeomFromEWKT('SRID=4674;POINT (-40.337708 -2.793252)'))) / (select extract(epoch from '2026-07-17 10:00:16'::timestamp) - extract(epoch from '2026-07-17 10:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337596 -2.793174)'), GeomFromEWKT('SRID=4674;POINT (-40.337708 -2.793252)'))) / (select extract(epoch from '2026-07-17 10:00:16'::timestamp) - extract(epoch from '2026-07-17 10:00: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'), 47804, 'SRID=4674;POINT (-40.337858 -2.793377)', '2026-07-17 10:00:24', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337708 -2.793252)'), GeomFromEWKT('SRID=4674;POINT (-40.337858 -2.793377)'))) / (select extract(epoch from '2026-07-17 10:00:24'::timestamp) - extract(epoch from '2026-07-17 10:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337708 -2.793252)'), GeomFromEWKT('SRID=4674;POINT (-40.337858 -2.793377)'))) / (select extract(epoch from '2026-07-17 10:00:24'::timestamp) - extract(epoch from '2026-07-17 10:00: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'), 47804, 'SRID=4674;POINT (-40.338089 -2.793479)', '2026-07-17 10:00:35', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337858 -2.793377)'), GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.793479)'))) / (select extract(epoch from '2026-07-17 10:00:35'::timestamp) - extract(epoch from '2026-07-17 10:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337858 -2.793377)'), GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.793479)'))) / (select extract(epoch from '2026-07-17 10:00:35'::timestamp) - extract(epoch from '2026-07-17 10:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.338245 -2.793522)', '2026-07-17 10:00:42', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.793479)'), GeomFromEWKT('SRID=4674;POINT (-40.338245 -2.793522)'))) / (select extract(epoch from '2026-07-17 10:00:42'::timestamp) - extract(epoch from '2026-07-17 10:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.793479)'), GeomFromEWKT('SRID=4674;POINT (-40.338245 -2.793522)'))) / (select extract(epoch from '2026-07-17 10:00:42'::timestamp) - extract(epoch from '2026-07-17 10:00: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'), 47804, 'SRID=4674;POINT (-40.33838 -2.793584)', '2026-07-17 10:00:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338245 -2.793522)'), GeomFromEWKT('SRID=4674;POINT (-40.33838 -2.793584)'))) / (select extract(epoch from '2026-07-17 10:00:49'::timestamp) - extract(epoch from '2026-07-17 10:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338245 -2.793522)'), GeomFromEWKT('SRID=4674;POINT (-40.33838 -2.793584)'))) / (select extract(epoch from '2026-07-17 10:00:49'::timestamp) - extract(epoch from '2026-07-17 10:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.338519 -2.79369)', '2026-07-17 10:00:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33838 -2.793584)'), GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.79369)'))) / (select extract(epoch from '2026-07-17 10:00:57'::timestamp) - extract(epoch from '2026-07-17 10:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33838 -2.793584)'), GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.79369)'))) / (select extract(epoch from '2026-07-17 10:00:57'::timestamp) - extract(epoch from '2026-07-17 10:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.338633 -2.793773)', '2026-07-17 10:01:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.79369)'), GeomFromEWKT('SRID=4674;POINT (-40.338633 -2.793773)'))) / (select extract(epoch from '2026-07-17 10:01:04'::timestamp) - extract(epoch from '2026-07-17 10:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.79369)'), GeomFromEWKT('SRID=4674;POINT (-40.338633 -2.793773)'))) / (select extract(epoch from '2026-07-17 10:01:04'::timestamp) - extract(epoch from '2026-07-17 10:00: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'), 47804, 'SRID=4674;POINT (-40.338814 -2.793899)', '2026-07-17 10:01:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338633 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.338814 -2.793899)'))) / (select extract(epoch from '2026-07-17 10:01:14'::timestamp) - extract(epoch from '2026-07-17 10:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338633 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.338814 -2.793899)'))) / (select extract(epoch from '2026-07-17 10:01:14'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47804, 'SRID=4674;POINT (-40.338962 -2.793955)', '2026-07-17 10:01:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338814 -2.793899)'), GeomFromEWKT('SRID=4674;POINT (-40.338962 -2.793955)'))) / (select extract(epoch from '2026-07-17 10:01:21'::timestamp) - extract(epoch from '2026-07-17 10:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338814 -2.793899)'), GeomFromEWKT('SRID=4674;POINT (-40.338962 -2.793955)'))) / (select extract(epoch from '2026-07-17 10:01:21'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47804, 'SRID=4674;POINT (-40.339098 -2.794067)', '2026-07-17 10:01:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338962 -2.793955)'), GeomFromEWKT('SRID=4674;POINT (-40.339098 -2.794067)'))) / (select extract(epoch from '2026-07-17 10:01:28'::timestamp) - extract(epoch from '2026-07-17 10:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338962 -2.793955)'), GeomFromEWKT('SRID=4674;POINT (-40.339098 -2.794067)'))) / (select extract(epoch from '2026-07-17 10:01:28'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47804, 'SRID=4674;POINT (-40.339259 -2.794137)', '2026-07-17 10:01:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339098 -2.794067)'), GeomFromEWKT('SRID=4674;POINT (-40.339259 -2.794137)'))) / (select extract(epoch from '2026-07-17 10:01:36'::timestamp) - extract(epoch from '2026-07-17 10:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339098 -2.794067)'), GeomFromEWKT('SRID=4674;POINT (-40.339259 -2.794137)'))) / (select extract(epoch from '2026-07-17 10:01:36'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47804, 'SRID=4674;POINT (-40.339383 -2.794225)', '2026-07-17 10:01:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339259 -2.794137)'), GeomFromEWKT('SRID=4674;POINT (-40.339383 -2.794225)'))) / (select extract(epoch from '2026-07-17 10:01:43'::timestamp) - extract(epoch from '2026-07-17 10:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339259 -2.794137)'), GeomFromEWKT('SRID=4674;POINT (-40.339383 -2.794225)'))) / (select extract(epoch from '2026-07-17 10:01:43'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47804, 'SRID=4674;POINT (-40.339535 -2.794326)', '2026-07-17 10:01:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339383 -2.794225)'), GeomFromEWKT('SRID=4674;POINT (-40.339535 -2.794326)'))) / (select extract(epoch from '2026-07-17 10:01:51'::timestamp) - extract(epoch from '2026-07-17 10:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339383 -2.794225)'), GeomFromEWKT('SRID=4674;POINT (-40.339535 -2.794326)'))) / (select extract(epoch from '2026-07-17 10:01:51'::timestamp) - extract(epoch from '2026-07-17 10:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.339691 -2.794408)', '2026-07-17 10:01:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339535 -2.794326)'), GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.794408)'))) / (select extract(epoch from '2026-07-17 10:01:59'::timestamp) - extract(epoch from '2026-07-17 10:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339535 -2.794326)'), GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.794408)'))) / (select extract(epoch from '2026-07-17 10:01:59'::timestamp) - extract(epoch from '2026-07-17 10:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.339827 -2.794488)', '2026-07-17 10:02:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.794408)'), GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.794488)'))) / (select extract(epoch from '2026-07-17 10:02:06'::timestamp) - extract(epoch from '2026-07-17 10:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.794408)'), GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.794488)'))) / (select extract(epoch from '2026-07-17 10:02:06'::timestamp) - extract(epoch from '2026-07-17 10:01: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'), 47804, 'SRID=4674;POINT (-40.339943 -2.794567)', '2026-07-17 10:02:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.794488)'), GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.794567)'))) / (select extract(epoch from '2026-07-17 10:02:12'::timestamp) - extract(epoch from '2026-07-17 10:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.794488)'), GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.794567)'))) / (select extract(epoch from '2026-07-17 10:02:12'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47804, 'SRID=4674;POINT (-40.340085 -2.794654)', '2026-07-17 10:02:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.340085 -2.794654)'))) / (select extract(epoch from '2026-07-17 10:02:19'::timestamp) - extract(epoch from '2026-07-17 10:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.340085 -2.794654)'))) / (select extract(epoch from '2026-07-17 10:02:19'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47804, 'SRID=4674;POINT (-40.340235 -2.794701)', '2026-07-17 10:02:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340085 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.340235 -2.794701)'))) / (select extract(epoch from '2026-07-17 10:02:26'::timestamp) - extract(epoch from '2026-07-17 10:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340085 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.340235 -2.794701)'))) / (select extract(epoch from '2026-07-17 10:02:26'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47804, 'SRID=4674;POINT (-40.340348 -2.794758)', '2026-07-17 10:02:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340235 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.794758)'))) / (select extract(epoch from '2026-07-17 10:02:32'::timestamp) - extract(epoch from '2026-07-17 10:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340235 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.794758)'))) / (select extract(epoch from '2026-07-17 10:02:32'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47804, 'SRID=4674;POINT (-40.340553 -2.794787)', '2026-07-17 10:02:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.794758)'), GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.794787)'))) / (select extract(epoch from '2026-07-17 10:02:41'::timestamp) - extract(epoch from '2026-07-17 10:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.794758)'), GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.794787)'))) / (select extract(epoch from '2026-07-17 10:02:41'::timestamp) - extract(epoch from '2026-07-17 10:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.340698 -2.794848)', '2026-07-17 10:02:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.794787)'), GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.794848)'))) / (select extract(epoch from '2026-07-17 10:02:48'::timestamp) - extract(epoch from '2026-07-17 10:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340553 -2.794787)'), GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.794848)'))) / (select extract(epoch from '2026-07-17 10:02:48'::timestamp) - extract(epoch from '2026-07-17 10:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.340866 -2.794923)', '2026-07-17 10:02:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.794848)'), GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.794923)'))) / (select extract(epoch from '2026-07-17 10:02:56'::timestamp) - extract(epoch from '2026-07-17 10:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.794848)'), GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.794923)'))) / (select extract(epoch from '2026-07-17 10:02:56'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47804, 'SRID=4674;POINT (-40.341043 -2.79499)', '2026-07-17 10:03:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.794923)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.79499)'))) / (select extract(epoch from '2026-07-17 10:03:04'::timestamp) - extract(epoch from '2026-07-17 10:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.794923)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.79499)'))) / (select extract(epoch from '2026-07-17 10:03:04'::timestamp) - extract(epoch from '2026-07-17 10:02: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'), 47804, 'SRID=4674;POINT (-40.3412 -2.795049)', '2026-07-17 10:03:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.79499)'), GeomFromEWKT('SRID=4674;POINT (-40.3412 -2.795049)'))) / (select extract(epoch from '2026-07-17 10:03:11'::timestamp) - extract(epoch from '2026-07-17 10:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.79499)'), GeomFromEWKT('SRID=4674;POINT (-40.3412 -2.795049)'))) / (select extract(epoch from '2026-07-17 10:03:11'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47804, 'SRID=4674;POINT (-40.341391 -2.795115)', '2026-07-17 10:03:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3412 -2.795049)'), GeomFromEWKT('SRID=4674;POINT (-40.341391 -2.795115)'))) / (select extract(epoch from '2026-07-17 10:03:19'::timestamp) - extract(epoch from '2026-07-17 10:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3412 -2.795049)'), GeomFromEWKT('SRID=4674;POINT (-40.341391 -2.795115)'))) / (select extract(epoch from '2026-07-17 10:03:19'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47804, 'SRID=4674;POINT (-40.341594 -2.795216)', '2026-07-17 10:03:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341391 -2.795115)'), GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.795216)'))) / (select extract(epoch from '2026-07-17 10:03:28'::timestamp) - extract(epoch from '2026-07-17 10:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341391 -2.795115)'), GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.795216)'))) / (select extract(epoch from '2026-07-17 10:03:28'::timestamp) - extract(epoch from '2026-07-17 10:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.341739 -2.7953)', '2026-07-17 10:03:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.795216)'), GeomFromEWKT('SRID=4674;POINT (-40.341739 -2.7953)'))) / (select extract(epoch from '2026-07-17 10:03:36'::timestamp) - extract(epoch from '2026-07-17 10:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.795216)'), GeomFromEWKT('SRID=4674;POINT (-40.341739 -2.7953)'))) / (select extract(epoch from '2026-07-17 10:03:36'::timestamp) - extract(epoch from '2026-07-17 10:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.341824 -2.795399)', '2026-07-17 10:03:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341739 -2.7953)'), GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.795399)'))) / (select extract(epoch from '2026-07-17 10:03:43'::timestamp) - extract(epoch from '2026-07-17 10:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341739 -2.7953)'), GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.795399)'))) / (select extract(epoch from '2026-07-17 10:03:43'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47804, 'SRID=4674;POINT (-40.341932 -2.795547)', '2026-07-17 10:03:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.795399)'), GeomFromEWKT('SRID=4674;POINT (-40.341932 -2.795547)'))) / (select extract(epoch from '2026-07-17 10:03:52'::timestamp) - extract(epoch from '2026-07-17 10:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341824 -2.795399)'), GeomFromEWKT('SRID=4674;POINT (-40.341932 -2.795547)'))) / (select extract(epoch from '2026-07-17 10:03:52'::timestamp) - extract(epoch from '2026-07-17 10:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.342069 -2.795628)', '2026-07-17 10:04:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341932 -2.795547)'), GeomFromEWKT('SRID=4674;POINT (-40.342069 -2.795628)'))) / (select extract(epoch from '2026-07-17 10:04:00'::timestamp) - extract(epoch from '2026-07-17 10:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341932 -2.795547)'), GeomFromEWKT('SRID=4674;POINT (-40.342069 -2.795628)'))) / (select extract(epoch from '2026-07-17 10:04:00'::timestamp) - extract(epoch from '2026-07-17 10:03: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'), 47804, 'SRID=4674;POINT (-40.342254 -2.795666)', '2026-07-17 10:04:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342069 -2.795628)'), GeomFromEWKT('SRID=4674;POINT (-40.342254 -2.795666)'))) / (select extract(epoch from '2026-07-17 10:04:07'::timestamp) - extract(epoch from '2026-07-17 10:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342069 -2.795628)'), GeomFromEWKT('SRID=4674;POINT (-40.342254 -2.795666)'))) / (select extract(epoch from '2026-07-17 10:04:07'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47804, 'SRID=4674;POINT (-40.342377 -2.795719)', '2026-07-17 10:04:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342254 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.342377 -2.795719)'))) / (select extract(epoch from '2026-07-17 10:04:13'::timestamp) - extract(epoch from '2026-07-17 10:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342254 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.342377 -2.795719)'))) / (select extract(epoch from '2026-07-17 10:04:13'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47804, 'SRID=4674;POINT (-40.342543 -2.795815)', '2026-07-17 10:04:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342377 -2.795719)'), GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.795815)'))) / (select extract(epoch from '2026-07-17 10:04:21'::timestamp) - extract(epoch from '2026-07-17 10:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342377 -2.795719)'), GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.795815)'))) / (select extract(epoch from '2026-07-17 10:04:21'::timestamp) - extract(epoch from '2026-07-17 10:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.342685 -2.795927)', '2026-07-17 10:04:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.795815)'), GeomFromEWKT('SRID=4674;POINT (-40.342685 -2.795927)'))) / (select extract(epoch from '2026-07-17 10:04:29'::timestamp) - extract(epoch from '2026-07-17 10:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.795815)'), GeomFromEWKT('SRID=4674;POINT (-40.342685 -2.795927)'))) / (select extract(epoch from '2026-07-17 10:04:29'::timestamp) - extract(epoch from '2026-07-17 10:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.342813 -2.796029)', '2026-07-17 10:04:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342685 -2.795927)'), GeomFromEWKT('SRID=4674;POINT (-40.342813 -2.796029)'))) / (select extract(epoch from '2026-07-17 10:04:37'::timestamp) - extract(epoch from '2026-07-17 10:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342685 -2.795927)'), GeomFromEWKT('SRID=4674;POINT (-40.342813 -2.796029)'))) / (select extract(epoch from '2026-07-17 10:04:37'::timestamp) - extract(epoch from '2026-07-17 10:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.34293 -2.796107)', '2026-07-17 10:04:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342813 -2.796029)'), GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.796107)'))) / (select extract(epoch from '2026-07-17 10:04:44'::timestamp) - extract(epoch from '2026-07-17 10:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342813 -2.796029)'), GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.796107)'))) / (select extract(epoch from '2026-07-17 10:04:44'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47804, 'SRID=4674;POINT (-40.343047 -2.796207)', '2026-07-17 10:04:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.796107)'), GeomFromEWKT('SRID=4674;POINT (-40.343047 -2.796207)'))) / (select extract(epoch from '2026-07-17 10:04:51'::timestamp) - extract(epoch from '2026-07-17 10:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34293 -2.796107)'), GeomFromEWKT('SRID=4674;POINT (-40.343047 -2.796207)'))) / (select extract(epoch from '2026-07-17 10:04:51'::timestamp) - extract(epoch from '2026-07-17 10:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.343164 -2.79632)', '2026-07-17 10:04:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343047 -2.796207)'), GeomFromEWKT('SRID=4674;POINT (-40.343164 -2.79632)'))) / (select extract(epoch from '2026-07-17 10:04:58'::timestamp) - extract(epoch from '2026-07-17 10:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343047 -2.796207)'), GeomFromEWKT('SRID=4674;POINT (-40.343164 -2.79632)'))) / (select extract(epoch from '2026-07-17 10:04:58'::timestamp) - extract(epoch from '2026-07-17 10:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.343281 -2.796515)', '2026-07-17 10:05:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343164 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.343281 -2.796515)'))) / (select extract(epoch from '2026-07-17 10:05:08'::timestamp) - extract(epoch from '2026-07-17 10:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343164 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.343281 -2.796515)'))) / (select extract(epoch from '2026-07-17 10:05:08'::timestamp) - extract(epoch from '2026-07-17 10:04: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'), 47804, 'SRID=4674;POINT (-40.343437 -2.796678)', '2026-07-17 10:05:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343281 -2.796515)'), GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.796678)'))) / (select extract(epoch from '2026-07-17 10:05:17'::timestamp) - extract(epoch from '2026-07-17 10:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343281 -2.796515)'), GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.796678)'))) / (select extract(epoch from '2026-07-17 10:05:17'::timestamp) - extract(epoch from '2026-07-17 10:05: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'), 47804, 'SRID=4674;POINT (-40.343584 -2.796716)', '2026-07-17 10:05:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.796716)'))) / (select extract(epoch from '2026-07-17 10:05:24'::timestamp) - extract(epoch from '2026-07-17 10:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343437 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.796716)'))) / (select extract(epoch from '2026-07-17 10:05:24'::timestamp) - extract(epoch from '2026-07-17 10:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.343765 -2.796719)', '2026-07-17 10:05:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.796716)'), GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.796719)'))) / (select extract(epoch from '2026-07-17 10:05:32'::timestamp) - extract(epoch from '2026-07-17 10:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.796716)'), GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.796719)'))) / (select extract(epoch from '2026-07-17 10:05:32'::timestamp) - extract(epoch from '2026-07-17 10:05: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'), 47804, 'SRID=4674;POINT (-40.343904 -2.796767)', '2026-07-17 10:05:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.796719)'), GeomFromEWKT('SRID=4674;POINT (-40.343904 -2.796767)'))) / (select extract(epoch from '2026-07-17 10:05:39'::timestamp) - extract(epoch from '2026-07-17 10:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.796719)'), GeomFromEWKT('SRID=4674;POINT (-40.343904 -2.796767)'))) / (select extract(epoch from '2026-07-17 10:05:39'::timestamp) - extract(epoch from '2026-07-17 10:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.344014 -2.796825)', '2026-07-17 10:05:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343904 -2.796767)'), GeomFromEWKT('SRID=4674;POINT (-40.344014 -2.796825)'))) / (select extract(epoch from '2026-07-17 10:05:46'::timestamp) - extract(epoch from '2026-07-17 10:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343904 -2.796767)'), GeomFromEWKT('SRID=4674;POINT (-40.344014 -2.796825)'))) / (select extract(epoch from '2026-07-17 10:05:46'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.344124 -2.79696)', '2026-07-17 10:05:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344014 -2.796825)'), GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.79696)'))) / (select extract(epoch from '2026-07-17 10:05:54'::timestamp) - extract(epoch from '2026-07-17 10:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344014 -2.796825)'), GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.79696)'))) / (select extract(epoch from '2026-07-17 10:05:54'::timestamp) - extract(epoch from '2026-07-17 10:05: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'), 47804, 'SRID=4674;POINT (-40.344245 -2.797068)', '2026-07-17 10:06:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.344245 -2.797068)'))) / (select extract(epoch from '2026-07-17 10:06:01'::timestamp) - extract(epoch from '2026-07-17 10:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.344245 -2.797068)'))) / (select extract(epoch from '2026-07-17 10:06:01'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.344362 -2.797191)', '2026-07-17 10:06:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344245 -2.797068)'), GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.797191)'))) / (select extract(epoch from '2026-07-17 10:06:09'::timestamp) - extract(epoch from '2026-07-17 10:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344245 -2.797068)'), GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.797191)'))) / (select extract(epoch from '2026-07-17 10:06:09'::timestamp) - extract(epoch from '2026-07-17 10:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.344488 -2.79732)', '2026-07-17 10:06:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.797191)'), GeomFromEWKT('SRID=4674;POINT (-40.344488 -2.79732)'))) / (select extract(epoch from '2026-07-17 10:06:17'::timestamp) - extract(epoch from '2026-07-17 10:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.797191)'), GeomFromEWKT('SRID=4674;POINT (-40.344488 -2.79732)'))) / (select extract(epoch from '2026-07-17 10:06:17'::timestamp) - extract(epoch from '2026-07-17 10:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.344631 -2.797432)', '2026-07-17 10:06:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344488 -2.79732)'), GeomFromEWKT('SRID=4674;POINT (-40.344631 -2.797432)'))) / (select extract(epoch from '2026-07-17 10:06:25'::timestamp) - extract(epoch from '2026-07-17 10:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344488 -2.79732)'), GeomFromEWKT('SRID=4674;POINT (-40.344631 -2.797432)'))) / (select extract(epoch from '2026-07-17 10:06:25'::timestamp) - extract(epoch from '2026-07-17 10:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.344743 -2.797527)', '2026-07-17 10:06:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344631 -2.797432)'), GeomFromEWKT('SRID=4674;POINT (-40.344743 -2.797527)'))) / (select extract(epoch from '2026-07-17 10:06:32'::timestamp) - extract(epoch from '2026-07-17 10:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344631 -2.797432)'), GeomFromEWKT('SRID=4674;POINT (-40.344743 -2.797527)'))) / (select extract(epoch from '2026-07-17 10:06:32'::timestamp) - extract(epoch from '2026-07-17 10:06: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'), 47804, 'SRID=4674;POINT (-40.344844 -2.79763)', '2026-07-17 10:06:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344743 -2.797527)'), GeomFromEWKT('SRID=4674;POINT (-40.344844 -2.79763)'))) / (select extract(epoch from '2026-07-17 10:06:38'::timestamp) - extract(epoch from '2026-07-17 10:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344743 -2.797527)'), GeomFromEWKT('SRID=4674;POINT (-40.344844 -2.79763)'))) / (select extract(epoch from '2026-07-17 10:06:38'::timestamp) - extract(epoch from '2026-07-17 10:06: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'), 47804, 'SRID=4674;POINT (-40.344991 -2.797702)', '2026-07-17 10:06:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344844 -2.79763)'), GeomFromEWKT('SRID=4674;POINT (-40.344991 -2.797702)'))) / (select extract(epoch from '2026-07-17 10:06:45'::timestamp) - extract(epoch from '2026-07-17 10:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344844 -2.79763)'), GeomFromEWKT('SRID=4674;POINT (-40.344991 -2.797702)'))) / (select extract(epoch from '2026-07-17 10:06:45'::timestamp) - extract(epoch from '2026-07-17 10:06: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'), 47804, 'SRID=4674;POINT (-40.345098 -2.797783)', '2026-07-17 10:06:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344991 -2.797702)'), GeomFromEWKT('SRID=4674;POINT (-40.345098 -2.797783)'))) / (select extract(epoch from '2026-07-17 10:06:51'::timestamp) - extract(epoch from '2026-07-17 10:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344991 -2.797702)'), GeomFromEWKT('SRID=4674;POINT (-40.345098 -2.797783)'))) / (select extract(epoch from '2026-07-17 10:06:51'::timestamp) - extract(epoch from '2026-07-17 10:06: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'), 47804, 'SRID=4674;POINT (-40.345203 -2.797871)', '2026-07-17 10:06:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345098 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.345203 -2.797871)'))) / (select extract(epoch from '2026-07-17 10:06:57'::timestamp) - extract(epoch from '2026-07-17 10:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345098 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.345203 -2.797871)'))) / (select extract(epoch from '2026-07-17 10:06:57'::timestamp) - extract(epoch from '2026-07-17 10:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.345331 -2.797967)', '2026-07-17 10:07:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345203 -2.797871)'), GeomFromEWKT('SRID=4674;POINT (-40.345331 -2.797967)'))) / (select extract(epoch from '2026-07-17 10:07:04'::timestamp) - extract(epoch from '2026-07-17 10:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345203 -2.797871)'), GeomFromEWKT('SRID=4674;POINT (-40.345331 -2.797967)'))) / (select extract(epoch from '2026-07-17 10:07:04'::timestamp) - extract(epoch from '2026-07-17 10:06: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'), 47804, 'SRID=4674;POINT (-40.345433 -2.798021)', '2026-07-17 10:07:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345331 -2.797967)'), GeomFromEWKT('SRID=4674;POINT (-40.345433 -2.798021)'))) / (select extract(epoch from '2026-07-17 10:07:10'::timestamp) - extract(epoch from '2026-07-17 10:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345331 -2.797967)'), GeomFromEWKT('SRID=4674;POINT (-40.345433 -2.798021)'))) / (select extract(epoch from '2026-07-17 10:07:10'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47804, 'SRID=4674;POINT (-40.345581 -2.798133)', '2026-07-17 10:07:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345433 -2.798021)'), GeomFromEWKT('SRID=4674;POINT (-40.345581 -2.798133)'))) / (select extract(epoch from '2026-07-17 10:07:18'::timestamp) - extract(epoch from '2026-07-17 10:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345433 -2.798021)'), GeomFromEWKT('SRID=4674;POINT (-40.345581 -2.798133)'))) / (select extract(epoch from '2026-07-17 10:07:18'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47804, 'SRID=4674;POINT (-40.34569 -2.798245)', '2026-07-17 10:07:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345581 -2.798133)'), GeomFromEWKT('SRID=4674;POINT (-40.34569 -2.798245)'))) / (select extract(epoch from '2026-07-17 10:07:25'::timestamp) - extract(epoch from '2026-07-17 10:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345581 -2.798133)'), GeomFromEWKT('SRID=4674;POINT (-40.34569 -2.798245)'))) / (select extract(epoch from '2026-07-17 10:07:25'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47804, 'SRID=4674;POINT (-40.345808 -2.798375)', '2026-07-17 10:07:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34569 -2.798245)'), GeomFromEWKT('SRID=4674;POINT (-40.345808 -2.798375)'))) / (select extract(epoch from '2026-07-17 10:07:33'::timestamp) - extract(epoch from '2026-07-17 10:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34569 -2.798245)'), GeomFromEWKT('SRID=4674;POINT (-40.345808 -2.798375)'))) / (select extract(epoch from '2026-07-17 10:07:33'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.345924 -2.798466)', '2026-07-17 10:07:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345808 -2.798375)'), GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.798466)'))) / (select extract(epoch from '2026-07-17 10:07:40'::timestamp) - extract(epoch from '2026-07-17 10:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345808 -2.798375)'), GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.798466)'))) / (select extract(epoch from '2026-07-17 10:07:40'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47804, 'SRID=4674;POINT (-40.346078 -2.79853)', '2026-07-17 10:07:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.346078 -2.79853)'))) / (select extract(epoch from '2026-07-17 10:07:48'::timestamp) - extract(epoch from '2026-07-17 10:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.346078 -2.79853)'))) / (select extract(epoch from '2026-07-17 10:07:48'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47804, 'SRID=4674;POINT (-40.346224 -2.798648)', '2026-07-17 10:07:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346078 -2.79853)'), GeomFromEWKT('SRID=4674;POINT (-40.346224 -2.798648)'))) / (select extract(epoch from '2026-07-17 10:07:56'::timestamp) - extract(epoch from '2026-07-17 10:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346078 -2.79853)'), GeomFromEWKT('SRID=4674;POINT (-40.346224 -2.798648)'))) / (select extract(epoch from '2026-07-17 10:07:56'::timestamp) - extract(epoch from '2026-07-17 10:07: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'), 47804, 'SRID=4674;POINT (-40.346314 -2.798776)', '2026-07-17 10:08:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346224 -2.798648)'), GeomFromEWKT('SRID=4674;POINT (-40.346314 -2.798776)'))) / (select extract(epoch from '2026-07-17 10:08:03'::timestamp) - extract(epoch from '2026-07-17 10:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346224 -2.798648)'), GeomFromEWKT('SRID=4674;POINT (-40.346314 -2.798776)'))) / (select extract(epoch from '2026-07-17 10:08:03'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.346441 -2.798901)', '2026-07-17 10:08:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346314 -2.798776)'), GeomFromEWKT('SRID=4674;POINT (-40.346441 -2.798901)'))) / (select extract(epoch from '2026-07-17 10:08:12'::timestamp) - extract(epoch from '2026-07-17 10:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346314 -2.798776)'), GeomFromEWKT('SRID=4674;POINT (-40.346441 -2.798901)'))) / (select extract(epoch from '2026-07-17 10:08:12'::timestamp) - extract(epoch from '2026-07-17 10:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.3466 -2.799012)', '2026-07-17 10:08:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346441 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.3466 -2.799012)'))) / (select extract(epoch from '2026-07-17 10:08:21'::timestamp) - extract(epoch from '2026-07-17 10:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346441 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.3466 -2.799012)'))) / (select extract(epoch from '2026-07-17 10:08:21'::timestamp) - extract(epoch from '2026-07-17 10:08: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'), 47804, 'SRID=4674;POINT (-40.346737 -2.799113)', '2026-07-17 10:08:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3466 -2.799012)'), GeomFromEWKT('SRID=4674;POINT (-40.346737 -2.799113)'))) / (select extract(epoch from '2026-07-17 10:08:28'::timestamp) - extract(epoch from '2026-07-17 10:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3466 -2.799012)'), GeomFromEWKT('SRID=4674;POINT (-40.346737 -2.799113)'))) / (select extract(epoch from '2026-07-17 10:08:28'::timestamp) - extract(epoch from '2026-07-17 10:08: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'), 47804, 'SRID=4674;POINT (-40.346904 -2.799216)', '2026-07-17 10:08:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346737 -2.799113)'), GeomFromEWKT('SRID=4674;POINT (-40.346904 -2.799216)'))) / (select extract(epoch from '2026-07-17 10:08:36'::timestamp) - extract(epoch from '2026-07-17 10:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346737 -2.799113)'), GeomFromEWKT('SRID=4674;POINT (-40.346904 -2.799216)'))) / (select extract(epoch from '2026-07-17 10:08:36'::timestamp) - extract(epoch from '2026-07-17 10:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.347087 -2.799333)', '2026-07-17 10:08:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346904 -2.799216)'), GeomFromEWKT('SRID=4674;POINT (-40.347087 -2.799333)'))) / (select extract(epoch from '2026-07-17 10:08:45'::timestamp) - extract(epoch from '2026-07-17 10:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346904 -2.799216)'), GeomFromEWKT('SRID=4674;POINT (-40.347087 -2.799333)'))) / (select extract(epoch from '2026-07-17 10:08:45'::timestamp) - extract(epoch from '2026-07-17 10:08: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'), 47804, 'SRID=4674;POINT (-40.347253 -2.799461)', '2026-07-17 10:08:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347087 -2.799333)'), GeomFromEWKT('SRID=4674;POINT (-40.347253 -2.799461)'))) / (select extract(epoch from '2026-07-17 10:08:55'::timestamp) - extract(epoch from '2026-07-17 10:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347087 -2.799333)'), GeomFromEWKT('SRID=4674;POINT (-40.347253 -2.799461)'))) / (select extract(epoch from '2026-07-17 10:08:55'::timestamp) - extract(epoch from '2026-07-17 10:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.347385 -2.799589)', '2026-07-17 10:09:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347253 -2.799461)'), GeomFromEWKT('SRID=4674;POINT (-40.347385 -2.799589)'))) / (select extract(epoch from '2026-07-17 10:09:04'::timestamp) - extract(epoch from '2026-07-17 10:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347253 -2.799461)'), GeomFromEWKT('SRID=4674;POINT (-40.347385 -2.799589)'))) / (select extract(epoch from '2026-07-17 10:09:04'::timestamp) - extract(epoch from '2026-07-17 10:08: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'), 47804, 'SRID=4674;POINT (-40.347505 -2.799675)', '2026-07-17 10:09:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347385 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.347505 -2.799675)'))) / (select extract(epoch from '2026-07-17 10:09:11'::timestamp) - extract(epoch from '2026-07-17 10:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347385 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.347505 -2.799675)'))) / (select extract(epoch from '2026-07-17 10:09:11'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47804, 'SRID=4674;POINT (-40.347642 -2.799815)', '2026-07-17 10:09:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347505 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.347642 -2.799815)'))) / (select extract(epoch from '2026-07-17 10:09:19'::timestamp) - extract(epoch from '2026-07-17 10:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347505 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.347642 -2.799815)'))) / (select extract(epoch from '2026-07-17 10:09:19'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47804, 'SRID=4674;POINT (-40.347784 -2.799886)', '2026-07-17 10:09:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347642 -2.799815)'), GeomFromEWKT('SRID=4674;POINT (-40.347784 -2.799886)'))) / (select extract(epoch from '2026-07-17 10:09:25'::timestamp) - extract(epoch from '2026-07-17 10:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347642 -2.799815)'), GeomFromEWKT('SRID=4674;POINT (-40.347784 -2.799886)'))) / (select extract(epoch from '2026-07-17 10:09:25'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47804, 'SRID=4674;POINT (-40.347962 -2.79998)', '2026-07-17 10:09:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347784 -2.799886)'), GeomFromEWKT('SRID=4674;POINT (-40.347962 -2.79998)'))) / (select extract(epoch from '2026-07-17 10:09:33'::timestamp) - extract(epoch from '2026-07-17 10:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347784 -2.799886)'), GeomFromEWKT('SRID=4674;POINT (-40.347962 -2.79998)'))) / (select extract(epoch from '2026-07-17 10:09:33'::timestamp) - extract(epoch from '2026-07-17 10:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.348109 -2.800086)', '2026-07-17 10:09:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347962 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.348109 -2.800086)'))) / (select extract(epoch from '2026-07-17 10:09:41'::timestamp) - extract(epoch from '2026-07-17 10:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347962 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.348109 -2.800086)'))) / (select extract(epoch from '2026-07-17 10:09:41'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47804, 'SRID=4674;POINT (-40.348276 -2.800195)', '2026-07-17 10:09:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348109 -2.800086)'), GeomFromEWKT('SRID=4674;POINT (-40.348276 -2.800195)'))) / (select extract(epoch from '2026-07-17 10:09:49'::timestamp) - extract(epoch from '2026-07-17 10:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348109 -2.800086)'), GeomFromEWKT('SRID=4674;POINT (-40.348276 -2.800195)'))) / (select extract(epoch from '2026-07-17 10:09:49'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47804, 'SRID=4674;POINT (-40.348421 -2.800274)', '2026-07-17 10:09:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348276 -2.800195)'), GeomFromEWKT('SRID=4674;POINT (-40.348421 -2.800274)'))) / (select extract(epoch from '2026-07-17 10:09:57'::timestamp) - extract(epoch from '2026-07-17 10:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348276 -2.800195)'), GeomFromEWKT('SRID=4674;POINT (-40.348421 -2.800274)'))) / (select extract(epoch from '2026-07-17 10:09:57'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47804, 'SRID=4674;POINT (-40.3486 -2.800384)', '2026-07-17 10:10:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348421 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.3486 -2.800384)'))) / (select extract(epoch from '2026-07-17 10:10:06'::timestamp) - extract(epoch from '2026-07-17 10:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348421 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.3486 -2.800384)'))) / (select extract(epoch from '2026-07-17 10:10:06'::timestamp) - extract(epoch from '2026-07-17 10:09: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'), 47804, 'SRID=4674;POINT (-40.348718 -2.800536)', '2026-07-17 10:10:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3486 -2.800384)'), GeomFromEWKT('SRID=4674;POINT (-40.348718 -2.800536)'))) / (select extract(epoch from '2026-07-17 10:10:15'::timestamp) - extract(epoch from '2026-07-17 10:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3486 -2.800384)'), GeomFromEWKT('SRID=4674;POINT (-40.348718 -2.800536)'))) / (select extract(epoch from '2026-07-17 10:10:15'::timestamp) - extract(epoch from '2026-07-17 10:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.348852 -2.800714)', '2026-07-17 10:10:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348718 -2.800536)'), GeomFromEWKT('SRID=4674;POINT (-40.348852 -2.800714)'))) / (select extract(epoch from '2026-07-17 10:10:24'::timestamp) - extract(epoch from '2026-07-17 10:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348718 -2.800536)'), GeomFromEWKT('SRID=4674;POINT (-40.348852 -2.800714)'))) / (select extract(epoch from '2026-07-17 10:10:24'::timestamp) - extract(epoch from '2026-07-17 10:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.348981 -2.8008)', '2026-07-17 10:10:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348852 -2.800714)'), GeomFromEWKT('SRID=4674;POINT (-40.348981 -2.8008)'))) / (select extract(epoch from '2026-07-17 10:10:31'::timestamp) - extract(epoch from '2026-07-17 10:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348852 -2.800714)'), GeomFromEWKT('SRID=4674;POINT (-40.348981 -2.8008)'))) / (select extract(epoch from '2026-07-17 10:10:31'::timestamp) - extract(epoch from '2026-07-17 10:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.349101 -2.800921)', '2026-07-17 10:10:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348981 -2.8008)'), GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.800921)'))) / (select extract(epoch from '2026-07-17 10:10:39'::timestamp) - extract(epoch from '2026-07-17 10:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348981 -2.8008)'), GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.800921)'))) / (select extract(epoch from '2026-07-17 10:10:39'::timestamp) - extract(epoch from '2026-07-17 10:10: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'), 47804, 'SRID=4674;POINT (-40.349192 -2.801061)', '2026-07-17 10:10:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.800921)'), GeomFromEWKT('SRID=4674;POINT (-40.349192 -2.801061)'))) / (select extract(epoch from '2026-07-17 10:10:47'::timestamp) - extract(epoch from '2026-07-17 10:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.800921)'), GeomFromEWKT('SRID=4674;POINT (-40.349192 -2.801061)'))) / (select extract(epoch from '2026-07-17 10:10:47'::timestamp) - extract(epoch from '2026-07-17 10:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.349275 -2.801201)', '2026-07-17 10:10:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349192 -2.801061)'), GeomFromEWKT('SRID=4674;POINT (-40.349275 -2.801201)'))) / (select extract(epoch from '2026-07-17 10:10:54'::timestamp) - extract(epoch from '2026-07-17 10:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349192 -2.801061)'), GeomFromEWKT('SRID=4674;POINT (-40.349275 -2.801201)'))) / (select extract(epoch from '2026-07-17 10:10:54'::timestamp) - extract(epoch from '2026-07-17 10:10: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'), 47804, 'SRID=4674;POINT (-40.349397 -2.801294)', '2026-07-17 10:11:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349275 -2.801201)'), GeomFromEWKT('SRID=4674;POINT (-40.349397 -2.801294)'))) / (select extract(epoch from '2026-07-17 10:11:01'::timestamp) - extract(epoch from '2026-07-17 10:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349275 -2.801201)'), GeomFromEWKT('SRID=4674;POINT (-40.349397 -2.801294)'))) / (select extract(epoch from '2026-07-17 10:11:01'::timestamp) - extract(epoch from '2026-07-17 10:10: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'), 47804, 'SRID=4674;POINT (-40.349543 -2.801395)', '2026-07-17 10:11:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349397 -2.801294)'), GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.801395)'))) / (select extract(epoch from '2026-07-17 10:11:09'::timestamp) - extract(epoch from '2026-07-17 10:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349397 -2.801294)'), GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.801395)'))) / (select extract(epoch from '2026-07-17 10:11:09'::timestamp) - extract(epoch from '2026-07-17 10:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.34966 -2.801495)', '2026-07-17 10:11:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.34966 -2.801495)'))) / (select extract(epoch from '2026-07-17 10:11:16'::timestamp) - extract(epoch from '2026-07-17 10:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349543 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.34966 -2.801495)'))) / (select extract(epoch from '2026-07-17 10:11:16'::timestamp) - extract(epoch from '2026-07-17 10:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.34976 -2.80161)', '2026-07-17 10:11:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34966 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.80161)'))) / (select extract(epoch from '2026-07-17 10:11:23'::timestamp) - extract(epoch from '2026-07-17 10:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34966 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.80161)'))) / (select extract(epoch from '2026-07-17 10:11:23'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47804, 'SRID=4674;POINT (-40.349902 -2.801705)', '2026-07-17 10:11:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.801705)'))) / (select extract(epoch from '2026-07-17 10:11:30'::timestamp) - extract(epoch from '2026-07-17 10:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34976 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.801705)'))) / (select extract(epoch from '2026-07-17 10:11:30'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47804, 'SRID=4674;POINT (-40.35003 -2.801803)', '2026-07-17 10:11:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.801705)'), GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.801803)'))) / (select extract(epoch from '2026-07-17 10:11:37'::timestamp) - extract(epoch from '2026-07-17 10:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.801705)'), GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.801803)'))) / (select extract(epoch from '2026-07-17 10:11:37'::timestamp) - extract(epoch from '2026-07-17 10:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.350176 -2.801935)', '2026-07-17 10:11:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.801935)'))) / (select extract(epoch from '2026-07-17 10:11:45'::timestamp) - extract(epoch from '2026-07-17 10:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.801935)'))) / (select extract(epoch from '2026-07-17 10:11:45'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47804, 'SRID=4674;POINT (-40.350272 -2.802043)', '2026-07-17 10:11:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.801935)'), GeomFromEWKT('SRID=4674;POINT (-40.350272 -2.802043)'))) / (select extract(epoch from '2026-07-17 10:11:52'::timestamp) - extract(epoch from '2026-07-17 10:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.801935)'), GeomFromEWKT('SRID=4674;POINT (-40.350272 -2.802043)'))) / (select extract(epoch from '2026-07-17 10:11:52'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47804, 'SRID=4674;POINT (-40.350384 -2.802169)', '2026-07-17 10:12:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350272 -2.802043)'), GeomFromEWKT('SRID=4674;POINT (-40.350384 -2.802169)'))) / (select extract(epoch from '2026-07-17 10:12:00'::timestamp) - extract(epoch from '2026-07-17 10:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350272 -2.802043)'), GeomFromEWKT('SRID=4674;POINT (-40.350384 -2.802169)'))) / (select extract(epoch from '2026-07-17 10:12:00'::timestamp) - extract(epoch from '2026-07-17 10:11: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'), 47804, 'SRID=4674;POINT (-40.350522 -2.802335)', '2026-07-17 10:12:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350384 -2.802169)'), GeomFromEWKT('SRID=4674;POINT (-40.350522 -2.802335)'))) / (select extract(epoch from '2026-07-17 10:12:09'::timestamp) - extract(epoch from '2026-07-17 10:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350384 -2.802169)'), GeomFromEWKT('SRID=4674;POINT (-40.350522 -2.802335)'))) / (select extract(epoch from '2026-07-17 10:12:09'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47804, 'SRID=4674;POINT (-40.350617 -2.802482)', '2026-07-17 10:12:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350522 -2.802335)'), GeomFromEWKT('SRID=4674;POINT (-40.350617 -2.802482)'))) / (select extract(epoch from '2026-07-17 10:12:17'::timestamp) - extract(epoch from '2026-07-17 10:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350522 -2.802335)'), GeomFromEWKT('SRID=4674;POINT (-40.350617 -2.802482)'))) / (select extract(epoch from '2026-07-17 10:12:17'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47804, 'SRID=4674;POINT (-40.350724 -2.802638)', '2026-07-17 10:12:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350617 -2.802482)'), GeomFromEWKT('SRID=4674;POINT (-40.350724 -2.802638)'))) / (select extract(epoch from '2026-07-17 10:12:26'::timestamp) - extract(epoch from '2026-07-17 10:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350617 -2.802482)'), GeomFromEWKT('SRID=4674;POINT (-40.350724 -2.802638)'))) / (select extract(epoch from '2026-07-17 10:12:26'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47804, 'SRID=4674;POINT (-40.350906 -2.80272)', '2026-07-17 10:12:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350724 -2.802638)'), GeomFromEWKT('SRID=4674;POINT (-40.350906 -2.80272)'))) / (select extract(epoch from '2026-07-17 10:12:35'::timestamp) - extract(epoch from '2026-07-17 10:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350724 -2.802638)'), GeomFromEWKT('SRID=4674;POINT (-40.350906 -2.80272)'))) / (select extract(epoch from '2026-07-17 10:12:35'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.351086 -2.80281)', '2026-07-17 10:12:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350906 -2.80272)'), GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.80281)'))) / (select extract(epoch from '2026-07-17 10:12:43'::timestamp) - extract(epoch from '2026-07-17 10:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350906 -2.80272)'), GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.80281)'))) / (select extract(epoch from '2026-07-17 10:12:43'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47804, 'SRID=4674;POINT (-40.351243 -2.802923)', '2026-07-17 10:12:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.80281)'), GeomFromEWKT('SRID=4674;POINT (-40.351243 -2.802923)'))) / (select extract(epoch from '2026-07-17 10:12:51'::timestamp) - extract(epoch from '2026-07-17 10:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.80281)'), GeomFromEWKT('SRID=4674;POINT (-40.351243 -2.802923)'))) / (select extract(epoch from '2026-07-17 10:12:51'::timestamp) - extract(epoch from '2026-07-17 10:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.351338 -2.803081)', '2026-07-17 10:12:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351243 -2.802923)'), GeomFromEWKT('SRID=4674;POINT (-40.351338 -2.803081)'))) / (select extract(epoch from '2026-07-17 10:12:59'::timestamp) - extract(epoch from '2026-07-17 10:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351243 -2.802923)'), GeomFromEWKT('SRID=4674;POINT (-40.351338 -2.803081)'))) / (select extract(epoch from '2026-07-17 10:12:59'::timestamp) - extract(epoch from '2026-07-17 10:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.351443 -2.803208)', '2026-07-17 10:13:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351338 -2.803081)'), GeomFromEWKT('SRID=4674;POINT (-40.351443 -2.803208)'))) / (select extract(epoch from '2026-07-17 10:13:07'::timestamp) - extract(epoch from '2026-07-17 10:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351338 -2.803081)'), GeomFromEWKT('SRID=4674;POINT (-40.351443 -2.803208)'))) / (select extract(epoch from '2026-07-17 10:13:07'::timestamp) - extract(epoch from '2026-07-17 10:12: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'), 47804, 'SRID=4674;POINT (-40.351579 -2.803354)', '2026-07-17 10:13:17', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351443 -2.803208)'), GeomFromEWKT('SRID=4674;POINT (-40.351579 -2.803354)'))) / (select extract(epoch from '2026-07-17 10:13:17'::timestamp) - extract(epoch from '2026-07-17 10:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351443 -2.803208)'), GeomFromEWKT('SRID=4674;POINT (-40.351579 -2.803354)'))) / (select extract(epoch from '2026-07-17 10:13:17'::timestamp) - extract(epoch from '2026-07-17 10:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.351699 -2.803486)', '2026-07-17 10:13:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351579 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.351699 -2.803486)'))) / (select extract(epoch from '2026-07-17 10:13:25'::timestamp) - extract(epoch from '2026-07-17 10:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351579 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.351699 -2.803486)'))) / (select extract(epoch from '2026-07-17 10:13:25'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.35182 -2.803632)', '2026-07-17 10:13:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351699 -2.803486)'), GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.803632)'))) / (select extract(epoch from '2026-07-17 10:13:33'::timestamp) - extract(epoch from '2026-07-17 10:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351699 -2.803486)'), GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.803632)'))) / (select extract(epoch from '2026-07-17 10:13:33'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47804, 'SRID=4674;POINT (-40.351938 -2.803746)', '2026-07-17 10:13:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.803632)'), GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.803746)'))) / (select extract(epoch from '2026-07-17 10:13:40'::timestamp) - extract(epoch from '2026-07-17 10:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.803632)'), GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.803746)'))) / (select extract(epoch from '2026-07-17 10:13:40'::timestamp) - extract(epoch from '2026-07-17 10:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.352056 -2.803872)', '2026-07-17 10:13:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.803746)'), GeomFromEWKT('SRID=4674;POINT (-40.352056 -2.803872)'))) / (select extract(epoch from '2026-07-17 10:13:47'::timestamp) - extract(epoch from '2026-07-17 10:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351938 -2.803746)'), GeomFromEWKT('SRID=4674;POINT (-40.352056 -2.803872)'))) / (select extract(epoch from '2026-07-17 10:13:47'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47804, 'SRID=4674;POINT (-40.352127 -2.804015)', '2026-07-17 10:13:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352056 -2.803872)'), GeomFromEWKT('SRID=4674;POINT (-40.352127 -2.804015)'))) / (select extract(epoch from '2026-07-17 10:13:54'::timestamp) - extract(epoch from '2026-07-17 10:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352056 -2.803872)'), GeomFromEWKT('SRID=4674;POINT (-40.352127 -2.804015)'))) / (select extract(epoch from '2026-07-17 10:13:54'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47804, 'SRID=4674;POINT (-40.35226 -2.804132)', '2026-07-17 10:14:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352127 -2.804015)'), GeomFromEWKT('SRID=4674;POINT (-40.35226 -2.804132)'))) / (select extract(epoch from '2026-07-17 10:14:02'::timestamp) - extract(epoch from '2026-07-17 10:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352127 -2.804015)'), GeomFromEWKT('SRID=4674;POINT (-40.35226 -2.804132)'))) / (select extract(epoch from '2026-07-17 10:14:02'::timestamp) - extract(epoch from '2026-07-17 10:13: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'), 47804, 'SRID=4674;POINT (-40.352403 -2.804247)', '2026-07-17 10:14:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35226 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.352403 -2.804247)'))) / (select extract(epoch from '2026-07-17 10:14:10'::timestamp) - extract(epoch from '2026-07-17 10:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35226 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.352403 -2.804247)'))) / (select extract(epoch from '2026-07-17 10:14:10'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47804, 'SRID=4674;POINT (-40.352463 -2.80436)', '2026-07-17 10:14:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352403 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.352463 -2.80436)'))) / (select extract(epoch from '2026-07-17 10:14:16'::timestamp) - extract(epoch from '2026-07-17 10:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352403 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.352463 -2.80436)'))) / (select extract(epoch from '2026-07-17 10:14:16'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47804, 'SRID=4674;POINT (-40.352533 -2.804494)', '2026-07-17 10:14:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352463 -2.80436)'), GeomFromEWKT('SRID=4674;POINT (-40.352533 -2.804494)'))) / (select extract(epoch from '2026-07-17 10:14:23'::timestamp) - extract(epoch from '2026-07-17 10:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352463 -2.80436)'), GeomFromEWKT('SRID=4674;POINT (-40.352533 -2.804494)'))) / (select extract(epoch from '2026-07-17 10:14:23'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47804, 'SRID=4674;POINT (-40.352622 -2.804629)', '2026-07-17 10:14:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352533 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.352622 -2.804629)'))) / (select extract(epoch from '2026-07-17 10:14:30'::timestamp) - extract(epoch from '2026-07-17 10:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352533 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.352622 -2.804629)'))) / (select extract(epoch from '2026-07-17 10:14:30'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47804, 'SRID=4674;POINT (-40.352736 -2.804812)', '2026-07-17 10:14:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352622 -2.804629)'), GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.804812)'))) / (select extract(epoch from '2026-07-17 10:14:39'::timestamp) - extract(epoch from '2026-07-17 10:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352622 -2.804629)'), GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.804812)'))) / (select extract(epoch from '2026-07-17 10:14:39'::timestamp) - extract(epoch from '2026-07-17 10:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.35283 -2.804981)', '2026-07-17 10:14:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.35283 -2.804981)'))) / (select extract(epoch from '2026-07-17 10:14:48'::timestamp) - extract(epoch from '2026-07-17 10:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.35283 -2.804981)'))) / (select extract(epoch from '2026-07-17 10:14:48'::timestamp) - extract(epoch from '2026-07-17 10:14: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'), 47804, 'SRID=4674;POINT (-40.352906 -2.805095)', '2026-07-17 10:14:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35283 -2.804981)'), GeomFromEWKT('SRID=4674;POINT (-40.352906 -2.805095)'))) / (select extract(epoch from '2026-07-17 10:14:54'::timestamp) - extract(epoch from '2026-07-17 10:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35283 -2.804981)'), GeomFromEWKT('SRID=4674;POINT (-40.352906 -2.805095)'))) / (select extract(epoch from '2026-07-17 10:14:54'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.353025 -2.805213)', '2026-07-17 10:15:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352906 -2.805095)'), GeomFromEWKT('SRID=4674;POINT (-40.353025 -2.805213)'))) / (select extract(epoch from '2026-07-17 10:15:01'::timestamp) - extract(epoch from '2026-07-17 10:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352906 -2.805095)'), GeomFromEWKT('SRID=4674;POINT (-40.353025 -2.805213)'))) / (select extract(epoch from '2026-07-17 10:15:01'::timestamp) - extract(epoch from '2026-07-17 10:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.353175 -2.805299)', '2026-07-17 10:15:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353025 -2.805213)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.805299)'))) / (select extract(epoch from '2026-07-17 10:15:08'::timestamp) - extract(epoch from '2026-07-17 10:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353025 -2.805213)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.805299)'))) / (select extract(epoch from '2026-07-17 10:15:08'::timestamp) - extract(epoch from '2026-07-17 10:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.353289 -2.805472)', '2026-07-17 10:15:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.805299)'), GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.805472)'))) / (select extract(epoch from '2026-07-17 10:15:17'::timestamp) - extract(epoch from '2026-07-17 10:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.805299)'), GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.805472)'))) / (select extract(epoch from '2026-07-17 10:15:17'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47804, 'SRID=4674;POINT (-40.353403 -2.805689)', '2026-07-17 10:15:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.805472)'), GeomFromEWKT('SRID=4674;POINT (-40.353403 -2.805689)'))) / (select extract(epoch from '2026-07-17 10:15:28'::timestamp) - extract(epoch from '2026-07-17 10:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353289 -2.805472)'), GeomFromEWKT('SRID=4674;POINT (-40.353403 -2.805689)'))) / (select extract(epoch from '2026-07-17 10:15:28'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47804, 'SRID=4674;POINT (-40.353479 -2.805803)', '2026-07-17 10:15:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353403 -2.805689)'), GeomFromEWKT('SRID=4674;POINT (-40.353479 -2.805803)'))) / (select extract(epoch from '2026-07-17 10:15:34'::timestamp) - extract(epoch from '2026-07-17 10:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353403 -2.805689)'), GeomFromEWKT('SRID=4674;POINT (-40.353479 -2.805803)'))) / (select extract(epoch from '2026-07-17 10:15:34'::timestamp) - extract(epoch from '2026-07-17 10:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.353564 -2.805953)', '2026-07-17 10:15:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353479 -2.805803)'), GeomFromEWKT('SRID=4674;POINT (-40.353564 -2.805953)'))) / (select extract(epoch from '2026-07-17 10:15:42'::timestamp) - extract(epoch from '2026-07-17 10:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353479 -2.805803)'), GeomFromEWKT('SRID=4674;POINT (-40.353564 -2.805953)'))) / (select extract(epoch from '2026-07-17 10:15:42'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47804, 'SRID=4674;POINT (-40.353654 -2.806112)', '2026-07-17 10:15:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353564 -2.805953)'), GeomFromEWKT('SRID=4674;POINT (-40.353654 -2.806112)'))) / (select extract(epoch from '2026-07-17 10:15:50'::timestamp) - extract(epoch from '2026-07-17 10:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353564 -2.805953)'), GeomFromEWKT('SRID=4674;POINT (-40.353654 -2.806112)'))) / (select extract(epoch from '2026-07-17 10:15:50'::timestamp) - extract(epoch from '2026-07-17 10:15: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'), 47804, 'SRID=4674;POINT (-40.353729 -2.806268)', '2026-07-17 10:15:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353654 -2.806112)'), GeomFromEWKT('SRID=4674;POINT (-40.353729 -2.806268)'))) / (select extract(epoch from '2026-07-17 10:15:58'::timestamp) - extract(epoch from '2026-07-17 10:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353654 -2.806112)'), GeomFromEWKT('SRID=4674;POINT (-40.353729 -2.806268)'))) / (select extract(epoch from '2026-07-17 10:15:58'::timestamp) - extract(epoch from '2026-07-17 10:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.353815 -2.806403)', '2026-07-17 10:16:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353729 -2.806268)'), GeomFromEWKT('SRID=4674;POINT (-40.353815 -2.806403)'))) / (select extract(epoch from '2026-07-17 10:16:05'::timestamp) - extract(epoch from '2026-07-17 10:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353729 -2.806268)'), GeomFromEWKT('SRID=4674;POINT (-40.353815 -2.806403)'))) / (select extract(epoch from '2026-07-17 10:16:05'::timestamp) - extract(epoch from '2026-07-17 10: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'), 47804, 'SRID=4674;POINT (-40.35395 -2.806552)', '2026-07-17 10:16:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353815 -2.806403)'), GeomFromEWKT('SRID=4674;POINT (-40.35395 -2.806552)'))) / (select extract(epoch from '2026-07-17 10:16:13'::timestamp) - extract(epoch from '2026-07-17 10:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353815 -2.806403)'), GeomFromEWKT('SRID=4674;POINT (-40.35395 -2.806552)'))) / (select extract(epoch from '2026-07-17 10:16:13'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47804, 'SRID=4674;POINT (-40.354088 -2.806633)', '2026-07-17 10:16:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35395 -2.806552)'), GeomFromEWKT('SRID=4674;POINT (-40.354088 -2.806633)'))) / (select extract(epoch from '2026-07-17 10:16:20'::timestamp) - extract(epoch from '2026-07-17 10:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35395 -2.806552)'), GeomFromEWKT('SRID=4674;POINT (-40.354088 -2.806633)'))) / (select extract(epoch from '2026-07-17 10:16:20'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47804, 'SRID=4674;POINT (-40.354269 -2.806712)', '2026-07-17 10:16:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354088 -2.806633)'), GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.806712)'))) / (select extract(epoch from '2026-07-17 10:16:28'::timestamp) - extract(epoch from '2026-07-17 10:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354088 -2.806633)'), GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.806712)'))) / (select extract(epoch from '2026-07-17 10:16:28'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47804, 'SRID=4674;POINT (-40.354424 -2.806803)', '2026-07-17 10:16:36', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.806712)'), GeomFromEWKT('SRID=4674;POINT (-40.354424 -2.806803)'))) / (select extract(epoch from '2026-07-17 10:16:36'::timestamp) - extract(epoch from '2026-07-17 10:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.806712)'), GeomFromEWKT('SRID=4674;POINT (-40.354424 -2.806803)'))) / (select extract(epoch from '2026-07-17 10:16:36'::timestamp) - extract(epoch from '2026-07-17 10:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.354561 -2.806889)', '2026-07-17 10:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354424 -2.806803)'), GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.806889)'))) / (select extract(epoch from '2026-07-17 10:16:44'::timestamp) - extract(epoch from '2026-07-17 10:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354424 -2.806803)'), GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.806889)'))) / (select extract(epoch from '2026-07-17 10:16:44'::timestamp) - extract(epoch from '2026-07-17 10:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.354717 -2.806927)', '2026-07-17 10:16:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.806889)'), GeomFromEWKT('SRID=4674;POINT (-40.354717 -2.806927)'))) / (select extract(epoch from '2026-07-17 10:16:51'::timestamp) - extract(epoch from '2026-07-17 10:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.806889)'), GeomFromEWKT('SRID=4674;POINT (-40.354717 -2.806927)'))) / (select extract(epoch from '2026-07-17 10:16:51'::timestamp) - extract(epoch from '2026-07-17 10:16: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'), 47804, 'SRID=4674;POINT (-40.354856 -2.806967)', '2026-07-17 10:16:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354717 -2.806927)'), GeomFromEWKT('SRID=4674;POINT (-40.354856 -2.806967)'))) / (select extract(epoch from '2026-07-17 10:16:58'::timestamp) - extract(epoch from '2026-07-17 10:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354717 -2.806927)'), GeomFromEWKT('SRID=4674;POINT (-40.354856 -2.806967)'))) / (select extract(epoch from '2026-07-17 10:16:58'::timestamp) - extract(epoch from '2026-07-17 10:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.354977 -2.807042)', '2026-07-17 10:17:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354856 -2.806967)'), GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807042)'))) / (select extract(epoch from '2026-07-17 10:17:05'::timestamp) - extract(epoch from '2026-07-17 10:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354856 -2.806967)'), GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807042)'))) / (select extract(epoch from '2026-07-17 10:17:05'::timestamp) - extract(epoch from '2026-07-17 10:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.355132 -2.807164)', '2026-07-17 10:17:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807042)'), GeomFromEWKT('SRID=4674;POINT (-40.355132 -2.807164)'))) / (select extract(epoch from '2026-07-17 10:17:14'::timestamp) - extract(epoch from '2026-07-17 10:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807042)'), GeomFromEWKT('SRID=4674;POINT (-40.355132 -2.807164)'))) / (select extract(epoch from '2026-07-17 10:17:14'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47804, 'SRID=4674;POINT (-40.35532 -2.807293)', '2026-07-17 10:17:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355132 -2.807164)'), GeomFromEWKT('SRID=4674;POINT (-40.35532 -2.807293)'))) / (select extract(epoch from '2026-07-17 10:17:24'::timestamp) - extract(epoch from '2026-07-17 10:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355132 -2.807164)'), GeomFromEWKT('SRID=4674;POINT (-40.35532 -2.807293)'))) / (select extract(epoch from '2026-07-17 10:17:24'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47804, 'SRID=4674;POINT (-40.355488 -2.807385)', '2026-07-17 10:17:32', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35532 -2.807293)'), GeomFromEWKT('SRID=4674;POINT (-40.355488 -2.807385)'))) / (select extract(epoch from '2026-07-17 10:17:32'::timestamp) - extract(epoch from '2026-07-17 10:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35532 -2.807293)'), GeomFromEWKT('SRID=4674;POINT (-40.355488 -2.807385)'))) / (select extract(epoch from '2026-07-17 10:17:32'::timestamp) - extract(epoch from '2026-07-17 10:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.355674 -2.807505)', '2026-07-17 10:17:42', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355488 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807505)'))) / (select extract(epoch from '2026-07-17 10:17:42'::timestamp) - extract(epoch from '2026-07-17 10:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355488 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807505)'))) / (select extract(epoch from '2026-07-17 10:17:42'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47804, 'SRID=4674;POINT (-40.355808 -2.807618)', '2026-07-17 10:17:50', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807505)'), GeomFromEWKT('SRID=4674;POINT (-40.355808 -2.807618)'))) / (select extract(epoch from '2026-07-17 10:17:50'::timestamp) - extract(epoch from '2026-07-17 10:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807505)'), GeomFromEWKT('SRID=4674;POINT (-40.355808 -2.807618)'))) / (select extract(epoch from '2026-07-17 10:17:50'::timestamp) - extract(epoch from '2026-07-17 10:17: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'), 47804, 'SRID=4674;POINT (-40.356005 -2.807768)', '2026-07-17 10:18:01', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355808 -2.807618)'), GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.807768)'))) / (select extract(epoch from '2026-07-17 10:18:01'::timestamp) - extract(epoch from '2026-07-17 10:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355808 -2.807618)'), GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.807768)'))) / (select extract(epoch from '2026-07-17 10:18:01'::timestamp) - extract(epoch from '2026-07-17 10:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.35612 -2.807846)', '2026-07-17 10:18:07', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.807768)'), GeomFromEWKT('SRID=4674;POINT (-40.35612 -2.807846)'))) / (select extract(epoch from '2026-07-17 10:18:07'::timestamp) - extract(epoch from '2026-07-17 10:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356005 -2.807768)'), GeomFromEWKT('SRID=4674;POINT (-40.35612 -2.807846)'))) / (select extract(epoch from '2026-07-17 10:18:07'::timestamp) - extract(epoch from '2026-07-17 10:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.356316 -2.80793)', '2026-07-17 10:18:15', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35612 -2.807846)'), GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.80793)'))) / (select extract(epoch from '2026-07-17 10:18:15'::timestamp) - extract(epoch from '2026-07-17 10:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35612 -2.807846)'), GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.80793)'))) / (select extract(epoch from '2026-07-17 10:18:15'::timestamp) - extract(epoch from '2026-07-17 10:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.356436 -2.808034)', '2026-07-17 10:18:22', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.80793)'), GeomFromEWKT('SRID=4674;POINT (-40.356436 -2.808034)'))) / (select extract(epoch from '2026-07-17 10:18:22'::timestamp) - extract(epoch from '2026-07-17 10:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356316 -2.80793)'), GeomFromEWKT('SRID=4674;POINT (-40.356436 -2.808034)'))) / (select extract(epoch from '2026-07-17 10:18:22'::timestamp) - extract(epoch from '2026-07-17 10:18: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'), 47804, 'SRID=4674;POINT (-40.356538 -2.808157)', '2026-07-17 10:18:30', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356436 -2.808034)'), GeomFromEWKT('SRID=4674;POINT (-40.356538 -2.808157)'))) / (select extract(epoch from '2026-07-17 10:18:30'::timestamp) - extract(epoch from '2026-07-17 10:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356436 -2.808034)'), GeomFromEWKT('SRID=4674;POINT (-40.356538 -2.808157)'))) / (select extract(epoch from '2026-07-17 10:18:30'::timestamp) - extract(epoch from '2026-07-17 10:18: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'), 47804, 'SRID=4674;POINT (-40.356584 -2.808233)', '2026-07-17 10:18:38', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356538 -2.808157)'), GeomFromEWKT('SRID=4674;POINT (-40.356584 -2.808233)'))) / (select extract(epoch from '2026-07-17 10:18:38'::timestamp) - extract(epoch from '2026-07-17 10:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356538 -2.808157)'), GeomFromEWKT('SRID=4674;POINT (-40.356584 -2.808233)'))) / (select extract(epoch from '2026-07-17 10:18:38'::timestamp) - extract(epoch from '2026-07-17 10:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
