BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354022 -2.807996)', '2026-07-29 03:11:36', 3.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354039 -2.807933)', '2026-07-29 03:11:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354022 -2.807996)'), GeomFromEWKT('SRID=4674;POINT (-40.354039 -2.807933)'))) / (select extract(epoch from '2026-07-29 03:11:40'::timestamp) - extract(epoch from '2026-07-29 03:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354022 -2.807996)'), GeomFromEWKT('SRID=4674;POINT (-40.354039 -2.807933)'))) / (select extract(epoch from '2026-07-29 03:11:40'::timestamp) - extract(epoch from '2026-07-29 03:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354055 -2.807819)', '2026-07-29 03:11:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354039 -2.807933)'), GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.807819)'))) / (select extract(epoch from '2026-07-29 03:11:47'::timestamp) - extract(epoch from '2026-07-29 03:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354039 -2.807933)'), GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.807819)'))) / (select extract(epoch from '2026-07-29 03:11:47'::timestamp) - extract(epoch from '2026-07-29 03:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354047 -2.807653)', '2026-07-29 03:11:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.807819)'), GeomFromEWKT('SRID=4674;POINT (-40.354047 -2.807653)'))) / (select extract(epoch from '2026-07-29 03:11:57'::timestamp) - extract(epoch from '2026-07-29 03:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.807819)'), GeomFromEWKT('SRID=4674;POINT (-40.354047 -2.807653)'))) / (select extract(epoch from '2026-07-29 03:11:57'::timestamp) - extract(epoch from '2026-07-29 03:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354106 -2.807559)', '2026-07-29 03:12:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354047 -2.807653)'), GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.807559)'))) / (select extract(epoch from '2026-07-29 03:12:03'::timestamp) - extract(epoch from '2026-07-29 03:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354047 -2.807653)'), GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.807559)'))) / (select extract(epoch from '2026-07-29 03:12:03'::timestamp) - extract(epoch from '2026-07-29 03:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354214 -2.807501)', '2026-07-29 03:12:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.807559)'), GeomFromEWKT('SRID=4674;POINT (-40.354214 -2.807501)'))) / (select extract(epoch from '2026-07-29 03:12:09'::timestamp) - extract(epoch from '2026-07-29 03:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354106 -2.807559)'), GeomFromEWKT('SRID=4674;POINT (-40.354214 -2.807501)'))) / (select extract(epoch from '2026-07-29 03:12:09'::timestamp) - extract(epoch from '2026-07-29 03:12: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'), 47641, 'SRID=4674;POINT (-40.354366 -2.807483)', '2026-07-29 03:12:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354214 -2.807501)'), GeomFromEWKT('SRID=4674;POINT (-40.354366 -2.807483)'))) / (select extract(epoch from '2026-07-29 03:12:16'::timestamp) - extract(epoch from '2026-07-29 03:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354214 -2.807501)'), GeomFromEWKT('SRID=4674;POINT (-40.354366 -2.807483)'))) / (select extract(epoch from '2026-07-29 03:12:16'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.354465 -2.807493)', '2026-07-29 03:12:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354366 -2.807483)'), GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.807493)'))) / (select extract(epoch from '2026-07-29 03:12:21'::timestamp) - extract(epoch from '2026-07-29 03:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354366 -2.807483)'), GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.807493)'))) / (select extract(epoch from '2026-07-29 03:12:21'::timestamp) - extract(epoch from '2026-07-29 03:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354613 -2.807498)', '2026-07-29 03:12:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.807493)'), GeomFromEWKT('SRID=4674;POINT (-40.354613 -2.807498)'))) / (select extract(epoch from '2026-07-29 03:12:28'::timestamp) - extract(epoch from '2026-07-29 03:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354465 -2.807493)'), GeomFromEWKT('SRID=4674;POINT (-40.354613 -2.807498)'))) / (select extract(epoch from '2026-07-29 03:12:28'::timestamp) - extract(epoch from '2026-07-29 03:12: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'), 47641, 'SRID=4674;POINT (-40.354739 -2.807506)', '2026-07-29 03:12:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354613 -2.807498)'), GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.807506)'))) / (select extract(epoch from '2026-07-29 03:12:34'::timestamp) - extract(epoch from '2026-07-29 03:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354613 -2.807498)'), GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.807506)'))) / (select extract(epoch from '2026-07-29 03:12:34'::timestamp) - extract(epoch from '2026-07-29 03:12: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'), 47641, 'SRID=4674;POINT (-40.354884 -2.807502)', '2026-07-29 03:12:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.807506)'), GeomFromEWKT('SRID=4674;POINT (-40.354884 -2.807502)'))) / (select extract(epoch from '2026-07-29 03:12:41'::timestamp) - extract(epoch from '2026-07-29 03:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.807506)'), GeomFromEWKT('SRID=4674;POINT (-40.354884 -2.807502)'))) / (select extract(epoch from '2026-07-29 03:12:41'::timestamp) - extract(epoch from '2026-07-29 03:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.355004 -2.807502)', '2026-07-29 03:12:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354884 -2.807502)'), GeomFromEWKT('SRID=4674;POINT (-40.355004 -2.807502)'))) / (select extract(epoch from '2026-07-29 03:12:47'::timestamp) - extract(epoch from '2026-07-29 03:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354884 -2.807502)'), GeomFromEWKT('SRID=4674;POINT (-40.355004 -2.807502)'))) / (select extract(epoch from '2026-07-29 03:12:47'::timestamp) - extract(epoch from '2026-07-29 03:12: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'), 47641, 'SRID=4674;POINT (-40.355109 -2.807495)', '2026-07-29 03:12:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355004 -2.807502)'), GeomFromEWKT('SRID=4674;POINT (-40.355109 -2.807495)'))) / (select extract(epoch from '2026-07-29 03:12:52'::timestamp) - extract(epoch from '2026-07-29 03:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355004 -2.807502)'), GeomFromEWKT('SRID=4674;POINT (-40.355109 -2.807495)'))) / (select extract(epoch from '2026-07-29 03:12:52'::timestamp) - extract(epoch from '2026-07-29 03:12: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'), 47641, 'SRID=4674;POINT (-40.355243 -2.807448)', '2026-07-29 03:12:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355109 -2.807495)'), GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.807448)'))) / (select extract(epoch from '2026-07-29 03:12:59'::timestamp) - extract(epoch from '2026-07-29 03:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355109 -2.807495)'), GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.807448)'))) / (select extract(epoch from '2026-07-29 03:12:59'::timestamp) - extract(epoch from '2026-07-29 03:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35535 -2.807385)', '2026-07-29 03:13:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.807448)'), GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.807385)'))) / (select extract(epoch from '2026-07-29 03:13:05'::timestamp) - extract(epoch from '2026-07-29 03:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.807448)'), GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.807385)'))) / (select extract(epoch from '2026-07-29 03:13:05'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.355436 -2.807322)', '2026-07-29 03:13:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.355436 -2.807322)'))) / (select extract(epoch from '2026-07-29 03:13:10'::timestamp) - extract(epoch from '2026-07-29 03:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.355436 -2.807322)'))) / (select extract(epoch from '2026-07-29 03:13:10'::timestamp) - extract(epoch from '2026-07-29 03:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35553 -2.807236)', '2026-07-29 03:13:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355436 -2.807322)'), GeomFromEWKT('SRID=4674;POINT (-40.35553 -2.807236)'))) / (select extract(epoch from '2026-07-29 03:13:16'::timestamp) - extract(epoch from '2026-07-29 03:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355436 -2.807322)'), GeomFromEWKT('SRID=4674;POINT (-40.35553 -2.807236)'))) / (select extract(epoch from '2026-07-29 03:13:16'::timestamp) - extract(epoch from '2026-07-29 03:13: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'), 47641, 'SRID=4674;POINT (-40.355633 -2.807163)', '2026-07-29 03:13:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35553 -2.807236)'), GeomFromEWKT('SRID=4674;POINT (-40.355633 -2.807163)'))) / (select extract(epoch from '2026-07-29 03:13:22'::timestamp) - extract(epoch from '2026-07-29 03:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35553 -2.807236)'), GeomFromEWKT('SRID=4674;POINT (-40.355633 -2.807163)'))) / (select extract(epoch from '2026-07-29 03:13:22'::timestamp) - extract(epoch from '2026-07-29 03:13: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'), 47641, 'SRID=4674;POINT (-40.355725 -2.807119)', '2026-07-29 03:13:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355633 -2.807163)'), GeomFromEWKT('SRID=4674;POINT (-40.355725 -2.807119)'))) / (select extract(epoch from '2026-07-29 03:13:27'::timestamp) - extract(epoch from '2026-07-29 03:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355633 -2.807163)'), GeomFromEWKT('SRID=4674;POINT (-40.355725 -2.807119)'))) / (select extract(epoch from '2026-07-29 03:13:27'::timestamp) - extract(epoch from '2026-07-29 03:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.355852 -2.807048)', '2026-07-29 03:13:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355725 -2.807119)'), GeomFromEWKT('SRID=4674;POINT (-40.355852 -2.807048)'))) / (select extract(epoch from '2026-07-29 03:13:34'::timestamp) - extract(epoch from '2026-07-29 03:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355725 -2.807119)'), GeomFromEWKT('SRID=4674;POINT (-40.355852 -2.807048)'))) / (select extract(epoch from '2026-07-29 03:13:34'::timestamp) - extract(epoch from '2026-07-29 03:13: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'), 47641, 'SRID=4674;POINT (-40.355959 -2.806997)', '2026-07-29 03:13:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355852 -2.807048)'), GeomFromEWKT('SRID=4674;POINT (-40.355959 -2.806997)'))) / (select extract(epoch from '2026-07-29 03:13:40'::timestamp) - extract(epoch from '2026-07-29 03:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355852 -2.807048)'), GeomFromEWKT('SRID=4674;POINT (-40.355959 -2.806997)'))) / (select extract(epoch from '2026-07-29 03:13:40'::timestamp) - extract(epoch from '2026-07-29 03:13: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'), 47641, 'SRID=4674;POINT (-40.356081 -2.806918)', '2026-07-29 03:13:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355959 -2.806997)'), GeomFromEWKT('SRID=4674;POINT (-40.356081 -2.806918)'))) / (select extract(epoch from '2026-07-29 03:13:47'::timestamp) - extract(epoch from '2026-07-29 03:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355959 -2.806997)'), GeomFromEWKT('SRID=4674;POINT (-40.356081 -2.806918)'))) / (select extract(epoch from '2026-07-29 03:13:47'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.356259 -2.80679)', '2026-07-29 03:13:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356081 -2.806918)'), GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.80679)'))) / (select extract(epoch from '2026-07-29 03:13:57'::timestamp) - extract(epoch from '2026-07-29 03:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356081 -2.806918)'), GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.80679)'))) / (select extract(epoch from '2026-07-29 03:13:57'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.356449 -2.806694)', '2026-07-29 03:14:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.356449 -2.806694)'))) / (select extract(epoch from '2026-07-29 03:14:07'::timestamp) - extract(epoch from '2026-07-29 03:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356259 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.356449 -2.806694)'))) / (select extract(epoch from '2026-07-29 03:14:07'::timestamp) - extract(epoch from '2026-07-29 03:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35663 -2.806625)', '2026-07-29 03:14:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356449 -2.806694)'), GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.806625)'))) / (select extract(epoch from '2026-07-29 03:14:16'::timestamp) - extract(epoch from '2026-07-29 03:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356449 -2.806694)'), GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.806625)'))) / (select extract(epoch from '2026-07-29 03:14:16'::timestamp) - extract(epoch from '2026-07-29 03:14: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'), 47641, 'SRID=4674;POINT (-40.356748 -2.806581)', '2026-07-29 03:14:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.806625)'), GeomFromEWKT('SRID=4674;POINT (-40.356748 -2.806581)'))) / (select extract(epoch from '2026-07-29 03:14:22'::timestamp) - extract(epoch from '2026-07-29 03:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.806625)'), GeomFromEWKT('SRID=4674;POINT (-40.356748 -2.806581)'))) / (select extract(epoch from '2026-07-29 03:14:22'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.356872 -2.806502)', '2026-07-29 03:14:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356748 -2.806581)'), GeomFromEWKT('SRID=4674;POINT (-40.356872 -2.806502)'))) / (select extract(epoch from '2026-07-29 03:14:29'::timestamp) - extract(epoch from '2026-07-29 03:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356748 -2.806581)'), GeomFromEWKT('SRID=4674;POINT (-40.356872 -2.806502)'))) / (select extract(epoch from '2026-07-29 03:14:29'::timestamp) - extract(epoch from '2026-07-29 03:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.356978 -2.806405)', '2026-07-29 03:14:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356872 -2.806502)'), GeomFromEWKT('SRID=4674;POINT (-40.356978 -2.806405)'))) / (select extract(epoch from '2026-07-29 03:14:36'::timestamp) - extract(epoch from '2026-07-29 03:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356872 -2.806502)'), GeomFromEWKT('SRID=4674;POINT (-40.356978 -2.806405)'))) / (select extract(epoch from '2026-07-29 03:14:36'::timestamp) - extract(epoch from '2026-07-29 03:14: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'), 47641, 'SRID=4674;POINT (-40.357053 -2.806337)', '2026-07-29 03:14:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356978 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.357053 -2.806337)'))) / (select extract(epoch from '2026-07-29 03:14:41'::timestamp) - extract(epoch from '2026-07-29 03:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356978 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.357053 -2.806337)'))) / (select extract(epoch from '2026-07-29 03:14:41'::timestamp) - extract(epoch from '2026-07-29 03:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.357217 -2.806254)', '2026-07-29 03:14:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357053 -2.806337)'), GeomFromEWKT('SRID=4674;POINT (-40.357217 -2.806254)'))) / (select extract(epoch from '2026-07-29 03:14:50'::timestamp) - extract(epoch from '2026-07-29 03:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357053 -2.806337)'), GeomFromEWKT('SRID=4674;POINT (-40.357217 -2.806254)'))) / (select extract(epoch from '2026-07-29 03:14:50'::timestamp) - extract(epoch from '2026-07-29 03:14: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'), 47641, 'SRID=4674;POINT (-40.357322 -2.806194)', '2026-07-29 03:14:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357217 -2.806254)'), GeomFromEWKT('SRID=4674;POINT (-40.357322 -2.806194)'))) / (select extract(epoch from '2026-07-29 03:14:56'::timestamp) - extract(epoch from '2026-07-29 03:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357217 -2.806254)'), GeomFromEWKT('SRID=4674;POINT (-40.357322 -2.806194)'))) / (select extract(epoch from '2026-07-29 03:14:56'::timestamp) - extract(epoch from '2026-07-29 03:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.357434 -2.806137)', '2026-07-29 03:15:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357322 -2.806194)'), GeomFromEWKT('SRID=4674;POINT (-40.357434 -2.806137)'))) / (select extract(epoch from '2026-07-29 03:15:02'::timestamp) - extract(epoch from '2026-07-29 03:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357322 -2.806194)'), GeomFromEWKT('SRID=4674;POINT (-40.357434 -2.806137)'))) / (select extract(epoch from '2026-07-29 03:15:02'::timestamp) - extract(epoch from '2026-07-29 03:14: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'), 47641, 'SRID=4674;POINT (-40.357549 -2.806081)', '2026-07-29 03:15:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357434 -2.806137)'), GeomFromEWKT('SRID=4674;POINT (-40.357549 -2.806081)'))) / (select extract(epoch from '2026-07-29 03:15:08'::timestamp) - extract(epoch from '2026-07-29 03:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357434 -2.806137)'), GeomFromEWKT('SRID=4674;POINT (-40.357549 -2.806081)'))) / (select extract(epoch from '2026-07-29 03:15:08'::timestamp) - extract(epoch from '2026-07-29 03:15: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'), 47641, 'SRID=4674;POINT (-40.357654 -2.806019)', '2026-07-29 03:15:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357549 -2.806081)'), GeomFromEWKT('SRID=4674;POINT (-40.357654 -2.806019)'))) / (select extract(epoch from '2026-07-29 03:15:14'::timestamp) - extract(epoch from '2026-07-29 03:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357549 -2.806081)'), GeomFromEWKT('SRID=4674;POINT (-40.357654 -2.806019)'))) / (select extract(epoch from '2026-07-29 03:15:14'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.357767 -2.805953)', '2026-07-29 03:15:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357654 -2.806019)'), GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.805953)'))) / (select extract(epoch from '2026-07-29 03:15:20'::timestamp) - extract(epoch from '2026-07-29 03:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357654 -2.806019)'), GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.805953)'))) / (select extract(epoch from '2026-07-29 03:15:20'::timestamp) - extract(epoch from '2026-07-29 03:15: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'), 47641, 'SRID=4674;POINT (-40.357876 -2.805863)', '2026-07-29 03:15:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.805953)'), GeomFromEWKT('SRID=4674;POINT (-40.357876 -2.805863)'))) / (select extract(epoch from '2026-07-29 03:15:27'::timestamp) - extract(epoch from '2026-07-29 03:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.805953)'), GeomFromEWKT('SRID=4674;POINT (-40.357876 -2.805863)'))) / (select extract(epoch from '2026-07-29 03:15:27'::timestamp) - extract(epoch from '2026-07-29 03:15: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'), 47641, 'SRID=4674;POINT (-40.358017 -2.805714)', '2026-07-29 03:15:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357876 -2.805863)'), GeomFromEWKT('SRID=4674;POINT (-40.358017 -2.805714)'))) / (select extract(epoch from '2026-07-29 03:15:37'::timestamp) - extract(epoch from '2026-07-29 03:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357876 -2.805863)'), GeomFromEWKT('SRID=4674;POINT (-40.358017 -2.805714)'))) / (select extract(epoch from '2026-07-29 03:15:37'::timestamp) - extract(epoch from '2026-07-29 03:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35813 -2.805628)', '2026-07-29 03:15:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358017 -2.805714)'), GeomFromEWKT('SRID=4674;POINT (-40.35813 -2.805628)'))) / (select extract(epoch from '2026-07-29 03:15:44'::timestamp) - extract(epoch from '2026-07-29 03:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358017 -2.805714)'), GeomFromEWKT('SRID=4674;POINT (-40.35813 -2.805628)'))) / (select extract(epoch from '2026-07-29 03:15:44'::timestamp) - extract(epoch from '2026-07-29 03:15: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'), 47641, 'SRID=4674;POINT (-40.35825 -2.805548)', '2026-07-29 03:15:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35813 -2.805628)'), GeomFromEWKT('SRID=4674;POINT (-40.35825 -2.805548)'))) / (select extract(epoch from '2026-07-29 03:15:51'::timestamp) - extract(epoch from '2026-07-29 03:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35813 -2.805628)'), GeomFromEWKT('SRID=4674;POINT (-40.35825 -2.805548)'))) / (select extract(epoch from '2026-07-29 03:15:51'::timestamp) - extract(epoch from '2026-07-29 03:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.358365 -2.805461)', '2026-07-29 03:15:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35825 -2.805548)'), GeomFromEWKT('SRID=4674;POINT (-40.358365 -2.805461)'))) / (select extract(epoch from '2026-07-29 03:15:58'::timestamp) - extract(epoch from '2026-07-29 03:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35825 -2.805548)'), GeomFromEWKT('SRID=4674;POINT (-40.358365 -2.805461)'))) / (select extract(epoch from '2026-07-29 03:15:58'::timestamp) - extract(epoch from '2026-07-29 03:15: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'), 47641, 'SRID=4674;POINT (-40.358528 -2.805358)', '2026-07-29 03:16:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358365 -2.805461)'), GeomFromEWKT('SRID=4674;POINT (-40.358528 -2.805358)'))) / (select extract(epoch from '2026-07-29 03:16:07'::timestamp) - extract(epoch from '2026-07-29 03:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358365 -2.805461)'), GeomFromEWKT('SRID=4674;POINT (-40.358528 -2.805358)'))) / (select extract(epoch from '2026-07-29 03:16:07'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.358671 -2.805276)', '2026-07-29 03:16:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358528 -2.805358)'), GeomFromEWKT('SRID=4674;POINT (-40.358671 -2.805276)'))) / (select extract(epoch from '2026-07-29 03:16:15'::timestamp) - extract(epoch from '2026-07-29 03:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358528 -2.805358)'), GeomFromEWKT('SRID=4674;POINT (-40.358671 -2.805276)'))) / (select extract(epoch from '2026-07-29 03:16:15'::timestamp) - extract(epoch from '2026-07-29 03:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.358797 -2.805211)', '2026-07-29 03:16:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358671 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.358797 -2.805211)'))) / (select extract(epoch from '2026-07-29 03:16:22'::timestamp) - extract(epoch from '2026-07-29 03:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358671 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.358797 -2.805211)'))) / (select extract(epoch from '2026-07-29 03:16:22'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.358912 -2.805169)', '2026-07-29 03:16:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358797 -2.805211)'), GeomFromEWKT('SRID=4674;POINT (-40.358912 -2.805169)'))) / (select extract(epoch from '2026-07-29 03:16:28'::timestamp) - extract(epoch from '2026-07-29 03:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358797 -2.805211)'), GeomFromEWKT('SRID=4674;POINT (-40.358912 -2.805169)'))) / (select extract(epoch from '2026-07-29 03:16:28'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.359022 -2.805115)', '2026-07-29 03:16:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358912 -2.805169)'), GeomFromEWKT('SRID=4674;POINT (-40.359022 -2.805115)'))) / (select extract(epoch from '2026-07-29 03:16:34'::timestamp) - extract(epoch from '2026-07-29 03:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358912 -2.805169)'), GeomFromEWKT('SRID=4674;POINT (-40.359022 -2.805115)'))) / (select extract(epoch from '2026-07-29 03:16:34'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.359129 -2.805047)', '2026-07-29 03:16:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359022 -2.805115)'), GeomFromEWKT('SRID=4674;POINT (-40.359129 -2.805047)'))) / (select extract(epoch from '2026-07-29 03:16:40'::timestamp) - extract(epoch from '2026-07-29 03:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359022 -2.805115)'), GeomFromEWKT('SRID=4674;POINT (-40.359129 -2.805047)'))) / (select extract(epoch from '2026-07-29 03:16:40'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.359233 -2.804984)', '2026-07-29 03:16:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359129 -2.805047)'), GeomFromEWKT('SRID=4674;POINT (-40.359233 -2.804984)'))) / (select extract(epoch from '2026-07-29 03:16:46'::timestamp) - extract(epoch from '2026-07-29 03:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359129 -2.805047)'), GeomFromEWKT('SRID=4674;POINT (-40.359233 -2.804984)'))) / (select extract(epoch from '2026-07-29 03:16:46'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.359325 -2.804949)', '2026-07-29 03:16:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359233 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.359325 -2.804949)'))) / (select extract(epoch from '2026-07-29 03:16:51'::timestamp) - extract(epoch from '2026-07-29 03:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359233 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.359325 -2.804949)'))) / (select extract(epoch from '2026-07-29 03:16:51'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.359341 -2.804939)', '2026-07-29 03:16:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359325 -2.804949)'), GeomFromEWKT('SRID=4674;POINT (-40.359341 -2.804939)'))) / (select extract(epoch from '2026-07-29 03:16:52'::timestamp) - extract(epoch from '2026-07-29 03:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359325 -2.804949)'), GeomFromEWKT('SRID=4674;POINT (-40.359341 -2.804939)'))) / (select extract(epoch from '2026-07-29 03:16:52'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.359378 -2.804916)', '2026-07-29 03:16:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359341 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.359378 -2.804916)'))) / (select extract(epoch from '2026-07-29 03:16:54'::timestamp) - extract(epoch from '2026-07-29 03:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359341 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.359378 -2.804916)'))) / (select extract(epoch from '2026-07-29 03:16:54'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.359416 -2.804889)', '2026-07-29 03:16:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359378 -2.804916)'), GeomFromEWKT('SRID=4674;POINT (-40.359416 -2.804889)'))) / (select extract(epoch from '2026-07-29 03:16:56'::timestamp) - extract(epoch from '2026-07-29 03:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359378 -2.804916)'), GeomFromEWKT('SRID=4674;POINT (-40.359416 -2.804889)'))) / (select extract(epoch from '2026-07-29 03:16:56'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.35951 -2.804846)', '2026-07-29 03:17:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359416 -2.804889)'), GeomFromEWKT('SRID=4674;POINT (-40.35951 -2.804846)'))) / (select extract(epoch from '2026-07-29 03:17:01'::timestamp) - extract(epoch from '2026-07-29 03:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359416 -2.804889)'), GeomFromEWKT('SRID=4674;POINT (-40.35951 -2.804846)'))) / (select extract(epoch from '2026-07-29 03:17:01'::timestamp) - extract(epoch from '2026-07-29 03:16: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'), 47641, 'SRID=4674;POINT (-40.359527 -2.804836)', '2026-07-29 03:17:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35951 -2.804846)'), GeomFromEWKT('SRID=4674;POINT (-40.359527 -2.804836)'))) / (select extract(epoch from '2026-07-29 03:17:02'::timestamp) - extract(epoch from '2026-07-29 03:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35951 -2.804846)'), GeomFromEWKT('SRID=4674;POINT (-40.359527 -2.804836)'))) / (select extract(epoch from '2026-07-29 03:17:02'::timestamp) - extract(epoch from '2026-07-29 03:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.359591 -2.804788)', '2026-07-29 03:17:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359527 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.359591 -2.804788)'))) / (select extract(epoch from '2026-07-29 03:17:06'::timestamp) - extract(epoch from '2026-07-29 03:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359527 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.359591 -2.804788)'))) / (select extract(epoch from '2026-07-29 03:17:06'::timestamp) - extract(epoch from '2026-07-29 03:17: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'), 47641, 'SRID=4674;POINT (-40.359672 -2.804729)', '2026-07-29 03:17:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359591 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.359672 -2.804729)'))) / (select extract(epoch from '2026-07-29 03:17:11'::timestamp) - extract(epoch from '2026-07-29 03:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359591 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.359672 -2.804729)'))) / (select extract(epoch from '2026-07-29 03:17:11'::timestamp) - extract(epoch from '2026-07-29 03:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.359711 -2.80471)', '2026-07-29 03:17:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359672 -2.804729)'), GeomFromEWKT('SRID=4674;POINT (-40.359711 -2.80471)'))) / (select extract(epoch from '2026-07-29 03:17:13'::timestamp) - extract(epoch from '2026-07-29 03:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359672 -2.804729)'), GeomFromEWKT('SRID=4674;POINT (-40.359711 -2.80471)'))) / (select extract(epoch from '2026-07-29 03:17:13'::timestamp) - extract(epoch from '2026-07-29 03:17: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'), 47641, 'SRID=4674;POINT (-40.3598 -2.804662)', '2026-07-29 03:17:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359711 -2.80471)'), GeomFromEWKT('SRID=4674;POINT (-40.3598 -2.804662)'))) / (select extract(epoch from '2026-07-29 03:17:18'::timestamp) - extract(epoch from '2026-07-29 03:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359711 -2.80471)'), GeomFromEWKT('SRID=4674;POINT (-40.3598 -2.804662)'))) / (select extract(epoch from '2026-07-29 03:17:18'::timestamp) - extract(epoch from '2026-07-29 03:17: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'), 47641, 'SRID=4674;POINT (-40.359934 -2.804576)', '2026-07-29 03:17:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3598 -2.804662)'), GeomFromEWKT('SRID=4674;POINT (-40.359934 -2.804576)'))) / (select extract(epoch from '2026-07-29 03:17:26'::timestamp) - extract(epoch from '2026-07-29 03:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3598 -2.804662)'), GeomFromEWKT('SRID=4674;POINT (-40.359934 -2.804576)'))) / (select extract(epoch from '2026-07-29 03:17:26'::timestamp) - extract(epoch from '2026-07-29 03:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.360052 -2.804486)', '2026-07-29 03:17:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359934 -2.804576)'), GeomFromEWKT('SRID=4674;POINT (-40.360052 -2.804486)'))) / (select extract(epoch from '2026-07-29 03:17:33'::timestamp) - extract(epoch from '2026-07-29 03:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359934 -2.804576)'), GeomFromEWKT('SRID=4674;POINT (-40.360052 -2.804486)'))) / (select extract(epoch from '2026-07-29 03:17:33'::timestamp) - extract(epoch from '2026-07-29 03:17: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'), 47641, 'SRID=4674;POINT (-40.360166 -2.804398)', '2026-07-29 03:17:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360052 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.360166 -2.804398)'))) / (select extract(epoch from '2026-07-29 03:17:40'::timestamp) - extract(epoch from '2026-07-29 03:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360052 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.360166 -2.804398)'))) / (select extract(epoch from '2026-07-29 03:17:40'::timestamp) - extract(epoch from '2026-07-29 03:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.360334 -2.804311)', '2026-07-29 03:17:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360166 -2.804398)'), GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.804311)'))) / (select extract(epoch from '2026-07-29 03:17:49'::timestamp) - extract(epoch from '2026-07-29 03:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360166 -2.804398)'), GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.804311)'))) / (select extract(epoch from '2026-07-29 03:17:49'::timestamp) - extract(epoch from '2026-07-29 03:17: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'), 47641, 'SRID=4674;POINT (-40.360442 -2.80425)', '2026-07-29 03:17:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.804311)'), GeomFromEWKT('SRID=4674;POINT (-40.360442 -2.80425)'))) / (select extract(epoch from '2026-07-29 03:17:55'::timestamp) - extract(epoch from '2026-07-29 03:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.804311)'), GeomFromEWKT('SRID=4674;POINT (-40.360442 -2.80425)'))) / (select extract(epoch from '2026-07-29 03:17:55'::timestamp) - extract(epoch from '2026-07-29 03:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.360629 -2.804155)', '2026-07-29 03:18:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360442 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.360629 -2.804155)'))) / (select extract(epoch from '2026-07-29 03:18:05'::timestamp) - extract(epoch from '2026-07-29 03:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360442 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.360629 -2.804155)'))) / (select extract(epoch from '2026-07-29 03:18:05'::timestamp) - extract(epoch from '2026-07-29 03:17: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'), 47641, 'SRID=4674;POINT (-40.360774 -2.804122)', '2026-07-29 03:18:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360629 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.360774 -2.804122)'))) / (select extract(epoch from '2026-07-29 03:18:12'::timestamp) - extract(epoch from '2026-07-29 03:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360629 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.360774 -2.804122)'))) / (select extract(epoch from '2026-07-29 03:18:12'::timestamp) - extract(epoch from '2026-07-29 03:18: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'), 47641, 'SRID=4674;POINT (-40.360875 -2.804096)', '2026-07-29 03:18:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360774 -2.804122)'), GeomFromEWKT('SRID=4674;POINT (-40.360875 -2.804096)'))) / (select extract(epoch from '2026-07-29 03:18:17'::timestamp) - extract(epoch from '2026-07-29 03:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360774 -2.804122)'), GeomFromEWKT('SRID=4674;POINT (-40.360875 -2.804096)'))) / (select extract(epoch from '2026-07-29 03:18:17'::timestamp) - extract(epoch from '2026-07-29 03:18: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'), 47641, 'SRID=4674;POINT (-40.360966 -2.804046)', '2026-07-29 03:18:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360875 -2.804096)'), GeomFromEWKT('SRID=4674;POINT (-40.360966 -2.804046)'))) / (select extract(epoch from '2026-07-29 03:18:22'::timestamp) - extract(epoch from '2026-07-29 03:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360875 -2.804096)'), GeomFromEWKT('SRID=4674;POINT (-40.360966 -2.804046)'))) / (select extract(epoch from '2026-07-29 03:18:22'::timestamp) - extract(epoch from '2026-07-29 03:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36108 -2.803997)', '2026-07-29 03:18:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360966 -2.804046)'), GeomFromEWKT('SRID=4674;POINT (-40.36108 -2.803997)'))) / (select extract(epoch from '2026-07-29 03:18:28'::timestamp) - extract(epoch from '2026-07-29 03:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360966 -2.804046)'), GeomFromEWKT('SRID=4674;POINT (-40.36108 -2.803997)'))) / (select extract(epoch from '2026-07-29 03:18:28'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.361197 -2.803961)', '2026-07-29 03:18:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36108 -2.803997)'), GeomFromEWKT('SRID=4674;POINT (-40.361197 -2.803961)'))) / (select extract(epoch from '2026-07-29 03:18:34'::timestamp) - extract(epoch from '2026-07-29 03:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36108 -2.803997)'), GeomFromEWKT('SRID=4674;POINT (-40.361197 -2.803961)'))) / (select extract(epoch from '2026-07-29 03:18:34'::timestamp) - extract(epoch from '2026-07-29 03:18: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'), 47641, 'SRID=4674;POINT (-40.361338 -2.803923)', '2026-07-29 03:18:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361197 -2.803961)'), GeomFromEWKT('SRID=4674;POINT (-40.361338 -2.803923)'))) / (select extract(epoch from '2026-07-29 03:18:41'::timestamp) - extract(epoch from '2026-07-29 03:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361197 -2.803961)'), GeomFromEWKT('SRID=4674;POINT (-40.361338 -2.803923)'))) / (select extract(epoch from '2026-07-29 03:18:41'::timestamp) - extract(epoch from '2026-07-29 03:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.361485 -2.803881)', '2026-07-29 03:18:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361338 -2.803923)'), GeomFromEWKT('SRID=4674;POINT (-40.361485 -2.803881)'))) / (select extract(epoch from '2026-07-29 03:18:48'::timestamp) - extract(epoch from '2026-07-29 03:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361338 -2.803923)'), GeomFromEWKT('SRID=4674;POINT (-40.361485 -2.803881)'))) / (select extract(epoch from '2026-07-29 03:18:48'::timestamp) - extract(epoch from '2026-07-29 03:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.361624 -2.803846)', '2026-07-29 03:18:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361485 -2.803881)'), GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.803846)'))) / (select extract(epoch from '2026-07-29 03:18:55'::timestamp) - extract(epoch from '2026-07-29 03:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361485 -2.803881)'), GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.803846)'))) / (select extract(epoch from '2026-07-29 03:18:55'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.361782 -2.803804)', '2026-07-29 03:19:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.803846)'), GeomFromEWKT('SRID=4674;POINT (-40.361782 -2.803804)'))) / (select extract(epoch from '2026-07-29 03:19:03'::timestamp) - extract(epoch from '2026-07-29 03:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361624 -2.803846)'), GeomFromEWKT('SRID=4674;POINT (-40.361782 -2.803804)'))) / (select extract(epoch from '2026-07-29 03:19:03'::timestamp) - extract(epoch from '2026-07-29 03:18: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'), 47641, 'SRID=4674;POINT (-40.361944 -2.803756)', '2026-07-29 03:19:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361782 -2.803804)'), GeomFromEWKT('SRID=4674;POINT (-40.361944 -2.803756)'))) / (select extract(epoch from '2026-07-29 03:19:11'::timestamp) - extract(epoch from '2026-07-29 03:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361782 -2.803804)'), GeomFromEWKT('SRID=4674;POINT (-40.361944 -2.803756)'))) / (select extract(epoch from '2026-07-29 03:19:11'::timestamp) - extract(epoch from '2026-07-29 03:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.362061 -2.803718)', '2026-07-29 03:19:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361944 -2.803756)'), GeomFromEWKT('SRID=4674;POINT (-40.362061 -2.803718)'))) / (select extract(epoch from '2026-07-29 03:19:17'::timestamp) - extract(epoch from '2026-07-29 03:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361944 -2.803756)'), GeomFromEWKT('SRID=4674;POINT (-40.362061 -2.803718)'))) / (select extract(epoch from '2026-07-29 03:19:17'::timestamp) - extract(epoch from '2026-07-29 03:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36218 -2.803687)', '2026-07-29 03:19:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362061 -2.803718)'), GeomFromEWKT('SRID=4674;POINT (-40.36218 -2.803687)'))) / (select extract(epoch from '2026-07-29 03:19:23'::timestamp) - extract(epoch from '2026-07-29 03:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362061 -2.803718)'), GeomFromEWKT('SRID=4674;POINT (-40.36218 -2.803687)'))) / (select extract(epoch from '2026-07-29 03:19:23'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47641, 'SRID=4674;POINT (-40.362322 -2.80365)', '2026-07-29 03:19:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36218 -2.803687)'), GeomFromEWKT('SRID=4674;POINT (-40.362322 -2.80365)'))) / (select extract(epoch from '2026-07-29 03:19:30'::timestamp) - extract(epoch from '2026-07-29 03:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36218 -2.803687)'), GeomFromEWKT('SRID=4674;POINT (-40.362322 -2.80365)'))) / (select extract(epoch from '2026-07-29 03:19:30'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47641, 'SRID=4674;POINT (-40.3625 -2.803601)', '2026-07-29 03:19:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362322 -2.80365)'), GeomFromEWKT('SRID=4674;POINT (-40.3625 -2.803601)'))) / (select extract(epoch from '2026-07-29 03:19:39'::timestamp) - extract(epoch from '2026-07-29 03:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362322 -2.80365)'), GeomFromEWKT('SRID=4674;POINT (-40.3625 -2.803601)'))) / (select extract(epoch from '2026-07-29 03:19:39'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47641, 'SRID=4674;POINT (-40.362637 -2.803562)', '2026-07-29 03:19:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3625 -2.803601)'), GeomFromEWKT('SRID=4674;POINT (-40.362637 -2.803562)'))) / (select extract(epoch from '2026-07-29 03:19:46'::timestamp) - extract(epoch from '2026-07-29 03:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3625 -2.803601)'), GeomFromEWKT('SRID=4674;POINT (-40.362637 -2.803562)'))) / (select extract(epoch from '2026-07-29 03:19:46'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47641, 'SRID=4674;POINT (-40.362756 -2.80352)', '2026-07-29 03:19:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362637 -2.803562)'), GeomFromEWKT('SRID=4674;POINT (-40.362756 -2.80352)'))) / (select extract(epoch from '2026-07-29 03:19:52'::timestamp) - extract(epoch from '2026-07-29 03:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362637 -2.803562)'), GeomFromEWKT('SRID=4674;POINT (-40.362756 -2.80352)'))) / (select extract(epoch from '2026-07-29 03:19:52'::timestamp) - extract(epoch from '2026-07-29 03:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.362878 -2.803483)', '2026-07-29 03:19:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362756 -2.80352)'), GeomFromEWKT('SRID=4674;POINT (-40.362878 -2.803483)'))) / (select extract(epoch from '2026-07-29 03:19:58'::timestamp) - extract(epoch from '2026-07-29 03:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362756 -2.80352)'), GeomFromEWKT('SRID=4674;POINT (-40.362878 -2.803483)'))) / (select extract(epoch from '2026-07-29 03:19:58'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47641, 'SRID=4674;POINT (-40.363045 -2.803443)', '2026-07-29 03:20:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362878 -2.803483)'), GeomFromEWKT('SRID=4674;POINT (-40.363045 -2.803443)'))) / (select extract(epoch from '2026-07-29 03:20:06'::timestamp) - extract(epoch from '2026-07-29 03:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362878 -2.803483)'), GeomFromEWKT('SRID=4674;POINT (-40.363045 -2.803443)'))) / (select extract(epoch from '2026-07-29 03:20:06'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47641, 'SRID=4674;POINT (-40.363193 -2.803422)', '2026-07-29 03:20:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363045 -2.803443)'), GeomFromEWKT('SRID=4674;POINT (-40.363193 -2.803422)'))) / (select extract(epoch from '2026-07-29 03:20:13'::timestamp) - extract(epoch from '2026-07-29 03:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363045 -2.803443)'), GeomFromEWKT('SRID=4674;POINT (-40.363193 -2.803422)'))) / (select extract(epoch from '2026-07-29 03:20:13'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.363316 -2.803409)', '2026-07-29 03:20:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363193 -2.803422)'), GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.803409)'))) / (select extract(epoch from '2026-07-29 03:20:19'::timestamp) - extract(epoch from '2026-07-29 03:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363193 -2.803422)'), GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.803409)'))) / (select extract(epoch from '2026-07-29 03:20:19'::timestamp) - extract(epoch from '2026-07-29 03:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.363437 -2.803398)', '2026-07-29 03:20:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.803409)'), GeomFromEWKT('SRID=4674;POINT (-40.363437 -2.803398)'))) / (select extract(epoch from '2026-07-29 03:20:25'::timestamp) - extract(epoch from '2026-07-29 03:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363316 -2.803409)'), GeomFromEWKT('SRID=4674;POINT (-40.363437 -2.803398)'))) / (select extract(epoch from '2026-07-29 03:20:25'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.363554 -2.80338)', '2026-07-29 03:20:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363437 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.363554 -2.80338)'))) / (select extract(epoch from '2026-07-29 03:20:31'::timestamp) - extract(epoch from '2026-07-29 03:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363437 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.363554 -2.80338)'))) / (select extract(epoch from '2026-07-29 03:20:31'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.36369 -2.803339)', '2026-07-29 03:20:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363554 -2.80338)'), GeomFromEWKT('SRID=4674;POINT (-40.36369 -2.803339)'))) / (select extract(epoch from '2026-07-29 03:20:38'::timestamp) - extract(epoch from '2026-07-29 03:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363554 -2.80338)'), GeomFromEWKT('SRID=4674;POINT (-40.36369 -2.803339)'))) / (select extract(epoch from '2026-07-29 03:20:38'::timestamp) - extract(epoch from '2026-07-29 03:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.363712 -2.803335)', '2026-07-29 03:20:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36369 -2.803339)'), GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.803335)'))) / (select extract(epoch from '2026-07-29 03:20:39'::timestamp) - extract(epoch from '2026-07-29 03:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36369 -2.803339)'), GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.803335)'))) / (select extract(epoch from '2026-07-29 03:20:39'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.363772 -2.803322)', '2026-07-29 03:20:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.803335)'), GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.803322)'))) / (select extract(epoch from '2026-07-29 03:20:42'::timestamp) - extract(epoch from '2026-07-29 03:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363712 -2.803335)'), GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.803322)'))) / (select extract(epoch from '2026-07-29 03:20:42'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.363886 -2.803296)', '2026-07-29 03:20:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.363886 -2.803296)'))) / (select extract(epoch from '2026-07-29 03:20:48'::timestamp) - extract(epoch from '2026-07-29 03:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363772 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.363886 -2.803296)'))) / (select extract(epoch from '2026-07-29 03:20:48'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.363986 -2.803284)', '2026-07-29 03:20:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363886 -2.803296)'), GeomFromEWKT('SRID=4674;POINT (-40.363986 -2.803284)'))) / (select extract(epoch from '2026-07-29 03:20:53'::timestamp) - extract(epoch from '2026-07-29 03:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363886 -2.803296)'), GeomFromEWKT('SRID=4674;POINT (-40.363986 -2.803284)'))) / (select extract(epoch from '2026-07-29 03:20:53'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.364072 -2.803276)', '2026-07-29 03:20:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363986 -2.803284)'), GeomFromEWKT('SRID=4674;POINT (-40.364072 -2.803276)'))) / (select extract(epoch from '2026-07-29 03:20:57'::timestamp) - extract(epoch from '2026-07-29 03:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363986 -2.803284)'), GeomFromEWKT('SRID=4674;POINT (-40.364072 -2.803276)'))) / (select extract(epoch from '2026-07-29 03:20:57'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.364198 -2.803261)', '2026-07-29 03:21:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364072 -2.803276)'), GeomFromEWKT('SRID=4674;POINT (-40.364198 -2.803261)'))) / (select extract(epoch from '2026-07-29 03:21:03'::timestamp) - extract(epoch from '2026-07-29 03:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364072 -2.803276)'), GeomFromEWKT('SRID=4674;POINT (-40.364198 -2.803261)'))) / (select extract(epoch from '2026-07-29 03:21:03'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47641, 'SRID=4674;POINT (-40.364329 -2.803252)', '2026-07-29 03:21:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364198 -2.803261)'), GeomFromEWKT('SRID=4674;POINT (-40.364329 -2.803252)'))) / (select extract(epoch from '2026-07-29 03:21:09'::timestamp) - extract(epoch from '2026-07-29 03:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364198 -2.803261)'), GeomFromEWKT('SRID=4674;POINT (-40.364329 -2.803252)'))) / (select extract(epoch from '2026-07-29 03:21:09'::timestamp) - extract(epoch from '2026-07-29 03:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.364447 -2.803241)', '2026-07-29 03:21:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364329 -2.803252)'), GeomFromEWKT('SRID=4674;POINT (-40.364447 -2.803241)'))) / (select extract(epoch from '2026-07-29 03:21:15'::timestamp) - extract(epoch from '2026-07-29 03:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364329 -2.803252)'), GeomFromEWKT('SRID=4674;POINT (-40.364447 -2.803241)'))) / (select extract(epoch from '2026-07-29 03:21:15'::timestamp) - extract(epoch from '2026-07-29 03:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.364487 -2.803236)', '2026-07-29 03:21:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364447 -2.803241)'), GeomFromEWKT('SRID=4674;POINT (-40.364487 -2.803236)'))) / (select extract(epoch from '2026-07-29 03:21:17'::timestamp) - extract(epoch from '2026-07-29 03:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364447 -2.803241)'), GeomFromEWKT('SRID=4674;POINT (-40.364487 -2.803236)'))) / (select extract(epoch from '2026-07-29 03:21:17'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47641, 'SRID=4674;POINT (-40.36457 -2.803247)', '2026-07-29 03:21:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364487 -2.803236)'), GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:21:21'::timestamp) - extract(epoch from '2026-07-29 03:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364487 -2.803236)'), GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:21:21'::timestamp) - extract(epoch from '2026-07-29 03:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.364606 -2.803245)', '2026-07-29 03:21:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.364606 -2.803245)'))) / (select extract(epoch from '2026-07-29 03:21:23'::timestamp) - extract(epoch from '2026-07-29 03:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36457 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.364606 -2.803245)'))) / (select extract(epoch from '2026-07-29 03:21:23'::timestamp) - extract(epoch from '2026-07-29 03:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.364665 -2.803252)', '2026-07-29 03:21:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364606 -2.803245)'), GeomFromEWKT('SRID=4674;POINT (-40.364665 -2.803252)'))) / (select extract(epoch from '2026-07-29 03:21:26'::timestamp) - extract(epoch from '2026-07-29 03:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364606 -2.803245)'), GeomFromEWKT('SRID=4674;POINT (-40.364665 -2.803252)'))) / (select extract(epoch from '2026-07-29 03:21:26'::timestamp) - extract(epoch from '2026-07-29 03:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.364803 -2.803242)', '2026-07-29 03:21:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364665 -2.803252)'), GeomFromEWKT('SRID=4674;POINT (-40.364803 -2.803242)'))) / (select extract(epoch from '2026-07-29 03:21:33'::timestamp) - extract(epoch from '2026-07-29 03:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364665 -2.803252)'), GeomFromEWKT('SRID=4674;POINT (-40.364803 -2.803242)'))) / (select extract(epoch from '2026-07-29 03:21:33'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47641, 'SRID=4674;POINT (-40.364972 -2.80325)', '2026-07-29 03:21:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364803 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.364972 -2.80325)'))) / (select extract(epoch from '2026-07-29 03:21:41'::timestamp) - extract(epoch from '2026-07-29 03:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364803 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.364972 -2.80325)'))) / (select extract(epoch from '2026-07-29 03:21:41'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47641, 'SRID=4674;POINT (-40.3651 -2.803248)', '2026-07-29 03:21:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364972 -2.80325)'), GeomFromEWKT('SRID=4674;POINT (-40.3651 -2.803248)'))) / (select extract(epoch from '2026-07-29 03:21:47'::timestamp) - extract(epoch from '2026-07-29 03:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364972 -2.80325)'), GeomFromEWKT('SRID=4674;POINT (-40.3651 -2.803248)'))) / (select extract(epoch from '2026-07-29 03:21:47'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47641, 'SRID=4674;POINT (-40.365224 -2.803235)', '2026-07-29 03:21:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3651 -2.803248)'), GeomFromEWKT('SRID=4674;POINT (-40.365224 -2.803235)'))) / (select extract(epoch from '2026-07-29 03:21:53'::timestamp) - extract(epoch from '2026-07-29 03:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3651 -2.803248)'), GeomFromEWKT('SRID=4674;POINT (-40.365224 -2.803235)'))) / (select extract(epoch from '2026-07-29 03:21:53'::timestamp) - extract(epoch from '2026-07-29 03:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.365393 -2.80324)', '2026-07-29 03:22:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365224 -2.803235)'), GeomFromEWKT('SRID=4674;POINT (-40.365393 -2.80324)'))) / (select extract(epoch from '2026-07-29 03:22:01'::timestamp) - extract(epoch from '2026-07-29 03:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365224 -2.803235)'), GeomFromEWKT('SRID=4674;POINT (-40.365393 -2.80324)'))) / (select extract(epoch from '2026-07-29 03:22:01'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47641, 'SRID=4674;POINT (-40.365497 -2.803242)', '2026-07-29 03:22:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365393 -2.80324)'), GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.803242)'))) / (select extract(epoch from '2026-07-29 03:22:06'::timestamp) - extract(epoch from '2026-07-29 03:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365393 -2.80324)'), GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.803242)'))) / (select extract(epoch from '2026-07-29 03:22:06'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.365538 -2.803242)', '2026-07-29 03:22:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.365538 -2.803242)'))) / (select extract(epoch from '2026-07-29 03:22:08'::timestamp) - extract(epoch from '2026-07-29 03:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.365538 -2.803242)'))) / (select extract(epoch from '2026-07-29 03:22:08'::timestamp) - extract(epoch from '2026-07-29 03:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.365575 -2.803237)', '2026-07-29 03:22:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365538 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.365575 -2.803237)'))) / (select extract(epoch from '2026-07-29 03:22:10'::timestamp) - extract(epoch from '2026-07-29 03:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365538 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.365575 -2.803237)'))) / (select extract(epoch from '2026-07-29 03:22:10'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.365598 -2.80324)', '2026-07-29 03:22:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365575 -2.803237)'), GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.80324)'))) / (select extract(epoch from '2026-07-29 03:22:11'::timestamp) - extract(epoch from '2026-07-29 03:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365575 -2.803237)'), GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.80324)'))) / (select extract(epoch from '2026-07-29 03:22:11'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.365698 -2.803244)', '2026-07-29 03:22:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.80324)'), GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.803244)'))) / (select extract(epoch from '2026-07-29 03:22:16'::timestamp) - extract(epoch from '2026-07-29 03:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.80324)'), GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.803244)'))) / (select extract(epoch from '2026-07-29 03:22:16'::timestamp) - extract(epoch from '2026-07-29 03:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.365821 -2.803247)', '2026-07-29 03:22:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.803244)'), GeomFromEWKT('SRID=4674;POINT (-40.365821 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:22:22'::timestamp) - extract(epoch from '2026-07-29 03:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365698 -2.803244)'), GeomFromEWKT('SRID=4674;POINT (-40.365821 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:22:22'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.36595 -2.803247)', '2026-07-29 03:22:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365821 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.36595 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:22:28'::timestamp) - extract(epoch from '2026-07-29 03:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365821 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.36595 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:22:28'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.365986 -2.803239)', '2026-07-29 03:22:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36595 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.365986 -2.803239)'))) / (select extract(epoch from '2026-07-29 03:22:30'::timestamp) - extract(epoch from '2026-07-29 03:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36595 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.365986 -2.803239)'))) / (select extract(epoch from '2026-07-29 03:22:30'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.36603 -2.803246)', '2026-07-29 03:22:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365986 -2.803239)'), GeomFromEWKT('SRID=4674;POINT (-40.36603 -2.803246)'))) / (select extract(epoch from '2026-07-29 03:22:32'::timestamp) - extract(epoch from '2026-07-29 03:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365986 -2.803239)'), GeomFromEWKT('SRID=4674;POINT (-40.36603 -2.803246)'))) / (select extract(epoch from '2026-07-29 03:22:32'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.366154 -2.803227)', '2026-07-29 03:22:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36603 -2.803246)'), GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.803227)'))) / (select extract(epoch from '2026-07-29 03:22:38'::timestamp) - extract(epoch from '2026-07-29 03:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36603 -2.803246)'), GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.803227)'))) / (select extract(epoch from '2026-07-29 03:22:38'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.366276 -2.80322)', '2026-07-29 03:22:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.803227)'), GeomFromEWKT('SRID=4674;POINT (-40.366276 -2.80322)'))) / (select extract(epoch from '2026-07-29 03:22:44'::timestamp) - extract(epoch from '2026-07-29 03:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.803227)'), GeomFromEWKT('SRID=4674;POINT (-40.366276 -2.80322)'))) / (select extract(epoch from '2026-07-29 03:22:44'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.366396 -2.80321)', '2026-07-29 03:22:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366276 -2.80322)'), GeomFromEWKT('SRID=4674;POINT (-40.366396 -2.80321)'))) / (select extract(epoch from '2026-07-29 03:22:50'::timestamp) - extract(epoch from '2026-07-29 03:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366276 -2.80322)'), GeomFromEWKT('SRID=4674;POINT (-40.366396 -2.80321)'))) / (select extract(epoch from '2026-07-29 03:22:50'::timestamp) - extract(epoch from '2026-07-29 03:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.366537 -2.803202)', '2026-07-29 03:22:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366396 -2.80321)'), GeomFromEWKT('SRID=4674;POINT (-40.366537 -2.803202)'))) / (select extract(epoch from '2026-07-29 03:22:57'::timestamp) - extract(epoch from '2026-07-29 03:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366396 -2.80321)'), GeomFromEWKT('SRID=4674;POINT (-40.366537 -2.803202)'))) / (select extract(epoch from '2026-07-29 03:22:57'::timestamp) - extract(epoch from '2026-07-29 03:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.366665 -2.803194)', '2026-07-29 03:23:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366537 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.366665 -2.803194)'))) / (select extract(epoch from '2026-07-29 03:23:03'::timestamp) - extract(epoch from '2026-07-29 03:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366537 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.366665 -2.803194)'))) / (select extract(epoch from '2026-07-29 03:23:03'::timestamp) - extract(epoch from '2026-07-29 03:22: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'), 47641, 'SRID=4674;POINT (-40.36679 -2.803181)', '2026-07-29 03:23:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366665 -2.803194)'), GeomFromEWKT('SRID=4674;POINT (-40.36679 -2.803181)'))) / (select extract(epoch from '2026-07-29 03:23:09'::timestamp) - extract(epoch from '2026-07-29 03:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366665 -2.803194)'), GeomFromEWKT('SRID=4674;POINT (-40.36679 -2.803181)'))) / (select extract(epoch from '2026-07-29 03:23:09'::timestamp) - extract(epoch from '2026-07-29 03:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.366917 -2.803165)', '2026-07-29 03:23:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36679 -2.803181)'), GeomFromEWKT('SRID=4674;POINT (-40.366917 -2.803165)'))) / (select extract(epoch from '2026-07-29 03:23:15'::timestamp) - extract(epoch from '2026-07-29 03:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36679 -2.803181)'), GeomFromEWKT('SRID=4674;POINT (-40.366917 -2.803165)'))) / (select extract(epoch from '2026-07-29 03:23:15'::timestamp) - extract(epoch from '2026-07-29 03:23: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'), 47641, 'SRID=4674;POINT (-40.36698 -2.803156)', '2026-07-29 03:23:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366917 -2.803165)'), GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.803156)'))) / (select extract(epoch from '2026-07-29 03:23:18'::timestamp) - extract(epoch from '2026-07-29 03:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366917 -2.803165)'), GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.803156)'))) / (select extract(epoch from '2026-07-29 03:23:18'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.367024 -2.80315)', '2026-07-29 03:23:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.803156)'), GeomFromEWKT('SRID=4674;POINT (-40.367024 -2.80315)'))) / (select extract(epoch from '2026-07-29 03:23:20'::timestamp) - extract(epoch from '2026-07-29 03:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.803156)'), GeomFromEWKT('SRID=4674;POINT (-40.367024 -2.80315)'))) / (select extract(epoch from '2026-07-29 03:23:20'::timestamp) - extract(epoch from '2026-07-29 03:23: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'), 47641, 'SRID=4674;POINT (-40.367062 -2.803145)', '2026-07-29 03:23:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367024 -2.80315)'), GeomFromEWKT('SRID=4674;POINT (-40.367062 -2.803145)'))) / (select extract(epoch from '2026-07-29 03:23:22'::timestamp) - extract(epoch from '2026-07-29 03:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367024 -2.80315)'), GeomFromEWKT('SRID=4674;POINT (-40.367062 -2.803145)'))) / (select extract(epoch from '2026-07-29 03:23:22'::timestamp) - extract(epoch from '2026-07-29 03:23: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'), 47641, 'SRID=4674;POINT (-40.367123 -2.803147)', '2026-07-29 03:23:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367062 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.367123 -2.803147)'))) / (select extract(epoch from '2026-07-29 03:23:25'::timestamp) - extract(epoch from '2026-07-29 03:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367062 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.367123 -2.803147)'))) / (select extract(epoch from '2026-07-29 03:23:25'::timestamp) - extract(epoch from '2026-07-29 03:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367241 -2.803145)', '2026-07-29 03:23:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367123 -2.803147)'), GeomFromEWKT('SRID=4674;POINT (-40.367241 -2.803145)'))) / (select extract(epoch from '2026-07-29 03:23:32'::timestamp) - extract(epoch from '2026-07-29 03:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367123 -2.803147)'), GeomFromEWKT('SRID=4674;POINT (-40.367241 -2.803145)'))) / (select extract(epoch from '2026-07-29 03:23:32'::timestamp) - extract(epoch from '2026-07-29 03:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367268 -2.803146)', '2026-07-29 03:23:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367241 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.367268 -2.803146)'))) / (select extract(epoch from '2026-07-29 03:23:34'::timestamp) - extract(epoch from '2026-07-29 03:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367241 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.367268 -2.803146)'))) / (select extract(epoch from '2026-07-29 03:23:34'::timestamp) - extract(epoch from '2026-07-29 03:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367327 -2.803134)', '2026-07-29 03:23:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367268 -2.803146)'), GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.803134)'))) / (select extract(epoch from '2026-07-29 03:23:39'::timestamp) - extract(epoch from '2026-07-29 03:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367268 -2.803146)'), GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.803134)'))) / (select extract(epoch from '2026-07-29 03:23:39'::timestamp) - extract(epoch from '2026-07-29 03:23: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'), 47641, 'SRID=4674;POINT (-40.367406 -2.803121)', '2026-07-29 03:23:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.803134)'), GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.803121)'))) / (select extract(epoch from '2026-07-29 03:23:47'::timestamp) - extract(epoch from '2026-07-29 03:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.803134)'), GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.803121)'))) / (select extract(epoch from '2026-07-29 03:23:47'::timestamp) - extract(epoch from '2026-07-29 03:23: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'), 47641, 'SRID=4674;POINT (-40.367437 -2.803106)', '2026-07-29 03:23:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.803121)'), GeomFromEWKT('SRID=4674;POINT (-40.367437 -2.803106)'))) / (select extract(epoch from '2026-07-29 03:23:51'::timestamp) - extract(epoch from '2026-07-29 03:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367406 -2.803121)'), GeomFromEWKT('SRID=4674;POINT (-40.367437 -2.803106)'))) / (select extract(epoch from '2026-07-29 03:23:51'::timestamp) - extract(epoch from '2026-07-29 03:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367456 -2.803108)', '2026-07-29 03:23:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367437 -2.803106)'), GeomFromEWKT('SRID=4674;POINT (-40.367456 -2.803108)'))) / (select extract(epoch from '2026-07-29 03:23:54'::timestamp) - extract(epoch from '2026-07-29 03:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367437 -2.803106)'), GeomFromEWKT('SRID=4674;POINT (-40.367456 -2.803108)'))) / (select extract(epoch from '2026-07-29 03:23:54'::timestamp) - extract(epoch from '2026-07-29 03:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367483 -2.803105)', '2026-07-29 03:23:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367456 -2.803108)'), GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.803105)'))) / (select extract(epoch from '2026-07-29 03:23:58'::timestamp) - extract(epoch from '2026-07-29 03:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367456 -2.803108)'), GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.803105)'))) / (select extract(epoch from '2026-07-29 03:23:58'::timestamp) - extract(epoch from '2026-07-29 03:23: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'), 47641, 'SRID=4674;POINT (-40.367504 -2.803107)', '2026-07-29 03:24:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.803105)'), GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.803107)'))) / (select extract(epoch from '2026-07-29 03:24:01'::timestamp) - extract(epoch from '2026-07-29 03:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.803105)'), GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.803107)'))) / (select extract(epoch from '2026-07-29 03:24:01'::timestamp) - extract(epoch from '2026-07-29 03:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367551 -2.803111)', '2026-07-29 03:24:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.803107)'), GeomFromEWKT('SRID=4674;POINT (-40.367551 -2.803111)'))) / (select extract(epoch from '2026-07-29 03:24:08'::timestamp) - extract(epoch from '2026-07-29 03:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.803107)'), GeomFromEWKT('SRID=4674;POINT (-40.367551 -2.803111)'))) / (select extract(epoch from '2026-07-29 03:24:08'::timestamp) - extract(epoch from '2026-07-29 03:24: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'), 47641, 'SRID=4674;POINT (-40.367607 -2.803113)', '2026-07-29 03:24:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367551 -2.803111)'), GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.803113)'))) / (select extract(epoch from '2026-07-29 03:24:19'::timestamp) - extract(epoch from '2026-07-29 03:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367551 -2.803111)'), GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.803113)'))) / (select extract(epoch from '2026-07-29 03:24:19'::timestamp) - extract(epoch from '2026-07-29 03:24: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'), 47641, 'SRID=4674;POINT (-40.367649 -2.803115)', '2026-07-29 03:24:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.803113)'), GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.803115)'))) / (select extract(epoch from '2026-07-29 03:24:28'::timestamp) - extract(epoch from '2026-07-29 03:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.803113)'), GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.803115)'))) / (select extract(epoch from '2026-07-29 03:24:28'::timestamp) - extract(epoch from '2026-07-29 03:24: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'), 47641, 'SRID=4674;POINT (-40.367686 -2.803134)', '2026-07-29 03:24:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.803115)'), GeomFromEWKT('SRID=4674;POINT (-40.367686 -2.803134)'))) / (select extract(epoch from '2026-07-29 03:24:36'::timestamp) - extract(epoch from '2026-07-29 03:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.803115)'), GeomFromEWKT('SRID=4674;POINT (-40.367686 -2.803134)'))) / (select extract(epoch from '2026-07-29 03:24:36'::timestamp) - extract(epoch from '2026-07-29 03:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367712 -2.80314)', '2026-07-29 03:24:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367686 -2.803134)'), GeomFromEWKT('SRID=4674;POINT (-40.367712 -2.80314)'))) / (select extract(epoch from '2026-07-29 03:24:45'::timestamp) - extract(epoch from '2026-07-29 03:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367686 -2.803134)'), GeomFromEWKT('SRID=4674;POINT (-40.367712 -2.80314)'))) / (select extract(epoch from '2026-07-29 03:24:45'::timestamp) - extract(epoch from '2026-07-29 03:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367743 -2.803155)', '2026-07-29 03:24:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367712 -2.80314)'), GeomFromEWKT('SRID=4674;POINT (-40.367743 -2.803155)'))) / (select extract(epoch from '2026-07-29 03:24:57'::timestamp) - extract(epoch from '2026-07-29 03:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367712 -2.80314)'), GeomFromEWKT('SRID=4674;POINT (-40.367743 -2.803155)'))) / (select extract(epoch from '2026-07-29 03:24:57'::timestamp) - extract(epoch from '2026-07-29 03:24: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'), 47641, 'SRID=4674;POINT (-40.36777 -2.803165)', '2026-07-29 03:25:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367743 -2.803155)'), GeomFromEWKT('SRID=4674;POINT (-40.36777 -2.803165)'))) / (select extract(epoch from '2026-07-29 03:25:07'::timestamp) - extract(epoch from '2026-07-29 03:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367743 -2.803155)'), GeomFromEWKT('SRID=4674;POINT (-40.36777 -2.803165)'))) / (select extract(epoch from '2026-07-29 03:25:07'::timestamp) - extract(epoch from '2026-07-29 03:24: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'), 47641, 'SRID=4674;POINT (-40.367786 -2.803171)', '2026-07-29 03:25:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36777 -2.803165)'), GeomFromEWKT('SRID=4674;POINT (-40.367786 -2.803171)'))) / (select extract(epoch from '2026-07-29 03:25:15'::timestamp) - extract(epoch from '2026-07-29 03:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36777 -2.803165)'), GeomFromEWKT('SRID=4674;POINT (-40.367786 -2.803171)'))) / (select extract(epoch from '2026-07-29 03:25:15'::timestamp) - extract(epoch from '2026-07-29 03:25: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'), 47641, 'SRID=4674;POINT (-40.367814 -2.803183)', '2026-07-29 03:25:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367786 -2.803171)'), GeomFromEWKT('SRID=4674;POINT (-40.367814 -2.803183)'))) / (select extract(epoch from '2026-07-29 03:25:27'::timestamp) - extract(epoch from '2026-07-29 03:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367786 -2.803171)'), GeomFromEWKT('SRID=4674;POINT (-40.367814 -2.803183)'))) / (select extract(epoch from '2026-07-29 03:25:27'::timestamp) - extract(epoch from '2026-07-29 03:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367868 -2.803199)', '2026-07-29 03:25:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367814 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.367868 -2.803199)'))) / (select extract(epoch from '2026-07-29 03:25:55'::timestamp) - extract(epoch from '2026-07-29 03:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367814 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.367868 -2.803199)'))) / (select extract(epoch from '2026-07-29 03:25:55'::timestamp) - extract(epoch from '2026-07-29 03:25:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367918 -2.803207)', '2026-07-29 03:26:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367868 -2.803199)'), GeomFromEWKT('SRID=4674;POINT (-40.367918 -2.803207)'))) / (select extract(epoch from '2026-07-29 03:26:30'::timestamp) - extract(epoch from '2026-07-29 03:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367868 -2.803199)'), GeomFromEWKT('SRID=4674;POINT (-40.367918 -2.803207)'))) / (select extract(epoch from '2026-07-29 03:26:30'::timestamp) - extract(epoch from '2026-07-29 03:25: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'), 47641, 'SRID=4674;POINT (-40.367979 -2.803212)', '2026-07-29 03:27:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367918 -2.803207)'), GeomFromEWKT('SRID=4674;POINT (-40.367979 -2.803212)'))) / (select extract(epoch from '2026-07-29 03:27:00'::timestamp) - extract(epoch from '2026-07-29 03:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367918 -2.803207)'), GeomFromEWKT('SRID=4674;POINT (-40.367979 -2.803212)'))) / (select extract(epoch from '2026-07-29 03:27:00'::timestamp) - extract(epoch from '2026-07-29 03:26: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'), 47641, 'SRID=4674;POINT (-40.368045 -2.803222)', '2026-07-29 03:27:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367979 -2.803212)'), GeomFromEWKT('SRID=4674;POINT (-40.368045 -2.803222)'))) / (select extract(epoch from '2026-07-29 03:27:36'::timestamp) - extract(epoch from '2026-07-29 03:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367979 -2.803212)'), GeomFromEWKT('SRID=4674;POINT (-40.368045 -2.803222)'))) / (select extract(epoch from '2026-07-29 03:27:36'::timestamp) - extract(epoch from '2026-07-29 03:27: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'), 47641, 'SRID=4674;POINT (-40.368093 -2.803231)', '2026-07-29 03:28:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368045 -2.803222)'), GeomFromEWKT('SRID=4674;POINT (-40.368093 -2.803231)'))) / (select extract(epoch from '2026-07-29 03:28:13'::timestamp) - extract(epoch from '2026-07-29 03:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368045 -2.803222)'), GeomFromEWKT('SRID=4674;POINT (-40.368093 -2.803231)'))) / (select extract(epoch from '2026-07-29 03:28:13'::timestamp) - extract(epoch from '2026-07-29 03:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368109 -2.803235)', '2026-07-29 03:28:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368093 -2.803231)'), GeomFromEWKT('SRID=4674;POINT (-40.368109 -2.803235)'))) / (select extract(epoch from '2026-07-29 03:28:23'::timestamp) - extract(epoch from '2026-07-29 03:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368093 -2.803231)'), GeomFromEWKT('SRID=4674;POINT (-40.368109 -2.803235)'))) / (select extract(epoch from '2026-07-29 03:28:23'::timestamp) - extract(epoch from '2026-07-29 03:28: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'), 47641, 'SRID=4674;POINT (-40.368128 -2.803237)', '2026-07-29 03:28:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368109 -2.803235)'), GeomFromEWKT('SRID=4674;POINT (-40.368128 -2.803237)'))) / (select extract(epoch from '2026-07-29 03:28:32'::timestamp) - extract(epoch from '2026-07-29 03:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368109 -2.803235)'), GeomFromEWKT('SRID=4674;POINT (-40.368128 -2.803237)'))) / (select extract(epoch from '2026-07-29 03:28:32'::timestamp) - extract(epoch from '2026-07-29 03:28: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'), 47641, 'SRID=4674;POINT (-40.368144 -2.803239)', '2026-07-29 03:28:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368128 -2.803237)'), GeomFromEWKT('SRID=4674;POINT (-40.368144 -2.803239)'))) / (select extract(epoch from '2026-07-29 03:28:41'::timestamp) - extract(epoch from '2026-07-29 03:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368128 -2.803237)'), GeomFromEWKT('SRID=4674;POINT (-40.368144 -2.803239)'))) / (select extract(epoch from '2026-07-29 03:28:41'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.368162 -2.803246)', '2026-07-29 03:28:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368144 -2.803239)'), GeomFromEWKT('SRID=4674;POINT (-40.368162 -2.803246)'))) / (select extract(epoch from '2026-07-29 03:28:50'::timestamp) - extract(epoch from '2026-07-29 03:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368144 -2.803239)'), GeomFromEWKT('SRID=4674;POINT (-40.368162 -2.803246)'))) / (select extract(epoch from '2026-07-29 03:28:50'::timestamp) - extract(epoch from '2026-07-29 03:28: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'), 47641, 'SRID=4674;POINT (-40.368178 -2.803247)', '2026-07-29 03:28:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368162 -2.803246)'), GeomFromEWKT('SRID=4674;POINT (-40.368178 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:28:59'::timestamp) - extract(epoch from '2026-07-29 03:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368162 -2.803246)'), GeomFromEWKT('SRID=4674;POINT (-40.368178 -2.803247)'))) / (select extract(epoch from '2026-07-29 03:28:59'::timestamp) - extract(epoch from '2026-07-29 03:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368196 -2.803245)', '2026-07-29 03:29:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368178 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.368196 -2.803245)'))) / (select extract(epoch from '2026-07-29 03:29:09'::timestamp) - extract(epoch from '2026-07-29 03:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368178 -2.803247)'), GeomFromEWKT('SRID=4674;POINT (-40.368196 -2.803245)'))) / (select extract(epoch from '2026-07-29 03:29:09'::timestamp) - extract(epoch from '2026-07-29 03:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368209 -2.803248)', '2026-07-29 03:29:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368196 -2.803245)'), GeomFromEWKT('SRID=4674;POINT (-40.368209 -2.803248)'))) / (select extract(epoch from '2026-07-29 03:29:16'::timestamp) - extract(epoch from '2026-07-29 03:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368196 -2.803245)'), GeomFromEWKT('SRID=4674;POINT (-40.368209 -2.803248)'))) / (select extract(epoch from '2026-07-29 03:29:16'::timestamp) - extract(epoch from '2026-07-29 03:29: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'), 47641, 'SRID=4674;POINT (-40.368229 -2.803253)', '2026-07-29 03:29:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368209 -2.803248)'), GeomFromEWKT('SRID=4674;POINT (-40.368229 -2.803253)'))) / (select extract(epoch from '2026-07-29 03:29:26'::timestamp) - extract(epoch from '2026-07-29 03:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368209 -2.803248)'), GeomFromEWKT('SRID=4674;POINT (-40.368229 -2.803253)'))) / (select extract(epoch from '2026-07-29 03:29:26'::timestamp) - extract(epoch from '2026-07-29 03:29: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'), 47641, 'SRID=4674;POINT (-40.36825 -2.803258)', '2026-07-29 03:29:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368229 -2.803253)'), GeomFromEWKT('SRID=4674;POINT (-40.36825 -2.803258)'))) / (select extract(epoch from '2026-07-29 03:29:38'::timestamp) - extract(epoch from '2026-07-29 03:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368229 -2.803253)'), GeomFromEWKT('SRID=4674;POINT (-40.36825 -2.803258)'))) / (select extract(epoch from '2026-07-29 03:29:38'::timestamp) - extract(epoch from '2026-07-29 03:29: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'), 47641, 'SRID=4674;POINT (-40.368283 -2.80327)', '2026-07-29 03:29:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36825 -2.803258)'), GeomFromEWKT('SRID=4674;POINT (-40.368283 -2.80327)'))) / (select extract(epoch from '2026-07-29 03:29:56'::timestamp) - extract(epoch from '2026-07-29 03:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36825 -2.803258)'), GeomFromEWKT('SRID=4674;POINT (-40.368283 -2.80327)'))) / (select extract(epoch from '2026-07-29 03:29:56'::timestamp) - extract(epoch from '2026-07-29 03:29: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'), 47641, 'SRID=4674;POINT (-40.368298 -2.803279)', '2026-07-29 03:30:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368283 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.368298 -2.803279)'))) / (select extract(epoch from '2026-07-29 03:30:07'::timestamp) - extract(epoch from '2026-07-29 03:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368283 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.368298 -2.803279)'))) / (select extract(epoch from '2026-07-29 03:30:07'::timestamp) - extract(epoch from '2026-07-29 03:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368328 -2.803285)', '2026-07-29 03:30:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368298 -2.803279)'), GeomFromEWKT('SRID=4674;POINT (-40.368328 -2.803285)'))) / (select extract(epoch from '2026-07-29 03:30:22'::timestamp) - extract(epoch from '2026-07-29 03:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368298 -2.803279)'), GeomFromEWKT('SRID=4674;POINT (-40.368328 -2.803285)'))) / (select extract(epoch from '2026-07-29 03:30:22'::timestamp) - extract(epoch from '2026-07-29 03:30: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'), 47641, 'SRID=4674;POINT (-40.368344 -2.803294)', '2026-07-29 03:30:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368328 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.368344 -2.803294)'))) / (select extract(epoch from '2026-07-29 03:30:33'::timestamp) - extract(epoch from '2026-07-29 03:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368328 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.368344 -2.803294)'))) / (select extract(epoch from '2026-07-29 03:30:33'::timestamp) - extract(epoch from '2026-07-29 03:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368369 -2.8033)', '2026-07-29 03:30:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368344 -2.803294)'), GeomFromEWKT('SRID=4674;POINT (-40.368369 -2.8033)'))) / (select extract(epoch from '2026-07-29 03:30:45'::timestamp) - extract(epoch from '2026-07-29 03:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368344 -2.803294)'), GeomFromEWKT('SRID=4674;POINT (-40.368369 -2.8033)'))) / (select extract(epoch from '2026-07-29 03:30:45'::timestamp) - extract(epoch from '2026-07-29 03:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368391 -2.803302)', '2026-07-29 03:30:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368369 -2.8033)'), GeomFromEWKT('SRID=4674;POINT (-40.368391 -2.803302)'))) / (select extract(epoch from '2026-07-29 03:30:56'::timestamp) - extract(epoch from '2026-07-29 03:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368369 -2.8033)'), GeomFromEWKT('SRID=4674;POINT (-40.368391 -2.803302)'))) / (select extract(epoch from '2026-07-29 03:30:56'::timestamp) - extract(epoch from '2026-07-29 03:30: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'), 47641, 'SRID=4674;POINT (-40.368414 -2.803308)', '2026-07-29 03:31:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368391 -2.803302)'), GeomFromEWKT('SRID=4674;POINT (-40.368414 -2.803308)'))) / (select extract(epoch from '2026-07-29 03:31:09'::timestamp) - extract(epoch from '2026-07-29 03:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368391 -2.803302)'), GeomFromEWKT('SRID=4674;POINT (-40.368414 -2.803308)'))) / (select extract(epoch from '2026-07-29 03:31:09'::timestamp) - extract(epoch from '2026-07-29 03:30: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'), 47641, 'SRID=4674;POINT (-40.368455 -2.803322)', '2026-07-29 03:31:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368414 -2.803308)'), GeomFromEWKT('SRID=4674;POINT (-40.368455 -2.803322)'))) / (select extract(epoch from '2026-07-29 03:31:29'::timestamp) - extract(epoch from '2026-07-29 03:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368414 -2.803308)'), GeomFromEWKT('SRID=4674;POINT (-40.368455 -2.803322)'))) / (select extract(epoch from '2026-07-29 03:31:29'::timestamp) - extract(epoch from '2026-07-29 03:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368491 -2.803333)', '2026-07-29 03:31:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368455 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.803333)'))) / (select extract(epoch from '2026-07-29 03:31:47'::timestamp) - extract(epoch from '2026-07-29 03:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368455 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.803333)'))) / (select extract(epoch from '2026-07-29 03:31:47'::timestamp) - extract(epoch from '2026-07-29 03:31: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'), 47641, 'SRID=4674;POINT (-40.368534 -2.803349)', '2026-07-29 03:32:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.803333)'), GeomFromEWKT('SRID=4674;POINT (-40.368534 -2.803349)'))) / (select extract(epoch from '2026-07-29 03:32:04'::timestamp) - extract(epoch from '2026-07-29 03:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.803333)'), GeomFromEWKT('SRID=4674;POINT (-40.368534 -2.803349)'))) / (select extract(epoch from '2026-07-29 03:32:04'::timestamp) - extract(epoch from '2026-07-29 03:31: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'), 47641, 'SRID=4674;POINT (-40.368559 -2.803366)', '2026-07-29 03:32:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368534 -2.803349)'), GeomFromEWKT('SRID=4674;POINT (-40.368559 -2.803366)'))) / (select extract(epoch from '2026-07-29 03:32:19'::timestamp) - extract(epoch from '2026-07-29 03:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368534 -2.803349)'), GeomFromEWKT('SRID=4674;POINT (-40.368559 -2.803366)'))) / (select extract(epoch from '2026-07-29 03:32:19'::timestamp) - extract(epoch from '2026-07-29 03:32: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'), 47641, 'SRID=4674;POINT (-40.368575 -2.803385)', '2026-07-29 03:32:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368559 -2.803366)'), GeomFromEWKT('SRID=4674;POINT (-40.368575 -2.803385)'))) / (select extract(epoch from '2026-07-29 03:32:30'::timestamp) - extract(epoch from '2026-07-29 03:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368559 -2.803366)'), GeomFromEWKT('SRID=4674;POINT (-40.368575 -2.803385)'))) / (select extract(epoch from '2026-07-29 03:32:30'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.368589 -2.803398)', '2026-07-29 03:32:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368575 -2.803385)'), GeomFromEWKT('SRID=4674;POINT (-40.368589 -2.803398)'))) / (select extract(epoch from '2026-07-29 03:32:37'::timestamp) - extract(epoch from '2026-07-29 03:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368575 -2.803385)'), GeomFromEWKT('SRID=4674;POINT (-40.368589 -2.803398)'))) / (select extract(epoch from '2026-07-29 03:32:37'::timestamp) - extract(epoch from '2026-07-29 03:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36861 -2.803413)', '2026-07-29 03:32:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368589 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.36861 -2.803413)'))) / (select extract(epoch from '2026-07-29 03:32:46'::timestamp) - extract(epoch from '2026-07-29 03:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368589 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.36861 -2.803413)'))) / (select extract(epoch from '2026-07-29 03:32:46'::timestamp) - extract(epoch from '2026-07-29 03:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368665 -2.803445)', '2026-07-29 03:33:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36861 -2.803413)'), GeomFromEWKT('SRID=4674;POINT (-40.368665 -2.803445)'))) / (select extract(epoch from '2026-07-29 03:33:00'::timestamp) - extract(epoch from '2026-07-29 03:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36861 -2.803413)'), GeomFromEWKT('SRID=4674;POINT (-40.368665 -2.803445)'))) / (select extract(epoch from '2026-07-29 03:33:00'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.368722 -2.80346)', '2026-07-29 03:33:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368665 -2.803445)'), GeomFromEWKT('SRID=4674;POINT (-40.368722 -2.80346)'))) / (select extract(epoch from '2026-07-29 03:33:14'::timestamp) - extract(epoch from '2026-07-29 03:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368665 -2.803445)'), GeomFromEWKT('SRID=4674;POINT (-40.368722 -2.80346)'))) / (select extract(epoch from '2026-07-29 03:33:14'::timestamp) - extract(epoch from '2026-07-29 03:33: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'), 47641, 'SRID=4674;POINT (-40.368827 -2.803462)', '2026-07-29 03:33:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368722 -2.80346)'), GeomFromEWKT('SRID=4674;POINT (-40.368827 -2.803462)'))) / (select extract(epoch from '2026-07-29 03:33:33'::timestamp) - extract(epoch from '2026-07-29 03:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368722 -2.80346)'), GeomFromEWKT('SRID=4674;POINT (-40.368827 -2.803462)'))) / (select extract(epoch from '2026-07-29 03:33:33'::timestamp) - extract(epoch from '2026-07-29 03:33: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'), 47641, 'SRID=4674;POINT (-40.368901 -2.803464)', '2026-07-29 03:33:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368827 -2.803462)'), GeomFromEWKT('SRID=4674;POINT (-40.368901 -2.803464)'))) / (select extract(epoch from '2026-07-29 03:33:46'::timestamp) - extract(epoch from '2026-07-29 03:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368827 -2.803462)'), GeomFromEWKT('SRID=4674;POINT (-40.368901 -2.803464)'))) / (select extract(epoch from '2026-07-29 03:33:46'::timestamp) - extract(epoch from '2026-07-29 03:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36894 -2.803454)', '2026-07-29 03:33:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368901 -2.803464)'), GeomFromEWKT('SRID=4674;POINT (-40.36894 -2.803454)'))) / (select extract(epoch from '2026-07-29 03:33:56'::timestamp) - extract(epoch from '2026-07-29 03:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368901 -2.803464)'), GeomFromEWKT('SRID=4674;POINT (-40.36894 -2.803454)'))) / (select extract(epoch from '2026-07-29 03:33:56'::timestamp) - extract(epoch from '2026-07-29 03:33: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'), 47641, 'SRID=4674;POINT (-40.369001 -2.80344)', '2026-07-29 03:34:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36894 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.369001 -2.80344)'))) / (select extract(epoch from '2026-07-29 03:34:07'::timestamp) - extract(epoch from '2026-07-29 03:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36894 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.369001 -2.80344)'))) / (select extract(epoch from '2026-07-29 03:34:07'::timestamp) - extract(epoch from '2026-07-29 03:33: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'), 47641, 'SRID=4674;POINT (-40.369054 -2.803435)', '2026-07-29 03:34:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369001 -2.80344)'), GeomFromEWKT('SRID=4674;POINT (-40.369054 -2.803435)'))) / (select extract(epoch from '2026-07-29 03:34:17'::timestamp) - extract(epoch from '2026-07-29 03:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369001 -2.80344)'), GeomFromEWKT('SRID=4674;POINT (-40.369054 -2.803435)'))) / (select extract(epoch from '2026-07-29 03:34:17'::timestamp) - extract(epoch from '2026-07-29 03:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36909 -2.803434)', '2026-07-29 03:34:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369054 -2.803435)'), GeomFromEWKT('SRID=4674;POINT (-40.36909 -2.803434)'))) / (select extract(epoch from '2026-07-29 03:34:24'::timestamp) - extract(epoch from '2026-07-29 03:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369054 -2.803435)'), GeomFromEWKT('SRID=4674;POINT (-40.36909 -2.803434)'))) / (select extract(epoch from '2026-07-29 03:34:24'::timestamp) - extract(epoch from '2026-07-29 03:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369148 -2.803424)', '2026-07-29 03:34:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36909 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.369148 -2.803424)'))) / (select extract(epoch from '2026-07-29 03:34:34'::timestamp) - extract(epoch from '2026-07-29 03:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36909 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.369148 -2.803424)'))) / (select extract(epoch from '2026-07-29 03:34:34'::timestamp) - extract(epoch from '2026-07-29 03:34: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'), 47641, 'SRID=4674;POINT (-40.369189 -2.803414)', '2026-07-29 03:34:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369148 -2.803424)'), GeomFromEWKT('SRID=4674;POINT (-40.369189 -2.803414)'))) / (select extract(epoch from '2026-07-29 03:34:41'::timestamp) - extract(epoch from '2026-07-29 03:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369148 -2.803424)'), GeomFromEWKT('SRID=4674;POINT (-40.369189 -2.803414)'))) / (select extract(epoch from '2026-07-29 03:34:41'::timestamp) - extract(epoch from '2026-07-29 03:34: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'), 47641, 'SRID=4674;POINT (-40.36926 -2.803429)', '2026-07-29 03:34:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369189 -2.803414)'), GeomFromEWKT('SRID=4674;POINT (-40.36926 -2.803429)'))) / (select extract(epoch from '2026-07-29 03:34:54'::timestamp) - extract(epoch from '2026-07-29 03:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369189 -2.803414)'), GeomFromEWKT('SRID=4674;POINT (-40.36926 -2.803429)'))) / (select extract(epoch from '2026-07-29 03:34:54'::timestamp) - extract(epoch from '2026-07-29 03:34: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'), 47641, 'SRID=4674;POINT (-40.369328 -2.803447)', '2026-07-29 03:35:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36926 -2.803429)'), GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803447)'))) / (select extract(epoch from '2026-07-29 03:35:07'::timestamp) - extract(epoch from '2026-07-29 03:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36926 -2.803429)'), GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803447)'))) / (select extract(epoch from '2026-07-29 03:35:07'::timestamp) - extract(epoch from '2026-07-29 03:34: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'), 47641, 'SRID=4674;POINT (-40.369373 -2.803447)', '2026-07-29 03:35:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803447)'), GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803447)'))) / (select extract(epoch from '2026-07-29 03:35:16'::timestamp) - extract(epoch from '2026-07-29 03:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803447)'), GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803447)'))) / (select extract(epoch from '2026-07-29 03:35:16'::timestamp) - extract(epoch from '2026-07-29 03:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369419 -2.803453)', '2026-07-29 03:35:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803447)'), GeomFromEWKT('SRID=4674;POINT (-40.369419 -2.803453)'))) / (select extract(epoch from '2026-07-29 03:35:25'::timestamp) - extract(epoch from '2026-07-29 03:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803447)'), GeomFromEWKT('SRID=4674;POINT (-40.369419 -2.803453)'))) / (select extract(epoch from '2026-07-29 03:35:25'::timestamp) - extract(epoch from '2026-07-29 03:35: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'), 47641, 'SRID=4674;POINT (-40.369472 -2.80345)', '2026-07-29 03:35:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369419 -2.803453)'), GeomFromEWKT('SRID=4674;POINT (-40.369472 -2.80345)'))) / (select extract(epoch from '2026-07-29 03:35:34'::timestamp) - extract(epoch from '2026-07-29 03:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369419 -2.803453)'), GeomFromEWKT('SRID=4674;POINT (-40.369472 -2.80345)'))) / (select extract(epoch from '2026-07-29 03:35:34'::timestamp) - extract(epoch from '2026-07-29 03:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369519 -2.803445)', '2026-07-29 03:35:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369472 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.369519 -2.803445)'))) / (select extract(epoch from '2026-07-29 03:35:42'::timestamp) - extract(epoch from '2026-07-29 03:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369472 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.369519 -2.803445)'))) / (select extract(epoch from '2026-07-29 03:35:42'::timestamp) - extract(epoch from '2026-07-29 03:35: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'), 47641, 'SRID=4674;POINT (-40.369566 -2.80344)', '2026-07-29 03:35:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369519 -2.803445)'), GeomFromEWKT('SRID=4674;POINT (-40.369566 -2.80344)'))) / (select extract(epoch from '2026-07-29 03:35:50'::timestamp) - extract(epoch from '2026-07-29 03:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369519 -2.803445)'), GeomFromEWKT('SRID=4674;POINT (-40.369566 -2.80344)'))) / (select extract(epoch from '2026-07-29 03:35:50'::timestamp) - extract(epoch from '2026-07-29 03:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36962 -2.803421)', '2026-07-29 03:36:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369566 -2.80344)'), GeomFromEWKT('SRID=4674;POINT (-40.36962 -2.803421)'))) / (select extract(epoch from '2026-07-29 03:36:00'::timestamp) - extract(epoch from '2026-07-29 03:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369566 -2.80344)'), GeomFromEWKT('SRID=4674;POINT (-40.36962 -2.803421)'))) / (select extract(epoch from '2026-07-29 03:36:00'::timestamp) - extract(epoch from '2026-07-29 03:35: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'), 47641, 'SRID=4674;POINT (-40.369686 -2.803398)', '2026-07-29 03:36:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36962 -2.803421)'), GeomFromEWKT('SRID=4674;POINT (-40.369686 -2.803398)'))) / (select extract(epoch from '2026-07-29 03:36:12'::timestamp) - extract(epoch from '2026-07-29 03:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36962 -2.803421)'), GeomFromEWKT('SRID=4674;POINT (-40.369686 -2.803398)'))) / (select extract(epoch from '2026-07-29 03:36:12'::timestamp) - extract(epoch from '2026-07-29 03:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369733 -2.803382)', '2026-07-29 03:36:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369686 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.369733 -2.803382)'))) / (select extract(epoch from '2026-07-29 03:36:20'::timestamp) - extract(epoch from '2026-07-29 03:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369686 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.369733 -2.803382)'))) / (select extract(epoch from '2026-07-29 03:36:20'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47641, 'SRID=4674;POINT (-40.369788 -2.803365)', '2026-07-29 03:36:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369733 -2.803382)'), GeomFromEWKT('SRID=4674;POINT (-40.369788 -2.803365)'))) / (select extract(epoch from '2026-07-29 03:36:29'::timestamp) - extract(epoch from '2026-07-29 03:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369733 -2.803382)'), GeomFromEWKT('SRID=4674;POINT (-40.369788 -2.803365)'))) / (select extract(epoch from '2026-07-29 03:36:29'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47641, 'SRID=4674;POINT (-40.369835 -2.803354)', '2026-07-29 03:36:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369788 -2.803365)'), GeomFromEWKT('SRID=4674;POINT (-40.369835 -2.803354)'))) / (select extract(epoch from '2026-07-29 03:36:38'::timestamp) - extract(epoch from '2026-07-29 03:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369788 -2.803365)'), GeomFromEWKT('SRID=4674;POINT (-40.369835 -2.803354)'))) / (select extract(epoch from '2026-07-29 03:36:38'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47641, 'SRID=4674;POINT (-40.369871 -2.803346)', '2026-07-29 03:36:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369835 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.369871 -2.803346)'))) / (select extract(epoch from '2026-07-29 03:36:45'::timestamp) - extract(epoch from '2026-07-29 03:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369835 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.369871 -2.803346)'))) / (select extract(epoch from '2026-07-29 03:36:45'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47641, 'SRID=4674;POINT (-40.369912 -2.80333)', '2026-07-29 03:36:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369871 -2.803346)'), GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.80333)'))) / (select extract(epoch from '2026-07-29 03:36:54'::timestamp) - extract(epoch from '2026-07-29 03:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369871 -2.803346)'), GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.80333)'))) / (select extract(epoch from '2026-07-29 03:36:54'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47641, 'SRID=4674;POINT (-40.36996 -2.803322)', '2026-07-29 03:37:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.36996 -2.803322)'))) / (select extract(epoch from '2026-07-29 03:37:03'::timestamp) - extract(epoch from '2026-07-29 03:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.36996 -2.803322)'))) / (select extract(epoch from '2026-07-29 03:37:03'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47641, 'SRID=4674;POINT (-40.370006 -2.803315)', '2026-07-29 03:37:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36996 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.370006 -2.803315)'))) / (select extract(epoch from '2026-07-29 03:37:11'::timestamp) - extract(epoch from '2026-07-29 03:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36996 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.370006 -2.803315)'))) / (select extract(epoch from '2026-07-29 03:37:11'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47641, 'SRID=4674;POINT (-40.370062 -2.803301)', '2026-07-29 03:37:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370006 -2.803315)'), GeomFromEWKT('SRID=4674;POINT (-40.370062 -2.803301)'))) / (select extract(epoch from '2026-07-29 03:37:22'::timestamp) - extract(epoch from '2026-07-29 03:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370006 -2.803315)'), GeomFromEWKT('SRID=4674;POINT (-40.370062 -2.803301)'))) / (select extract(epoch from '2026-07-29 03:37:22'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47641, 'SRID=4674;POINT (-40.370104 -2.80329)', '2026-07-29 03:37:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370062 -2.803301)'), GeomFromEWKT('SRID=4674;POINT (-40.370104 -2.80329)'))) / (select extract(epoch from '2026-07-29 03:37:30'::timestamp) - extract(epoch from '2026-07-29 03:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370062 -2.803301)'), GeomFromEWKT('SRID=4674;POINT (-40.370104 -2.80329)'))) / (select extract(epoch from '2026-07-29 03:37:30'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47641, 'SRID=4674;POINT (-40.370154 -2.803272)', '2026-07-29 03:37:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370104 -2.80329)'), GeomFromEWKT('SRID=4674;POINT (-40.370154 -2.803272)'))) / (select extract(epoch from '2026-07-29 03:37:39'::timestamp) - extract(epoch from '2026-07-29 03:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370104 -2.80329)'), GeomFromEWKT('SRID=4674;POINT (-40.370154 -2.803272)'))) / (select extract(epoch from '2026-07-29 03:37:39'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47641, 'SRID=4674;POINT (-40.370194 -2.803264)', '2026-07-29 03:37:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370154 -2.803272)'), GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.803264)'))) / (select extract(epoch from '2026-07-29 03:37:45'::timestamp) - extract(epoch from '2026-07-29 03:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370154 -2.803272)'), GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.803264)'))) / (select extract(epoch from '2026-07-29 03:37:45'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47641, 'SRID=4674;POINT (-40.370248 -2.803255)', '2026-07-29 03:37:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.803264)'), GeomFromEWKT('SRID=4674;POINT (-40.370248 -2.803255)'))) / (select extract(epoch from '2026-07-29 03:37:53'::timestamp) - extract(epoch from '2026-07-29 03:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370194 -2.803264)'), GeomFromEWKT('SRID=4674;POINT (-40.370248 -2.803255)'))) / (select extract(epoch from '2026-07-29 03:37:53'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47641, 'SRID=4674;POINT (-40.370302 -2.803241)', '2026-07-29 03:38:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370248 -2.803255)'), GeomFromEWKT('SRID=4674;POINT (-40.370302 -2.803241)'))) / (select extract(epoch from '2026-07-29 03:38:01'::timestamp) - extract(epoch from '2026-07-29 03:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370248 -2.803255)'), GeomFromEWKT('SRID=4674;POINT (-40.370302 -2.803241)'))) / (select extract(epoch from '2026-07-29 03:38:01'::timestamp) - extract(epoch from '2026-07-29 03:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370352 -2.803223)', '2026-07-29 03:38:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370302 -2.803241)'), GeomFromEWKT('SRID=4674;POINT (-40.370352 -2.803223)'))) / (select extract(epoch from '2026-07-29 03:38:09'::timestamp) - extract(epoch from '2026-07-29 03:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370302 -2.803241)'), GeomFromEWKT('SRID=4674;POINT (-40.370352 -2.803223)'))) / (select extract(epoch from '2026-07-29 03:38:09'::timestamp) - extract(epoch from '2026-07-29 03:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370415 -2.803198)', '2026-07-29 03:38:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370352 -2.803223)'), GeomFromEWKT('SRID=4674;POINT (-40.370415 -2.803198)'))) / (select extract(epoch from '2026-07-29 03:38:20'::timestamp) - extract(epoch from '2026-07-29 03:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370352 -2.803223)'), GeomFromEWKT('SRID=4674;POINT (-40.370415 -2.803198)'))) / (select extract(epoch from '2026-07-29 03:38:20'::timestamp) - extract(epoch from '2026-07-29 03:38: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'), 47641, 'SRID=4674;POINT (-40.370465 -2.803183)', '2026-07-29 03:38:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370415 -2.803198)'), GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803183)'))) / (select extract(epoch from '2026-07-29 03:38:29'::timestamp) - extract(epoch from '2026-07-29 03:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370415 -2.803198)'), GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803183)'))) / (select extract(epoch from '2026-07-29 03:38:29'::timestamp) - extract(epoch from '2026-07-29 03:38: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'), 47641, 'SRID=4674;POINT (-40.37051 -2.803168)', '2026-07-29 03:38:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.37051 -2.803168)'))) / (select extract(epoch from '2026-07-29 03:38:38'::timestamp) - extract(epoch from '2026-07-29 03:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.37051 -2.803168)'))) / (select extract(epoch from '2026-07-29 03:38:38'::timestamp) - extract(epoch from '2026-07-29 03:38: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'), 47641, 'SRID=4674;POINT (-40.370573 -2.803156)', '2026-07-29 03:38:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37051 -2.803168)'), GeomFromEWKT('SRID=4674;POINT (-40.370573 -2.803156)'))) / (select extract(epoch from '2026-07-29 03:38:53'::timestamp) - extract(epoch from '2026-07-29 03:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37051 -2.803168)'), GeomFromEWKT('SRID=4674;POINT (-40.370573 -2.803156)'))) / (select extract(epoch from '2026-07-29 03:38:53'::timestamp) - extract(epoch from '2026-07-29 03:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370616 -2.803145)', '2026-07-29 03:39:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370573 -2.803156)'), GeomFromEWKT('SRID=4674;POINT (-40.370616 -2.803145)'))) / (select extract(epoch from '2026-07-29 03:39:01'::timestamp) - extract(epoch from '2026-07-29 03:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370573 -2.803156)'), GeomFromEWKT('SRID=4674;POINT (-40.370616 -2.803145)'))) / (select extract(epoch from '2026-07-29 03:39:01'::timestamp) - extract(epoch from '2026-07-29 03:38: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'), 47641, 'SRID=4674;POINT (-40.370671 -2.803132)', '2026-07-29 03:39:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370616 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.370671 -2.803132)'))) / (select extract(epoch from '2026-07-29 03:39:13'::timestamp) - extract(epoch from '2026-07-29 03:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370616 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.370671 -2.803132)'))) / (select extract(epoch from '2026-07-29 03:39:13'::timestamp) - extract(epoch from '2026-07-29 03:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370717 -2.803119)', '2026-07-29 03:39:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370671 -2.803132)'), GeomFromEWKT('SRID=4674;POINT (-40.370717 -2.803119)'))) / (select extract(epoch from '2026-07-29 03:39:22'::timestamp) - extract(epoch from '2026-07-29 03:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370671 -2.803132)'), GeomFromEWKT('SRID=4674;POINT (-40.370717 -2.803119)'))) / (select extract(epoch from '2026-07-29 03:39:22'::timestamp) - extract(epoch from '2026-07-29 03:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370748 -2.803113)', '2026-07-29 03:39:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370717 -2.803119)'), GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.803113)'))) / (select extract(epoch from '2026-07-29 03:39:29'::timestamp) - extract(epoch from '2026-07-29 03:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370717 -2.803119)'), GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.803113)'))) / (select extract(epoch from '2026-07-29 03:39:29'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47641, 'SRID=4674;POINT (-40.370771 -2.803109)', '2026-07-29 03:39:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.803113)'), GeomFromEWKT('SRID=4674;POINT (-40.370771 -2.803109)'))) / (select extract(epoch from '2026-07-29 03:39:39'::timestamp) - extract(epoch from '2026-07-29 03:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370748 -2.803113)'), GeomFromEWKT('SRID=4674;POINT (-40.370771 -2.803109)'))) / (select extract(epoch from '2026-07-29 03:39:39'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47641, 'SRID=4674;POINT (-40.370801 -2.80311)', '2026-07-29 03:39:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370771 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.370801 -2.80311)'))) / (select extract(epoch from '2026-07-29 03:39:49'::timestamp) - extract(epoch from '2026-07-29 03:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370771 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.370801 -2.80311)'))) / (select extract(epoch from '2026-07-29 03:39:49'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47641, 'SRID=4674;POINT (-40.370856 -2.803098)', '2026-07-29 03:40:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370801 -2.80311)'), GeomFromEWKT('SRID=4674;POINT (-40.370856 -2.803098)'))) / (select extract(epoch from '2026-07-29 03:40:00'::timestamp) - extract(epoch from '2026-07-29 03:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370801 -2.80311)'), GeomFromEWKT('SRID=4674;POINT (-40.370856 -2.803098)'))) / (select extract(epoch from '2026-07-29 03:40:00'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47641, 'SRID=4674;POINT (-40.370919 -2.803086)', '2026-07-29 03:40:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370856 -2.803098)'), GeomFromEWKT('SRID=4674;POINT (-40.370919 -2.803086)'))) / (select extract(epoch from '2026-07-29 03:40:11'::timestamp) - extract(epoch from '2026-07-29 03:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370856 -2.803098)'), GeomFromEWKT('SRID=4674;POINT (-40.370919 -2.803086)'))) / (select extract(epoch from '2026-07-29 03:40:11'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47641, 'SRID=4674;POINT (-40.370975 -2.803071)', '2026-07-29 03:40:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370919 -2.803086)'), GeomFromEWKT('SRID=4674;POINT (-40.370975 -2.803071)'))) / (select extract(epoch from '2026-07-29 03:40:20'::timestamp) - extract(epoch from '2026-07-29 03:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370919 -2.803086)'), GeomFromEWKT('SRID=4674;POINT (-40.370975 -2.803071)'))) / (select extract(epoch from '2026-07-29 03:40:20'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47641, 'SRID=4674;POINT (-40.371018 -2.803058)', '2026-07-29 03:40:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370975 -2.803071)'), GeomFromEWKT('SRID=4674;POINT (-40.371018 -2.803058)'))) / (select extract(epoch from '2026-07-29 03:40:27'::timestamp) - extract(epoch from '2026-07-29 03:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370975 -2.803071)'), GeomFromEWKT('SRID=4674;POINT (-40.371018 -2.803058)'))) / (select extract(epoch from '2026-07-29 03:40:27'::timestamp) - extract(epoch from '2026-07-29 03:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37107 -2.803025)', '2026-07-29 03:40:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371018 -2.803058)'), GeomFromEWKT('SRID=4674;POINT (-40.37107 -2.803025)'))) / (select extract(epoch from '2026-07-29 03:40:37'::timestamp) - extract(epoch from '2026-07-29 03:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371018 -2.803058)'), GeomFromEWKT('SRID=4674;POINT (-40.37107 -2.803025)'))) / (select extract(epoch from '2026-07-29 03:40:37'::timestamp) - extract(epoch from '2026-07-29 03:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371111 -2.803009)', '2026-07-29 03:40:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37107 -2.803025)'), GeomFromEWKT('SRID=4674;POINT (-40.371111 -2.803009)'))) / (select extract(epoch from '2026-07-29 03:40:45'::timestamp) - extract(epoch from '2026-07-29 03:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37107 -2.803025)'), GeomFromEWKT('SRID=4674;POINT (-40.371111 -2.803009)'))) / (select extract(epoch from '2026-07-29 03:40:45'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47641, 'SRID=4674;POINT (-40.371155 -2.80299)', '2026-07-29 03:40:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371111 -2.803009)'), GeomFromEWKT('SRID=4674;POINT (-40.371155 -2.80299)'))) / (select extract(epoch from '2026-07-29 03:40:53'::timestamp) - extract(epoch from '2026-07-29 03:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371111 -2.803009)'), GeomFromEWKT('SRID=4674;POINT (-40.371155 -2.80299)'))) / (select extract(epoch from '2026-07-29 03:40:53'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47641, 'SRID=4674;POINT (-40.371211 -2.802962)', '2026-07-29 03:41:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371155 -2.80299)'), GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.802962)'))) / (select extract(epoch from '2026-07-29 03:41:04'::timestamp) - extract(epoch from '2026-07-29 03:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371155 -2.80299)'), GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.802962)'))) / (select extract(epoch from '2026-07-29 03:41:04'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47641, 'SRID=4674;POINT (-40.37125 -2.802954)', '2026-07-29 03:41:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.802962)'), GeomFromEWKT('SRID=4674;POINT (-40.37125 -2.802954)'))) / (select extract(epoch from '2026-07-29 03:41:11'::timestamp) - extract(epoch from '2026-07-29 03:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.802962)'), GeomFromEWKT('SRID=4674;POINT (-40.37125 -2.802954)'))) / (select extract(epoch from '2026-07-29 03:41:11'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47641, 'SRID=4674;POINT (-40.371304 -2.802936)', '2026-07-29 03:41:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37125 -2.802954)'), GeomFromEWKT('SRID=4674;POINT (-40.371304 -2.802936)'))) / (select extract(epoch from '2026-07-29 03:41:20'::timestamp) - extract(epoch from '2026-07-29 03:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37125 -2.802954)'), GeomFromEWKT('SRID=4674;POINT (-40.371304 -2.802936)'))) / (select extract(epoch from '2026-07-29 03:41:20'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47641, 'SRID=4674;POINT (-40.371344 -2.802924)', '2026-07-29 03:41:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371304 -2.802936)'), GeomFromEWKT('SRID=4674;POINT (-40.371344 -2.802924)'))) / (select extract(epoch from '2026-07-29 03:41:27'::timestamp) - extract(epoch from '2026-07-29 03:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371304 -2.802936)'), GeomFromEWKT('SRID=4674;POINT (-40.371344 -2.802924)'))) / (select extract(epoch from '2026-07-29 03:41:27'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47641, 'SRID=4674;POINT (-40.371383 -2.802908)', '2026-07-29 03:41:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371344 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.371383 -2.802908)'))) / (select extract(epoch from '2026-07-29 03:41:34'::timestamp) - extract(epoch from '2026-07-29 03:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371344 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.371383 -2.802908)'))) / (select extract(epoch from '2026-07-29 03:41:34'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47641, 'SRID=4674;POINT (-40.371428 -2.802896)', '2026-07-29 03:41:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371383 -2.802908)'), GeomFromEWKT('SRID=4674;POINT (-40.371428 -2.802896)'))) / (select extract(epoch from '2026-07-29 03:41:42'::timestamp) - extract(epoch from '2026-07-29 03:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371383 -2.802908)'), GeomFromEWKT('SRID=4674;POINT (-40.371428 -2.802896)'))) / (select extract(epoch from '2026-07-29 03:41:42'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47641, 'SRID=4674;POINT (-40.371481 -2.802884)', '2026-07-29 03:41:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371428 -2.802896)'), GeomFromEWKT('SRID=4674;POINT (-40.371481 -2.802884)'))) / (select extract(epoch from '2026-07-29 03:41:51'::timestamp) - extract(epoch from '2026-07-29 03:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371428 -2.802896)'), GeomFromEWKT('SRID=4674;POINT (-40.371481 -2.802884)'))) / (select extract(epoch from '2026-07-29 03:41:51'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47641, 'SRID=4674;POINT (-40.371521 -2.802872)', '2026-07-29 03:41:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371481 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.371521 -2.802872)'))) / (select extract(epoch from '2026-07-29 03:41:58'::timestamp) - extract(epoch from '2026-07-29 03:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371481 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.371521 -2.802872)'))) / (select extract(epoch from '2026-07-29 03:41:58'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.371576 -2.802853)', '2026-07-29 03:42:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371521 -2.802872)'), GeomFromEWKT('SRID=4674;POINT (-40.371576 -2.802853)'))) / (select extract(epoch from '2026-07-29 03:42:07'::timestamp) - extract(epoch from '2026-07-29 03:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371521 -2.802872)'), GeomFromEWKT('SRID=4674;POINT (-40.371576 -2.802853)'))) / (select extract(epoch from '2026-07-29 03:42:07'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47641, 'SRID=4674;POINT (-40.371621 -2.802845)', '2026-07-29 03:42:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371576 -2.802853)'), GeomFromEWKT('SRID=4674;POINT (-40.371621 -2.802845)'))) / (select extract(epoch from '2026-07-29 03:42:15'::timestamp) - extract(epoch from '2026-07-29 03:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371576 -2.802853)'), GeomFromEWKT('SRID=4674;POINT (-40.371621 -2.802845)'))) / (select extract(epoch from '2026-07-29 03:42:15'::timestamp) - extract(epoch from '2026-07-29 03:42: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'), 47641, 'SRID=4674;POINT (-40.371676 -2.802824)', '2026-07-29 03:42:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371621 -2.802845)'), GeomFromEWKT('SRID=4674;POINT (-40.371676 -2.802824)'))) / (select extract(epoch from '2026-07-29 03:42:23'::timestamp) - extract(epoch from '2026-07-29 03:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371621 -2.802845)'), GeomFromEWKT('SRID=4674;POINT (-40.371676 -2.802824)'))) / (select extract(epoch from '2026-07-29 03:42:23'::timestamp) - extract(epoch from '2026-07-29 03:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371752 -2.802794)', '2026-07-29 03:42:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371676 -2.802824)'), GeomFromEWKT('SRID=4674;POINT (-40.371752 -2.802794)'))) / (select extract(epoch from '2026-07-29 03:42:34'::timestamp) - extract(epoch from '2026-07-29 03:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371676 -2.802824)'), GeomFromEWKT('SRID=4674;POINT (-40.371752 -2.802794)'))) / (select extract(epoch from '2026-07-29 03:42:34'::timestamp) - extract(epoch from '2026-07-29 03:42: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'), 47641, 'SRID=4674;POINT (-40.371821 -2.802779)', '2026-07-29 03:42:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371752 -2.802794)'), GeomFromEWKT('SRID=4674;POINT (-40.371821 -2.802779)'))) / (select extract(epoch from '2026-07-29 03:42:46'::timestamp) - extract(epoch from '2026-07-29 03:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371752 -2.802794)'), GeomFromEWKT('SRID=4674;POINT (-40.371821 -2.802779)'))) / (select extract(epoch from '2026-07-29 03:42:46'::timestamp) - extract(epoch from '2026-07-29 03:42: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'), 47641, 'SRID=4674;POINT (-40.371869 -2.802777)', '2026-07-29 03:42:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371821 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.371869 -2.802777)'))) / (select extract(epoch from '2026-07-29 03:42:54'::timestamp) - extract(epoch from '2026-07-29 03:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371821 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.371869 -2.802777)'))) / (select extract(epoch from '2026-07-29 03:42:54'::timestamp) - extract(epoch from '2026-07-29 03:42: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'), 47641, 'SRID=4674;POINT (-40.371928 -2.802773)', '2026-07-29 03:43:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371869 -2.802777)'), GeomFromEWKT('SRID=4674;POINT (-40.371928 -2.802773)'))) / (select extract(epoch from '2026-07-29 03:43:02'::timestamp) - extract(epoch from '2026-07-29 03:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371869 -2.802777)'), GeomFromEWKT('SRID=4674;POINT (-40.371928 -2.802773)'))) / (select extract(epoch from '2026-07-29 03:43:02'::timestamp) - extract(epoch from '2026-07-29 03:42: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'), 47641, 'SRID=4674;POINT (-40.371993 -2.80276)', '2026-07-29 03:43:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371928 -2.802773)'), GeomFromEWKT('SRID=4674;POINT (-40.371993 -2.80276)'))) / (select extract(epoch from '2026-07-29 03:43:10'::timestamp) - extract(epoch from '2026-07-29 03:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371928 -2.802773)'), GeomFromEWKT('SRID=4674;POINT (-40.371993 -2.80276)'))) / (select extract(epoch from '2026-07-29 03:43:10'::timestamp) - extract(epoch from '2026-07-29 03:43: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'), 47641, 'SRID=4674;POINT (-40.372023 -2.802748)', '2026-07-29 03:43:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371993 -2.80276)'), GeomFromEWKT('SRID=4674;POINT (-40.372023 -2.802748)'))) / (select extract(epoch from '2026-07-29 03:43:14'::timestamp) - extract(epoch from '2026-07-29 03:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371993 -2.80276)'), GeomFromEWKT('SRID=4674;POINT (-40.372023 -2.802748)'))) / (select extract(epoch from '2026-07-29 03:43:14'::timestamp) - extract(epoch from '2026-07-29 03:43: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'), 47641, 'SRID=4674;POINT (-40.372044 -2.802747)', '2026-07-29 03:43:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372023 -2.802748)'), GeomFromEWKT('SRID=4674;POINT (-40.372044 -2.802747)'))) / (select extract(epoch from '2026-07-29 03:43:17'::timestamp) - extract(epoch from '2026-07-29 03:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372023 -2.802748)'), GeomFromEWKT('SRID=4674;POINT (-40.372044 -2.802747)'))) / (select extract(epoch from '2026-07-29 03:43:17'::timestamp) - extract(epoch from '2026-07-29 03:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372081 -2.802741)', '2026-07-29 03:43:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372044 -2.802747)'), GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.802741)'))) / (select extract(epoch from '2026-07-29 03:43:26'::timestamp) - extract(epoch from '2026-07-29 03:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372044 -2.802747)'), GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.802741)'))) / (select extract(epoch from '2026-07-29 03:43:26'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.372125 -2.802746)', '2026-07-29 03:43:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.802741)'), GeomFromEWKT('SRID=4674;POINT (-40.372125 -2.802746)'))) / (select extract(epoch from '2026-07-29 03:43:36'::timestamp) - extract(epoch from '2026-07-29 03:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.802741)'), GeomFromEWKT('SRID=4674;POINT (-40.372125 -2.802746)'))) / (select extract(epoch from '2026-07-29 03:43:36'::timestamp) - extract(epoch from '2026-07-29 03:43: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'), 47641, 'SRID=4674;POINT (-40.372157 -2.802751)', '2026-07-29 03:43:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372125 -2.802746)'), GeomFromEWKT('SRID=4674;POINT (-40.372157 -2.802751)'))) / (select extract(epoch from '2026-07-29 03:43:42'::timestamp) - extract(epoch from '2026-07-29 03:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372125 -2.802746)'), GeomFromEWKT('SRID=4674;POINT (-40.372157 -2.802751)'))) / (select extract(epoch from '2026-07-29 03:43:42'::timestamp) - extract(epoch from '2026-07-29 03:43: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'), 47641, 'SRID=4674;POINT (-40.372198 -2.802753)', '2026-07-29 03:43:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372157 -2.802751)'), GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.802753)'))) / (select extract(epoch from '2026-07-29 03:43:49'::timestamp) - extract(epoch from '2026-07-29 03:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372157 -2.802751)'), GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.802753)'))) / (select extract(epoch from '2026-07-29 03:43:49'::timestamp) - extract(epoch from '2026-07-29 03:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372255 -2.802755)', '2026-07-29 03:43:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.802753)'), GeomFromEWKT('SRID=4674;POINT (-40.372255 -2.802755)'))) / (select extract(epoch from '2026-07-29 03:43:59'::timestamp) - extract(epoch from '2026-07-29 03:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.802753)'), GeomFromEWKT('SRID=4674;POINT (-40.372255 -2.802755)'))) / (select extract(epoch from '2026-07-29 03:43:59'::timestamp) - extract(epoch from '2026-07-29 03:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372314 -2.802747)', '2026-07-29 03:44:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372255 -2.802755)'), GeomFromEWKT('SRID=4674;POINT (-40.372314 -2.802747)'))) / (select extract(epoch from '2026-07-29 03:44:07'::timestamp) - extract(epoch from '2026-07-29 03:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372255 -2.802755)'), GeomFromEWKT('SRID=4674;POINT (-40.372314 -2.802747)'))) / (select extract(epoch from '2026-07-29 03:44:07'::timestamp) - extract(epoch from '2026-07-29 03:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372385 -2.802728)', '2026-07-29 03:44:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372314 -2.802747)'), GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802728)'))) / (select extract(epoch from '2026-07-29 03:44:16'::timestamp) - extract(epoch from '2026-07-29 03:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372314 -2.802747)'), GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802728)'))) / (select extract(epoch from '2026-07-29 03:44:16'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372431 -2.802715)', '2026-07-29 03:44:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802728)'), GeomFromEWKT('SRID=4674;POINT (-40.372431 -2.802715)'))) / (select extract(epoch from '2026-07-29 03:44:22'::timestamp) - extract(epoch from '2026-07-29 03:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802728)'), GeomFromEWKT('SRID=4674;POINT (-40.372431 -2.802715)'))) / (select extract(epoch from '2026-07-29 03:44:22'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372438 -2.802713)', '2026-07-29 03:44:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372431 -2.802715)'), GeomFromEWKT('SRID=4674;POINT (-40.372438 -2.802713)'))) / (select extract(epoch from '2026-07-29 03:44:23'::timestamp) - extract(epoch from '2026-07-29 03:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372431 -2.802715)'), GeomFromEWKT('SRID=4674;POINT (-40.372438 -2.802713)'))) / (select extract(epoch from '2026-07-29 03:44:23'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.372489 -2.802699)', '2026-07-29 03:44:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372438 -2.802713)'), GeomFromEWKT('SRID=4674;POINT (-40.372489 -2.802699)'))) / (select extract(epoch from '2026-07-29 03:44:29'::timestamp) - extract(epoch from '2026-07-29 03:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372438 -2.802713)'), GeomFromEWKT('SRID=4674;POINT (-40.372489 -2.802699)'))) / (select extract(epoch from '2026-07-29 03:44:29'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372504 -2.802695)', '2026-07-29 03:44:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372489 -2.802699)'), GeomFromEWKT('SRID=4674;POINT (-40.372504 -2.802695)'))) / (select extract(epoch from '2026-07-29 03:44:31'::timestamp) - extract(epoch from '2026-07-29 03:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372489 -2.802699)'), GeomFromEWKT('SRID=4674;POINT (-40.372504 -2.802695)'))) / (select extract(epoch from '2026-07-29 03:44:31'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372527 -2.802688)', '2026-07-29 03:44:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372504 -2.802695)'), GeomFromEWKT('SRID=4674;POINT (-40.372527 -2.802688)'))) / (select extract(epoch from '2026-07-29 03:44:34'::timestamp) - extract(epoch from '2026-07-29 03:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372504 -2.802695)'), GeomFromEWKT('SRID=4674;POINT (-40.372527 -2.802688)'))) / (select extract(epoch from '2026-07-29 03:44:34'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372551 -2.80268)', '2026-07-29 03:44:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372527 -2.802688)'), GeomFromEWKT('SRID=4674;POINT (-40.372551 -2.80268)'))) / (select extract(epoch from '2026-07-29 03:44:37'::timestamp) - extract(epoch from '2026-07-29 03:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372527 -2.802688)'), GeomFromEWKT('SRID=4674;POINT (-40.372551 -2.80268)'))) / (select extract(epoch from '2026-07-29 03:44:37'::timestamp) - extract(epoch from '2026-07-29 03:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372562 -2.802679)', '2026-07-29 03:44:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372551 -2.80268)'), GeomFromEWKT('SRID=4674;POINT (-40.372562 -2.802679)'))) / (select extract(epoch from '2026-07-29 03:44:38'::timestamp) - extract(epoch from '2026-07-29 03:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372551 -2.80268)'), GeomFromEWKT('SRID=4674;POINT (-40.372562 -2.802679)'))) / (select extract(epoch from '2026-07-29 03:44:38'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.37257 -2.802674)', '2026-07-29 03:44:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372562 -2.802679)'), GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802674)'))) / (select extract(epoch from '2026-07-29 03:44:39'::timestamp) - extract(epoch from '2026-07-29 03:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372562 -2.802679)'), GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802674)'))) / (select extract(epoch from '2026-07-29 03:44:39'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372602 -2.802662)', '2026-07-29 03:44:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802674)'), GeomFromEWKT('SRID=4674;POINT (-40.372602 -2.802662)'))) / (select extract(epoch from '2026-07-29 03:44:43'::timestamp) - extract(epoch from '2026-07-29 03:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802674)'), GeomFromEWKT('SRID=4674;POINT (-40.372602 -2.802662)'))) / (select extract(epoch from '2026-07-29 03:44:43'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372626 -2.802649)', '2026-07-29 03:44:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372602 -2.802662)'), GeomFromEWKT('SRID=4674;POINT (-40.372626 -2.802649)'))) / (select extract(epoch from '2026-07-29 03:44:46'::timestamp) - extract(epoch from '2026-07-29 03:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372602 -2.802662)'), GeomFromEWKT('SRID=4674;POINT (-40.372626 -2.802649)'))) / (select extract(epoch from '2026-07-29 03:44:46'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372649 -2.802638)', '2026-07-29 03:44:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372626 -2.802649)'), GeomFromEWKT('SRID=4674;POINT (-40.372649 -2.802638)'))) / (select extract(epoch from '2026-07-29 03:44:49'::timestamp) - extract(epoch from '2026-07-29 03:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372626 -2.802649)'), GeomFromEWKT('SRID=4674;POINT (-40.372649 -2.802638)'))) / (select extract(epoch from '2026-07-29 03:44:49'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.37269 -2.802615)', '2026-07-29 03:44:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372649 -2.802638)'), GeomFromEWKT('SRID=4674;POINT (-40.37269 -2.802615)'))) / (select extract(epoch from '2026-07-29 03:44:55'::timestamp) - extract(epoch from '2026-07-29 03:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372649 -2.802638)'), GeomFromEWKT('SRID=4674;POINT (-40.37269 -2.802615)'))) / (select extract(epoch from '2026-07-29 03:44:55'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372699 -2.802614)', '2026-07-29 03:44:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37269 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.372699 -2.802614)'))) / (select extract(epoch from '2026-07-29 03:44:56'::timestamp) - extract(epoch from '2026-07-29 03:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37269 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.372699 -2.802614)'))) / (select extract(epoch from '2026-07-29 03:44:56'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.372705 -2.80261)', '2026-07-29 03:44:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372699 -2.802614)'), GeomFromEWKT('SRID=4674;POINT (-40.372705 -2.80261)'))) / (select extract(epoch from '2026-07-29 03:44:57'::timestamp) - extract(epoch from '2026-07-29 03:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372699 -2.802614)'), GeomFromEWKT('SRID=4674;POINT (-40.372705 -2.80261)'))) / (select extract(epoch from '2026-07-29 03:44:57'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372738 -2.802601)', '2026-07-29 03:45:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372705 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.372738 -2.802601)'))) / (select extract(epoch from '2026-07-29 03:45:01'::timestamp) - extract(epoch from '2026-07-29 03:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372705 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.372738 -2.802601)'))) / (select extract(epoch from '2026-07-29 03:45:01'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47641, 'SRID=4674;POINT (-40.372746 -2.802599)', '2026-07-29 03:45:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372738 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.802599)'))) / (select extract(epoch from '2026-07-29 03:45:02'::timestamp) - extract(epoch from '2026-07-29 03:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372738 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.802599)'))) / (select extract(epoch from '2026-07-29 03:45:02'::timestamp) - extract(epoch from '2026-07-29 03:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372764 -2.802594)', '2026-07-29 03:45:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.802599)'), GeomFromEWKT('SRID=4674;POINT (-40.372764 -2.802594)'))) / (select extract(epoch from '2026-07-29 03:45:04'::timestamp) - extract(epoch from '2026-07-29 03:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.802599)'), GeomFromEWKT('SRID=4674;POINT (-40.372764 -2.802594)'))) / (select extract(epoch from '2026-07-29 03:45:04'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.372777 -2.802586)', '2026-07-29 03:45:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372764 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.372777 -2.802586)'))) / (select extract(epoch from '2026-07-29 03:45:06'::timestamp) - extract(epoch from '2026-07-29 03:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372764 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.372777 -2.802586)'))) / (select extract(epoch from '2026-07-29 03:45:06'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.37279 -2.802588)', '2026-07-29 03:45:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372777 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.37279 -2.802588)'))) / (select extract(epoch from '2026-07-29 03:45:07'::timestamp) - extract(epoch from '2026-07-29 03:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372777 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.37279 -2.802588)'))) / (select extract(epoch from '2026-07-29 03:45:07'::timestamp) - extract(epoch from '2026-07-29 03:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372798 -2.802586)', '2026-07-29 03:45:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37279 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.372798 -2.802586)'))) / (select extract(epoch from '2026-07-29 03:45:08'::timestamp) - extract(epoch from '2026-07-29 03:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37279 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.372798 -2.802586)'))) / (select extract(epoch from '2026-07-29 03:45:08'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.372822 -2.802576)', '2026-07-29 03:45:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372798 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.802576)'))) / (select extract(epoch from '2026-07-29 03:45:11'::timestamp) - extract(epoch from '2026-07-29 03:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372798 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.802576)'))) / (select extract(epoch from '2026-07-29 03:45:11'::timestamp) - extract(epoch from '2026-07-29 03:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372854 -2.802566)', '2026-07-29 03:45:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.802576)'), GeomFromEWKT('SRID=4674;POINT (-40.372854 -2.802566)'))) / (select extract(epoch from '2026-07-29 03:45:15'::timestamp) - extract(epoch from '2026-07-29 03:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372822 -2.802576)'), GeomFromEWKT('SRID=4674;POINT (-40.372854 -2.802566)'))) / (select extract(epoch from '2026-07-29 03:45:15'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.372884 -2.802551)', '2026-07-29 03:45:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372854 -2.802566)'), GeomFromEWKT('SRID=4674;POINT (-40.372884 -2.802551)'))) / (select extract(epoch from '2026-07-29 03:45:19'::timestamp) - extract(epoch from '2026-07-29 03:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372854 -2.802566)'), GeomFromEWKT('SRID=4674;POINT (-40.372884 -2.802551)'))) / (select extract(epoch from '2026-07-29 03:45:19'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.372899 -2.802549)', '2026-07-29 03:45:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372884 -2.802551)'), GeomFromEWKT('SRID=4674;POINT (-40.372899 -2.802549)'))) / (select extract(epoch from '2026-07-29 03:45:21'::timestamp) - extract(epoch from '2026-07-29 03:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372884 -2.802551)'), GeomFromEWKT('SRID=4674;POINT (-40.372899 -2.802549)'))) / (select extract(epoch from '2026-07-29 03:45:21'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.372933 -2.802532)', '2026-07-29 03:45:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372899 -2.802549)'), GeomFromEWKT('SRID=4674;POINT (-40.372933 -2.802532)'))) / (select extract(epoch from '2026-07-29 03:45:26'::timestamp) - extract(epoch from '2026-07-29 03:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372899 -2.802549)'), GeomFromEWKT('SRID=4674;POINT (-40.372933 -2.802532)'))) / (select extract(epoch from '2026-07-29 03:45:26'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.373 -2.802508)', '2026-07-29 03:45:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372933 -2.802532)'), GeomFromEWKT('SRID=4674;POINT (-40.373 -2.802508)'))) / (select extract(epoch from '2026-07-29 03:45:35'::timestamp) - extract(epoch from '2026-07-29 03:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372933 -2.802532)'), GeomFromEWKT('SRID=4674;POINT (-40.373 -2.802508)'))) / (select extract(epoch from '2026-07-29 03:45:35'::timestamp) - extract(epoch from '2026-07-29 03:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373026 -2.802505)', '2026-07-29 03:45:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373 -2.802508)'), GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.802505)'))) / (select extract(epoch from '2026-07-29 03:45:38'::timestamp) - extract(epoch from '2026-07-29 03:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373 -2.802508)'), GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.802505)'))) / (select extract(epoch from '2026-07-29 03:45:38'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.373046 -2.802491)', '2026-07-29 03:45:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.373046 -2.802491)'))) / (select extract(epoch from '2026-07-29 03:45:41'::timestamp) - extract(epoch from '2026-07-29 03:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.373046 -2.802491)'))) / (select extract(epoch from '2026-07-29 03:45:41'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.373111 -2.802461)', '2026-07-29 03:45:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373046 -2.802491)'), GeomFromEWKT('SRID=4674;POINT (-40.373111 -2.802461)'))) / (select extract(epoch from '2026-07-29 03:45:51'::timestamp) - extract(epoch from '2026-07-29 03:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373046 -2.802491)'), GeomFromEWKT('SRID=4674;POINT (-40.373111 -2.802461)'))) / (select extract(epoch from '2026-07-29 03:45:51'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47641, 'SRID=4674;POINT (-40.373166 -2.802436)', '2026-07-29 03:45:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373111 -2.802461)'), GeomFromEWKT('SRID=4674;POINT (-40.373166 -2.802436)'))) / (select extract(epoch from '2026-07-29 03:45:59'::timestamp) - extract(epoch from '2026-07-29 03:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373111 -2.802461)'), GeomFromEWKT('SRID=4674;POINT (-40.373166 -2.802436)'))) / (select extract(epoch from '2026-07-29 03:45:59'::timestamp) - extract(epoch from '2026-07-29 03:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373244 -2.8024)', '2026-07-29 03:46:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373166 -2.802436)'), GeomFromEWKT('SRID=4674;POINT (-40.373244 -2.8024)'))) / (select extract(epoch from '2026-07-29 03:46:11'::timestamp) - extract(epoch from '2026-07-29 03:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373166 -2.802436)'), GeomFromEWKT('SRID=4674;POINT (-40.373244 -2.8024)'))) / (select extract(epoch from '2026-07-29 03:46:11'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.373294 -2.802383)', '2026-07-29 03:46:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373244 -2.8024)'), GeomFromEWKT('SRID=4674;POINT (-40.373294 -2.802383)'))) / (select extract(epoch from '2026-07-29 03:46:18'::timestamp) - extract(epoch from '2026-07-29 03:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373244 -2.8024)'), GeomFromEWKT('SRID=4674;POINT (-40.373294 -2.802383)'))) / (select extract(epoch from '2026-07-29 03:46:18'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373365 -2.802363)', '2026-07-29 03:46:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373294 -2.802383)'), GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802363)'))) / (select extract(epoch from '2026-07-29 03:46:27'::timestamp) - extract(epoch from '2026-07-29 03:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373294 -2.802383)'), GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802363)'))) / (select extract(epoch from '2026-07-29 03:46:27'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373413 -2.802345)', '2026-07-29 03:46:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802363)'), GeomFromEWKT('SRID=4674;POINT (-40.373413 -2.802345)'))) / (select extract(epoch from '2026-07-29 03:46:33'::timestamp) - extract(epoch from '2026-07-29 03:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802363)'), GeomFromEWKT('SRID=4674;POINT (-40.373413 -2.802345)'))) / (select extract(epoch from '2026-07-29 03:46:33'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.373432 -2.802343)', '2026-07-29 03:46:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373413 -2.802345)'), GeomFromEWKT('SRID=4674;POINT (-40.373432 -2.802343)'))) / (select extract(epoch from '2026-07-29 03:46:35'::timestamp) - extract(epoch from '2026-07-29 03:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373413 -2.802345)'), GeomFromEWKT('SRID=4674;POINT (-40.373432 -2.802343)'))) / (select extract(epoch from '2026-07-29 03:46:35'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373463 -2.802326)', '2026-07-29 03:46:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373432 -2.802343)'), GeomFromEWKT('SRID=4674;POINT (-40.373463 -2.802326)'))) / (select extract(epoch from '2026-07-29 03:46:39'::timestamp) - extract(epoch from '2026-07-29 03:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373432 -2.802343)'), GeomFromEWKT('SRID=4674;POINT (-40.373463 -2.802326)'))) / (select extract(epoch from '2026-07-29 03:46:39'::timestamp) - extract(epoch from '2026-07-29 03:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373482 -2.802322)', '2026-07-29 03:46:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373463 -2.802326)'), GeomFromEWKT('SRID=4674;POINT (-40.373482 -2.802322)'))) / (select extract(epoch from '2026-07-29 03:46:41'::timestamp) - extract(epoch from '2026-07-29 03:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373463 -2.802326)'), GeomFromEWKT('SRID=4674;POINT (-40.373482 -2.802322)'))) / (select extract(epoch from '2026-07-29 03:46:41'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373489 -2.802318)', '2026-07-29 03:46:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373482 -2.802322)'), GeomFromEWKT('SRID=4674;POINT (-40.373489 -2.802318)'))) / (select extract(epoch from '2026-07-29 03:46:42'::timestamp) - extract(epoch from '2026-07-29 03:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373482 -2.802322)'), GeomFromEWKT('SRID=4674;POINT (-40.373489 -2.802318)'))) / (select extract(epoch from '2026-07-29 03:46:42'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.373548 -2.802293)', '2026-07-29 03:46:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373489 -2.802318)'), GeomFromEWKT('SRID=4674;POINT (-40.373548 -2.802293)'))) / (select extract(epoch from '2026-07-29 03:46:49'::timestamp) - extract(epoch from '2026-07-29 03:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373489 -2.802318)'), GeomFromEWKT('SRID=4674;POINT (-40.373548 -2.802293)'))) / (select extract(epoch from '2026-07-29 03:46:49'::timestamp) - extract(epoch from '2026-07-29 03:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373575 -2.802286)', '2026-07-29 03:46:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373548 -2.802293)'), GeomFromEWKT('SRID=4674;POINT (-40.373575 -2.802286)'))) / (select extract(epoch from '2026-07-29 03:46:52'::timestamp) - extract(epoch from '2026-07-29 03:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373548 -2.802293)'), GeomFromEWKT('SRID=4674;POINT (-40.373575 -2.802286)'))) / (select extract(epoch from '2026-07-29 03:46:52'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373601 -2.802277)', '2026-07-29 03:46:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373575 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802277)'))) / (select extract(epoch from '2026-07-29 03:46:55'::timestamp) - extract(epoch from '2026-07-29 03:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373575 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802277)'))) / (select extract(epoch from '2026-07-29 03:46:55'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373617 -2.802273)', '2026-07-29 03:46:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802277)'), GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.802273)'))) / (select extract(epoch from '2026-07-29 03:46:57'::timestamp) - extract(epoch from '2026-07-29 03:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802277)'), GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.802273)'))) / (select extract(epoch from '2026-07-29 03:46:57'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373637 -2.80227)', '2026-07-29 03:46:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.802273)'), GeomFromEWKT('SRID=4674;POINT (-40.373637 -2.80227)'))) / (select extract(epoch from '2026-07-29 03:46:59'::timestamp) - extract(epoch from '2026-07-29 03:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373617 -2.802273)'), GeomFromEWKT('SRID=4674;POINT (-40.373637 -2.80227)'))) / (select extract(epoch from '2026-07-29 03:46:59'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47641, 'SRID=4674;POINT (-40.373652 -2.802262)', '2026-07-29 03:47:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373637 -2.80227)'), GeomFromEWKT('SRID=4674;POINT (-40.373652 -2.802262)'))) / (select extract(epoch from '2026-07-29 03:47:01'::timestamp) - extract(epoch from '2026-07-29 03:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373637 -2.80227)'), GeomFromEWKT('SRID=4674;POINT (-40.373652 -2.802262)'))) / (select extract(epoch from '2026-07-29 03:47:01'::timestamp) - extract(epoch from '2026-07-29 03:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373692 -2.802251)', '2026-07-29 03:47:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373652 -2.802262)'), GeomFromEWKT('SRID=4674;POINT (-40.373692 -2.802251)'))) / (select extract(epoch from '2026-07-29 03:47:06'::timestamp) - extract(epoch from '2026-07-29 03:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373652 -2.802262)'), GeomFromEWKT('SRID=4674;POINT (-40.373692 -2.802251)'))) / (select extract(epoch from '2026-07-29 03:47:06'::timestamp) - extract(epoch from '2026-07-29 03:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373707 -2.802245)', '2026-07-29 03:47:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373692 -2.802251)'), GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802245)'))) / (select extract(epoch from '2026-07-29 03:47:08'::timestamp) - extract(epoch from '2026-07-29 03:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373692 -2.802251)'), GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802245)'))) / (select extract(epoch from '2026-07-29 03:47:08'::timestamp) - extract(epoch from '2026-07-29 03:47: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'), 47641, 'SRID=4674;POINT (-40.37374 -2.802237)', '2026-07-29 03:47:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802245)'), GeomFromEWKT('SRID=4674;POINT (-40.37374 -2.802237)'))) / (select extract(epoch from '2026-07-29 03:47:12'::timestamp) - extract(epoch from '2026-07-29 03:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802245)'), GeomFromEWKT('SRID=4674;POINT (-40.37374 -2.802237)'))) / (select extract(epoch from '2026-07-29 03:47:12'::timestamp) - extract(epoch from '2026-07-29 03:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373768 -2.802226)', '2026-07-29 03:47:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37374 -2.802237)'), GeomFromEWKT('SRID=4674;POINT (-40.373768 -2.802226)'))) / (select extract(epoch from '2026-07-29 03:47:16'::timestamp) - extract(epoch from '2026-07-29 03:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37374 -2.802237)'), GeomFromEWKT('SRID=4674;POINT (-40.373768 -2.802226)'))) / (select extract(epoch from '2026-07-29 03:47:16'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.37383 -2.802206)', '2026-07-29 03:47:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373768 -2.802226)'), GeomFromEWKT('SRID=4674;POINT (-40.37383 -2.802206)'))) / (select extract(epoch from '2026-07-29 03:47:24'::timestamp) - extract(epoch from '2026-07-29 03:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373768 -2.802226)'), GeomFromEWKT('SRID=4674;POINT (-40.37383 -2.802206)'))) / (select extract(epoch from '2026-07-29 03:47:24'::timestamp) - extract(epoch from '2026-07-29 03:47: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'), 47641, 'SRID=4674;POINT (-40.373886 -2.802188)', '2026-07-29 03:47:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37383 -2.802206)'), GeomFromEWKT('SRID=4674;POINT (-40.373886 -2.802188)'))) / (select extract(epoch from '2026-07-29 03:47:32'::timestamp) - extract(epoch from '2026-07-29 03:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37383 -2.802206)'), GeomFromEWKT('SRID=4674;POINT (-40.373886 -2.802188)'))) / (select extract(epoch from '2026-07-29 03:47:32'::timestamp) - extract(epoch from '2026-07-29 03:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373937 -2.802163)', '2026-07-29 03:47:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373886 -2.802188)'), GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.802163)'))) / (select extract(epoch from '2026-07-29 03:47:40'::timestamp) - extract(epoch from '2026-07-29 03:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373886 -2.802188)'), GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.802163)'))) / (select extract(epoch from '2026-07-29 03:47:40'::timestamp) - extract(epoch from '2026-07-29 03:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37398 -2.802146)', '2026-07-29 03:47:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.37398 -2.802146)'))) / (select extract(epoch from '2026-07-29 03:47:47'::timestamp) - extract(epoch from '2026-07-29 03:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.37398 -2.802146)'))) / (select extract(epoch from '2026-07-29 03:47:47'::timestamp) - extract(epoch from '2026-07-29 03:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374036 -2.802123)', '2026-07-29 03:47:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37398 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.374036 -2.802123)'))) / (select extract(epoch from '2026-07-29 03:47:55'::timestamp) - extract(epoch from '2026-07-29 03:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37398 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.374036 -2.802123)'))) / (select extract(epoch from '2026-07-29 03:47:55'::timestamp) - extract(epoch from '2026-07-29 03:47: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'), 47641, 'SRID=4674;POINT (-40.374084 -2.802105)', '2026-07-29 03:48:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374036 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.374084 -2.802105)'))) / (select extract(epoch from '2026-07-29 03:48:02'::timestamp) - extract(epoch from '2026-07-29 03:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374036 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.374084 -2.802105)'))) / (select extract(epoch from '2026-07-29 03:48:02'::timestamp) - extract(epoch from '2026-07-29 03:47: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'), 47641, 'SRID=4674;POINT (-40.374107 -2.802095)', '2026-07-29 03:48:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374084 -2.802105)'), GeomFromEWKT('SRID=4674;POINT (-40.374107 -2.802095)'))) / (select extract(epoch from '2026-07-29 03:48:06'::timestamp) - extract(epoch from '2026-07-29 03:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374084 -2.802105)'), GeomFromEWKT('SRID=4674;POINT (-40.374107 -2.802095)'))) / (select extract(epoch from '2026-07-29 03:48:06'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47641, 'SRID=4674;POINT (-40.374127 -2.802089)', '2026-07-29 03:48:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374107 -2.802095)'), GeomFromEWKT('SRID=4674;POINT (-40.374127 -2.802089)'))) / (select extract(epoch from '2026-07-29 03:48:09'::timestamp) - extract(epoch from '2026-07-29 03:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374107 -2.802095)'), GeomFromEWKT('SRID=4674;POINT (-40.374127 -2.802089)'))) / (select extract(epoch from '2026-07-29 03:48:09'::timestamp) - extract(epoch from '2026-07-29 03:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37419 -2.802063)', '2026-07-29 03:48:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374127 -2.802089)'), GeomFromEWKT('SRID=4674;POINT (-40.37419 -2.802063)'))) / (select extract(epoch from '2026-07-29 03:48:18'::timestamp) - extract(epoch from '2026-07-29 03:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374127 -2.802089)'), GeomFromEWKT('SRID=4674;POINT (-40.37419 -2.802063)'))) / (select extract(epoch from '2026-07-29 03:48:18'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47641, 'SRID=4674;POINT (-40.374216 -2.802049)', '2026-07-29 03:48:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37419 -2.802063)'), GeomFromEWKT('SRID=4674;POINT (-40.374216 -2.802049)'))) / (select extract(epoch from '2026-07-29 03:48:22'::timestamp) - extract(epoch from '2026-07-29 03:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37419 -2.802063)'), GeomFromEWKT('SRID=4674;POINT (-40.374216 -2.802049)'))) / (select extract(epoch from '2026-07-29 03:48:22'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47641, 'SRID=4674;POINT (-40.374243 -2.80204)', '2026-07-29 03:48:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374216 -2.802049)'), GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.80204)'))) / (select extract(epoch from '2026-07-29 03:48:26'::timestamp) - extract(epoch from '2026-07-29 03:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374216 -2.802049)'), GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.80204)'))) / (select extract(epoch from '2026-07-29 03:48:26'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47641, 'SRID=4674;POINT (-40.374286 -2.802022)', '2026-07-29 03:48:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.802022)'))) / (select extract(epoch from '2026-07-29 03:48:32'::timestamp) - extract(epoch from '2026-07-29 03:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.802022)'))) / (select extract(epoch from '2026-07-29 03:48:32'::timestamp) - extract(epoch from '2026-07-29 03:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374302 -2.802019)', '2026-07-29 03:48:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.802022)'), GeomFromEWKT('SRID=4674;POINT (-40.374302 -2.802019)'))) / (select extract(epoch from '2026-07-29 03:48:34'::timestamp) - extract(epoch from '2026-07-29 03:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.802022)'), GeomFromEWKT('SRID=4674;POINT (-40.374302 -2.802019)'))) / (select extract(epoch from '2026-07-29 03:48:34'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47641, 'SRID=4674;POINT (-40.374326 -2.802012)', '2026-07-29 03:48:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374302 -2.802019)'), GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.802012)'))) / (select extract(epoch from '2026-07-29 03:48:37'::timestamp) - extract(epoch from '2026-07-29 03:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374302 -2.802019)'), GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.802012)'))) / (select extract(epoch from '2026-07-29 03:48:37'::timestamp) - extract(epoch from '2026-07-29 03:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374361 -2.802001)', '2026-07-29 03:48:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.802012)'), GeomFromEWKT('SRID=4674;POINT (-40.374361 -2.802001)'))) / (select extract(epoch from '2026-07-29 03:48:41'::timestamp) - extract(epoch from '2026-07-29 03:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.802012)'), GeomFromEWKT('SRID=4674;POINT (-40.374361 -2.802001)'))) / (select extract(epoch from '2026-07-29 03:48:41'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.374422 -2.801986)', '2026-07-29 03:48:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374361 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.374422 -2.801986)'))) / (select extract(epoch from '2026-07-29 03:48:48'::timestamp) - extract(epoch from '2026-07-29 03:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374361 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.374422 -2.801986)'))) / (select extract(epoch from '2026-07-29 03:48:48'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.374442 -2.801981)', '2026-07-29 03:48:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374422 -2.801986)'), GeomFromEWKT('SRID=4674;POINT (-40.374442 -2.801981)'))) / (select extract(epoch from '2026-07-29 03:48:51'::timestamp) - extract(epoch from '2026-07-29 03:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374422 -2.801986)'), GeomFromEWKT('SRID=4674;POINT (-40.374442 -2.801981)'))) / (select extract(epoch from '2026-07-29 03:48:51'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.374454 -2.801975)', '2026-07-29 03:48:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374442 -2.801981)'), GeomFromEWKT('SRID=4674;POINT (-40.374454 -2.801975)'))) / (select extract(epoch from '2026-07-29 03:48:53'::timestamp) - extract(epoch from '2026-07-29 03:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374442 -2.801981)'), GeomFromEWKT('SRID=4674;POINT (-40.374454 -2.801975)'))) / (select extract(epoch from '2026-07-29 03:48:53'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.374497 -2.801966)', '2026-07-29 03:49:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374454 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.374497 -2.801966)'))) / (select extract(epoch from '2026-07-29 03:49:00'::timestamp) - extract(epoch from '2026-07-29 03:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374454 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.374497 -2.801966)'))) / (select extract(epoch from '2026-07-29 03:49:00'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47641, 'SRID=4674;POINT (-40.374544 -2.801954)', '2026-07-29 03:49:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374497 -2.801966)'), GeomFromEWKT('SRID=4674;POINT (-40.374544 -2.801954)'))) / (select extract(epoch from '2026-07-29 03:49:08'::timestamp) - extract(epoch from '2026-07-29 03:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374497 -2.801966)'), GeomFromEWKT('SRID=4674;POINT (-40.374544 -2.801954)'))) / (select extract(epoch from '2026-07-29 03:49:08'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.374614 -2.801936)', '2026-07-29 03:49:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374544 -2.801954)'), GeomFromEWKT('SRID=4674;POINT (-40.374614 -2.801936)'))) / (select extract(epoch from '2026-07-29 03:49:20'::timestamp) - extract(epoch from '2026-07-29 03:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374544 -2.801954)'), GeomFromEWKT('SRID=4674;POINT (-40.374614 -2.801936)'))) / (select extract(epoch from '2026-07-29 03:49:20'::timestamp) - extract(epoch from '2026-07-29 03:49: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'), 47641, 'SRID=4674;POINT (-40.374664 -2.801922)', '2026-07-29 03:49:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374614 -2.801936)'), GeomFromEWKT('SRID=4674;POINT (-40.374664 -2.801922)'))) / (select extract(epoch from '2026-07-29 03:49:29'::timestamp) - extract(epoch from '2026-07-29 03:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374614 -2.801936)'), GeomFromEWKT('SRID=4674;POINT (-40.374664 -2.801922)'))) / (select extract(epoch from '2026-07-29 03:49:29'::timestamp) - extract(epoch from '2026-07-29 03:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374712 -2.801893)', '2026-07-29 03:49:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374664 -2.801922)'), GeomFromEWKT('SRID=4674;POINT (-40.374712 -2.801893)'))) / (select extract(epoch from '2026-07-29 03:49:39'::timestamp) - extract(epoch from '2026-07-29 03:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374664 -2.801922)'), GeomFromEWKT('SRID=4674;POINT (-40.374712 -2.801893)'))) / (select extract(epoch from '2026-07-29 03:49:39'::timestamp) - extract(epoch from '2026-07-29 03:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374744 -2.801879)', '2026-07-29 03:49:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374712 -2.801893)'), GeomFromEWKT('SRID=4674;POINT (-40.374744 -2.801879)'))) / (select extract(epoch from '2026-07-29 03:49:47'::timestamp) - extract(epoch from '2026-07-29 03:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374712 -2.801893)'), GeomFromEWKT('SRID=4674;POINT (-40.374744 -2.801879)'))) / (select extract(epoch from '2026-07-29 03:49:47'::timestamp) - extract(epoch from '2026-07-29 03:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374782 -2.801855)', '2026-07-29 03:49:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374744 -2.801879)'), GeomFromEWKT('SRID=4674;POINT (-40.374782 -2.801855)'))) / (select extract(epoch from '2026-07-29 03:49:55'::timestamp) - extract(epoch from '2026-07-29 03:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374744 -2.801879)'), GeomFromEWKT('SRID=4674;POINT (-40.374782 -2.801855)'))) / (select extract(epoch from '2026-07-29 03:49:55'::timestamp) - extract(epoch from '2026-07-29 03:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374828 -2.801838)', '2026-07-29 03:50:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374782 -2.801855)'), GeomFromEWKT('SRID=4674;POINT (-40.374828 -2.801838)'))) / (select extract(epoch from '2026-07-29 03:50:03'::timestamp) - extract(epoch from '2026-07-29 03:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374782 -2.801855)'), GeomFromEWKT('SRID=4674;POINT (-40.374828 -2.801838)'))) / (select extract(epoch from '2026-07-29 03:50:03'::timestamp) - extract(epoch from '2026-07-29 03:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374874 -2.801826)', '2026-07-29 03:50:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374828 -2.801838)'), GeomFromEWKT('SRID=4674;POINT (-40.374874 -2.801826)'))) / (select extract(epoch from '2026-07-29 03:50:10'::timestamp) - extract(epoch from '2026-07-29 03:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374828 -2.801838)'), GeomFromEWKT('SRID=4674;POINT (-40.374874 -2.801826)'))) / (select extract(epoch from '2026-07-29 03:50:10'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47641, 'SRID=4674;POINT (-40.374889 -2.801821)', '2026-07-29 03:50:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374874 -2.801826)'), GeomFromEWKT('SRID=4674;POINT (-40.374889 -2.801821)'))) / (select extract(epoch from '2026-07-29 03:50:12'::timestamp) - extract(epoch from '2026-07-29 03:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374874 -2.801826)'), GeomFromEWKT('SRID=4674;POINT (-40.374889 -2.801821)'))) / (select extract(epoch from '2026-07-29 03:50:12'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47641, 'SRID=4674;POINT (-40.374939 -2.801807)', '2026-07-29 03:50:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374889 -2.801821)'), GeomFromEWKT('SRID=4674;POINT (-40.374939 -2.801807)'))) / (select extract(epoch from '2026-07-29 03:50:20'::timestamp) - extract(epoch from '2026-07-29 03:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374889 -2.801821)'), GeomFromEWKT('SRID=4674;POINT (-40.374939 -2.801807)'))) / (select extract(epoch from '2026-07-29 03:50:20'::timestamp) - extract(epoch from '2026-07-29 03:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374997 -2.801793)', '2026-07-29 03:50:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374939 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.374997 -2.801793)'))) / (select extract(epoch from '2026-07-29 03:50:30'::timestamp) - extract(epoch from '2026-07-29 03:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374939 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.374997 -2.801793)'))) / (select extract(epoch from '2026-07-29 03:50:30'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.375037 -2.801775)', '2026-07-29 03:50:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374997 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.801775)'))) / (select extract(epoch from '2026-07-29 03:50:37'::timestamp) - extract(epoch from '2026-07-29 03:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374997 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.801775)'))) / (select extract(epoch from '2026-07-29 03:50:37'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47641, 'SRID=4674;POINT (-40.375081 -2.801758)', '2026-07-29 03:50:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.375081 -2.801758)'))) / (select extract(epoch from '2026-07-29 03:50:45'::timestamp) - extract(epoch from '2026-07-29 03:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.375081 -2.801758)'))) / (select extract(epoch from '2026-07-29 03:50:45'::timestamp) - extract(epoch from '2026-07-29 03:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375128 -2.80174)', '2026-07-29 03:50:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375081 -2.801758)'), GeomFromEWKT('SRID=4674;POINT (-40.375128 -2.80174)'))) / (select extract(epoch from '2026-07-29 03:50:54'::timestamp) - extract(epoch from '2026-07-29 03:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375081 -2.801758)'), GeomFromEWKT('SRID=4674;POINT (-40.375128 -2.80174)'))) / (select extract(epoch from '2026-07-29 03:50:54'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47641, 'SRID=4674;POINT (-40.375188 -2.801718)', '2026-07-29 03:51:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375128 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.375188 -2.801718)'))) / (select extract(epoch from '2026-07-29 03:51:05'::timestamp) - extract(epoch from '2026-07-29 03:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375128 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.375188 -2.801718)'))) / (select extract(epoch from '2026-07-29 03:51:05'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47641, 'SRID=4674;POINT (-40.375253 -2.801688)', '2026-07-29 03:51:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375188 -2.801718)'), GeomFromEWKT('SRID=4674;POINT (-40.375253 -2.801688)'))) / (select extract(epoch from '2026-07-29 03:51:16'::timestamp) - extract(epoch from '2026-07-29 03:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375188 -2.801718)'), GeomFromEWKT('SRID=4674;POINT (-40.375253 -2.801688)'))) / (select extract(epoch from '2026-07-29 03:51:16'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47641, 'SRID=4674;POINT (-40.3753 -2.801673)', '2026-07-29 03:51:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375253 -2.801688)'), GeomFromEWKT('SRID=4674;POINT (-40.3753 -2.801673)'))) / (select extract(epoch from '2026-07-29 03:51:24'::timestamp) - extract(epoch from '2026-07-29 03:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375253 -2.801688)'), GeomFromEWKT('SRID=4674;POINT (-40.3753 -2.801673)'))) / (select extract(epoch from '2026-07-29 03:51:24'::timestamp) - extract(epoch from '2026-07-29 03:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375359 -2.801652)', '2026-07-29 03:51:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3753 -2.801673)'), GeomFromEWKT('SRID=4674;POINT (-40.375359 -2.801652)'))) / (select extract(epoch from '2026-07-29 03:51:34'::timestamp) - extract(epoch from '2026-07-29 03:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3753 -2.801673)'), GeomFromEWKT('SRID=4674;POINT (-40.375359 -2.801652)'))) / (select extract(epoch from '2026-07-29 03:51:34'::timestamp) - extract(epoch from '2026-07-29 03:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375393 -2.80164)', '2026-07-29 03:51:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375359 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.375393 -2.80164)'))) / (select extract(epoch from '2026-07-29 03:51:40'::timestamp) - extract(epoch from '2026-07-29 03:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375359 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.375393 -2.80164)'))) / (select extract(epoch from '2026-07-29 03:51:40'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47641, 'SRID=4674;POINT (-40.375448 -2.801623)', '2026-07-29 03:51:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375393 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.801623)'))) / (select extract(epoch from '2026-07-29 03:51:50'::timestamp) - extract(epoch from '2026-07-29 03:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375393 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.801623)'))) / (select extract(epoch from '2026-07-29 03:51:50'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47641, 'SRID=4674;POINT (-40.375494 -2.801611)', '2026-07-29 03:51:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.801623)'), GeomFromEWKT('SRID=4674;POINT (-40.375494 -2.801611)'))) / (select extract(epoch from '2026-07-29 03:51:58'::timestamp) - extract(epoch from '2026-07-29 03:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.801623)'), GeomFromEWKT('SRID=4674;POINT (-40.375494 -2.801611)'))) / (select extract(epoch from '2026-07-29 03:51:58'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47641, 'SRID=4674;POINT (-40.375529 -2.801602)', '2026-07-29 03:52:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375494 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.375529 -2.801602)'))) / (select extract(epoch from '2026-07-29 03:52:06'::timestamp) - extract(epoch from '2026-07-29 03:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375494 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.375529 -2.801602)'))) / (select extract(epoch from '2026-07-29 03:52:06'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47641, 'SRID=4674;POINT (-40.375571 -2.801585)', '2026-07-29 03:52:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375529 -2.801602)'), GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.801585)'))) / (select extract(epoch from '2026-07-29 03:52:15'::timestamp) - extract(epoch from '2026-07-29 03:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375529 -2.801602)'), GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.801585)'))) / (select extract(epoch from '2026-07-29 03:52:15'::timestamp) - extract(epoch from '2026-07-29 03:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375627 -2.801558)', '2026-07-29 03:52:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.375627 -2.801558)'))) / (select extract(epoch from '2026-07-29 03:52:26'::timestamp) - extract(epoch from '2026-07-29 03:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.375627 -2.801558)'))) / (select extract(epoch from '2026-07-29 03:52:26'::timestamp) - extract(epoch from '2026-07-29 03:52: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'), 47641, 'SRID=4674;POINT (-40.375678 -2.801536)', '2026-07-29 03:52:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375627 -2.801558)'), GeomFromEWKT('SRID=4674;POINT (-40.375678 -2.801536)'))) / (select extract(epoch from '2026-07-29 03:52:36'::timestamp) - extract(epoch from '2026-07-29 03:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375627 -2.801558)'), GeomFromEWKT('SRID=4674;POINT (-40.375678 -2.801536)'))) / (select extract(epoch from '2026-07-29 03:52:36'::timestamp) - extract(epoch from '2026-07-29 03:52: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'), 47641, 'SRID=4674;POINT (-40.375735 -2.80151)', '2026-07-29 03:52:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375678 -2.801536)'), GeomFromEWKT('SRID=4674;POINT (-40.375735 -2.80151)'))) / (select extract(epoch from '2026-07-29 03:52:46'::timestamp) - extract(epoch from '2026-07-29 03:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375678 -2.801536)'), GeomFromEWKT('SRID=4674;POINT (-40.375735 -2.80151)'))) / (select extract(epoch from '2026-07-29 03:52:46'::timestamp) - extract(epoch from '2026-07-29 03:52: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'), 47641, 'SRID=4674;POINT (-40.375785 -2.80149)', '2026-07-29 03:52:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375735 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.375785 -2.80149)'))) / (select extract(epoch from '2026-07-29 03:52:55'::timestamp) - extract(epoch from '2026-07-29 03:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375735 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.375785 -2.80149)'))) / (select extract(epoch from '2026-07-29 03:52:55'::timestamp) - extract(epoch from '2026-07-29 03:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375832 -2.801469)', '2026-07-29 03:53:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375785 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.375832 -2.801469)'))) / (select extract(epoch from '2026-07-29 03:53:05'::timestamp) - extract(epoch from '2026-07-29 03:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375785 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.375832 -2.801469)'))) / (select extract(epoch from '2026-07-29 03:53:05'::timestamp) - extract(epoch from '2026-07-29 03:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375867 -2.801447)', '2026-07-29 03:53:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375832 -2.801469)'), GeomFromEWKT('SRID=4674;POINT (-40.375867 -2.801447)'))) / (select extract(epoch from '2026-07-29 03:53:13'::timestamp) - extract(epoch from '2026-07-29 03:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375832 -2.801469)'), GeomFromEWKT('SRID=4674;POINT (-40.375867 -2.801447)'))) / (select extract(epoch from '2026-07-29 03:53:13'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47641, 'SRID=4674;POINT (-40.375901 -2.801432)', '2026-07-29 03:53:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375867 -2.801447)'), GeomFromEWKT('SRID=4674;POINT (-40.375901 -2.801432)'))) / (select extract(epoch from '2026-07-29 03:53:21'::timestamp) - extract(epoch from '2026-07-29 03:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375867 -2.801447)'), GeomFromEWKT('SRID=4674;POINT (-40.375901 -2.801432)'))) / (select extract(epoch from '2026-07-29 03:53:21'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47641, 'SRID=4674;POINT (-40.37594 -2.801412)', '2026-07-29 03:53:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375901 -2.801432)'), GeomFromEWKT('SRID=4674;POINT (-40.37594 -2.801412)'))) / (select extract(epoch from '2026-07-29 03:53:30'::timestamp) - extract(epoch from '2026-07-29 03:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375901 -2.801432)'), GeomFromEWKT('SRID=4674;POINT (-40.37594 -2.801412)'))) / (select extract(epoch from '2026-07-29 03:53:30'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47641, 'SRID=4674;POINT (-40.375984 -2.801397)', '2026-07-29 03:53:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37594 -2.801412)'), GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.801397)'))) / (select extract(epoch from '2026-07-29 03:53:41'::timestamp) - extract(epoch from '2026-07-29 03:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37594 -2.801412)'), GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.801397)'))) / (select extract(epoch from '2026-07-29 03:53:41'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47641, 'SRID=4674;POINT (-40.376021 -2.801386)', '2026-07-29 03:53:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.801397)'), GeomFromEWKT('SRID=4674;POINT (-40.376021 -2.801386)'))) / (select extract(epoch from '2026-07-29 03:53:49'::timestamp) - extract(epoch from '2026-07-29 03:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.801397)'), GeomFromEWKT('SRID=4674;POINT (-40.376021 -2.801386)'))) / (select extract(epoch from '2026-07-29 03:53:49'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.376068 -2.801366)', '2026-07-29 03:53:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376021 -2.801386)'), GeomFromEWKT('SRID=4674;POINT (-40.376068 -2.801366)'))) / (select extract(epoch from '2026-07-29 03:53:59'::timestamp) - extract(epoch from '2026-07-29 03:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376021 -2.801386)'), GeomFromEWKT('SRID=4674;POINT (-40.376068 -2.801366)'))) / (select extract(epoch from '2026-07-29 03:53:59'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47641, 'SRID=4674;POINT (-40.376113 -2.801345)', '2026-07-29 03:54:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376068 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.376113 -2.801345)'))) / (select extract(epoch from '2026-07-29 03:54:08'::timestamp) - extract(epoch from '2026-07-29 03:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376068 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.376113 -2.801345)'))) / (select extract(epoch from '2026-07-29 03:54:08'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47641, 'SRID=4674;POINT (-40.376159 -2.801326)', '2026-07-29 03:54:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376113 -2.801345)'), GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.801326)'))) / (select extract(epoch from '2026-07-29 03:54:18'::timestamp) - extract(epoch from '2026-07-29 03:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376113 -2.801345)'), GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.801326)'))) / (select extract(epoch from '2026-07-29 03:54:18'::timestamp) - extract(epoch from '2026-07-29 03:54: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'), 47641, 'SRID=4674;POINT (-40.376206 -2.801301)', '2026-07-29 03:54:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.801326)'), GeomFromEWKT('SRID=4674;POINT (-40.376206 -2.801301)'))) / (select extract(epoch from '2026-07-29 03:54:28'::timestamp) - extract(epoch from '2026-07-29 03:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.801326)'), GeomFromEWKT('SRID=4674;POINT (-40.376206 -2.801301)'))) / (select extract(epoch from '2026-07-29 03:54:28'::timestamp) - extract(epoch from '2026-07-29 03:54: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'), 47641, 'SRID=4674;POINT (-40.37625 -2.801283)', '2026-07-29 03:54:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376206 -2.801301)'), GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.801283)'))) / (select extract(epoch from '2026-07-29 03:54:37'::timestamp) - extract(epoch from '2026-07-29 03:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376206 -2.801301)'), GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.801283)'))) / (select extract(epoch from '2026-07-29 03:54:37'::timestamp) - extract(epoch from '2026-07-29 03:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.376292 -2.80127)', '2026-07-29 03:54:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.801283)'), GeomFromEWKT('SRID=4674;POINT (-40.376292 -2.80127)'))) / (select extract(epoch from '2026-07-29 03:54:45'::timestamp) - extract(epoch from '2026-07-29 03:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37625 -2.801283)'), GeomFromEWKT('SRID=4674;POINT (-40.376292 -2.80127)'))) / (select extract(epoch from '2026-07-29 03:54:45'::timestamp) - extract(epoch from '2026-07-29 03:54: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'), 47641, 'SRID=4674;POINT (-40.376362 -2.801244)', '2026-07-29 03:54:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376292 -2.80127)'), GeomFromEWKT('SRID=4674;POINT (-40.376362 -2.801244)'))) / (select extract(epoch from '2026-07-29 03:54:58'::timestamp) - extract(epoch from '2026-07-29 03:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376292 -2.80127)'), GeomFromEWKT('SRID=4674;POINT (-40.376362 -2.801244)'))) / (select extract(epoch from '2026-07-29 03:54:58'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.376404 -2.801229)', '2026-07-29 03:55:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376362 -2.801244)'), GeomFromEWKT('SRID=4674;POINT (-40.376404 -2.801229)'))) / (select extract(epoch from '2026-07-29 03:55:07'::timestamp) - extract(epoch from '2026-07-29 03:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376362 -2.801244)'), GeomFromEWKT('SRID=4674;POINT (-40.376404 -2.801229)'))) / (select extract(epoch from '2026-07-29 03:55:07'::timestamp) - extract(epoch from '2026-07-29 03:54: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'), 47641, 'SRID=4674;POINT (-40.37645 -2.801213)', '2026-07-29 03:55:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376404 -2.801229)'), GeomFromEWKT('SRID=4674;POINT (-40.37645 -2.801213)'))) / (select extract(epoch from '2026-07-29 03:55:17'::timestamp) - extract(epoch from '2026-07-29 03:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376404 -2.801229)'), GeomFromEWKT('SRID=4674;POINT (-40.37645 -2.801213)'))) / (select extract(epoch from '2026-07-29 03:55:17'::timestamp) - extract(epoch from '2026-07-29 03:55:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.376487 -2.801199)', '2026-07-29 03:55:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37645 -2.801213)'), GeomFromEWKT('SRID=4674;POINT (-40.376487 -2.801199)'))) / (select extract(epoch from '2026-07-29 03:55:26'::timestamp) - extract(epoch from '2026-07-29 03:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37645 -2.801213)'), GeomFromEWKT('SRID=4674;POINT (-40.376487 -2.801199)'))) / (select extract(epoch from '2026-07-29 03:55:26'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47641, 'SRID=4674;POINT (-40.376531 -2.80118)', '2026-07-29 03:55:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376487 -2.801199)'), GeomFromEWKT('SRID=4674;POINT (-40.376531 -2.80118)'))) / (select extract(epoch from '2026-07-29 03:55:35'::timestamp) - extract(epoch from '2026-07-29 03:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376487 -2.801199)'), GeomFromEWKT('SRID=4674;POINT (-40.376531 -2.80118)'))) / (select extract(epoch from '2026-07-29 03:55:35'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47641, 'SRID=4674;POINT (-40.37658 -2.801159)', '2026-07-29 03:55:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376531 -2.80118)'), GeomFromEWKT('SRID=4674;POINT (-40.37658 -2.801159)'))) / (select extract(epoch from '2026-07-29 03:55:44'::timestamp) - extract(epoch from '2026-07-29 03:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376531 -2.80118)'), GeomFromEWKT('SRID=4674;POINT (-40.37658 -2.801159)'))) / (select extract(epoch from '2026-07-29 03:55:44'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47641, 'SRID=4674;POINT (-40.376614 -2.801149)', '2026-07-29 03:55:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37658 -2.801159)'), GeomFromEWKT('SRID=4674;POINT (-40.376614 -2.801149)'))) / (select extract(epoch from '2026-07-29 03:55:50'::timestamp) - extract(epoch from '2026-07-29 03:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37658 -2.801159)'), GeomFromEWKT('SRID=4674;POINT (-40.376614 -2.801149)'))) / (select extract(epoch from '2026-07-29 03:55:50'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47641, 'SRID=4674;POINT (-40.3767 -2.801121)', '2026-07-29 03:56:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376614 -2.801149)'), GeomFromEWKT('SRID=4674;POINT (-40.3767 -2.801121)'))) / (select extract(epoch from '2026-07-29 03:56:08'::timestamp) - extract(epoch from '2026-07-29 03:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376614 -2.801149)'), GeomFromEWKT('SRID=4674;POINT (-40.3767 -2.801121)'))) / (select extract(epoch from '2026-07-29 03:56:08'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47641, 'SRID=4674;POINT (-40.376771 -2.801104)', '2026-07-29 03:56:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3767 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.376771 -2.801104)'))) / (select extract(epoch from '2026-07-29 03:56:22'::timestamp) - extract(epoch from '2026-07-29 03:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3767 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.376771 -2.801104)'))) / (select extract(epoch from '2026-07-29 03:56:22'::timestamp) - extract(epoch from '2026-07-29 03:56: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'), 47641, 'SRID=4674;POINT (-40.37681 -2.801092)', '2026-07-29 03:56:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376771 -2.801104)'), GeomFromEWKT('SRID=4674;POINT (-40.37681 -2.801092)'))) / (select extract(epoch from '2026-07-29 03:56:30'::timestamp) - extract(epoch from '2026-07-29 03:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376771 -2.801104)'), GeomFromEWKT('SRID=4674;POINT (-40.37681 -2.801092)'))) / (select extract(epoch from '2026-07-29 03:56:30'::timestamp) - extract(epoch from '2026-07-29 03:56: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'), 47641, 'SRID=4674;POINT (-40.376853 -2.801075)', '2026-07-29 03:56:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37681 -2.801092)'), GeomFromEWKT('SRID=4674;POINT (-40.376853 -2.801075)'))) / (select extract(epoch from '2026-07-29 03:56:39'::timestamp) - extract(epoch from '2026-07-29 03:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37681 -2.801092)'), GeomFromEWKT('SRID=4674;POINT (-40.376853 -2.801075)'))) / (select extract(epoch from '2026-07-29 03:56:39'::timestamp) - extract(epoch from '2026-07-29 03:56: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'), 47641, 'SRID=4674;POINT (-40.376905 -2.801054)', '2026-07-29 03:56:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376853 -2.801075)'), GeomFromEWKT('SRID=4674;POINT (-40.376905 -2.801054)'))) / (select extract(epoch from '2026-07-29 03:56:49'::timestamp) - extract(epoch from '2026-07-29 03:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376853 -2.801075)'), GeomFromEWKT('SRID=4674;POINT (-40.376905 -2.801054)'))) / (select extract(epoch from '2026-07-29 03:56:49'::timestamp) - extract(epoch from '2026-07-29 03:56: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'), 47641, 'SRID=4674;POINT (-40.376946 -2.801039)', '2026-07-29 03:56:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376905 -2.801054)'), GeomFromEWKT('SRID=4674;POINT (-40.376946 -2.801039)'))) / (select extract(epoch from '2026-07-29 03:56:57'::timestamp) - extract(epoch from '2026-07-29 03:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376905 -2.801054)'), GeomFromEWKT('SRID=4674;POINT (-40.376946 -2.801039)'))) / (select extract(epoch from '2026-07-29 03:56:57'::timestamp) - extract(epoch from '2026-07-29 03:56: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'), 47641, 'SRID=4674;POINT (-40.376992 -2.801023)', '2026-07-29 03:57:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376946 -2.801039)'), GeomFromEWKT('SRID=4674;POINT (-40.376992 -2.801023)'))) / (select extract(epoch from '2026-07-29 03:57:05'::timestamp) - extract(epoch from '2026-07-29 03:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376946 -2.801039)'), GeomFromEWKT('SRID=4674;POINT (-40.376992 -2.801023)'))) / (select extract(epoch from '2026-07-29 03:57:05'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.37703 -2.801015)', '2026-07-29 03:57:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376992 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.37703 -2.801015)'))) / (select extract(epoch from '2026-07-29 03:57:12'::timestamp) - extract(epoch from '2026-07-29 03:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376992 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.37703 -2.801015)'))) / (select extract(epoch from '2026-07-29 03:57:12'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.37708 -2.801004)', '2026-07-29 03:57:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37703 -2.801015)'), GeomFromEWKT('SRID=4674;POINT (-40.37708 -2.801004)'))) / (select extract(epoch from '2026-07-29 03:57:20'::timestamp) - extract(epoch from '2026-07-29 03:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37703 -2.801015)'), GeomFromEWKT('SRID=4674;POINT (-40.37708 -2.801004)'))) / (select extract(epoch from '2026-07-29 03:57:20'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.377119 -2.800992)', '2026-07-29 03:57:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37708 -2.801004)'), GeomFromEWKT('SRID=4674;POINT (-40.377119 -2.800992)'))) / (select extract(epoch from '2026-07-29 03:57:27'::timestamp) - extract(epoch from '2026-07-29 03:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37708 -2.801004)'), GeomFromEWKT('SRID=4674;POINT (-40.377119 -2.800992)'))) / (select extract(epoch from '2026-07-29 03:57:27'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.37717 -2.800983)', '2026-07-29 03:57:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377119 -2.800992)'), GeomFromEWKT('SRID=4674;POINT (-40.37717 -2.800983)'))) / (select extract(epoch from '2026-07-29 03:57:36'::timestamp) - extract(epoch from '2026-07-29 03:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377119 -2.800992)'), GeomFromEWKT('SRID=4674;POINT (-40.37717 -2.800983)'))) / (select extract(epoch from '2026-07-29 03:57:36'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47641, 'SRID=4674;POINT (-40.3772 -2.800976)', '2026-07-29 03:57:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37717 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.3772 -2.800976)'))) / (select extract(epoch from '2026-07-29 03:57:42'::timestamp) - extract(epoch from '2026-07-29 03:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37717 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.3772 -2.800976)'))) / (select extract(epoch from '2026-07-29 03:57:42'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47641, 'SRID=4674;POINT (-40.377256 -2.800963)', '2026-07-29 03:57:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3772 -2.800976)'), GeomFromEWKT('SRID=4674;POINT (-40.377256 -2.800963)'))) / (select extract(epoch from '2026-07-29 03:57:53'::timestamp) - extract(epoch from '2026-07-29 03:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3772 -2.800976)'), GeomFromEWKT('SRID=4674;POINT (-40.377256 -2.800963)'))) / (select extract(epoch from '2026-07-29 03:57:53'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47641, 'SRID=4674;POINT (-40.377289 -2.800954)', '2026-07-29 03:57:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377256 -2.800963)'), GeomFromEWKT('SRID=4674;POINT (-40.377289 -2.800954)'))) / (select extract(epoch from '2026-07-29 03:57:59'::timestamp) - extract(epoch from '2026-07-29 03:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377256 -2.800963)'), GeomFromEWKT('SRID=4674;POINT (-40.377289 -2.800954)'))) / (select extract(epoch from '2026-07-29 03:57:59'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47641, 'SRID=4674;POINT (-40.377338 -2.800946)', '2026-07-29 03:58:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377289 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.377338 -2.800946)'))) / (select extract(epoch from '2026-07-29 03:58:07'::timestamp) - extract(epoch from '2026-07-29 03:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377289 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.377338 -2.800946)'))) / (select extract(epoch from '2026-07-29 03:58:07'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47641, 'SRID=4674;POINT (-40.37738 -2.800933)', '2026-07-29 03:58:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377338 -2.800946)'), GeomFromEWKT('SRID=4674;POINT (-40.37738 -2.800933)'))) / (select extract(epoch from '2026-07-29 03:58:15'::timestamp) - extract(epoch from '2026-07-29 03:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377338 -2.800946)'), GeomFromEWKT('SRID=4674;POINT (-40.37738 -2.800933)'))) / (select extract(epoch from '2026-07-29 03:58:15'::timestamp) - extract(epoch from '2026-07-29 03:58: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'), 47641, 'SRID=4674;POINT (-40.377449 -2.800903)', '2026-07-29 03:58:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37738 -2.800933)'), GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.800903)'))) / (select extract(epoch from '2026-07-29 03:58:29'::timestamp) - extract(epoch from '2026-07-29 03:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37738 -2.800933)'), GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.800903)'))) / (select extract(epoch from '2026-07-29 03:58:29'::timestamp) - extract(epoch from '2026-07-29 03:58: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'), 47641, 'SRID=4674;POINT (-40.377497 -2.80088)', '2026-07-29 03:58:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.800903)'), GeomFromEWKT('SRID=4674;POINT (-40.377497 -2.80088)'))) / (select extract(epoch from '2026-07-29 03:58:38'::timestamp) - extract(epoch from '2026-07-29 03:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.800903)'), GeomFromEWKT('SRID=4674;POINT (-40.377497 -2.80088)'))) / (select extract(epoch from '2026-07-29 03:58:38'::timestamp) - extract(epoch from '2026-07-29 03:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377545 -2.800849)', '2026-07-29 03:58:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377497 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.377545 -2.800849)'))) / (select extract(epoch from '2026-07-29 03:58:47'::timestamp) - extract(epoch from '2026-07-29 03:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377497 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.377545 -2.800849)'))) / (select extract(epoch from '2026-07-29 03:58:47'::timestamp) - extract(epoch from '2026-07-29 03:58: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'), 47641, 'SRID=4674;POINT (-40.377582 -2.800826)', '2026-07-29 03:58:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377545 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.377582 -2.800826)'))) / (select extract(epoch from '2026-07-29 03:58:54'::timestamp) - extract(epoch from '2026-07-29 03:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377545 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.377582 -2.800826)'))) / (select extract(epoch from '2026-07-29 03:58:54'::timestamp) - extract(epoch from '2026-07-29 03:58: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'), 47641, 'SRID=4674;POINT (-40.377637 -2.800799)', '2026-07-29 03:59:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377582 -2.800826)'), GeomFromEWKT('SRID=4674;POINT (-40.377637 -2.800799)'))) / (select extract(epoch from '2026-07-29 03:59:05'::timestamp) - extract(epoch from '2026-07-29 03:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377582 -2.800826)'), GeomFromEWKT('SRID=4674;POINT (-40.377637 -2.800799)'))) / (select extract(epoch from '2026-07-29 03:59:05'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47641, 'SRID=4674;POINT (-40.377684 -2.800778)', '2026-07-29 03:59:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377637 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.377684 -2.800778)'))) / (select extract(epoch from '2026-07-29 03:59:15'::timestamp) - extract(epoch from '2026-07-29 03:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377637 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.377684 -2.800778)'))) / (select extract(epoch from '2026-07-29 03:59:15'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47641, 'SRID=4674;POINT (-40.377744 -2.80076)', '2026-07-29 03:59:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377684 -2.800778)'), GeomFromEWKT('SRID=4674;POINT (-40.377744 -2.80076)'))) / (select extract(epoch from '2026-07-29 03:59:27'::timestamp) - extract(epoch from '2026-07-29 03:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377684 -2.800778)'), GeomFromEWKT('SRID=4674;POINT (-40.377744 -2.80076)'))) / (select extract(epoch from '2026-07-29 03:59:27'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47641, 'SRID=4674;POINT (-40.377781 -2.800744)', '2026-07-29 03:59:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377744 -2.80076)'), GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.800744)'))) / (select extract(epoch from '2026-07-29 03:59:36'::timestamp) - extract(epoch from '2026-07-29 03:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377744 -2.80076)'), GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.800744)'))) / (select extract(epoch from '2026-07-29 03:59:36'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47641, 'SRID=4674;POINT (-40.377827 -2.800726)', '2026-07-29 03:59:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.377827 -2.800726)'))) / (select extract(epoch from '2026-07-29 03:59:45'::timestamp) - extract(epoch from '2026-07-29 03:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.377827 -2.800726)'))) / (select extract(epoch from '2026-07-29 03:59:45'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47641, 'SRID=4674;POINT (-40.377866 -2.800707)', '2026-07-29 03:59:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377827 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.377866 -2.800707)'))) / (select extract(epoch from '2026-07-29 03:59:53'::timestamp) - extract(epoch from '2026-07-29 03:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377827 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.377866 -2.800707)'))) / (select extract(epoch from '2026-07-29 03:59:53'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47641, 'SRID=4674;POINT (-40.377919 -2.800683)', '2026-07-29 04:00:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377866 -2.800707)'), GeomFromEWKT('SRID=4674;POINT (-40.377919 -2.800683)'))) / (select extract(epoch from '2026-07-29 04:00:02'::timestamp) - extract(epoch from '2026-07-29 03:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377866 -2.800707)'), GeomFromEWKT('SRID=4674;POINT (-40.377919 -2.800683)'))) / (select extract(epoch from '2026-07-29 04:00:02'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47641, 'SRID=4674;POINT (-40.377963 -2.800659)', '2026-07-29 04:00:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377919 -2.800683)'), GeomFromEWKT('SRID=4674;POINT (-40.377963 -2.800659)'))) / (select extract(epoch from '2026-07-29 04:00:10'::timestamp) - extract(epoch from '2026-07-29 04:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377919 -2.800683)'), GeomFromEWKT('SRID=4674;POINT (-40.377963 -2.800659)'))) / (select extract(epoch from '2026-07-29 04:00:10'::timestamp) - extract(epoch from '2026-07-29 04:00: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'), 47641, 'SRID=4674;POINT (-40.378 -2.800639)', '2026-07-29 04:00:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377963 -2.800659)'), GeomFromEWKT('SRID=4674;POINT (-40.378 -2.800639)'))) / (select extract(epoch from '2026-07-29 04:00:17'::timestamp) - extract(epoch from '2026-07-29 04:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377963 -2.800659)'), GeomFromEWKT('SRID=4674;POINT (-40.378 -2.800639)'))) / (select extract(epoch from '2026-07-29 04:00:17'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.378054 -2.800619)', '2026-07-29 04:00:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378 -2.800639)'), GeomFromEWKT('SRID=4674;POINT (-40.378054 -2.800619)'))) / (select extract(epoch from '2026-07-29 04:00:27'::timestamp) - extract(epoch from '2026-07-29 04:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378 -2.800639)'), GeomFromEWKT('SRID=4674;POINT (-40.378054 -2.800619)'))) / (select extract(epoch from '2026-07-29 04:00:27'::timestamp) - extract(epoch from '2026-07-29 04:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378097 -2.800604)', '2026-07-29 04:00:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378054 -2.800619)'), GeomFromEWKT('SRID=4674;POINT (-40.378097 -2.800604)'))) / (select extract(epoch from '2026-07-29 04:00:35'::timestamp) - extract(epoch from '2026-07-29 04:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378054 -2.800619)'), GeomFromEWKT('SRID=4674;POINT (-40.378097 -2.800604)'))) / (select extract(epoch from '2026-07-29 04:00:35'::timestamp) - extract(epoch from '2026-07-29 04:00: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'), 47641, 'SRID=4674;POINT (-40.378149 -2.800582)', '2026-07-29 04:00:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378097 -2.800604)'), GeomFromEWKT('SRID=4674;POINT (-40.378149 -2.800582)'))) / (select extract(epoch from '2026-07-29 04:00:44'::timestamp) - extract(epoch from '2026-07-29 04:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378097 -2.800604)'), GeomFromEWKT('SRID=4674;POINT (-40.378149 -2.800582)'))) / (select extract(epoch from '2026-07-29 04:00:44'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.37821 -2.800552)', '2026-07-29 04:00:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378149 -2.800582)'), GeomFromEWKT('SRID=4674;POINT (-40.37821 -2.800552)'))) / (select extract(epoch from '2026-07-29 04:00:54'::timestamp) - extract(epoch from '2026-07-29 04:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378149 -2.800582)'), GeomFromEWKT('SRID=4674;POINT (-40.37821 -2.800552)'))) / (select extract(epoch from '2026-07-29 04:00:54'::timestamp) - extract(epoch from '2026-07-29 04:00: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'), 47641, 'SRID=4674;POINT (-40.378278 -2.800522)', '2026-07-29 04:01:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37821 -2.800552)'), GeomFromEWKT('SRID=4674;POINT (-40.378278 -2.800522)'))) / (select extract(epoch from '2026-07-29 04:01:05'::timestamp) - extract(epoch from '2026-07-29 04:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37821 -2.800552)'), GeomFromEWKT('SRID=4674;POINT (-40.378278 -2.800522)'))) / (select extract(epoch from '2026-07-29 04:01:05'::timestamp) - extract(epoch from '2026-07-29 04:00: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'), 47641, 'SRID=4674;POINT (-40.378335 -2.800488)', '2026-07-29 04:01:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378278 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.378335 -2.800488)'))) / (select extract(epoch from '2026-07-29 04:01:15'::timestamp) - extract(epoch from '2026-07-29 04:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378278 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.378335 -2.800488)'))) / (select extract(epoch from '2026-07-29 04:01:15'::timestamp) - extract(epoch from '2026-07-29 04:01: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'), 47641, 'SRID=4674;POINT (-40.378402 -2.800449)', '2026-07-29 04:01:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378335 -2.800488)'), GeomFromEWKT('SRID=4674;POINT (-40.378402 -2.800449)'))) / (select extract(epoch from '2026-07-29 04:01:27'::timestamp) - extract(epoch from '2026-07-29 04:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378335 -2.800488)'), GeomFromEWKT('SRID=4674;POINT (-40.378402 -2.800449)'))) / (select extract(epoch from '2026-07-29 04:01:27'::timestamp) - extract(epoch from '2026-07-29 04:01: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'), 47641, 'SRID=4674;POINT (-40.378464 -2.800428)', '2026-07-29 04:01:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378402 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.378464 -2.800428)'))) / (select extract(epoch from '2026-07-29 04:01:37'::timestamp) - extract(epoch from '2026-07-29 04:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378402 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.378464 -2.800428)'))) / (select extract(epoch from '2026-07-29 04:01:37'::timestamp) - extract(epoch from '2026-07-29 04:01: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'), 47641, 'SRID=4674;POINT (-40.37852 -2.800405)', '2026-07-29 04:01:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378464 -2.800428)'), GeomFromEWKT('SRID=4674;POINT (-40.37852 -2.800405)'))) / (select extract(epoch from '2026-07-29 04:01:47'::timestamp) - extract(epoch from '2026-07-29 04:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378464 -2.800428)'), GeomFromEWKT('SRID=4674;POINT (-40.37852 -2.800405)'))) / (select extract(epoch from '2026-07-29 04:01:47'::timestamp) - extract(epoch from '2026-07-29 04:01: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'), 47641, 'SRID=4674;POINT (-40.378569 -2.800385)', '2026-07-29 04:01:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37852 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.800385)'))) / (select extract(epoch from '2026-07-29 04:01:55'::timestamp) - extract(epoch from '2026-07-29 04:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37852 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.800385)'))) / (select extract(epoch from '2026-07-29 04:01:55'::timestamp) - extract(epoch from '2026-07-29 04:01: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'), 47641, 'SRID=4674;POINT (-40.378622 -2.800372)', '2026-07-29 04:02:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.378622 -2.800372)'))) / (select extract(epoch from '2026-07-29 04:02:03'::timestamp) - extract(epoch from '2026-07-29 04:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.378622 -2.800372)'))) / (select extract(epoch from '2026-07-29 04:02:03'::timestamp) - extract(epoch from '2026-07-29 04:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378662 -2.800355)', '2026-07-29 04:02:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378622 -2.800372)'), GeomFromEWKT('SRID=4674;POINT (-40.378662 -2.800355)'))) / (select extract(epoch from '2026-07-29 04:02:10'::timestamp) - extract(epoch from '2026-07-29 04:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378622 -2.800372)'), GeomFromEWKT('SRID=4674;POINT (-40.378662 -2.800355)'))) / (select extract(epoch from '2026-07-29 04:02:10'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47641, 'SRID=4674;POINT (-40.378706 -2.800336)', '2026-07-29 04:02:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378662 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.800336)'))) / (select extract(epoch from '2026-07-29 04:02:18'::timestamp) - extract(epoch from '2026-07-29 04:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378662 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.800336)'))) / (select extract(epoch from '2026-07-29 04:02:18'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47641, 'SRID=4674;POINT (-40.378753 -2.80031)', '2026-07-29 04:02:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.378753 -2.80031)'))) / (select extract(epoch from '2026-07-29 04:02:27'::timestamp) - extract(epoch from '2026-07-29 04:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378706 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.378753 -2.80031)'))) / (select extract(epoch from '2026-07-29 04:02:27'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.378804 -2.800281)', '2026-07-29 04:02:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378753 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.378804 -2.800281)'))) / (select extract(epoch from '2026-07-29 04:02:37'::timestamp) - extract(epoch from '2026-07-29 04:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378753 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.378804 -2.800281)'))) / (select extract(epoch from '2026-07-29 04:02:37'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47641, 'SRID=4674;POINT (-40.378858 -2.800255)', '2026-07-29 04:02:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378804 -2.800281)'), GeomFromEWKT('SRID=4674;POINT (-40.378858 -2.800255)'))) / (select extract(epoch from '2026-07-29 04:02:46'::timestamp) - extract(epoch from '2026-07-29 04:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378804 -2.800281)'), GeomFromEWKT('SRID=4674;POINT (-40.378858 -2.800255)'))) / (select extract(epoch from '2026-07-29 04:02:46'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47641, 'SRID=4674;POINT (-40.378898 -2.800235)', '2026-07-29 04:02:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378858 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.378898 -2.800235)'))) / (select extract(epoch from '2026-07-29 04:02:53'::timestamp) - extract(epoch from '2026-07-29 04:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378858 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.378898 -2.800235)'))) / (select extract(epoch from '2026-07-29 04:02:53'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47641, 'SRID=4674;POINT (-40.378962 -2.800206)', '2026-07-29 04:03:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378898 -2.800235)'), GeomFromEWKT('SRID=4674;POINT (-40.378962 -2.800206)'))) / (select extract(epoch from '2026-07-29 04:03:04'::timestamp) - extract(epoch from '2026-07-29 04:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378898 -2.800235)'), GeomFromEWKT('SRID=4674;POINT (-40.378962 -2.800206)'))) / (select extract(epoch from '2026-07-29 04:03:04'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47641, 'SRID=4674;POINT (-40.379022 -2.800184)', '2026-07-29 04:03:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378962 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.800184)'))) / (select extract(epoch from '2026-07-29 04:03:14'::timestamp) - extract(epoch from '2026-07-29 04:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378962 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.800184)'))) / (select extract(epoch from '2026-07-29 04:03:14'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.379075 -2.800157)', '2026-07-29 04:03:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.379075 -2.800157)'))) / (select extract(epoch from '2026-07-29 04:03:24'::timestamp) - extract(epoch from '2026-07-29 04:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.379075 -2.800157)'))) / (select extract(epoch from '2026-07-29 04:03:24'::timestamp) - extract(epoch from '2026-07-29 04:03: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'), 47641, 'SRID=4674;POINT (-40.379118 -2.800137)', '2026-07-29 04:03:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379075 -2.800157)'), GeomFromEWKT('SRID=4674;POINT (-40.379118 -2.800137)'))) / (select extract(epoch from '2026-07-29 04:03:32'::timestamp) - extract(epoch from '2026-07-29 04:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379075 -2.800157)'), GeomFromEWKT('SRID=4674;POINT (-40.379118 -2.800137)'))) / (select extract(epoch from '2026-07-29 04:03:32'::timestamp) - extract(epoch from '2026-07-29 04:03: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'), 47641, 'SRID=4674;POINT (-40.379172 -2.800117)', '2026-07-29 04:03:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379118 -2.800137)'), GeomFromEWKT('SRID=4674;POINT (-40.379172 -2.800117)'))) / (select extract(epoch from '2026-07-29 04:03:41'::timestamp) - extract(epoch from '2026-07-29 04:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379118 -2.800137)'), GeomFromEWKT('SRID=4674;POINT (-40.379172 -2.800117)'))) / (select extract(epoch from '2026-07-29 04:03:41'::timestamp) - extract(epoch from '2026-07-29 04:03: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'), 47641, 'SRID=4674;POINT (-40.379236 -2.800095)', '2026-07-29 04:03:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379172 -2.800117)'), GeomFromEWKT('SRID=4674;POINT (-40.379236 -2.800095)'))) / (select extract(epoch from '2026-07-29 04:03:52'::timestamp) - extract(epoch from '2026-07-29 04:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379172 -2.800117)'), GeomFromEWKT('SRID=4674;POINT (-40.379236 -2.800095)'))) / (select extract(epoch from '2026-07-29 04:03:52'::timestamp) - extract(epoch from '2026-07-29 04:03: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'), 47641, 'SRID=4674;POINT (-40.379279 -2.800079)', '2026-07-29 04:04:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379236 -2.800095)'), GeomFromEWKT('SRID=4674;POINT (-40.379279 -2.800079)'))) / (select extract(epoch from '2026-07-29 04:04:01'::timestamp) - extract(epoch from '2026-07-29 04:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379236 -2.800095)'), GeomFromEWKT('SRID=4674;POINT (-40.379279 -2.800079)'))) / (select extract(epoch from '2026-07-29 04:04:01'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.379318 -2.800062)', '2026-07-29 04:04:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379279 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.379318 -2.800062)'))) / (select extract(epoch from '2026-07-29 04:04:08'::timestamp) - extract(epoch from '2026-07-29 04:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379279 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.379318 -2.800062)'))) / (select extract(epoch from '2026-07-29 04:04:08'::timestamp) - extract(epoch from '2026-07-29 04:04: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'), 47641, 'SRID=4674;POINT (-40.379371 -2.800043)', '2026-07-29 04:04:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379318 -2.800062)'), GeomFromEWKT('SRID=4674;POINT (-40.379371 -2.800043)'))) / (select extract(epoch from '2026-07-29 04:04:16'::timestamp) - extract(epoch from '2026-07-29 04:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379318 -2.800062)'), GeomFromEWKT('SRID=4674;POINT (-40.379371 -2.800043)'))) / (select extract(epoch from '2026-07-29 04:04:16'::timestamp) - extract(epoch from '2026-07-29 04:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37942 -2.800023)', '2026-07-29 04:04:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379371 -2.800043)'), GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800023)'))) / (select extract(epoch from '2026-07-29 04:04:24'::timestamp) - extract(epoch from '2026-07-29 04:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379371 -2.800043)'), GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800023)'))) / (select extract(epoch from '2026-07-29 04:04:24'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.379478 -2.800003)', '2026-07-29 04:04:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800023)'), GeomFromEWKT('SRID=4674;POINT (-40.379478 -2.800003)'))) / (select extract(epoch from '2026-07-29 04:04:33'::timestamp) - extract(epoch from '2026-07-29 04:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800023)'), GeomFromEWKT('SRID=4674;POINT (-40.379478 -2.800003)'))) / (select extract(epoch from '2026-07-29 04:04:33'::timestamp) - extract(epoch from '2026-07-29 04:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37953 -2.799977)', '2026-07-29 04:04:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379478 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.37953 -2.799977)'))) / (select extract(epoch from '2026-07-29 04:04:41'::timestamp) - extract(epoch from '2026-07-29 04:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379478 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.37953 -2.799977)'))) / (select extract(epoch from '2026-07-29 04:04:41'::timestamp) - extract(epoch from '2026-07-29 04:04: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'), 47641, 'SRID=4674;POINT (-40.379548 -2.799971)', '2026-07-29 04:04:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37953 -2.799977)'), GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.799971)'))) / (select extract(epoch from '2026-07-29 04:04:47'::timestamp) - extract(epoch from '2026-07-29 04:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37953 -2.799977)'), GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.799971)'))) / (select extract(epoch from '2026-07-29 04:04:47'::timestamp) - extract(epoch from '2026-07-29 04:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379577 -2.79996)', '2026-07-29 04:04:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.799971)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.79996)'))) / (select extract(epoch from '2026-07-29 04:04:54'::timestamp) - extract(epoch from '2026-07-29 04:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.799971)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.79996)'))) / (select extract(epoch from '2026-07-29 04:04:54'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.379618 -2.799937)', '2026-07-29 04:05:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.379618 -2.799937)'))) / (select extract(epoch from '2026-07-29 04:05:02'::timestamp) - extract(epoch from '2026-07-29 04:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.379618 -2.799937)'))) / (select extract(epoch from '2026-07-29 04:05:02'::timestamp) - extract(epoch from '2026-07-29 04:04: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'), 47641, 'SRID=4674;POINT (-40.37967 -2.799916)', '2026-07-29 04:05:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379618 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.37967 -2.799916)'))) / (select extract(epoch from '2026-07-29 04:05:11'::timestamp) - extract(epoch from '2026-07-29 04:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379618 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.37967 -2.799916)'))) / (select extract(epoch from '2026-07-29 04:05:11'::timestamp) - extract(epoch from '2026-07-29 04:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379717 -2.799898)', '2026-07-29 04:05:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37967 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.379717 -2.799898)'))) / (select extract(epoch from '2026-07-29 04:05:19'::timestamp) - extract(epoch from '2026-07-29 04:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37967 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.379717 -2.799898)'))) / (select extract(epoch from '2026-07-29 04:05:19'::timestamp) - extract(epoch from '2026-07-29 04:05: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'), 47641, 'SRID=4674;POINT (-40.379758 -2.799884)', '2026-07-29 04:05:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379717 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.799884)'))) / (select extract(epoch from '2026-07-29 04:05:27'::timestamp) - extract(epoch from '2026-07-29 04:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379717 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.799884)'))) / (select extract(epoch from '2026-07-29 04:05:27'::timestamp) - extract(epoch from '2026-07-29 04:05: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'), 47641, 'SRID=4674;POINT (-40.379805 -2.799863)', '2026-07-29 04:05:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.799884)'), GeomFromEWKT('SRID=4674;POINT (-40.379805 -2.799863)'))) / (select extract(epoch from '2026-07-29 04:05:37'::timestamp) - extract(epoch from '2026-07-29 04:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379758 -2.799884)'), GeomFromEWKT('SRID=4674;POINT (-40.379805 -2.799863)'))) / (select extract(epoch from '2026-07-29 04:05:37'::timestamp) - extract(epoch from '2026-07-29 04:05: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'), 47641, 'SRID=4674;POINT (-40.379862 -2.799843)', '2026-07-29 04:05:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379805 -2.799863)'), GeomFromEWKT('SRID=4674;POINT (-40.379862 -2.799843)'))) / (select extract(epoch from '2026-07-29 04:05:46'::timestamp) - extract(epoch from '2026-07-29 04:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379805 -2.799863)'), GeomFromEWKT('SRID=4674;POINT (-40.379862 -2.799843)'))) / (select extract(epoch from '2026-07-29 04:05:46'::timestamp) - extract(epoch from '2026-07-29 04:05: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'), 47641, 'SRID=4674;POINT (-40.379943 -2.799821)', '2026-07-29 04:05:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379862 -2.799843)'), GeomFromEWKT('SRID=4674;POINT (-40.379943 -2.799821)'))) / (select extract(epoch from '2026-07-29 04:05:59'::timestamp) - extract(epoch from '2026-07-29 04:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379862 -2.799843)'), GeomFromEWKT('SRID=4674;POINT (-40.379943 -2.799821)'))) / (select extract(epoch from '2026-07-29 04:05:59'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.380015 -2.799797)', '2026-07-29 04:06:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379943 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.799797)'))) / (select extract(epoch from '2026-07-29 04:06:11'::timestamp) - extract(epoch from '2026-07-29 04:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379943 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.799797)'))) / (select extract(epoch from '2026-07-29 04:06:11'::timestamp) - extract(epoch from '2026-07-29 04:05: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'), 47641, 'SRID=4674;POINT (-40.380074 -2.799778)', '2026-07-29 04:06:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.799797)'), GeomFromEWKT('SRID=4674;POINT (-40.380074 -2.799778)'))) / (select extract(epoch from '2026-07-29 04:06:21'::timestamp) - extract(epoch from '2026-07-29 04:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.799797)'), GeomFromEWKT('SRID=4674;POINT (-40.380074 -2.799778)'))) / (select extract(epoch from '2026-07-29 04:06:21'::timestamp) - extract(epoch from '2026-07-29 04:06: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'), 47641, 'SRID=4674;POINT (-40.380122 -2.799773)', '2026-07-29 04:06:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380074 -2.799778)'), GeomFromEWKT('SRID=4674;POINT (-40.380122 -2.799773)'))) / (select extract(epoch from '2026-07-29 04:06:29'::timestamp) - extract(epoch from '2026-07-29 04:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380074 -2.799778)'), GeomFromEWKT('SRID=4674;POINT (-40.380122 -2.799773)'))) / (select extract(epoch from '2026-07-29 04:06:29'::timestamp) - extract(epoch from '2026-07-29 04:06: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'), 47641, 'SRID=4674;POINT (-40.380162 -2.799765)', '2026-07-29 04:06:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380122 -2.799773)'), GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.799765)'))) / (select extract(epoch from '2026-07-29 04:06:36'::timestamp) - extract(epoch from '2026-07-29 04:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380122 -2.799773)'), GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.799765)'))) / (select extract(epoch from '2026-07-29 04:06:36'::timestamp) - extract(epoch from '2026-07-29 04:06: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'), 47641, 'SRID=4674;POINT (-40.380231 -2.799741)', '2026-07-29 04:06:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.799765)'), GeomFromEWKT('SRID=4674;POINT (-40.380231 -2.799741)'))) / (select extract(epoch from '2026-07-29 04:06:48'::timestamp) - extract(epoch from '2026-07-29 04:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.799765)'), GeomFromEWKT('SRID=4674;POINT (-40.380231 -2.799741)'))) / (select extract(epoch from '2026-07-29 04:06:48'::timestamp) - extract(epoch from '2026-07-29 04:06: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'), 47641, 'SRID=4674;POINT (-40.38028 -2.799728)', '2026-07-29 04:06:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380231 -2.799741)'), GeomFromEWKT('SRID=4674;POINT (-40.38028 -2.799728)'))) / (select extract(epoch from '2026-07-29 04:06:56'::timestamp) - extract(epoch from '2026-07-29 04:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380231 -2.799741)'), GeomFromEWKT('SRID=4674;POINT (-40.38028 -2.799728)'))) / (select extract(epoch from '2026-07-29 04:06:56'::timestamp) - extract(epoch from '2026-07-29 04:06: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'), 47641, 'SRID=4674;POINT (-40.380322 -2.799715)', '2026-07-29 04:07:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38028 -2.799728)'), GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.799715)'))) / (select extract(epoch from '2026-07-29 04:07:02'::timestamp) - extract(epoch from '2026-07-29 04:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38028 -2.799728)'), GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.799715)'))) / (select extract(epoch from '2026-07-29 04:07:02'::timestamp) - extract(epoch from '2026-07-29 04:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380389 -2.799683)', '2026-07-29 04:07:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.799715)'), GeomFromEWKT('SRID=4674;POINT (-40.380389 -2.799683)'))) / (select extract(epoch from '2026-07-29 04:07:13'::timestamp) - extract(epoch from '2026-07-29 04:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.799715)'), GeomFromEWKT('SRID=4674;POINT (-40.380389 -2.799683)'))) / (select extract(epoch from '2026-07-29 04:07:13'::timestamp) - extract(epoch from '2026-07-29 04:07: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'), 47641, 'SRID=4674;POINT (-40.380463 -2.799654)', '2026-07-29 04:07:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380389 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.380463 -2.799654)'))) / (select extract(epoch from '2026-07-29 04:07:24'::timestamp) - extract(epoch from '2026-07-29 04:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380389 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.380463 -2.799654)'))) / (select extract(epoch from '2026-07-29 04:07:24'::timestamp) - extract(epoch from '2026-07-29 04:07: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'), 47641, 'SRID=4674;POINT (-40.380472 -2.799655)', '2026-07-29 04:07:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380463 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.380472 -2.799655)'))) / (select extract(epoch from '2026-07-29 04:07:25'::timestamp) - extract(epoch from '2026-07-29 04:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380463 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.380472 -2.799655)'))) / (select extract(epoch from '2026-07-29 04:07:25'::timestamp) - extract(epoch from '2026-07-29 04:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380499 -2.799644)', '2026-07-29 04:07:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380472 -2.799655)'), GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.799644)'))) / (select extract(epoch from '2026-07-29 04:07:29'::timestamp) - extract(epoch from '2026-07-29 04:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380472 -2.799655)'), GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.799644)'))) / (select extract(epoch from '2026-07-29 04:07:29'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.380569 -2.799604)', '2026-07-29 04:07:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.799644)'), GeomFromEWKT('SRID=4674;POINT (-40.380569 -2.799604)'))) / (select extract(epoch from '2026-07-29 04:07:40'::timestamp) - extract(epoch from '2026-07-29 04:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.799644)'), GeomFromEWKT('SRID=4674;POINT (-40.380569 -2.799604)'))) / (select extract(epoch from '2026-07-29 04:07:40'::timestamp) - extract(epoch from '2026-07-29 04:07: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'), 47641, 'SRID=4674;POINT (-40.380636 -2.799573)', '2026-07-29 04:07:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380569 -2.799604)'), GeomFromEWKT('SRID=4674;POINT (-40.380636 -2.799573)'))) / (select extract(epoch from '2026-07-29 04:07:49'::timestamp) - extract(epoch from '2026-07-29 04:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380569 -2.799604)'), GeomFromEWKT('SRID=4674;POINT (-40.380636 -2.799573)'))) / (select extract(epoch from '2026-07-29 04:07:49'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.380694 -2.799539)', '2026-07-29 04:07:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380636 -2.799573)'), GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.799539)'))) / (select extract(epoch from '2026-07-29 04:07:58'::timestamp) - extract(epoch from '2026-07-29 04:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380636 -2.799573)'), GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.799539)'))) / (select extract(epoch from '2026-07-29 04:07:58'::timestamp) - extract(epoch from '2026-07-29 04:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380753 -2.799504)', '2026-07-29 04:08:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.799539)'), GeomFromEWKT('SRID=4674;POINT (-40.380753 -2.799504)'))) / (select extract(epoch from '2026-07-29 04:08:08'::timestamp) - extract(epoch from '2026-07-29 04:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.799539)'), GeomFromEWKT('SRID=4674;POINT (-40.380753 -2.799504)'))) / (select extract(epoch from '2026-07-29 04:08:08'::timestamp) - extract(epoch from '2026-07-29 04:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38082 -2.799476)', '2026-07-29 04:08:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380753 -2.799504)'), GeomFromEWKT('SRID=4674;POINT (-40.38082 -2.799476)'))) / (select extract(epoch from '2026-07-29 04:08:18'::timestamp) - extract(epoch from '2026-07-29 04:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380753 -2.799504)'), GeomFromEWKT('SRID=4674;POINT (-40.38082 -2.799476)'))) / (select extract(epoch from '2026-07-29 04:08:18'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47641, 'SRID=4674;POINT (-40.380889 -2.799439)', '2026-07-29 04:08:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38082 -2.799476)'), GeomFromEWKT('SRID=4674;POINT (-40.380889 -2.799439)'))) / (select extract(epoch from '2026-07-29 04:08:29'::timestamp) - extract(epoch from '2026-07-29 04:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38082 -2.799476)'), GeomFromEWKT('SRID=4674;POINT (-40.380889 -2.799439)'))) / (select extract(epoch from '2026-07-29 04:08:29'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47641, 'SRID=4674;POINT (-40.380923 -2.799422)', '2026-07-29 04:08:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380889 -2.799439)'), GeomFromEWKT('SRID=4674;POINT (-40.380923 -2.799422)'))) / (select extract(epoch from '2026-07-29 04:08:34'::timestamp) - extract(epoch from '2026-07-29 04:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380889 -2.799439)'), GeomFromEWKT('SRID=4674;POINT (-40.380923 -2.799422)'))) / (select extract(epoch from '2026-07-29 04:08:34'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47641, 'SRID=4674;POINT (-40.380973 -2.7994)', '2026-07-29 04:08:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380923 -2.799422)'), GeomFromEWKT('SRID=4674;POINT (-40.380973 -2.7994)'))) / (select extract(epoch from '2026-07-29 04:08:42'::timestamp) - extract(epoch from '2026-07-29 04:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380923 -2.799422)'), GeomFromEWKT('SRID=4674;POINT (-40.380973 -2.7994)'))) / (select extract(epoch from '2026-07-29 04:08:42'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47641, 'SRID=4674;POINT (-40.38103 -2.799382)', '2026-07-29 04:08:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380973 -2.7994)'), GeomFromEWKT('SRID=4674;POINT (-40.38103 -2.799382)'))) / (select extract(epoch from '2026-07-29 04:08:51'::timestamp) - extract(epoch from '2026-07-29 04:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380973 -2.7994)'), GeomFromEWKT('SRID=4674;POINT (-40.38103 -2.799382)'))) / (select extract(epoch from '2026-07-29 04:08:51'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47641, 'SRID=4674;POINT (-40.381073 -2.799366)', '2026-07-29 04:08:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38103 -2.799382)'), GeomFromEWKT('SRID=4674;POINT (-40.381073 -2.799366)'))) / (select extract(epoch from '2026-07-29 04:08:58'::timestamp) - extract(epoch from '2026-07-29 04:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38103 -2.799382)'), GeomFromEWKT('SRID=4674;POINT (-40.381073 -2.799366)'))) / (select extract(epoch from '2026-07-29 04:08:58'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47641, 'SRID=4674;POINT (-40.38114 -2.799338)', '2026-07-29 04:09:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381073 -2.799366)'), GeomFromEWKT('SRID=4674;POINT (-40.38114 -2.799338)'))) / (select extract(epoch from '2026-07-29 04:09:08'::timestamp) - extract(epoch from '2026-07-29 04:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381073 -2.799366)'), GeomFromEWKT('SRID=4674;POINT (-40.38114 -2.799338)'))) / (select extract(epoch from '2026-07-29 04:09:08'::timestamp) - extract(epoch from '2026-07-29 04:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381201 -2.79932)', '2026-07-29 04:09:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38114 -2.799338)'), GeomFromEWKT('SRID=4674;POINT (-40.381201 -2.79932)'))) / (select extract(epoch from '2026-07-29 04:09:17'::timestamp) - extract(epoch from '2026-07-29 04:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38114 -2.799338)'), GeomFromEWKT('SRID=4674;POINT (-40.381201 -2.79932)'))) / (select extract(epoch from '2026-07-29 04:09:17'::timestamp) - extract(epoch from '2026-07-29 04:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381261 -2.799305)', '2026-07-29 04:09:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381201 -2.79932)'), GeomFromEWKT('SRID=4674;POINT (-40.381261 -2.799305)'))) / (select extract(epoch from '2026-07-29 04:09:26'::timestamp) - extract(epoch from '2026-07-29 04:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381201 -2.79932)'), GeomFromEWKT('SRID=4674;POINT (-40.381261 -2.799305)'))) / (select extract(epoch from '2026-07-29 04:09:26'::timestamp) - extract(epoch from '2026-07-29 04:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381283 -2.7993)', '2026-07-29 04:09:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381261 -2.799305)'), GeomFromEWKT('SRID=4674;POINT (-40.381283 -2.7993)'))) / (select extract(epoch from '2026-07-29 04:09:29'::timestamp) - extract(epoch from '2026-07-29 04:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381261 -2.799305)'), GeomFromEWKT('SRID=4674;POINT (-40.381283 -2.7993)'))) / (select extract(epoch from '2026-07-29 04:09:29'::timestamp) - extract(epoch from '2026-07-29 04:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381305 -2.799301)', '2026-07-29 04:09:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381283 -2.7993)'), GeomFromEWKT('SRID=4674;POINT (-40.381305 -2.799301)'))) / (select extract(epoch from '2026-07-29 04:09:32'::timestamp) - extract(epoch from '2026-07-29 04:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381283 -2.7993)'), GeomFromEWKT('SRID=4674;POINT (-40.381305 -2.799301)'))) / (select extract(epoch from '2026-07-29 04:09:32'::timestamp) - extract(epoch from '2026-07-29 04:09: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'), 47641, 'SRID=4674;POINT (-40.381348 -2.799284)', '2026-07-29 04:09:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381305 -2.799301)'), GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.799284)'))) / (select extract(epoch from '2026-07-29 04:09:39'::timestamp) - extract(epoch from '2026-07-29 04:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381305 -2.799301)'), GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.799284)'))) / (select extract(epoch from '2026-07-29 04:09:39'::timestamp) - extract(epoch from '2026-07-29 04:09: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'), 47641, 'SRID=4674;POINT (-40.381405 -2.79926)', '2026-07-29 04:09:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.799284)'), GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.79926)'))) / (select extract(epoch from '2026-07-29 04:09:49'::timestamp) - extract(epoch from '2026-07-29 04:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.799284)'), GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.79926)'))) / (select extract(epoch from '2026-07-29 04:09:49'::timestamp) - extract(epoch from '2026-07-29 04:09: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'), 47641, 'SRID=4674;POINT (-40.381461 -2.799241)', '2026-07-29 04:09:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.79926)'), GeomFromEWKT('SRID=4674;POINT (-40.381461 -2.799241)'))) / (select extract(epoch from '2026-07-29 04:09:57'::timestamp) - extract(epoch from '2026-07-29 04:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.79926)'), GeomFromEWKT('SRID=4674;POINT (-40.381461 -2.799241)'))) / (select extract(epoch from '2026-07-29 04:09:57'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.381544 -2.7992)', '2026-07-29 04:10:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381461 -2.799241)'), GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.7992)'))) / (select extract(epoch from '2026-07-29 04:10:10'::timestamp) - extract(epoch from '2026-07-29 04:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381461 -2.799241)'), GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.7992)'))) / (select extract(epoch from '2026-07-29 04:10:10'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.381591 -2.799185)', '2026-07-29 04:10:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.7992)'), GeomFromEWKT('SRID=4674;POINT (-40.381591 -2.799185)'))) / (select extract(epoch from '2026-07-29 04:10:16'::timestamp) - extract(epoch from '2026-07-29 04:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.7992)'), GeomFromEWKT('SRID=4674;POINT (-40.381591 -2.799185)'))) / (select extract(epoch from '2026-07-29 04:10:16'::timestamp) - extract(epoch from '2026-07-29 04:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38163 -2.799167)', '2026-07-29 04:10:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381591 -2.799185)'), GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.799167)'))) / (select extract(epoch from '2026-07-29 04:10:23'::timestamp) - extract(epoch from '2026-07-29 04:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381591 -2.799185)'), GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.799167)'))) / (select extract(epoch from '2026-07-29 04:10:23'::timestamp) - extract(epoch from '2026-07-29 04:10: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'), 47641, 'SRID=4674;POINT (-40.381646 -2.799168)', '2026-07-29 04:10:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.799167)'), GeomFromEWKT('SRID=4674;POINT (-40.381646 -2.799168)'))) / (select extract(epoch from '2026-07-29 04:10:25'::timestamp) - extract(epoch from '2026-07-29 04:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.799167)'), GeomFromEWKT('SRID=4674;POINT (-40.381646 -2.799168)'))) / (select extract(epoch from '2026-07-29 04:10:25'::timestamp) - extract(epoch from '2026-07-29 04:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381675 -2.79916)', '2026-07-29 04:10:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381646 -2.799168)'), GeomFromEWKT('SRID=4674;POINT (-40.381675 -2.79916)'))) / (select extract(epoch from '2026-07-29 04:10:29'::timestamp) - extract(epoch from '2026-07-29 04:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381646 -2.799168)'), GeomFromEWKT('SRID=4674;POINT (-40.381675 -2.79916)'))) / (select extract(epoch from '2026-07-29 04:10:29'::timestamp) - extract(epoch from '2026-07-29 04:10: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'), 47641, 'SRID=4674;POINT (-40.381749 -2.799136)', '2026-07-29 04:10:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381675 -2.79916)'), GeomFromEWKT('SRID=4674;POINT (-40.381749 -2.799136)'))) / (select extract(epoch from '2026-07-29 04:10:40'::timestamp) - extract(epoch from '2026-07-29 04:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381675 -2.79916)'), GeomFromEWKT('SRID=4674;POINT (-40.381749 -2.799136)'))) / (select extract(epoch from '2026-07-29 04:10:40'::timestamp) - extract(epoch from '2026-07-29 04:10: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'), 47641, 'SRID=4674;POINT (-40.381807 -2.799118)', '2026-07-29 04:10:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381749 -2.799136)'), GeomFromEWKT('SRID=4674;POINT (-40.381807 -2.799118)'))) / (select extract(epoch from '2026-07-29 04:10:48'::timestamp) - extract(epoch from '2026-07-29 04:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381749 -2.799136)'), GeomFromEWKT('SRID=4674;POINT (-40.381807 -2.799118)'))) / (select extract(epoch from '2026-07-29 04:10:48'::timestamp) - extract(epoch from '2026-07-29 04:10: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'), 47641, 'SRID=4674;POINT (-40.381866 -2.79909)', '2026-07-29 04:10:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381807 -2.799118)'), GeomFromEWKT('SRID=4674;POINT (-40.381866 -2.79909)'))) / (select extract(epoch from '2026-07-29 04:10:57'::timestamp) - extract(epoch from '2026-07-29 04:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381807 -2.799118)'), GeomFromEWKT('SRID=4674;POINT (-40.381866 -2.79909)'))) / (select extract(epoch from '2026-07-29 04:10:57'::timestamp) - extract(epoch from '2026-07-29 04:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381948 -2.799061)', '2026-07-29 04:11:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381866 -2.79909)'), GeomFromEWKT('SRID=4674;POINT (-40.381948 -2.799061)'))) / (select extract(epoch from '2026-07-29 04:11:09'::timestamp) - extract(epoch from '2026-07-29 04:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381866 -2.79909)'), GeomFromEWKT('SRID=4674;POINT (-40.381948 -2.799061)'))) / (select extract(epoch from '2026-07-29 04:11:09'::timestamp) - extract(epoch from '2026-07-29 04:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38201 -2.799042)', '2026-07-29 04:11:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381948 -2.799061)'), GeomFromEWKT('SRID=4674;POINT (-40.38201 -2.799042)'))) / (select extract(epoch from '2026-07-29 04:11:18'::timestamp) - extract(epoch from '2026-07-29 04:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381948 -2.799061)'), GeomFromEWKT('SRID=4674;POINT (-40.38201 -2.799042)'))) / (select extract(epoch from '2026-07-29 04:11:18'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.382035 -2.79903)', '2026-07-29 04:11:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38201 -2.799042)'), GeomFromEWKT('SRID=4674;POINT (-40.382035 -2.79903)'))) / (select extract(epoch from '2026-07-29 04:11:26'::timestamp) - extract(epoch from '2026-07-29 04:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38201 -2.799042)'), GeomFromEWKT('SRID=4674;POINT (-40.382035 -2.79903)'))) / (select extract(epoch from '2026-07-29 04:11:26'::timestamp) - extract(epoch from '2026-07-29 04:11: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'), 47641, 'SRID=4674;POINT (-40.382072 -2.799025)', '2026-07-29 04:11:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382035 -2.79903)'), GeomFromEWKT('SRID=4674;POINT (-40.382072 -2.799025)'))) / (select extract(epoch from '2026-07-29 04:11:34'::timestamp) - extract(epoch from '2026-07-29 04:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382035 -2.79903)'), GeomFromEWKT('SRID=4674;POINT (-40.382072 -2.799025)'))) / (select extract(epoch from '2026-07-29 04:11:34'::timestamp) - extract(epoch from '2026-07-29 04:11: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'), 47641, 'SRID=4674;POINT (-40.382123 -2.799008)', '2026-07-29 04:11:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382072 -2.799025)'), GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.799008)'))) / (select extract(epoch from '2026-07-29 04:11:44'::timestamp) - extract(epoch from '2026-07-29 04:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382072 -2.799025)'), GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.799008)'))) / (select extract(epoch from '2026-07-29 04:11:44'::timestamp) - extract(epoch from '2026-07-29 04:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38217 -2.798984)', '2026-07-29 04:11:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.799008)'), GeomFromEWKT('SRID=4674;POINT (-40.38217 -2.798984)'))) / (select extract(epoch from '2026-07-29 04:11:53'::timestamp) - extract(epoch from '2026-07-29 04:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.799008)'), GeomFromEWKT('SRID=4674;POINT (-40.38217 -2.798984)'))) / (select extract(epoch from '2026-07-29 04:11:53'::timestamp) - extract(epoch from '2026-07-29 04:11: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'), 47641, 'SRID=4674;POINT (-40.382213 -2.798965)', '2026-07-29 04:12:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38217 -2.798984)'), GeomFromEWKT('SRID=4674;POINT (-40.382213 -2.798965)'))) / (select extract(epoch from '2026-07-29 04:12:01'::timestamp) - extract(epoch from '2026-07-29 04:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38217 -2.798984)'), GeomFromEWKT('SRID=4674;POINT (-40.382213 -2.798965)'))) / (select extract(epoch from '2026-07-29 04:12:01'::timestamp) - extract(epoch from '2026-07-29 04:11: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'), 47641, 'SRID=4674;POINT (-40.382267 -2.798939)', '2026-07-29 04:12:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382213 -2.798965)'), GeomFromEWKT('SRID=4674;POINT (-40.382267 -2.798939)'))) / (select extract(epoch from '2026-07-29 04:12:12'::timestamp) - extract(epoch from '2026-07-29 04:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382213 -2.798965)'), GeomFromEWKT('SRID=4674;POINT (-40.382267 -2.798939)'))) / (select extract(epoch from '2026-07-29 04:12:12'::timestamp) - extract(epoch from '2026-07-29 04:12: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'), 47641, 'SRID=4674;POINT (-40.382339 -2.798912)', '2026-07-29 04:12:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382267 -2.798939)'), GeomFromEWKT('SRID=4674;POINT (-40.382339 -2.798912)'))) / (select extract(epoch from '2026-07-29 04:12:24'::timestamp) - extract(epoch from '2026-07-29 04:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382267 -2.798939)'), GeomFromEWKT('SRID=4674;POINT (-40.382339 -2.798912)'))) / (select extract(epoch from '2026-07-29 04:12:24'::timestamp) - extract(epoch from '2026-07-29 04:12: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'), 47641, 'SRID=4674;POINT (-40.382398 -2.798886)', '2026-07-29 04:12:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382339 -2.798912)'), GeomFromEWKT('SRID=4674;POINT (-40.382398 -2.798886)'))) / (select extract(epoch from '2026-07-29 04:12:35'::timestamp) - extract(epoch from '2026-07-29 04:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382339 -2.798912)'), GeomFromEWKT('SRID=4674;POINT (-40.382398 -2.798886)'))) / (select extract(epoch from '2026-07-29 04:12:35'::timestamp) - extract(epoch from '2026-07-29 04:12: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'), 47641, 'SRID=4674;POINT (-40.382445 -2.798865)', '2026-07-29 04:12:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382398 -2.798886)'), GeomFromEWKT('SRID=4674;POINT (-40.382445 -2.798865)'))) / (select extract(epoch from '2026-07-29 04:12:44'::timestamp) - extract(epoch from '2026-07-29 04:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382398 -2.798886)'), GeomFromEWKT('SRID=4674;POINT (-40.382445 -2.798865)'))) / (select extract(epoch from '2026-07-29 04:12:44'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.3825 -2.798846)', '2026-07-29 04:12:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382445 -2.798865)'), GeomFromEWKT('SRID=4674;POINT (-40.3825 -2.798846)'))) / (select extract(epoch from '2026-07-29 04:12:53'::timestamp) - extract(epoch from '2026-07-29 04:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382445 -2.798865)'), GeomFromEWKT('SRID=4674;POINT (-40.3825 -2.798846)'))) / (select extract(epoch from '2026-07-29 04:12:53'::timestamp) - extract(epoch from '2026-07-29 04:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382536 -2.798828)', '2026-07-29 04:13:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3825 -2.798846)'), GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.798828)'))) / (select extract(epoch from '2026-07-29 04:13:00'::timestamp) - extract(epoch from '2026-07-29 04:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3825 -2.798846)'), GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.798828)'))) / (select extract(epoch from '2026-07-29 04:13:00'::timestamp) - extract(epoch from '2026-07-29 04:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
