 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577258 -2.95387)', '2026-07-28 17:15:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577205 -2.953856)'), GeomFromEWKT('SRID=4674;POINT (-39.577258 -2.95387)'))) / (select extract(epoch from '2026-07-28 17:15:04'::timestamp) - extract(epoch from '2026-07-28 17:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577205 -2.953856)'), GeomFromEWKT('SRID=4674;POINT (-39.577258 -2.95387)'))) / (select extract(epoch from '2026-07-28 17:15:04'::timestamp) - extract(epoch from '2026-07-28 17:14: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'), 48107, 'SRID=4674;POINT (-39.577298 -2.953886)', '2026-07-28 17:15:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577258 -2.95387)'), GeomFromEWKT('SRID=4674;POINT (-39.577298 -2.953886)'))) / (select extract(epoch from '2026-07-28 17:15:12'::timestamp) - extract(epoch from '2026-07-28 17:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577258 -2.95387)'), GeomFromEWKT('SRID=4674;POINT (-39.577298 -2.953886)'))) / (select extract(epoch from '2026-07-28 17:15:12'::timestamp) - extract(epoch from '2026-07-28 17:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577322 -2.953903)', '2026-07-28 17:15:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577298 -2.953886)'), GeomFromEWKT('SRID=4674;POINT (-39.577322 -2.953903)'))) / (select extract(epoch from '2026-07-28 17:15:18'::timestamp) - extract(epoch from '2026-07-28 17:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577298 -2.953886)'), GeomFromEWKT('SRID=4674;POINT (-39.577322 -2.953903)'))) / (select extract(epoch from '2026-07-28 17:15:18'::timestamp) - extract(epoch from '2026-07-28 17:15: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'), 48107, 'SRID=4674;POINT (-39.577364 -2.953919)', '2026-07-28 17:15:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577322 -2.953903)'), GeomFromEWKT('SRID=4674;POINT (-39.577364 -2.953919)'))) / (select extract(epoch from '2026-07-28 17:15:27'::timestamp) - extract(epoch from '2026-07-28 17:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577322 -2.953903)'), GeomFromEWKT('SRID=4674;POINT (-39.577364 -2.953919)'))) / (select extract(epoch from '2026-07-28 17:15:27'::timestamp) - extract(epoch from '2026-07-28 17:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577405 -2.953931)', '2026-07-28 17:15:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577364 -2.953919)'), GeomFromEWKT('SRID=4674;POINT (-39.577405 -2.953931)'))) / (select extract(epoch from '2026-07-28 17:15:36'::timestamp) - extract(epoch from '2026-07-28 17:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577364 -2.953919)'), GeomFromEWKT('SRID=4674;POINT (-39.577405 -2.953931)'))) / (select extract(epoch from '2026-07-28 17:15:36'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577448 -2.953932)', '2026-07-28 17:15:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577405 -2.953931)'), GeomFromEWKT('SRID=4674;POINT (-39.577448 -2.953932)'))) / (select extract(epoch from '2026-07-28 17:15:44'::timestamp) - extract(epoch from '2026-07-28 17:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577405 -2.953931)'), GeomFromEWKT('SRID=4674;POINT (-39.577448 -2.953932)'))) / (select extract(epoch from '2026-07-28 17:15:44'::timestamp) - extract(epoch from '2026-07-28 17:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577484 -2.95394)', '2026-07-28 17:15:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577448 -2.953932)'), GeomFromEWKT('SRID=4674;POINT (-39.577484 -2.95394)'))) / (select extract(epoch from '2026-07-28 17:15:53'::timestamp) - extract(epoch from '2026-07-28 17:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577448 -2.953932)'), GeomFromEWKT('SRID=4674;POINT (-39.577484 -2.95394)'))) / (select extract(epoch from '2026-07-28 17:15:53'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577523 -2.953954)', '2026-07-28 17:15:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577484 -2.95394)'), GeomFromEWKT('SRID=4674;POINT (-39.577523 -2.953954)'))) / (select extract(epoch from '2026-07-28 17:15:59'::timestamp) - extract(epoch from '2026-07-28 17:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577484 -2.95394)'), GeomFromEWKT('SRID=4674;POINT (-39.577523 -2.953954)'))) / (select extract(epoch from '2026-07-28 17:15:59'::timestamp) - extract(epoch from '2026-07-28 17:15: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'), 48107, 'SRID=4674;POINT (-39.577539 -2.953959)', '2026-07-28 17:16:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577523 -2.953954)'), GeomFromEWKT('SRID=4674;POINT (-39.577539 -2.953959)'))) / (select extract(epoch from '2026-07-28 17:16:03'::timestamp) - extract(epoch from '2026-07-28 17:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577523 -2.953954)'), GeomFromEWKT('SRID=4674;POINT (-39.577539 -2.953959)'))) / (select extract(epoch from '2026-07-28 17:16:03'::timestamp) - extract(epoch from '2026-07-28 17:15: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'), 48107, 'SRID=4674;POINT (-39.57755 -2.953963)', '2026-07-28 17:16:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577539 -2.953959)'), GeomFromEWKT('SRID=4674;POINT (-39.57755 -2.953963)'))) / (select extract(epoch from '2026-07-28 17:16:05'::timestamp) - extract(epoch from '2026-07-28 17:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577539 -2.953959)'), GeomFromEWKT('SRID=4674;POINT (-39.57755 -2.953963)'))) / (select extract(epoch from '2026-07-28 17:16:05'::timestamp) - extract(epoch from '2026-07-28 17:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577569 -2.953976)', '2026-07-28 17:16:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57755 -2.953963)'), GeomFromEWKT('SRID=4674;POINT (-39.577569 -2.953976)'))) / (select extract(epoch from '2026-07-28 17:16:13'::timestamp) - extract(epoch from '2026-07-28 17:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57755 -2.953963)'), GeomFromEWKT('SRID=4674;POINT (-39.577569 -2.953976)'))) / (select extract(epoch from '2026-07-28 17:16:13'::timestamp) - extract(epoch from '2026-07-28 17:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577597 -2.953994)', '2026-07-28 17:16:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577569 -2.953976)'), GeomFromEWKT('SRID=4674;POINT (-39.577597 -2.953994)'))) / (select extract(epoch from '2026-07-28 17:16:20'::timestamp) - extract(epoch from '2026-07-28 17:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577569 -2.953976)'), GeomFromEWKT('SRID=4674;POINT (-39.577597 -2.953994)'))) / (select extract(epoch from '2026-07-28 17:16:20'::timestamp) - extract(epoch from '2026-07-28 17:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577632 -2.954016)', '2026-07-28 17:16:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577597 -2.953994)'), GeomFromEWKT('SRID=4674;POINT (-39.577632 -2.954016)'))) / (select extract(epoch from '2026-07-28 17:16:28'::timestamp) - extract(epoch from '2026-07-28 17:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577597 -2.953994)'), GeomFromEWKT('SRID=4674;POINT (-39.577632 -2.954016)'))) / (select extract(epoch from '2026-07-28 17:16:28'::timestamp) - extract(epoch from '2026-07-28 17:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577659 -2.954022)', '2026-07-28 17:16:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577632 -2.954016)'), GeomFromEWKT('SRID=4674;POINT (-39.577659 -2.954022)'))) / (select extract(epoch from '2026-07-28 17:16:36'::timestamp) - extract(epoch from '2026-07-28 17:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577632 -2.954016)'), GeomFromEWKT('SRID=4674;POINT (-39.577659 -2.954022)'))) / (select extract(epoch from '2026-07-28 17:16:36'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577669 -2.954014)', '2026-07-28 17:16:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577659 -2.954022)'), GeomFromEWKT('SRID=4674;POINT (-39.577669 -2.954014)'))) / (select extract(epoch from '2026-07-28 17:16:37'::timestamp) - extract(epoch from '2026-07-28 17:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577659 -2.954022)'), GeomFromEWKT('SRID=4674;POINT (-39.577669 -2.954014)'))) / (select extract(epoch from '2026-07-28 17:16:37'::timestamp) - extract(epoch from '2026-07-28 17:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577679 -2.954019)', '2026-07-28 17:16:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577669 -2.954014)'), GeomFromEWKT('SRID=4674;POINT (-39.577679 -2.954019)'))) / (select extract(epoch from '2026-07-28 17:16:43'::timestamp) - extract(epoch from '2026-07-28 17:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577669 -2.954014)'), GeomFromEWKT('SRID=4674;POINT (-39.577679 -2.954019)'))) / (select extract(epoch from '2026-07-28 17:16:43'::timestamp) - extract(epoch from '2026-07-28 17:16: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'), 48107, 'SRID=4674;POINT (-39.577723 -2.954046)', '2026-07-28 17:16:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577679 -2.954019)'), GeomFromEWKT('SRID=4674;POINT (-39.577723 -2.954046)'))) / (select extract(epoch from '2026-07-28 17:16:49'::timestamp) - extract(epoch from '2026-07-28 17:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577679 -2.954019)'), GeomFromEWKT('SRID=4674;POINT (-39.577723 -2.954046)'))) / (select extract(epoch from '2026-07-28 17:16:49'::timestamp) - extract(epoch from '2026-07-28 17:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577744 -2.954076)', '2026-07-28 17:16:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577723 -2.954046)'), GeomFromEWKT('SRID=4674;POINT (-39.577744 -2.954076)'))) / (select extract(epoch from '2026-07-28 17:16:55'::timestamp) - extract(epoch from '2026-07-28 17:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577723 -2.954046)'), GeomFromEWKT('SRID=4674;POINT (-39.577744 -2.954076)'))) / (select extract(epoch from '2026-07-28 17:16:55'::timestamp) - extract(epoch from '2026-07-28 17:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577748 -2.954097)', '2026-07-28 17:16:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577744 -2.954076)'), GeomFromEWKT('SRID=4674;POINT (-39.577748 -2.954097)'))) / (select extract(epoch from '2026-07-28 17:16:57'::timestamp) - extract(epoch from '2026-07-28 17:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577744 -2.954076)'), GeomFromEWKT('SRID=4674;POINT (-39.577748 -2.954097)'))) / (select extract(epoch from '2026-07-28 17:16:57'::timestamp) - extract(epoch from '2026-07-28 17:16: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'), 48107, 'SRID=4674;POINT (-39.577737 -2.954164)', '2026-07-28 17:17:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577748 -2.954097)'), GeomFromEWKT('SRID=4674;POINT (-39.577737 -2.954164)'))) / (select extract(epoch from '2026-07-28 17:17:01'::timestamp) - extract(epoch from '2026-07-28 17:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577748 -2.954097)'), GeomFromEWKT('SRID=4674;POINT (-39.577737 -2.954164)'))) / (select extract(epoch from '2026-07-28 17:17:01'::timestamp) - extract(epoch from '2026-07-28 17:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57773 -2.954178)', '2026-07-28 17:17:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577737 -2.954164)'), GeomFromEWKT('SRID=4674;POINT (-39.57773 -2.954178)'))) / (select extract(epoch from '2026-07-28 17:17:02'::timestamp) - extract(epoch from '2026-07-28 17:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577737 -2.954164)'), GeomFromEWKT('SRID=4674;POINT (-39.57773 -2.954178)'))) / (select extract(epoch from '2026-07-28 17:17:02'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577711 -2.954203)', '2026-07-28 17:17:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57773 -2.954178)'), GeomFromEWKT('SRID=4674;POINT (-39.577711 -2.954203)'))) / (select extract(epoch from '2026-07-28 17:17:04'::timestamp) - extract(epoch from '2026-07-28 17:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57773 -2.954178)'), GeomFromEWKT('SRID=4674;POINT (-39.577711 -2.954203)'))) / (select extract(epoch from '2026-07-28 17:17:04'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577704 -2.954231)', '2026-07-28 17:17:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577711 -2.954203)'), GeomFromEWKT('SRID=4674;POINT (-39.577704 -2.954231)'))) / (select extract(epoch from '2026-07-28 17:17:06'::timestamp) - extract(epoch from '2026-07-28 17:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577711 -2.954203)'), GeomFromEWKT('SRID=4674;POINT (-39.577704 -2.954231)'))) / (select extract(epoch from '2026-07-28 17:17:06'::timestamp) - extract(epoch from '2026-07-28 17:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577686 -2.954256)', '2026-07-28 17:17:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577704 -2.954231)'), GeomFromEWKT('SRID=4674;POINT (-39.577686 -2.954256)'))) / (select extract(epoch from '2026-07-28 17:17:08'::timestamp) - extract(epoch from '2026-07-28 17:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577704 -2.954231)'), GeomFromEWKT('SRID=4674;POINT (-39.577686 -2.954256)'))) / (select extract(epoch from '2026-07-28 17:17:08'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577676 -2.954275)', '2026-07-28 17:17:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577686 -2.954256)'), GeomFromEWKT('SRID=4674;POINT (-39.577676 -2.954275)'))) / (select extract(epoch from '2026-07-28 17:17:10'::timestamp) - extract(epoch from '2026-07-28 17:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577686 -2.954256)'), GeomFromEWKT('SRID=4674;POINT (-39.577676 -2.954275)'))) / (select extract(epoch from '2026-07-28 17:17:10'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577649 -2.954333)', '2026-07-28 17:17:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577676 -2.954275)'), GeomFromEWKT('SRID=4674;POINT (-39.577649 -2.954333)'))) / (select extract(epoch from '2026-07-28 17:17:14'::timestamp) - extract(epoch from '2026-07-28 17:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577676 -2.954275)'), GeomFromEWKT('SRID=4674;POINT (-39.577649 -2.954333)'))) / (select extract(epoch from '2026-07-28 17:17:14'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577644 -2.954342)', '2026-07-28 17:17:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577649 -2.954333)'), GeomFromEWKT('SRID=4674;POINT (-39.577644 -2.954342)'))) / (select extract(epoch from '2026-07-28 17:17:15'::timestamp) - extract(epoch from '2026-07-28 17:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577649 -2.954333)'), GeomFromEWKT('SRID=4674;POINT (-39.577644 -2.954342)'))) / (select extract(epoch from '2026-07-28 17:17:15'::timestamp) - extract(epoch from '2026-07-28 17:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577639 -2.954352)', '2026-07-28 17:17:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577644 -2.954342)'), GeomFromEWKT('SRID=4674;POINT (-39.577639 -2.954352)'))) / (select extract(epoch from '2026-07-28 17:17:16'::timestamp) - extract(epoch from '2026-07-28 17:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577644 -2.954342)'), GeomFromEWKT('SRID=4674;POINT (-39.577639 -2.954352)'))) / (select extract(epoch from '2026-07-28 17:17:16'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577609 -2.95439)', '2026-07-28 17:17:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577639 -2.954352)'), GeomFromEWKT('SRID=4674;POINT (-39.577609 -2.95439)'))) / (select extract(epoch from '2026-07-28 17:17:20'::timestamp) - extract(epoch from '2026-07-28 17:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577639 -2.954352)'), GeomFromEWKT('SRID=4674;POINT (-39.577609 -2.95439)'))) / (select extract(epoch from '2026-07-28 17:17:20'::timestamp) - extract(epoch from '2026-07-28 17:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577581 -2.954432)', '2026-07-28 17:17:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577609 -2.95439)'), GeomFromEWKT('SRID=4674;POINT (-39.577581 -2.954432)'))) / (select extract(epoch from '2026-07-28 17:17:24'::timestamp) - extract(epoch from '2026-07-28 17:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577609 -2.95439)'), GeomFromEWKT('SRID=4674;POINT (-39.577581 -2.954432)'))) / (select extract(epoch from '2026-07-28 17:17:24'::timestamp) - extract(epoch from '2026-07-28 17:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577575 -2.954445)', '2026-07-28 17:17:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577581 -2.954432)'), GeomFromEWKT('SRID=4674;POINT (-39.577575 -2.954445)'))) / (select extract(epoch from '2026-07-28 17:17:25'::timestamp) - extract(epoch from '2026-07-28 17:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577581 -2.954432)'), GeomFromEWKT('SRID=4674;POINT (-39.577575 -2.954445)'))) / (select extract(epoch from '2026-07-28 17:17:25'::timestamp) - extract(epoch from '2026-07-28 17:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577534 -2.954528)', '2026-07-28 17:17:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577575 -2.954445)'), GeomFromEWKT('SRID=4674;POINT (-39.577534 -2.954528)'))) / (select extract(epoch from '2026-07-28 17:17:32'::timestamp) - extract(epoch from '2026-07-28 17:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577575 -2.954445)'), GeomFromEWKT('SRID=4674;POINT (-39.577534 -2.954528)'))) / (select extract(epoch from '2026-07-28 17:17:32'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577522 -2.954551)', '2026-07-28 17:17:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577534 -2.954528)'), GeomFromEWKT('SRID=4674;POINT (-39.577522 -2.954551)'))) / (select extract(epoch from '2026-07-28 17:17:34'::timestamp) - extract(epoch from '2026-07-28 17:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577534 -2.954528)'), GeomFromEWKT('SRID=4674;POINT (-39.577522 -2.954551)'))) / (select extract(epoch from '2026-07-28 17:17:34'::timestamp) - extract(epoch from '2026-07-28 17:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577501 -2.954589)', '2026-07-28 17:17:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577522 -2.954551)'), GeomFromEWKT('SRID=4674;POINT (-39.577501 -2.954589)'))) / (select extract(epoch from '2026-07-28 17:17:37'::timestamp) - extract(epoch from '2026-07-28 17:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577522 -2.954551)'), GeomFromEWKT('SRID=4674;POINT (-39.577501 -2.954589)'))) / (select extract(epoch from '2026-07-28 17:17:37'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577488 -2.954617)', '2026-07-28 17:17:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577501 -2.954589)'), GeomFromEWKT('SRID=4674;POINT (-39.577488 -2.954617)'))) / (select extract(epoch from '2026-07-28 17:17:39'::timestamp) - extract(epoch from '2026-07-28 17:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577501 -2.954589)'), GeomFromEWKT('SRID=4674;POINT (-39.577488 -2.954617)'))) / (select extract(epoch from '2026-07-28 17:17:39'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577464 -2.954671)', '2026-07-28 17:17:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577488 -2.954617)'), GeomFromEWKT('SRID=4674;POINT (-39.577464 -2.954671)'))) / (select extract(epoch from '2026-07-28 17:17:42'::timestamp) - extract(epoch from '2026-07-28 17:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577488 -2.954617)'), GeomFromEWKT('SRID=4674;POINT (-39.577464 -2.954671)'))) / (select extract(epoch from '2026-07-28 17:17:42'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577404 -2.954769)', '2026-07-28 17:17:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577464 -2.954671)'), GeomFromEWKT('SRID=4674;POINT (-39.577404 -2.954769)'))) / (select extract(epoch from '2026-07-28 17:17:48'::timestamp) - extract(epoch from '2026-07-28 17:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577464 -2.954671)'), GeomFromEWKT('SRID=4674;POINT (-39.577404 -2.954769)'))) / (select extract(epoch from '2026-07-28 17:17:48'::timestamp) - extract(epoch from '2026-07-28 17:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577394 -2.95478)', '2026-07-28 17:17:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577404 -2.954769)'), GeomFromEWKT('SRID=4674;POINT (-39.577394 -2.95478)'))) / (select extract(epoch from '2026-07-28 17:17:49'::timestamp) - extract(epoch from '2026-07-28 17:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577404 -2.954769)'), GeomFromEWKT('SRID=4674;POINT (-39.577394 -2.95478)'))) / (select extract(epoch from '2026-07-28 17:17:49'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577388 -2.954799)', '2026-07-28 17:17:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577394 -2.95478)'), GeomFromEWKT('SRID=4674;POINT (-39.577388 -2.954799)'))) / (select extract(epoch from '2026-07-28 17:17:50'::timestamp) - extract(epoch from '2026-07-28 17:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577394 -2.95478)'), GeomFromEWKT('SRID=4674;POINT (-39.577388 -2.954799)'))) / (select extract(epoch from '2026-07-28 17:17:50'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577382 -2.954842)', '2026-07-28 17:17:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577388 -2.954799)'), GeomFromEWKT('SRID=4674;POINT (-39.577382 -2.954842)'))) / (select extract(epoch from '2026-07-28 17:17:52'::timestamp) - extract(epoch from '2026-07-28 17:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577388 -2.954799)'), GeomFromEWKT('SRID=4674;POINT (-39.577382 -2.954842)'))) / (select extract(epoch from '2026-07-28 17:17:52'::timestamp) - extract(epoch from '2026-07-28 17:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577376 -2.954856)', '2026-07-28 17:17:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577382 -2.954842)'), GeomFromEWKT('SRID=4674;POINT (-39.577376 -2.954856)'))) / (select extract(epoch from '2026-07-28 17:17:53'::timestamp) - extract(epoch from '2026-07-28 17:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577382 -2.954842)'), GeomFromEWKT('SRID=4674;POINT (-39.577376 -2.954856)'))) / (select extract(epoch from '2026-07-28 17:17:53'::timestamp) - extract(epoch from '2026-07-28 17:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57734 -2.954957)', '2026-07-28 17:17:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577376 -2.954856)'), GeomFromEWKT('SRID=4674;POINT (-39.57734 -2.954957)'))) / (select extract(epoch from '2026-07-28 17:17:59'::timestamp) - extract(epoch from '2026-07-28 17:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577376 -2.954856)'), GeomFromEWKT('SRID=4674;POINT (-39.57734 -2.954957)'))) / (select extract(epoch from '2026-07-28 17:17:59'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577294 -2.955096)', '2026-07-28 17:18:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57734 -2.954957)'), GeomFromEWKT('SRID=4674;POINT (-39.577294 -2.955096)'))) / (select extract(epoch from '2026-07-28 17:18:06'::timestamp) - extract(epoch from '2026-07-28 17:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57734 -2.954957)'), GeomFromEWKT('SRID=4674;POINT (-39.577294 -2.955096)'))) / (select extract(epoch from '2026-07-28 17:18:06'::timestamp) - extract(epoch from '2026-07-28 17:17: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'), 48107, 'SRID=4674;POINT (-39.577256 -2.955191)', '2026-07-28 17:18:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577294 -2.955096)'), GeomFromEWKT('SRID=4674;POINT (-39.577256 -2.955191)'))) / (select extract(epoch from '2026-07-28 17:18:11'::timestamp) - extract(epoch from '2026-07-28 17:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577294 -2.955096)'), GeomFromEWKT('SRID=4674;POINT (-39.577256 -2.955191)'))) / (select extract(epoch from '2026-07-28 17:18:11'::timestamp) - extract(epoch from '2026-07-28 17:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577222 -2.95529)', '2026-07-28 17:18:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577256 -2.955191)'), GeomFromEWKT('SRID=4674;POINT (-39.577222 -2.95529)'))) / (select extract(epoch from '2026-07-28 17:18:16'::timestamp) - extract(epoch from '2026-07-28 17:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577256 -2.955191)'), GeomFromEWKT('SRID=4674;POINT (-39.577222 -2.95529)'))) / (select extract(epoch from '2026-07-28 17:18:16'::timestamp) - extract(epoch from '2026-07-28 17:18: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'), 48107, 'SRID=4674;POINT (-39.577197 -2.955396)', '2026-07-28 17:18:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577222 -2.95529)'), GeomFromEWKT('SRID=4674;POINT (-39.577197 -2.955396)'))) / (select extract(epoch from '2026-07-28 17:18:21'::timestamp) - extract(epoch from '2026-07-28 17:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577222 -2.95529)'), GeomFromEWKT('SRID=4674;POINT (-39.577197 -2.955396)'))) / (select extract(epoch from '2026-07-28 17:18:21'::timestamp) - extract(epoch from '2026-07-28 17:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577166 -2.955543)', '2026-07-28 17:18:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577197 -2.955396)'), GeomFromEWKT('SRID=4674;POINT (-39.577166 -2.955543)'))) / (select extract(epoch from '2026-07-28 17:18:28'::timestamp) - extract(epoch from '2026-07-28 17:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577197 -2.955396)'), GeomFromEWKT('SRID=4674;POINT (-39.577166 -2.955543)'))) / (select extract(epoch from '2026-07-28 17:18:28'::timestamp) - extract(epoch from '2026-07-28 17:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577161 -2.955678)', '2026-07-28 17:18:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577166 -2.955543)'), GeomFromEWKT('SRID=4674;POINT (-39.577161 -2.955678)'))) / (select extract(epoch from '2026-07-28 17:18:34'::timestamp) - extract(epoch from '2026-07-28 17:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577166 -2.955543)'), GeomFromEWKT('SRID=4674;POINT (-39.577161 -2.955678)'))) / (select extract(epoch from '2026-07-28 17:18:34'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577153 -2.955814)', '2026-07-28 17:18:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577161 -2.955678)'), GeomFromEWKT('SRID=4674;POINT (-39.577153 -2.955814)'))) / (select extract(epoch from '2026-07-28 17:18:40'::timestamp) - extract(epoch from '2026-07-28 17:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577161 -2.955678)'), GeomFromEWKT('SRID=4674;POINT (-39.577153 -2.955814)'))) / (select extract(epoch from '2026-07-28 17:18:40'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.577125 -2.955932)', '2026-07-28 17:18:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577153 -2.955814)'), GeomFromEWKT('SRID=4674;POINT (-39.577125 -2.955932)'))) / (select extract(epoch from '2026-07-28 17:18:45'::timestamp) - extract(epoch from '2026-07-28 17:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577153 -2.955814)'), GeomFromEWKT('SRID=4674;POINT (-39.577125 -2.955932)'))) / (select extract(epoch from '2026-07-28 17:18:45'::timestamp) - extract(epoch from '2026-07-28 17:18: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'), 48107, 'SRID=4674;POINT (-39.577085 -2.956127)', '2026-07-28 17:18:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577125 -2.955932)'), GeomFromEWKT('SRID=4674;POINT (-39.577085 -2.956127)'))) / (select extract(epoch from '2026-07-28 17:18:54'::timestamp) - extract(epoch from '2026-07-28 17:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577125 -2.955932)'), GeomFromEWKT('SRID=4674;POINT (-39.577085 -2.956127)'))) / (select extract(epoch from '2026-07-28 17:18:54'::timestamp) - extract(epoch from '2026-07-28 17:18: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'), 48107, 'SRID=4674;POINT (-39.577053 -2.956291)', '2026-07-28 17:19:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577085 -2.956127)'), GeomFromEWKT('SRID=4674;POINT (-39.577053 -2.956291)'))) / (select extract(epoch from '2026-07-28 17:19:01'::timestamp) - extract(epoch from '2026-07-28 17:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577085 -2.956127)'), GeomFromEWKT('SRID=4674;POINT (-39.577053 -2.956291)'))) / (select extract(epoch from '2026-07-28 17:19:01'::timestamp) - extract(epoch from '2026-07-28 17:18: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'), 48107, 'SRID=4674;POINT (-39.577035 -2.956396)', '2026-07-28 17:19:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577053 -2.956291)'), GeomFromEWKT('SRID=4674;POINT (-39.577035 -2.956396)'))) / (select extract(epoch from '2026-07-28 17:19:06'::timestamp) - extract(epoch from '2026-07-28 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577053 -2.956291)'), GeomFromEWKT('SRID=4674;POINT (-39.577035 -2.956396)'))) / (select extract(epoch from '2026-07-28 17:19:06'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.577032 -2.95644)', '2026-07-28 17:19:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577035 -2.956396)'), GeomFromEWKT('SRID=4674;POINT (-39.577032 -2.95644)'))) / (select extract(epoch from '2026-07-28 17:19:08'::timestamp) - extract(epoch from '2026-07-28 17:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577035 -2.956396)'), GeomFromEWKT('SRID=4674;POINT (-39.577032 -2.95644)'))) / (select extract(epoch from '2026-07-28 17:19:08'::timestamp) - extract(epoch from '2026-07-28 17:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.577027 -2.956481)', '2026-07-28 17:19:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577032 -2.95644)'), GeomFromEWKT('SRID=4674;POINT (-39.577027 -2.956481)'))) / (select extract(epoch from '2026-07-28 17:19:10'::timestamp) - extract(epoch from '2026-07-28 17:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577032 -2.95644)'), GeomFromEWKT('SRID=4674;POINT (-39.577027 -2.956481)'))) / (select extract(epoch from '2026-07-28 17:19:10'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.577031 -2.956614)', '2026-07-28 17:19:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577027 -2.956481)'), GeomFromEWKT('SRID=4674;POINT (-39.577031 -2.956614)'))) / (select extract(epoch from '2026-07-28 17:19:16'::timestamp) - extract(epoch from '2026-07-28 17:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577027 -2.956481)'), GeomFromEWKT('SRID=4674;POINT (-39.577031 -2.956614)'))) / (select extract(epoch from '2026-07-28 17:19:16'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.577003 -2.956769)', '2026-07-28 17:19:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577031 -2.956614)'), GeomFromEWKT('SRID=4674;POINT (-39.577003 -2.956769)'))) / (select extract(epoch from '2026-07-28 17:19:23'::timestamp) - extract(epoch from '2026-07-28 17:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577031 -2.956614)'), GeomFromEWKT('SRID=4674;POINT (-39.577003 -2.956769)'))) / (select extract(epoch from '2026-07-28 17:19:23'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.576973 -2.956895)', '2026-07-28 17:19:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577003 -2.956769)'), GeomFromEWKT('SRID=4674;POINT (-39.576973 -2.956895)'))) / (select extract(epoch from '2026-07-28 17:19:29'::timestamp) - extract(epoch from '2026-07-28 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.577003 -2.956769)'), GeomFromEWKT('SRID=4674;POINT (-39.576973 -2.956895)'))) / (select extract(epoch from '2026-07-28 17:19:29'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576953 -2.957028)', '2026-07-28 17:19:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576973 -2.956895)'), GeomFromEWKT('SRID=4674;POINT (-39.576953 -2.957028)'))) / (select extract(epoch from '2026-07-28 17:19:35'::timestamp) - extract(epoch from '2026-07-28 17:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576973 -2.956895)'), GeomFromEWKT('SRID=4674;POINT (-39.576953 -2.957028)'))) / (select extract(epoch from '2026-07-28 17:19:35'::timestamp) - extract(epoch from '2026-07-28 17:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576918 -2.957179)', '2026-07-28 17:19:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576953 -2.957028)'), GeomFromEWKT('SRID=4674;POINT (-39.576918 -2.957179)'))) / (select extract(epoch from '2026-07-28 17:19:42'::timestamp) - extract(epoch from '2026-07-28 17:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576953 -2.957028)'), GeomFromEWKT('SRID=4674;POINT (-39.576918 -2.957179)'))) / (select extract(epoch from '2026-07-28 17:19:42'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.576899 -2.957291)', '2026-07-28 17:19:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576918 -2.957179)'), GeomFromEWKT('SRID=4674;POINT (-39.576899 -2.957291)'))) / (select extract(epoch from '2026-07-28 17:19:47'::timestamp) - extract(epoch from '2026-07-28 17:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576918 -2.957179)'), GeomFromEWKT('SRID=4674;POINT (-39.576899 -2.957291)'))) / (select extract(epoch from '2026-07-28 17:19:47'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.576887 -2.957403)', '2026-07-28 17:19:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576899 -2.957291)'), GeomFromEWKT('SRID=4674;POINT (-39.576887 -2.957403)'))) / (select extract(epoch from '2026-07-28 17:19:52'::timestamp) - extract(epoch from '2026-07-28 17:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576899 -2.957291)'), GeomFromEWKT('SRID=4674;POINT (-39.576887 -2.957403)'))) / (select extract(epoch from '2026-07-28 17:19:52'::timestamp) - extract(epoch from '2026-07-28 17:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576884 -2.957449)', '2026-07-28 17:19:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576887 -2.957403)'), GeomFromEWKT('SRID=4674;POINT (-39.576884 -2.957449)'))) / (select extract(epoch from '2026-07-28 17:19:54'::timestamp) - extract(epoch from '2026-07-28 17:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576887 -2.957403)'), GeomFromEWKT('SRID=4674;POINT (-39.576884 -2.957449)'))) / (select extract(epoch from '2026-07-28 17:19:54'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576866 -2.957501)', '2026-07-28 17:19:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576884 -2.957449)'), GeomFromEWKT('SRID=4674;POINT (-39.576866 -2.957501)'))) / (select extract(epoch from '2026-07-28 17:19:57'::timestamp) - extract(epoch from '2026-07-28 17:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576884 -2.957449)'), GeomFromEWKT('SRID=4674;POINT (-39.576866 -2.957501)'))) / (select extract(epoch from '2026-07-28 17:19:57'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.576854 -2.957626)', '2026-07-28 17:20:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576866 -2.957501)'), GeomFromEWKT('SRID=4674;POINT (-39.576854 -2.957626)'))) / (select extract(epoch from '2026-07-28 17:20:03'::timestamp) - extract(epoch from '2026-07-28 17:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576866 -2.957501)'), GeomFromEWKT('SRID=4674;POINT (-39.576854 -2.957626)'))) / (select extract(epoch from '2026-07-28 17:20:03'::timestamp) - extract(epoch from '2026-07-28 17:19: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'), 48107, 'SRID=4674;POINT (-39.576827 -2.957768)', '2026-07-28 17:20:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576854 -2.957626)'), GeomFromEWKT('SRID=4674;POINT (-39.576827 -2.957768)'))) / (select extract(epoch from '2026-07-28 17:20:09'::timestamp) - extract(epoch from '2026-07-28 17:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576854 -2.957626)'), GeomFromEWKT('SRID=4674;POINT (-39.576827 -2.957768)'))) / (select extract(epoch from '2026-07-28 17:20:09'::timestamp) - extract(epoch from '2026-07-28 17:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576819 -2.95779)', '2026-07-28 17:20:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576827 -2.957768)'), GeomFromEWKT('SRID=4674;POINT (-39.576819 -2.95779)'))) / (select extract(epoch from '2026-07-28 17:20:10'::timestamp) - extract(epoch from '2026-07-28 17:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576827 -2.957768)'), GeomFromEWKT('SRID=4674;POINT (-39.576819 -2.95779)'))) / (select extract(epoch from '2026-07-28 17:20:10'::timestamp) - extract(epoch from '2026-07-28 17:20: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'), 48107, 'SRID=4674;POINT (-39.576802 -2.957898)', '2026-07-28 17:20:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576819 -2.95779)'), GeomFromEWKT('SRID=4674;POINT (-39.576802 -2.957898)'))) / (select extract(epoch from '2026-07-28 17:20:15'::timestamp) - extract(epoch from '2026-07-28 17:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576819 -2.95779)'), GeomFromEWKT('SRID=4674;POINT (-39.576802 -2.957898)'))) / (select extract(epoch from '2026-07-28 17:20:15'::timestamp) - extract(epoch from '2026-07-28 17:20: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'), 48107, 'SRID=4674;POINT (-39.576778 -2.958011)', '2026-07-28 17:20:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576802 -2.957898)'), GeomFromEWKT('SRID=4674;POINT (-39.576778 -2.958011)'))) / (select extract(epoch from '2026-07-28 17:20:21'::timestamp) - extract(epoch from '2026-07-28 17:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576802 -2.957898)'), GeomFromEWKT('SRID=4674;POINT (-39.576778 -2.958011)'))) / (select extract(epoch from '2026-07-28 17:20:21'::timestamp) - extract(epoch from '2026-07-28 17:20: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'), 48107, 'SRID=4674;POINT (-39.576736 -2.958144)', '2026-07-28 17:20:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576778 -2.958011)'), GeomFromEWKT('SRID=4674;POINT (-39.576736 -2.958144)'))) / (select extract(epoch from '2026-07-28 17:20:28'::timestamp) - extract(epoch from '2026-07-28 17:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576778 -2.958011)'), GeomFromEWKT('SRID=4674;POINT (-39.576736 -2.958144)'))) / (select extract(epoch from '2026-07-28 17:20:28'::timestamp) - extract(epoch from '2026-07-28 17:20: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'), 48107, 'SRID=4674;POINT (-39.576704 -2.95827)', '2026-07-28 17:20:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576736 -2.958144)'), GeomFromEWKT('SRID=4674;POINT (-39.576704 -2.95827)'))) / (select extract(epoch from '2026-07-28 17:20:34'::timestamp) - extract(epoch from '2026-07-28 17:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576736 -2.958144)'), GeomFromEWKT('SRID=4674;POINT (-39.576704 -2.95827)'))) / (select extract(epoch from '2026-07-28 17:20:34'::timestamp) - extract(epoch from '2026-07-28 17:20: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'), 48107, 'SRID=4674;POINT (-39.576681 -2.958409)', '2026-07-28 17:20:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576704 -2.95827)'), GeomFromEWKT('SRID=4674;POINT (-39.576681 -2.958409)'))) / (select extract(epoch from '2026-07-28 17:20:40'::timestamp) - extract(epoch from '2026-07-28 17:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576704 -2.95827)'), GeomFromEWKT('SRID=4674;POINT (-39.576681 -2.958409)'))) / (select extract(epoch from '2026-07-28 17:20:40'::timestamp) - extract(epoch from '2026-07-28 17:20: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'), 48107, 'SRID=4674;POINT (-39.576653 -2.958565)', '2026-07-28 17:20:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576681 -2.958409)'), GeomFromEWKT('SRID=4674;POINT (-39.576653 -2.958565)'))) / (select extract(epoch from '2026-07-28 17:20:48'::timestamp) - extract(epoch from '2026-07-28 17:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576681 -2.958409)'), GeomFromEWKT('SRID=4674;POINT (-39.576653 -2.958565)'))) / (select extract(epoch from '2026-07-28 17:20:48'::timestamp) - extract(epoch from '2026-07-28 17:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576586 -2.958725)', '2026-07-28 17:20:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576653 -2.958565)'), GeomFromEWKT('SRID=4674;POINT (-39.576586 -2.958725)'))) / (select extract(epoch from '2026-07-28 17:20:56'::timestamp) - extract(epoch from '2026-07-28 17:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576653 -2.958565)'), GeomFromEWKT('SRID=4674;POINT (-39.576586 -2.958725)'))) / (select extract(epoch from '2026-07-28 17:20:56'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576546 -2.958884)', '2026-07-28 17:21:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576586 -2.958725)'), GeomFromEWKT('SRID=4674;POINT (-39.576546 -2.958884)'))) / (select extract(epoch from '2026-07-28 17:21:03'::timestamp) - extract(epoch from '2026-07-28 17:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576586 -2.958725)'), GeomFromEWKT('SRID=4674;POINT (-39.576546 -2.958884)'))) / (select extract(epoch from '2026-07-28 17:21:03'::timestamp) - extract(epoch from '2026-07-28 17:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576506 -2.959051)', '2026-07-28 17:21:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576546 -2.958884)'), GeomFromEWKT('SRID=4674;POINT (-39.576506 -2.959051)'))) / (select extract(epoch from '2026-07-28 17:21:11'::timestamp) - extract(epoch from '2026-07-28 17:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576546 -2.958884)'), GeomFromEWKT('SRID=4674;POINT (-39.576506 -2.959051)'))) / (select extract(epoch from '2026-07-28 17:21:11'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576472 -2.959162)', '2026-07-28 17:21:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576506 -2.959051)'), GeomFromEWKT('SRID=4674;POINT (-39.576472 -2.959162)'))) / (select extract(epoch from '2026-07-28 17:21:17'::timestamp) - extract(epoch from '2026-07-28 17:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576506 -2.959051)'), GeomFromEWKT('SRID=4674;POINT (-39.576472 -2.959162)'))) / (select extract(epoch from '2026-07-28 17:21:17'::timestamp) - extract(epoch from '2026-07-28 17:21: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'), 48107, 'SRID=4674;POINT (-39.576457 -2.959289)', '2026-07-28 17:21:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576472 -2.959162)'), GeomFromEWKT('SRID=4674;POINT (-39.576457 -2.959289)'))) / (select extract(epoch from '2026-07-28 17:21:23'::timestamp) - extract(epoch from '2026-07-28 17:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576472 -2.959162)'), GeomFromEWKT('SRID=4674;POINT (-39.576457 -2.959289)'))) / (select extract(epoch from '2026-07-28 17:21:23'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576447 -2.959395)', '2026-07-28 17:21:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576457 -2.959289)'), GeomFromEWKT('SRID=4674;POINT (-39.576447 -2.959395)'))) / (select extract(epoch from '2026-07-28 17:21:28'::timestamp) - extract(epoch from '2026-07-28 17:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576457 -2.959289)'), GeomFromEWKT('SRID=4674;POINT (-39.576447 -2.959395)'))) / (select extract(epoch from '2026-07-28 17:21:28'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576435 -2.959487)', '2026-07-28 17:21:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576447 -2.959395)'), GeomFromEWKT('SRID=4674;POINT (-39.576435 -2.959487)'))) / (select extract(epoch from '2026-07-28 17:21:33'::timestamp) - extract(epoch from '2026-07-28 17:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576447 -2.959395)'), GeomFromEWKT('SRID=4674;POINT (-39.576435 -2.959487)'))) / (select extract(epoch from '2026-07-28 17:21:33'::timestamp) - extract(epoch from '2026-07-28 17:21: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'), 48107, 'SRID=4674;POINT (-39.576418 -2.959602)', '2026-07-28 17:21:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576435 -2.959487)'), GeomFromEWKT('SRID=4674;POINT (-39.576418 -2.959602)'))) / (select extract(epoch from '2026-07-28 17:21:38'::timestamp) - extract(epoch from '2026-07-28 17:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576435 -2.959487)'), GeomFromEWKT('SRID=4674;POINT (-39.576418 -2.959602)'))) / (select extract(epoch from '2026-07-28 17:21:38'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576403 -2.959699)', '2026-07-28 17:21:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576418 -2.959602)'), GeomFromEWKT('SRID=4674;POINT (-39.576403 -2.959699)'))) / (select extract(epoch from '2026-07-28 17:21:43'::timestamp) - extract(epoch from '2026-07-28 17:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576418 -2.959602)'), GeomFromEWKT('SRID=4674;POINT (-39.576403 -2.959699)'))) / (select extract(epoch from '2026-07-28 17:21:43'::timestamp) - extract(epoch from '2026-07-28 17:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576378 -2.959826)', '2026-07-28 17:21:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576403 -2.959699)'), GeomFromEWKT('SRID=4674;POINT (-39.576378 -2.959826)'))) / (select extract(epoch from '2026-07-28 17:21:49'::timestamp) - extract(epoch from '2026-07-28 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576403 -2.959699)'), GeomFromEWKT('SRID=4674;POINT (-39.576378 -2.959826)'))) / (select extract(epoch from '2026-07-28 17:21:49'::timestamp) - extract(epoch from '2026-07-28 17:21: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'), 48107, 'SRID=4674;POINT (-39.576367 -2.959975)', '2026-07-28 17:21:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576378 -2.959826)'), GeomFromEWKT('SRID=4674;POINT (-39.576367 -2.959975)'))) / (select extract(epoch from '2026-07-28 17:21:56'::timestamp) - extract(epoch from '2026-07-28 17:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576378 -2.959826)'), GeomFromEWKT('SRID=4674;POINT (-39.576367 -2.959975)'))) / (select extract(epoch from '2026-07-28 17:21:56'::timestamp) - extract(epoch from '2026-07-28 17:21: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'), 48107, 'SRID=4674;POINT (-39.576348 -2.960097)', '2026-07-28 17:22:02', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576367 -2.959975)'), GeomFromEWKT('SRID=4674;POINT (-39.576348 -2.960097)'))) / (select extract(epoch from '2026-07-28 17:22:02'::timestamp) - extract(epoch from '2026-07-28 17:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576367 -2.959975)'), GeomFromEWKT('SRID=4674;POINT (-39.576348 -2.960097)'))) / (select extract(epoch from '2026-07-28 17:22:02'::timestamp) - extract(epoch from '2026-07-28 17:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57632 -2.960233)', '2026-07-28 17:22:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576348 -2.960097)'), GeomFromEWKT('SRID=4674;POINT (-39.57632 -2.960233)'))) / (select extract(epoch from '2026-07-28 17:22:08'::timestamp) - extract(epoch from '2026-07-28 17:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576348 -2.960097)'), GeomFromEWKT('SRID=4674;POINT (-39.57632 -2.960233)'))) / (select extract(epoch from '2026-07-28 17:22:08'::timestamp) - extract(epoch from '2026-07-28 17:22: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'), 48107, 'SRID=4674;POINT (-39.576284 -2.960365)', '2026-07-28 17:22:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57632 -2.960233)'), GeomFromEWKT('SRID=4674;POINT (-39.576284 -2.960365)'))) / (select extract(epoch from '2026-07-28 17:22:14'::timestamp) - extract(epoch from '2026-07-28 17:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57632 -2.960233)'), GeomFromEWKT('SRID=4674;POINT (-39.576284 -2.960365)'))) / (select extract(epoch from '2026-07-28 17:22:14'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.57625 -2.960474)', '2026-07-28 17:22:20', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576284 -2.960365)'), GeomFromEWKT('SRID=4674;POINT (-39.57625 -2.960474)'))) / (select extract(epoch from '2026-07-28 17:22:20'::timestamp) - extract(epoch from '2026-07-28 17:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576284 -2.960365)'), GeomFromEWKT('SRID=4674;POINT (-39.57625 -2.960474)'))) / (select extract(epoch from '2026-07-28 17:22:20'::timestamp) - extract(epoch from '2026-07-28 17:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576244 -2.960589)', '2026-07-28 17:22:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57625 -2.960474)'), GeomFromEWKT('SRID=4674;POINT (-39.576244 -2.960589)'))) / (select extract(epoch from '2026-07-28 17:22:25'::timestamp) - extract(epoch from '2026-07-28 17:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57625 -2.960474)'), GeomFromEWKT('SRID=4674;POINT (-39.576244 -2.960589)'))) / (select extract(epoch from '2026-07-28 17:22:25'::timestamp) - extract(epoch from '2026-07-28 17:22: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'), 48107, 'SRID=4674;POINT (-39.576238 -2.960704)', '2026-07-28 17:22:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576244 -2.960589)'), GeomFromEWKT('SRID=4674;POINT (-39.576238 -2.960704)'))) / (select extract(epoch from '2026-07-28 17:22:30'::timestamp) - extract(epoch from '2026-07-28 17:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576244 -2.960589)'), GeomFromEWKT('SRID=4674;POINT (-39.576238 -2.960704)'))) / (select extract(epoch from '2026-07-28 17:22:30'::timestamp) - extract(epoch from '2026-07-28 17:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576231 -2.960723)', '2026-07-28 17:22:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576238 -2.960704)'), GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.960723)'))) / (select extract(epoch from '2026-07-28 17:22:31'::timestamp) - extract(epoch from '2026-07-28 17:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576238 -2.960704)'), GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.960723)'))) / (select extract(epoch from '2026-07-28 17:22:31'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576187 -2.960888)', '2026-07-28 17:22:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.960723)'), GeomFromEWKT('SRID=4674;POINT (-39.576187 -2.960888)'))) / (select extract(epoch from '2026-07-28 17:22:39'::timestamp) - extract(epoch from '2026-07-28 17:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.960723)'), GeomFromEWKT('SRID=4674;POINT (-39.576187 -2.960888)'))) / (select extract(epoch from '2026-07-28 17:22:39'::timestamp) - extract(epoch from '2026-07-28 17:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576163 -2.960987)', '2026-07-28 17:22:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576187 -2.960888)'), GeomFromEWKT('SRID=4674;POINT (-39.576163 -2.960987)'))) / (select extract(epoch from '2026-07-28 17:22:44'::timestamp) - extract(epoch from '2026-07-28 17:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576187 -2.960888)'), GeomFromEWKT('SRID=4674;POINT (-39.576163 -2.960987)'))) / (select extract(epoch from '2026-07-28 17:22:44'::timestamp) - extract(epoch from '2026-07-28 17:22: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'), 48107, 'SRID=4674;POINT (-39.576123 -2.961141)', '2026-07-28 17:22:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576163 -2.960987)'), GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.961141)'))) / (select extract(epoch from '2026-07-28 17:22:52'::timestamp) - extract(epoch from '2026-07-28 17:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576163 -2.960987)'), GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.961141)'))) / (select extract(epoch from '2026-07-28 17:22:52'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.5761 -2.961267)', '2026-07-28 17:22:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.961141)'), GeomFromEWKT('SRID=4674;POINT (-39.5761 -2.961267)'))) / (select extract(epoch from '2026-07-28 17:22:58'::timestamp) - extract(epoch from '2026-07-28 17:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.961141)'), GeomFromEWKT('SRID=4674;POINT (-39.5761 -2.961267)'))) / (select extract(epoch from '2026-07-28 17:22:58'::timestamp) - extract(epoch from '2026-07-28 17:22: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'), 48107, 'SRID=4674;POINT (-39.576076 -2.961409)', '2026-07-28 17:23:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5761 -2.961267)'), GeomFromEWKT('SRID=4674;POINT (-39.576076 -2.961409)'))) / (select extract(epoch from '2026-07-28 17:23:05'::timestamp) - extract(epoch from '2026-07-28 17:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5761 -2.961267)'), GeomFromEWKT('SRID=4674;POINT (-39.576076 -2.961409)'))) / (select extract(epoch from '2026-07-28 17:23:05'::timestamp) - extract(epoch from '2026-07-28 17:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576042 -2.961536)', '2026-07-28 17:23:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576076 -2.961409)'), GeomFromEWKT('SRID=4674;POINT (-39.576042 -2.961536)'))) / (select extract(epoch from '2026-07-28 17:23:12'::timestamp) - extract(epoch from '2026-07-28 17:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576076 -2.961409)'), GeomFromEWKT('SRID=4674;POINT (-39.576042 -2.961536)'))) / (select extract(epoch from '2026-07-28 17:23:12'::timestamp) - extract(epoch from '2026-07-28 17:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576037 -2.96155)', '2026-07-28 17:23:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576042 -2.961536)'), GeomFromEWKT('SRID=4674;POINT (-39.576037 -2.96155)'))) / (select extract(epoch from '2026-07-28 17:23:13'::timestamp) - extract(epoch from '2026-07-28 17:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576042 -2.961536)'), GeomFromEWKT('SRID=4674;POINT (-39.576037 -2.96155)'))) / (select extract(epoch from '2026-07-28 17:23:13'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.576014 -2.961617)', '2026-07-28 17:23:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576037 -2.96155)'), GeomFromEWKT('SRID=4674;POINT (-39.576014 -2.961617)'))) / (select extract(epoch from '2026-07-28 17:23:17'::timestamp) - extract(epoch from '2026-07-28 17:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576037 -2.96155)'), GeomFromEWKT('SRID=4674;POINT (-39.576014 -2.961617)'))) / (select extract(epoch from '2026-07-28 17:23:17'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575999 -2.961676)', '2026-07-28 17:23:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576014 -2.961617)'), GeomFromEWKT('SRID=4674;POINT (-39.575999 -2.961676)'))) / (select extract(epoch from '2026-07-28 17:23:21'::timestamp) - extract(epoch from '2026-07-28 17:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576014 -2.961617)'), GeomFromEWKT('SRID=4674;POINT (-39.575999 -2.961676)'))) / (select extract(epoch from '2026-07-28 17:23:21'::timestamp) - extract(epoch from '2026-07-28 17:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575998 -2.961688)', '2026-07-28 17:23:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575999 -2.961676)'), GeomFromEWKT('SRID=4674;POINT (-39.575998 -2.961688)'))) / (select extract(epoch from '2026-07-28 17:23:22'::timestamp) - extract(epoch from '2026-07-28 17:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575999 -2.961676)'), GeomFromEWKT('SRID=4674;POINT (-39.575998 -2.961688)'))) / (select extract(epoch from '2026-07-28 17:23:22'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575975 -2.961786)', '2026-07-28 17:23:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575998 -2.961688)'), GeomFromEWKT('SRID=4674;POINT (-39.575975 -2.961786)'))) / (select extract(epoch from '2026-07-28 17:23:29'::timestamp) - extract(epoch from '2026-07-28 17:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575998 -2.961688)'), GeomFromEWKT('SRID=4674;POINT (-39.575975 -2.961786)'))) / (select extract(epoch from '2026-07-28 17:23:29'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575955 -2.961831)', '2026-07-28 17:23:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575975 -2.961786)'), GeomFromEWKT('SRID=4674;POINT (-39.575955 -2.961831)'))) / (select extract(epoch from '2026-07-28 17:23:32'::timestamp) - extract(epoch from '2026-07-28 17:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575975 -2.961786)'), GeomFromEWKT('SRID=4674;POINT (-39.575955 -2.961831)'))) / (select extract(epoch from '2026-07-28 17:23:32'::timestamp) - extract(epoch from '2026-07-28 17:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575949 -2.961842)', '2026-07-28 17:23:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575955 -2.961831)'), GeomFromEWKT('SRID=4674;POINT (-39.575949 -2.961842)'))) / (select extract(epoch from '2026-07-28 17:23:33'::timestamp) - extract(epoch from '2026-07-28 17:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575955 -2.961831)'), GeomFromEWKT('SRID=4674;POINT (-39.575949 -2.961842)'))) / (select extract(epoch from '2026-07-28 17:23:33'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575954 -2.961852)', '2026-07-28 17:23:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575949 -2.961842)'), GeomFromEWKT('SRID=4674;POINT (-39.575954 -2.961852)'))) / (select extract(epoch from '2026-07-28 17:23:34'::timestamp) - extract(epoch from '2026-07-28 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575949 -2.961842)'), GeomFromEWKT('SRID=4674;POINT (-39.575954 -2.961852)'))) / (select extract(epoch from '2026-07-28 17:23:34'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575946 -2.961891)', '2026-07-28 17:23:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575954 -2.961852)'), GeomFromEWKT('SRID=4674;POINT (-39.575946 -2.961891)'))) / (select extract(epoch from '2026-07-28 17:23:37'::timestamp) - extract(epoch from '2026-07-28 17:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575954 -2.961852)'), GeomFromEWKT('SRID=4674;POINT (-39.575946 -2.961891)'))) / (select extract(epoch from '2026-07-28 17:23:37'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.57595 -2.961954)', '2026-07-28 17:23:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575946 -2.961891)'), GeomFromEWKT('SRID=4674;POINT (-39.57595 -2.961954)'))) / (select extract(epoch from '2026-07-28 17:23:42'::timestamp) - extract(epoch from '2026-07-28 17:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575946 -2.961891)'), GeomFromEWKT('SRID=4674;POINT (-39.57595 -2.961954)'))) / (select extract(epoch from '2026-07-28 17:23:42'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575947 -2.961964)', '2026-07-28 17:23:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57595 -2.961954)'), GeomFromEWKT('SRID=4674;POINT (-39.575947 -2.961964)'))) / (select extract(epoch from '2026-07-28 17:23:43'::timestamp) - extract(epoch from '2026-07-28 17:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57595 -2.961954)'), GeomFromEWKT('SRID=4674;POINT (-39.575947 -2.961964)'))) / (select extract(epoch from '2026-07-28 17:23:43'::timestamp) - extract(epoch from '2026-07-28 17:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575952 -2.961977)', '2026-07-28 17:23:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575947 -2.961964)'), GeomFromEWKT('SRID=4674;POINT (-39.575952 -2.961977)'))) / (select extract(epoch from '2026-07-28 17:23:45'::timestamp) - extract(epoch from '2026-07-28 17:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575947 -2.961964)'), GeomFromEWKT('SRID=4674;POINT (-39.575952 -2.961977)'))) / (select extract(epoch from '2026-07-28 17:23:45'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575959 -2.961984)', '2026-07-28 17:23:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575952 -2.961977)'), GeomFromEWKT('SRID=4674;POINT (-39.575959 -2.961984)'))) / (select extract(epoch from '2026-07-28 17:23:46'::timestamp) - extract(epoch from '2026-07-28 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575952 -2.961977)'), GeomFromEWKT('SRID=4674;POINT (-39.575959 -2.961984)'))) / (select extract(epoch from '2026-07-28 17:23:46'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575968 -2.962015)', '2026-07-28 17:23:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575959 -2.961984)'), GeomFromEWKT('SRID=4674;POINT (-39.575968 -2.962015)'))) / (select extract(epoch from '2026-07-28 17:23:50'::timestamp) - extract(epoch from '2026-07-28 17:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575959 -2.961984)'), GeomFromEWKT('SRID=4674;POINT (-39.575968 -2.962015)'))) / (select extract(epoch from '2026-07-28 17:23:50'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575979 -2.962026)', '2026-07-28 17:23:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575968 -2.962015)'), GeomFromEWKT('SRID=4674;POINT (-39.575979 -2.962026)'))) / (select extract(epoch from '2026-07-28 17:23:51'::timestamp) - extract(epoch from '2026-07-28 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575968 -2.962015)'), GeomFromEWKT('SRID=4674;POINT (-39.575979 -2.962026)'))) / (select extract(epoch from '2026-07-28 17:23:51'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.575995 -2.962043)', '2026-07-28 17:23:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575979 -2.962026)'), GeomFromEWKT('SRID=4674;POINT (-39.575995 -2.962043)'))) / (select extract(epoch from '2026-07-28 17:23:53'::timestamp) - extract(epoch from '2026-07-28 17:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575979 -2.962026)'), GeomFromEWKT('SRID=4674;POINT (-39.575995 -2.962043)'))) / (select extract(epoch from '2026-07-28 17:23:53'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576007 -2.962058)', '2026-07-28 17:23:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575995 -2.962043)'), GeomFromEWKT('SRID=4674;POINT (-39.576007 -2.962058)'))) / (select extract(epoch from '2026-07-28 17:23:56'::timestamp) - extract(epoch from '2026-07-28 17:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575995 -2.962043)'), GeomFromEWKT('SRID=4674;POINT (-39.576007 -2.962058)'))) / (select extract(epoch from '2026-07-28 17:23:56'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.576026 -2.962075)', '2026-07-28 17:23:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576007 -2.962058)'), GeomFromEWKT('SRID=4674;POINT (-39.576026 -2.962075)'))) / (select extract(epoch from '2026-07-28 17:23:59'::timestamp) - extract(epoch from '2026-07-28 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576007 -2.962058)'), GeomFromEWKT('SRID=4674;POINT (-39.576026 -2.962075)'))) / (select extract(epoch from '2026-07-28 17:23:59'::timestamp) - extract(epoch from '2026-07-28 17:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576045 -2.962093)', '2026-07-28 17:24:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576026 -2.962075)'), GeomFromEWKT('SRID=4674;POINT (-39.576045 -2.962093)'))) / (select extract(epoch from '2026-07-28 17:24:03'::timestamp) - extract(epoch from '2026-07-28 17:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576026 -2.962075)'), GeomFromEWKT('SRID=4674;POINT (-39.576045 -2.962093)'))) / (select extract(epoch from '2026-07-28 17:24:03'::timestamp) - extract(epoch from '2026-07-28 17:23: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'), 48107, 'SRID=4674;POINT (-39.576069 -2.962171)', '2026-07-28 17:24:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576045 -2.962093)'), GeomFromEWKT('SRID=4674;POINT (-39.576069 -2.962171)'))) / (select extract(epoch from '2026-07-28 17:24:10'::timestamp) - extract(epoch from '2026-07-28 17:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576045 -2.962093)'), GeomFromEWKT('SRID=4674;POINT (-39.576069 -2.962171)'))) / (select extract(epoch from '2026-07-28 17:24:10'::timestamp) - extract(epoch from '2026-07-28 17:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576097 -2.962234)', '2026-07-28 17:24:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576069 -2.962171)'), GeomFromEWKT('SRID=4674;POINT (-39.576097 -2.962234)'))) / (select extract(epoch from '2026-07-28 17:24:16'::timestamp) - extract(epoch from '2026-07-28 17:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576069 -2.962171)'), GeomFromEWKT('SRID=4674;POINT (-39.576097 -2.962234)'))) / (select extract(epoch from '2026-07-28 17:24:16'::timestamp) - extract(epoch from '2026-07-28 17:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576111 -2.962283)', '2026-07-28 17:24:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576097 -2.962234)'), GeomFromEWKT('SRID=4674;POINT (-39.576111 -2.962283)'))) / (select extract(epoch from '2026-07-28 17:24:21'::timestamp) - extract(epoch from '2026-07-28 17:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576097 -2.962234)'), GeomFromEWKT('SRID=4674;POINT (-39.576111 -2.962283)'))) / (select extract(epoch from '2026-07-28 17:24:21'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.576112 -2.962303)', '2026-07-28 17:24:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576111 -2.962283)'), GeomFromEWKT('SRID=4674;POINT (-39.576112 -2.962303)'))) / (select extract(epoch from '2026-07-28 17:24:23'::timestamp) - extract(epoch from '2026-07-28 17:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576111 -2.962283)'), GeomFromEWKT('SRID=4674;POINT (-39.576112 -2.962303)'))) / (select extract(epoch from '2026-07-28 17:24:23'::timestamp) - extract(epoch from '2026-07-28 17:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576117 -2.962326)', '2026-07-28 17:24:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576112 -2.962303)'), GeomFromEWKT('SRID=4674;POINT (-39.576117 -2.962326)'))) / (select extract(epoch from '2026-07-28 17:24:26'::timestamp) - extract(epoch from '2026-07-28 17:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576112 -2.962303)'), GeomFromEWKT('SRID=4674;POINT (-39.576117 -2.962326)'))) / (select extract(epoch from '2026-07-28 17:24:26'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.576126 -2.962341)', '2026-07-28 17:24:28', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576117 -2.962326)'), GeomFromEWKT('SRID=4674;POINT (-39.576126 -2.962341)'))) / (select extract(epoch from '2026-07-28 17:24:28'::timestamp) - extract(epoch from '2026-07-28 17:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576117 -2.962326)'), GeomFromEWKT('SRID=4674;POINT (-39.576126 -2.962341)'))) / (select extract(epoch from '2026-07-28 17:24:28'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.576123 -2.962351)', '2026-07-28 17:24:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576126 -2.962341)'), GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962351)'))) / (select extract(epoch from '2026-07-28 17:24:29'::timestamp) - extract(epoch from '2026-07-28 17:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576126 -2.962341)'), GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962351)'))) / (select extract(epoch from '2026-07-28 17:24:29'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.576123 -2.962361)', '2026-07-28 17:24:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962351)'), GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962361)'))) / (select extract(epoch from '2026-07-28 17:24:30'::timestamp) - extract(epoch from '2026-07-28 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962351)'), GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962361)'))) / (select extract(epoch from '2026-07-28 17:24:30'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.57615 -2.962389)', '2026-07-28 17:24:33', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962361)'), GeomFromEWKT('SRID=4674;POINT (-39.57615 -2.962389)'))) / (select extract(epoch from '2026-07-28 17:24:33'::timestamp) - extract(epoch from '2026-07-28 17:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576123 -2.962361)'), GeomFromEWKT('SRID=4674;POINT (-39.57615 -2.962389)'))) / (select extract(epoch from '2026-07-28 17:24:33'::timestamp) - extract(epoch from '2026-07-28 17:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576159 -2.962416)', '2026-07-28 17:24:36', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57615 -2.962389)'), GeomFromEWKT('SRID=4674;POINT (-39.576159 -2.962416)'))) / (select extract(epoch from '2026-07-28 17:24:36'::timestamp) - extract(epoch from '2026-07-28 17:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57615 -2.962389)'), GeomFromEWKT('SRID=4674;POINT (-39.576159 -2.962416)'))) / (select extract(epoch from '2026-07-28 17:24:36'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.576179 -2.962441)', '2026-07-28 17:24:39', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576159 -2.962416)'), GeomFromEWKT('SRID=4674;POINT (-39.576179 -2.962441)'))) / (select extract(epoch from '2026-07-28 17:24:39'::timestamp) - extract(epoch from '2026-07-28 17:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576159 -2.962416)'), GeomFromEWKT('SRID=4674;POINT (-39.576179 -2.962441)'))) / (select extract(epoch from '2026-07-28 17:24:39'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.5762 -2.962482)', '2026-07-28 17:24:44', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576179 -2.962441)'), GeomFromEWKT('SRID=4674;POINT (-39.5762 -2.962482)'))) / (select extract(epoch from '2026-07-28 17:24:44'::timestamp) - extract(epoch from '2026-07-28 17:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576179 -2.962441)'), GeomFromEWKT('SRID=4674;POINT (-39.5762 -2.962482)'))) / (select extract(epoch from '2026-07-28 17:24:44'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.576211 -2.962494)', '2026-07-28 17:24:46', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5762 -2.962482)'), GeomFromEWKT('SRID=4674;POINT (-39.576211 -2.962494)'))) / (select extract(epoch from '2026-07-28 17:24:46'::timestamp) - extract(epoch from '2026-07-28 17:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5762 -2.962482)'), GeomFromEWKT('SRID=4674;POINT (-39.576211 -2.962494)'))) / (select extract(epoch from '2026-07-28 17:24:46'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.576245 -2.962527)', '2026-07-28 17:24:52', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576211 -2.962494)'), GeomFromEWKT('SRID=4674;POINT (-39.576245 -2.962527)'))) / (select extract(epoch from '2026-07-28 17:24:52'::timestamp) - extract(epoch from '2026-07-28 17:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576211 -2.962494)'), GeomFromEWKT('SRID=4674;POINT (-39.576245 -2.962527)'))) / (select extract(epoch from '2026-07-28 17:24:52'::timestamp) - extract(epoch from '2026-07-28 17:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576287 -2.962601)', '2026-07-28 17:25:03', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576245 -2.962527)'), GeomFromEWKT('SRID=4674;POINT (-39.576287 -2.962601)'))) / (select extract(epoch from '2026-07-28 17:25:03'::timestamp) - extract(epoch from '2026-07-28 17:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576245 -2.962527)'), GeomFromEWKT('SRID=4674;POINT (-39.576287 -2.962601)'))) / (select extract(epoch from '2026-07-28 17:25:03'::timestamp) - extract(epoch from '2026-07-28 17:24: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'), 48107, 'SRID=4674;POINT (-39.576329 -2.9627)', '2026-07-28 17:25:12', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576287 -2.962601)'), GeomFromEWKT('SRID=4674;POINT (-39.576329 -2.9627)'))) / (select extract(epoch from '2026-07-28 17:25:12'::timestamp) - extract(epoch from '2026-07-28 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576287 -2.962601)'), GeomFromEWKT('SRID=4674;POINT (-39.576329 -2.9627)'))) / (select extract(epoch from '2026-07-28 17:25:12'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576352 -2.96276)', '2026-07-28 17:25:17', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576329 -2.9627)'), GeomFromEWKT('SRID=4674;POINT (-39.576352 -2.96276)'))) / (select extract(epoch from '2026-07-28 17:25:17'::timestamp) - extract(epoch from '2026-07-28 17:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576329 -2.9627)'), GeomFromEWKT('SRID=4674;POINT (-39.576352 -2.96276)'))) / (select extract(epoch from '2026-07-28 17:25:17'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576359 -2.962768)', '2026-07-28 17:25:18', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576352 -2.96276)'), GeomFromEWKT('SRID=4674;POINT (-39.576359 -2.962768)'))) / (select extract(epoch from '2026-07-28 17:25:18'::timestamp) - extract(epoch from '2026-07-28 17:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576352 -2.96276)'), GeomFromEWKT('SRID=4674;POINT (-39.576359 -2.962768)'))) / (select extract(epoch from '2026-07-28 17:25:18'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576358 -2.962775)', '2026-07-28 17:25:19', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576359 -2.962768)'), GeomFromEWKT('SRID=4674;POINT (-39.576358 -2.962775)'))) / (select extract(epoch from '2026-07-28 17:25:19'::timestamp) - extract(epoch from '2026-07-28 17:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576359 -2.962768)'), GeomFromEWKT('SRID=4674;POINT (-39.576358 -2.962775)'))) / (select extract(epoch from '2026-07-28 17:25:19'::timestamp) - extract(epoch from '2026-07-28 17:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576363 -2.962801)', '2026-07-28 17:25:23', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576358 -2.962775)'), GeomFromEWKT('SRID=4674;POINT (-39.576363 -2.962801)'))) / (select extract(epoch from '2026-07-28 17:25:23'::timestamp) - extract(epoch from '2026-07-28 17:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576358 -2.962775)'), GeomFromEWKT('SRID=4674;POINT (-39.576363 -2.962801)'))) / (select extract(epoch from '2026-07-28 17:25:23'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576373 -2.96282)', '2026-07-28 17:25:28', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576363 -2.962801)'), GeomFromEWKT('SRID=4674;POINT (-39.576373 -2.96282)'))) / (select extract(epoch from '2026-07-28 17:25:28'::timestamp) - extract(epoch from '2026-07-28 17:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576363 -2.962801)'), GeomFromEWKT('SRID=4674;POINT (-39.576373 -2.96282)'))) / (select extract(epoch from '2026-07-28 17:25:28'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576387 -2.962838)', '2026-07-28 17:25:31', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576373 -2.96282)'), GeomFromEWKT('SRID=4674;POINT (-39.576387 -2.962838)'))) / (select extract(epoch from '2026-07-28 17:25:31'::timestamp) - extract(epoch from '2026-07-28 17:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576373 -2.96282)'), GeomFromEWKT('SRID=4674;POINT (-39.576387 -2.962838)'))) / (select extract(epoch from '2026-07-28 17:25:31'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576406 -2.962852)', '2026-07-28 17:25:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576387 -2.962838)'), GeomFromEWKT('SRID=4674;POINT (-39.576406 -2.962852)'))) / (select extract(epoch from '2026-07-28 17:25:37'::timestamp) - extract(epoch from '2026-07-28 17:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576387 -2.962838)'), GeomFromEWKT('SRID=4674;POINT (-39.576406 -2.962852)'))) / (select extract(epoch from '2026-07-28 17:25:37'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576422 -2.962871)', '2026-07-28 17:25:42', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576406 -2.962852)'), GeomFromEWKT('SRID=4674;POINT (-39.576422 -2.962871)'))) / (select extract(epoch from '2026-07-28 17:25:42'::timestamp) - extract(epoch from '2026-07-28 17:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576406 -2.962852)'), GeomFromEWKT('SRID=4674;POINT (-39.576422 -2.962871)'))) / (select extract(epoch from '2026-07-28 17:25:42'::timestamp) - extract(epoch from '2026-07-28 17:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576428 -2.962874)', '2026-07-28 17:25:43', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576422 -2.962871)'), GeomFromEWKT('SRID=4674;POINT (-39.576428 -2.962874)'))) / (select extract(epoch from '2026-07-28 17:25:43'::timestamp) - extract(epoch from '2026-07-28 17:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576422 -2.962871)'), GeomFromEWKT('SRID=4674;POINT (-39.576428 -2.962874)'))) / (select extract(epoch from '2026-07-28 17:25:43'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576452 -2.962876)', '2026-07-28 17:25:46', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576428 -2.962874)'), GeomFromEWKT('SRID=4674;POINT (-39.576452 -2.962876)'))) / (select extract(epoch from '2026-07-28 17:25:46'::timestamp) - extract(epoch from '2026-07-28 17:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576428 -2.962874)'), GeomFromEWKT('SRID=4674;POINT (-39.576452 -2.962876)'))) / (select extract(epoch from '2026-07-28 17:25:46'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576516 -2.962915)', '2026-07-28 17:25:56', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576452 -2.962876)'), GeomFromEWKT('SRID=4674;POINT (-39.576516 -2.962915)'))) / (select extract(epoch from '2026-07-28 17:25:56'::timestamp) - extract(epoch from '2026-07-28 17:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576452 -2.962876)'), GeomFromEWKT('SRID=4674;POINT (-39.576516 -2.962915)'))) / (select extract(epoch from '2026-07-28 17:25:56'::timestamp) - extract(epoch from '2026-07-28 17:25: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'), 48107, 'SRID=4674;POINT (-39.576577 -2.962976)', '2026-07-28 17:26:05', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576516 -2.962915)'), GeomFromEWKT('SRID=4674;POINT (-39.576577 -2.962976)'))) / (select extract(epoch from '2026-07-28 17:26:05'::timestamp) - extract(epoch from '2026-07-28 17:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576516 -2.962915)'), GeomFromEWKT('SRID=4674;POINT (-39.576577 -2.962976)'))) / (select extract(epoch from '2026-07-28 17:26:05'::timestamp) - extract(epoch from '2026-07-28 17:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576601 -2.963001)', '2026-07-28 17:26:11', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576577 -2.962976)'), GeomFromEWKT('SRID=4674;POINT (-39.576601 -2.963001)'))) / (select extract(epoch from '2026-07-28 17:26:11'::timestamp) - extract(epoch from '2026-07-28 17:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576577 -2.962976)'), GeomFromEWKT('SRID=4674;POINT (-39.576601 -2.963001)'))) / (select extract(epoch from '2026-07-28 17:26:11'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576636 -2.96304)', '2026-07-28 17:26:20', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576601 -2.963001)'), GeomFromEWKT('SRID=4674;POINT (-39.576636 -2.96304)'))) / (select extract(epoch from '2026-07-28 17:26:20'::timestamp) - extract(epoch from '2026-07-28 17:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576601 -2.963001)'), GeomFromEWKT('SRID=4674;POINT (-39.576636 -2.96304)'))) / (select extract(epoch from '2026-07-28 17:26:20'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576677 -2.963073)', '2026-07-28 17:26:27', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576636 -2.96304)'), GeomFromEWKT('SRID=4674;POINT (-39.576677 -2.963073)'))) / (select extract(epoch from '2026-07-28 17:26:27'::timestamp) - extract(epoch from '2026-07-28 17:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576636 -2.96304)'), GeomFromEWKT('SRID=4674;POINT (-39.576677 -2.963073)'))) / (select extract(epoch from '2026-07-28 17:26:27'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576686 -2.963163)', '2026-07-28 17:26:35', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576677 -2.963073)'), GeomFromEWKT('SRID=4674;POINT (-39.576686 -2.963163)'))) / (select extract(epoch from '2026-07-28 17:26:35'::timestamp) - extract(epoch from '2026-07-28 17:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576677 -2.963073)'), GeomFromEWKT('SRID=4674;POINT (-39.576686 -2.963163)'))) / (select extract(epoch from '2026-07-28 17:26:35'::timestamp) - extract(epoch from '2026-07-28 17:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57667 -2.963244)', '2026-07-28 17:26:40', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576686 -2.963163)'), GeomFromEWKT('SRID=4674;POINT (-39.57667 -2.963244)'))) / (select extract(epoch from '2026-07-28 17:26:40'::timestamp) - extract(epoch from '2026-07-28 17:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576686 -2.963163)'), GeomFromEWKT('SRID=4674;POINT (-39.57667 -2.963244)'))) / (select extract(epoch from '2026-07-28 17:26:40'::timestamp) - extract(epoch from '2026-07-28 17:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576652 -2.963281)', '2026-07-28 17:26:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57667 -2.963244)'), GeomFromEWKT('SRID=4674;POINT (-39.576652 -2.963281)'))) / (select extract(epoch from '2026-07-28 17:26:42'::timestamp) - extract(epoch from '2026-07-28 17:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57667 -2.963244)'), GeomFromEWKT('SRID=4674;POINT (-39.576652 -2.963281)'))) / (select extract(epoch from '2026-07-28 17:26:42'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576611 -2.963359)', '2026-07-28 17:26:47', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576652 -2.963281)'), GeomFromEWKT('SRID=4674;POINT (-39.576611 -2.963359)'))) / (select extract(epoch from '2026-07-28 17:26:47'::timestamp) - extract(epoch from '2026-07-28 17:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576652 -2.963281)'), GeomFromEWKT('SRID=4674;POINT (-39.576611 -2.963359)'))) / (select extract(epoch from '2026-07-28 17:26:47'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576568 -2.963439)', '2026-07-28 17:26:52', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576611 -2.963359)'), GeomFromEWKT('SRID=4674;POINT (-39.576568 -2.963439)'))) / (select extract(epoch from '2026-07-28 17:26:52'::timestamp) - extract(epoch from '2026-07-28 17:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576611 -2.963359)'), GeomFromEWKT('SRID=4674;POINT (-39.576568 -2.963439)'))) / (select extract(epoch from '2026-07-28 17:26:52'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576554 -2.963469)', '2026-07-28 17:26:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576568 -2.963439)'), GeomFromEWKT('SRID=4674;POINT (-39.576554 -2.963469)'))) / (select extract(epoch from '2026-07-28 17:26:54'::timestamp) - extract(epoch from '2026-07-28 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576568 -2.963439)'), GeomFromEWKT('SRID=4674;POINT (-39.576554 -2.963469)'))) / (select extract(epoch from '2026-07-28 17:26:54'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576532 -2.963529)', '2026-07-28 17:26:58', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576554 -2.963469)'), GeomFromEWKT('SRID=4674;POINT (-39.576532 -2.963529)'))) / (select extract(epoch from '2026-07-28 17:26:58'::timestamp) - extract(epoch from '2026-07-28 17:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576554 -2.963469)'), GeomFromEWKT('SRID=4674;POINT (-39.576532 -2.963529)'))) / (select extract(epoch from '2026-07-28 17:26:58'::timestamp) - extract(epoch from '2026-07-28 17:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576469 -2.963626)', '2026-07-28 17:27:05', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576532 -2.963529)'), GeomFromEWKT('SRID=4674;POINT (-39.576469 -2.963626)'))) / (select extract(epoch from '2026-07-28 17:27:05'::timestamp) - extract(epoch from '2026-07-28 17:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576532 -2.963529)'), GeomFromEWKT('SRID=4674;POINT (-39.576469 -2.963626)'))) / (select extract(epoch from '2026-07-28 17:27:05'::timestamp) - extract(epoch from '2026-07-28 17:26: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'), 48107, 'SRID=4674;POINT (-39.576434 -2.963733)', '2026-07-28 17:27:12', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576469 -2.963626)'), GeomFromEWKT('SRID=4674;POINT (-39.576434 -2.963733)'))) / (select extract(epoch from '2026-07-28 17:27:12'::timestamp) - extract(epoch from '2026-07-28 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576469 -2.963626)'), GeomFromEWKT('SRID=4674;POINT (-39.576434 -2.963733)'))) / (select extract(epoch from '2026-07-28 17:27:12'::timestamp) - extract(epoch from '2026-07-28 17:27: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'), 48107, 'SRID=4674;POINT (-39.576405 -2.963807)', '2026-07-28 17:27:18', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576434 -2.963733)'), GeomFromEWKT('SRID=4674;POINT (-39.576405 -2.963807)'))) / (select extract(epoch from '2026-07-28 17:27:18'::timestamp) - extract(epoch from '2026-07-28 17:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576434 -2.963733)'), GeomFromEWKT('SRID=4674;POINT (-39.576405 -2.963807)'))) / (select extract(epoch from '2026-07-28 17:27:18'::timestamp) - extract(epoch from '2026-07-28 17:27: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'), 48107, 'SRID=4674;POINT (-39.576347 -2.963924)', '2026-07-28 17:27:24', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576405 -2.963807)'), GeomFromEWKT('SRID=4674;POINT (-39.576347 -2.963924)'))) / (select extract(epoch from '2026-07-28 17:27:24'::timestamp) - extract(epoch from '2026-07-28 17:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576405 -2.963807)'), GeomFromEWKT('SRID=4674;POINT (-39.576347 -2.963924)'))) / (select extract(epoch from '2026-07-28 17:27:24'::timestamp) - extract(epoch from '2026-07-28 17:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576309 -2.964022)', '2026-07-28 17:27:29', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576347 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.576309 -2.964022)'))) / (select extract(epoch from '2026-07-28 17:27:29'::timestamp) - extract(epoch from '2026-07-28 17:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576347 -2.963924)'), GeomFromEWKT('SRID=4674;POINT (-39.576309 -2.964022)'))) / (select extract(epoch from '2026-07-28 17:27:29'::timestamp) - extract(epoch from '2026-07-28 17:27: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'), 48107, 'SRID=4674;POINT (-39.576271 -2.964138)', '2026-07-28 17:27:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576309 -2.964022)'), GeomFromEWKT('SRID=4674;POINT (-39.576271 -2.964138)'))) / (select extract(epoch from '2026-07-28 17:27:35'::timestamp) - extract(epoch from '2026-07-28 17:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576309 -2.964022)'), GeomFromEWKT('SRID=4674;POINT (-39.576271 -2.964138)'))) / (select extract(epoch from '2026-07-28 17:27:35'::timestamp) - extract(epoch from '2026-07-28 17:27: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'), 48107, 'SRID=4674;POINT (-39.576231 -2.964248)', '2026-07-28 17:27:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576271 -2.964138)'), GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.964248)'))) / (select extract(epoch from '2026-07-28 17:27:41'::timestamp) - extract(epoch from '2026-07-28 17:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576271 -2.964138)'), GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.964248)'))) / (select extract(epoch from '2026-07-28 17:27:41'::timestamp) - extract(epoch from '2026-07-28 17:27: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'), 48107, 'SRID=4674;POINT (-39.576212 -2.964334)', '2026-07-28 17:27:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.964248)'), GeomFromEWKT('SRID=4674;POINT (-39.576212 -2.964334)'))) / (select extract(epoch from '2026-07-28 17:27:45'::timestamp) - extract(epoch from '2026-07-28 17:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576231 -2.964248)'), GeomFromEWKT('SRID=4674;POINT (-39.576212 -2.964334)'))) / (select extract(epoch from '2026-07-28 17:27:45'::timestamp) - extract(epoch from '2026-07-28 17:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57621 -2.964381)', '2026-07-28 17:27:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576212 -2.964334)'), GeomFromEWKT('SRID=4674;POINT (-39.57621 -2.964381)'))) / (select extract(epoch from '2026-07-28 17:27:47'::timestamp) - extract(epoch from '2026-07-28 17:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576212 -2.964334)'), GeomFromEWKT('SRID=4674;POINT (-39.57621 -2.964381)'))) / (select extract(epoch from '2026-07-28 17:27:47'::timestamp) - extract(epoch from '2026-07-28 17:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57617 -2.964508)', '2026-07-28 17:27:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57621 -2.964381)'), GeomFromEWKT('SRID=4674;POINT (-39.57617 -2.964508)'))) / (select extract(epoch from '2026-07-28 17:27:53'::timestamp) - extract(epoch from '2026-07-28 17:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57621 -2.964381)'), GeomFromEWKT('SRID=4674;POINT (-39.57617 -2.964508)'))) / (select extract(epoch from '2026-07-28 17:27:53'::timestamp) - extract(epoch from '2026-07-28 17:27: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'), 48107, 'SRID=4674;POINT (-39.576156 -2.964622)', '2026-07-28 17:27:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57617 -2.964508)'), GeomFromEWKT('SRID=4674;POINT (-39.576156 -2.964622)'))) / (select extract(epoch from '2026-07-28 17:27:58'::timestamp) - extract(epoch from '2026-07-28 17:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57617 -2.964508)'), GeomFromEWKT('SRID=4674;POINT (-39.576156 -2.964622)'))) / (select extract(epoch from '2026-07-28 17:27:58'::timestamp) - extract(epoch from '2026-07-28 17:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576143 -2.964776)', '2026-07-28 17:28:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576156 -2.964622)'), GeomFromEWKT('SRID=4674;POINT (-39.576143 -2.964776)'))) / (select extract(epoch from '2026-07-28 17:28:05'::timestamp) - extract(epoch from '2026-07-28 17:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576156 -2.964622)'), GeomFromEWKT('SRID=4674;POINT (-39.576143 -2.964776)'))) / (select extract(epoch from '2026-07-28 17:28:05'::timestamp) - extract(epoch from '2026-07-28 17:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576119 -2.964925)', '2026-07-28 17:28:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576143 -2.964776)'), GeomFromEWKT('SRID=4674;POINT (-39.576119 -2.964925)'))) / (select extract(epoch from '2026-07-28 17:28:12'::timestamp) - extract(epoch from '2026-07-28 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576143 -2.964776)'), GeomFromEWKT('SRID=4674;POINT (-39.576119 -2.964925)'))) / (select extract(epoch from '2026-07-28 17:28:12'::timestamp) - extract(epoch from '2026-07-28 17:28: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'), 48107, 'SRID=4674;POINT (-39.576086 -2.965037)', '2026-07-28 17:28:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576119 -2.964925)'), GeomFromEWKT('SRID=4674;POINT (-39.576086 -2.965037)'))) / (select extract(epoch from '2026-07-28 17:28:18'::timestamp) - extract(epoch from '2026-07-28 17:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576119 -2.964925)'), GeomFromEWKT('SRID=4674;POINT (-39.576086 -2.965037)'))) / (select extract(epoch from '2026-07-28 17:28:18'::timestamp) - extract(epoch from '2026-07-28 17:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576058 -2.965143)', '2026-07-28 17:28:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576086 -2.965037)'), GeomFromEWKT('SRID=4674;POINT (-39.576058 -2.965143)'))) / (select extract(epoch from '2026-07-28 17:28:23'::timestamp) - extract(epoch from '2026-07-28 17:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576086 -2.965037)'), GeomFromEWKT('SRID=4674;POINT (-39.576058 -2.965143)'))) / (select extract(epoch from '2026-07-28 17:28:23'::timestamp) - extract(epoch from '2026-07-28 17:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.576016 -2.965292)', '2026-07-28 17:28:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576058 -2.965143)'), GeomFromEWKT('SRID=4674;POINT (-39.576016 -2.965292)'))) / (select extract(epoch from '2026-07-28 17:28:30'::timestamp) - extract(epoch from '2026-07-28 17:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576058 -2.965143)'), GeomFromEWKT('SRID=4674;POINT (-39.576016 -2.965292)'))) / (select extract(epoch from '2026-07-28 17:28:30'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575978 -2.965424)', '2026-07-28 17:28:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576016 -2.965292)'), GeomFromEWKT('SRID=4674;POINT (-39.575978 -2.965424)'))) / (select extract(epoch from '2026-07-28 17:28:37'::timestamp) - extract(epoch from '2026-07-28 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.576016 -2.965292)'), GeomFromEWKT('SRID=4674;POINT (-39.575978 -2.965424)'))) / (select extract(epoch from '2026-07-28 17:28:37'::timestamp) - extract(epoch from '2026-07-28 17:28: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'), 48107, 'SRID=4674;POINT (-39.575937 -2.965546)', '2026-07-28 17:28:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575978 -2.965424)'), GeomFromEWKT('SRID=4674;POINT (-39.575937 -2.965546)'))) / (select extract(epoch from '2026-07-28 17:28:43'::timestamp) - extract(epoch from '2026-07-28 17:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575978 -2.965424)'), GeomFromEWKT('SRID=4674;POINT (-39.575937 -2.965546)'))) / (select extract(epoch from '2026-07-28 17:28:43'::timestamp) - extract(epoch from '2026-07-28 17:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575918 -2.965659)', '2026-07-28 17:28:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575937 -2.965546)'), GeomFromEWKT('SRID=4674;POINT (-39.575918 -2.965659)'))) / (select extract(epoch from '2026-07-28 17:28:49'::timestamp) - extract(epoch from '2026-07-28 17:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575937 -2.965546)'), GeomFromEWKT('SRID=4674;POINT (-39.575918 -2.965659)'))) / (select extract(epoch from '2026-07-28 17:28:49'::timestamp) - extract(epoch from '2026-07-28 17:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575894 -2.965784)', '2026-07-28 17:28:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575918 -2.965659)'), GeomFromEWKT('SRID=4674;POINT (-39.575894 -2.965784)'))) / (select extract(epoch from '2026-07-28 17:28:55'::timestamp) - extract(epoch from '2026-07-28 17:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575918 -2.965659)'), GeomFromEWKT('SRID=4674;POINT (-39.575894 -2.965784)'))) / (select extract(epoch from '2026-07-28 17:28:55'::timestamp) - extract(epoch from '2026-07-28 17:28: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'), 48107, 'SRID=4674;POINT (-39.575859 -2.965892)', '2026-07-28 17:29:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575894 -2.965784)'), GeomFromEWKT('SRID=4674;POINT (-39.575859 -2.965892)'))) / (select extract(epoch from '2026-07-28 17:29:01'::timestamp) - extract(epoch from '2026-07-28 17:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575894 -2.965784)'), GeomFromEWKT('SRID=4674;POINT (-39.575859 -2.965892)'))) / (select extract(epoch from '2026-07-28 17:29:01'::timestamp) - extract(epoch from '2026-07-28 17:28: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'), 48107, 'SRID=4674;POINT (-39.575805 -2.966022)', '2026-07-28 17:29:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575859 -2.965892)'), GeomFromEWKT('SRID=4674;POINT (-39.575805 -2.966022)'))) / (select extract(epoch from '2026-07-28 17:29:08'::timestamp) - extract(epoch from '2026-07-28 17:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575859 -2.965892)'), GeomFromEWKT('SRID=4674;POINT (-39.575805 -2.966022)'))) / (select extract(epoch from '2026-07-28 17:29:08'::timestamp) - extract(epoch from '2026-07-28 17:29: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'), 48107, 'SRID=4674;POINT (-39.575778 -2.966124)', '2026-07-28 17:29:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575805 -2.966022)'), GeomFromEWKT('SRID=4674;POINT (-39.575778 -2.966124)'))) / (select extract(epoch from '2026-07-28 17:29:14'::timestamp) - extract(epoch from '2026-07-28 17:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575805 -2.966022)'), GeomFromEWKT('SRID=4674;POINT (-39.575778 -2.966124)'))) / (select extract(epoch from '2026-07-28 17:29:14'::timestamp) - extract(epoch from '2026-07-28 17:29: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'), 48107, 'SRID=4674;POINT (-39.57575 -2.966229)', '2026-07-28 17:29:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575778 -2.966124)'), GeomFromEWKT('SRID=4674;POINT (-39.57575 -2.966229)'))) / (select extract(epoch from '2026-07-28 17:29:19'::timestamp) - extract(epoch from '2026-07-28 17:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575778 -2.966124)'), GeomFromEWKT('SRID=4674;POINT (-39.57575 -2.966229)'))) / (select extract(epoch from '2026-07-28 17:29:19'::timestamp) - extract(epoch from '2026-07-28 17:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575699 -2.966391)', '2026-07-28 17:29:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57575 -2.966229)'), GeomFromEWKT('SRID=4674;POINT (-39.575699 -2.966391)'))) / (select extract(epoch from '2026-07-28 17:29:26'::timestamp) - extract(epoch from '2026-07-28 17:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57575 -2.966229)'), GeomFromEWKT('SRID=4674;POINT (-39.575699 -2.966391)'))) / (select extract(epoch from '2026-07-28 17:29:26'::timestamp) - extract(epoch from '2026-07-28 17:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575686 -2.966434)', '2026-07-28 17:29:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575699 -2.966391)'), GeomFromEWKT('SRID=4674;POINT (-39.575686 -2.966434)'))) / (select extract(epoch from '2026-07-28 17:29:28'::timestamp) - extract(epoch from '2026-07-28 17:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575699 -2.966391)'), GeomFromEWKT('SRID=4674;POINT (-39.575686 -2.966434)'))) / (select extract(epoch from '2026-07-28 17:29:28'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575657 -2.966489)', '2026-07-28 17:29:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575686 -2.966434)'), GeomFromEWKT('SRID=4674;POINT (-39.575657 -2.966489)'))) / (select extract(epoch from '2026-07-28 17:29:31'::timestamp) - extract(epoch from '2026-07-28 17:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575686 -2.966434)'), GeomFromEWKT('SRID=4674;POINT (-39.575657 -2.966489)'))) / (select extract(epoch from '2026-07-28 17:29:31'::timestamp) - extract(epoch from '2026-07-28 17:29: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'), 48107, 'SRID=4674;POINT (-39.575599 -2.966623)', '2026-07-28 17:29:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575657 -2.966489)'), GeomFromEWKT('SRID=4674;POINT (-39.575599 -2.966623)'))) / (select extract(epoch from '2026-07-28 17:29:38'::timestamp) - extract(epoch from '2026-07-28 17:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575657 -2.966489)'), GeomFromEWKT('SRID=4674;POINT (-39.575599 -2.966623)'))) / (select extract(epoch from '2026-07-28 17:29:38'::timestamp) - extract(epoch from '2026-07-28 17:29: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'), 48107, 'SRID=4674;POINT (-39.575554 -2.966726)', '2026-07-28 17:29:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575599 -2.966623)'), GeomFromEWKT('SRID=4674;POINT (-39.575554 -2.966726)'))) / (select extract(epoch from '2026-07-28 17:29:44'::timestamp) - extract(epoch from '2026-07-28 17:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575599 -2.966623)'), GeomFromEWKT('SRID=4674;POINT (-39.575554 -2.966726)'))) / (select extract(epoch from '2026-07-28 17:29:44'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575528 -2.96682)', '2026-07-28 17:29:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575554 -2.966726)'), GeomFromEWKT('SRID=4674;POINT (-39.575528 -2.96682)'))) / (select extract(epoch from '2026-07-28 17:29:49'::timestamp) - extract(epoch from '2026-07-28 17:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575554 -2.966726)'), GeomFromEWKT('SRID=4674;POINT (-39.575528 -2.96682)'))) / (select extract(epoch from '2026-07-28 17:29:49'::timestamp) - extract(epoch from '2026-07-28 17:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575472 -2.966995)', '2026-07-28 17:29:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575528 -2.96682)'), GeomFromEWKT('SRID=4674;POINT (-39.575472 -2.966995)'))) / (select extract(epoch from '2026-07-28 17:29:57'::timestamp) - extract(epoch from '2026-07-28 17:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575528 -2.96682)'), GeomFromEWKT('SRID=4674;POINT (-39.575472 -2.966995)'))) / (select extract(epoch from '2026-07-28 17:29:57'::timestamp) - extract(epoch from '2026-07-28 17:29: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'), 48107, 'SRID=4674;POINT (-39.575456 -2.96704)', '2026-07-28 17:29:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575472 -2.966995)'), GeomFromEWKT('SRID=4674;POINT (-39.575456 -2.96704)'))) / (select extract(epoch from '2026-07-28 17:29:59'::timestamp) - extract(epoch from '2026-07-28 17:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575472 -2.966995)'), GeomFromEWKT('SRID=4674;POINT (-39.575456 -2.96704)'))) / (select extract(epoch from '2026-07-28 17:29:59'::timestamp) - extract(epoch from '2026-07-28 17:29: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'), 48107, 'SRID=4674;POINT (-39.575409 -2.967172)', '2026-07-28 17:30:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575456 -2.96704)'), GeomFromEWKT('SRID=4674;POINT (-39.575409 -2.967172)'))) / (select extract(epoch from '2026-07-28 17:30:06'::timestamp) - extract(epoch from '2026-07-28 17:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575456 -2.96704)'), GeomFromEWKT('SRID=4674;POINT (-39.575409 -2.967172)'))) / (select extract(epoch from '2026-07-28 17:30:06'::timestamp) - extract(epoch from '2026-07-28 17:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575361 -2.967277)', '2026-07-28 17:30:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575409 -2.967172)'), GeomFromEWKT('SRID=4674;POINT (-39.575361 -2.967277)'))) / (select extract(epoch from '2026-07-28 17:30:12'::timestamp) - extract(epoch from '2026-07-28 17:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575409 -2.967172)'), GeomFromEWKT('SRID=4674;POINT (-39.575361 -2.967277)'))) / (select extract(epoch from '2026-07-28 17:30:12'::timestamp) - extract(epoch from '2026-07-28 17:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575324 -2.967426)', '2026-07-28 17:30:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575361 -2.967277)'), GeomFromEWKT('SRID=4674;POINT (-39.575324 -2.967426)'))) / (select extract(epoch from '2026-07-28 17:30:19'::timestamp) - extract(epoch from '2026-07-28 17:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575361 -2.967277)'), GeomFromEWKT('SRID=4674;POINT (-39.575324 -2.967426)'))) / (select extract(epoch from '2026-07-28 17:30:19'::timestamp) - extract(epoch from '2026-07-28 17:30: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'), 48107, 'SRID=4674;POINT (-39.575302 -2.9675)', '2026-07-28 17:30:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575324 -2.967426)'), GeomFromEWKT('SRID=4674;POINT (-39.575302 -2.9675)'))) / (select extract(epoch from '2026-07-28 17:30:23'::timestamp) - extract(epoch from '2026-07-28 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575324 -2.967426)'), GeomFromEWKT('SRID=4674;POINT (-39.575302 -2.9675)'))) / (select extract(epoch from '2026-07-28 17:30:23'::timestamp) - extract(epoch from '2026-07-28 17:30: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'), 48107, 'SRID=4674;POINT (-39.575292 -2.967517)', '2026-07-28 17:30:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575302 -2.9675)'), GeomFromEWKT('SRID=4674;POINT (-39.575292 -2.967517)'))) / (select extract(epoch from '2026-07-28 17:30:24'::timestamp) - extract(epoch from '2026-07-28 17:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575302 -2.9675)'), GeomFromEWKT('SRID=4674;POINT (-39.575292 -2.967517)'))) / (select extract(epoch from '2026-07-28 17:30:24'::timestamp) - extract(epoch from '2026-07-28 17:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575268 -2.967616)', '2026-07-28 17:30:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575292 -2.967517)'), GeomFromEWKT('SRID=4674;POINT (-39.575268 -2.967616)'))) / (select extract(epoch from '2026-07-28 17:30:29'::timestamp) - extract(epoch from '2026-07-28 17:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575292 -2.967517)'), GeomFromEWKT('SRID=4674;POINT (-39.575268 -2.967616)'))) / (select extract(epoch from '2026-07-28 17:30:29'::timestamp) - extract(epoch from '2026-07-28 17:30: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'), 48107, 'SRID=4674;POINT (-39.575239 -2.967722)', '2026-07-28 17:30:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575268 -2.967616)'), GeomFromEWKT('SRID=4674;POINT (-39.575239 -2.967722)'))) / (select extract(epoch from '2026-07-28 17:30:34'::timestamp) - extract(epoch from '2026-07-28 17:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575268 -2.967616)'), GeomFromEWKT('SRID=4674;POINT (-39.575239 -2.967722)'))) / (select extract(epoch from '2026-07-28 17:30:34'::timestamp) - extract(epoch from '2026-07-28 17:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575213 -2.967874)', '2026-07-28 17:30:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575239 -2.967722)'), GeomFromEWKT('SRID=4674;POINT (-39.575213 -2.967874)'))) / (select extract(epoch from '2026-07-28 17:30:41'::timestamp) - extract(epoch from '2026-07-28 17:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575239 -2.967722)'), GeomFromEWKT('SRID=4674;POINT (-39.575213 -2.967874)'))) / (select extract(epoch from '2026-07-28 17:30:41'::timestamp) - extract(epoch from '2026-07-28 17:30: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'), 48107, 'SRID=4674;POINT (-39.575196 -2.968016)', '2026-07-28 17:30:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575213 -2.967874)'), GeomFromEWKT('SRID=4674;POINT (-39.575196 -2.968016)'))) / (select extract(epoch from '2026-07-28 17:30:47'::timestamp) - extract(epoch from '2026-07-28 17:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575213 -2.967874)'), GeomFromEWKT('SRID=4674;POINT (-39.575196 -2.968016)'))) / (select extract(epoch from '2026-07-28 17:30:47'::timestamp) - extract(epoch from '2026-07-28 17:30: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'), 48107, 'SRID=4674;POINT (-39.575171 -2.968162)', '2026-07-28 17:30:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575196 -2.968016)'), GeomFromEWKT('SRID=4674;POINT (-39.575171 -2.968162)'))) / (select extract(epoch from '2026-07-28 17:30:53'::timestamp) - extract(epoch from '2026-07-28 17:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575196 -2.968016)'), GeomFromEWKT('SRID=4674;POINT (-39.575171 -2.968162)'))) / (select extract(epoch from '2026-07-28 17:30:53'::timestamp) - extract(epoch from '2026-07-28 17:30: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'), 48107, 'SRID=4674;POINT (-39.57512 -2.968313)', '2026-07-28 17:31:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575171 -2.968162)'), GeomFromEWKT('SRID=4674;POINT (-39.57512 -2.968313)'))) / (select extract(epoch from '2026-07-28 17:31:00'::timestamp) - extract(epoch from '2026-07-28 17:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575171 -2.968162)'), GeomFromEWKT('SRID=4674;POINT (-39.57512 -2.968313)'))) / (select extract(epoch from '2026-07-28 17:31:00'::timestamp) - extract(epoch from '2026-07-28 17:30: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'), 48107, 'SRID=4674;POINT (-39.575083 -2.968439)', '2026-07-28 17:31:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57512 -2.968313)'), GeomFromEWKT('SRID=4674;POINT (-39.575083 -2.968439)'))) / (select extract(epoch from '2026-07-28 17:31:06'::timestamp) - extract(epoch from '2026-07-28 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57512 -2.968313)'), GeomFromEWKT('SRID=4674;POINT (-39.575083 -2.968439)'))) / (select extract(epoch from '2026-07-28 17:31:06'::timestamp) - extract(epoch from '2026-07-28 17:31: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'), 48107, 'SRID=4674;POINT (-39.575032 -2.96861)', '2026-07-28 17:31:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575083 -2.968439)'), GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.96861)'))) / (select extract(epoch from '2026-07-28 17:31:14'::timestamp) - extract(epoch from '2026-07-28 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575083 -2.968439)'), GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.96861)'))) / (select extract(epoch from '2026-07-28 17:31:14'::timestamp) - extract(epoch from '2026-07-28 17:31: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'), 48107, 'SRID=4674;POINT (-39.574989 -2.968772)', '2026-07-28 17:31:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.96861)'), GeomFromEWKT('SRID=4674;POINT (-39.574989 -2.968772)'))) / (select extract(epoch from '2026-07-28 17:31:22'::timestamp) - extract(epoch from '2026-07-28 17:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.96861)'), GeomFromEWKT('SRID=4674;POINT (-39.574989 -2.968772)'))) / (select extract(epoch from '2026-07-28 17:31:22'::timestamp) - extract(epoch from '2026-07-28 17:31: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'), 48107, 'SRID=4674;POINT (-39.574959 -2.968896)', '2026-07-28 17:31:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574989 -2.968772)'), GeomFromEWKT('SRID=4674;POINT (-39.574959 -2.968896)'))) / (select extract(epoch from '2026-07-28 17:31:28'::timestamp) - extract(epoch from '2026-07-28 17:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574989 -2.968772)'), GeomFromEWKT('SRID=4674;POINT (-39.574959 -2.968896)'))) / (select extract(epoch from '2026-07-28 17:31:28'::timestamp) - extract(epoch from '2026-07-28 17:31: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'), 48107, 'SRID=4674;POINT (-39.574913 -2.969065)', '2026-07-28 17:31:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574959 -2.968896)'), GeomFromEWKT('SRID=4674;POINT (-39.574913 -2.969065)'))) / (select extract(epoch from '2026-07-28 17:31:36'::timestamp) - extract(epoch from '2026-07-28 17:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574959 -2.968896)'), GeomFromEWKT('SRID=4674;POINT (-39.574913 -2.969065)'))) / (select extract(epoch from '2026-07-28 17:31:36'::timestamp) - extract(epoch from '2026-07-28 17:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574839 -2.96925)', '2026-07-28 17:31:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574913 -2.969065)'), GeomFromEWKT('SRID=4674;POINT (-39.574839 -2.96925)'))) / (select extract(epoch from '2026-07-28 17:31:45'::timestamp) - extract(epoch from '2026-07-28 17:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574913 -2.969065)'), GeomFromEWKT('SRID=4674;POINT (-39.574839 -2.96925)'))) / (select extract(epoch from '2026-07-28 17:31:45'::timestamp) - extract(epoch from '2026-07-28 17:31: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'), 48107, 'SRID=4674;POINT (-39.574791 -2.969392)', '2026-07-28 17:31:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574839 -2.96925)'), GeomFromEWKT('SRID=4674;POINT (-39.574791 -2.969392)'))) / (select extract(epoch from '2026-07-28 17:31:52'::timestamp) - extract(epoch from '2026-07-28 17:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574839 -2.96925)'), GeomFromEWKT('SRID=4674;POINT (-39.574791 -2.969392)'))) / (select extract(epoch from '2026-07-28 17:31:52'::timestamp) - extract(epoch from '2026-07-28 17:31: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'), 48107, 'SRID=4674;POINT (-39.57476 -2.969532)', '2026-07-28 17:31:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574791 -2.969392)'), GeomFromEWKT('SRID=4674;POINT (-39.57476 -2.969532)'))) / (select extract(epoch from '2026-07-28 17:31:59'::timestamp) - extract(epoch from '2026-07-28 17:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574791 -2.969392)'), GeomFromEWKT('SRID=4674;POINT (-39.57476 -2.969532)'))) / (select extract(epoch from '2026-07-28 17:31:59'::timestamp) - extract(epoch from '2026-07-28 17:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57472 -2.969632)', '2026-07-28 17:32:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57476 -2.969532)'), GeomFromEWKT('SRID=4674;POINT (-39.57472 -2.969632)'))) / (select extract(epoch from '2026-07-28 17:32:05'::timestamp) - extract(epoch from '2026-07-28 17:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57476 -2.969532)'), GeomFromEWKT('SRID=4674;POINT (-39.57472 -2.969632)'))) / (select extract(epoch from '2026-07-28 17:32:05'::timestamp) - extract(epoch from '2026-07-28 17:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574691 -2.969775)', '2026-07-28 17:32:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57472 -2.969632)'), GeomFromEWKT('SRID=4674;POINT (-39.574691 -2.969775)'))) / (select extract(epoch from '2026-07-28 17:32:12'::timestamp) - extract(epoch from '2026-07-28 17:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57472 -2.969632)'), GeomFromEWKT('SRID=4674;POINT (-39.574691 -2.969775)'))) / (select extract(epoch from '2026-07-28 17:32:12'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.574642 -2.969893)', '2026-07-28 17:32:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574691 -2.969775)'), GeomFromEWKT('SRID=4674;POINT (-39.574642 -2.969893)'))) / (select extract(epoch from '2026-07-28 17:32:18'::timestamp) - extract(epoch from '2026-07-28 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574691 -2.969775)'), GeomFromEWKT('SRID=4674;POINT (-39.574642 -2.969893)'))) / (select extract(epoch from '2026-07-28 17:32:18'::timestamp) - extract(epoch from '2026-07-28 17:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574603 -2.970043)', '2026-07-28 17:32:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574642 -2.969893)'), GeomFromEWKT('SRID=4674;POINT (-39.574603 -2.970043)'))) / (select extract(epoch from '2026-07-28 17:32:26'::timestamp) - extract(epoch from '2026-07-28 17:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574642 -2.969893)'), GeomFromEWKT('SRID=4674;POINT (-39.574603 -2.970043)'))) / (select extract(epoch from '2026-07-28 17:32:26'::timestamp) - extract(epoch from '2026-07-28 17:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574555 -2.970204)', '2026-07-28 17:32:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574603 -2.970043)'), GeomFromEWKT('SRID=4674;POINT (-39.574555 -2.970204)'))) / (select extract(epoch from '2026-07-28 17:32:33'::timestamp) - extract(epoch from '2026-07-28 17:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574603 -2.970043)'), GeomFromEWKT('SRID=4674;POINT (-39.574555 -2.970204)'))) / (select extract(epoch from '2026-07-28 17:32:33'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.574517 -2.970327)', '2026-07-28 17:32:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574555 -2.970204)'), GeomFromEWKT('SRID=4674;POINT (-39.574517 -2.970327)'))) / (select extract(epoch from '2026-07-28 17:32:39'::timestamp) - extract(epoch from '2026-07-28 17:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574555 -2.970204)'), GeomFromEWKT('SRID=4674;POINT (-39.574517 -2.970327)'))) / (select extract(epoch from '2026-07-28 17:32:39'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.574499 -2.970378)', '2026-07-28 17:32:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574517 -2.970327)'), GeomFromEWKT('SRID=4674;POINT (-39.574499 -2.970378)'))) / (select extract(epoch from '2026-07-28 17:32:43'::timestamp) - extract(epoch from '2026-07-28 17:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574517 -2.970327)'), GeomFromEWKT('SRID=4674;POINT (-39.574499 -2.970378)'))) / (select extract(epoch from '2026-07-28 17:32:43'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.574501 -2.970398)', '2026-07-28 17:32:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574499 -2.970378)'), GeomFromEWKT('SRID=4674;POINT (-39.574501 -2.970398)'))) / (select extract(epoch from '2026-07-28 17:32:45'::timestamp) - extract(epoch from '2026-07-28 17:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574499 -2.970378)'), GeomFromEWKT('SRID=4674;POINT (-39.574501 -2.970398)'))) / (select extract(epoch from '2026-07-28 17:32:45'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.57453 -2.970457)', '2026-07-28 17:32:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574501 -2.970398)'), GeomFromEWKT('SRID=4674;POINT (-39.57453 -2.970457)'))) / (select extract(epoch from '2026-07-28 17:32:51'::timestamp) - extract(epoch from '2026-07-28 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574501 -2.970398)'), GeomFromEWKT('SRID=4674;POINT (-39.57453 -2.970457)'))) / (select extract(epoch from '2026-07-28 17:32:51'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.574564 -2.970526)', '2026-07-28 17:32:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57453 -2.970457)'), GeomFromEWKT('SRID=4674;POINT (-39.574564 -2.970526)'))) / (select extract(epoch from '2026-07-28 17:32:57'::timestamp) - extract(epoch from '2026-07-28 17:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57453 -2.970457)'), GeomFromEWKT('SRID=4674;POINT (-39.574564 -2.970526)'))) / (select extract(epoch from '2026-07-28 17:32:57'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.574613 -2.970641)', '2026-07-28 17:33:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574564 -2.970526)'), GeomFromEWKT('SRID=4674;POINT (-39.574613 -2.970641)'))) / (select extract(epoch from '2026-07-28 17:33:05'::timestamp) - extract(epoch from '2026-07-28 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574564 -2.970526)'), GeomFromEWKT('SRID=4674;POINT (-39.574613 -2.970641)'))) / (select extract(epoch from '2026-07-28 17:33:05'::timestamp) - extract(epoch from '2026-07-28 17:32: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'), 48107, 'SRID=4674;POINT (-39.574615 -2.97065)', '2026-07-28 17:33:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574613 -2.970641)'), GeomFromEWKT('SRID=4674;POINT (-39.574615 -2.97065)'))) / (select extract(epoch from '2026-07-28 17:33:06'::timestamp) - extract(epoch from '2026-07-28 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574613 -2.970641)'), GeomFromEWKT('SRID=4674;POINT (-39.574615 -2.97065)'))) / (select extract(epoch from '2026-07-28 17:33:06'::timestamp) - extract(epoch from '2026-07-28 17:33: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'), 48107, 'SRID=4674;POINT (-39.574623 -2.970682)', '2026-07-28 17:33:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574615 -2.97065)'), GeomFromEWKT('SRID=4674;POINT (-39.574623 -2.970682)'))) / (select extract(epoch from '2026-07-28 17:33:10'::timestamp) - extract(epoch from '2026-07-28 17:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574615 -2.97065)'), GeomFromEWKT('SRID=4674;POINT (-39.574623 -2.970682)'))) / (select extract(epoch from '2026-07-28 17:33:10'::timestamp) - extract(epoch from '2026-07-28 17:33: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'), 48107, 'SRID=4674;POINT (-39.574662 -2.970753)', '2026-07-28 17:33:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574623 -2.970682)'), GeomFromEWKT('SRID=4674;POINT (-39.574662 -2.970753)'))) / (select extract(epoch from '2026-07-28 17:33:23'::timestamp) - extract(epoch from '2026-07-28 17:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574623 -2.970682)'), GeomFromEWKT('SRID=4674;POINT (-39.574662 -2.970753)'))) / (select extract(epoch from '2026-07-28 17:33:23'::timestamp) - extract(epoch from '2026-07-28 17:33: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'), 48107, 'SRID=4674;POINT (-39.574707 -2.970793)', '2026-07-28 17:33:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574662 -2.970753)'), GeomFromEWKT('SRID=4674;POINT (-39.574707 -2.970793)'))) / (select extract(epoch from '2026-07-28 17:33:33'::timestamp) - extract(epoch from '2026-07-28 17:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574662 -2.970753)'), GeomFromEWKT('SRID=4674;POINT (-39.574707 -2.970793)'))) / (select extract(epoch from '2026-07-28 17:33:33'::timestamp) - extract(epoch from '2026-07-28 17:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574724 -2.970799)', '2026-07-28 17:33:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574707 -2.970793)'), GeomFromEWKT('SRID=4674;POINT (-39.574724 -2.970799)'))) / (select extract(epoch from '2026-07-28 17:33:35'::timestamp) - extract(epoch from '2026-07-28 17:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574707 -2.970793)'), GeomFromEWKT('SRID=4674;POINT (-39.574724 -2.970799)'))) / (select extract(epoch from '2026-07-28 17:33:35'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.574752 -2.970821)', '2026-07-28 17:33:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574724 -2.970799)'), GeomFromEWKT('SRID=4674;POINT (-39.574752 -2.970821)'))) / (select extract(epoch from '2026-07-28 17:33:39'::timestamp) - extract(epoch from '2026-07-28 17:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574724 -2.970799)'), GeomFromEWKT('SRID=4674;POINT (-39.574752 -2.970821)'))) / (select extract(epoch from '2026-07-28 17:33:39'::timestamp) - extract(epoch from '2026-07-28 17:33: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'), 48107, 'SRID=4674;POINT (-39.574778 -2.97083)', '2026-07-28 17:33:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574752 -2.970821)'), GeomFromEWKT('SRID=4674;POINT (-39.574778 -2.97083)'))) / (select extract(epoch from '2026-07-28 17:33:44'::timestamp) - extract(epoch from '2026-07-28 17:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574752 -2.970821)'), GeomFromEWKT('SRID=4674;POINT (-39.574778 -2.97083)'))) / (select extract(epoch from '2026-07-28 17:33:44'::timestamp) - extract(epoch from '2026-07-28 17:33: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'), 48107, 'SRID=4674;POINT (-39.574824 -2.970854)', '2026-07-28 17:33:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574778 -2.97083)'), GeomFromEWKT('SRID=4674;POINT (-39.574824 -2.970854)'))) / (select extract(epoch from '2026-07-28 17:33:54'::timestamp) - extract(epoch from '2026-07-28 17:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574778 -2.97083)'), GeomFromEWKT('SRID=4674;POINT (-39.574824 -2.970854)'))) / (select extract(epoch from '2026-07-28 17:33:54'::timestamp) - extract(epoch from '2026-07-28 17:33: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'), 48107, 'SRID=4674;POINT (-39.574845 -2.97087)', '2026-07-28 17:34:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574824 -2.970854)'), GeomFromEWKT('SRID=4674;POINT (-39.574845 -2.97087)'))) / (select extract(epoch from '2026-07-28 17:34:01'::timestamp) - extract(epoch from '2026-07-28 17:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574824 -2.970854)'), GeomFromEWKT('SRID=4674;POINT (-39.574845 -2.97087)'))) / (select extract(epoch from '2026-07-28 17:34:01'::timestamp) - extract(epoch from '2026-07-28 17:33: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'), 48107, 'SRID=4674;POINT (-39.574888 -2.970891)', '2026-07-28 17:34:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574845 -2.97087)'), GeomFromEWKT('SRID=4674;POINT (-39.574888 -2.970891)'))) / (select extract(epoch from '2026-07-28 17:34:08'::timestamp) - extract(epoch from '2026-07-28 17:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574845 -2.97087)'), GeomFromEWKT('SRID=4674;POINT (-39.574888 -2.970891)'))) / (select extract(epoch from '2026-07-28 17:34:08'::timestamp) - extract(epoch from '2026-07-28 17:34: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'), 48107, 'SRID=4674;POINT (-39.574896 -2.970898)', '2026-07-28 17:34:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574888 -2.970891)'), GeomFromEWKT('SRID=4674;POINT (-39.574896 -2.970898)'))) / (select extract(epoch from '2026-07-28 17:34:09'::timestamp) - extract(epoch from '2026-07-28 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574888 -2.970891)'), GeomFromEWKT('SRID=4674;POINT (-39.574896 -2.970898)'))) / (select extract(epoch from '2026-07-28 17:34:09'::timestamp) - extract(epoch from '2026-07-28 17:34: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'), 48107, 'SRID=4674;POINT (-39.57492 -2.970919)', '2026-07-28 17:34:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574896 -2.970898)'), GeomFromEWKT('SRID=4674;POINT (-39.57492 -2.970919)'))) / (select extract(epoch from '2026-07-28 17:34:14'::timestamp) - extract(epoch from '2026-07-28 17:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574896 -2.970898)'), GeomFromEWKT('SRID=4674;POINT (-39.57492 -2.970919)'))) / (select extract(epoch from '2026-07-28 17:34:14'::timestamp) - extract(epoch from '2026-07-28 17:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574978 -2.970956)', '2026-07-28 17:34:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57492 -2.970919)'), GeomFromEWKT('SRID=4674;POINT (-39.574978 -2.970956)'))) / (select extract(epoch from '2026-07-28 17:34:24'::timestamp) - extract(epoch from '2026-07-28 17:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57492 -2.970919)'), GeomFromEWKT('SRID=4674;POINT (-39.574978 -2.970956)'))) / (select extract(epoch from '2026-07-28 17:34:24'::timestamp) - extract(epoch from '2026-07-28 17:34: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'), 48107, 'SRID=4674;POINT (-39.575032 -2.971007)', '2026-07-28 17:34:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574978 -2.970956)'), GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.971007)'))) / (select extract(epoch from '2026-07-28 17:34:33'::timestamp) - extract(epoch from '2026-07-28 17:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574978 -2.970956)'), GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.971007)'))) / (select extract(epoch from '2026-07-28 17:34:33'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575078 -2.971047)', '2026-07-28 17:34:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.971007)'), GeomFromEWKT('SRID=4674;POINT (-39.575078 -2.971047)'))) / (select extract(epoch from '2026-07-28 17:34:41'::timestamp) - extract(epoch from '2026-07-28 17:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575032 -2.971007)'), GeomFromEWKT('SRID=4674;POINT (-39.575078 -2.971047)'))) / (select extract(epoch from '2026-07-28 17:34:41'::timestamp) - extract(epoch from '2026-07-28 17:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575109 -2.971073)', '2026-07-28 17:34:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575078 -2.971047)'), GeomFromEWKT('SRID=4674;POINT (-39.575109 -2.971073)'))) / (select extract(epoch from '2026-07-28 17:34:46'::timestamp) - extract(epoch from '2026-07-28 17:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575078 -2.971047)'), GeomFromEWKT('SRID=4674;POINT (-39.575109 -2.971073)'))) / (select extract(epoch from '2026-07-28 17:34:46'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575123 -2.971087)', '2026-07-28 17:34:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575109 -2.971073)'), GeomFromEWKT('SRID=4674;POINT (-39.575123 -2.971087)'))) / (select extract(epoch from '2026-07-28 17:34:49'::timestamp) - extract(epoch from '2026-07-28 17:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575109 -2.971073)'), GeomFromEWKT('SRID=4674;POINT (-39.575123 -2.971087)'))) / (select extract(epoch from '2026-07-28 17:34:49'::timestamp) - extract(epoch from '2026-07-28 17:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575148 -2.97113)', '2026-07-28 17:34:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575123 -2.971087)'), GeomFromEWKT('SRID=4674;POINT (-39.575148 -2.97113)'))) / (select extract(epoch from '2026-07-28 17:34:56'::timestamp) - extract(epoch from '2026-07-28 17:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575123 -2.971087)'), GeomFromEWKT('SRID=4674;POINT (-39.575148 -2.97113)'))) / (select extract(epoch from '2026-07-28 17:34:56'::timestamp) - extract(epoch from '2026-07-28 17:34: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'), 48107, 'SRID=4674;POINT (-39.575136 -2.971234)', '2026-07-28 17:35:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575148 -2.97113)'), GeomFromEWKT('SRID=4674;POINT (-39.575136 -2.971234)'))) / (select extract(epoch from '2026-07-28 17:35:03'::timestamp) - extract(epoch from '2026-07-28 17:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575148 -2.97113)'), GeomFromEWKT('SRID=4674;POINT (-39.575136 -2.971234)'))) / (select extract(epoch from '2026-07-28 17:35:03'::timestamp) - extract(epoch from '2026-07-28 17:34: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'), 48107, 'SRID=4674;POINT (-39.575095 -2.971304)', '2026-07-28 17:35:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575136 -2.971234)'), GeomFromEWKT('SRID=4674;POINT (-39.575095 -2.971304)'))) / (select extract(epoch from '2026-07-28 17:35:09'::timestamp) - extract(epoch from '2026-07-28 17:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575136 -2.971234)'), GeomFromEWKT('SRID=4674;POINT (-39.575095 -2.971304)'))) / (select extract(epoch from '2026-07-28 17:35:09'::timestamp) - extract(epoch from '2026-07-28 17:35: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'), 48107, 'SRID=4674;POINT (-39.575062 -2.971389)', '2026-07-28 17:35:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575095 -2.971304)'), GeomFromEWKT('SRID=4674;POINT (-39.575062 -2.971389)'))) / (select extract(epoch from '2026-07-28 17:35:16'::timestamp) - extract(epoch from '2026-07-28 17:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575095 -2.971304)'), GeomFromEWKT('SRID=4674;POINT (-39.575062 -2.971389)'))) / (select extract(epoch from '2026-07-28 17:35:16'::timestamp) - extract(epoch from '2026-07-28 17:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.575061 -2.971398)', '2026-07-28 17:35:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575062 -2.971389)'), GeomFromEWKT('SRID=4674;POINT (-39.575061 -2.971398)'))) / (select extract(epoch from '2026-07-28 17:35:17'::timestamp) - extract(epoch from '2026-07-28 17:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575062 -2.971389)'), GeomFromEWKT('SRID=4674;POINT (-39.575061 -2.971398)'))) / (select extract(epoch from '2026-07-28 17:35:17'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.575036 -2.971449)', '2026-07-28 17:35:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575061 -2.971398)'), GeomFromEWKT('SRID=4674;POINT (-39.575036 -2.971449)'))) / (select extract(epoch from '2026-07-28 17:35:21'::timestamp) - extract(epoch from '2026-07-28 17:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575061 -2.971398)'), GeomFromEWKT('SRID=4674;POINT (-39.575036 -2.971449)'))) / (select extract(epoch from '2026-07-28 17:35:21'::timestamp) - extract(epoch from '2026-07-28 17:35: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'), 48107, 'SRID=4674;POINT (-39.574997 -2.971547)', '2026-07-28 17:35:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575036 -2.971449)'), GeomFromEWKT('SRID=4674;POINT (-39.574997 -2.971547)'))) / (select extract(epoch from '2026-07-28 17:35:28'::timestamp) - extract(epoch from '2026-07-28 17:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.575036 -2.971449)'), GeomFromEWKT('SRID=4674;POINT (-39.574997 -2.971547)'))) / (select extract(epoch from '2026-07-28 17:35:28'::timestamp) - extract(epoch from '2026-07-28 17:35: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'), 48107, 'SRID=4674;POINT (-39.574956 -2.971679)', '2026-07-28 17:35:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574997 -2.971547)'), GeomFromEWKT('SRID=4674;POINT (-39.574956 -2.971679)'))) / (select extract(epoch from '2026-07-28 17:35:35'::timestamp) - extract(epoch from '2026-07-28 17:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574997 -2.971547)'), GeomFromEWKT('SRID=4674;POINT (-39.574956 -2.971679)'))) / (select extract(epoch from '2026-07-28 17:35:35'::timestamp) - extract(epoch from '2026-07-28 17:35: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'), 48107, 'SRID=4674;POINT (-39.574921 -2.971808)', '2026-07-28 17:35:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574956 -2.971679)'), GeomFromEWKT('SRID=4674;POINT (-39.574921 -2.971808)'))) / (select extract(epoch from '2026-07-28 17:35:41'::timestamp) - extract(epoch from '2026-07-28 17:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574956 -2.971679)'), GeomFromEWKT('SRID=4674;POINT (-39.574921 -2.971808)'))) / (select extract(epoch from '2026-07-28 17:35:41'::timestamp) - extract(epoch from '2026-07-28 17:35: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'), 48107, 'SRID=4674;POINT (-39.574894 -2.971965)', '2026-07-28 17:35:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574921 -2.971808)'), GeomFromEWKT('SRID=4674;POINT (-39.574894 -2.971965)'))) / (select extract(epoch from '2026-07-28 17:35:49'::timestamp) - extract(epoch from '2026-07-28 17:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574921 -2.971808)'), GeomFromEWKT('SRID=4674;POINT (-39.574894 -2.971965)'))) / (select extract(epoch from '2026-07-28 17:35:49'::timestamp) - extract(epoch from '2026-07-28 17:35: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'), 48107, 'SRID=4674;POINT (-39.574866 -2.972118)', '2026-07-28 17:35:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574894 -2.971965)'), GeomFromEWKT('SRID=4674;POINT (-39.574866 -2.972118)'))) / (select extract(epoch from '2026-07-28 17:35:57'::timestamp) - extract(epoch from '2026-07-28 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574894 -2.971965)'), GeomFromEWKT('SRID=4674;POINT (-39.574866 -2.972118)'))) / (select extract(epoch from '2026-07-28 17:35:57'::timestamp) - extract(epoch from '2026-07-28 17:35: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'), 48107, 'SRID=4674;POINT (-39.574849 -2.972227)', '2026-07-28 17:36:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574866 -2.972118)'), GeomFromEWKT('SRID=4674;POINT (-39.574849 -2.972227)'))) / (select extract(epoch from '2026-07-28 17:36:03'::timestamp) - extract(epoch from '2026-07-28 17:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574866 -2.972118)'), GeomFromEWKT('SRID=4674;POINT (-39.574849 -2.972227)'))) / (select extract(epoch from '2026-07-28 17:36:03'::timestamp) - extract(epoch from '2026-07-28 17:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574825 -2.972325)', '2026-07-28 17:36:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574849 -2.972227)'), GeomFromEWKT('SRID=4674;POINT (-39.574825 -2.972325)'))) / (select extract(epoch from '2026-07-28 17:36:09'::timestamp) - extract(epoch from '2026-07-28 17:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574849 -2.972227)'), GeomFromEWKT('SRID=4674;POINT (-39.574825 -2.972325)'))) / (select extract(epoch from '2026-07-28 17:36:09'::timestamp) - extract(epoch from '2026-07-28 17:36: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'), 48107, 'SRID=4674;POINT (-39.574792 -2.972426)', '2026-07-28 17:36:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574825 -2.972325)'), GeomFromEWKT('SRID=4674;POINT (-39.574792 -2.972426)'))) / (select extract(epoch from '2026-07-28 17:36:15'::timestamp) - extract(epoch from '2026-07-28 17:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574825 -2.972325)'), GeomFromEWKT('SRID=4674;POINT (-39.574792 -2.972426)'))) / (select extract(epoch from '2026-07-28 17:36:15'::timestamp) - extract(epoch from '2026-07-28 17:36:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574765 -2.972559)', '2026-07-28 17:36:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574792 -2.972426)'), GeomFromEWKT('SRID=4674;POINT (-39.574765 -2.972559)'))) / (select extract(epoch from '2026-07-28 17:36:21'::timestamp) - extract(epoch from '2026-07-28 17:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574792 -2.972426)'), GeomFromEWKT('SRID=4674;POINT (-39.574765 -2.972559)'))) / (select extract(epoch from '2026-07-28 17:36:21'::timestamp) - extract(epoch from '2026-07-28 17:36: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'), 48107, 'SRID=4674;POINT (-39.574735 -2.972645)', '2026-07-28 17:36:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574765 -2.972559)'), GeomFromEWKT('SRID=4674;POINT (-39.574735 -2.972645)'))) / (select extract(epoch from '2026-07-28 17:36:26'::timestamp) - extract(epoch from '2026-07-28 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574765 -2.972559)'), GeomFromEWKT('SRID=4674;POINT (-39.574735 -2.972645)'))) / (select extract(epoch from '2026-07-28 17:36:26'::timestamp) - extract(epoch from '2026-07-28 17:36: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'), 48107, 'SRID=4674;POINT (-39.574725 -2.972786)', '2026-07-28 17:36:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574735 -2.972645)'), GeomFromEWKT('SRID=4674;POINT (-39.574725 -2.972786)'))) / (select extract(epoch from '2026-07-28 17:36:33'::timestamp) - extract(epoch from '2026-07-28 17:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574735 -2.972645)'), GeomFromEWKT('SRID=4674;POINT (-39.574725 -2.972786)'))) / (select extract(epoch from '2026-07-28 17:36:33'::timestamp) - extract(epoch from '2026-07-28 17:36: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'), 48107, 'SRID=4674;POINT (-39.574703 -2.972894)', '2026-07-28 17:36:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574725 -2.972786)'), GeomFromEWKT('SRID=4674;POINT (-39.574703 -2.972894)'))) / (select extract(epoch from '2026-07-28 17:36:39'::timestamp) - extract(epoch from '2026-07-28 17:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574725 -2.972786)'), GeomFromEWKT('SRID=4674;POINT (-39.574703 -2.972894)'))) / (select extract(epoch from '2026-07-28 17:36:39'::timestamp) - extract(epoch from '2026-07-28 17:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574681 -2.972958)', '2026-07-28 17:36:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574703 -2.972894)'), GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972958)'))) / (select extract(epoch from '2026-07-28 17:36:43'::timestamp) - extract(epoch from '2026-07-28 17:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574703 -2.972894)'), GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972958)'))) / (select extract(epoch from '2026-07-28 17:36:43'::timestamp) - extract(epoch from '2026-07-28 17:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574681 -2.972997)', '2026-07-28 17:36:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972958)'), GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972997)'))) / (select extract(epoch from '2026-07-28 17:36:45'::timestamp) - extract(epoch from '2026-07-28 17:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972958)'), GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972997)'))) / (select extract(epoch from '2026-07-28 17:36:45'::timestamp) - extract(epoch from '2026-07-28 17:36: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'), 48107, 'SRID=4674;POINT (-39.574651 -2.973146)', '2026-07-28 17:36:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972997)'), GeomFromEWKT('SRID=4674;POINT (-39.574651 -2.973146)'))) / (select extract(epoch from '2026-07-28 17:36:53'::timestamp) - extract(epoch from '2026-07-28 17:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574681 -2.972997)'), GeomFromEWKT('SRID=4674;POINT (-39.574651 -2.973146)'))) / (select extract(epoch from '2026-07-28 17:36:53'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.574649 -2.973243)', '2026-07-28 17:36:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574651 -2.973146)'), GeomFromEWKT('SRID=4674;POINT (-39.574649 -2.973243)'))) / (select extract(epoch from '2026-07-28 17:36:58'::timestamp) - extract(epoch from '2026-07-28 17:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574651 -2.973146)'), GeomFromEWKT('SRID=4674;POINT (-39.574649 -2.973243)'))) / (select extract(epoch from '2026-07-28 17:36:58'::timestamp) - extract(epoch from '2026-07-28 17:36: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'), 48107, 'SRID=4674;POINT (-39.57462 -2.973362)', '2026-07-28 17:37:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574649 -2.973243)'), GeomFromEWKT('SRID=4674;POINT (-39.57462 -2.973362)'))) / (select extract(epoch from '2026-07-28 17:37:05'::timestamp) - extract(epoch from '2026-07-28 17:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574649 -2.973243)'), GeomFromEWKT('SRID=4674;POINT (-39.57462 -2.973362)'))) / (select extract(epoch from '2026-07-28 17:37:05'::timestamp) - extract(epoch from '2026-07-28 17:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574599 -2.9735)', '2026-07-28 17:37:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57462 -2.973362)'), GeomFromEWKT('SRID=4674;POINT (-39.574599 -2.9735)'))) / (select extract(epoch from '2026-07-28 17:37:12'::timestamp) - extract(epoch from '2026-07-28 17:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57462 -2.973362)'), GeomFromEWKT('SRID=4674;POINT (-39.574599 -2.9735)'))) / (select extract(epoch from '2026-07-28 17:37:12'::timestamp) - extract(epoch from '2026-07-28 17:37: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'), 48107, 'SRID=4674;POINT (-39.574565 -2.973624)', '2026-07-28 17:37:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574599 -2.9735)'), GeomFromEWKT('SRID=4674;POINT (-39.574565 -2.973624)'))) / (select extract(epoch from '2026-07-28 17:37:18'::timestamp) - extract(epoch from '2026-07-28 17:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574599 -2.9735)'), GeomFromEWKT('SRID=4674;POINT (-39.574565 -2.973624)'))) / (select extract(epoch from '2026-07-28 17:37:18'::timestamp) - extract(epoch from '2026-07-28 17:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574542 -2.97373)', '2026-07-28 17:37:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574565 -2.973624)'), GeomFromEWKT('SRID=4674;POINT (-39.574542 -2.97373)'))) / (select extract(epoch from '2026-07-28 17:37:23'::timestamp) - extract(epoch from '2026-07-28 17:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574565 -2.973624)'), GeomFromEWKT('SRID=4674;POINT (-39.574542 -2.97373)'))) / (select extract(epoch from '2026-07-28 17:37:23'::timestamp) - extract(epoch from '2026-07-28 17:37: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'), 48107, 'SRID=4674;POINT (-39.574503 -2.973854)', '2026-07-28 17:37:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574542 -2.97373)'), GeomFromEWKT('SRID=4674;POINT (-39.574503 -2.973854)'))) / (select extract(epoch from '2026-07-28 17:37:29'::timestamp) - extract(epoch from '2026-07-28 17:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574542 -2.97373)'), GeomFromEWKT('SRID=4674;POINT (-39.574503 -2.973854)'))) / (select extract(epoch from '2026-07-28 17:37:29'::timestamp) - extract(epoch from '2026-07-28 17:37: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'), 48107, 'SRID=4674;POINT (-39.574483 -2.973974)', '2026-07-28 17:37:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574503 -2.973854)'), GeomFromEWKT('SRID=4674;POINT (-39.574483 -2.973974)'))) / (select extract(epoch from '2026-07-28 17:37:36'::timestamp) - extract(epoch from '2026-07-28 17:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574503 -2.973854)'), GeomFromEWKT('SRID=4674;POINT (-39.574483 -2.973974)'))) / (select extract(epoch from '2026-07-28 17:37:36'::timestamp) - extract(epoch from '2026-07-28 17:37: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'), 48107, 'SRID=4674;POINT (-39.574481 -2.974083)', '2026-07-28 17:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574483 -2.973974)'), GeomFromEWKT('SRID=4674;POINT (-39.574481 -2.974083)'))) / (select extract(epoch from '2026-07-28 17:37:42'::timestamp) - extract(epoch from '2026-07-28 17:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574483 -2.973974)'), GeomFromEWKT('SRID=4674;POINT (-39.574481 -2.974083)'))) / (select extract(epoch from '2026-07-28 17:37:42'::timestamp) - extract(epoch from '2026-07-28 17:37: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'), 48107, 'SRID=4674;POINT (-39.57448 -2.974104)', '2026-07-28 17:37:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574481 -2.974083)'), GeomFromEWKT('SRID=4674;POINT (-39.57448 -2.974104)'))) / (select extract(epoch from '2026-07-28 17:37:43'::timestamp) - extract(epoch from '2026-07-28 17:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574481 -2.974083)'), GeomFromEWKT('SRID=4674;POINT (-39.57448 -2.974104)'))) / (select extract(epoch from '2026-07-28 17:37:43'::timestamp) - extract(epoch from '2026-07-28 17:37: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'), 48107, 'SRID=4674;POINT (-39.574465 -2.974162)', '2026-07-28 17:37:46', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57448 -2.974104)'), GeomFromEWKT('SRID=4674;POINT (-39.574465 -2.974162)'))) / (select extract(epoch from '2026-07-28 17:37:46'::timestamp) - extract(epoch from '2026-07-28 17:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57448 -2.974104)'), GeomFromEWKT('SRID=4674;POINT (-39.574465 -2.974162)'))) / (select extract(epoch from '2026-07-28 17:37:46'::timestamp) - extract(epoch from '2026-07-28 17:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574437 -2.974291)', '2026-07-28 17:37:53', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574465 -2.974162)'), GeomFromEWKT('SRID=4674;POINT (-39.574437 -2.974291)'))) / (select extract(epoch from '2026-07-28 17:37:53'::timestamp) - extract(epoch from '2026-07-28 17:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574465 -2.974162)'), GeomFromEWKT('SRID=4674;POINT (-39.574437 -2.974291)'))) / (select extract(epoch from '2026-07-28 17:37:53'::timestamp) - extract(epoch from '2026-07-28 17:37: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'), 48107, 'SRID=4674;POINT (-39.574409 -2.974423)', '2026-07-28 17:38:00', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574437 -2.974291)'), GeomFromEWKT('SRID=4674;POINT (-39.574409 -2.974423)'))) / (select extract(epoch from '2026-07-28 17:38:00'::timestamp) - extract(epoch from '2026-07-28 17:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574437 -2.974291)'), GeomFromEWKT('SRID=4674;POINT (-39.574409 -2.974423)'))) / (select extract(epoch from '2026-07-28 17:38:00'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.574384 -2.974573)', '2026-07-28 17:38:07', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574409 -2.974423)'), GeomFromEWKT('SRID=4674;POINT (-39.574384 -2.974573)'))) / (select extract(epoch from '2026-07-28 17:38:07'::timestamp) - extract(epoch from '2026-07-28 17:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574409 -2.974423)'), GeomFromEWKT('SRID=4674;POINT (-39.574384 -2.974573)'))) / (select extract(epoch from '2026-07-28 17:38:07'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574371 -2.974701)', '2026-07-28 17:38:13', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574384 -2.974573)'), GeomFromEWKT('SRID=4674;POINT (-39.574371 -2.974701)'))) / (select extract(epoch from '2026-07-28 17:38:13'::timestamp) - extract(epoch from '2026-07-28 17:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574384 -2.974573)'), GeomFromEWKT('SRID=4674;POINT (-39.574371 -2.974701)'))) / (select extract(epoch from '2026-07-28 17:38:13'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574321 -2.974862)', '2026-07-28 17:38:21', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574371 -2.974701)'), GeomFromEWKT('SRID=4674;POINT (-39.574321 -2.974862)'))) / (select extract(epoch from '2026-07-28 17:38:21'::timestamp) - extract(epoch from '2026-07-28 17:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574371 -2.974701)'), GeomFromEWKT('SRID=4674;POINT (-39.574321 -2.974862)'))) / (select extract(epoch from '2026-07-28 17:38:21'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574294 -2.97497)', '2026-07-28 17:38:27', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574321 -2.974862)'), GeomFromEWKT('SRID=4674;POINT (-39.574294 -2.97497)'))) / (select extract(epoch from '2026-07-28 17:38:27'::timestamp) - extract(epoch from '2026-07-28 17:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574321 -2.974862)'), GeomFromEWKT('SRID=4674;POINT (-39.574294 -2.97497)'))) / (select extract(epoch from '2026-07-28 17:38:27'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574273 -2.975099)', '2026-07-28 17:38:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574294 -2.97497)'), GeomFromEWKT('SRID=4674;POINT (-39.574273 -2.975099)'))) / (select extract(epoch from '2026-07-28 17:38:32'::timestamp) - extract(epoch from '2026-07-28 17:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574294 -2.97497)'), GeomFromEWKT('SRID=4674;POINT (-39.574273 -2.975099)'))) / (select extract(epoch from '2026-07-28 17:38:32'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574235 -2.975231)', '2026-07-28 17:38:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574273 -2.975099)'), GeomFromEWKT('SRID=4674;POINT (-39.574235 -2.975231)'))) / (select extract(epoch from '2026-07-28 17:38:38'::timestamp) - extract(epoch from '2026-07-28 17:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574273 -2.975099)'), GeomFromEWKT('SRID=4674;POINT (-39.574235 -2.975231)'))) / (select extract(epoch from '2026-07-28 17:38:38'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574207 -2.975319)', '2026-07-28 17:38:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574235 -2.975231)'), GeomFromEWKT('SRID=4674;POINT (-39.574207 -2.975319)'))) / (select extract(epoch from '2026-07-28 17:38:43'::timestamp) - extract(epoch from '2026-07-28 17:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574235 -2.975231)'), GeomFromEWKT('SRID=4674;POINT (-39.574207 -2.975319)'))) / (select extract(epoch from '2026-07-28 17:38:43'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.574199 -2.975355)', '2026-07-28 17:38:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574207 -2.975319)'), GeomFromEWKT('SRID=4674;POINT (-39.574199 -2.975355)'))) / (select extract(epoch from '2026-07-28 17:38:45'::timestamp) - extract(epoch from '2026-07-28 17:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574207 -2.975319)'), GeomFromEWKT('SRID=4674;POINT (-39.574199 -2.975355)'))) / (select extract(epoch from '2026-07-28 17:38:45'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574186 -2.975416)', '2026-07-28 17:38:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574199 -2.975355)'), GeomFromEWKT('SRID=4674;POINT (-39.574186 -2.975416)'))) / (select extract(epoch from '2026-07-28 17:38:48'::timestamp) - extract(epoch from '2026-07-28 17:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574199 -2.975355)'), GeomFromEWKT('SRID=4674;POINT (-39.574186 -2.975416)'))) / (select extract(epoch from '2026-07-28 17:38:48'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574156 -2.975539)', '2026-07-28 17:38:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574186 -2.975416)'), GeomFromEWKT('SRID=4674;POINT (-39.574156 -2.975539)'))) / (select extract(epoch from '2026-07-28 17:38:54'::timestamp) - extract(epoch from '2026-07-28 17:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574186 -2.975416)'), GeomFromEWKT('SRID=4674;POINT (-39.574156 -2.975539)'))) / (select extract(epoch from '2026-07-28 17:38:54'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574132 -2.975607)', '2026-07-28 17:38:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574156 -2.975539)'), GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975607)'))) / (select extract(epoch from '2026-07-28 17:38:58'::timestamp) - extract(epoch from '2026-07-28 17:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574156 -2.975539)'), GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975607)'))) / (select extract(epoch from '2026-07-28 17:38:58'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574132 -2.975626)', '2026-07-28 17:38:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975607)'), GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975626)'))) / (select extract(epoch from '2026-07-28 17:38:59'::timestamp) - extract(epoch from '2026-07-28 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975607)'), GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975626)'))) / (select extract(epoch from '2026-07-28 17:38:59'::timestamp) - extract(epoch from '2026-07-28 17:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57411 -2.975723)', '2026-07-28 17:39:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975626)'), GeomFromEWKT('SRID=4674;POINT (-39.57411 -2.975723)'))) / (select extract(epoch from '2026-07-28 17:39:04'::timestamp) - extract(epoch from '2026-07-28 17:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574132 -2.975626)'), GeomFromEWKT('SRID=4674;POINT (-39.57411 -2.975723)'))) / (select extract(epoch from '2026-07-28 17:39:04'::timestamp) - extract(epoch from '2026-07-28 17:38: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'), 48107, 'SRID=4674;POINT (-39.574088 -2.975825)', '2026-07-28 17:39:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57411 -2.975723)'), GeomFromEWKT('SRID=4674;POINT (-39.574088 -2.975825)'))) / (select extract(epoch from '2026-07-28 17:39:09'::timestamp) - extract(epoch from '2026-07-28 17:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57411 -2.975723)'), GeomFromEWKT('SRID=4674;POINT (-39.574088 -2.975825)'))) / (select extract(epoch from '2026-07-28 17:39:09'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.574054 -2.975936)', '2026-07-28 17:39:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574088 -2.975825)'), GeomFromEWKT('SRID=4674;POINT (-39.574054 -2.975936)'))) / (select extract(epoch from '2026-07-28 17:39:15'::timestamp) - extract(epoch from '2026-07-28 17:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574088 -2.975825)'), GeomFromEWKT('SRID=4674;POINT (-39.574054 -2.975936)'))) / (select extract(epoch from '2026-07-28 17:39:15'::timestamp) - extract(epoch from '2026-07-28 17:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.574025 -2.976023)', '2026-07-28 17:39:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574054 -2.975936)'), GeomFromEWKT('SRID=4674;POINT (-39.574025 -2.976023)'))) / (select extract(epoch from '2026-07-28 17:39:20'::timestamp) - extract(epoch from '2026-07-28 17:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574054 -2.975936)'), GeomFromEWKT('SRID=4674;POINT (-39.574025 -2.976023)'))) / (select extract(epoch from '2026-07-28 17:39:20'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.573992 -2.976136)', '2026-07-28 17:39:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574025 -2.976023)'), GeomFromEWKT('SRID=4674;POINT (-39.573992 -2.976136)'))) / (select extract(epoch from '2026-07-28 17:39:26'::timestamp) - extract(epoch from '2026-07-28 17:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.574025 -2.976023)'), GeomFromEWKT('SRID=4674;POINT (-39.573992 -2.976136)'))) / (select extract(epoch from '2026-07-28 17:39:26'::timestamp) - extract(epoch from '2026-07-28 17:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573954 -2.976274)', '2026-07-28 17:39:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573992 -2.976136)'), GeomFromEWKT('SRID=4674;POINT (-39.573954 -2.976274)'))) / (select extract(epoch from '2026-07-28 17:39:33'::timestamp) - extract(epoch from '2026-07-28 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573992 -2.976136)'), GeomFromEWKT('SRID=4674;POINT (-39.573954 -2.976274)'))) / (select extract(epoch from '2026-07-28 17:39:33'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.573935 -2.976427)', '2026-07-28 17:39:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573954 -2.976274)'), GeomFromEWKT('SRID=4674;POINT (-39.573935 -2.976427)'))) / (select extract(epoch from '2026-07-28 17:39:40'::timestamp) - extract(epoch from '2026-07-28 17:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573954 -2.976274)'), GeomFromEWKT('SRID=4674;POINT (-39.573935 -2.976427)'))) / (select extract(epoch from '2026-07-28 17:39:40'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.573915 -2.976577)', '2026-07-28 17:39:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573935 -2.976427)'), GeomFromEWKT('SRID=4674;POINT (-39.573915 -2.976577)'))) / (select extract(epoch from '2026-07-28 17:39:47'::timestamp) - extract(epoch from '2026-07-28 17:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573935 -2.976427)'), GeomFromEWKT('SRID=4674;POINT (-39.573915 -2.976577)'))) / (select extract(epoch from '2026-07-28 17:39:47'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.573914 -2.976597)', '2026-07-28 17:39:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573915 -2.976577)'), GeomFromEWKT('SRID=4674;POINT (-39.573914 -2.976597)'))) / (select extract(epoch from '2026-07-28 17:39:48'::timestamp) - extract(epoch from '2026-07-28 17:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573915 -2.976577)'), GeomFromEWKT('SRID=4674;POINT (-39.573914 -2.976597)'))) / (select extract(epoch from '2026-07-28 17:39:48'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.573893 -2.97665)', '2026-07-28 17:39:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573914 -2.976597)'), GeomFromEWKT('SRID=4674;POINT (-39.573893 -2.97665)'))) / (select extract(epoch from '2026-07-28 17:39:51'::timestamp) - extract(epoch from '2026-07-28 17:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573914 -2.976597)'), GeomFromEWKT('SRID=4674;POINT (-39.573893 -2.97665)'))) / (select extract(epoch from '2026-07-28 17:39:51'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.573866 -2.976737)', '2026-07-28 17:39:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573893 -2.97665)'), GeomFromEWKT('SRID=4674;POINT (-39.573866 -2.976737)'))) / (select extract(epoch from '2026-07-28 17:39:56'::timestamp) - extract(epoch from '2026-07-28 17:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573893 -2.97665)'), GeomFromEWKT('SRID=4674;POINT (-39.573866 -2.976737)'))) / (select extract(epoch from '2026-07-28 17:39:56'::timestamp) - extract(epoch from '2026-07-28 17:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573854 -2.976789)', '2026-07-28 17:39:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573866 -2.976737)'), GeomFromEWKT('SRID=4674;POINT (-39.573854 -2.976789)'))) / (select extract(epoch from '2026-07-28 17:39:59'::timestamp) - extract(epoch from '2026-07-28 17:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573866 -2.976737)'), GeomFromEWKT('SRID=4674;POINT (-39.573854 -2.976789)'))) / (select extract(epoch from '2026-07-28 17:39:59'::timestamp) - extract(epoch from '2026-07-28 17:39: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'), 48107, 'SRID=4674;POINT (-39.573845 -2.976822)', '2026-07-28 17:40:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573854 -2.976789)'), GeomFromEWKT('SRID=4674;POINT (-39.573845 -2.976822)'))) / (select extract(epoch from '2026-07-28 17:40:01'::timestamp) - extract(epoch from '2026-07-28 17:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573854 -2.976789)'), GeomFromEWKT('SRID=4674;POINT (-39.573845 -2.976822)'))) / (select extract(epoch from '2026-07-28 17:40:01'::timestamp) - extract(epoch from '2026-07-28 17:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57382 -2.976912)', '2026-07-28 17:40:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573845 -2.976822)'), GeomFromEWKT('SRID=4674;POINT (-39.57382 -2.976912)'))) / (select extract(epoch from '2026-07-28 17:40:06'::timestamp) - extract(epoch from '2026-07-28 17:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573845 -2.976822)'), GeomFromEWKT('SRID=4674;POINT (-39.57382 -2.976912)'))) / (select extract(epoch from '2026-07-28 17:40:06'::timestamp) - extract(epoch from '2026-07-28 17:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573799 -2.977019)', '2026-07-28 17:40:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57382 -2.976912)'), GeomFromEWKT('SRID=4674;POINT (-39.573799 -2.977019)'))) / (select extract(epoch from '2026-07-28 17:40:11'::timestamp) - extract(epoch from '2026-07-28 17:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57382 -2.976912)'), GeomFromEWKT('SRID=4674;POINT (-39.573799 -2.977019)'))) / (select extract(epoch from '2026-07-28 17:40:11'::timestamp) - extract(epoch from '2026-07-28 17:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573794 -2.977054)', '2026-07-28 17:40:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573799 -2.977019)'), GeomFromEWKT('SRID=4674;POINT (-39.573794 -2.977054)'))) / (select extract(epoch from '2026-07-28 17:40:13'::timestamp) - extract(epoch from '2026-07-28 17:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573799 -2.977019)'), GeomFromEWKT('SRID=4674;POINT (-39.573794 -2.977054)'))) / (select extract(epoch from '2026-07-28 17:40:13'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.57378 -2.977098)', '2026-07-28 17:40:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573794 -2.977054)'), GeomFromEWKT('SRID=4674;POINT (-39.57378 -2.977098)'))) / (select extract(epoch from '2026-07-28 17:40:15'::timestamp) - extract(epoch from '2026-07-28 17:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573794 -2.977054)'), GeomFromEWKT('SRID=4674;POINT (-39.57378 -2.977098)'))) / (select extract(epoch from '2026-07-28 17:40:15'::timestamp) - extract(epoch from '2026-07-28 17:40: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'), 48107, 'SRID=4674;POINT (-39.573753 -2.977186)', '2026-07-28 17:40:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57378 -2.977098)'), GeomFromEWKT('SRID=4674;POINT (-39.573753 -2.977186)'))) / (select extract(epoch from '2026-07-28 17:40:20'::timestamp) - extract(epoch from '2026-07-28 17:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57378 -2.977098)'), GeomFromEWKT('SRID=4674;POINT (-39.573753 -2.977186)'))) / (select extract(epoch from '2026-07-28 17:40:20'::timestamp) - extract(epoch from '2026-07-28 17:40: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'), 48107, 'SRID=4674;POINT (-39.573721 -2.977295)', '2026-07-28 17:40:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573753 -2.977186)'), GeomFromEWKT('SRID=4674;POINT (-39.573721 -2.977295)'))) / (select extract(epoch from '2026-07-28 17:40:26'::timestamp) - extract(epoch from '2026-07-28 17:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573753 -2.977186)'), GeomFromEWKT('SRID=4674;POINT (-39.573721 -2.977295)'))) / (select extract(epoch from '2026-07-28 17:40:26'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.573717 -2.977314)', '2026-07-28 17:40:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573721 -2.977295)'), GeomFromEWKT('SRID=4674;POINT (-39.573717 -2.977314)'))) / (select extract(epoch from '2026-07-28 17:40:27'::timestamp) - extract(epoch from '2026-07-28 17:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573721 -2.977295)'), GeomFromEWKT('SRID=4674;POINT (-39.573717 -2.977314)'))) / (select extract(epoch from '2026-07-28 17:40:27'::timestamp) - extract(epoch from '2026-07-28 17:40: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'), 48107, 'SRID=4674;POINT (-39.573694 -2.977365)', '2026-07-28 17:40:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573717 -2.977314)'), GeomFromEWKT('SRID=4674;POINT (-39.573694 -2.977365)'))) / (select extract(epoch from '2026-07-28 17:40:30'::timestamp) - extract(epoch from '2026-07-28 17:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573717 -2.977314)'), GeomFromEWKT('SRID=4674;POINT (-39.573694 -2.977365)'))) / (select extract(epoch from '2026-07-28 17:40:30'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.573654 -2.97747)', '2026-07-28 17:40:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573694 -2.977365)'), GeomFromEWKT('SRID=4674;POINT (-39.573654 -2.97747)'))) / (select extract(epoch from '2026-07-28 17:40:36'::timestamp) - extract(epoch from '2026-07-28 17:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573694 -2.977365)'), GeomFromEWKT('SRID=4674;POINT (-39.573654 -2.97747)'))) / (select extract(epoch from '2026-07-28 17:40:36'::timestamp) - extract(epoch from '2026-07-28 17:40: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'), 48107, 'SRID=4674;POINT (-39.573643 -2.977511)', '2026-07-28 17:40:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573654 -2.97747)'), GeomFromEWKT('SRID=4674;POINT (-39.573643 -2.977511)'))) / (select extract(epoch from '2026-07-28 17:40:38'::timestamp) - extract(epoch from '2026-07-28 17:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573654 -2.97747)'), GeomFromEWKT('SRID=4674;POINT (-39.573643 -2.977511)'))) / (select extract(epoch from '2026-07-28 17:40:38'::timestamp) - extract(epoch from '2026-07-28 17:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573631 -2.977564)', '2026-07-28 17:40:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573643 -2.977511)'), GeomFromEWKT('SRID=4674;POINT (-39.573631 -2.977564)'))) / (select extract(epoch from '2026-07-28 17:40:41'::timestamp) - extract(epoch from '2026-07-28 17:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573643 -2.977511)'), GeomFromEWKT('SRID=4674;POINT (-39.573631 -2.977564)'))) / (select extract(epoch from '2026-07-28 17:40:41'::timestamp) - extract(epoch from '2026-07-28 17:40: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'), 48107, 'SRID=4674;POINT (-39.573613 -2.97768)', '2026-07-28 17:40:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573631 -2.977564)'), GeomFromEWKT('SRID=4674;POINT (-39.573613 -2.97768)'))) / (select extract(epoch from '2026-07-28 17:40:47'::timestamp) - extract(epoch from '2026-07-28 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573631 -2.977564)'), GeomFromEWKT('SRID=4674;POINT (-39.573613 -2.97768)'))) / (select extract(epoch from '2026-07-28 17:40:47'::timestamp) - extract(epoch from '2026-07-28 17:40: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'), 48107, 'SRID=4674;POINT (-39.573605 -2.97779)', '2026-07-28 17:40:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573613 -2.97768)'), GeomFromEWKT('SRID=4674;POINT (-39.573605 -2.97779)'))) / (select extract(epoch from '2026-07-28 17:40:53'::timestamp) - extract(epoch from '2026-07-28 17:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573613 -2.97768)'), GeomFromEWKT('SRID=4674;POINT (-39.573605 -2.97779)'))) / (select extract(epoch from '2026-07-28 17:40:53'::timestamp) - extract(epoch from '2026-07-28 17:40: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'), 48107, 'SRID=4674;POINT (-39.573588 -2.977901)', '2026-07-28 17:40:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573605 -2.97779)'), GeomFromEWKT('SRID=4674;POINT (-39.573588 -2.977901)'))) / (select extract(epoch from '2026-07-28 17:40:59'::timestamp) - extract(epoch from '2026-07-28 17:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573605 -2.97779)'), GeomFromEWKT('SRID=4674;POINT (-39.573588 -2.977901)'))) / (select extract(epoch from '2026-07-28 17:40:59'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.573557 -2.97806)', '2026-07-28 17:41:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573588 -2.977901)'), GeomFromEWKT('SRID=4674;POINT (-39.573557 -2.97806)'))) / (select extract(epoch from '2026-07-28 17:41:06'::timestamp) - extract(epoch from '2026-07-28 17:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573588 -2.977901)'), GeomFromEWKT('SRID=4674;POINT (-39.573557 -2.97806)'))) / (select extract(epoch from '2026-07-28 17:41:06'::timestamp) - extract(epoch from '2026-07-28 17:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573518 -2.978187)', '2026-07-28 17:41:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573557 -2.97806)'), GeomFromEWKT('SRID=4674;POINT (-39.573518 -2.978187)'))) / (select extract(epoch from '2026-07-28 17:41:12'::timestamp) - extract(epoch from '2026-07-28 17:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573557 -2.97806)'), GeomFromEWKT('SRID=4674;POINT (-39.573518 -2.978187)'))) / (select extract(epoch from '2026-07-28 17:41:12'::timestamp) - extract(epoch from '2026-07-28 17:41: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'), 48107, 'SRID=4674;POINT (-39.573483 -2.978286)', '2026-07-28 17:41:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573518 -2.978187)'), GeomFromEWKT('SRID=4674;POINT (-39.573483 -2.978286)'))) / (select extract(epoch from '2026-07-28 17:41:17'::timestamp) - extract(epoch from '2026-07-28 17:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573518 -2.978187)'), GeomFromEWKT('SRID=4674;POINT (-39.573483 -2.978286)'))) / (select extract(epoch from '2026-07-28 17:41:17'::timestamp) - extract(epoch from '2026-07-28 17:41: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'), 48107, 'SRID=4674;POINT (-39.573457 -2.978424)', '2026-07-28 17:41:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573483 -2.978286)'), GeomFromEWKT('SRID=4674;POINT (-39.573457 -2.978424)'))) / (select extract(epoch from '2026-07-28 17:41:24'::timestamp) - extract(epoch from '2026-07-28 17:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573483 -2.978286)'), GeomFromEWKT('SRID=4674;POINT (-39.573457 -2.978424)'))) / (select extract(epoch from '2026-07-28 17:41:24'::timestamp) - extract(epoch from '2026-07-28 17:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573451 -2.978465)', '2026-07-28 17:41:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573457 -2.978424)'), GeomFromEWKT('SRID=4674;POINT (-39.573451 -2.978465)'))) / (select extract(epoch from '2026-07-28 17:41:26'::timestamp) - extract(epoch from '2026-07-28 17:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573457 -2.978424)'), GeomFromEWKT('SRID=4674;POINT (-39.573451 -2.978465)'))) / (select extract(epoch from '2026-07-28 17:41:26'::timestamp) - extract(epoch from '2026-07-28 17:41: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'), 48107, 'SRID=4674;POINT (-39.573438 -2.978533)', '2026-07-28 17:41:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573451 -2.978465)'), GeomFromEWKT('SRID=4674;POINT (-39.573438 -2.978533)'))) / (select extract(epoch from '2026-07-28 17:41:29'::timestamp) - extract(epoch from '2026-07-28 17:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573451 -2.978465)'), GeomFromEWKT('SRID=4674;POINT (-39.573438 -2.978533)'))) / (select extract(epoch from '2026-07-28 17:41:29'::timestamp) - extract(epoch from '2026-07-28 17:41: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'), 48107, 'SRID=4674;POINT (-39.573411 -2.978655)', '2026-07-28 17:41:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573438 -2.978533)'), GeomFromEWKT('SRID=4674;POINT (-39.573411 -2.978655)'))) / (select extract(epoch from '2026-07-28 17:41:35'::timestamp) - extract(epoch from '2026-07-28 17:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573438 -2.978533)'), GeomFromEWKT('SRID=4674;POINT (-39.573411 -2.978655)'))) / (select extract(epoch from '2026-07-28 17:41:35'::timestamp) - extract(epoch from '2026-07-28 17:41: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'), 48107, 'SRID=4674;POINT (-39.57338 -2.978785)', '2026-07-28 17:41:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573411 -2.978655)'), GeomFromEWKT('SRID=4674;POINT (-39.57338 -2.978785)'))) / (select extract(epoch from '2026-07-28 17:41:42'::timestamp) - extract(epoch from '2026-07-28 17:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573411 -2.978655)'), GeomFromEWKT('SRID=4674;POINT (-39.57338 -2.978785)'))) / (select extract(epoch from '2026-07-28 17:41:42'::timestamp) - extract(epoch from '2026-07-28 17:41: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'), 48107, 'SRID=4674;POINT (-39.573344 -2.978941)', '2026-07-28 17:41:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57338 -2.978785)'), GeomFromEWKT('SRID=4674;POINT (-39.573344 -2.978941)'))) / (select extract(epoch from '2026-07-28 17:41:49'::timestamp) - extract(epoch from '2026-07-28 17:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57338 -2.978785)'), GeomFromEWKT('SRID=4674;POINT (-39.573344 -2.978941)'))) / (select extract(epoch from '2026-07-28 17:41:49'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.573313 -2.979044)', '2026-07-28 17:41:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573344 -2.978941)'), GeomFromEWKT('SRID=4674;POINT (-39.573313 -2.979044)'))) / (select extract(epoch from '2026-07-28 17:41:54'::timestamp) - extract(epoch from '2026-07-28 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573344 -2.978941)'), GeomFromEWKT('SRID=4674;POINT (-39.573313 -2.979044)'))) / (select extract(epoch from '2026-07-28 17:41:54'::timestamp) - extract(epoch from '2026-07-28 17:41: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'), 48107, 'SRID=4674;POINT (-39.573278 -2.979169)', '2026-07-28 17:42:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573313 -2.979044)'), GeomFromEWKT('SRID=4674;POINT (-39.573278 -2.979169)'))) / (select extract(epoch from '2026-07-28 17:42:00'::timestamp) - extract(epoch from '2026-07-28 17:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573313 -2.979044)'), GeomFromEWKT('SRID=4674;POINT (-39.573278 -2.979169)'))) / (select extract(epoch from '2026-07-28 17:42:00'::timestamp) - extract(epoch from '2026-07-28 17:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573258 -2.979263)', '2026-07-28 17:42:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573278 -2.979169)'), GeomFromEWKT('SRID=4674;POINT (-39.573258 -2.979263)'))) / (select extract(epoch from '2026-07-28 17:42:05'::timestamp) - extract(epoch from '2026-07-28 17:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573278 -2.979169)'), GeomFromEWKT('SRID=4674;POINT (-39.573258 -2.979263)'))) / (select extract(epoch from '2026-07-28 17:42:05'::timestamp) - extract(epoch from '2026-07-28 17:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573227 -2.979328)', '2026-07-28 17:42:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573258 -2.979263)'), GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979328)'))) / (select extract(epoch from '2026-07-28 17:42:09'::timestamp) - extract(epoch from '2026-07-28 17:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573258 -2.979263)'), GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979328)'))) / (select extract(epoch from '2026-07-28 17:42:09'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.573227 -2.979347)', '2026-07-28 17:42:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979328)'), GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979347)'))) / (select extract(epoch from '2026-07-28 17:42:10'::timestamp) - extract(epoch from '2026-07-28 17:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979328)'), GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979347)'))) / (select extract(epoch from '2026-07-28 17:42:10'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.57319 -2.979473)', '2026-07-28 17:42:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979347)'), GeomFromEWKT('SRID=4674;POINT (-39.57319 -2.979473)'))) / (select extract(epoch from '2026-07-28 17:42:16'::timestamp) - extract(epoch from '2026-07-28 17:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573227 -2.979347)'), GeomFromEWKT('SRID=4674;POINT (-39.57319 -2.979473)'))) / (select extract(epoch from '2026-07-28 17:42:16'::timestamp) - extract(epoch from '2026-07-28 17:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573165 -2.979603)', '2026-07-28 17:42:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57319 -2.979473)'), GeomFromEWKT('SRID=4674;POINT (-39.573165 -2.979603)'))) / (select extract(epoch from '2026-07-28 17:42:22'::timestamp) - extract(epoch from '2026-07-28 17:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57319 -2.979473)'), GeomFromEWKT('SRID=4674;POINT (-39.573165 -2.979603)'))) / (select extract(epoch from '2026-07-28 17:42:22'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.573142 -2.979713)', '2026-07-28 17:42:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573165 -2.979603)'), GeomFromEWKT('SRID=4674;POINT (-39.573142 -2.979713)'))) / (select extract(epoch from '2026-07-28 17:42:27'::timestamp) - extract(epoch from '2026-07-28 17:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573165 -2.979603)'), GeomFromEWKT('SRID=4674;POINT (-39.573142 -2.979713)'))) / (select extract(epoch from '2026-07-28 17:42:27'::timestamp) - extract(epoch from '2026-07-28 17:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573114 -2.979837)', '2026-07-28 17:42:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573142 -2.979713)'), GeomFromEWKT('SRID=4674;POINT (-39.573114 -2.979837)'))) / (select extract(epoch from '2026-07-28 17:42:33'::timestamp) - extract(epoch from '2026-07-28 17:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573142 -2.979713)'), GeomFromEWKT('SRID=4674;POINT (-39.573114 -2.979837)'))) / (select extract(epoch from '2026-07-28 17:42:33'::timestamp) - extract(epoch from '2026-07-28 17:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.573086 -2.979959)', '2026-07-28 17:42:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573114 -2.979837)'), GeomFromEWKT('SRID=4674;POINT (-39.573086 -2.979959)'))) / (select extract(epoch from '2026-07-28 17:42:39'::timestamp) - extract(epoch from '2026-07-28 17:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573114 -2.979837)'), GeomFromEWKT('SRID=4674;POINT (-39.573086 -2.979959)'))) / (select extract(epoch from '2026-07-28 17:42:39'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.573053 -2.980079)', '2026-07-28 17:42:45', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573086 -2.979959)'), GeomFromEWKT('SRID=4674;POINT (-39.573053 -2.980079)'))) / (select extract(epoch from '2026-07-28 17:42:45'::timestamp) - extract(epoch from '2026-07-28 17:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573086 -2.979959)'), GeomFromEWKT('SRID=4674;POINT (-39.573053 -2.980079)'))) / (select extract(epoch from '2026-07-28 17:42:45'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.573027 -2.980186)', '2026-07-28 17:42:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573053 -2.980079)'), GeomFromEWKT('SRID=4674;POINT (-39.573027 -2.980186)'))) / (select extract(epoch from '2026-07-28 17:42:50'::timestamp) - extract(epoch from '2026-07-28 17:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573053 -2.980079)'), GeomFromEWKT('SRID=4674;POINT (-39.573027 -2.980186)'))) / (select extract(epoch from '2026-07-28 17:42:50'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.573002 -2.980238)', '2026-07-28 17:42:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573027 -2.980186)'), GeomFromEWKT('SRID=4674;POINT (-39.573002 -2.980238)'))) / (select extract(epoch from '2026-07-28 17:42:53'::timestamp) - extract(epoch from '2026-07-28 17:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573027 -2.980186)'), GeomFromEWKT('SRID=4674;POINT (-39.573002 -2.980238)'))) / (select extract(epoch from '2026-07-28 17:42:53'::timestamp) - extract(epoch from '2026-07-28 17:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57299 -2.980271)', '2026-07-28 17:42:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573002 -2.980238)'), GeomFromEWKT('SRID=4674;POINT (-39.57299 -2.980271)'))) / (select extract(epoch from '2026-07-28 17:42:55'::timestamp) - extract(epoch from '2026-07-28 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.573002 -2.980238)'), GeomFromEWKT('SRID=4674;POINT (-39.57299 -2.980271)'))) / (select extract(epoch from '2026-07-28 17:42:55'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.572941 -2.98038)', '2026-07-28 17:43:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57299 -2.980271)'), GeomFromEWKT('SRID=4674;POINT (-39.572941 -2.98038)'))) / (select extract(epoch from '2026-07-28 17:43:01'::timestamp) - extract(epoch from '2026-07-28 17:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57299 -2.980271)'), GeomFromEWKT('SRID=4674;POINT (-39.572941 -2.98038)'))) / (select extract(epoch from '2026-07-28 17:43:01'::timestamp) - extract(epoch from '2026-07-28 17:42: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'), 48107, 'SRID=4674;POINT (-39.5729 -2.980506)', '2026-07-28 17:43:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572941 -2.98038)'), GeomFromEWKT('SRID=4674;POINT (-39.5729 -2.980506)'))) / (select extract(epoch from '2026-07-28 17:43:07'::timestamp) - extract(epoch from '2026-07-28 17:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572941 -2.98038)'), GeomFromEWKT('SRID=4674;POINT (-39.5729 -2.980506)'))) / (select extract(epoch from '2026-07-28 17:43:07'::timestamp) - extract(epoch from '2026-07-28 17:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572882 -2.980597)', '2026-07-28 17:43:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5729 -2.980506)'), GeomFromEWKT('SRID=4674;POINT (-39.572882 -2.980597)'))) / (select extract(epoch from '2026-07-28 17:43:11'::timestamp) - extract(epoch from '2026-07-28 17:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5729 -2.980506)'), GeomFromEWKT('SRID=4674;POINT (-39.572882 -2.980597)'))) / (select extract(epoch from '2026-07-28 17:43:11'::timestamp) - extract(epoch from '2026-07-28 17:43: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'), 48107, 'SRID=4674;POINT (-39.572868 -2.980634)', '2026-07-28 17:43:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572882 -2.980597)'), GeomFromEWKT('SRID=4674;POINT (-39.572868 -2.980634)'))) / (select extract(epoch from '2026-07-28 17:43:13'::timestamp) - extract(epoch from '2026-07-28 17:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572882 -2.980597)'), GeomFromEWKT('SRID=4674;POINT (-39.572868 -2.980634)'))) / (select extract(epoch from '2026-07-28 17:43:13'::timestamp) - extract(epoch from '2026-07-28 17:43: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'), 48107, 'SRID=4674;POINT (-39.572845 -2.980691)', '2026-07-28 17:43:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572868 -2.980634)'), GeomFromEWKT('SRID=4674;POINT (-39.572845 -2.980691)'))) / (select extract(epoch from '2026-07-28 17:43:16'::timestamp) - extract(epoch from '2026-07-28 17:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572868 -2.980634)'), GeomFromEWKT('SRID=4674;POINT (-39.572845 -2.980691)'))) / (select extract(epoch from '2026-07-28 17:43:16'::timestamp) - extract(epoch from '2026-07-28 17:43: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'), 48107, 'SRID=4674;POINT (-39.572825 -2.980766)', '2026-07-28 17:43:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572845 -2.980691)'), GeomFromEWKT('SRID=4674;POINT (-39.572825 -2.980766)'))) / (select extract(epoch from '2026-07-28 17:43:20'::timestamp) - extract(epoch from '2026-07-28 17:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572845 -2.980691)'), GeomFromEWKT('SRID=4674;POINT (-39.572825 -2.980766)'))) / (select extract(epoch from '2026-07-28 17:43:20'::timestamp) - extract(epoch from '2026-07-28 17:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572814 -2.980781)', '2026-07-28 17:43:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572825 -2.980766)'), GeomFromEWKT('SRID=4674;POINT (-39.572814 -2.980781)'))) / (select extract(epoch from '2026-07-28 17:43:21'::timestamp) - extract(epoch from '2026-07-28 17:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572825 -2.980766)'), GeomFromEWKT('SRID=4674;POINT (-39.572814 -2.980781)'))) / (select extract(epoch from '2026-07-28 17:43:21'::timestamp) - extract(epoch from '2026-07-28 17:43: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'), 48107, 'SRID=4674;POINT (-39.572771 -2.980882)', '2026-07-28 17:43:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572814 -2.980781)'), GeomFromEWKT('SRID=4674;POINT (-39.572771 -2.980882)'))) / (select extract(epoch from '2026-07-28 17:43:27'::timestamp) - extract(epoch from '2026-07-28 17:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572814 -2.980781)'), GeomFromEWKT('SRID=4674;POINT (-39.572771 -2.980882)'))) / (select extract(epoch from '2026-07-28 17:43:27'::timestamp) - extract(epoch from '2026-07-28 17:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572735 -2.980998)', '2026-07-28 17:43:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572771 -2.980882)'), GeomFromEWKT('SRID=4674;POINT (-39.572735 -2.980998)'))) / (select extract(epoch from '2026-07-28 17:43:33'::timestamp) - extract(epoch from '2026-07-28 17:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572771 -2.980882)'), GeomFromEWKT('SRID=4674;POINT (-39.572735 -2.980998)'))) / (select extract(epoch from '2026-07-28 17:43:33'::timestamp) - extract(epoch from '2026-07-28 17:43: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'), 48107, 'SRID=4674;POINT (-39.572698 -2.981098)', '2026-07-28 17:43:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572735 -2.980998)'), GeomFromEWKT('SRID=4674;POINT (-39.572698 -2.981098)'))) / (select extract(epoch from '2026-07-28 17:43:38'::timestamp) - extract(epoch from '2026-07-28 17:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572735 -2.980998)'), GeomFromEWKT('SRID=4674;POINT (-39.572698 -2.981098)'))) / (select extract(epoch from '2026-07-28 17:43:38'::timestamp) - extract(epoch from '2026-07-28 17:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572672 -2.98122)', '2026-07-28 17:43:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572698 -2.981098)'), GeomFromEWKT('SRID=4674;POINT (-39.572672 -2.98122)'))) / (select extract(epoch from '2026-07-28 17:43:44'::timestamp) - extract(epoch from '2026-07-28 17:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572698 -2.981098)'), GeomFromEWKT('SRID=4674;POINT (-39.572672 -2.98122)'))) / (select extract(epoch from '2026-07-28 17:43:44'::timestamp) - extract(epoch from '2026-07-28 17:43: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'), 48107, 'SRID=4674;POINT (-39.572641 -2.981328)', '2026-07-28 17:43:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572672 -2.98122)'), GeomFromEWKT('SRID=4674;POINT (-39.572641 -2.981328)'))) / (select extract(epoch from '2026-07-28 17:43:49'::timestamp) - extract(epoch from '2026-07-28 17:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572672 -2.98122)'), GeomFromEWKT('SRID=4674;POINT (-39.572641 -2.981328)'))) / (select extract(epoch from '2026-07-28 17:43:49'::timestamp) - extract(epoch from '2026-07-28 17:43: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'), 48107, 'SRID=4674;POINT (-39.572614 -2.981441)', '2026-07-28 17:43:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572641 -2.981328)'), GeomFromEWKT('SRID=4674;POINT (-39.572614 -2.981441)'))) / (select extract(epoch from '2026-07-28 17:43:55'::timestamp) - extract(epoch from '2026-07-28 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572641 -2.981328)'), GeomFromEWKT('SRID=4674;POINT (-39.572614 -2.981441)'))) / (select extract(epoch from '2026-07-28 17:43:55'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.572584 -2.981518)', '2026-07-28 17:43:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572614 -2.981441)'), GeomFromEWKT('SRID=4674;POINT (-39.572584 -2.981518)'))) / (select extract(epoch from '2026-07-28 17:43:58'::timestamp) - extract(epoch from '2026-07-28 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572614 -2.981441)'), GeomFromEWKT('SRID=4674;POINT (-39.572584 -2.981518)'))) / (select extract(epoch from '2026-07-28 17:43:58'::timestamp) - extract(epoch from '2026-07-28 17:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57256 -2.981625)', '2026-07-28 17:44:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572584 -2.981518)'), GeomFromEWKT('SRID=4674;POINT (-39.57256 -2.981625)'))) / (select extract(epoch from '2026-07-28 17:44:03'::timestamp) - extract(epoch from '2026-07-28 17:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572584 -2.981518)'), GeomFromEWKT('SRID=4674;POINT (-39.57256 -2.981625)'))) / (select extract(epoch from '2026-07-28 17:44:03'::timestamp) - extract(epoch from '2026-07-28 17:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572542 -2.98176)', '2026-07-28 17:44:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57256 -2.981625)'), GeomFromEWKT('SRID=4674;POINT (-39.572542 -2.98176)'))) / (select extract(epoch from '2026-07-28 17:44:09'::timestamp) - extract(epoch from '2026-07-28 17:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57256 -2.981625)'), GeomFromEWKT('SRID=4674;POINT (-39.572542 -2.98176)'))) / (select extract(epoch from '2026-07-28 17:44:09'::timestamp) - extract(epoch from '2026-07-28 17:44: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'), 48107, 'SRID=4674;POINT (-39.572523 -2.981859)', '2026-07-28 17:44:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572542 -2.98176)'), GeomFromEWKT('SRID=4674;POINT (-39.572523 -2.981859)'))) / (select extract(epoch from '2026-07-28 17:44:14'::timestamp) - extract(epoch from '2026-07-28 17:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572542 -2.98176)'), GeomFromEWKT('SRID=4674;POINT (-39.572523 -2.981859)'))) / (select extract(epoch from '2026-07-28 17:44:14'::timestamp) - extract(epoch from '2026-07-28 17:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572503 -2.981988)', '2026-07-28 17:44:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572523 -2.981859)'), GeomFromEWKT('SRID=4674;POINT (-39.572503 -2.981988)'))) / (select extract(epoch from '2026-07-28 17:44:20'::timestamp) - extract(epoch from '2026-07-28 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572523 -2.981859)'), GeomFromEWKT('SRID=4674;POINT (-39.572503 -2.981988)'))) / (select extract(epoch from '2026-07-28 17:44:20'::timestamp) - extract(epoch from '2026-07-28 17:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572466 -2.982137)', '2026-07-28 17:44:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572503 -2.981988)'), GeomFromEWKT('SRID=4674;POINT (-39.572466 -2.982137)'))) / (select extract(epoch from '2026-07-28 17:44:27'::timestamp) - extract(epoch from '2026-07-28 17:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572503 -2.981988)'), GeomFromEWKT('SRID=4674;POINT (-39.572466 -2.982137)'))) / (select extract(epoch from '2026-07-28 17:44:27'::timestamp) - extract(epoch from '2026-07-28 17:44: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'), 48107, 'SRID=4674;POINT (-39.572435 -2.982267)', '2026-07-28 17:44:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572466 -2.982137)'), GeomFromEWKT('SRID=4674;POINT (-39.572435 -2.982267)'))) / (select extract(epoch from '2026-07-28 17:44:33'::timestamp) - extract(epoch from '2026-07-28 17:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572466 -2.982137)'), GeomFromEWKT('SRID=4674;POINT (-39.572435 -2.982267)'))) / (select extract(epoch from '2026-07-28 17:44:33'::timestamp) - extract(epoch from '2026-07-28 17:44: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'), 48107, 'SRID=4674;POINT (-39.572392 -2.982414)', '2026-07-28 17:44:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572435 -2.982267)'), GeomFromEWKT('SRID=4674;POINT (-39.572392 -2.982414)'))) / (select extract(epoch from '2026-07-28 17:44:40'::timestamp) - extract(epoch from '2026-07-28 17:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572435 -2.982267)'), GeomFromEWKT('SRID=4674;POINT (-39.572392 -2.982414)'))) / (select extract(epoch from '2026-07-28 17:44:40'::timestamp) - extract(epoch from '2026-07-28 17:44: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'), 48107, 'SRID=4674;POINT (-39.572372 -2.982517)', '2026-07-28 17:44:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572392 -2.982414)'), GeomFromEWKT('SRID=4674;POINT (-39.572372 -2.982517)'))) / (select extract(epoch from '2026-07-28 17:44:45'::timestamp) - extract(epoch from '2026-07-28 17:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572392 -2.982414)'), GeomFromEWKT('SRID=4674;POINT (-39.572372 -2.982517)'))) / (select extract(epoch from '2026-07-28 17:44:45'::timestamp) - extract(epoch from '2026-07-28 17:44:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572347 -2.982621)', '2026-07-28 17:44:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572372 -2.982517)'), GeomFromEWKT('SRID=4674;POINT (-39.572347 -2.982621)'))) / (select extract(epoch from '2026-07-28 17:44:50'::timestamp) - extract(epoch from '2026-07-28 17:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572372 -2.982517)'), GeomFromEWKT('SRID=4674;POINT (-39.572347 -2.982621)'))) / (select extract(epoch from '2026-07-28 17:44:50'::timestamp) - extract(epoch from '2026-07-28 17:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572337 -2.982664)', '2026-07-28 17:44:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572347 -2.982621)'), GeomFromEWKT('SRID=4674;POINT (-39.572337 -2.982664)'))) / (select extract(epoch from '2026-07-28 17:44:52'::timestamp) - extract(epoch from '2026-07-28 17:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572347 -2.982621)'), GeomFromEWKT('SRID=4674;POINT (-39.572337 -2.982664)'))) / (select extract(epoch from '2026-07-28 17:44:52'::timestamp) - extract(epoch from '2026-07-28 17:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57233 -2.9827)', '2026-07-28 17:44:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572337 -2.982664)'), GeomFromEWKT('SRID=4674;POINT (-39.57233 -2.9827)'))) / (select extract(epoch from '2026-07-28 17:44:54'::timestamp) - extract(epoch from '2026-07-28 17:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572337 -2.982664)'), GeomFromEWKT('SRID=4674;POINT (-39.57233 -2.9827)'))) / (select extract(epoch from '2026-07-28 17:44:54'::timestamp) - extract(epoch from '2026-07-28 17:44: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'), 48107, 'SRID=4674;POINT (-39.572305 -2.982795)', '2026-07-28 17:44:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57233 -2.9827)'), GeomFromEWKT('SRID=4674;POINT (-39.572305 -2.982795)'))) / (select extract(epoch from '2026-07-28 17:44:59'::timestamp) - extract(epoch from '2026-07-28 17:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57233 -2.9827)'), GeomFromEWKT('SRID=4674;POINT (-39.572305 -2.982795)'))) / (select extract(epoch from '2026-07-28 17:44:59'::timestamp) - extract(epoch from '2026-07-28 17:44: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'), 48107, 'SRID=4674;POINT (-39.572274 -2.982906)', '2026-07-28 17:45:04', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572305 -2.982795)'), GeomFromEWKT('SRID=4674;POINT (-39.572274 -2.982906)'))) / (select extract(epoch from '2026-07-28 17:45:04'::timestamp) - extract(epoch from '2026-07-28 17:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572305 -2.982795)'), GeomFromEWKT('SRID=4674;POINT (-39.572274 -2.982906)'))) / (select extract(epoch from '2026-07-28 17:45:04'::timestamp) - extract(epoch from '2026-07-28 17:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572238 -2.983012)', '2026-07-28 17:45:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572274 -2.982906)'), GeomFromEWKT('SRID=4674;POINT (-39.572238 -2.983012)'))) / (select extract(epoch from '2026-07-28 17:45:09'::timestamp) - extract(epoch from '2026-07-28 17:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572274 -2.982906)'), GeomFromEWKT('SRID=4674;POINT (-39.572238 -2.983012)'))) / (select extract(epoch from '2026-07-28 17:45:09'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.572207 -2.983148)', '2026-07-28 17:45:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572238 -2.983012)'), GeomFromEWKT('SRID=4674;POINT (-39.572207 -2.983148)'))) / (select extract(epoch from '2026-07-28 17:45:15'::timestamp) - extract(epoch from '2026-07-28 17:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572238 -2.983012)'), GeomFromEWKT('SRID=4674;POINT (-39.572207 -2.983148)'))) / (select extract(epoch from '2026-07-28 17:45:15'::timestamp) - extract(epoch from '2026-07-28 17:45: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'), 48107, 'SRID=4674;POINT (-39.57217 -2.983281)', '2026-07-28 17:45:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572207 -2.983148)'), GeomFromEWKT('SRID=4674;POINT (-39.57217 -2.983281)'))) / (select extract(epoch from '2026-07-28 17:45:21'::timestamp) - extract(epoch from '2026-07-28 17:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572207 -2.983148)'), GeomFromEWKT('SRID=4674;POINT (-39.57217 -2.983281)'))) / (select extract(epoch from '2026-07-28 17:45:21'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.57214 -2.983415)', '2026-07-28 17:45:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57217 -2.983281)'), GeomFromEWKT('SRID=4674;POINT (-39.57214 -2.983415)'))) / (select extract(epoch from '2026-07-28 17:45:27'::timestamp) - extract(epoch from '2026-07-28 17:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57217 -2.983281)'), GeomFromEWKT('SRID=4674;POINT (-39.57214 -2.983415)'))) / (select extract(epoch from '2026-07-28 17:45:27'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.57211 -2.983549)', '2026-07-28 17:45:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57214 -2.983415)'), GeomFromEWKT('SRID=4674;POINT (-39.57211 -2.983549)'))) / (select extract(epoch from '2026-07-28 17:45:33'::timestamp) - extract(epoch from '2026-07-28 17:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57214 -2.983415)'), GeomFromEWKT('SRID=4674;POINT (-39.57211 -2.983549)'))) / (select extract(epoch from '2026-07-28 17:45:33'::timestamp) - extract(epoch from '2026-07-28 17:45: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'), 48107, 'SRID=4674;POINT (-39.572092 -2.983678)', '2026-07-28 17:45:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57211 -2.983549)'), GeomFromEWKT('SRID=4674;POINT (-39.572092 -2.983678)'))) / (select extract(epoch from '2026-07-28 17:45:39'::timestamp) - extract(epoch from '2026-07-28 17:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57211 -2.983549)'), GeomFromEWKT('SRID=4674;POINT (-39.572092 -2.983678)'))) / (select extract(epoch from '2026-07-28 17:45:39'::timestamp) - extract(epoch from '2026-07-28 17:45: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'), 48107, 'SRID=4674;POINT (-39.572054 -2.983815)', '2026-07-28 17:45:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572092 -2.983678)'), GeomFromEWKT('SRID=4674;POINT (-39.572054 -2.983815)'))) / (select extract(epoch from '2026-07-28 17:45:46'::timestamp) - extract(epoch from '2026-07-28 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572092 -2.983678)'), GeomFromEWKT('SRID=4674;POINT (-39.572054 -2.983815)'))) / (select extract(epoch from '2026-07-28 17:45:46'::timestamp) - extract(epoch from '2026-07-28 17:45: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'), 48107, 'SRID=4674;POINT (-39.572042 -2.983847)', '2026-07-28 17:45:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572054 -2.983815)'), GeomFromEWKT('SRID=4674;POINT (-39.572042 -2.983847)'))) / (select extract(epoch from '2026-07-28 17:45:48'::timestamp) - extract(epoch from '2026-07-28 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572054 -2.983815)'), GeomFromEWKT('SRID=4674;POINT (-39.572042 -2.983847)'))) / (select extract(epoch from '2026-07-28 17:45:48'::timestamp) - extract(epoch from '2026-07-28 17:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.572034 -2.983889)', '2026-07-28 17:45:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572042 -2.983847)'), GeomFromEWKT('SRID=4674;POINT (-39.572034 -2.983889)'))) / (select extract(epoch from '2026-07-28 17:45:50'::timestamp) - extract(epoch from '2026-07-28 17:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572042 -2.983847)'), GeomFromEWKT('SRID=4674;POINT (-39.572034 -2.983889)'))) / (select extract(epoch from '2026-07-28 17:45:50'::timestamp) - extract(epoch from '2026-07-28 17:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571993 -2.984015)', '2026-07-28 17:45:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572034 -2.983889)'), GeomFromEWKT('SRID=4674;POINT (-39.571993 -2.984015)'))) / (select extract(epoch from '2026-07-28 17:45:56'::timestamp) - extract(epoch from '2026-07-28 17:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.572034 -2.983889)'), GeomFromEWKT('SRID=4674;POINT (-39.571993 -2.984015)'))) / (select extract(epoch from '2026-07-28 17:45:56'::timestamp) - extract(epoch from '2026-07-28 17:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571971 -2.98405)', '2026-07-28 17:45:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571993 -2.984015)'), GeomFromEWKT('SRID=4674;POINT (-39.571971 -2.98405)'))) / (select extract(epoch from '2026-07-28 17:45:58'::timestamp) - extract(epoch from '2026-07-28 17:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571993 -2.984015)'), GeomFromEWKT('SRID=4674;POINT (-39.571971 -2.98405)'))) / (select extract(epoch from '2026-07-28 17:45:58'::timestamp) - extract(epoch from '2026-07-28 17:45: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'), 48107, 'SRID=4674;POINT (-39.571953 -2.984111)', '2026-07-28 17:46:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571971 -2.98405)'), GeomFromEWKT('SRID=4674;POINT (-39.571953 -2.984111)'))) / (select extract(epoch from '2026-07-28 17:46:01'::timestamp) - extract(epoch from '2026-07-28 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571971 -2.98405)'), GeomFromEWKT('SRID=4674;POINT (-39.571953 -2.984111)'))) / (select extract(epoch from '2026-07-28 17:46:01'::timestamp) - extract(epoch from '2026-07-28 17:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571901 -2.984245)', '2026-07-28 17:46:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571953 -2.984111)'), GeomFromEWKT('SRID=4674;POINT (-39.571901 -2.984245)'))) / (select extract(epoch from '2026-07-28 17:46:08'::timestamp) - extract(epoch from '2026-07-28 17:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571953 -2.984111)'), GeomFromEWKT('SRID=4674;POINT (-39.571901 -2.984245)'))) / (select extract(epoch from '2026-07-28 17:46:08'::timestamp) - extract(epoch from '2026-07-28 17:46: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'), 48107, 'SRID=4674;POINT (-39.571889 -2.98435)', '2026-07-28 17:46:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571901 -2.984245)'), GeomFromEWKT('SRID=4674;POINT (-39.571889 -2.98435)'))) / (select extract(epoch from '2026-07-28 17:46:13'::timestamp) - extract(epoch from '2026-07-28 17:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571901 -2.984245)'), GeomFromEWKT('SRID=4674;POINT (-39.571889 -2.98435)'))) / (select extract(epoch from '2026-07-28 17:46:13'::timestamp) - extract(epoch from '2026-07-28 17:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571883 -2.984473)', '2026-07-28 17:46:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571889 -2.98435)'), GeomFromEWKT('SRID=4674;POINT (-39.571883 -2.984473)'))) / (select extract(epoch from '2026-07-28 17:46:19'::timestamp) - extract(epoch from '2026-07-28 17:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571889 -2.98435)'), GeomFromEWKT('SRID=4674;POINT (-39.571883 -2.984473)'))) / (select extract(epoch from '2026-07-28 17:46:19'::timestamp) - extract(epoch from '2026-07-28 17:46: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'), 48107, 'SRID=4674;POINT (-39.571875 -2.984597)', '2026-07-28 17:46:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571883 -2.984473)'), GeomFromEWKT('SRID=4674;POINT (-39.571875 -2.984597)'))) / (select extract(epoch from '2026-07-28 17:46:25'::timestamp) - extract(epoch from '2026-07-28 17:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571883 -2.984473)'), GeomFromEWKT('SRID=4674;POINT (-39.571875 -2.984597)'))) / (select extract(epoch from '2026-07-28 17:46:25'::timestamp) - extract(epoch from '2026-07-28 17:46: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'), 48107, 'SRID=4674;POINT (-39.571844 -2.9847)', '2026-07-28 17:46:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571875 -2.984597)'), GeomFromEWKT('SRID=4674;POINT (-39.571844 -2.9847)'))) / (select extract(epoch from '2026-07-28 17:46:30'::timestamp) - extract(epoch from '2026-07-28 17:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571875 -2.984597)'), GeomFromEWKT('SRID=4674;POINT (-39.571844 -2.9847)'))) / (select extract(epoch from '2026-07-28 17:46:30'::timestamp) - extract(epoch from '2026-07-28 17:46: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'), 48107, 'SRID=4674;POINT (-39.571809 -2.984812)', '2026-07-28 17:46:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571844 -2.9847)'), GeomFromEWKT('SRID=4674;POINT (-39.571809 -2.984812)'))) / (select extract(epoch from '2026-07-28 17:46:36'::timestamp) - extract(epoch from '2026-07-28 17:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571844 -2.9847)'), GeomFromEWKT('SRID=4674;POINT (-39.571809 -2.984812)'))) / (select extract(epoch from '2026-07-28 17:46:36'::timestamp) - extract(epoch from '2026-07-28 17:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571796 -2.984927)', '2026-07-28 17:46:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571809 -2.984812)'), GeomFromEWKT('SRID=4674;POINT (-39.571796 -2.984927)'))) / (select extract(epoch from '2026-07-28 17:46:41'::timestamp) - extract(epoch from '2026-07-28 17:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571809 -2.984812)'), GeomFromEWKT('SRID=4674;POINT (-39.571796 -2.984927)'))) / (select extract(epoch from '2026-07-28 17:46:41'::timestamp) - extract(epoch from '2026-07-28 17:46: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'), 48107, 'SRID=4674;POINT (-39.571784 -2.985006)', '2026-07-28 17:46:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571796 -2.984927)'), GeomFromEWKT('SRID=4674;POINT (-39.571784 -2.985006)'))) / (select extract(epoch from '2026-07-28 17:46:45'::timestamp) - extract(epoch from '2026-07-28 17:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571796 -2.984927)'), GeomFromEWKT('SRID=4674;POINT (-39.571784 -2.985006)'))) / (select extract(epoch from '2026-07-28 17:46:45'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.571753 -2.985141)', '2026-07-28 17:46:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571784 -2.985006)'), GeomFromEWKT('SRID=4674;POINT (-39.571753 -2.985141)'))) / (select extract(epoch from '2026-07-28 17:46:51'::timestamp) - extract(epoch from '2026-07-28 17:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571784 -2.985006)'), GeomFromEWKT('SRID=4674;POINT (-39.571753 -2.985141)'))) / (select extract(epoch from '2026-07-28 17:46:51'::timestamp) - extract(epoch from '2026-07-28 17:46: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'), 48107, 'SRID=4674;POINT (-39.571721 -2.985245)', '2026-07-28 17:46:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571753 -2.985141)'), GeomFromEWKT('SRID=4674;POINT (-39.571721 -2.985245)'))) / (select extract(epoch from '2026-07-28 17:46:56'::timestamp) - extract(epoch from '2026-07-28 17:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571753 -2.985141)'), GeomFromEWKT('SRID=4674;POINT (-39.571721 -2.985245)'))) / (select extract(epoch from '2026-07-28 17:46:56'::timestamp) - extract(epoch from '2026-07-28 17:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571697 -2.985378)', '2026-07-28 17:47:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571721 -2.985245)'), GeomFromEWKT('SRID=4674;POINT (-39.571697 -2.985378)'))) / (select extract(epoch from '2026-07-28 17:47:02'::timestamp) - extract(epoch from '2026-07-28 17:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571721 -2.985245)'), GeomFromEWKT('SRID=4674;POINT (-39.571697 -2.985378)'))) / (select extract(epoch from '2026-07-28 17:47:02'::timestamp) - extract(epoch from '2026-07-28 17:46:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571688 -2.985425)', '2026-07-28 17:47:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571697 -2.985378)'), GeomFromEWKT('SRID=4674;POINT (-39.571688 -2.985425)'))) / (select extract(epoch from '2026-07-28 17:47:04'::timestamp) - extract(epoch from '2026-07-28 17:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571697 -2.985378)'), GeomFromEWKT('SRID=4674;POINT (-39.571688 -2.985425)'))) / (select extract(epoch from '2026-07-28 17:47:04'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571684 -2.985493)', '2026-07-28 17:47:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571688 -2.985425)'), GeomFromEWKT('SRID=4674;POINT (-39.571684 -2.985493)'))) / (select extract(epoch from '2026-07-28 17:47:07'::timestamp) - extract(epoch from '2026-07-28 17:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571688 -2.985425)'), GeomFromEWKT('SRID=4674;POINT (-39.571684 -2.985493)'))) / (select extract(epoch from '2026-07-28 17:47:07'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571654 -2.985649)', '2026-07-28 17:47:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571684 -2.985493)'), GeomFromEWKT('SRID=4674;POINT (-39.571654 -2.985649)'))) / (select extract(epoch from '2026-07-28 17:47:14'::timestamp) - extract(epoch from '2026-07-28 17:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571684 -2.985493)'), GeomFromEWKT('SRID=4674;POINT (-39.571654 -2.985649)'))) / (select extract(epoch from '2026-07-28 17:47:14'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571618 -2.985792)', '2026-07-28 17:47:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571654 -2.985649)'), GeomFromEWKT('SRID=4674;POINT (-39.571618 -2.985792)'))) / (select extract(epoch from '2026-07-28 17:47:21'::timestamp) - extract(epoch from '2026-07-28 17:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571654 -2.985649)'), GeomFromEWKT('SRID=4674;POINT (-39.571618 -2.985792)'))) / (select extract(epoch from '2026-07-28 17:47:21'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571584 -2.985927)', '2026-07-28 17:47:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571618 -2.985792)'), GeomFromEWKT('SRID=4674;POINT (-39.571584 -2.985927)'))) / (select extract(epoch from '2026-07-28 17:47:28'::timestamp) - extract(epoch from '2026-07-28 17:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571618 -2.985792)'), GeomFromEWKT('SRID=4674;POINT (-39.571584 -2.985927)'))) / (select extract(epoch from '2026-07-28 17:47:28'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571546 -2.986045)', '2026-07-28 17:47:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571584 -2.985927)'), GeomFromEWKT('SRID=4674;POINT (-39.571546 -2.986045)'))) / (select extract(epoch from '2026-07-28 17:47:34'::timestamp) - extract(epoch from '2026-07-28 17:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571584 -2.985927)'), GeomFromEWKT('SRID=4674;POINT (-39.571546 -2.986045)'))) / (select extract(epoch from '2026-07-28 17:47:34'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571512 -2.986158)', '2026-07-28 17:47:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571546 -2.986045)'), GeomFromEWKT('SRID=4674;POINT (-39.571512 -2.986158)'))) / (select extract(epoch from '2026-07-28 17:47:40'::timestamp) - extract(epoch from '2026-07-28 17:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571546 -2.986045)'), GeomFromEWKT('SRID=4674;POINT (-39.571512 -2.986158)'))) / (select extract(epoch from '2026-07-28 17:47:40'::timestamp) - extract(epoch from '2026-07-28 17:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571482 -2.986281)', '2026-07-28 17:47:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571512 -2.986158)'), GeomFromEWKT('SRID=4674;POINT (-39.571482 -2.986281)'))) / (select extract(epoch from '2026-07-28 17:47:46'::timestamp) - extract(epoch from '2026-07-28 17:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571512 -2.986158)'), GeomFromEWKT('SRID=4674;POINT (-39.571482 -2.986281)'))) / (select extract(epoch from '2026-07-28 17:47:46'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.571449 -2.986385)', '2026-07-28 17:47:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571482 -2.986281)'), GeomFromEWKT('SRID=4674;POINT (-39.571449 -2.986385)'))) / (select extract(epoch from '2026-07-28 17:47:51'::timestamp) - extract(epoch from '2026-07-28 17:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571482 -2.986281)'), GeomFromEWKT('SRID=4674;POINT (-39.571449 -2.986385)'))) / (select extract(epoch from '2026-07-28 17:47:51'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571433 -2.986469)', '2026-07-28 17:47:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571449 -2.986385)'), GeomFromEWKT('SRID=4674;POINT (-39.571433 -2.986469)'))) / (select extract(epoch from '2026-07-28 17:47:55'::timestamp) - extract(epoch from '2026-07-28 17:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571449 -2.986385)'), GeomFromEWKT('SRID=4674;POINT (-39.571433 -2.986469)'))) / (select extract(epoch from '2026-07-28 17:47:55'::timestamp) - extract(epoch from '2026-07-28 17:47: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'), 48107, 'SRID=4674;POINT (-39.571432 -2.98649)', '2026-07-28 17:47:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571433 -2.986469)'), GeomFromEWKT('SRID=4674;POINT (-39.571432 -2.98649)'))) / (select extract(epoch from '2026-07-28 17:47:56'::timestamp) - extract(epoch from '2026-07-28 17:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571433 -2.986469)'), GeomFromEWKT('SRID=4674;POINT (-39.571432 -2.98649)'))) / (select extract(epoch from '2026-07-28 17:47:56'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.571401 -2.986595)', '2026-07-28 17:48:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571432 -2.98649)'), GeomFromEWKT('SRID=4674;POINT (-39.571401 -2.986595)'))) / (select extract(epoch from '2026-07-28 17:48:01'::timestamp) - extract(epoch from '2026-07-28 17:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571432 -2.98649)'), GeomFromEWKT('SRID=4674;POINT (-39.571401 -2.986595)'))) / (select extract(epoch from '2026-07-28 17:48:01'::timestamp) - extract(epoch from '2026-07-28 17:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571389 -2.98672)', '2026-07-28 17:48:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571401 -2.986595)'), GeomFromEWKT('SRID=4674;POINT (-39.571389 -2.98672)'))) / (select extract(epoch from '2026-07-28 17:48:07'::timestamp) - extract(epoch from '2026-07-28 17:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571401 -2.986595)'), GeomFromEWKT('SRID=4674;POINT (-39.571389 -2.98672)'))) / (select extract(epoch from '2026-07-28 17:48:07'::timestamp) - extract(epoch from '2026-07-28 17:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571379 -2.986805)', '2026-07-28 17:48:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571389 -2.98672)'), GeomFromEWKT('SRID=4674;POINT (-39.571379 -2.986805)'))) / (select extract(epoch from '2026-07-28 17:48:11'::timestamp) - extract(epoch from '2026-07-28 17:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571389 -2.98672)'), GeomFromEWKT('SRID=4674;POINT (-39.571379 -2.986805)'))) / (select extract(epoch from '2026-07-28 17:48:11'::timestamp) - extract(epoch from '2026-07-28 17:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571368 -2.986823)', '2026-07-28 17:48:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571379 -2.986805)'), GeomFromEWKT('SRID=4674;POINT (-39.571368 -2.986823)'))) / (select extract(epoch from '2026-07-28 17:48:12'::timestamp) - extract(epoch from '2026-07-28 17:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571379 -2.986805)'), GeomFromEWKT('SRID=4674;POINT (-39.571368 -2.986823)'))) / (select extract(epoch from '2026-07-28 17:48:12'::timestamp) - extract(epoch from '2026-07-28 17:48: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'), 48107, 'SRID=4674;POINT (-39.571335 -2.986925)', '2026-07-28 17:48:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571368 -2.986823)'), GeomFromEWKT('SRID=4674;POINT (-39.571335 -2.986925)'))) / (select extract(epoch from '2026-07-28 17:48:17'::timestamp) - extract(epoch from '2026-07-28 17:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571368 -2.986823)'), GeomFromEWKT('SRID=4674;POINT (-39.571335 -2.986925)'))) / (select extract(epoch from '2026-07-28 17:48:17'::timestamp) - extract(epoch from '2026-07-28 17:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57131 -2.987064)', '2026-07-28 17:48:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571335 -2.986925)'), GeomFromEWKT('SRID=4674;POINT (-39.57131 -2.987064)'))) / (select extract(epoch from '2026-07-28 17:48:23'::timestamp) - extract(epoch from '2026-07-28 17:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571335 -2.986925)'), GeomFromEWKT('SRID=4674;POINT (-39.57131 -2.987064)'))) / (select extract(epoch from '2026-07-28 17:48:23'::timestamp) - extract(epoch from '2026-07-28 17:48: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'), 48107, 'SRID=4674;POINT (-39.571285 -2.987179)', '2026-07-28 17:48:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57131 -2.987064)'), GeomFromEWKT('SRID=4674;POINT (-39.571285 -2.987179)'))) / (select extract(epoch from '2026-07-28 17:48:28'::timestamp) - extract(epoch from '2026-07-28 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57131 -2.987064)'), GeomFromEWKT('SRID=4674;POINT (-39.571285 -2.987179)'))) / (select extract(epoch from '2026-07-28 17:48:28'::timestamp) - extract(epoch from '2026-07-28 17:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571278 -2.987292)', '2026-07-28 17:48:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571285 -2.987179)'), GeomFromEWKT('SRID=4674;POINT (-39.571278 -2.987292)'))) / (select extract(epoch from '2026-07-28 17:48:33'::timestamp) - extract(epoch from '2026-07-28 17:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571285 -2.987179)'), GeomFromEWKT('SRID=4674;POINT (-39.571278 -2.987292)'))) / (select extract(epoch from '2026-07-28 17:48:33'::timestamp) - extract(epoch from '2026-07-28 17:48: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'), 48107, 'SRID=4674;POINT (-39.571254 -2.987419)', '2026-07-28 17:48:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571278 -2.987292)'), GeomFromEWKT('SRID=4674;POINT (-39.571254 -2.987419)'))) / (select extract(epoch from '2026-07-28 17:48:39'::timestamp) - extract(epoch from '2026-07-28 17:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571278 -2.987292)'), GeomFromEWKT('SRID=4674;POINT (-39.571254 -2.987419)'))) / (select extract(epoch from '2026-07-28 17:48:39'::timestamp) - extract(epoch from '2026-07-28 17:48: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'), 48107, 'SRID=4674;POINT (-39.571221 -2.987523)', '2026-07-28 17:48:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571254 -2.987419)'), GeomFromEWKT('SRID=4674;POINT (-39.571221 -2.987523)'))) / (select extract(epoch from '2026-07-28 17:48:44'::timestamp) - extract(epoch from '2026-07-28 17:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571254 -2.987419)'), GeomFromEWKT('SRID=4674;POINT (-39.571221 -2.987523)'))) / (select extract(epoch from '2026-07-28 17:48:44'::timestamp) - extract(epoch from '2026-07-28 17:48: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'), 48107, 'SRID=4674;POINT (-39.571189 -2.987644)', '2026-07-28 17:48:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571221 -2.987523)'), GeomFromEWKT('SRID=4674;POINT (-39.571189 -2.987644)'))) / (select extract(epoch from '2026-07-28 17:48:50'::timestamp) - extract(epoch from '2026-07-28 17:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571221 -2.987523)'), GeomFromEWKT('SRID=4674;POINT (-39.571189 -2.987644)'))) / (select extract(epoch from '2026-07-28 17:48:50'::timestamp) - extract(epoch from '2026-07-28 17:48: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'), 48107, 'SRID=4674;POINT (-39.571153 -2.987733)', '2026-07-28 17:48:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571189 -2.987644)'), GeomFromEWKT('SRID=4674;POINT (-39.571153 -2.987733)'))) / (select extract(epoch from '2026-07-28 17:48:55'::timestamp) - extract(epoch from '2026-07-28 17:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571189 -2.987644)'), GeomFromEWKT('SRID=4674;POINT (-39.571153 -2.987733)'))) / (select extract(epoch from '2026-07-28 17:48:55'::timestamp) - extract(epoch from '2026-07-28 17:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571129 -2.987831)', '2026-07-28 17:49:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571153 -2.987733)'), GeomFromEWKT('SRID=4674;POINT (-39.571129 -2.987831)'))) / (select extract(epoch from '2026-07-28 17:49:00'::timestamp) - extract(epoch from '2026-07-28 17:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571153 -2.987733)'), GeomFromEWKT('SRID=4674;POINT (-39.571129 -2.987831)'))) / (select extract(epoch from '2026-07-28 17:49:00'::timestamp) - extract(epoch from '2026-07-28 17:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571108 -2.987939)', '2026-07-28 17:49:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571129 -2.987831)'), GeomFromEWKT('SRID=4674;POINT (-39.571108 -2.987939)'))) / (select extract(epoch from '2026-07-28 17:49:05'::timestamp) - extract(epoch from '2026-07-28 17:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571129 -2.987831)'), GeomFromEWKT('SRID=4674;POINT (-39.571108 -2.987939)'))) / (select extract(epoch from '2026-07-28 17:49:05'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.571082 -2.988073)', '2026-07-28 17:49:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571108 -2.987939)'), GeomFromEWKT('SRID=4674;POINT (-39.571082 -2.988073)'))) / (select extract(epoch from '2026-07-28 17:49:11'::timestamp) - extract(epoch from '2026-07-28 17:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571108 -2.987939)'), GeomFromEWKT('SRID=4674;POINT (-39.571082 -2.988073)'))) / (select extract(epoch from '2026-07-28 17:49:11'::timestamp) - extract(epoch from '2026-07-28 17:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571063 -2.988152)', '2026-07-28 17:49:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571082 -2.988073)'), GeomFromEWKT('SRID=4674;POINT (-39.571063 -2.988152)'))) / (select extract(epoch from '2026-07-28 17:49:15'::timestamp) - extract(epoch from '2026-07-28 17:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571082 -2.988073)'), GeomFromEWKT('SRID=4674;POINT (-39.571063 -2.988152)'))) / (select extract(epoch from '2026-07-28 17:49:15'::timestamp) - extract(epoch from '2026-07-28 17:49: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'), 48107, 'SRID=4674;POINT (-39.571058 -2.988172)', '2026-07-28 17:49:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571063 -2.988152)'), GeomFromEWKT('SRID=4674;POINT (-39.571058 -2.988172)'))) / (select extract(epoch from '2026-07-28 17:49:16'::timestamp) - extract(epoch from '2026-07-28 17:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571063 -2.988152)'), GeomFromEWKT('SRID=4674;POINT (-39.571058 -2.988172)'))) / (select extract(epoch from '2026-07-28 17:49:16'::timestamp) - extract(epoch from '2026-07-28 17:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.571039 -2.988296)', '2026-07-28 17:49:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571058 -2.988172)'), GeomFromEWKT('SRID=4674;POINT (-39.571039 -2.988296)'))) / (select extract(epoch from '2026-07-28 17:49:22'::timestamp) - extract(epoch from '2026-07-28 17:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571058 -2.988172)'), GeomFromEWKT('SRID=4674;POINT (-39.571039 -2.988296)'))) / (select extract(epoch from '2026-07-28 17:49:22'::timestamp) - extract(epoch from '2026-07-28 17:49: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'), 48107, 'SRID=4674;POINT (-39.571007 -2.988429)', '2026-07-28 17:49:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571039 -2.988296)'), GeomFromEWKT('SRID=4674;POINT (-39.571007 -2.988429)'))) / (select extract(epoch from '2026-07-28 17:49:28'::timestamp) - extract(epoch from '2026-07-28 17:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571039 -2.988296)'), GeomFromEWKT('SRID=4674;POINT (-39.571007 -2.988429)'))) / (select extract(epoch from '2026-07-28 17:49:28'::timestamp) - extract(epoch from '2026-07-28 17:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570986 -2.98853)', '2026-07-28 17:49:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571007 -2.988429)'), GeomFromEWKT('SRID=4674;POINT (-39.570986 -2.98853)'))) / (select extract(epoch from '2026-07-28 17:49:33'::timestamp) - extract(epoch from '2026-07-28 17:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.571007 -2.988429)'), GeomFromEWKT('SRID=4674;POINT (-39.570986 -2.98853)'))) / (select extract(epoch from '2026-07-28 17:49:33'::timestamp) - extract(epoch from '2026-07-28 17:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570954 -2.988653)', '2026-07-28 17:49:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570986 -2.98853)'), GeomFromEWKT('SRID=4674;POINT (-39.570954 -2.988653)'))) / (select extract(epoch from '2026-07-28 17:49:39'::timestamp) - extract(epoch from '2026-07-28 17:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570986 -2.98853)'), GeomFromEWKT('SRID=4674;POINT (-39.570954 -2.988653)'))) / (select extract(epoch from '2026-07-28 17:49:39'::timestamp) - extract(epoch from '2026-07-28 17:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570913 -2.988783)', '2026-07-28 17:49:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570954 -2.988653)'), GeomFromEWKT('SRID=4674;POINT (-39.570913 -2.988783)'))) / (select extract(epoch from '2026-07-28 17:49:45'::timestamp) - extract(epoch from '2026-07-28 17:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570954 -2.988653)'), GeomFromEWKT('SRID=4674;POINT (-39.570913 -2.988783)'))) / (select extract(epoch from '2026-07-28 17:49:45'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.570865 -2.988912)', '2026-07-28 17:49:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570913 -2.988783)'), GeomFromEWKT('SRID=4674;POINT (-39.570865 -2.988912)'))) / (select extract(epoch from '2026-07-28 17:49:51'::timestamp) - extract(epoch from '2026-07-28 17:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570913 -2.988783)'), GeomFromEWKT('SRID=4674;POINT (-39.570865 -2.988912)'))) / (select extract(epoch from '2026-07-28 17:49:51'::timestamp) - extract(epoch from '2026-07-28 17:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570845 -2.989015)', '2026-07-28 17:49:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570865 -2.988912)'), GeomFromEWKT('SRID=4674;POINT (-39.570845 -2.989015)'))) / (select extract(epoch from '2026-07-28 17:49:56'::timestamp) - extract(epoch from '2026-07-28 17:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570865 -2.988912)'), GeomFromEWKT('SRID=4674;POINT (-39.570845 -2.989015)'))) / (select extract(epoch from '2026-07-28 17:49:56'::timestamp) - extract(epoch from '2026-07-28 17:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570822 -2.989129)', '2026-07-28 17:50:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570845 -2.989015)'), GeomFromEWKT('SRID=4674;POINT (-39.570822 -2.989129)'))) / (select extract(epoch from '2026-07-28 17:50:01'::timestamp) - extract(epoch from '2026-07-28 17:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570845 -2.989015)'), GeomFromEWKT('SRID=4674;POINT (-39.570822 -2.989129)'))) / (select extract(epoch from '2026-07-28 17:50:01'::timestamp) - extract(epoch from '2026-07-28 17:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570788 -2.989254)', '2026-07-28 17:50:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570822 -2.989129)'), GeomFromEWKT('SRID=4674;POINT (-39.570788 -2.989254)'))) / (select extract(epoch from '2026-07-28 17:50:07'::timestamp) - extract(epoch from '2026-07-28 17:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570822 -2.989129)'), GeomFromEWKT('SRID=4674;POINT (-39.570788 -2.989254)'))) / (select extract(epoch from '2026-07-28 17:50:07'::timestamp) - extract(epoch from '2026-07-28 17:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570783 -2.989279)', '2026-07-28 17:50:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570788 -2.989254)'), GeomFromEWKT('SRID=4674;POINT (-39.570783 -2.989279)'))) / (select extract(epoch from '2026-07-28 17:50:08'::timestamp) - extract(epoch from '2026-07-28 17:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570788 -2.989254)'), GeomFromEWKT('SRID=4674;POINT (-39.570783 -2.989279)'))) / (select extract(epoch from '2026-07-28 17:50:08'::timestamp) - extract(epoch from '2026-07-28 17:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570763 -2.98935)', '2026-07-28 17:50:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570783 -2.989279)'), GeomFromEWKT('SRID=4674;POINT (-39.570763 -2.98935)'))) / (select extract(epoch from '2026-07-28 17:50:11'::timestamp) - extract(epoch from '2026-07-28 17:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570783 -2.989279)'), GeomFromEWKT('SRID=4674;POINT (-39.570763 -2.98935)'))) / (select extract(epoch from '2026-07-28 17:50:11'::timestamp) - extract(epoch from '2026-07-28 17:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570734 -2.989456)', '2026-07-28 17:50:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570763 -2.98935)'), GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989456)'))) / (select extract(epoch from '2026-07-28 17:50:16'::timestamp) - extract(epoch from '2026-07-28 17:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570763 -2.98935)'), GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989456)'))) / (select extract(epoch from '2026-07-28 17:50:16'::timestamp) - extract(epoch from '2026-07-28 17:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570734 -2.989474)', '2026-07-28 17:50:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989456)'), GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989474)'))) / (select extract(epoch from '2026-07-28 17:50:17'::timestamp) - extract(epoch from '2026-07-28 17:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989456)'), GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989474)'))) / (select extract(epoch from '2026-07-28 17:50:17'::timestamp) - extract(epoch from '2026-07-28 17:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57073 -2.989523)', '2026-07-28 17:50:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989474)'), GeomFromEWKT('SRID=4674;POINT (-39.57073 -2.989523)'))) / (select extract(epoch from '2026-07-28 17:50:19'::timestamp) - extract(epoch from '2026-07-28 17:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570734 -2.989474)'), GeomFromEWKT('SRID=4674;POINT (-39.57073 -2.989523)'))) / (select extract(epoch from '2026-07-28 17:50:19'::timestamp) - extract(epoch from '2026-07-28 17:50: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'), 48107, 'SRID=4674;POINT (-39.570719 -2.989545)', '2026-07-28 17:50:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57073 -2.989523)'), GeomFromEWKT('SRID=4674;POINT (-39.570719 -2.989545)'))) / (select extract(epoch from '2026-07-28 17:50:20'::timestamp) - extract(epoch from '2026-07-28 17:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57073 -2.989523)'), GeomFromEWKT('SRID=4674;POINT (-39.570719 -2.989545)'))) / (select extract(epoch from '2026-07-28 17:50:20'::timestamp) - extract(epoch from '2026-07-28 17:50: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'), 48107, 'SRID=4674;POINT (-39.570691 -2.989645)', '2026-07-28 17:50:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570719 -2.989545)'), GeomFromEWKT('SRID=4674;POINT (-39.570691 -2.989645)'))) / (select extract(epoch from '2026-07-28 17:50:25'::timestamp) - extract(epoch from '2026-07-28 17:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570719 -2.989545)'), GeomFromEWKT('SRID=4674;POINT (-39.570691 -2.989645)'))) / (select extract(epoch from '2026-07-28 17:50:25'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.570662 -2.98975)', '2026-07-28 17:50:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570691 -2.989645)'), GeomFromEWKT('SRID=4674;POINT (-39.570662 -2.98975)'))) / (select extract(epoch from '2026-07-28 17:50:30'::timestamp) - extract(epoch from '2026-07-28 17:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570691 -2.989645)'), GeomFromEWKT('SRID=4674;POINT (-39.570662 -2.98975)'))) / (select extract(epoch from '2026-07-28 17:50:30'::timestamp) - extract(epoch from '2026-07-28 17:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570634 -2.989883)', '2026-07-28 17:50:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570662 -2.98975)'), GeomFromEWKT('SRID=4674;POINT (-39.570634 -2.989883)'))) / (select extract(epoch from '2026-07-28 17:50:36'::timestamp) - extract(epoch from '2026-07-28 17:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570662 -2.98975)'), GeomFromEWKT('SRID=4674;POINT (-39.570634 -2.989883)'))) / (select extract(epoch from '2026-07-28 17:50:36'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.570591 -2.990019)', '2026-07-28 17:50:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570634 -2.989883)'), GeomFromEWKT('SRID=4674;POINT (-39.570591 -2.990019)'))) / (select extract(epoch from '2026-07-28 17:50:42'::timestamp) - extract(epoch from '2026-07-28 17:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570634 -2.989883)'), GeomFromEWKT('SRID=4674;POINT (-39.570591 -2.990019)'))) / (select extract(epoch from '2026-07-28 17:50:42'::timestamp) - extract(epoch from '2026-07-28 17:50: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'), 48107, 'SRID=4674;POINT (-39.570564 -2.990136)', '2026-07-28 17:50:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570591 -2.990019)'), GeomFromEWKT('SRID=4674;POINT (-39.570564 -2.990136)'))) / (select extract(epoch from '2026-07-28 17:50:47'::timestamp) - extract(epoch from '2026-07-28 17:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570591 -2.990019)'), GeomFromEWKT('SRID=4674;POINT (-39.570564 -2.990136)'))) / (select extract(epoch from '2026-07-28 17:50:47'::timestamp) - extract(epoch from '2026-07-28 17:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570544 -2.99026)', '2026-07-28 17:50:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570564 -2.990136)'), GeomFromEWKT('SRID=4674;POINT (-39.570544 -2.99026)'))) / (select extract(epoch from '2026-07-28 17:50:52'::timestamp) - extract(epoch from '2026-07-28 17:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570564 -2.990136)'), GeomFromEWKT('SRID=4674;POINT (-39.570544 -2.99026)'))) / (select extract(epoch from '2026-07-28 17:50:52'::timestamp) - extract(epoch from '2026-07-28 17:50: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'), 48107, 'SRID=4674;POINT (-39.570543 -2.990307)', '2026-07-28 17:50:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570544 -2.99026)'), GeomFromEWKT('SRID=4674;POINT (-39.570543 -2.990307)'))) / (select extract(epoch from '2026-07-28 17:50:54'::timestamp) - extract(epoch from '2026-07-28 17:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570544 -2.99026)'), GeomFromEWKT('SRID=4674;POINT (-39.570543 -2.990307)'))) / (select extract(epoch from '2026-07-28 17:50:54'::timestamp) - extract(epoch from '2026-07-28 17:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570545 -2.990353)', '2026-07-28 17:50:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570543 -2.990307)'), GeomFromEWKT('SRID=4674;POINT (-39.570545 -2.990353)'))) / (select extract(epoch from '2026-07-28 17:50:56'::timestamp) - extract(epoch from '2026-07-28 17:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570543 -2.990307)'), GeomFromEWKT('SRID=4674;POINT (-39.570545 -2.990353)'))) / (select extract(epoch from '2026-07-28 17:50:56'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.570521 -2.990492)', '2026-07-28 17:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570545 -2.990353)'), GeomFromEWKT('SRID=4674;POINT (-39.570521 -2.990492)'))) / (select extract(epoch from '2026-07-28 17:51:02'::timestamp) - extract(epoch from '2026-07-28 17:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570545 -2.990353)'), GeomFromEWKT('SRID=4674;POINT (-39.570521 -2.990492)'))) / (select extract(epoch from '2026-07-28 17:51:02'::timestamp) - extract(epoch from '2026-07-28 17:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570511 -2.990532)', '2026-07-28 17:51:04', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570521 -2.990492)'), GeomFromEWKT('SRID=4674;POINT (-39.570511 -2.990532)'))) / (select extract(epoch from '2026-07-28 17:51:04'::timestamp) - extract(epoch from '2026-07-28 17:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570521 -2.990492)'), GeomFromEWKT('SRID=4674;POINT (-39.570511 -2.990532)'))) / (select extract(epoch from '2026-07-28 17:51:04'::timestamp) - extract(epoch from '2026-07-28 17:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57051 -2.990573)', '2026-07-28 17:51:06', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570511 -2.990532)'), GeomFromEWKT('SRID=4674;POINT (-39.57051 -2.990573)'))) / (select extract(epoch from '2026-07-28 17:51:06'::timestamp) - extract(epoch from '2026-07-28 17:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570511 -2.990532)'), GeomFromEWKT('SRID=4674;POINT (-39.57051 -2.990573)'))) / (select extract(epoch from '2026-07-28 17:51:06'::timestamp) - extract(epoch from '2026-07-28 17:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570502 -2.990591)', '2026-07-28 17:51:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57051 -2.990573)'), GeomFromEWKT('SRID=4674;POINT (-39.570502 -2.990591)'))) / (select extract(epoch from '2026-07-28 17:51:07'::timestamp) - extract(epoch from '2026-07-28 17:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57051 -2.990573)'), GeomFromEWKT('SRID=4674;POINT (-39.570502 -2.990591)'))) / (select extract(epoch from '2026-07-28 17:51:07'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570487 -2.990682)', '2026-07-28 17:51:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570502 -2.990591)'), GeomFromEWKT('SRID=4674;POINT (-39.570487 -2.990682)'))) / (select extract(epoch from '2026-07-28 17:51:11'::timestamp) - extract(epoch from '2026-07-28 17:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570502 -2.990591)'), GeomFromEWKT('SRID=4674;POINT (-39.570487 -2.990682)'))) / (select extract(epoch from '2026-07-28 17:51:11'::timestamp) - extract(epoch from '2026-07-28 17:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57048 -2.9907)', '2026-07-28 17:51:12', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570487 -2.990682)'), GeomFromEWKT('SRID=4674;POINT (-39.57048 -2.9907)'))) / (select extract(epoch from '2026-07-28 17:51:12'::timestamp) - extract(epoch from '2026-07-28 17:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570487 -2.990682)'), GeomFromEWKT('SRID=4674;POINT (-39.57048 -2.9907)'))) / (select extract(epoch from '2026-07-28 17:51:12'::timestamp) - extract(epoch from '2026-07-28 17:51:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570461 -2.990793)', '2026-07-28 17:51:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57048 -2.9907)'), GeomFromEWKT('SRID=4674;POINT (-39.570461 -2.990793)'))) / (select extract(epoch from '2026-07-28 17:51:16'::timestamp) - extract(epoch from '2026-07-28 17:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57048 -2.9907)'), GeomFromEWKT('SRID=4674;POINT (-39.570461 -2.990793)'))) / (select extract(epoch from '2026-07-28 17:51:16'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570459 -2.990816)', '2026-07-28 17:51:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570461 -2.990793)'), GeomFromEWKT('SRID=4674;POINT (-39.570459 -2.990816)'))) / (select extract(epoch from '2026-07-28 17:51:17'::timestamp) - extract(epoch from '2026-07-28 17:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570461 -2.990793)'), GeomFromEWKT('SRID=4674;POINT (-39.570459 -2.990816)'))) / (select extract(epoch from '2026-07-28 17:51:17'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.570438 -2.990931)', '2026-07-28 17:51:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570459 -2.990816)'), GeomFromEWKT('SRID=4674;POINT (-39.570438 -2.990931)'))) / (select extract(epoch from '2026-07-28 17:51:22'::timestamp) - extract(epoch from '2026-07-28 17:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570459 -2.990816)'), GeomFromEWKT('SRID=4674;POINT (-39.570438 -2.990931)'))) / (select extract(epoch from '2026-07-28 17:51:22'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570417 -2.991054)', '2026-07-28 17:51:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570438 -2.990931)'), GeomFromEWKT('SRID=4674;POINT (-39.570417 -2.991054)'))) / (select extract(epoch from '2026-07-28 17:51:28'::timestamp) - extract(epoch from '2026-07-28 17:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570438 -2.990931)'), GeomFromEWKT('SRID=4674;POINT (-39.570417 -2.991054)'))) / (select extract(epoch from '2026-07-28 17:51:28'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570406 -2.99115)', '2026-07-28 17:51:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570417 -2.991054)'), GeomFromEWKT('SRID=4674;POINT (-39.570406 -2.99115)'))) / (select extract(epoch from '2026-07-28 17:51:33'::timestamp) - extract(epoch from '2026-07-28 17:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570417 -2.991054)'), GeomFromEWKT('SRID=4674;POINT (-39.570406 -2.99115)'))) / (select extract(epoch from '2026-07-28 17:51:33'::timestamp) - extract(epoch from '2026-07-28 17:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57039 -2.991257)', '2026-07-28 17:51:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570406 -2.99115)'), GeomFromEWKT('SRID=4674;POINT (-39.57039 -2.991257)'))) / (select extract(epoch from '2026-07-28 17:51:38'::timestamp) - extract(epoch from '2026-07-28 17:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570406 -2.99115)'), GeomFromEWKT('SRID=4674;POINT (-39.57039 -2.991257)'))) / (select extract(epoch from '2026-07-28 17:51:38'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570383 -2.991279)', '2026-07-28 17:51:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57039 -2.991257)'), GeomFromEWKT('SRID=4674;POINT (-39.570383 -2.991279)'))) / (select extract(epoch from '2026-07-28 17:51:39'::timestamp) - extract(epoch from '2026-07-28 17:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57039 -2.991257)'), GeomFromEWKT('SRID=4674;POINT (-39.570383 -2.991279)'))) / (select extract(epoch from '2026-07-28 17:51:39'::timestamp) - extract(epoch from '2026-07-28 17:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570364 -2.991335)', '2026-07-28 17:51:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570383 -2.991279)'), GeomFromEWKT('SRID=4674;POINT (-39.570364 -2.991335)'))) / (select extract(epoch from '2026-07-28 17:51:42'::timestamp) - extract(epoch from '2026-07-28 17:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570383 -2.991279)'), GeomFromEWKT('SRID=4674;POINT (-39.570364 -2.991335)'))) / (select extract(epoch from '2026-07-28 17:51:42'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570361 -2.991377)', '2026-07-28 17:51:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570364 -2.991335)'), GeomFromEWKT('SRID=4674;POINT (-39.570361 -2.991377)'))) / (select extract(epoch from '2026-07-28 17:51:44'::timestamp) - extract(epoch from '2026-07-28 17:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570364 -2.991335)'), GeomFromEWKT('SRID=4674;POINT (-39.570361 -2.991377)'))) / (select extract(epoch from '2026-07-28 17:51:44'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570349 -2.99142)', '2026-07-28 17:51:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570361 -2.991377)'), GeomFromEWKT('SRID=4674;POINT (-39.570349 -2.99142)'))) / (select extract(epoch from '2026-07-28 17:51:46'::timestamp) - extract(epoch from '2026-07-28 17:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570361 -2.991377)'), GeomFromEWKT('SRID=4674;POINT (-39.570349 -2.99142)'))) / (select extract(epoch from '2026-07-28 17:51:46'::timestamp) - extract(epoch from '2026-07-28 17:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570327 -2.991552)', '2026-07-28 17:51:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570349 -2.99142)'), GeomFromEWKT('SRID=4674;POINT (-39.570327 -2.991552)'))) / (select extract(epoch from '2026-07-28 17:51:52'::timestamp) - extract(epoch from '2026-07-28 17:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570349 -2.99142)'), GeomFromEWKT('SRID=4674;POINT (-39.570327 -2.991552)'))) / (select extract(epoch from '2026-07-28 17:51:52'::timestamp) - extract(epoch from '2026-07-28 17:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570282 -2.991663)', '2026-07-28 17:51:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570327 -2.991552)'), GeomFromEWKT('SRID=4674;POINT (-39.570282 -2.991663)'))) / (select extract(epoch from '2026-07-28 17:51:58'::timestamp) - extract(epoch from '2026-07-28 17:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570327 -2.991552)'), GeomFromEWKT('SRID=4674;POINT (-39.570282 -2.991663)'))) / (select extract(epoch from '2026-07-28 17:51:58'::timestamp) - extract(epoch from '2026-07-28 17:51: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'), 48107, 'SRID=4674;POINT (-39.570257 -2.991785)', '2026-07-28 17:52:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570282 -2.991663)'), GeomFromEWKT('SRID=4674;POINT (-39.570257 -2.991785)'))) / (select extract(epoch from '2026-07-28 17:52:04'::timestamp) - extract(epoch from '2026-07-28 17:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570282 -2.991663)'), GeomFromEWKT('SRID=4674;POINT (-39.570257 -2.991785)'))) / (select extract(epoch from '2026-07-28 17:52:04'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.570241 -2.991867)', '2026-07-28 17:52:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570257 -2.991785)'), GeomFromEWKT('SRID=4674;POINT (-39.570241 -2.991867)'))) / (select extract(epoch from '2026-07-28 17:52:08'::timestamp) - extract(epoch from '2026-07-28 17:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570257 -2.991785)'), GeomFromEWKT('SRID=4674;POINT (-39.570241 -2.991867)'))) / (select extract(epoch from '2026-07-28 17:52:08'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.570222 -2.991997)', '2026-07-28 17:52:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570241 -2.991867)'), GeomFromEWKT('SRID=4674;POINT (-39.570222 -2.991997)'))) / (select extract(epoch from '2026-07-28 17:52:14'::timestamp) - extract(epoch from '2026-07-28 17:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570241 -2.991867)'), GeomFromEWKT('SRID=4674;POINT (-39.570222 -2.991997)'))) / (select extract(epoch from '2026-07-28 17:52:14'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.570191 -2.992129)', '2026-07-28 17:52:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570222 -2.991997)'), GeomFromEWKT('SRID=4674;POINT (-39.570191 -2.992129)'))) / (select extract(epoch from '2026-07-28 17:52:20'::timestamp) - extract(epoch from '2026-07-28 17:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570222 -2.991997)'), GeomFromEWKT('SRID=4674;POINT (-39.570191 -2.992129)'))) / (select extract(epoch from '2026-07-28 17:52:20'::timestamp) - extract(epoch from '2026-07-28 17:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.570166 -2.992243)', '2026-07-28 17:52:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570191 -2.992129)'), GeomFromEWKT('SRID=4674;POINT (-39.570166 -2.992243)'))) / (select extract(epoch from '2026-07-28 17:52:25'::timestamp) - extract(epoch from '2026-07-28 17:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570191 -2.992129)'), GeomFromEWKT('SRID=4674;POINT (-39.570166 -2.992243)'))) / (select extract(epoch from '2026-07-28 17:52:25'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.570154 -2.992328)', '2026-07-28 17:52:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570166 -2.992243)'), GeomFromEWKT('SRID=4674;POINT (-39.570154 -2.992328)'))) / (select extract(epoch from '2026-07-28 17:52:29'::timestamp) - extract(epoch from '2026-07-28 17:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570166 -2.992243)'), GeomFromEWKT('SRID=4674;POINT (-39.570154 -2.992328)'))) / (select extract(epoch from '2026-07-28 17:52:29'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.570149 -2.99235)', '2026-07-28 17:52:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570154 -2.992328)'), GeomFromEWKT('SRID=4674;POINT (-39.570149 -2.99235)'))) / (select extract(epoch from '2026-07-28 17:52:30'::timestamp) - extract(epoch from '2026-07-28 17:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570154 -2.992328)'), GeomFromEWKT('SRID=4674;POINT (-39.570149 -2.99235)'))) / (select extract(epoch from '2026-07-28 17:52:30'::timestamp) - extract(epoch from '2026-07-28 17:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.57013 -2.992486)', '2026-07-28 17:52:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570149 -2.99235)'), GeomFromEWKT('SRID=4674;POINT (-39.57013 -2.992486)'))) / (select extract(epoch from '2026-07-28 17:52:36'::timestamp) - extract(epoch from '2026-07-28 17:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570149 -2.99235)'), GeomFromEWKT('SRID=4674;POINT (-39.57013 -2.992486)'))) / (select extract(epoch from '2026-07-28 17:52:36'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.570094 -2.992634)', '2026-07-28 17:52:43', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57013 -2.992486)'), GeomFromEWKT('SRID=4674;POINT (-39.570094 -2.992634)'))) / (select extract(epoch from '2026-07-28 17:52:43'::timestamp) - extract(epoch from '2026-07-28 17:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.57013 -2.992486)'), GeomFromEWKT('SRID=4674;POINT (-39.570094 -2.992634)'))) / (select extract(epoch from '2026-07-28 17:52:43'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.570062 -2.992744)', '2026-07-28 17:52:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570094 -2.992634)'), GeomFromEWKT('SRID=4674;POINT (-39.570062 -2.992744)'))) / (select extract(epoch from '2026-07-28 17:52:48'::timestamp) - extract(epoch from '2026-07-28 17:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570094 -2.992634)'), GeomFromEWKT('SRID=4674;POINT (-39.570062 -2.992744)'))) / (select extract(epoch from '2026-07-28 17:52:48'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.570045 -2.992849)', '2026-07-28 17:52:53', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570062 -2.992744)'), GeomFromEWKT('SRID=4674;POINT (-39.570045 -2.992849)'))) / (select extract(epoch from '2026-07-28 17:52:53'::timestamp) - extract(epoch from '2026-07-28 17:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570062 -2.992744)'), GeomFromEWKT('SRID=4674;POINT (-39.570045 -2.992849)'))) / (select extract(epoch from '2026-07-28 17:52:53'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.570016 -2.992972)', '2026-07-28 17:52:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570045 -2.992849)'), GeomFromEWKT('SRID=4674;POINT (-39.570016 -2.992972)'))) / (select extract(epoch from '2026-07-28 17:52:59'::timestamp) - extract(epoch from '2026-07-28 17:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570045 -2.992849)'), GeomFromEWKT('SRID=4674;POINT (-39.570016 -2.992972)'))) / (select extract(epoch from '2026-07-28 17:52:59'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.569989 -2.993055)', '2026-07-28 17:53:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570016 -2.992972)'), GeomFromEWKT('SRID=4674;POINT (-39.569989 -2.993055)'))) / (select extract(epoch from '2026-07-28 17:53:03'::timestamp) - extract(epoch from '2026-07-28 17:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.570016 -2.992972)'), GeomFromEWKT('SRID=4674;POINT (-39.569989 -2.993055)'))) / (select extract(epoch from '2026-07-28 17:53:03'::timestamp) - extract(epoch from '2026-07-28 17:52: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'), 48107, 'SRID=4674;POINT (-39.569987 -2.993073)', '2026-07-28 17:53:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569989 -2.993055)'), GeomFromEWKT('SRID=4674;POINT (-39.569987 -2.993073)'))) / (select extract(epoch from '2026-07-28 17:53:04'::timestamp) - extract(epoch from '2026-07-28 17:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569989 -2.993055)'), GeomFromEWKT('SRID=4674;POINT (-39.569987 -2.993073)'))) / (select extract(epoch from '2026-07-28 17:53:04'::timestamp) - extract(epoch from '2026-07-28 17:53: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'), 48107, 'SRID=4674;POINT (-39.569962 -2.993186)', '2026-07-28 17:53:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569987 -2.993073)'), GeomFromEWKT('SRID=4674;POINT (-39.569962 -2.993186)'))) / (select extract(epoch from '2026-07-28 17:53:10'::timestamp) - extract(epoch from '2026-07-28 17:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569987 -2.993073)'), GeomFromEWKT('SRID=4674;POINT (-39.569962 -2.993186)'))) / (select extract(epoch from '2026-07-28 17:53:10'::timestamp) - extract(epoch from '2026-07-28 17:53: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'), 48107, 'SRID=4674;POINT (-39.569931 -2.993264)', '2026-07-28 17:53:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569962 -2.993186)'), GeomFromEWKT('SRID=4674;POINT (-39.569931 -2.993264)'))) / (select extract(epoch from '2026-07-28 17:53:14'::timestamp) - extract(epoch from '2026-07-28 17:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569962 -2.993186)'), GeomFromEWKT('SRID=4674;POINT (-39.569931 -2.993264)'))) / (select extract(epoch from '2026-07-28 17:53:14'::timestamp) - extract(epoch from '2026-07-28 17:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.569905 -2.993368)', '2026-07-28 17:53:19', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569931 -2.993264)'), GeomFromEWKT('SRID=4674;POINT (-39.569905 -2.993368)'))) / (select extract(epoch from '2026-07-28 17:53:19'::timestamp) - extract(epoch from '2026-07-28 17:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569931 -2.993264)'), GeomFromEWKT('SRID=4674;POINT (-39.569905 -2.993368)'))) / (select extract(epoch from '2026-07-28 17:53:19'::timestamp) - extract(epoch from '2026-07-28 17:53: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'), 48107, 'SRID=4674;POINT (-39.56986 -2.993516)', '2026-07-28 17:53:26', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569905 -2.993368)'), GeomFromEWKT('SRID=4674;POINT (-39.56986 -2.993516)'))) / (select extract(epoch from '2026-07-28 17:53:26'::timestamp) - extract(epoch from '2026-07-28 17:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569905 -2.993368)'), GeomFromEWKT('SRID=4674;POINT (-39.56986 -2.993516)'))) / (select extract(epoch from '2026-07-28 17:53:26'::timestamp) - extract(epoch from '2026-07-28 17:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.569843 -2.993573)', '2026-07-28 17:53:29', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56986 -2.993516)'), GeomFromEWKT('SRID=4674;POINT (-39.569843 -2.993573)'))) / (select extract(epoch from '2026-07-28 17:53:29'::timestamp) - extract(epoch from '2026-07-28 17:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56986 -2.993516)'), GeomFromEWKT('SRID=4674;POINT (-39.569843 -2.993573)'))) / (select extract(epoch from '2026-07-28 17:53:29'::timestamp) - extract(epoch from '2026-07-28 17:53: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'), 48107, 'SRID=4674;POINT (-39.569833 -2.993588)', '2026-07-28 17:53:30', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569843 -2.993573)'), GeomFromEWKT('SRID=4674;POINT (-39.569833 -2.993588)'))) / (select extract(epoch from '2026-07-28 17:53:30'::timestamp) - extract(epoch from '2026-07-28 17:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569843 -2.993573)'), GeomFromEWKT('SRID=4674;POINT (-39.569833 -2.993588)'))) / (select extract(epoch from '2026-07-28 17:53:30'::timestamp) - extract(epoch from '2026-07-28 17:53: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'), 48107, 'SRID=4674;POINT (-39.569818 -2.993632)', '2026-07-28 17:53:33', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569833 -2.993588)'), GeomFromEWKT('SRID=4674;POINT (-39.569818 -2.993632)'))) / (select extract(epoch from '2026-07-28 17:53:33'::timestamp) - extract(epoch from '2026-07-28 17:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569833 -2.993588)'), GeomFromEWKT('SRID=4674;POINT (-39.569818 -2.993632)'))) / (select extract(epoch from '2026-07-28 17:53:33'::timestamp) - extract(epoch from '2026-07-28 17: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'), 48107, 'SRID=4674;POINT (-39.569811 -2.993657)', '2026-07-28 17:53:35', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569818 -2.993632)'), GeomFromEWKT('SRID=4674;POINT (-39.569811 -2.993657)'))) / (select extract(epoch from '2026-07-28 17:53:35'::timestamp) - extract(epoch from '2026-07-28 17:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569818 -2.993632)'), GeomFromEWKT('SRID=4674;POINT (-39.569811 -2.993657)'))) / (select extract(epoch from '2026-07-28 17:53:35'::timestamp) - extract(epoch from '2026-07-28 17:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.569809 -2.993673)', '2026-07-28 17:53:37', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569811 -2.993657)'), GeomFromEWKT('SRID=4674;POINT (-39.569809 -2.993673)'))) / (select extract(epoch from '2026-07-28 17:53:37'::timestamp) - extract(epoch from '2026-07-28 17:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569811 -2.993657)'), GeomFromEWKT('SRID=4674;POINT (-39.569809 -2.993673)'))) / (select extract(epoch from '2026-07-28 17:53:37'::timestamp) - extract(epoch from '2026-07-28 17:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48107, 'SRID=4674;POINT (-39.569792 -2.993679)', '2026-07-28 17:53:39', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569809 -2.993673)'), GeomFromEWKT('SRID=4674;POINT (-39.569792 -2.993679)'))) / (select extract(epoch from '2026-07-28 17:53:39'::timestamp) - extract(epoch from '2026-07-28 17:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569809 -2.993673)'), GeomFromEWKT('SRID=4674;POINT (-39.569792 -2.993679)'))) / (select extract(epoch from '2026-07-28 17:53:39'::timestamp) - extract(epoch from '2026-07-28 17:53: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'), 48107, 'SRID=4674;POINT (-39.569829 -2.993707)', '2026-07-28 17:53:46', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569792 -2.993679)'), GeomFromEWKT('SRID=4674;POINT (-39.569829 -2.993707)'))) / (select extract(epoch from '2026-07-28 17:53:46'::timestamp) - extract(epoch from '2026-07-28 17:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.569792 -2.993679)'), GeomFromEWKT('SRID=4674;POINT (-39.569829 -2.993707)'))) / (select extract(epoch from '2026-07-28 17:53:46'::timestamp) - extract(epoch from '2026-07-28 17:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
