 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409686 -3.088814)', '2026-07-17 16:55:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409726 -3.088891)'), GeomFromEWKT('SRID=4674;POINT (-39.409686 -3.088814)'))) / (select extract(epoch from '2026-07-17 16:55:42'::timestamp) - extract(epoch from '2026-07-17 16:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409726 -3.088891)'), GeomFromEWKT('SRID=4674;POINT (-39.409686 -3.088814)'))) / (select extract(epoch from '2026-07-17 16:55:42'::timestamp) - extract(epoch from '2026-07-17 16:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409615 -3.088684)', '2026-07-17 16:55:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409686 -3.088814)'), GeomFromEWKT('SRID=4674;POINT (-39.409615 -3.088684)'))) / (select extract(epoch from '2026-07-17 16:55:50'::timestamp) - extract(epoch from '2026-07-17 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409686 -3.088814)'), GeomFromEWKT('SRID=4674;POINT (-39.409615 -3.088684)'))) / (select extract(epoch from '2026-07-17 16:55:50'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47991, 'SRID=4674;POINT (-39.409558 -3.088546)', '2026-07-17 16:55:58', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409615 -3.088684)'), GeomFromEWKT('SRID=4674;POINT (-39.409558 -3.088546)'))) / (select extract(epoch from '2026-07-17 16:55:58'::timestamp) - extract(epoch from '2026-07-17 16:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409615 -3.088684)'), GeomFromEWKT('SRID=4674;POINT (-39.409558 -3.088546)'))) / (select extract(epoch from '2026-07-17 16:55:58'::timestamp) - extract(epoch from '2026-07-17 16:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409512 -3.088421)', '2026-07-17 16:56:06', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409558 -3.088546)'), GeomFromEWKT('SRID=4674;POINT (-39.409512 -3.088421)'))) / (select extract(epoch from '2026-07-17 16:56:06'::timestamp) - extract(epoch from '2026-07-17 16:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409558 -3.088546)'), GeomFromEWKT('SRID=4674;POINT (-39.409512 -3.088421)'))) / (select extract(epoch from '2026-07-17 16:56:06'::timestamp) - extract(epoch from '2026-07-17 16:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409479 -3.088307)', '2026-07-17 16:56:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409512 -3.088421)'), GeomFromEWKT('SRID=4674;POINT (-39.409479 -3.088307)'))) / (select extract(epoch from '2026-07-17 16:56:13'::timestamp) - extract(epoch from '2026-07-17 16:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409512 -3.088421)'), GeomFromEWKT('SRID=4674;POINT (-39.409479 -3.088307)'))) / (select extract(epoch from '2026-07-17 16:56:13'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47991, 'SRID=4674;POINT (-39.409397 -3.08819)', '2026-07-17 16:56:22', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409479 -3.088307)'), GeomFromEWKT('SRID=4674;POINT (-39.409397 -3.08819)'))) / (select extract(epoch from '2026-07-17 16:56:22'::timestamp) - extract(epoch from '2026-07-17 16:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409479 -3.088307)'), GeomFromEWKT('SRID=4674;POINT (-39.409397 -3.08819)'))) / (select extract(epoch from '2026-07-17 16:56:22'::timestamp) - extract(epoch from '2026-07-17 16:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409304 -3.088103)', '2026-07-17 16:56:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409397 -3.08819)'), GeomFromEWKT('SRID=4674;POINT (-39.409304 -3.088103)'))) / (select extract(epoch from '2026-07-17 16:56:30'::timestamp) - extract(epoch from '2026-07-17 16:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409397 -3.08819)'), GeomFromEWKT('SRID=4674;POINT (-39.409304 -3.088103)'))) / (select extract(epoch from '2026-07-17 16:56:30'::timestamp) - extract(epoch from '2026-07-17 16:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409234 -3.08801)', '2026-07-17 16:56:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409304 -3.088103)'), GeomFromEWKT('SRID=4674;POINT (-39.409234 -3.08801)'))) / (select extract(epoch from '2026-07-17 16:56:37'::timestamp) - extract(epoch from '2026-07-17 16:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409304 -3.088103)'), GeomFromEWKT('SRID=4674;POINT (-39.409234 -3.08801)'))) / (select extract(epoch from '2026-07-17 16:56:37'::timestamp) - extract(epoch from '2026-07-17 16:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409162 -3.087903)', '2026-07-17 16:56:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409234 -3.08801)'), GeomFromEWKT('SRID=4674;POINT (-39.409162 -3.087903)'))) / (select extract(epoch from '2026-07-17 16:56:44'::timestamp) - extract(epoch from '2026-07-17 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409234 -3.08801)'), GeomFromEWKT('SRID=4674;POINT (-39.409162 -3.087903)'))) / (select extract(epoch from '2026-07-17 16:56:44'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47991, 'SRID=4674;POINT (-39.409072 -3.087776)', '2026-07-17 16:56:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409162 -3.087903)'), GeomFromEWKT('SRID=4674;POINT (-39.409072 -3.087776)'))) / (select extract(epoch from '2026-07-17 16:56:53'::timestamp) - extract(epoch from '2026-07-17 16:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409162 -3.087903)'), GeomFromEWKT('SRID=4674;POINT (-39.409072 -3.087776)'))) / (select extract(epoch from '2026-07-17 16:56:53'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47991, 'SRID=4674;POINT (-39.409007 -3.087714)', '2026-07-17 16:56:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409072 -3.087776)'), GeomFromEWKT('SRID=4674;POINT (-39.409007 -3.087714)'))) / (select extract(epoch from '2026-07-17 16:56:59'::timestamp) - extract(epoch from '2026-07-17 16:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409072 -3.087776)'), GeomFromEWKT('SRID=4674;POINT (-39.409007 -3.087714)'))) / (select extract(epoch from '2026-07-17 16:56:59'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47991, 'SRID=4674;POINT (-39.408927 -3.08761)', '2026-07-17 16:57:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409007 -3.087714)'), GeomFromEWKT('SRID=4674;POINT (-39.408927 -3.08761)'))) / (select extract(epoch from '2026-07-17 16:57:07'::timestamp) - extract(epoch from '2026-07-17 16:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409007 -3.087714)'), GeomFromEWKT('SRID=4674;POINT (-39.408927 -3.08761)'))) / (select extract(epoch from '2026-07-17 16:57:07'::timestamp) - extract(epoch from '2026-07-17 16:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408833 -3.087479)', '2026-07-17 16:57:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408927 -3.08761)'), GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.087479)'))) / (select extract(epoch from '2026-07-17 16:57:17'::timestamp) - extract(epoch from '2026-07-17 16:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408927 -3.08761)'), GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.087479)'))) / (select extract(epoch from '2026-07-17 16:57:17'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47991, 'SRID=4674;POINT (-39.408731 -3.087383)', '2026-07-17 16:57:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.087479)'), GeomFromEWKT('SRID=4674;POINT (-39.408731 -3.087383)'))) / (select extract(epoch from '2026-07-17 16:57:25'::timestamp) - extract(epoch from '2026-07-17 16:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.087479)'), GeomFromEWKT('SRID=4674;POINT (-39.408731 -3.087383)'))) / (select extract(epoch from '2026-07-17 16:57:25'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47991, 'SRID=4674;POINT (-39.408618 -3.087282)', '2026-07-17 16:57:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408731 -3.087383)'), GeomFromEWKT('SRID=4674;POINT (-39.408618 -3.087282)'))) / (select extract(epoch from '2026-07-17 16:57:33'::timestamp) - extract(epoch from '2026-07-17 16:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408731 -3.087383)'), GeomFromEWKT('SRID=4674;POINT (-39.408618 -3.087282)'))) / (select extract(epoch from '2026-07-17 16:57:33'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47991, 'SRID=4674;POINT (-39.408515 -3.087192)', '2026-07-17 16:57:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408618 -3.087282)'), GeomFromEWKT('SRID=4674;POINT (-39.408515 -3.087192)'))) / (select extract(epoch from '2026-07-17 16:57:41'::timestamp) - extract(epoch from '2026-07-17 16:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408618 -3.087282)'), GeomFromEWKT('SRID=4674;POINT (-39.408515 -3.087192)'))) / (select extract(epoch from '2026-07-17 16:57:41'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47991, 'SRID=4674;POINT (-39.408418 -3.087089)', '2026-07-17 16:57:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408515 -3.087192)'), GeomFromEWKT('SRID=4674;POINT (-39.408418 -3.087089)'))) / (select extract(epoch from '2026-07-17 16:57:50'::timestamp) - extract(epoch from '2026-07-17 16:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408515 -3.087192)'), GeomFromEWKT('SRID=4674;POINT (-39.408418 -3.087089)'))) / (select extract(epoch from '2026-07-17 16:57:50'::timestamp) - extract(epoch from '2026-07-17 16:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408339 -3.087006)', '2026-07-17 16:57:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408418 -3.087089)'), GeomFromEWKT('SRID=4674;POINT (-39.408339 -3.087006)'))) / (select extract(epoch from '2026-07-17 16:57:57'::timestamp) - extract(epoch from '2026-07-17 16:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408418 -3.087089)'), GeomFromEWKT('SRID=4674;POINT (-39.408339 -3.087006)'))) / (select extract(epoch from '2026-07-17 16:57:57'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47991, 'SRID=4674;POINT (-39.408237 -3.086891)', '2026-07-17 16:58:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408339 -3.087006)'), GeomFromEWKT('SRID=4674;POINT (-39.408237 -3.086891)'))) / (select extract(epoch from '2026-07-17 16:58:06'::timestamp) - extract(epoch from '2026-07-17 16:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408339 -3.087006)'), GeomFromEWKT('SRID=4674;POINT (-39.408237 -3.086891)'))) / (select extract(epoch from '2026-07-17 16:58:06'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47991, 'SRID=4674;POINT (-39.408126 -3.086759)', '2026-07-17 16:58:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408237 -3.086891)'), GeomFromEWKT('SRID=4674;POINT (-39.408126 -3.086759)'))) / (select extract(epoch from '2026-07-17 16:58:16'::timestamp) - extract(epoch from '2026-07-17 16:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408237 -3.086891)'), GeomFromEWKT('SRID=4674;POINT (-39.408126 -3.086759)'))) / (select extract(epoch from '2026-07-17 16:58:16'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47991, 'SRID=4674;POINT (-39.408002 -3.086663)', '2026-07-17 16:58:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408126 -3.086759)'), GeomFromEWKT('SRID=4674;POINT (-39.408002 -3.086663)'))) / (select extract(epoch from '2026-07-17 16:58:25'::timestamp) - extract(epoch from '2026-07-17 16:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408126 -3.086759)'), GeomFromEWKT('SRID=4674;POINT (-39.408002 -3.086663)'))) / (select extract(epoch from '2026-07-17 16:58:25'::timestamp) - extract(epoch from '2026-07-17 16:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407882 -3.086564)', '2026-07-17 16:58:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408002 -3.086663)'), GeomFromEWKT('SRID=4674;POINT (-39.407882 -3.086564)'))) / (select extract(epoch from '2026-07-17 16:58:34'::timestamp) - extract(epoch from '2026-07-17 16:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408002 -3.086663)'), GeomFromEWKT('SRID=4674;POINT (-39.407882 -3.086564)'))) / (select extract(epoch from '2026-07-17 16:58:34'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47991, 'SRID=4674;POINT (-39.407824 -3.086449)', '2026-07-17 16:58:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407882 -3.086564)'), GeomFromEWKT('SRID=4674;POINT (-39.407824 -3.086449)'))) / (select extract(epoch from '2026-07-17 16:58:41'::timestamp) - extract(epoch from '2026-07-17 16:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407882 -3.086564)'), GeomFromEWKT('SRID=4674;POINT (-39.407824 -3.086449)'))) / (select extract(epoch from '2026-07-17 16:58:41'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47991, 'SRID=4674;POINT (-39.407759 -3.086316)', '2026-07-17 16:58:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407824 -3.086449)'), GeomFromEWKT('SRID=4674;POINT (-39.407759 -3.086316)'))) / (select extract(epoch from '2026-07-17 16:58:49'::timestamp) - extract(epoch from '2026-07-17 16:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407824 -3.086449)'), GeomFromEWKT('SRID=4674;POINT (-39.407759 -3.086316)'))) / (select extract(epoch from '2026-07-17 16:58:49'::timestamp) - extract(epoch from '2026-07-17 16:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407734 -3.086211)', '2026-07-17 16:58:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407759 -3.086316)'), GeomFromEWKT('SRID=4674;POINT (-39.407734 -3.086211)'))) / (select extract(epoch from '2026-07-17 16:58:55'::timestamp) - extract(epoch from '2026-07-17 16:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407759 -3.086316)'), GeomFromEWKT('SRID=4674;POINT (-39.407734 -3.086211)'))) / (select extract(epoch from '2026-07-17 16:58:55'::timestamp) - extract(epoch from '2026-07-17 16:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407667 -3.086112)', '2026-07-17 16:59:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407734 -3.086211)'), GeomFromEWKT('SRID=4674;POINT (-39.407667 -3.086112)'))) / (select extract(epoch from '2026-07-17 16:59:02'::timestamp) - extract(epoch from '2026-07-17 16:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407734 -3.086211)'), GeomFromEWKT('SRID=4674;POINT (-39.407667 -3.086112)'))) / (select extract(epoch from '2026-07-17 16:59:02'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47991, 'SRID=4674;POINT (-39.407579 -3.086018)', '2026-07-17 16:59:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407667 -3.086112)'), GeomFromEWKT('SRID=4674;POINT (-39.407579 -3.086018)'))) / (select extract(epoch from '2026-07-17 16:59:09'::timestamp) - extract(epoch from '2026-07-17 16:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407667 -3.086112)'), GeomFromEWKT('SRID=4674;POINT (-39.407579 -3.086018)'))) / (select extract(epoch from '2026-07-17 16:59:09'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47991, 'SRID=4674;POINT (-39.407496 -3.085921)', '2026-07-17 16:59:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407579 -3.086018)'), GeomFromEWKT('SRID=4674;POINT (-39.407496 -3.085921)'))) / (select extract(epoch from '2026-07-17 16:59:16'::timestamp) - extract(epoch from '2026-07-17 16:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407579 -3.086018)'), GeomFromEWKT('SRID=4674;POINT (-39.407496 -3.085921)'))) / (select extract(epoch from '2026-07-17 16:59:16'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47991, 'SRID=4674;POINT (-39.407403 -3.085851)', '2026-07-17 16:59:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407496 -3.085921)'), GeomFromEWKT('SRID=4674;POINT (-39.407403 -3.085851)'))) / (select extract(epoch from '2026-07-17 16:59:23'::timestamp) - extract(epoch from '2026-07-17 16:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407496 -3.085921)'), GeomFromEWKT('SRID=4674;POINT (-39.407403 -3.085851)'))) / (select extract(epoch from '2026-07-17 16:59:23'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47991, 'SRID=4674;POINT (-39.407279 -3.085771)', '2026-07-17 16:59:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407403 -3.085851)'), GeomFromEWKT('SRID=4674;POINT (-39.407279 -3.085771)'))) / (select extract(epoch from '2026-07-17 16:59:32'::timestamp) - extract(epoch from '2026-07-17 16:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407403 -3.085851)'), GeomFromEWKT('SRID=4674;POINT (-39.407279 -3.085771)'))) / (select extract(epoch from '2026-07-17 16:59:32'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47991, 'SRID=4674;POINT (-39.407186 -3.085706)', '2026-07-17 16:59:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407279 -3.085771)'), GeomFromEWKT('SRID=4674;POINT (-39.407186 -3.085706)'))) / (select extract(epoch from '2026-07-17 16:59:39'::timestamp) - extract(epoch from '2026-07-17 16:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407279 -3.085771)'), GeomFromEWKT('SRID=4674;POINT (-39.407186 -3.085706)'))) / (select extract(epoch from '2026-07-17 16:59:39'::timestamp) - extract(epoch from '2026-07-17 16:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407109 -3.085639)', '2026-07-17 16:59:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407186 -3.085706)'), GeomFromEWKT('SRID=4674;POINT (-39.407109 -3.085639)'))) / (select extract(epoch from '2026-07-17 16:59:46'::timestamp) - extract(epoch from '2026-07-17 16:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407186 -3.085706)'), GeomFromEWKT('SRID=4674;POINT (-39.407109 -3.085639)'))) / (select extract(epoch from '2026-07-17 16:59:46'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47991, 'SRID=4674;POINT (-39.407033 -3.085558)', '2026-07-17 16:59:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407109 -3.085639)'), GeomFromEWKT('SRID=4674;POINT (-39.407033 -3.085558)'))) / (select extract(epoch from '2026-07-17 16:59:53'::timestamp) - extract(epoch from '2026-07-17 16:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407109 -3.085639)'), GeomFromEWKT('SRID=4674;POINT (-39.407033 -3.085558)'))) / (select extract(epoch from '2026-07-17 16:59:53'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47991, 'SRID=4674;POINT (-39.406937 -3.085497)', '2026-07-17 17:00:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407033 -3.085558)'), GeomFromEWKT('SRID=4674;POINT (-39.406937 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:00:00'::timestamp) - extract(epoch from '2026-07-17 16:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407033 -3.085558)'), GeomFromEWKT('SRID=4674;POINT (-39.406937 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:00:00'::timestamp) - extract(epoch from '2026-07-17 16:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.406854 -3.08548)', '2026-07-17 17:00:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406937 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.406854 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:00:06'::timestamp) - extract(epoch from '2026-07-17 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406937 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.406854 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:00:06'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47991, 'SRID=4674;POINT (-39.406706 -3.085492)', '2026-07-17 17:00:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406854 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.406706 -3.085492)'))) / (select extract(epoch from '2026-07-17 17:00:15'::timestamp) - extract(epoch from '2026-07-17 17:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406854 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.406706 -3.085492)'))) / (select extract(epoch from '2026-07-17 17:00:15'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47991, 'SRID=4674;POINT (-39.40664 -3.085562)', '2026-07-17 17:00:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406706 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.40664 -3.085562)'))) / (select extract(epoch from '2026-07-17 17:00:22'::timestamp) - extract(epoch from '2026-07-17 17:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406706 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.40664 -3.085562)'))) / (select extract(epoch from '2026-07-17 17:00:22'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47991, 'SRID=4674;POINT (-39.406656 -3.085655)', '2026-07-17 17:00:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40664 -3.085562)'), GeomFromEWKT('SRID=4674;POINT (-39.406656 -3.085655)'))) / (select extract(epoch from '2026-07-17 17:00:29'::timestamp) - extract(epoch from '2026-07-17 17:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40664 -3.085562)'), GeomFromEWKT('SRID=4674;POINT (-39.406656 -3.085655)'))) / (select extract(epoch from '2026-07-17 17:00:29'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47991, 'SRID=4674;POINT (-39.406705 -3.085715)', '2026-07-17 17:00:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406656 -3.085655)'), GeomFromEWKT('SRID=4674;POINT (-39.406705 -3.085715)'))) / (select extract(epoch from '2026-07-17 17:00:37'::timestamp) - extract(epoch from '2026-07-17 17:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406656 -3.085655)'), GeomFromEWKT('SRID=4674;POINT (-39.406705 -3.085715)'))) / (select extract(epoch from '2026-07-17 17:00:37'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47991, 'SRID=4674;POINT (-39.406763 -3.085767)', '2026-07-17 17:00:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406705 -3.085715)'), GeomFromEWKT('SRID=4674;POINT (-39.406763 -3.085767)'))) / (select extract(epoch from '2026-07-17 17:00:49'::timestamp) - extract(epoch from '2026-07-17 17:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406705 -3.085715)'), GeomFromEWKT('SRID=4674;POINT (-39.406763 -3.085767)'))) / (select extract(epoch from '2026-07-17 17:00:49'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47991, 'SRID=4674;POINT (-39.406811 -3.085778)', '2026-07-17 17:00:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406763 -3.085767)'), GeomFromEWKT('SRID=4674;POINT (-39.406811 -3.085778)'))) / (select extract(epoch from '2026-07-17 17:00:57'::timestamp) - extract(epoch from '2026-07-17 17:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406763 -3.085767)'), GeomFromEWKT('SRID=4674;POINT (-39.406811 -3.085778)'))) / (select extract(epoch from '2026-07-17 17:00:57'::timestamp) - extract(epoch from '2026-07-17 17:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.406848 -3.085787)', '2026-07-17 17:01:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406811 -3.085778)'), GeomFromEWKT('SRID=4674;POINT (-39.406848 -3.085787)'))) / (select extract(epoch from '2026-07-17 17:01:03'::timestamp) - extract(epoch from '2026-07-17 17:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406811 -3.085778)'), GeomFromEWKT('SRID=4674;POINT (-39.406848 -3.085787)'))) / (select extract(epoch from '2026-07-17 17:01:03'::timestamp) - extract(epoch from '2026-07-17 17:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.406895 -3.085799)', '2026-07-17 17:01:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406848 -3.085787)'), GeomFromEWKT('SRID=4674;POINT (-39.406895 -3.085799)'))) / (select extract(epoch from '2026-07-17 17:01:11'::timestamp) - extract(epoch from '2026-07-17 17:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406848 -3.085787)'), GeomFromEWKT('SRID=4674;POINT (-39.406895 -3.085799)'))) / (select extract(epoch from '2026-07-17 17:01:11'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47991, 'SRID=4674;POINT (-39.406933 -3.085811)', '2026-07-17 17:01:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406895 -3.085799)'), GeomFromEWKT('SRID=4674;POINT (-39.406933 -3.085811)'))) / (select extract(epoch from '2026-07-17 17:01:19'::timestamp) - extract(epoch from '2026-07-17 17:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406895 -3.085799)'), GeomFromEWKT('SRID=4674;POINT (-39.406933 -3.085811)'))) / (select extract(epoch from '2026-07-17 17:01:19'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47991, 'SRID=4674;POINT (-39.406965 -3.085802)', '2026-07-17 17:01:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406933 -3.085811)'), GeomFromEWKT('SRID=4674;POINT (-39.406965 -3.085802)'))) / (select extract(epoch from '2026-07-17 17:01:26'::timestamp) - extract(epoch from '2026-07-17 17:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406933 -3.085811)'), GeomFromEWKT('SRID=4674;POINT (-39.406965 -3.085802)'))) / (select extract(epoch from '2026-07-17 17:01:26'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47991, 'SRID=4674;POINT (-39.407 -3.08581)', '2026-07-17 17:01:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406965 -3.085802)'), GeomFromEWKT('SRID=4674;POINT (-39.407 -3.08581)'))) / (select extract(epoch from '2026-07-17 17:01:32'::timestamp) - extract(epoch from '2026-07-17 17:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406965 -3.085802)'), GeomFromEWKT('SRID=4674;POINT (-39.407 -3.08581)'))) / (select extract(epoch from '2026-07-17 17:01:32'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47991, 'SRID=4674;POINT (-39.407046 -3.085819)', '2026-07-17 17:01:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407 -3.08581)'), GeomFromEWKT('SRID=4674;POINT (-39.407046 -3.085819)'))) / (select extract(epoch from '2026-07-17 17:01:39'::timestamp) - extract(epoch from '2026-07-17 17:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407 -3.08581)'), GeomFromEWKT('SRID=4674;POINT (-39.407046 -3.085819)'))) / (select extract(epoch from '2026-07-17 17:01:39'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47991, 'SRID=4674;POINT (-39.407098 -3.085829)', '2026-07-17 17:01:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407046 -3.085819)'), GeomFromEWKT('SRID=4674;POINT (-39.407098 -3.085829)'))) / (select extract(epoch from '2026-07-17 17:01:47'::timestamp) - extract(epoch from '2026-07-17 17:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407046 -3.085819)'), GeomFromEWKT('SRID=4674;POINT (-39.407098 -3.085829)'))) / (select extract(epoch from '2026-07-17 17:01:47'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47991, 'SRID=4674;POINT (-39.407143 -3.085835)', '2026-07-17 17:01:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407098 -3.085829)'), GeomFromEWKT('SRID=4674;POINT (-39.407143 -3.085835)'))) / (select extract(epoch from '2026-07-17 17:01:56'::timestamp) - extract(epoch from '2026-07-17 17:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407098 -3.085829)'), GeomFromEWKT('SRID=4674;POINT (-39.407143 -3.085835)'))) / (select extract(epoch from '2026-07-17 17:01:56'::timestamp) - extract(epoch from '2026-07-17 17:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407196 -3.085847)', '2026-07-17 17:02:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407143 -3.085835)'), GeomFromEWKT('SRID=4674;POINT (-39.407196 -3.085847)'))) / (select extract(epoch from '2026-07-17 17:02:05'::timestamp) - extract(epoch from '2026-07-17 17:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407143 -3.085835)'), GeomFromEWKT('SRID=4674;POINT (-39.407196 -3.085847)'))) / (select extract(epoch from '2026-07-17 17:02:05'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47991, 'SRID=4674;POINT (-39.407228 -3.085851)', '2026-07-17 17:02:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407196 -3.085847)'), GeomFromEWKT('SRID=4674;POINT (-39.407228 -3.085851)'))) / (select extract(epoch from '2026-07-17 17:02:12'::timestamp) - extract(epoch from '2026-07-17 17:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407196 -3.085847)'), GeomFromEWKT('SRID=4674;POINT (-39.407228 -3.085851)'))) / (select extract(epoch from '2026-07-17 17:02:12'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47991, 'SRID=4674;POINT (-39.407299 -3.085859)', '2026-07-17 17:02:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407228 -3.085851)'), GeomFromEWKT('SRID=4674;POINT (-39.407299 -3.085859)'))) / (select extract(epoch from '2026-07-17 17:02:24'::timestamp) - extract(epoch from '2026-07-17 17:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407228 -3.085851)'), GeomFromEWKT('SRID=4674;POINT (-39.407299 -3.085859)'))) / (select extract(epoch from '2026-07-17 17:02:24'::timestamp) - extract(epoch from '2026-07-17 17:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407355 -3.085855)', '2026-07-17 17:02:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407299 -3.085859)'), GeomFromEWKT('SRID=4674;POINT (-39.407355 -3.085855)'))) / (select extract(epoch from '2026-07-17 17:02:31'::timestamp) - extract(epoch from '2026-07-17 17:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407299 -3.085859)'), GeomFromEWKT('SRID=4674;POINT (-39.407355 -3.085855)'))) / (select extract(epoch from '2026-07-17 17:02:31'::timestamp) - extract(epoch from '2026-07-17 17:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407397 -3.085858)', '2026-07-17 17:02:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407355 -3.085855)'), GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.085858)'))) / (select extract(epoch from '2026-07-17 17:02:37'::timestamp) - extract(epoch from '2026-07-17 17:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407355 -3.085855)'), GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.085858)'))) / (select extract(epoch from '2026-07-17 17:02:37'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47991, 'SRID=4674;POINT (-39.407444 -3.085858)', '2026-07-17 17:02:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.085858)'), GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.085858)'))) / (select extract(epoch from '2026-07-17 17:02:45'::timestamp) - extract(epoch from '2026-07-17 17:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.085858)'), GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.085858)'))) / (select extract(epoch from '2026-07-17 17:02:45'::timestamp) - extract(epoch from '2026-07-17 17:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407473 -3.085856)', '2026-07-17 17:02:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.085858)'), GeomFromEWKT('SRID=4674;POINT (-39.407473 -3.085856)'))) / (select extract(epoch from '2026-07-17 17:02:50'::timestamp) - extract(epoch from '2026-07-17 17:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.085858)'), GeomFromEWKT('SRID=4674;POINT (-39.407473 -3.085856)'))) / (select extract(epoch from '2026-07-17 17:02:50'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47991, 'SRID=4674;POINT (-39.407509 -3.085862)', '2026-07-17 17:02:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407473 -3.085856)'), GeomFromEWKT('SRID=4674;POINT (-39.407509 -3.085862)'))) / (select extract(epoch from '2026-07-17 17:02:56'::timestamp) - extract(epoch from '2026-07-17 17:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407473 -3.085856)'), GeomFromEWKT('SRID=4674;POINT (-39.407509 -3.085862)'))) / (select extract(epoch from '2026-07-17 17:02:56'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47991, 'SRID=4674;POINT (-39.407546 -3.085871)', '2026-07-17 17:03:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407509 -3.085862)'), GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.085871)'))) / (select extract(epoch from '2026-07-17 17:03:01'::timestamp) - extract(epoch from '2026-07-17 17:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407509 -3.085862)'), GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.085871)'))) / (select extract(epoch from '2026-07-17 17:03:01'::timestamp) - extract(epoch from '2026-07-17 17:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.40759 -3.085874)', '2026-07-17 17:03:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.085871)'), GeomFromEWKT('SRID=4674;POINT (-39.40759 -3.085874)'))) / (select extract(epoch from '2026-07-17 17:03:08'::timestamp) - extract(epoch from '2026-07-17 17:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.085871)'), GeomFromEWKT('SRID=4674;POINT (-39.40759 -3.085874)'))) / (select extract(epoch from '2026-07-17 17:03:08'::timestamp) - extract(epoch from '2026-07-17 17:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407628 -3.08587)', '2026-07-17 17:03:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40759 -3.085874)'), GeomFromEWKT('SRID=4674;POINT (-39.407628 -3.08587)'))) / (select extract(epoch from '2026-07-17 17:03:14'::timestamp) - extract(epoch from '2026-07-17 17:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40759 -3.085874)'), GeomFromEWKT('SRID=4674;POINT (-39.407628 -3.08587)'))) / (select extract(epoch from '2026-07-17 17:03:14'::timestamp) - extract(epoch from '2026-07-17 17:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407673 -3.08587)', '2026-07-17 17:03:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407628 -3.08587)'), GeomFromEWKT('SRID=4674;POINT (-39.407673 -3.08587)'))) / (select extract(epoch from '2026-07-17 17:03:22'::timestamp) - extract(epoch from '2026-07-17 17:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407628 -3.08587)'), GeomFromEWKT('SRID=4674;POINT (-39.407673 -3.08587)'))) / (select extract(epoch from '2026-07-17 17:03:22'::timestamp) - extract(epoch from '2026-07-17 17:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407744 -3.085866)', '2026-07-17 17:03:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407673 -3.08587)'), GeomFromEWKT('SRID=4674;POINT (-39.407744 -3.085866)'))) / (select extract(epoch from '2026-07-17 17:03:33'::timestamp) - extract(epoch from '2026-07-17 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407673 -3.08587)'), GeomFromEWKT('SRID=4674;POINT (-39.407744 -3.085866)'))) / (select extract(epoch from '2026-07-17 17:03:33'::timestamp) - extract(epoch from '2026-07-17 17:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.407811 -3.085869)', '2026-07-17 17:03:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407744 -3.085866)'), GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.085869)'))) / (select extract(epoch from '2026-07-17 17:03:44'::timestamp) - extract(epoch from '2026-07-17 17:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407744 -3.085866)'), GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.085869)'))) / (select extract(epoch from '2026-07-17 17:03:44'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47991, 'SRID=4674;POINT (-39.407895 -3.085873)', '2026-07-17 17:03:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.085869)'), GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.085873)'))) / (select extract(epoch from '2026-07-17 17:03:58'::timestamp) - extract(epoch from '2026-07-17 17:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.085869)'), GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.085873)'))) / (select extract(epoch from '2026-07-17 17:03:58'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47991, 'SRID=4674;POINT (-39.407968 -3.085882)', '2026-07-17 17:04:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.085873)'), GeomFromEWKT('SRID=4674;POINT (-39.407968 -3.085882)'))) / (select extract(epoch from '2026-07-17 17:04:11'::timestamp) - extract(epoch from '2026-07-17 17:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.085873)'), GeomFromEWKT('SRID=4674;POINT (-39.407968 -3.085882)'))) / (select extract(epoch from '2026-07-17 17:04:11'::timestamp) - extract(epoch from '2026-07-17 17:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408046 -3.08588)', '2026-07-17 17:04:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407968 -3.085882)'), GeomFromEWKT('SRID=4674;POINT (-39.408046 -3.08588)'))) / (select extract(epoch from '2026-07-17 17:04:24'::timestamp) - extract(epoch from '2026-07-17 17:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407968 -3.085882)'), GeomFromEWKT('SRID=4674;POINT (-39.408046 -3.08588)'))) / (select extract(epoch from '2026-07-17 17:04:24'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47991, 'SRID=4674;POINT (-39.408103 -3.085894)', '2026-07-17 17:04:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408046 -3.08588)'), GeomFromEWKT('SRID=4674;POINT (-39.408103 -3.085894)'))) / (select extract(epoch from '2026-07-17 17:04:32'::timestamp) - extract(epoch from '2026-07-17 17:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408046 -3.08588)'), GeomFromEWKT('SRID=4674;POINT (-39.408103 -3.085894)'))) / (select extract(epoch from '2026-07-17 17:04:32'::timestamp) - extract(epoch from '2026-07-17 17:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408139 -3.085897)', '2026-07-17 17:04:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408103 -3.085894)'), GeomFromEWKT('SRID=4674;POINT (-39.408139 -3.085897)'))) / (select extract(epoch from '2026-07-17 17:04:40'::timestamp) - extract(epoch from '2026-07-17 17:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408103 -3.085894)'), GeomFromEWKT('SRID=4674;POINT (-39.408139 -3.085897)'))) / (select extract(epoch from '2026-07-17 17:04:40'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47991, 'SRID=4674;POINT (-39.408188 -3.085886)', '2026-07-17 17:04:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408139 -3.085897)'), GeomFromEWKT('SRID=4674;POINT (-39.408188 -3.085886)'))) / (select extract(epoch from '2026-07-17 17:04:51'::timestamp) - extract(epoch from '2026-07-17 17:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408139 -3.085897)'), GeomFromEWKT('SRID=4674;POINT (-39.408188 -3.085886)'))) / (select extract(epoch from '2026-07-17 17:04:51'::timestamp) - extract(epoch from '2026-07-17 17:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408233 -3.085899)', '2026-07-17 17:05:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408188 -3.085886)'), GeomFromEWKT('SRID=4674;POINT (-39.408233 -3.085899)'))) / (select extract(epoch from '2026-07-17 17:05:01'::timestamp) - extract(epoch from '2026-07-17 17:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408188 -3.085886)'), GeomFromEWKT('SRID=4674;POINT (-39.408233 -3.085899)'))) / (select extract(epoch from '2026-07-17 17:05:01'::timestamp) - extract(epoch from '2026-07-17 17:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408291 -3.085911)', '2026-07-17 17:05:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408233 -3.085899)'), GeomFromEWKT('SRID=4674;POINT (-39.408291 -3.085911)'))) / (select extract(epoch from '2026-07-17 17:05:11'::timestamp) - extract(epoch from '2026-07-17 17:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408233 -3.085899)'), GeomFromEWKT('SRID=4674;POINT (-39.408291 -3.085911)'))) / (select extract(epoch from '2026-07-17 17:05:11'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47991, 'SRID=4674;POINT (-39.408371 -3.085911)', '2026-07-17 17:05:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408291 -3.085911)'), GeomFromEWKT('SRID=4674;POINT (-39.408371 -3.085911)'))) / (select extract(epoch from '2026-07-17 17:05:23'::timestamp) - extract(epoch from '2026-07-17 17:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408291 -3.085911)'), GeomFromEWKT('SRID=4674;POINT (-39.408371 -3.085911)'))) / (select extract(epoch from '2026-07-17 17:05:23'::timestamp) - extract(epoch from '2026-07-17 17:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408423 -3.085914)', '2026-07-17 17:05:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408371 -3.085911)'), GeomFromEWKT('SRID=4674;POINT (-39.408423 -3.085914)'))) / (select extract(epoch from '2026-07-17 17:05:33'::timestamp) - extract(epoch from '2026-07-17 17:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408371 -3.085911)'), GeomFromEWKT('SRID=4674;POINT (-39.408423 -3.085914)'))) / (select extract(epoch from '2026-07-17 17:05:33'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47991, 'SRID=4674;POINT (-39.408491 -3.085923)', '2026-07-17 17:05:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408423 -3.085914)'), GeomFromEWKT('SRID=4674;POINT (-39.408491 -3.085923)'))) / (select extract(epoch from '2026-07-17 17:05:43'::timestamp) - extract(epoch from '2026-07-17 17:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408423 -3.085914)'), GeomFromEWKT('SRID=4674;POINT (-39.408491 -3.085923)'))) / (select extract(epoch from '2026-07-17 17:05:43'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47991, 'SRID=4674;POINT (-39.408529 -3.085914)', '2026-07-17 17:05:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408491 -3.085923)'), GeomFromEWKT('SRID=4674;POINT (-39.408529 -3.085914)'))) / (select extract(epoch from '2026-07-17 17:05:49'::timestamp) - extract(epoch from '2026-07-17 17:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408491 -3.085923)'), GeomFromEWKT('SRID=4674;POINT (-39.408529 -3.085914)'))) / (select extract(epoch from '2026-07-17 17:05:49'::timestamp) - extract(epoch from '2026-07-17 17:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408573 -3.085912)', '2026-07-17 17:05:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408529 -3.085914)'), GeomFromEWKT('SRID=4674;POINT (-39.408573 -3.085912)'))) / (select extract(epoch from '2026-07-17 17:05:55'::timestamp) - extract(epoch from '2026-07-17 17:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408529 -3.085914)'), GeomFromEWKT('SRID=4674;POINT (-39.408573 -3.085912)'))) / (select extract(epoch from '2026-07-17 17:05:55'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47991, 'SRID=4674;POINT (-39.408626 -3.08593)', '2026-07-17 17:06:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408573 -3.085912)'), GeomFromEWKT('SRID=4674;POINT (-39.408626 -3.08593)'))) / (select extract(epoch from '2026-07-17 17:06:05'::timestamp) - extract(epoch from '2026-07-17 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408573 -3.085912)'), GeomFromEWKT('SRID=4674;POINT (-39.408626 -3.08593)'))) / (select extract(epoch from '2026-07-17 17:06:05'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47991, 'SRID=4674;POINT (-39.408664 -3.08593)', '2026-07-17 17:06:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408626 -3.08593)'), GeomFromEWKT('SRID=4674;POINT (-39.408664 -3.08593)'))) / (select extract(epoch from '2026-07-17 17:06:11'::timestamp) - extract(epoch from '2026-07-17 17:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408626 -3.08593)'), GeomFromEWKT('SRID=4674;POINT (-39.408664 -3.08593)'))) / (select extract(epoch from '2026-07-17 17:06:11'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47991, 'SRID=4674;POINT (-39.408708 -3.085919)', '2026-07-17 17:06:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408664 -3.08593)'), GeomFromEWKT('SRID=4674;POINT (-39.408708 -3.085919)'))) / (select extract(epoch from '2026-07-17 17:06:20'::timestamp) - extract(epoch from '2026-07-17 17:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408664 -3.08593)'), GeomFromEWKT('SRID=4674;POINT (-39.408708 -3.085919)'))) / (select extract(epoch from '2026-07-17 17:06:20'::timestamp) - extract(epoch from '2026-07-17 17:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.408749 -3.085931)', '2026-07-17 17:06:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408708 -3.085919)'), GeomFromEWKT('SRID=4674;POINT (-39.408749 -3.085931)'))) / (select extract(epoch from '2026-07-17 17:06:27'::timestamp) - extract(epoch from '2026-07-17 17:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408708 -3.085919)'), GeomFromEWKT('SRID=4674;POINT (-39.408749 -3.085931)'))) / (select extract(epoch from '2026-07-17 17:06:27'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47991, 'SRID=4674;POINT (-39.408795 -3.085942)', '2026-07-17 17:06:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408749 -3.085931)'), GeomFromEWKT('SRID=4674;POINT (-39.408795 -3.085942)'))) / (select extract(epoch from '2026-07-17 17:06:34'::timestamp) - extract(epoch from '2026-07-17 17:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408749 -3.085931)'), GeomFromEWKT('SRID=4674;POINT (-39.408795 -3.085942)'))) / (select extract(epoch from '2026-07-17 17:06:34'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47991, 'SRID=4674;POINT (-39.408833 -3.085946)', '2026-07-17 17:06:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408795 -3.085942)'), GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.085946)'))) / (select extract(epoch from '2026-07-17 17:06:39'::timestamp) - extract(epoch from '2026-07-17 17:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408795 -3.085942)'), GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.085946)'))) / (select extract(epoch from '2026-07-17 17:06:39'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47991, 'SRID=4674;POINT (-39.408852 -3.085951)', '2026-07-17 17:06:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.085946)'), GeomFromEWKT('SRID=4674;POINT (-39.408852 -3.085951)'))) / (select extract(epoch from '2026-07-17 17:06:44'::timestamp) - extract(epoch from '2026-07-17 17:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408833 -3.085946)'), GeomFromEWKT('SRID=4674;POINT (-39.408852 -3.085951)'))) / (select extract(epoch from '2026-07-17 17:06:44'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47991, 'SRID=4674;POINT (-39.408913 -3.085955)', '2026-07-17 17:06:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408852 -3.085951)'), GeomFromEWKT('SRID=4674;POINT (-39.408913 -3.085955)'))) / (select extract(epoch from '2026-07-17 17:06:54'::timestamp) - extract(epoch from '2026-07-17 17:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408852 -3.085951)'), GeomFromEWKT('SRID=4674;POINT (-39.408913 -3.085955)'))) / (select extract(epoch from '2026-07-17 17:06:54'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47991, 'SRID=4674;POINT (-39.408982 -3.085956)', '2026-07-17 17:07:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408913 -3.085955)'), GeomFromEWKT('SRID=4674;POINT (-39.408982 -3.085956)'))) / (select extract(epoch from '2026-07-17 17:07:05'::timestamp) - extract(epoch from '2026-07-17 17:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408913 -3.085955)'), GeomFromEWKT('SRID=4674;POINT (-39.408982 -3.085956)'))) / (select extract(epoch from '2026-07-17 17:07:05'::timestamp) - extract(epoch from '2026-07-17 17:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409025 -3.085961)', '2026-07-17 17:07:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408982 -3.085956)'), GeomFromEWKT('SRID=4674;POINT (-39.409025 -3.085961)'))) / (select extract(epoch from '2026-07-17 17:07:14'::timestamp) - extract(epoch from '2026-07-17 17:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408982 -3.085956)'), GeomFromEWKT('SRID=4674;POINT (-39.409025 -3.085961)'))) / (select extract(epoch from '2026-07-17 17:07:14'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47991, 'SRID=4674;POINT (-39.409065 -3.085963)', '2026-07-17 17:07:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409025 -3.085961)'), GeomFromEWKT('SRID=4674;POINT (-39.409065 -3.085963)'))) / (select extract(epoch from '2026-07-17 17:07:21'::timestamp) - extract(epoch from '2026-07-17 17:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409025 -3.085961)'), GeomFromEWKT('SRID=4674;POINT (-39.409065 -3.085963)'))) / (select extract(epoch from '2026-07-17 17:07:21'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47991, 'SRID=4674;POINT (-39.409101 -3.085971)', '2026-07-17 17:07:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409065 -3.085963)'), GeomFromEWKT('SRID=4674;POINT (-39.409101 -3.085971)'))) / (select extract(epoch from '2026-07-17 17:07:28'::timestamp) - extract(epoch from '2026-07-17 17:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409065 -3.085963)'), GeomFromEWKT('SRID=4674;POINT (-39.409101 -3.085971)'))) / (select extract(epoch from '2026-07-17 17:07:28'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47991, 'SRID=4674;POINT (-39.409134 -3.085962)', '2026-07-17 17:07:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409101 -3.085971)'), GeomFromEWKT('SRID=4674;POINT (-39.409134 -3.085962)'))) / (select extract(epoch from '2026-07-17 17:07:35'::timestamp) - extract(epoch from '2026-07-17 17:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409101 -3.085971)'), GeomFromEWKT('SRID=4674;POINT (-39.409134 -3.085962)'))) / (select extract(epoch from '2026-07-17 17:07:35'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47991, 'SRID=4674;POINT (-39.409165 -3.085958)', '2026-07-17 17:07:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409134 -3.085962)'), GeomFromEWKT('SRID=4674;POINT (-39.409165 -3.085958)'))) / (select extract(epoch from '2026-07-17 17:07:41'::timestamp) - extract(epoch from '2026-07-17 17:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409134 -3.085962)'), GeomFromEWKT('SRID=4674;POINT (-39.409165 -3.085958)'))) / (select extract(epoch from '2026-07-17 17:07:41'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47991, 'SRID=4674;POINT (-39.409194 -3.085967)', '2026-07-17 17:07:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409165 -3.085958)'), GeomFromEWKT('SRID=4674;POINT (-39.409194 -3.085967)'))) / (select extract(epoch from '2026-07-17 17:07:48'::timestamp) - extract(epoch from '2026-07-17 17:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409165 -3.085958)'), GeomFromEWKT('SRID=4674;POINT (-39.409194 -3.085967)'))) / (select extract(epoch from '2026-07-17 17:07:48'::timestamp) - extract(epoch from '2026-07-17 17:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409259 -3.085972)', '2026-07-17 17:07:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409194 -3.085967)'), GeomFromEWKT('SRID=4674;POINT (-39.409259 -3.085972)'))) / (select extract(epoch from '2026-07-17 17:07:58'::timestamp) - extract(epoch from '2026-07-17 17:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409194 -3.085967)'), GeomFromEWKT('SRID=4674;POINT (-39.409259 -3.085972)'))) / (select extract(epoch from '2026-07-17 17:07:58'::timestamp) - extract(epoch from '2026-07-17 17:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409291 -3.085967)', '2026-07-17 17:08:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409259 -3.085972)'), GeomFromEWKT('SRID=4674;POINT (-39.409291 -3.085967)'))) / (select extract(epoch from '2026-07-17 17:08:03'::timestamp) - extract(epoch from '2026-07-17 17:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409259 -3.085972)'), GeomFromEWKT('SRID=4674;POINT (-39.409291 -3.085967)'))) / (select extract(epoch from '2026-07-17 17:08:03'::timestamp) - extract(epoch from '2026-07-17 17:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409356 -3.085976)', '2026-07-17 17:08:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409291 -3.085967)'), GeomFromEWKT('SRID=4674;POINT (-39.409356 -3.085976)'))) / (select extract(epoch from '2026-07-17 17:08:15'::timestamp) - extract(epoch from '2026-07-17 17:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409291 -3.085967)'), GeomFromEWKT('SRID=4674;POINT (-39.409356 -3.085976)'))) / (select extract(epoch from '2026-07-17 17:08:15'::timestamp) - extract(epoch from '2026-07-17 17:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409457 -3.086005)', '2026-07-17 17:08:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409356 -3.085976)'), GeomFromEWKT('SRID=4674;POINT (-39.409457 -3.086005)'))) / (select extract(epoch from '2026-07-17 17:08:31'::timestamp) - extract(epoch from '2026-07-17 17:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409356 -3.085976)'), GeomFromEWKT('SRID=4674;POINT (-39.409457 -3.086005)'))) / (select extract(epoch from '2026-07-17 17:08:31'::timestamp) - extract(epoch from '2026-07-17 17:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409508 -3.085998)', '2026-07-17 17:08:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409457 -3.086005)'), GeomFromEWKT('SRID=4674;POINT (-39.409508 -3.085998)'))) / (select extract(epoch from '2026-07-17 17:08:40'::timestamp) - extract(epoch from '2026-07-17 17:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409457 -3.086005)'), GeomFromEWKT('SRID=4674;POINT (-39.409508 -3.085998)'))) / (select extract(epoch from '2026-07-17 17:08:40'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47991, 'SRID=4674;POINT (-39.409571 -3.086004)', '2026-07-17 17:08:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409508 -3.085998)'), GeomFromEWKT('SRID=4674;POINT (-39.409571 -3.086004)'))) / (select extract(epoch from '2026-07-17 17:08:51'::timestamp) - extract(epoch from '2026-07-17 17:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409508 -3.085998)'), GeomFromEWKT('SRID=4674;POINT (-39.409571 -3.086004)'))) / (select extract(epoch from '2026-07-17 17:08:51'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47991, 'SRID=4674;POINT (-39.409627 -3.086002)', '2026-07-17 17:09:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409571 -3.086004)'), GeomFromEWKT('SRID=4674;POINT (-39.409627 -3.086002)'))) / (select extract(epoch from '2026-07-17 17:09:00'::timestamp) - extract(epoch from '2026-07-17 17:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409571 -3.086004)'), GeomFromEWKT('SRID=4674;POINT (-39.409627 -3.086002)'))) / (select extract(epoch from '2026-07-17 17:09:00'::timestamp) - extract(epoch from '2026-07-17 17:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409671 -3.085994)', '2026-07-17 17:09:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409627 -3.086002)'), GeomFromEWKT('SRID=4674;POINT (-39.409671 -3.085994)'))) / (select extract(epoch from '2026-07-17 17:09:09'::timestamp) - extract(epoch from '2026-07-17 17:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409627 -3.086002)'), GeomFromEWKT('SRID=4674;POINT (-39.409671 -3.085994)'))) / (select extract(epoch from '2026-07-17 17:09:09'::timestamp) - extract(epoch from '2026-07-17 17:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409758 -3.086001)', '2026-07-17 17:09:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409671 -3.085994)'), GeomFromEWKT('SRID=4674;POINT (-39.409758 -3.086001)'))) / (select extract(epoch from '2026-07-17 17:09:26'::timestamp) - extract(epoch from '2026-07-17 17:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409671 -3.085994)'), GeomFromEWKT('SRID=4674;POINT (-39.409758 -3.086001)'))) / (select extract(epoch from '2026-07-17 17:09:26'::timestamp) - extract(epoch from '2026-07-17 17:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409858 -3.085995)', '2026-07-17 17:09:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409758 -3.086001)'), GeomFromEWKT('SRID=4674;POINT (-39.409858 -3.085995)'))) / (select extract(epoch from '2026-07-17 17:09:41'::timestamp) - extract(epoch from '2026-07-17 17:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409758 -3.086001)'), GeomFromEWKT('SRID=4674;POINT (-39.409858 -3.085995)'))) / (select extract(epoch from '2026-07-17 17:09:41'::timestamp) - extract(epoch from '2026-07-17 17:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409905 -3.086003)', '2026-07-17 17:09:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409858 -3.085995)'), GeomFromEWKT('SRID=4674;POINT (-39.409905 -3.086003)'))) / (select extract(epoch from '2026-07-17 17:09:52'::timestamp) - extract(epoch from '2026-07-17 17:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409858 -3.085995)'), GeomFromEWKT('SRID=4674;POINT (-39.409905 -3.086003)'))) / (select extract(epoch from '2026-07-17 17:09:52'::timestamp) - extract(epoch from '2026-07-17 17:09:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.409938 -3.086004)', '2026-07-17 17:09:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409905 -3.086003)'), GeomFromEWKT('SRID=4674;POINT (-39.409938 -3.086004)'))) / (select extract(epoch from '2026-07-17 17:09:57'::timestamp) - extract(epoch from '2026-07-17 17:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409905 -3.086003)'), GeomFromEWKT('SRID=4674;POINT (-39.409938 -3.086004)'))) / (select extract(epoch from '2026-07-17 17:09:57'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47991, 'SRID=4674;POINT (-39.409995 -3.086014)', '2026-07-17 17:10:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409938 -3.086004)'), GeomFromEWKT('SRID=4674;POINT (-39.409995 -3.086014)'))) / (select extract(epoch from '2026-07-17 17:10:06'::timestamp) - extract(epoch from '2026-07-17 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409938 -3.086004)'), GeomFromEWKT('SRID=4674;POINT (-39.409995 -3.086014)'))) / (select extract(epoch from '2026-07-17 17:10:06'::timestamp) - extract(epoch from '2026-07-17 17:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410063 -3.086024)', '2026-07-17 17:10:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409995 -3.086014)'), GeomFromEWKT('SRID=4674;POINT (-39.410063 -3.086024)'))) / (select extract(epoch from '2026-07-17 17:10:18'::timestamp) - extract(epoch from '2026-07-17 17:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409995 -3.086014)'), GeomFromEWKT('SRID=4674;POINT (-39.410063 -3.086024)'))) / (select extract(epoch from '2026-07-17 17:10:18'::timestamp) - extract(epoch from '2026-07-17 17:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410117 -3.086023)', '2026-07-17 17:10:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410063 -3.086024)'), GeomFromEWKT('SRID=4674;POINT (-39.410117 -3.086023)'))) / (select extract(epoch from '2026-07-17 17:10:27'::timestamp) - extract(epoch from '2026-07-17 17:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410063 -3.086024)'), GeomFromEWKT('SRID=4674;POINT (-39.410117 -3.086023)'))) / (select extract(epoch from '2026-07-17 17:10:27'::timestamp) - extract(epoch from '2026-07-17 17:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410168 -3.086029)', '2026-07-17 17:10:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410117 -3.086023)'), GeomFromEWKT('SRID=4674;POINT (-39.410168 -3.086029)'))) / (select extract(epoch from '2026-07-17 17:10:37'::timestamp) - extract(epoch from '2026-07-17 17:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410117 -3.086023)'), GeomFromEWKT('SRID=4674;POINT (-39.410168 -3.086029)'))) / (select extract(epoch from '2026-07-17 17:10:37'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47991, 'SRID=4674;POINT (-39.410228 -3.086042)', '2026-07-17 17:10:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410168 -3.086029)'), GeomFromEWKT('SRID=4674;POINT (-39.410228 -3.086042)'))) / (select extract(epoch from '2026-07-17 17:10:48'::timestamp) - extract(epoch from '2026-07-17 17:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410168 -3.086029)'), GeomFromEWKT('SRID=4674;POINT (-39.410228 -3.086042)'))) / (select extract(epoch from '2026-07-17 17:10:48'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47991, 'SRID=4674;POINT (-39.410317 -3.086081)', '2026-07-17 17:11:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410228 -3.086042)'), GeomFromEWKT('SRID=4674;POINT (-39.410317 -3.086081)'))) / (select extract(epoch from '2026-07-17 17:11:03'::timestamp) - extract(epoch from '2026-07-17 17:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410228 -3.086042)'), GeomFromEWKT('SRID=4674;POINT (-39.410317 -3.086081)'))) / (select extract(epoch from '2026-07-17 17:11:03'::timestamp) - extract(epoch from '2026-07-17 17:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410359 -3.086075)', '2026-07-17 17:11:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410317 -3.086081)'), GeomFromEWKT('SRID=4674;POINT (-39.410359 -3.086075)'))) / (select extract(epoch from '2026-07-17 17:11:11'::timestamp) - extract(epoch from '2026-07-17 17:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410317 -3.086081)'), GeomFromEWKT('SRID=4674;POINT (-39.410359 -3.086075)'))) / (select extract(epoch from '2026-07-17 17:11:11'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47991, 'SRID=4674;POINT (-39.410433 -3.086071)', '2026-07-17 17:11:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410359 -3.086075)'), GeomFromEWKT('SRID=4674;POINT (-39.410433 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:11:25'::timestamp) - extract(epoch from '2026-07-17 17:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410359 -3.086075)'), GeomFromEWKT('SRID=4674;POINT (-39.410433 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:11:25'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47991, 'SRID=4674;POINT (-39.410445 -3.086081)', '2026-07-17 17:11:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410433 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.410445 -3.086081)'))) / (select extract(epoch from '2026-07-17 17:11:26'::timestamp) - extract(epoch from '2026-07-17 17:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410433 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.410445 -3.086081)'))) / (select extract(epoch from '2026-07-17 17:11:26'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47991, 'SRID=4674;POINT (-39.41046 -3.086074)', '2026-07-17 17:11:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410445 -3.086081)'), GeomFromEWKT('SRID=4674;POINT (-39.41046 -3.086074)'))) / (select extract(epoch from '2026-07-17 17:11:32'::timestamp) - extract(epoch from '2026-07-17 17:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410445 -3.086081)'), GeomFromEWKT('SRID=4674;POINT (-39.41046 -3.086074)'))) / (select extract(epoch from '2026-07-17 17:11:32'::timestamp) - extract(epoch from '2026-07-17 17:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410528 -3.086077)', '2026-07-17 17:11:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41046 -3.086074)'), GeomFromEWKT('SRID=4674;POINT (-39.410528 -3.086077)'))) / (select extract(epoch from '2026-07-17 17:11:41'::timestamp) - extract(epoch from '2026-07-17 17:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41046 -3.086074)'), GeomFromEWKT('SRID=4674;POINT (-39.410528 -3.086077)'))) / (select extract(epoch from '2026-07-17 17:11:41'::timestamp) - extract(epoch from '2026-07-17 17:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410622 -3.086093)', '2026-07-17 17:11:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410528 -3.086077)'), GeomFromEWKT('SRID=4674;POINT (-39.410622 -3.086093)'))) / (select extract(epoch from '2026-07-17 17:11:55'::timestamp) - extract(epoch from '2026-07-17 17:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410528 -3.086077)'), GeomFromEWKT('SRID=4674;POINT (-39.410622 -3.086093)'))) / (select extract(epoch from '2026-07-17 17:11:55'::timestamp) - extract(epoch from '2026-07-17 17:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410668 -3.086098)', '2026-07-17 17:12:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410622 -3.086093)'), GeomFromEWKT('SRID=4674;POINT (-39.410668 -3.086098)'))) / (select extract(epoch from '2026-07-17 17:12:01'::timestamp) - extract(epoch from '2026-07-17 17:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410622 -3.086093)'), GeomFromEWKT('SRID=4674;POINT (-39.410668 -3.086098)'))) / (select extract(epoch from '2026-07-17 17:12:01'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47991, 'SRID=4674;POINT (-39.410709 -3.086093)', '2026-07-17 17:12:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410668 -3.086098)'), GeomFromEWKT('SRID=4674;POINT (-39.410709 -3.086093)'))) / (select extract(epoch from '2026-07-17 17:12:08'::timestamp) - extract(epoch from '2026-07-17 17:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410668 -3.086098)'), GeomFromEWKT('SRID=4674;POINT (-39.410709 -3.086093)'))) / (select extract(epoch from '2026-07-17 17:12:08'::timestamp) - extract(epoch from '2026-07-17 17:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410749 -3.086091)', '2026-07-17 17:12:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410709 -3.086093)'), GeomFromEWKT('SRID=4674;POINT (-39.410749 -3.086091)'))) / (select extract(epoch from '2026-07-17 17:12:14'::timestamp) - extract(epoch from '2026-07-17 17:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410709 -3.086093)'), GeomFromEWKT('SRID=4674;POINT (-39.410749 -3.086091)'))) / (select extract(epoch from '2026-07-17 17:12:14'::timestamp) - extract(epoch from '2026-07-17 17:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41076 -3.086084)', '2026-07-17 17:12:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410749 -3.086091)'), GeomFromEWKT('SRID=4674;POINT (-39.41076 -3.086084)'))) / (select extract(epoch from '2026-07-17 17:12:17'::timestamp) - extract(epoch from '2026-07-17 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410749 -3.086091)'), GeomFromEWKT('SRID=4674;POINT (-39.41076 -3.086084)'))) / (select extract(epoch from '2026-07-17 17:12:17'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47991, 'SRID=4674;POINT (-39.41078 -3.086085)', '2026-07-17 17:12:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41076 -3.086084)'), GeomFromEWKT('SRID=4674;POINT (-39.41078 -3.086085)'))) / (select extract(epoch from '2026-07-17 17:12:19'::timestamp) - extract(epoch from '2026-07-17 17:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41076 -3.086084)'), GeomFromEWKT('SRID=4674;POINT (-39.41078 -3.086085)'))) / (select extract(epoch from '2026-07-17 17:12:19'::timestamp) - extract(epoch from '2026-07-17 17:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410818 -3.086083)', '2026-07-17 17:12:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41078 -3.086085)'), GeomFromEWKT('SRID=4674;POINT (-39.410818 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:12:26'::timestamp) - extract(epoch from '2026-07-17 17:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41078 -3.086085)'), GeomFromEWKT('SRID=4674;POINT (-39.410818 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:12:26'::timestamp) - extract(epoch from '2026-07-17 17:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410827 -3.086083)', '2026-07-17 17:12:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410818 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.410827 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:12:27'::timestamp) - extract(epoch from '2026-07-17 17:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410818 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.410827 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:12:27'::timestamp) - extract(epoch from '2026-07-17 17:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410846 -3.086077)', '2026-07-17 17:12:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410827 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.410846 -3.086077)'))) / (select extract(epoch from '2026-07-17 17:12:30'::timestamp) - extract(epoch from '2026-07-17 17:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410827 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.410846 -3.086077)'))) / (select extract(epoch from '2026-07-17 17:12:30'::timestamp) - extract(epoch from '2026-07-17 17:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.410857 -3.086075)', '2026-07-17 17:12:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410846 -3.086077)'), GeomFromEWKT('SRID=4674;POINT (-39.410857 -3.086075)'))) / (select extract(epoch from '2026-07-17 17:12:32'::timestamp) - extract(epoch from '2026-07-17 17:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410846 -3.086077)'), GeomFromEWKT('SRID=4674;POINT (-39.410857 -3.086075)'))) / (select extract(epoch from '2026-07-17 17:12:32'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47991, 'SRID=4674;POINT (-39.410906 -3.086068)', '2026-07-17 17:12:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410857 -3.086075)'), GeomFromEWKT('SRID=4674;POINT (-39.410906 -3.086068)'))) / (select extract(epoch from '2026-07-17 17:12:42'::timestamp) - extract(epoch from '2026-07-17 17:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410857 -3.086075)'), GeomFromEWKT('SRID=4674;POINT (-39.410906 -3.086068)'))) / (select extract(epoch from '2026-07-17 17:12:42'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47991, 'SRID=4674;POINT (-39.41095 -3.086067)', '2026-07-17 17:12:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410906 -3.086068)'), GeomFromEWKT('SRID=4674;POINT (-39.41095 -3.086067)'))) / (select extract(epoch from '2026-07-17 17:12:51'::timestamp) - extract(epoch from '2026-07-17 17:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410906 -3.086068)'), GeomFromEWKT('SRID=4674;POINT (-39.41095 -3.086067)'))) / (select extract(epoch from '2026-07-17 17:12:51'::timestamp) - extract(epoch from '2026-07-17 17:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.411004 -3.086071)', '2026-07-17 17:13:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41095 -3.086067)'), GeomFromEWKT('SRID=4674;POINT (-39.411004 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:13:00'::timestamp) - extract(epoch from '2026-07-17 17:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41095 -3.086067)'), GeomFromEWKT('SRID=4674;POINT (-39.411004 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:13:00'::timestamp) - extract(epoch from '2026-07-17 17:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.411065 -3.086068)', '2026-07-17 17:13:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411004 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.411065 -3.086068)'))) / (select extract(epoch from '2026-07-17 17:13:09'::timestamp) - extract(epoch from '2026-07-17 17:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411004 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.411065 -3.086068)'))) / (select extract(epoch from '2026-07-17 17:13:09'::timestamp) - extract(epoch from '2026-07-17 17:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41114 -3.086064)', '2026-07-17 17:13:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411065 -3.086068)'), GeomFromEWKT('SRID=4674;POINT (-39.41114 -3.086064)'))) / (select extract(epoch from '2026-07-17 17:13:21'::timestamp) - extract(epoch from '2026-07-17 17:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411065 -3.086068)'), GeomFromEWKT('SRID=4674;POINT (-39.41114 -3.086064)'))) / (select extract(epoch from '2026-07-17 17:13:21'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47991, 'SRID=4674;POINT (-39.411203 -3.086058)', '2026-07-17 17:13:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41114 -3.086064)'), GeomFromEWKT('SRID=4674;POINT (-39.411203 -3.086058)'))) / (select extract(epoch from '2026-07-17 17:13:32'::timestamp) - extract(epoch from '2026-07-17 17:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41114 -3.086064)'), GeomFromEWKT('SRID=4674;POINT (-39.411203 -3.086058)'))) / (select extract(epoch from '2026-07-17 17:13:32'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47991, 'SRID=4674;POINT (-39.411258 -3.086065)', '2026-07-17 17:13:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411203 -3.086058)'), GeomFromEWKT('SRID=4674;POINT (-39.411258 -3.086065)'))) / (select extract(epoch from '2026-07-17 17:13:40'::timestamp) - extract(epoch from '2026-07-17 17:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411203 -3.086058)'), GeomFromEWKT('SRID=4674;POINT (-39.411258 -3.086065)'))) / (select extract(epoch from '2026-07-17 17:13:40'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47991, 'SRID=4674;POINT (-39.411318 -3.086068)', '2026-07-17 17:13:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411258 -3.086065)'), GeomFromEWKT('SRID=4674;POINT (-39.411318 -3.086068)'))) / (select extract(epoch from '2026-07-17 17:13:50'::timestamp) - extract(epoch from '2026-07-17 17:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411258 -3.086065)'), GeomFromEWKT('SRID=4674;POINT (-39.411318 -3.086068)'))) / (select extract(epoch from '2026-07-17 17:13:50'::timestamp) - extract(epoch from '2026-07-17 17:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.411372 -3.086084)', '2026-07-17 17:14:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411318 -3.086068)'), GeomFromEWKT('SRID=4674;POINT (-39.411372 -3.086084)'))) / (select extract(epoch from '2026-07-17 17:14:01'::timestamp) - extract(epoch from '2026-07-17 17:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411318 -3.086068)'), GeomFromEWKT('SRID=4674;POINT (-39.411372 -3.086084)'))) / (select extract(epoch from '2026-07-17 17:14:01'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47991, 'SRID=4674;POINT (-39.41143 -3.086083)', '2026-07-17 17:14:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411372 -3.086084)'), GeomFromEWKT('SRID=4674;POINT (-39.41143 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:14:09'::timestamp) - extract(epoch from '2026-07-17 17:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411372 -3.086084)'), GeomFromEWKT('SRID=4674;POINT (-39.41143 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:14:09'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47991, 'SRID=4674;POINT (-39.411494 -3.086089)', '2026-07-17 17:14:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41143 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.411494 -3.086089)'))) / (select extract(epoch from '2026-07-17 17:14:22'::timestamp) - extract(epoch from '2026-07-17 17:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41143 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.411494 -3.086089)'))) / (select extract(epoch from '2026-07-17 17:14:22'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47991, 'SRID=4674;POINT (-39.411546 -3.086087)', '2026-07-17 17:14:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411494 -3.086089)'), GeomFromEWKT('SRID=4674;POINT (-39.411546 -3.086087)'))) / (select extract(epoch from '2026-07-17 17:14:33'::timestamp) - extract(epoch from '2026-07-17 17:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411494 -3.086089)'), GeomFromEWKT('SRID=4674;POINT (-39.411546 -3.086087)'))) / (select extract(epoch from '2026-07-17 17:14:33'::timestamp) - extract(epoch from '2026-07-17 17:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.411588 -3.08608)', '2026-07-17 17:14:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411546 -3.086087)'), GeomFromEWKT('SRID=4674;POINT (-39.411588 -3.08608)'))) / (select extract(epoch from '2026-07-17 17:14:40'::timestamp) - extract(epoch from '2026-07-17 17:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411546 -3.086087)'), GeomFromEWKT('SRID=4674;POINT (-39.411588 -3.08608)'))) / (select extract(epoch from '2026-07-17 17:14:40'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47991, 'SRID=4674;POINT (-39.411664 -3.086087)', '2026-07-17 17:14:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411588 -3.08608)'), GeomFromEWKT('SRID=4674;POINT (-39.411664 -3.086087)'))) / (select extract(epoch from '2026-07-17 17:14:52'::timestamp) - extract(epoch from '2026-07-17 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411588 -3.08608)'), GeomFromEWKT('SRID=4674;POINT (-39.411664 -3.086087)'))) / (select extract(epoch from '2026-07-17 17:14:52'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47991, 'SRID=4674;POINT (-39.411724 -3.086113)', '2026-07-17 17:15:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411664 -3.086087)'), GeomFromEWKT('SRID=4674;POINT (-39.411724 -3.086113)'))) / (select extract(epoch from '2026-07-17 17:15:02'::timestamp) - extract(epoch from '2026-07-17 17:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411664 -3.086087)'), GeomFromEWKT('SRID=4674;POINT (-39.411724 -3.086113)'))) / (select extract(epoch from '2026-07-17 17:15:02'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47991, 'SRID=4674;POINT (-39.41179 -3.086113)', '2026-07-17 17:15:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411724 -3.086113)'), GeomFromEWKT('SRID=4674;POINT (-39.41179 -3.086113)'))) / (select extract(epoch from '2026-07-17 17:15:13'::timestamp) - extract(epoch from '2026-07-17 17:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411724 -3.086113)'), GeomFromEWKT('SRID=4674;POINT (-39.41179 -3.086113)'))) / (select extract(epoch from '2026-07-17 17:15:13'::timestamp) - extract(epoch from '2026-07-17 17:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.411864 -3.086101)', '2026-07-17 17:15:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41179 -3.086113)'), GeomFromEWKT('SRID=4674;POINT (-39.411864 -3.086101)'))) / (select extract(epoch from '2026-07-17 17:15:24'::timestamp) - extract(epoch from '2026-07-17 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41179 -3.086113)'), GeomFromEWKT('SRID=4674;POINT (-39.411864 -3.086101)'))) / (select extract(epoch from '2026-07-17 17:15:24'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47991, 'SRID=4674;POINT (-39.411907 -3.086104)', '2026-07-17 17:15:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411864 -3.086101)'), GeomFromEWKT('SRID=4674;POINT (-39.411907 -3.086104)'))) / (select extract(epoch from '2026-07-17 17:15:31'::timestamp) - extract(epoch from '2026-07-17 17:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411864 -3.086101)'), GeomFromEWKT('SRID=4674;POINT (-39.411907 -3.086104)'))) / (select extract(epoch from '2026-07-17 17:15:31'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47991, 'SRID=4674;POINT (-39.41197 -3.086102)', '2026-07-17 17:15:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411907 -3.086104)'), GeomFromEWKT('SRID=4674;POINT (-39.41197 -3.086102)'))) / (select extract(epoch from '2026-07-17 17:15:41'::timestamp) - extract(epoch from '2026-07-17 17:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411907 -3.086104)'), GeomFromEWKT('SRID=4674;POINT (-39.41197 -3.086102)'))) / (select extract(epoch from '2026-07-17 17:15:41'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47991, 'SRID=4674;POINT (-39.412014 -3.086102)', '2026-07-17 17:15:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41197 -3.086102)'), GeomFromEWKT('SRID=4674;POINT (-39.412014 -3.086102)'))) / (select extract(epoch from '2026-07-17 17:15:48'::timestamp) - extract(epoch from '2026-07-17 17:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41197 -3.086102)'), GeomFromEWKT('SRID=4674;POINT (-39.412014 -3.086102)'))) / (select extract(epoch from '2026-07-17 17:15:48'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47991, 'SRID=4674;POINT (-39.412055 -3.086105)', '2026-07-17 17:15:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412014 -3.086102)'), GeomFromEWKT('SRID=4674;POINT (-39.412055 -3.086105)'))) / (select extract(epoch from '2026-07-17 17:15:55'::timestamp) - extract(epoch from '2026-07-17 17:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412014 -3.086102)'), GeomFromEWKT('SRID=4674;POINT (-39.412055 -3.086105)'))) / (select extract(epoch from '2026-07-17 17:15:55'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47991, 'SRID=4674;POINT (-39.412092 -3.08611)', '2026-07-17 17:16:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412055 -3.086105)'), GeomFromEWKT('SRID=4674;POINT (-39.412092 -3.08611)'))) / (select extract(epoch from '2026-07-17 17:16:00'::timestamp) - extract(epoch from '2026-07-17 17:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412055 -3.086105)'), GeomFromEWKT('SRID=4674;POINT (-39.412092 -3.08611)'))) / (select extract(epoch from '2026-07-17 17:16:00'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47991, 'SRID=4674;POINT (-39.412141 -3.086111)', '2026-07-17 17:16:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412092 -3.08611)'), GeomFromEWKT('SRID=4674;POINT (-39.412141 -3.086111)'))) / (select extract(epoch from '2026-07-17 17:16:07'::timestamp) - extract(epoch from '2026-07-17 17:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412092 -3.08611)'), GeomFromEWKT('SRID=4674;POINT (-39.412141 -3.086111)'))) / (select extract(epoch from '2026-07-17 17:16:07'::timestamp) - extract(epoch from '2026-07-17 17:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412161 -3.086105)', '2026-07-17 17:16:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412141 -3.086111)'), GeomFromEWKT('SRID=4674;POINT (-39.412161 -3.086105)'))) / (select extract(epoch from '2026-07-17 17:16:15'::timestamp) - extract(epoch from '2026-07-17 17:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412141 -3.086111)'), GeomFromEWKT('SRID=4674;POINT (-39.412161 -3.086105)'))) / (select extract(epoch from '2026-07-17 17:16:15'::timestamp) - extract(epoch from '2026-07-17 17:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412206 -3.086107)', '2026-07-17 17:16:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412161 -3.086105)'), GeomFromEWKT('SRID=4674;POINT (-39.412206 -3.086107)'))) / (select extract(epoch from '2026-07-17 17:16:24'::timestamp) - extract(epoch from '2026-07-17 17:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412161 -3.086105)'), GeomFromEWKT('SRID=4674;POINT (-39.412206 -3.086107)'))) / (select extract(epoch from '2026-07-17 17:16:24'::timestamp) - extract(epoch from '2026-07-17 17:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412241 -3.086116)', '2026-07-17 17:16:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412206 -3.086107)'), GeomFromEWKT('SRID=4674;POINT (-39.412241 -3.086116)'))) / (select extract(epoch from '2026-07-17 17:16:32'::timestamp) - extract(epoch from '2026-07-17 17:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412206 -3.086107)'), GeomFromEWKT('SRID=4674;POINT (-39.412241 -3.086116)'))) / (select extract(epoch from '2026-07-17 17:16:32'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47991, 'SRID=4674;POINT (-39.412298 -3.086107)', '2026-07-17 17:16:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412241 -3.086116)'), GeomFromEWKT('SRID=4674;POINT (-39.412298 -3.086107)'))) / (select extract(epoch from '2026-07-17 17:16:42'::timestamp) - extract(epoch from '2026-07-17 17:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412241 -3.086116)'), GeomFromEWKT('SRID=4674;POINT (-39.412298 -3.086107)'))) / (select extract(epoch from '2026-07-17 17:16:42'::timestamp) - extract(epoch from '2026-07-17 17:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412331 -3.086123)', '2026-07-17 17:16:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412298 -3.086107)'), GeomFromEWKT('SRID=4674;POINT (-39.412331 -3.086123)'))) / (select extract(epoch from '2026-07-17 17:16:51'::timestamp) - extract(epoch from '2026-07-17 17:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412298 -3.086107)'), GeomFromEWKT('SRID=4674;POINT (-39.412331 -3.086123)'))) / (select extract(epoch from '2026-07-17 17:16:51'::timestamp) - extract(epoch from '2026-07-17 17:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412383 -3.086128)', '2026-07-17 17:16:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412331 -3.086123)'), GeomFromEWKT('SRID=4674;POINT (-39.412383 -3.086128)'))) / (select extract(epoch from '2026-07-17 17:16:58'::timestamp) - extract(epoch from '2026-07-17 17:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412331 -3.086123)'), GeomFromEWKT('SRID=4674;POINT (-39.412383 -3.086128)'))) / (select extract(epoch from '2026-07-17 17:16:58'::timestamp) - extract(epoch from '2026-07-17 17:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412393 -3.086135)', '2026-07-17 17:17:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412383 -3.086128)'), GeomFromEWKT('SRID=4674;POINT (-39.412393 -3.086135)'))) / (select extract(epoch from '2026-07-17 17:17:05'::timestamp) - extract(epoch from '2026-07-17 17:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412383 -3.086128)'), GeomFromEWKT('SRID=4674;POINT (-39.412393 -3.086135)'))) / (select extract(epoch from '2026-07-17 17:17:05'::timestamp) - extract(epoch from '2026-07-17 17:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412409 -3.086134)', '2026-07-17 17:17:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412393 -3.086135)'), GeomFromEWKT('SRID=4674;POINT (-39.412409 -3.086134)'))) / (select extract(epoch from '2026-07-17 17:17:16'::timestamp) - extract(epoch from '2026-07-17 17:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412393 -3.086135)'), GeomFromEWKT('SRID=4674;POINT (-39.412409 -3.086134)'))) / (select extract(epoch from '2026-07-17 17:17:16'::timestamp) - extract(epoch from '2026-07-17 17:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412426 -3.086127)', '2026-07-17 17:17:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412409 -3.086134)'), GeomFromEWKT('SRID=4674;POINT (-39.412426 -3.086127)'))) / (select extract(epoch from '2026-07-17 17:17:22'::timestamp) - extract(epoch from '2026-07-17 17:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412409 -3.086134)'), GeomFromEWKT('SRID=4674;POINT (-39.412426 -3.086127)'))) / (select extract(epoch from '2026-07-17 17:17:22'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.412468 -3.086115)', '2026-07-17 17:17:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412426 -3.086127)'), GeomFromEWKT('SRID=4674;POINT (-39.412468 -3.086115)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412426 -3.086127)'), GeomFromEWKT('SRID=4674;POINT (-39.412468 -3.086115)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412502 -3.086113)', '2026-07-17 17:17:39', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412468 -3.086115)'), GeomFromEWKT('SRID=4674;POINT (-39.412502 -3.086113)'))) / (select extract(epoch from '2026-07-17 17:17:39'::timestamp) - extract(epoch from '2026-07-17 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412468 -3.086115)'), GeomFromEWKT('SRID=4674;POINT (-39.412502 -3.086113)'))) / (select extract(epoch from '2026-07-17 17:17:39'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47991, 'SRID=4674;POINT (-39.41253 -3.086121)', '2026-07-17 17:17:47', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412502 -3.086113)'), GeomFromEWKT('SRID=4674;POINT (-39.41253 -3.086121)'))) / (select extract(epoch from '2026-07-17 17:17:47'::timestamp) - extract(epoch from '2026-07-17 17:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412502 -3.086113)'), GeomFromEWKT('SRID=4674;POINT (-39.41253 -3.086121)'))) / (select extract(epoch from '2026-07-17 17:17:47'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.412561 -3.086128)', '2026-07-17 17:17:56', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41253 -3.086121)'), GeomFromEWKT('SRID=4674;POINT (-39.412561 -3.086128)'))) / (select extract(epoch from '2026-07-17 17:17:56'::timestamp) - extract(epoch from '2026-07-17 17:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41253 -3.086121)'), GeomFromEWKT('SRID=4674;POINT (-39.412561 -3.086128)'))) / (select extract(epoch from '2026-07-17 17:17:56'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47991, 'SRID=4674;POINT (-39.412603 -3.086137)', '2026-07-17 17:18:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412561 -3.086128)'), GeomFromEWKT('SRID=4674;POINT (-39.412603 -3.086137)'))) / (select extract(epoch from '2026-07-17 17:18:04'::timestamp) - extract(epoch from '2026-07-17 17:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412561 -3.086128)'), GeomFromEWKT('SRID=4674;POINT (-39.412603 -3.086137)'))) / (select extract(epoch from '2026-07-17 17:18:04'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47991, 'SRID=4674;POINT (-39.412688 -3.086141)', '2026-07-17 17:18:21', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412603 -3.086137)'), GeomFromEWKT('SRID=4674;POINT (-39.412688 -3.086141)'))) / (select extract(epoch from '2026-07-17 17:18:21'::timestamp) - extract(epoch from '2026-07-17 17:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412603 -3.086137)'), GeomFromEWKT('SRID=4674;POINT (-39.412688 -3.086141)'))) / (select extract(epoch from '2026-07-17 17:18:21'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47991, 'SRID=4674;POINT (-39.412775 -3.086161)', '2026-07-17 17:18:35', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412688 -3.086141)'), GeomFromEWKT('SRID=4674;POINT (-39.412775 -3.086161)'))) / (select extract(epoch from '2026-07-17 17:18:35'::timestamp) - extract(epoch from '2026-07-17 17:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412688 -3.086141)'), GeomFromEWKT('SRID=4674;POINT (-39.412775 -3.086161)'))) / (select extract(epoch from '2026-07-17 17:18:35'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.412844 -3.086171)', '2026-07-17 17:18:46', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412775 -3.086161)'), GeomFromEWKT('SRID=4674;POINT (-39.412844 -3.086171)'))) / (select extract(epoch from '2026-07-17 17:18:46'::timestamp) - extract(epoch from '2026-07-17 17:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412775 -3.086161)'), GeomFromEWKT('SRID=4674;POINT (-39.412844 -3.086171)'))) / (select extract(epoch from '2026-07-17 17:18:46'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47991, 'SRID=4674;POINT (-39.412909 -3.086173)', '2026-07-17 17:18:57', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412844 -3.086171)'), GeomFromEWKT('SRID=4674;POINT (-39.412909 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:18:57'::timestamp) - extract(epoch from '2026-07-17 17:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412844 -3.086171)'), GeomFromEWKT('SRID=4674;POINT (-39.412909 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:18:57'::timestamp) - extract(epoch from '2026-07-17 17:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.412995 -3.086179)', '2026-07-17 17:19:09', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412909 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.412995 -3.086179)'))) / (select extract(epoch from '2026-07-17 17:19:09'::timestamp) - extract(epoch from '2026-07-17 17:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412909 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.412995 -3.086179)'))) / (select extract(epoch from '2026-07-17 17:19:09'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47991, 'SRID=4674;POINT (-39.413036 -3.086173)', '2026-07-17 17:19:17', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412995 -3.086179)'), GeomFromEWKT('SRID=4674;POINT (-39.413036 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:19:17'::timestamp) - extract(epoch from '2026-07-17 17:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412995 -3.086179)'), GeomFromEWKT('SRID=4674;POINT (-39.413036 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:19:17'::timestamp) - extract(epoch from '2026-07-17 17:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413075 -3.08617)', '2026-07-17 17:19:24', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413036 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.413075 -3.08617)'))) / (select extract(epoch from '2026-07-17 17:19:24'::timestamp) - extract(epoch from '2026-07-17 17:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413036 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.413075 -3.08617)'))) / (select extract(epoch from '2026-07-17 17:19:24'::timestamp) - extract(epoch from '2026-07-17 17:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413135 -3.086185)', '2026-07-17 17:19:38', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413075 -3.08617)'), GeomFromEWKT('SRID=4674;POINT (-39.413135 -3.086185)'))) / (select extract(epoch from '2026-07-17 17:19:38'::timestamp) - extract(epoch from '2026-07-17 17:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413075 -3.08617)'), GeomFromEWKT('SRID=4674;POINT (-39.413135 -3.086185)'))) / (select extract(epoch from '2026-07-17 17:19:38'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47991, 'SRID=4674;POINT (-39.413184 -3.086183)', '2026-07-17 17:19:46', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413135 -3.086185)'), GeomFromEWKT('SRID=4674;POINT (-39.413184 -3.086183)'))) / (select extract(epoch from '2026-07-17 17:19:46'::timestamp) - extract(epoch from '2026-07-17 17:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413135 -3.086185)'), GeomFromEWKT('SRID=4674;POINT (-39.413184 -3.086183)'))) / (select extract(epoch from '2026-07-17 17:19:46'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47991, 'SRID=4674;POINT (-39.413264 -3.08618)', '2026-07-17 17:20:00', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413184 -3.086183)'), GeomFromEWKT('SRID=4674;POINT (-39.413264 -3.08618)'))) / (select extract(epoch from '2026-07-17 17:20:00'::timestamp) - extract(epoch from '2026-07-17 17:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413184 -3.086183)'), GeomFromEWKT('SRID=4674;POINT (-39.413264 -3.08618)'))) / (select extract(epoch from '2026-07-17 17:20:00'::timestamp) - extract(epoch from '2026-07-17 17:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413292 -3.086168)', '2026-07-17 17:20:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413264 -3.08618)'), GeomFromEWKT('SRID=4674;POINT (-39.413292 -3.086168)'))) / (select extract(epoch from '2026-07-17 17:20:05'::timestamp) - extract(epoch from '2026-07-17 17:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413264 -3.08618)'), GeomFromEWKT('SRID=4674;POINT (-39.413292 -3.086168)'))) / (select extract(epoch from '2026-07-17 17:20:05'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47991, 'SRID=4674;POINT (-39.413337 -3.086164)', '2026-07-17 17:20:12', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413292 -3.086168)'), GeomFromEWKT('SRID=4674;POINT (-39.413337 -3.086164)'))) / (select extract(epoch from '2026-07-17 17:20:12'::timestamp) - extract(epoch from '2026-07-17 17:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413292 -3.086168)'), GeomFromEWKT('SRID=4674;POINT (-39.413337 -3.086164)'))) / (select extract(epoch from '2026-07-17 17:20:12'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47991, 'SRID=4674;POINT (-39.413388 -3.08616)', '2026-07-17 17:20:19', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413337 -3.086164)'), GeomFromEWKT('SRID=4674;POINT (-39.413388 -3.08616)'))) / (select extract(epoch from '2026-07-17 17:20:19'::timestamp) - extract(epoch from '2026-07-17 17:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413337 -3.086164)'), GeomFromEWKT('SRID=4674;POINT (-39.413388 -3.08616)'))) / (select extract(epoch from '2026-07-17 17:20:19'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47991, 'SRID=4674;POINT (-39.413398 -3.086159)', '2026-07-17 17:20:20', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413388 -3.08616)'), GeomFromEWKT('SRID=4674;POINT (-39.413398 -3.086159)'))) / (select extract(epoch from '2026-07-17 17:20:20'::timestamp) - extract(epoch from '2026-07-17 17:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413388 -3.08616)'), GeomFromEWKT('SRID=4674;POINT (-39.413398 -3.086159)'))) / (select extract(epoch from '2026-07-17 17:20:20'::timestamp) - extract(epoch from '2026-07-17 17:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413426 -3.086156)', '2026-07-17 17:20:25', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413398 -3.086159)'), GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.086156)'))) / (select extract(epoch from '2026-07-17 17:20:25'::timestamp) - extract(epoch from '2026-07-17 17:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413398 -3.086159)'), GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.086156)'))) / (select extract(epoch from '2026-07-17 17:20:25'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47991, 'SRID=4674;POINT (-39.413505 -3.086168)', '2026-07-17 17:20:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.086156)'), GeomFromEWKT('SRID=4674;POINT (-39.413505 -3.086168)'))) / (select extract(epoch from '2026-07-17 17:20:38'::timestamp) - extract(epoch from '2026-07-17 17:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.086156)'), GeomFromEWKT('SRID=4674;POINT (-39.413505 -3.086168)'))) / (select extract(epoch from '2026-07-17 17:20:38'::timestamp) - extract(epoch from '2026-07-17 17:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41359 -3.086185)', '2026-07-17 17:20:50', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413505 -3.086168)'), GeomFromEWKT('SRID=4674;POINT (-39.41359 -3.086185)'))) / (select extract(epoch from '2026-07-17 17:20:50'::timestamp) - extract(epoch from '2026-07-17 17:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413505 -3.086168)'), GeomFromEWKT('SRID=4674;POINT (-39.41359 -3.086185)'))) / (select extract(epoch from '2026-07-17 17:20:50'::timestamp) - extract(epoch from '2026-07-17 17:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413642 -3.086195)', '2026-07-17 17:21:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41359 -3.086185)'), GeomFromEWKT('SRID=4674;POINT (-39.413642 -3.086195)'))) / (select extract(epoch from '2026-07-17 17:21:01'::timestamp) - extract(epoch from '2026-07-17 17:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41359 -3.086185)'), GeomFromEWKT('SRID=4674;POINT (-39.413642 -3.086195)'))) / (select extract(epoch from '2026-07-17 17:21:01'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47991, 'SRID=4674;POINT (-39.4137 -3.086188)', '2026-07-17 17:21:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413642 -3.086195)'), GeomFromEWKT('SRID=4674;POINT (-39.4137 -3.086188)'))) / (select extract(epoch from '2026-07-17 17:21:10'::timestamp) - extract(epoch from '2026-07-17 17:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413642 -3.086195)'), GeomFromEWKT('SRID=4674;POINT (-39.4137 -3.086188)'))) / (select extract(epoch from '2026-07-17 17:21:10'::timestamp) - extract(epoch from '2026-07-17 17:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413774 -3.086197)', '2026-07-17 17:21:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4137 -3.086188)'), GeomFromEWKT('SRID=4674;POINT (-39.413774 -3.086197)'))) / (select extract(epoch from '2026-07-17 17:21:21'::timestamp) - extract(epoch from '2026-07-17 17:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4137 -3.086188)'), GeomFromEWKT('SRID=4674;POINT (-39.413774 -3.086197)'))) / (select extract(epoch from '2026-07-17 17:21:21'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47991, 'SRID=4674;POINT (-39.413819 -3.086214)', '2026-07-17 17:21:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413774 -3.086197)'), GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.086214)'))) / (select extract(epoch from '2026-07-17 17:21:28'::timestamp) - extract(epoch from '2026-07-17 17:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413774 -3.086197)'), GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.086214)'))) / (select extract(epoch from '2026-07-17 17:21:28'::timestamp) - extract(epoch from '2026-07-17 17:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413828 -3.086216)', '2026-07-17 17:21:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.086214)'), GeomFromEWKT('SRID=4674;POINT (-39.413828 -3.086216)'))) / (select extract(epoch from '2026-07-17 17:21:29'::timestamp) - extract(epoch from '2026-07-17 17:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.086214)'), GeomFromEWKT('SRID=4674;POINT (-39.413828 -3.086216)'))) / (select extract(epoch from '2026-07-17 17:21:29'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.413862 -3.086217)', '2026-07-17 17:21:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413828 -3.086216)'), GeomFromEWKT('SRID=4674;POINT (-39.413862 -3.086217)'))) / (select extract(epoch from '2026-07-17 17:21:35'::timestamp) - extract(epoch from '2026-07-17 17:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413828 -3.086216)'), GeomFromEWKT('SRID=4674;POINT (-39.413862 -3.086217)'))) / (select extract(epoch from '2026-07-17 17:21:35'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47991, 'SRID=4674;POINT (-39.413917 -3.086204)', '2026-07-17 17:21:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413862 -3.086217)'), GeomFromEWKT('SRID=4674;POINT (-39.413917 -3.086204)'))) / (select extract(epoch from '2026-07-17 17:21:46'::timestamp) - extract(epoch from '2026-07-17 17:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413862 -3.086217)'), GeomFromEWKT('SRID=4674;POINT (-39.413917 -3.086204)'))) / (select extract(epoch from '2026-07-17 17:21:46'::timestamp) - extract(epoch from '2026-07-17 17:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.413981 -3.086204)', '2026-07-17 17:21:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413917 -3.086204)'), GeomFromEWKT('SRID=4674;POINT (-39.413981 -3.086204)'))) / (select extract(epoch from '2026-07-17 17:21:57'::timestamp) - extract(epoch from '2026-07-17 17:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413917 -3.086204)'), GeomFromEWKT('SRID=4674;POINT (-39.413981 -3.086204)'))) / (select extract(epoch from '2026-07-17 17:21:57'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47991, 'SRID=4674;POINT (-39.414031 -3.086199)', '2026-07-17 17:22:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413981 -3.086204)'), GeomFromEWKT('SRID=4674;POINT (-39.414031 -3.086199)'))) / (select extract(epoch from '2026-07-17 17:22:05'::timestamp) - extract(epoch from '2026-07-17 17:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413981 -3.086204)'), GeomFromEWKT('SRID=4674;POINT (-39.414031 -3.086199)'))) / (select extract(epoch from '2026-07-17 17:22:05'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47991, 'SRID=4674;POINT (-39.414081 -3.086198)', '2026-07-17 17:22:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414031 -3.086199)'), GeomFromEWKT('SRID=4674;POINT (-39.414081 -3.086198)'))) / (select extract(epoch from '2026-07-17 17:22:13'::timestamp) - extract(epoch from '2026-07-17 17:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414031 -3.086199)'), GeomFromEWKT('SRID=4674;POINT (-39.414081 -3.086198)'))) / (select extract(epoch from '2026-07-17 17:22:13'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47991, 'SRID=4674;POINT (-39.414112 -3.086198)', '2026-07-17 17:22:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414081 -3.086198)'), GeomFromEWKT('SRID=4674;POINT (-39.414112 -3.086198)'))) / (select extract(epoch from '2026-07-17 17:22:18'::timestamp) - extract(epoch from '2026-07-17 17:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414081 -3.086198)'), GeomFromEWKT('SRID=4674;POINT (-39.414112 -3.086198)'))) / (select extract(epoch from '2026-07-17 17:22:18'::timestamp) - extract(epoch from '2026-07-17 17:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414134 -3.086193)', '2026-07-17 17:22:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414112 -3.086198)'), GeomFromEWKT('SRID=4674;POINT (-39.414134 -3.086193)'))) / (select extract(epoch from '2026-07-17 17:22:23'::timestamp) - extract(epoch from '2026-07-17 17:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414112 -3.086198)'), GeomFromEWKT('SRID=4674;POINT (-39.414134 -3.086193)'))) / (select extract(epoch from '2026-07-17 17:22:23'::timestamp) - extract(epoch from '2026-07-17 17:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414183 -3.086201)', '2026-07-17 17:22:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414134 -3.086193)'), GeomFromEWKT('SRID=4674;POINT (-39.414183 -3.086201)'))) / (select extract(epoch from '2026-07-17 17:22:31'::timestamp) - extract(epoch from '2026-07-17 17:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414134 -3.086193)'), GeomFromEWKT('SRID=4674;POINT (-39.414183 -3.086201)'))) / (select extract(epoch from '2026-07-17 17:22:31'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47991, 'SRID=4674;POINT (-39.414218 -3.086205)', '2026-07-17 17:22:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414183 -3.086201)'), GeomFromEWKT('SRID=4674;POINT (-39.414218 -3.086205)'))) / (select extract(epoch from '2026-07-17 17:22:38'::timestamp) - extract(epoch from '2026-07-17 17:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414183 -3.086201)'), GeomFromEWKT('SRID=4674;POINT (-39.414218 -3.086205)'))) / (select extract(epoch from '2026-07-17 17:22:38'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.414255 -3.086215)', '2026-07-17 17:22:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414218 -3.086205)'), GeomFromEWKT('SRID=4674;POINT (-39.414255 -3.086215)'))) / (select extract(epoch from '2026-07-17 17:22:44'::timestamp) - extract(epoch from '2026-07-17 17:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414218 -3.086205)'), GeomFromEWKT('SRID=4674;POINT (-39.414255 -3.086215)'))) / (select extract(epoch from '2026-07-17 17:22:44'::timestamp) - extract(epoch from '2026-07-17 17:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414304 -3.08622)', '2026-07-17 17:22:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414255 -3.086215)'), GeomFromEWKT('SRID=4674;POINT (-39.414304 -3.08622)'))) / (select extract(epoch from '2026-07-17 17:22:52'::timestamp) - extract(epoch from '2026-07-17 17:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414255 -3.086215)'), GeomFromEWKT('SRID=4674;POINT (-39.414304 -3.08622)'))) / (select extract(epoch from '2026-07-17 17:22:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.41434 -3.086217)', '2026-07-17 17:22:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414304 -3.08622)'), GeomFromEWKT('SRID=4674;POINT (-39.41434 -3.086217)'))) / (select extract(epoch from '2026-07-17 17:22:58'::timestamp) - extract(epoch from '2026-07-17 17:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414304 -3.08622)'), GeomFromEWKT('SRID=4674;POINT (-39.41434 -3.086217)'))) / (select extract(epoch from '2026-07-17 17:22:58'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.414399 -3.0862)', '2026-07-17 17:23:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41434 -3.086217)'), GeomFromEWKT('SRID=4674;POINT (-39.414399 -3.0862)'))) / (select extract(epoch from '2026-07-17 17:23:07'::timestamp) - extract(epoch from '2026-07-17 17:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41434 -3.086217)'), GeomFromEWKT('SRID=4674;POINT (-39.414399 -3.0862)'))) / (select extract(epoch from '2026-07-17 17:23:07'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.414472 -3.0862)', '2026-07-17 17:23:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414399 -3.0862)'), GeomFromEWKT('SRID=4674;POINT (-39.414472 -3.0862)'))) / (select extract(epoch from '2026-07-17 17:23:17'::timestamp) - extract(epoch from '2026-07-17 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414399 -3.0862)'), GeomFromEWKT('SRID=4674;POINT (-39.414472 -3.0862)'))) / (select extract(epoch from '2026-07-17 17:23:17'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47991, 'SRID=4674;POINT (-39.414532 -3.086188)', '2026-07-17 17:23:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414472 -3.0862)'), GeomFromEWKT('SRID=4674;POINT (-39.414532 -3.086188)'))) / (select extract(epoch from '2026-07-17 17:23:27'::timestamp) - extract(epoch from '2026-07-17 17:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414472 -3.0862)'), GeomFromEWKT('SRID=4674;POINT (-39.414532 -3.086188)'))) / (select extract(epoch from '2026-07-17 17:23:27'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.4146 -3.086181)', '2026-07-17 17:23:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414532 -3.086188)'), GeomFromEWKT('SRID=4674;POINT (-39.4146 -3.086181)'))) / (select extract(epoch from '2026-07-17 17:23:38'::timestamp) - extract(epoch from '2026-07-17 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414532 -3.086188)'), GeomFromEWKT('SRID=4674;POINT (-39.4146 -3.086181)'))) / (select extract(epoch from '2026-07-17 17:23:38'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47991, 'SRID=4674;POINT (-39.414634 -3.086176)', '2026-07-17 17:23:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4146 -3.086181)'), GeomFromEWKT('SRID=4674;POINT (-39.414634 -3.086176)'))) / (select extract(epoch from '2026-07-17 17:23:45'::timestamp) - extract(epoch from '2026-07-17 17:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4146 -3.086181)'), GeomFromEWKT('SRID=4674;POINT (-39.414634 -3.086176)'))) / (select extract(epoch from '2026-07-17 17:23:45'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47991, 'SRID=4674;POINT (-39.414687 -3.086166)', '2026-07-17 17:23:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414634 -3.086176)'), GeomFromEWKT('SRID=4674;POINT (-39.414687 -3.086166)'))) / (select extract(epoch from '2026-07-17 17:23:53'::timestamp) - extract(epoch from '2026-07-17 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414634 -3.086176)'), GeomFromEWKT('SRID=4674;POINT (-39.414687 -3.086166)'))) / (select extract(epoch from '2026-07-17 17:23:53'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.414739 -3.086165)', '2026-07-17 17:24:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414687 -3.086166)'), GeomFromEWKT('SRID=4674;POINT (-39.414739 -3.086165)'))) / (select extract(epoch from '2026-07-17 17:24:02'::timestamp) - extract(epoch from '2026-07-17 17:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414687 -3.086166)'), GeomFromEWKT('SRID=4674;POINT (-39.414739 -3.086165)'))) / (select extract(epoch from '2026-07-17 17:24:02'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.41479 -3.08616)', '2026-07-17 17:24:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414739 -3.086165)'), GeomFromEWKT('SRID=4674;POINT (-39.41479 -3.08616)'))) / (select extract(epoch from '2026-07-17 17:24:11'::timestamp) - extract(epoch from '2026-07-17 17:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414739 -3.086165)'), GeomFromEWKT('SRID=4674;POINT (-39.41479 -3.08616)'))) / (select extract(epoch from '2026-07-17 17:24:11'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47991, 'SRID=4674;POINT (-39.414848 -3.086154)', '2026-07-17 17:24:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41479 -3.08616)'), GeomFromEWKT('SRID=4674;POINT (-39.414848 -3.086154)'))) / (select extract(epoch from '2026-07-17 17:24:20'::timestamp) - extract(epoch from '2026-07-17 17:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41479 -3.08616)'), GeomFromEWKT('SRID=4674;POINT (-39.414848 -3.086154)'))) / (select extract(epoch from '2026-07-17 17:24:20'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47991, 'SRID=4674;POINT (-39.414914 -3.086155)', '2026-07-17 17:24:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414848 -3.086154)'), GeomFromEWKT('SRID=4674;POINT (-39.414914 -3.086155)'))) / (select extract(epoch from '2026-07-17 17:24:32'::timestamp) - extract(epoch from '2026-07-17 17:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414848 -3.086154)'), GeomFromEWKT('SRID=4674;POINT (-39.414914 -3.086155)'))) / (select extract(epoch from '2026-07-17 17:24:32'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47991, 'SRID=4674;POINT (-39.414977 -3.086153)', '2026-07-17 17:24:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414914 -3.086155)'), GeomFromEWKT('SRID=4674;POINT (-39.414977 -3.086153)'))) / (select extract(epoch from '2026-07-17 17:24:42'::timestamp) - extract(epoch from '2026-07-17 17:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414914 -3.086155)'), GeomFromEWKT('SRID=4674;POINT (-39.414977 -3.086153)'))) / (select extract(epoch from '2026-07-17 17:24:42'::timestamp) - extract(epoch from '2026-07-17 17:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415015 -3.086158)', '2026-07-17 17:24:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414977 -3.086153)'), GeomFromEWKT('SRID=4674;POINT (-39.415015 -3.086158)'))) / (select extract(epoch from '2026-07-17 17:24:50'::timestamp) - extract(epoch from '2026-07-17 17:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414977 -3.086153)'), GeomFromEWKT('SRID=4674;POINT (-39.415015 -3.086158)'))) / (select extract(epoch from '2026-07-17 17:24:50'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47991, 'SRID=4674;POINT (-39.415043 -3.086162)', '2026-07-17 17:24:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415015 -3.086158)'), GeomFromEWKT('SRID=4674;POINT (-39.415043 -3.086162)'))) / (select extract(epoch from '2026-07-17 17:24:56'::timestamp) - extract(epoch from '2026-07-17 17:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415015 -3.086158)'), GeomFromEWKT('SRID=4674;POINT (-39.415043 -3.086162)'))) / (select extract(epoch from '2026-07-17 17:24:56'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47991, 'SRID=4674;POINT (-39.415055 -3.086163)', '2026-07-17 17:24:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415043 -3.086162)'), GeomFromEWKT('SRID=4674;POINT (-39.415055 -3.086163)'))) / (select extract(epoch from '2026-07-17 17:24:57'::timestamp) - extract(epoch from '2026-07-17 17:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415043 -3.086162)'), GeomFromEWKT('SRID=4674;POINT (-39.415055 -3.086163)'))) / (select extract(epoch from '2026-07-17 17:24:57'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47991, 'SRID=4674;POINT (-39.415106 -3.08615)', '2026-07-17 17:25:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415055 -3.086163)'), GeomFromEWKT('SRID=4674;POINT (-39.415106 -3.08615)'))) / (select extract(epoch from '2026-07-17 17:25:06'::timestamp) - extract(epoch from '2026-07-17 17:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415055 -3.086163)'), GeomFromEWKT('SRID=4674;POINT (-39.415106 -3.08615)'))) / (select extract(epoch from '2026-07-17 17:25:06'::timestamp) - extract(epoch from '2026-07-17 17:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415167 -3.086141)', '2026-07-17 17:25:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415106 -3.08615)'), GeomFromEWKT('SRID=4674;POINT (-39.415167 -3.086141)'))) / (select extract(epoch from '2026-07-17 17:25:20'::timestamp) - extract(epoch from '2026-07-17 17:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415106 -3.08615)'), GeomFromEWKT('SRID=4674;POINT (-39.415167 -3.086141)'))) / (select extract(epoch from '2026-07-17 17:25:20'::timestamp) - extract(epoch from '2026-07-17 17:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415222 -3.086145)', '2026-07-17 17:25:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415167 -3.086141)'), GeomFromEWKT('SRID=4674;POINT (-39.415222 -3.086145)'))) / (select extract(epoch from '2026-07-17 17:25:29'::timestamp) - extract(epoch from '2026-07-17 17:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415167 -3.086141)'), GeomFromEWKT('SRID=4674;POINT (-39.415222 -3.086145)'))) / (select extract(epoch from '2026-07-17 17:25:29'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47991, 'SRID=4674;POINT (-39.415263 -3.086157)', '2026-07-17 17:25:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415222 -3.086145)'), GeomFromEWKT('SRID=4674;POINT (-39.415263 -3.086157)'))) / (select extract(epoch from '2026-07-17 17:25:37'::timestamp) - extract(epoch from '2026-07-17 17:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415222 -3.086145)'), GeomFromEWKT('SRID=4674;POINT (-39.415263 -3.086157)'))) / (select extract(epoch from '2026-07-17 17:25:37'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47991, 'SRID=4674;POINT (-39.415312 -3.086166)', '2026-07-17 17:25:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415263 -3.086157)'), GeomFromEWKT('SRID=4674;POINT (-39.415312 -3.086166)'))) / (select extract(epoch from '2026-07-17 17:25:46'::timestamp) - extract(epoch from '2026-07-17 17:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415263 -3.086157)'), GeomFromEWKT('SRID=4674;POINT (-39.415312 -3.086166)'))) / (select extract(epoch from '2026-07-17 17:25:46'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.415357 -3.086168)', '2026-07-17 17:25:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415312 -3.086166)'), GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.086168)'))) / (select extract(epoch from '2026-07-17 17:25:54'::timestamp) - extract(epoch from '2026-07-17 17:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415312 -3.086166)'), GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.086168)'))) / (select extract(epoch from '2026-07-17 17:25:54'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.415417 -3.086165)', '2026-07-17 17:26:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.086168)'), GeomFromEWKT('SRID=4674;POINT (-39.415417 -3.086165)'))) / (select extract(epoch from '2026-07-17 17:26:05'::timestamp) - extract(epoch from '2026-07-17 17:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.086168)'), GeomFromEWKT('SRID=4674;POINT (-39.415417 -3.086165)'))) / (select extract(epoch from '2026-07-17 17:26:05'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47991, 'SRID=4674;POINT (-39.415512 -3.086173)', '2026-07-17 17:26:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415417 -3.086165)'), GeomFromEWKT('SRID=4674;POINT (-39.415512 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:26:21'::timestamp) - extract(epoch from '2026-07-17 17:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415417 -3.086165)'), GeomFromEWKT('SRID=4674;POINT (-39.415512 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:26:21'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.415589 -3.086173)', '2026-07-17 17:26:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415512 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.415589 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:26:30'::timestamp) - extract(epoch from '2026-07-17 17:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415512 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.415589 -3.086173)'))) / (select extract(epoch from '2026-07-17 17:26:30'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47991, 'SRID=4674;POINT (-39.415662 -3.086171)', '2026-07-17 17:26:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415589 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.415662 -3.086171)'))) / (select extract(epoch from '2026-07-17 17:26:44'::timestamp) - extract(epoch from '2026-07-17 17:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415589 -3.086173)'), GeomFromEWKT('SRID=4674;POINT (-39.415662 -3.086171)'))) / (select extract(epoch from '2026-07-17 17:26:44'::timestamp) - extract(epoch from '2026-07-17 17:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415701 -3.086152)', '2026-07-17 17:26:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415662 -3.086171)'), GeomFromEWKT('SRID=4674;POINT (-39.415701 -3.086152)'))) / (select extract(epoch from '2026-07-17 17:26:54'::timestamp) - extract(epoch from '2026-07-17 17:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415662 -3.086171)'), GeomFromEWKT('SRID=4674;POINT (-39.415701 -3.086152)'))) / (select extract(epoch from '2026-07-17 17:26:54'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47991, 'SRID=4674;POINT (-39.415736 -3.08614)', '2026-07-17 17:27:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415701 -3.086152)'), GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.08614)'))) / (select extract(epoch from '2026-07-17 17:27:07'::timestamp) - extract(epoch from '2026-07-17 17:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415701 -3.086152)'), GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.08614)'))) / (select extract(epoch from '2026-07-17 17:27:07'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.415783 -3.086157)', '2026-07-17 17:27:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.08614)'), GeomFromEWKT('SRID=4674;POINT (-39.415783 -3.086157)'))) / (select extract(epoch from '2026-07-17 17:27:17'::timestamp) - extract(epoch from '2026-07-17 17:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.08614)'), GeomFromEWKT('SRID=4674;POINT (-39.415783 -3.086157)'))) / (select extract(epoch from '2026-07-17 17:27:17'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47991, 'SRID=4674;POINT (-39.415835 -3.086163)', '2026-07-17 17:27:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415783 -3.086157)'), GeomFromEWKT('SRID=4674;POINT (-39.415835 -3.086163)'))) / (select extract(epoch from '2026-07-17 17:27:26'::timestamp) - extract(epoch from '2026-07-17 17:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415783 -3.086157)'), GeomFromEWKT('SRID=4674;POINT (-39.415835 -3.086163)'))) / (select extract(epoch from '2026-07-17 17:27:26'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47991, 'SRID=4674;POINT (-39.415898 -3.086164)', '2026-07-17 17:27:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415835 -3.086163)'), GeomFromEWKT('SRID=4674;POINT (-39.415898 -3.086164)'))) / (select extract(epoch from '2026-07-17 17:27:36'::timestamp) - extract(epoch from '2026-07-17 17:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415835 -3.086163)'), GeomFromEWKT('SRID=4674;POINT (-39.415898 -3.086164)'))) / (select extract(epoch from '2026-07-17 17:27:36'::timestamp) - extract(epoch from '2026-07-17 17:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415964 -3.086151)', '2026-07-17 17:27:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415898 -3.086164)'), GeomFromEWKT('SRID=4674;POINT (-39.415964 -3.086151)'))) / (select extract(epoch from '2026-07-17 17:27:49'::timestamp) - extract(epoch from '2026-07-17 17:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415898 -3.086164)'), GeomFromEWKT('SRID=4674;POINT (-39.415964 -3.086151)'))) / (select extract(epoch from '2026-07-17 17:27:49'::timestamp) - extract(epoch from '2026-07-17 17:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41605 -3.086155)', '2026-07-17 17:28:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415964 -3.086151)'), GeomFromEWKT('SRID=4674;POINT (-39.41605 -3.086155)'))) / (select extract(epoch from '2026-07-17 17:28:04'::timestamp) - extract(epoch from '2026-07-17 17:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415964 -3.086151)'), GeomFromEWKT('SRID=4674;POINT (-39.41605 -3.086155)'))) / (select extract(epoch from '2026-07-17 17:28:04'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47991, 'SRID=4674;POINT (-39.416094 -3.086147)', '2026-07-17 17:28:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41605 -3.086155)'), GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.086147)'))) / (select extract(epoch from '2026-07-17 17:28:09'::timestamp) - extract(epoch from '2026-07-17 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41605 -3.086155)'), GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.086147)'))) / (select extract(epoch from '2026-07-17 17:28:09'::timestamp) - extract(epoch from '2026-07-17 17:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416105 -3.086148)', '2026-07-17 17:28:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.086147)'), GeomFromEWKT('SRID=4674;POINT (-39.416105 -3.086148)'))) / (select extract(epoch from '2026-07-17 17:28:11'::timestamp) - extract(epoch from '2026-07-17 17:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.086147)'), GeomFromEWKT('SRID=4674;POINT (-39.416105 -3.086148)'))) / (select extract(epoch from '2026-07-17 17:28:11'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47991, 'SRID=4674;POINT (-39.416171 -3.086147)', '2026-07-17 17:28:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416105 -3.086148)'), GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.086147)'))) / (select extract(epoch from '2026-07-17 17:28:22'::timestamp) - extract(epoch from '2026-07-17 17:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416105 -3.086148)'), GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.086147)'))) / (select extract(epoch from '2026-07-17 17:28:22'::timestamp) - extract(epoch from '2026-07-17 17:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416226 -3.086141)', '2026-07-17 17:28:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.086147)'), GeomFromEWKT('SRID=4674;POINT (-39.416226 -3.086141)'))) / (select extract(epoch from '2026-07-17 17:28:33'::timestamp) - extract(epoch from '2026-07-17 17:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.086147)'), GeomFromEWKT('SRID=4674;POINT (-39.416226 -3.086141)'))) / (select extract(epoch from '2026-07-17 17:28:33'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47991, 'SRID=4674;POINT (-39.416296 -3.08614)', '2026-07-17 17:28:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416226 -3.086141)'), GeomFromEWKT('SRID=4674;POINT (-39.416296 -3.08614)'))) / (select extract(epoch from '2026-07-17 17:28:43'::timestamp) - extract(epoch from '2026-07-17 17:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416226 -3.086141)'), GeomFromEWKT('SRID=4674;POINT (-39.416296 -3.08614)'))) / (select extract(epoch from '2026-07-17 17:28:43'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47991, 'SRID=4674;POINT (-39.416359 -3.08613)', '2026-07-17 17:28:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416296 -3.08614)'), GeomFromEWKT('SRID=4674;POINT (-39.416359 -3.08613)'))) / (select extract(epoch from '2026-07-17 17:28:55'::timestamp) - extract(epoch from '2026-07-17 17:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416296 -3.08614)'), GeomFromEWKT('SRID=4674;POINT (-39.416359 -3.08613)'))) / (select extract(epoch from '2026-07-17 17:28:55'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.416391 -3.086129)', '2026-07-17 17:29:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416359 -3.08613)'), GeomFromEWKT('SRID=4674;POINT (-39.416391 -3.086129)'))) / (select extract(epoch from '2026-07-17 17:29:00'::timestamp) - extract(epoch from '2026-07-17 17:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416359 -3.08613)'), GeomFromEWKT('SRID=4674;POINT (-39.416391 -3.086129)'))) / (select extract(epoch from '2026-07-17 17:29:00'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.416455 -3.086124)', '2026-07-17 17:29:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416391 -3.086129)'), GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.086124)'))) / (select extract(epoch from '2026-07-17 17:29:11'::timestamp) - extract(epoch from '2026-07-17 17:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416391 -3.086129)'), GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.086124)'))) / (select extract(epoch from '2026-07-17 17:29:11'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47991, 'SRID=4674;POINT (-39.416527 -3.086126)', '2026-07-17 17:29:22', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.086124)'), GeomFromEWKT('SRID=4674;POINT (-39.416527 -3.086126)'))) / (select extract(epoch from '2026-07-17 17:29:22'::timestamp) - extract(epoch from '2026-07-17 17:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.086124)'), GeomFromEWKT('SRID=4674;POINT (-39.416527 -3.086126)'))) / (select extract(epoch from '2026-07-17 17:29:22'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47991, 'SRID=4674;POINT (-39.416569 -3.086131)', '2026-07-17 17:29:30', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416527 -3.086126)'), GeomFromEWKT('SRID=4674;POINT (-39.416569 -3.086131)'))) / (select extract(epoch from '2026-07-17 17:29:30'::timestamp) - extract(epoch from '2026-07-17 17:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416527 -3.086126)'), GeomFromEWKT('SRID=4674;POINT (-39.416569 -3.086131)'))) / (select extract(epoch from '2026-07-17 17:29:30'::timestamp) - extract(epoch from '2026-07-17 17:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416593 -3.086126)', '2026-07-17 17:29:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416569 -3.086131)'), GeomFromEWKT('SRID=4674;POINT (-39.416593 -3.086126)'))) / (select extract(epoch from '2026-07-17 17:29:37'::timestamp) - extract(epoch from '2026-07-17 17:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416569 -3.086131)'), GeomFromEWKT('SRID=4674;POINT (-39.416593 -3.086126)'))) / (select extract(epoch from '2026-07-17 17:29:37'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47991, 'SRID=4674;POINT (-39.416657 -3.086118)', '2026-07-17 17:29:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416593 -3.086126)'), GeomFromEWKT('SRID=4674;POINT (-39.416657 -3.086118)'))) / (select extract(epoch from '2026-07-17 17:29:48'::timestamp) - extract(epoch from '2026-07-17 17:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416593 -3.086126)'), GeomFromEWKT('SRID=4674;POINT (-39.416657 -3.086118)'))) / (select extract(epoch from '2026-07-17 17:29:48'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47991, 'SRID=4674;POINT (-39.416712 -3.086108)', '2026-07-17 17:29:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416657 -3.086118)'), GeomFromEWKT('SRID=4674;POINT (-39.416712 -3.086108)'))) / (select extract(epoch from '2026-07-17 17:29:58'::timestamp) - extract(epoch from '2026-07-17 17:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416657 -3.086118)'), GeomFromEWKT('SRID=4674;POINT (-39.416712 -3.086108)'))) / (select extract(epoch from '2026-07-17 17:29:58'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47991, 'SRID=4674;POINT (-39.416758 -3.086103)', '2026-07-17 17:30:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416712 -3.086108)'), GeomFromEWKT('SRID=4674;POINT (-39.416758 -3.086103)'))) / (select extract(epoch from '2026-07-17 17:30:07'::timestamp) - extract(epoch from '2026-07-17 17:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416712 -3.086108)'), GeomFromEWKT('SRID=4674;POINT (-39.416758 -3.086103)'))) / (select extract(epoch from '2026-07-17 17:30:07'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47991, 'SRID=4674;POINT (-39.416815 -3.086094)', '2026-07-17 17:30:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416758 -3.086103)'), GeomFromEWKT('SRID=4674;POINT (-39.416815 -3.086094)'))) / (select extract(epoch from '2026-07-17 17:30:16'::timestamp) - extract(epoch from '2026-07-17 17:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416758 -3.086103)'), GeomFromEWKT('SRID=4674;POINT (-39.416815 -3.086094)'))) / (select extract(epoch from '2026-07-17 17:30:16'::timestamp) - extract(epoch from '2026-07-17 17:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416853 -3.086083)', '2026-07-17 17:30:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416815 -3.086094)'), GeomFromEWKT('SRID=4674;POINT (-39.416853 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:30:21'::timestamp) - extract(epoch from '2026-07-17 17:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416815 -3.086094)'), GeomFromEWKT('SRID=4674;POINT (-39.416853 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:30:21'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47991, 'SRID=4674;POINT (-39.416863 -3.08609)', '2026-07-17 17:30:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416853 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.08609)'))) / (select extract(epoch from '2026-07-17 17:30:23'::timestamp) - extract(epoch from '2026-07-17 17:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416853 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.08609)'))) / (select extract(epoch from '2026-07-17 17:30:23'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47991, 'SRID=4674;POINT (-39.416909 -3.086085)', '2026-07-17 17:30:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.08609)'), GeomFromEWKT('SRID=4674;POINT (-39.416909 -3.086085)'))) / (select extract(epoch from '2026-07-17 17:30:32'::timestamp) - extract(epoch from '2026-07-17 17:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.08609)'), GeomFromEWKT('SRID=4674;POINT (-39.416909 -3.086085)'))) / (select extract(epoch from '2026-07-17 17:30:32'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.416962 -3.086083)', '2026-07-17 17:30:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416909 -3.086085)'), GeomFromEWKT('SRID=4674;POINT (-39.416962 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:30:41'::timestamp) - extract(epoch from '2026-07-17 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416909 -3.086085)'), GeomFromEWKT('SRID=4674;POINT (-39.416962 -3.086083)'))) / (select extract(epoch from '2026-07-17 17:30:41'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47991, 'SRID=4674;POINT (-39.417013 -3.086079)', '2026-07-17 17:30:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416962 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.417013 -3.086079)'))) / (select extract(epoch from '2026-07-17 17:30:51'::timestamp) - extract(epoch from '2026-07-17 17:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416962 -3.086083)'), GeomFromEWKT('SRID=4674;POINT (-39.417013 -3.086079)'))) / (select extract(epoch from '2026-07-17 17:30:51'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417045 -3.086075)', '2026-07-17 17:30:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417013 -3.086079)'), GeomFromEWKT('SRID=4674;POINT (-39.417045 -3.086075)'))) / (select extract(epoch from '2026-07-17 17:30:58'::timestamp) - extract(epoch from '2026-07-17 17:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417013 -3.086079)'), GeomFromEWKT('SRID=4674;POINT (-39.417045 -3.086075)'))) / (select extract(epoch from '2026-07-17 17:30:58'::timestamp) - extract(epoch from '2026-07-17 17:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41708 -3.086077)', '2026-07-17 17:31:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417045 -3.086075)'), GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.086077)'))) / (select extract(epoch from '2026-07-17 17:31:05'::timestamp) - extract(epoch from '2026-07-17 17:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417045 -3.086075)'), GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.086077)'))) / (select extract(epoch from '2026-07-17 17:31:05'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47991, 'SRID=4674;POINT (-39.417142 -3.086071)', '2026-07-17 17:31:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.086077)'), GeomFromEWKT('SRID=4674;POINT (-39.417142 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:31:14'::timestamp) - extract(epoch from '2026-07-17 17:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.086077)'), GeomFromEWKT('SRID=4674;POINT (-39.417142 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:31:14'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47991, 'SRID=4674;POINT (-39.417209 -3.086076)', '2026-07-17 17:31:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417142 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.417209 -3.086076)'))) / (select extract(epoch from '2026-07-17 17:31:25'::timestamp) - extract(epoch from '2026-07-17 17:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417142 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.417209 -3.086076)'))) / (select extract(epoch from '2026-07-17 17:31:25'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417263 -3.086071)', '2026-07-17 17:31:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417209 -3.086076)'), GeomFromEWKT('SRID=4674;POINT (-39.417263 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:31:35'::timestamp) - extract(epoch from '2026-07-17 17:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417209 -3.086076)'), GeomFromEWKT('SRID=4674;POINT (-39.417263 -3.086071)'))) / (select extract(epoch from '2026-07-17 17:31:35'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47991, 'SRID=4674;POINT (-39.417316 -3.08606)', '2026-07-17 17:31:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417263 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.417316 -3.08606)'))) / (select extract(epoch from '2026-07-17 17:31:45'::timestamp) - extract(epoch from '2026-07-17 17:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417263 -3.086071)'), GeomFromEWKT('SRID=4674;POINT (-39.417316 -3.08606)'))) / (select extract(epoch from '2026-07-17 17:31:45'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47991, 'SRID=4674;POINT (-39.417354 -3.086049)', '2026-07-17 17:31:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417316 -3.08606)'), GeomFromEWKT('SRID=4674;POINT (-39.417354 -3.086049)'))) / (select extract(epoch from '2026-07-17 17:31:52'::timestamp) - extract(epoch from '2026-07-17 17:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417316 -3.08606)'), GeomFromEWKT('SRID=4674;POINT (-39.417354 -3.086049)'))) / (select extract(epoch from '2026-07-17 17:31:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417399 -3.086039)', '2026-07-17 17:31:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417354 -3.086049)'), GeomFromEWKT('SRID=4674;POINT (-39.417399 -3.086039)'))) / (select extract(epoch from '2026-07-17 17:31:59'::timestamp) - extract(epoch from '2026-07-17 17:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417354 -3.086049)'), GeomFromEWKT('SRID=4674;POINT (-39.417399 -3.086039)'))) / (select extract(epoch from '2026-07-17 17:31:59'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417436 -3.086028)', '2026-07-17 17:32:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417399 -3.086039)'), GeomFromEWKT('SRID=4674;POINT (-39.417436 -3.086028)'))) / (select extract(epoch from '2026-07-17 17:32:05'::timestamp) - extract(epoch from '2026-07-17 17:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417399 -3.086039)'), GeomFromEWKT('SRID=4674;POINT (-39.417436 -3.086028)'))) / (select extract(epoch from '2026-07-17 17:32:05'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.41748 -3.086035)', '2026-07-17 17:32:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417436 -3.086028)'), GeomFromEWKT('SRID=4674;POINT (-39.41748 -3.086035)'))) / (select extract(epoch from '2026-07-17 17:32:11'::timestamp) - extract(epoch from '2026-07-17 17:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417436 -3.086028)'), GeomFromEWKT('SRID=4674;POINT (-39.41748 -3.086035)'))) / (select extract(epoch from '2026-07-17 17:32:11'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417522 -3.086014)', '2026-07-17 17:32:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41748 -3.086035)'), GeomFromEWKT('SRID=4674;POINT (-39.417522 -3.086014)'))) / (select extract(epoch from '2026-07-17 17:32:21'::timestamp) - extract(epoch from '2026-07-17 17:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41748 -3.086035)'), GeomFromEWKT('SRID=4674;POINT (-39.417522 -3.086014)'))) / (select extract(epoch from '2026-07-17 17:32:21'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47991, 'SRID=4674;POINT (-39.417554 -3.086003)', '2026-07-17 17:32:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417522 -3.086014)'), GeomFromEWKT('SRID=4674;POINT (-39.417554 -3.086003)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417522 -3.086014)'), GeomFromEWKT('SRID=4674;POINT (-39.417554 -3.086003)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47991, 'SRID=4674;POINT (-39.417584 -3.085992)', '2026-07-17 17:32:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417554 -3.086003)'), GeomFromEWKT('SRID=4674;POINT (-39.417584 -3.085992)'))) / (select extract(epoch from '2026-07-17 17:32:33'::timestamp) - extract(epoch from '2026-07-17 17:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417554 -3.086003)'), GeomFromEWKT('SRID=4674;POINT (-39.417584 -3.085992)'))) / (select extract(epoch from '2026-07-17 17:32:33'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.41765 -3.085991)', '2026-07-17 17:32:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417584 -3.085992)'), GeomFromEWKT('SRID=4674;POINT (-39.41765 -3.085991)'))) / (select extract(epoch from '2026-07-17 17:32:45'::timestamp) - extract(epoch from '2026-07-17 17:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417584 -3.085992)'), GeomFromEWKT('SRID=4674;POINT (-39.41765 -3.085991)'))) / (select extract(epoch from '2026-07-17 17:32:45'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417706 -3.085974)', '2026-07-17 17:32:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41765 -3.085991)'), GeomFromEWKT('SRID=4674;POINT (-39.417706 -3.085974)'))) / (select extract(epoch from '2026-07-17 17:32:55'::timestamp) - extract(epoch from '2026-07-17 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41765 -3.085991)'), GeomFromEWKT('SRID=4674;POINT (-39.417706 -3.085974)'))) / (select extract(epoch from '2026-07-17 17:32:55'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417772 -3.085974)', '2026-07-17 17:33:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417706 -3.085974)'), GeomFromEWKT('SRID=4674;POINT (-39.417772 -3.085974)'))) / (select extract(epoch from '2026-07-17 17:33:05'::timestamp) - extract(epoch from '2026-07-17 17:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417706 -3.085974)'), GeomFromEWKT('SRID=4674;POINT (-39.417772 -3.085974)'))) / (select extract(epoch from '2026-07-17 17:33:05'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47991, 'SRID=4674;POINT (-39.417784 -3.085965)', '2026-07-17 17:33:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417772 -3.085974)'), GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.085965)'))) / (select extract(epoch from '2026-07-17 17:33:10'::timestamp) - extract(epoch from '2026-07-17 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417772 -3.085974)'), GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.085965)'))) / (select extract(epoch from '2026-07-17 17:33:10'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417819 -3.085949)', '2026-07-17 17:33:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.085965)'), GeomFromEWKT('SRID=4674;POINT (-39.417819 -3.085949)'))) / (select extract(epoch from '2026-07-17 17:33:17'::timestamp) - extract(epoch from '2026-07-17 17:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.085965)'), GeomFromEWKT('SRID=4674;POINT (-39.417819 -3.085949)'))) / (select extract(epoch from '2026-07-17 17:33:17'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.417912 -3.085937)', '2026-07-17 17:33:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417819 -3.085949)'), GeomFromEWKT('SRID=4674;POINT (-39.417912 -3.085937)'))) / (select extract(epoch from '2026-07-17 17:33:33'::timestamp) - extract(epoch from '2026-07-17 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417819 -3.085949)'), GeomFromEWKT('SRID=4674;POINT (-39.417912 -3.085937)'))) / (select extract(epoch from '2026-07-17 17:33:33'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47991, 'SRID=4674;POINT (-39.417974 -3.08591)', '2026-07-17 17:33:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417912 -3.085937)'), GeomFromEWKT('SRID=4674;POINT (-39.417974 -3.08591)'))) / (select extract(epoch from '2026-07-17 17:33:43'::timestamp) - extract(epoch from '2026-07-17 17:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417912 -3.085937)'), GeomFromEWKT('SRID=4674;POINT (-39.417974 -3.08591)'))) / (select extract(epoch from '2026-07-17 17:33:43'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.418032 -3.085899)', '2026-07-17 17:33:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417974 -3.08591)'), GeomFromEWKT('SRID=4674;POINT (-39.418032 -3.085899)'))) / (select extract(epoch from '2026-07-17 17:33:53'::timestamp) - extract(epoch from '2026-07-17 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417974 -3.08591)'), GeomFromEWKT('SRID=4674;POINT (-39.418032 -3.085899)'))) / (select extract(epoch from '2026-07-17 17:33:53'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47991, 'SRID=4674;POINT (-39.418115 -3.085889)', '2026-07-17 17:34:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418032 -3.085899)'), GeomFromEWKT('SRID=4674;POINT (-39.418115 -3.085889)'))) / (select extract(epoch from '2026-07-17 17:34:05'::timestamp) - extract(epoch from '2026-07-17 17:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418032 -3.085899)'), GeomFromEWKT('SRID=4674;POINT (-39.418115 -3.085889)'))) / (select extract(epoch from '2026-07-17 17:34:05'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47991, 'SRID=4674;POINT (-39.418175 -3.08589)', '2026-07-17 17:34:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418115 -3.085889)'), GeomFromEWKT('SRID=4674;POINT (-39.418175 -3.08589)'))) / (select extract(epoch from '2026-07-17 17:34:15'::timestamp) - extract(epoch from '2026-07-17 17:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418115 -3.085889)'), GeomFromEWKT('SRID=4674;POINT (-39.418175 -3.08589)'))) / (select extract(epoch from '2026-07-17 17:34:15'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47991, 'SRID=4674;POINT (-39.418262 -3.085875)', '2026-07-17 17:34:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418175 -3.08589)'), GeomFromEWKT('SRID=4674;POINT (-39.418262 -3.085875)'))) / (select extract(epoch from '2026-07-17 17:34:29'::timestamp) - extract(epoch from '2026-07-17 17:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418175 -3.08589)'), GeomFromEWKT('SRID=4674;POINT (-39.418262 -3.085875)'))) / (select extract(epoch from '2026-07-17 17:34:29'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47991, 'SRID=4674;POINT (-39.418326 -3.08588)', '2026-07-17 17:34:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418262 -3.085875)'), GeomFromEWKT('SRID=4674;POINT (-39.418326 -3.08588)'))) / (select extract(epoch from '2026-07-17 17:34:39'::timestamp) - extract(epoch from '2026-07-17 17:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418262 -3.085875)'), GeomFromEWKT('SRID=4674;POINT (-39.418326 -3.08588)'))) / (select extract(epoch from '2026-07-17 17:34:39'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47991, 'SRID=4674;POINT (-39.418363 -3.085869)', '2026-07-17 17:34:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418326 -3.08588)'), GeomFromEWKT('SRID=4674;POINT (-39.418363 -3.085869)'))) / (select extract(epoch from '2026-07-17 17:34:49'::timestamp) - extract(epoch from '2026-07-17 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418326 -3.08588)'), GeomFromEWKT('SRID=4674;POINT (-39.418363 -3.085869)'))) / (select extract(epoch from '2026-07-17 17:34:49'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47991, 'SRID=4674;POINT (-39.418371 -3.085862)', '2026-07-17 17:34:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418363 -3.085869)'), GeomFromEWKT('SRID=4674;POINT (-39.418371 -3.085862)'))) / (select extract(epoch from '2026-07-17 17:34:56'::timestamp) - extract(epoch from '2026-07-17 17:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418363 -3.085869)'), GeomFromEWKT('SRID=4674;POINT (-39.418371 -3.085862)'))) / (select extract(epoch from '2026-07-17 17:34:56'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.418404 -3.085853)', '2026-07-17 17:35:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418371 -3.085862)'), GeomFromEWKT('SRID=4674;POINT (-39.418404 -3.085853)'))) / (select extract(epoch from '2026-07-17 17:35:04'::timestamp) - extract(epoch from '2026-07-17 17:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418371 -3.085862)'), GeomFromEWKT('SRID=4674;POINT (-39.418404 -3.085853)'))) / (select extract(epoch from '2026-07-17 17:35:04'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.418433 -3.085854)', '2026-07-17 17:35:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418404 -3.085853)'), GeomFromEWKT('SRID=4674;POINT (-39.418433 -3.085854)'))) / (select extract(epoch from '2026-07-17 17:35:11'::timestamp) - extract(epoch from '2026-07-17 17:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418404 -3.085853)'), GeomFromEWKT('SRID=4674;POINT (-39.418433 -3.085854)'))) / (select extract(epoch from '2026-07-17 17:35:11'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47991, 'SRID=4674;POINT (-39.418463 -3.085854)', '2026-07-17 17:35:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418433 -3.085854)'), GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.085854)'))) / (select extract(epoch from '2026-07-17 17:35:19'::timestamp) - extract(epoch from '2026-07-17 17:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418433 -3.085854)'), GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.085854)'))) / (select extract(epoch from '2026-07-17 17:35:19'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47991, 'SRID=4674;POINT (-39.418508 -3.085853)', '2026-07-17 17:35:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.085854)'), GeomFromEWKT('SRID=4674;POINT (-39.418508 -3.085853)'))) / (select extract(epoch from '2026-07-17 17:35:25'::timestamp) - extract(epoch from '2026-07-17 17:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.085854)'), GeomFromEWKT('SRID=4674;POINT (-39.418508 -3.085853)'))) / (select extract(epoch from '2026-07-17 17:35:25'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47991, 'SRID=4674;POINT (-39.418512 -3.085849)', '2026-07-17 17:35:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418508 -3.085853)'), GeomFromEWKT('SRID=4674;POINT (-39.418512 -3.085849)'))) / (select extract(epoch from '2026-07-17 17:35:28'::timestamp) - extract(epoch from '2026-07-17 17:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418508 -3.085853)'), GeomFromEWKT('SRID=4674;POINT (-39.418512 -3.085849)'))) / (select extract(epoch from '2026-07-17 17:35:28'::timestamp) - extract(epoch from '2026-07-17 17:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418528 -3.085846)', '2026-07-17 17:35:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418512 -3.085849)'), GeomFromEWKT('SRID=4674;POINT (-39.418528 -3.085846)'))) / (select extract(epoch from '2026-07-17 17:35:31'::timestamp) - extract(epoch from '2026-07-17 17:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418512 -3.085849)'), GeomFromEWKT('SRID=4674;POINT (-39.418528 -3.085846)'))) / (select extract(epoch from '2026-07-17 17:35:31'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.418573 -3.085839)', '2026-07-17 17:35:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418528 -3.085846)'), GeomFromEWKT('SRID=4674;POINT (-39.418573 -3.085839)'))) / (select extract(epoch from '2026-07-17 17:35:39'::timestamp) - extract(epoch from '2026-07-17 17:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418528 -3.085846)'), GeomFromEWKT('SRID=4674;POINT (-39.418573 -3.085839)'))) / (select extract(epoch from '2026-07-17 17:35:39'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47991, 'SRID=4674;POINT (-39.418655 -3.085842)', '2026-07-17 17:35:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418573 -3.085839)'), GeomFromEWKT('SRID=4674;POINT (-39.418655 -3.085842)'))) / (select extract(epoch from '2026-07-17 17:35:51'::timestamp) - extract(epoch from '2026-07-17 17:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418573 -3.085839)'), GeomFromEWKT('SRID=4674;POINT (-39.418655 -3.085842)'))) / (select extract(epoch from '2026-07-17 17:35:51'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47991, 'SRID=4674;POINT (-39.418718 -3.085833)', '2026-07-17 17:36:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418655 -3.085842)'), GeomFromEWKT('SRID=4674;POINT (-39.418718 -3.085833)'))) / (select extract(epoch from '2026-07-17 17:36:03'::timestamp) - extract(epoch from '2026-07-17 17:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418655 -3.085842)'), GeomFromEWKT('SRID=4674;POINT (-39.418718 -3.085833)'))) / (select extract(epoch from '2026-07-17 17:36:03'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47991, 'SRID=4674;POINT (-39.418784 -3.08582)', '2026-07-17 17:36:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418718 -3.085833)'), GeomFromEWKT('SRID=4674;POINT (-39.418784 -3.08582)'))) / (select extract(epoch from '2026-07-17 17:36:14'::timestamp) - extract(epoch from '2026-07-17 17:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418718 -3.085833)'), GeomFromEWKT('SRID=4674;POINT (-39.418784 -3.08582)'))) / (select extract(epoch from '2026-07-17 17:36:14'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.418857 -3.085832)', '2026-07-17 17:36:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418784 -3.08582)'), GeomFromEWKT('SRID=4674;POINT (-39.418857 -3.085832)'))) / (select extract(epoch from '2026-07-17 17:36:28'::timestamp) - extract(epoch from '2026-07-17 17:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418784 -3.08582)'), GeomFromEWKT('SRID=4674;POINT (-39.418857 -3.085832)'))) / (select extract(epoch from '2026-07-17 17:36:28'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47991, 'SRID=4674;POINT (-39.418922 -3.085816)', '2026-07-17 17:36:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418857 -3.085832)'), GeomFromEWKT('SRID=4674;POINT (-39.418922 -3.085816)'))) / (select extract(epoch from '2026-07-17 17:36:37'::timestamp) - extract(epoch from '2026-07-17 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418857 -3.085832)'), GeomFromEWKT('SRID=4674;POINT (-39.418922 -3.085816)'))) / (select extract(epoch from '2026-07-17 17:36:37'::timestamp) - extract(epoch from '2026-07-17 17:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41901 -3.085791)', '2026-07-17 17:36:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418922 -3.085816)'), GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085791)'))) / (select extract(epoch from '2026-07-17 17:36:51'::timestamp) - extract(epoch from '2026-07-17 17:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418922 -3.085816)'), GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085791)'))) / (select extract(epoch from '2026-07-17 17:36:51'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47991, 'SRID=4674;POINT (-39.419044 -3.085782)', '2026-07-17 17:37:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085791)'), GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085782)'))) / (select extract(epoch from '2026-07-17 17:37:00'::timestamp) - extract(epoch from '2026-07-17 17:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085791)'), GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085782)'))) / (select extract(epoch from '2026-07-17 17:37:00'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47991, 'SRID=4674;POINT (-39.419101 -3.085786)', '2026-07-17 17:37:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085782)'), GeomFromEWKT('SRID=4674;POINT (-39.419101 -3.085786)'))) / (select extract(epoch from '2026-07-17 17:37:10'::timestamp) - extract(epoch from '2026-07-17 17:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085782)'), GeomFromEWKT('SRID=4674;POINT (-39.419101 -3.085786)'))) / (select extract(epoch from '2026-07-17 17:37:10'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47991, 'SRID=4674;POINT (-39.419153 -3.085787)', '2026-07-17 17:37:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419101 -3.085786)'), GeomFromEWKT('SRID=4674;POINT (-39.419153 -3.085787)'))) / (select extract(epoch from '2026-07-17 17:37:18'::timestamp) - extract(epoch from '2026-07-17 17:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419101 -3.085786)'), GeomFromEWKT('SRID=4674;POINT (-39.419153 -3.085787)'))) / (select extract(epoch from '2026-07-17 17:37:18'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47991, 'SRID=4674;POINT (-39.419169 -3.085786)', '2026-07-17 17:37:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419153 -3.085787)'), GeomFromEWKT('SRID=4674;POINT (-39.419169 -3.085786)'))) / (select extract(epoch from '2026-07-17 17:37:22'::timestamp) - extract(epoch from '2026-07-17 17:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419153 -3.085787)'), GeomFromEWKT('SRID=4674;POINT (-39.419169 -3.085786)'))) / (select extract(epoch from '2026-07-17 17:37:22'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419176 -3.085783)', '2026-07-17 17:37:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419169 -3.085786)'), GeomFromEWKT('SRID=4674;POINT (-39.419176 -3.085783)'))) / (select extract(epoch from '2026-07-17 17:37:23'::timestamp) - extract(epoch from '2026-07-17 17:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419169 -3.085786)'), GeomFromEWKT('SRID=4674;POINT (-39.419176 -3.085783)'))) / (select extract(epoch from '2026-07-17 17:37:23'::timestamp) - extract(epoch from '2026-07-17 17:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41919 -3.085785)', '2026-07-17 17:37:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419176 -3.085783)'), GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.085785)'))) / (select extract(epoch from '2026-07-17 17:37:26'::timestamp) - extract(epoch from '2026-07-17 17:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419176 -3.085783)'), GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.085785)'))) / (select extract(epoch from '2026-07-17 17:37:26'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419209 -3.085782)', '2026-07-17 17:37:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.085785)'), GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085782)'))) / (select extract(epoch from '2026-07-17 17:37:29'::timestamp) - extract(epoch from '2026-07-17 17:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.085785)'), GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085782)'))) / (select extract(epoch from '2026-07-17 17:37:29'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47991, 'SRID=4674;POINT (-39.419247 -3.085778)', '2026-07-17 17:37:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085782)'), GeomFromEWKT('SRID=4674;POINT (-39.419247 -3.085778)'))) / (select extract(epoch from '2026-07-17 17:37:36'::timestamp) - extract(epoch from '2026-07-17 17:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085782)'), GeomFromEWKT('SRID=4674;POINT (-39.419247 -3.085778)'))) / (select extract(epoch from '2026-07-17 17:37:36'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419285 -3.085776)', '2026-07-17 17:37:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419247 -3.085778)'), GeomFromEWKT('SRID=4674;POINT (-39.419285 -3.085776)'))) / (select extract(epoch from '2026-07-17 17:37:43'::timestamp) - extract(epoch from '2026-07-17 17:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419247 -3.085778)'), GeomFromEWKT('SRID=4674;POINT (-39.419285 -3.085776)'))) / (select extract(epoch from '2026-07-17 17:37:43'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419325 -3.085769)', '2026-07-17 17:37:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419285 -3.085776)'), GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085769)'))) / (select extract(epoch from '2026-07-17 17:37:51'::timestamp) - extract(epoch from '2026-07-17 17:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419285 -3.085776)'), GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085769)'))) / (select extract(epoch from '2026-07-17 17:37:51'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419344 -3.085769)', '2026-07-17 17:37:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085769)'), GeomFromEWKT('SRID=4674;POINT (-39.419344 -3.085769)'))) / (select extract(epoch from '2026-07-17 17:37:53'::timestamp) - extract(epoch from '2026-07-17 17:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085769)'), GeomFromEWKT('SRID=4674;POINT (-39.419344 -3.085769)'))) / (select extract(epoch from '2026-07-17 17:37:53'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47991, 'SRID=4674;POINT (-39.419359 -3.085765)', '2026-07-17 17:37:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419344 -3.085769)'), GeomFromEWKT('SRID=4674;POINT (-39.419359 -3.085765)'))) / (select extract(epoch from '2026-07-17 17:37:56'::timestamp) - extract(epoch from '2026-07-17 17:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419344 -3.085769)'), GeomFromEWKT('SRID=4674;POINT (-39.419359 -3.085765)'))) / (select extract(epoch from '2026-07-17 17:37:56'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419385 -3.085755)', '2026-07-17 17:38:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419359 -3.085765)'), GeomFromEWKT('SRID=4674;POINT (-39.419385 -3.085755)'))) / (select extract(epoch from '2026-07-17 17:38:01'::timestamp) - extract(epoch from '2026-07-17 17:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419359 -3.085765)'), GeomFromEWKT('SRID=4674;POINT (-39.419385 -3.085755)'))) / (select extract(epoch from '2026-07-17 17:38:01'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47991, 'SRID=4674;POINT (-39.419434 -3.085741)', '2026-07-17 17:38:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419385 -3.085755)'), GeomFromEWKT('SRID=4674;POINT (-39.419434 -3.085741)'))) / (select extract(epoch from '2026-07-17 17:38:10'::timestamp) - extract(epoch from '2026-07-17 17:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419385 -3.085755)'), GeomFromEWKT('SRID=4674;POINT (-39.419434 -3.085741)'))) / (select extract(epoch from '2026-07-17 17:38:10'::timestamp) - extract(epoch from '2026-07-17 17:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419473 -3.085739)', '2026-07-17 17:38:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419434 -3.085741)'), GeomFromEWKT('SRID=4674;POINT (-39.419473 -3.085739)'))) / (select extract(epoch from '2026-07-17 17:38:17'::timestamp) - extract(epoch from '2026-07-17 17:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419434 -3.085741)'), GeomFromEWKT('SRID=4674;POINT (-39.419473 -3.085739)'))) / (select extract(epoch from '2026-07-17 17:38:17'::timestamp) - extract(epoch from '2026-07-17 17:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419489 -3.085739)', '2026-07-17 17:38:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419473 -3.085739)'), GeomFromEWKT('SRID=4674;POINT (-39.419489 -3.085739)'))) / (select extract(epoch from '2026-07-17 17:38:19'::timestamp) - extract(epoch from '2026-07-17 17:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419473 -3.085739)'), GeomFromEWKT('SRID=4674;POINT (-39.419489 -3.085739)'))) / (select extract(epoch from '2026-07-17 17:38:19'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47991, 'SRID=4674;POINT (-39.419512 -3.085739)', '2026-07-17 17:38:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419489 -3.085739)'), GeomFromEWKT('SRID=4674;POINT (-39.419512 -3.085739)'))) / (select extract(epoch from '2026-07-17 17:38:23'::timestamp) - extract(epoch from '2026-07-17 17:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419489 -3.085739)'), GeomFromEWKT('SRID=4674;POINT (-39.419512 -3.085739)'))) / (select extract(epoch from '2026-07-17 17:38:23'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47991, 'SRID=4674;POINT (-39.419556 -3.085732)', '2026-07-17 17:38:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419512 -3.085739)'), GeomFromEWKT('SRID=4674;POINT (-39.419556 -3.085732)'))) / (select extract(epoch from '2026-07-17 17:38:30'::timestamp) - extract(epoch from '2026-07-17 17:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419512 -3.085739)'), GeomFromEWKT('SRID=4674;POINT (-39.419556 -3.085732)'))) / (select extract(epoch from '2026-07-17 17:38:30'::timestamp) - extract(epoch from '2026-07-17 17:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419607 -3.085729)', '2026-07-17 17:38:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419556 -3.085732)'), GeomFromEWKT('SRID=4674;POINT (-39.419607 -3.085729)'))) / (select extract(epoch from '2026-07-17 17:38:39'::timestamp) - extract(epoch from '2026-07-17 17:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419556 -3.085732)'), GeomFromEWKT('SRID=4674;POINT (-39.419607 -3.085729)'))) / (select extract(epoch from '2026-07-17 17:38:39'::timestamp) - extract(epoch from '2026-07-17 17:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419657 -3.08572)', '2026-07-17 17:38:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419607 -3.085729)'), GeomFromEWKT('SRID=4674;POINT (-39.419657 -3.08572)'))) / (select extract(epoch from '2026-07-17 17:38:48'::timestamp) - extract(epoch from '2026-07-17 17:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419607 -3.085729)'), GeomFromEWKT('SRID=4674;POINT (-39.419657 -3.08572)'))) / (select extract(epoch from '2026-07-17 17:38:48'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47991, 'SRID=4674;POINT (-39.419685 -3.08572)', '2026-07-17 17:38:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419657 -3.08572)'), GeomFromEWKT('SRID=4674;POINT (-39.419685 -3.08572)'))) / (select extract(epoch from '2026-07-17 17:38:51'::timestamp) - extract(epoch from '2026-07-17 17:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419657 -3.08572)'), GeomFromEWKT('SRID=4674;POINT (-39.419685 -3.08572)'))) / (select extract(epoch from '2026-07-17 17:38:51'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419694 -3.085713)', '2026-07-17 17:38:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419685 -3.08572)'), GeomFromEWKT('SRID=4674;POINT (-39.419694 -3.085713)'))) / (select extract(epoch from '2026-07-17 17:38:53'::timestamp) - extract(epoch from '2026-07-17 17:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419685 -3.08572)'), GeomFromEWKT('SRID=4674;POINT (-39.419694 -3.085713)'))) / (select extract(epoch from '2026-07-17 17:38:53'::timestamp) - extract(epoch from '2026-07-17 17:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419762 -3.085695)', '2026-07-17 17:39:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419694 -3.085713)'), GeomFromEWKT('SRID=4674;POINT (-39.419762 -3.085695)'))) / (select extract(epoch from '2026-07-17 17:39:09'::timestamp) - extract(epoch from '2026-07-17 17:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419694 -3.085713)'), GeomFromEWKT('SRID=4674;POINT (-39.419762 -3.085695)'))) / (select extract(epoch from '2026-07-17 17:39:09'::timestamp) - extract(epoch from '2026-07-17 17:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419835 -3.085702)', '2026-07-17 17:39:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419762 -3.085695)'), GeomFromEWKT('SRID=4674;POINT (-39.419835 -3.085702)'))) / (select extract(epoch from '2026-07-17 17:39:22'::timestamp) - extract(epoch from '2026-07-17 17:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419762 -3.085695)'), GeomFromEWKT('SRID=4674;POINT (-39.419835 -3.085702)'))) / (select extract(epoch from '2026-07-17 17:39:22'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.419903 -3.085701)', '2026-07-17 17:39:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419835 -3.085702)'), GeomFromEWKT('SRID=4674;POINT (-39.419903 -3.085701)'))) / (select extract(epoch from '2026-07-17 17:39:33'::timestamp) - extract(epoch from '2026-07-17 17:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419835 -3.085702)'), GeomFromEWKT('SRID=4674;POINT (-39.419903 -3.085701)'))) / (select extract(epoch from '2026-07-17 17:39:33'::timestamp) - extract(epoch from '2026-07-17 17:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419988 -3.085703)', '2026-07-17 17:39:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419903 -3.085701)'), GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085703)'))) / (select extract(epoch from '2026-07-17 17:39:47'::timestamp) - extract(epoch from '2026-07-17 17:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419903 -3.085701)'), GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085703)'))) / (select extract(epoch from '2026-07-17 17:39:47'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.420043 -3.085691)', '2026-07-17 17:39:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085703)'), GeomFromEWKT('SRID=4674;POINT (-39.420043 -3.085691)'))) / (select extract(epoch from '2026-07-17 17:39:58'::timestamp) - extract(epoch from '2026-07-17 17:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085703)'), GeomFromEWKT('SRID=4674;POINT (-39.420043 -3.085691)'))) / (select extract(epoch from '2026-07-17 17:39:58'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.420098 -3.085661)', '2026-07-17 17:40:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420043 -3.085691)'), GeomFromEWKT('SRID=4674;POINT (-39.420098 -3.085661)'))) / (select extract(epoch from '2026-07-17 17:40:10'::timestamp) - extract(epoch from '2026-07-17 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420043 -3.085691)'), GeomFromEWKT('SRID=4674;POINT (-39.420098 -3.085661)'))) / (select extract(epoch from '2026-07-17 17:40:10'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47991, 'SRID=4674;POINT (-39.42019 -3.085634)', '2026-07-17 17:40:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420098 -3.085661)'), GeomFromEWKT('SRID=4674;POINT (-39.42019 -3.085634)'))) / (select extract(epoch from '2026-07-17 17:40:24'::timestamp) - extract(epoch from '2026-07-17 17:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420098 -3.085661)'), GeomFromEWKT('SRID=4674;POINT (-39.42019 -3.085634)'))) / (select extract(epoch from '2026-07-17 17:40:24'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47991, 'SRID=4674;POINT (-39.420237 -3.085642)', '2026-07-17 17:40:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42019 -3.085634)'), GeomFromEWKT('SRID=4674;POINT (-39.420237 -3.085642)'))) / (select extract(epoch from '2026-07-17 17:40:30'::timestamp) - extract(epoch from '2026-07-17 17:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42019 -3.085634)'), GeomFromEWKT('SRID=4674;POINT (-39.420237 -3.085642)'))) / (select extract(epoch from '2026-07-17 17:40:30'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47991, 'SRID=4674;POINT (-39.4203 -3.085632)', '2026-07-17 17:40:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420237 -3.085642)'), GeomFromEWKT('SRID=4674;POINT (-39.4203 -3.085632)'))) / (select extract(epoch from '2026-07-17 17:40:40'::timestamp) - extract(epoch from '2026-07-17 17:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420237 -3.085642)'), GeomFromEWKT('SRID=4674;POINT (-39.4203 -3.085632)'))) / (select extract(epoch from '2026-07-17 17:40:40'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.420338 -3.085628)', '2026-07-17 17:40:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4203 -3.085632)'), GeomFromEWKT('SRID=4674;POINT (-39.420338 -3.085628)'))) / (select extract(epoch from '2026-07-17 17:40:46'::timestamp) - extract(epoch from '2026-07-17 17:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4203 -3.085632)'), GeomFromEWKT('SRID=4674;POINT (-39.420338 -3.085628)'))) / (select extract(epoch from '2026-07-17 17:40:46'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47991, 'SRID=4674;POINT (-39.420365 -3.085633)', '2026-07-17 17:40:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420338 -3.085628)'), GeomFromEWKT('SRID=4674;POINT (-39.420365 -3.085633)'))) / (select extract(epoch from '2026-07-17 17:40:52'::timestamp) - extract(epoch from '2026-07-17 17:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420338 -3.085628)'), GeomFromEWKT('SRID=4674;POINT (-39.420365 -3.085633)'))) / (select extract(epoch from '2026-07-17 17:40:52'::timestamp) - extract(epoch from '2026-07-17 17:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420391 -3.085621)', '2026-07-17 17:40:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420365 -3.085633)'), GeomFromEWKT('SRID=4674;POINT (-39.420391 -3.085621)'))) / (select extract(epoch from '2026-07-17 17:40:58'::timestamp) - extract(epoch from '2026-07-17 17:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420365 -3.085633)'), GeomFromEWKT('SRID=4674;POINT (-39.420391 -3.085621)'))) / (select extract(epoch from '2026-07-17 17:40:58'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47991, 'SRID=4674;POINT (-39.42043 -3.085618)', '2026-07-17 17:41:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420391 -3.085621)'), GeomFromEWKT('SRID=4674;POINT (-39.42043 -3.085618)'))) / (select extract(epoch from '2026-07-17 17:41:06'::timestamp) - extract(epoch from '2026-07-17 17:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420391 -3.085621)'), GeomFromEWKT('SRID=4674;POINT (-39.42043 -3.085618)'))) / (select extract(epoch from '2026-07-17 17:41:06'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47991, 'SRID=4674;POINT (-39.420476 -3.085623)', '2026-07-17 17:41:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42043 -3.085618)'), GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085623)'))) / (select extract(epoch from '2026-07-17 17:41:13'::timestamp) - extract(epoch from '2026-07-17 17:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42043 -3.085618)'), GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085623)'))) / (select extract(epoch from '2026-07-17 17:41:13'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.420514 -3.08562)', '2026-07-17 17:41:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085623)'), GeomFromEWKT('SRID=4674;POINT (-39.420514 -3.08562)'))) / (select extract(epoch from '2026-07-17 17:41:20'::timestamp) - extract(epoch from '2026-07-17 17:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085623)'), GeomFromEWKT('SRID=4674;POINT (-39.420514 -3.08562)'))) / (select extract(epoch from '2026-07-17 17:41:20'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47991, 'SRID=4674;POINT (-39.420522 -3.08562)', '2026-07-17 17:41:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420514 -3.08562)'), GeomFromEWKT('SRID=4674;POINT (-39.420522 -3.08562)'))) / (select extract(epoch from '2026-07-17 17:41:21'::timestamp) - extract(epoch from '2026-07-17 17:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420514 -3.08562)'), GeomFromEWKT('SRID=4674;POINT (-39.420522 -3.08562)'))) / (select extract(epoch from '2026-07-17 17:41:21'::timestamp) - extract(epoch from '2026-07-17 17:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420534 -3.085622)', '2026-07-17 17:41:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420522 -3.08562)'), GeomFromEWKT('SRID=4674;POINT (-39.420534 -3.085622)'))) / (select extract(epoch from '2026-07-17 17:41:24'::timestamp) - extract(epoch from '2026-07-17 17:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420522 -3.08562)'), GeomFromEWKT('SRID=4674;POINT (-39.420534 -3.085622)'))) / (select extract(epoch from '2026-07-17 17:41:24'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47991, 'SRID=4674;POINT (-39.420579 -3.085608)', '2026-07-17 17:41:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420534 -3.085622)'), GeomFromEWKT('SRID=4674;POINT (-39.420579 -3.085608)'))) / (select extract(epoch from '2026-07-17 17:41:32'::timestamp) - extract(epoch from '2026-07-17 17:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420534 -3.085622)'), GeomFromEWKT('SRID=4674;POINT (-39.420579 -3.085608)'))) / (select extract(epoch from '2026-07-17 17:41:32'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.420628 -3.085605)', '2026-07-17 17:41:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420579 -3.085608)'), GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.085605)'))) / (select extract(epoch from '2026-07-17 17:41:39'::timestamp) - extract(epoch from '2026-07-17 17:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420579 -3.085608)'), GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.085605)'))) / (select extract(epoch from '2026-07-17 17:41:39'::timestamp) - extract(epoch from '2026-07-17 17:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420656 -3.08561)', '2026-07-17 17:41:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.085605)'), GeomFromEWKT('SRID=4674;POINT (-39.420656 -3.08561)'))) / (select extract(epoch from '2026-07-17 17:41:44'::timestamp) - extract(epoch from '2026-07-17 17:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.085605)'), GeomFromEWKT('SRID=4674;POINT (-39.420656 -3.08561)'))) / (select extract(epoch from '2026-07-17 17:41:44'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47991, 'SRID=4674;POINT (-39.420691 -3.085611)', '2026-07-17 17:41:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420656 -3.08561)'), GeomFromEWKT('SRID=4674;POINT (-39.420691 -3.085611)'))) / (select extract(epoch from '2026-07-17 17:41:50'::timestamp) - extract(epoch from '2026-07-17 17:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420656 -3.08561)'), GeomFromEWKT('SRID=4674;POINT (-39.420691 -3.085611)'))) / (select extract(epoch from '2026-07-17 17:41:50'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47991, 'SRID=4674;POINT (-39.420753 -3.085614)', '2026-07-17 17:41:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420691 -3.085611)'), GeomFromEWKT('SRID=4674;POINT (-39.420753 -3.085614)'))) / (select extract(epoch from '2026-07-17 17:41:58'::timestamp) - extract(epoch from '2026-07-17 17:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420691 -3.085611)'), GeomFromEWKT('SRID=4674;POINT (-39.420753 -3.085614)'))) / (select extract(epoch from '2026-07-17 17:41:58'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47991, 'SRID=4674;POINT (-39.420835 -3.085599)', '2026-07-17 17:42:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420753 -3.085614)'), GeomFromEWKT('SRID=4674;POINT (-39.420835 -3.085599)'))) / (select extract(epoch from '2026-07-17 17:42:10'::timestamp) - extract(epoch from '2026-07-17 17:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420753 -3.085614)'), GeomFromEWKT('SRID=4674;POINT (-39.420835 -3.085599)'))) / (select extract(epoch from '2026-07-17 17:42:10'::timestamp) - extract(epoch from '2026-07-17 17:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420906 -3.08559)', '2026-07-17 17:42:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420835 -3.085599)'), GeomFromEWKT('SRID=4674;POINT (-39.420906 -3.08559)'))) / (select extract(epoch from '2026-07-17 17:42:20'::timestamp) - extract(epoch from '2026-07-17 17:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420835 -3.085599)'), GeomFromEWKT('SRID=4674;POINT (-39.420906 -3.08559)'))) / (select extract(epoch from '2026-07-17 17:42:20'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.420957 -3.085576)', '2026-07-17 17:42:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420906 -3.08559)'), GeomFromEWKT('SRID=4674;POINT (-39.420957 -3.085576)'))) / (select extract(epoch from '2026-07-17 17:42:29'::timestamp) - extract(epoch from '2026-07-17 17:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420906 -3.08559)'), GeomFromEWKT('SRID=4674;POINT (-39.420957 -3.085576)'))) / (select extract(epoch from '2026-07-17 17:42:29'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47991, 'SRID=4674;POINT (-39.421011 -3.085574)', '2026-07-17 17:42:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420957 -3.085576)'), GeomFromEWKT('SRID=4674;POINT (-39.421011 -3.085574)'))) / (select extract(epoch from '2026-07-17 17:42:40'::timestamp) - extract(epoch from '2026-07-17 17:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420957 -3.085576)'), GeomFromEWKT('SRID=4674;POINT (-39.421011 -3.085574)'))) / (select extract(epoch from '2026-07-17 17:42:40'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47991, 'SRID=4674;POINT (-39.421062 -3.085584)', '2026-07-17 17:42:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421011 -3.085574)'), GeomFromEWKT('SRID=4674;POINT (-39.421062 -3.085584)'))) / (select extract(epoch from '2026-07-17 17:42:53'::timestamp) - extract(epoch from '2026-07-17 17:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421011 -3.085574)'), GeomFromEWKT('SRID=4674;POINT (-39.421062 -3.085584)'))) / (select extract(epoch from '2026-07-17 17:42:53'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47991, 'SRID=4674;POINT (-39.421078 -3.085596)', '2026-07-17 17:43:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421062 -3.085584)'), GeomFromEWKT('SRID=4674;POINT (-39.421078 -3.085596)'))) / (select extract(epoch from '2026-07-17 17:43:01'::timestamp) - extract(epoch from '2026-07-17 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421062 -3.085584)'), GeomFromEWKT('SRID=4674;POINT (-39.421078 -3.085596)'))) / (select extract(epoch from '2026-07-17 17:43:01'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.421081 -3.08561)', '2026-07-17 17:43:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421078 -3.085596)'), GeomFromEWKT('SRID=4674;POINT (-39.421081 -3.08561)'))) / (select extract(epoch from '2026-07-17 17:43:11'::timestamp) - extract(epoch from '2026-07-17 17:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421078 -3.085596)'), GeomFromEWKT('SRID=4674;POINT (-39.421081 -3.08561)'))) / (select extract(epoch from '2026-07-17 17:43:11'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.42109 -3.085603)', '2026-07-17 17:43:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421081 -3.08561)'), GeomFromEWKT('SRID=4674;POINT (-39.42109 -3.085603)'))) / (select extract(epoch from '2026-07-17 17:43:19'::timestamp) - extract(epoch from '2026-07-17 17:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421081 -3.08561)'), GeomFromEWKT('SRID=4674;POINT (-39.42109 -3.085603)'))) / (select extract(epoch from '2026-07-17 17:43:19'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.421095 -3.085596)', '2026-07-17 17:43:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42109 -3.085603)'), GeomFromEWKT('SRID=4674;POINT (-39.421095 -3.085596)'))) / (select extract(epoch from '2026-07-17 17:43:29'::timestamp) - extract(epoch from '2026-07-17 17:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42109 -3.085603)'), GeomFromEWKT('SRID=4674;POINT (-39.421095 -3.085596)'))) / (select extract(epoch from '2026-07-17 17:43:29'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47991, 'SRID=4674;POINT (-39.421116 -3.085583)', '2026-07-17 17:43:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421095 -3.085596)'), GeomFromEWKT('SRID=4674;POINT (-39.421116 -3.085583)'))) / (select extract(epoch from '2026-07-17 17:43:40'::timestamp) - extract(epoch from '2026-07-17 17:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421095 -3.085596)'), GeomFromEWKT('SRID=4674;POINT (-39.421116 -3.085583)'))) / (select extract(epoch from '2026-07-17 17:43:40'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47991, 'SRID=4674;POINT (-39.421137 -3.085583)', '2026-07-17 17:43:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421116 -3.085583)'), GeomFromEWKT('SRID=4674;POINT (-39.421137 -3.085583)'))) / (select extract(epoch from '2026-07-17 17:43:49'::timestamp) - extract(epoch from '2026-07-17 17:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421116 -3.085583)'), GeomFromEWKT('SRID=4674;POINT (-39.421137 -3.085583)'))) / (select extract(epoch from '2026-07-17 17:43:49'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47991, 'SRID=4674;POINT (-39.421163 -3.085583)', '2026-07-17 17:44:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421137 -3.085583)'), GeomFromEWKT('SRID=4674;POINT (-39.421163 -3.085583)'))) / (select extract(epoch from '2026-07-17 17:44:03'::timestamp) - extract(epoch from '2026-07-17 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421137 -3.085583)'), GeomFromEWKT('SRID=4674;POINT (-39.421163 -3.085583)'))) / (select extract(epoch from '2026-07-17 17:44:03'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.421215 -3.085588)', '2026-07-17 17:44:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421163 -3.085583)'), GeomFromEWKT('SRID=4674;POINT (-39.421215 -3.085588)'))) / (select extract(epoch from '2026-07-17 17:44:13'::timestamp) - extract(epoch from '2026-07-17 17:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421163 -3.085583)'), GeomFromEWKT('SRID=4674;POINT (-39.421215 -3.085588)'))) / (select extract(epoch from '2026-07-17 17:44:13'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.421275 -3.085582)', '2026-07-17 17:44:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421215 -3.085588)'), GeomFromEWKT('SRID=4674;POINT (-39.421275 -3.085582)'))) / (select extract(epoch from '2026-07-17 17:44:24'::timestamp) - extract(epoch from '2026-07-17 17:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421215 -3.085588)'), GeomFromEWKT('SRID=4674;POINT (-39.421275 -3.085582)'))) / (select extract(epoch from '2026-07-17 17:44:24'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47991, 'SRID=4674;POINT (-39.421332 -3.085586)', '2026-07-17 17:44:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421275 -3.085582)'), GeomFromEWKT('SRID=4674;POINT (-39.421332 -3.085586)'))) / (select extract(epoch from '2026-07-17 17:44:35'::timestamp) - extract(epoch from '2026-07-17 17:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421275 -3.085582)'), GeomFromEWKT('SRID=4674;POINT (-39.421332 -3.085586)'))) / (select extract(epoch from '2026-07-17 17:44:35'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47991, 'SRID=4674;POINT (-39.421373 -3.085589)', '2026-07-17 17:44:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421332 -3.085586)'), GeomFromEWKT('SRID=4674;POINT (-39.421373 -3.085589)'))) / (select extract(epoch from '2026-07-17 17:44:44'::timestamp) - extract(epoch from '2026-07-17 17:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421332 -3.085586)'), GeomFromEWKT('SRID=4674;POINT (-39.421373 -3.085589)'))) / (select extract(epoch from '2026-07-17 17:44:44'::timestamp) - extract(epoch from '2026-07-17 17:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.421439 -3.085579)', '2026-07-17 17:44:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421373 -3.085589)'), GeomFromEWKT('SRID=4674;POINT (-39.421439 -3.085579)'))) / (select extract(epoch from '2026-07-17 17:44:53'::timestamp) - extract(epoch from '2026-07-17 17:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421373 -3.085589)'), GeomFromEWKT('SRID=4674;POINT (-39.421439 -3.085579)'))) / (select extract(epoch from '2026-07-17 17:44:53'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47991, 'SRID=4674;POINT (-39.421481 -3.085588)', '2026-07-17 17:45:01', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421439 -3.085579)'), GeomFromEWKT('SRID=4674;POINT (-39.421481 -3.085588)'))) / (select extract(epoch from '2026-07-17 17:45:01'::timestamp) - extract(epoch from '2026-07-17 17:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421439 -3.085579)'), GeomFromEWKT('SRID=4674;POINT (-39.421481 -3.085588)'))) / (select extract(epoch from '2026-07-17 17:45:01'::timestamp) - extract(epoch from '2026-07-17 17:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.421533 -3.085576)', '2026-07-17 17:45:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421481 -3.085588)'), GeomFromEWKT('SRID=4674;POINT (-39.421533 -3.085576)'))) / (select extract(epoch from '2026-07-17 17:45:08'::timestamp) - extract(epoch from '2026-07-17 17:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421481 -3.085588)'), GeomFromEWKT('SRID=4674;POINT (-39.421533 -3.085576)'))) / (select extract(epoch from '2026-07-17 17:45:08'::timestamp) - extract(epoch from '2026-07-17 17:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.42156 -3.085582)', '2026-07-17 17:45:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421533 -3.085576)'), GeomFromEWKT('SRID=4674;POINT (-39.42156 -3.085582)'))) / (select extract(epoch from '2026-07-17 17:45:15'::timestamp) - extract(epoch from '2026-07-17 17:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421533 -3.085576)'), GeomFromEWKT('SRID=4674;POINT (-39.42156 -3.085582)'))) / (select extract(epoch from '2026-07-17 17:45:15'::timestamp) - extract(epoch from '2026-07-17 17:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.421597 -3.085573)', '2026-07-17 17:45:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42156 -3.085582)'), GeomFromEWKT('SRID=4674;POINT (-39.421597 -3.085573)'))) / (select extract(epoch from '2026-07-17 17:45:22'::timestamp) - extract(epoch from '2026-07-17 17:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42156 -3.085582)'), GeomFromEWKT('SRID=4674;POINT (-39.421597 -3.085573)'))) / (select extract(epoch from '2026-07-17 17:45:22'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.421629 -3.085564)', '2026-07-17 17:45:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421597 -3.085573)'), GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.085564)'))) / (select extract(epoch from '2026-07-17 17:45:29'::timestamp) - extract(epoch from '2026-07-17 17:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421597 -3.085573)'), GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.085564)'))) / (select extract(epoch from '2026-07-17 17:45:29'::timestamp) - extract(epoch from '2026-07-17 17:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.421687 -3.085554)', '2026-07-17 17:45:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.085564)'), GeomFromEWKT('SRID=4674;POINT (-39.421687 -3.085554)'))) / (select extract(epoch from '2026-07-17 17:45:39'::timestamp) - extract(epoch from '2026-07-17 17:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.085564)'), GeomFromEWKT('SRID=4674;POINT (-39.421687 -3.085554)'))) / (select extract(epoch from '2026-07-17 17:45:39'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47991, 'SRID=4674;POINT (-39.42174 -3.085568)', '2026-07-17 17:45:46', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421687 -3.085554)'), GeomFromEWKT('SRID=4674;POINT (-39.42174 -3.085568)'))) / (select extract(epoch from '2026-07-17 17:45:46'::timestamp) - extract(epoch from '2026-07-17 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421687 -3.085554)'), GeomFromEWKT('SRID=4674;POINT (-39.42174 -3.085568)'))) / (select extract(epoch from '2026-07-17 17:45:46'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.421775 -3.085551)', '2026-07-17 17:45:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42174 -3.085568)'), GeomFromEWKT('SRID=4674;POINT (-39.421775 -3.085551)'))) / (select extract(epoch from '2026-07-17 17:45:55'::timestamp) - extract(epoch from '2026-07-17 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42174 -3.085568)'), GeomFromEWKT('SRID=4674;POINT (-39.421775 -3.085551)'))) / (select extract(epoch from '2026-07-17 17:45:55'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.4218 -3.085549)', '2026-07-17 17:46:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421775 -3.085551)'), GeomFromEWKT('SRID=4674;POINT (-39.4218 -3.085549)'))) / (select extract(epoch from '2026-07-17 17:46:04'::timestamp) - extract(epoch from '2026-07-17 17:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421775 -3.085551)'), GeomFromEWKT('SRID=4674;POINT (-39.4218 -3.085549)'))) / (select extract(epoch from '2026-07-17 17:46:04'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47991, 'SRID=4674;POINT (-39.421861 -3.085555)', '2026-07-17 17:46:13', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4218 -3.085549)'), GeomFromEWKT('SRID=4674;POINT (-39.421861 -3.085555)'))) / (select extract(epoch from '2026-07-17 17:46:13'::timestamp) - extract(epoch from '2026-07-17 17:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4218 -3.085549)'), GeomFromEWKT('SRID=4674;POINT (-39.421861 -3.085555)'))) / (select extract(epoch from '2026-07-17 17:46:13'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47991, 'SRID=4674;POINT (-39.421927 -3.085549)', '2026-07-17 17:46:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421861 -3.085555)'), GeomFromEWKT('SRID=4674;POINT (-39.421927 -3.085549)'))) / (select extract(epoch from '2026-07-17 17:46:24'::timestamp) - extract(epoch from '2026-07-17 17:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421861 -3.085555)'), GeomFromEWKT('SRID=4674;POINT (-39.421927 -3.085549)'))) / (select extract(epoch from '2026-07-17 17:46:24'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.421965 -3.085547)', '2026-07-17 17:46:32', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421927 -3.085549)'), GeomFromEWKT('SRID=4674;POINT (-39.421965 -3.085547)'))) / (select extract(epoch from '2026-07-17 17:46:32'::timestamp) - extract(epoch from '2026-07-17 17:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421927 -3.085549)'), GeomFromEWKT('SRID=4674;POINT (-39.421965 -3.085547)'))) / (select extract(epoch from '2026-07-17 17:46:32'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47991, 'SRID=4674;POINT (-39.422001 -3.085533)', '2026-07-17 17:46:38', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421965 -3.085547)'), GeomFromEWKT('SRID=4674;POINT (-39.422001 -3.085533)'))) / (select extract(epoch from '2026-07-17 17:46:38'::timestamp) - extract(epoch from '2026-07-17 17:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421965 -3.085547)'), GeomFromEWKT('SRID=4674;POINT (-39.422001 -3.085533)'))) / (select extract(epoch from '2026-07-17 17:46:38'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47991, 'SRID=4674;POINT (-39.422065 -3.085529)', '2026-07-17 17:46:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422001 -3.085533)'), GeomFromEWKT('SRID=4674;POINT (-39.422065 -3.085529)'))) / (select extract(epoch from '2026-07-17 17:46:49'::timestamp) - extract(epoch from '2026-07-17 17:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422001 -3.085533)'), GeomFromEWKT('SRID=4674;POINT (-39.422065 -3.085529)'))) / (select extract(epoch from '2026-07-17 17:46:49'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47991, 'SRID=4674;POINT (-39.422112 -3.085513)', '2026-07-17 17:46:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422065 -3.085529)'), GeomFromEWKT('SRID=4674;POINT (-39.422112 -3.085513)'))) / (select extract(epoch from '2026-07-17 17:46:57'::timestamp) - extract(epoch from '2026-07-17 17:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422065 -3.085529)'), GeomFromEWKT('SRID=4674;POINT (-39.422112 -3.085513)'))) / (select extract(epoch from '2026-07-17 17:46:57'::timestamp) - extract(epoch from '2026-07-17 17:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422163 -3.085517)', '2026-07-17 17:47:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422112 -3.085513)'), GeomFromEWKT('SRID=4674;POINT (-39.422163 -3.085517)'))) / (select extract(epoch from '2026-07-17 17:47:04'::timestamp) - extract(epoch from '2026-07-17 17:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422112 -3.085513)'), GeomFromEWKT('SRID=4674;POINT (-39.422163 -3.085517)'))) / (select extract(epoch from '2026-07-17 17:47:04'::timestamp) - extract(epoch from '2026-07-17 17:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422229 -3.085509)', '2026-07-17 17:47:14', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422163 -3.085517)'), GeomFromEWKT('SRID=4674;POINT (-39.422229 -3.085509)'))) / (select extract(epoch from '2026-07-17 17:47:14'::timestamp) - extract(epoch from '2026-07-17 17:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422163 -3.085517)'), GeomFromEWKT('SRID=4674;POINT (-39.422229 -3.085509)'))) / (select extract(epoch from '2026-07-17 17:47:14'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422303 -3.085512)', '2026-07-17 17:47:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422229 -3.085509)'), GeomFromEWKT('SRID=4674;POINT (-39.422303 -3.085512)'))) / (select extract(epoch from '2026-07-17 17:47:25'::timestamp) - extract(epoch from '2026-07-17 17:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422229 -3.085509)'), GeomFromEWKT('SRID=4674;POINT (-39.422303 -3.085512)'))) / (select extract(epoch from '2026-07-17 17:47:25'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422356 -3.085507)', '2026-07-17 17:47:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422303 -3.085512)'), GeomFromEWKT('SRID=4674;POINT (-39.422356 -3.085507)'))) / (select extract(epoch from '2026-07-17 17:47:32'::timestamp) - extract(epoch from '2026-07-17 17:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422303 -3.085512)'), GeomFromEWKT('SRID=4674;POINT (-39.422356 -3.085507)'))) / (select extract(epoch from '2026-07-17 17:47:32'::timestamp) - extract(epoch from '2026-07-17 17:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422411 -3.085497)', '2026-07-17 17:47:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422356 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.422411 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:47:39'::timestamp) - extract(epoch from '2026-07-17 17:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422356 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.422411 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:47:39'::timestamp) - extract(epoch from '2026-07-17 17:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422477 -3.085495)', '2026-07-17 17:47:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422411 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422477 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:47:50'::timestamp) - extract(epoch from '2026-07-17 17:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422411 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422477 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:47:50'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47991, 'SRID=4674;POINT (-39.422518 -3.0855)', '2026-07-17 17:47:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422477 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422518 -3.0855)'))) / (select extract(epoch from '2026-07-17 17:47:59'::timestamp) - extract(epoch from '2026-07-17 17:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422477 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422518 -3.0855)'))) / (select extract(epoch from '2026-07-17 17:47:59'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47991, 'SRID=4674;POINT (-39.422557 -3.085513)', '2026-07-17 17:48:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422518 -3.0855)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085513)'))) / (select extract(epoch from '2026-07-17 17:48:07'::timestamp) - extract(epoch from '2026-07-17 17:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422518 -3.0855)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085513)'))) / (select extract(epoch from '2026-07-17 17:48:07'::timestamp) - extract(epoch from '2026-07-17 17:47:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422541 -3.085498)', '2026-07-17 17:48:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085513)'), GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085498)'))) / (select extract(epoch from '2026-07-17 17:48:15'::timestamp) - extract(epoch from '2026-07-17 17:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085513)'), GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085498)'))) / (select extract(epoch from '2026-07-17 17:48:15'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.42255 -3.085502)', '2026-07-17 17:48:23', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085502)'))) / (select extract(epoch from '2026-07-17 17:48:23'::timestamp) - extract(epoch from '2026-07-17 17:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085502)'))) / (select extract(epoch from '2026-07-17 17:48:23'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47991, 'SRID=4674;POINT (-39.422546 -3.085503)', '2026-07-17 17:48:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085502)'), GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085503)'))) / (select extract(epoch from '2026-07-17 17:48:28'::timestamp) - extract(epoch from '2026-07-17 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085502)'), GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085503)'))) / (select extract(epoch from '2026-07-17 17:48:28'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422547 -3.085497)', '2026-07-17 17:48:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085503)'), GeomFromEWKT('SRID=4674;POINT (-39.422547 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:48:35'::timestamp) - extract(epoch from '2026-07-17 17:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085503)'), GeomFromEWKT('SRID=4674;POINT (-39.422547 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:48:35'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422556 -3.085501)', '2026-07-17 17:48:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422547 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085501)'))) / (select extract(epoch from '2026-07-17 17:48:44'::timestamp) - extract(epoch from '2026-07-17 17:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422547 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085501)'))) / (select extract(epoch from '2026-07-17 17:48:44'::timestamp) - extract(epoch from '2026-07-17 17:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422545 -3.085495)', '2026-07-17 17:48:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085501)'), GeomFromEWKT('SRID=4674;POINT (-39.422545 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:48:56'::timestamp) - extract(epoch from '2026-07-17 17:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085501)'), GeomFromEWKT('SRID=4674;POINT (-39.422545 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:48:56'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422548 -3.08549)', '2026-07-17 17:49:03', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422545 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:49:03'::timestamp) - extract(epoch from '2026-07-17 17:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422545 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:49:03'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47991, 'SRID=4674;POINT (-39.422548 -3.085477)', '2026-07-17 17:49:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:49:14'::timestamp) - extract(epoch from '2026-07-17 17:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:49:14'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47991, 'SRID=4674;POINT (-39.422543 -3.085476)', '2026-07-17 17:49:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422543 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:49:20'::timestamp) - extract(epoch from '2026-07-17 17:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422548 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422543 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:49:20'::timestamp) - extract(epoch from '2026-07-17 17:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422539 -3.085474)', '2026-07-17 17:49:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422543 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422539 -3.085474)'))) / (select extract(epoch from '2026-07-17 17:49:27'::timestamp) - extract(epoch from '2026-07-17 17:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422543 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422539 -3.085474)'))) / (select extract(epoch from '2026-07-17 17:49:27'::timestamp) - extract(epoch from '2026-07-17 17:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422536 -3.085474)', '2026-07-17 17:49:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422539 -3.085474)'), GeomFromEWKT('SRID=4674;POINT (-39.422536 -3.085474)'))) / (select extract(epoch from '2026-07-17 17:49:33'::timestamp) - extract(epoch from '2026-07-17 17:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422539 -3.085474)'), GeomFromEWKT('SRID=4674;POINT (-39.422536 -3.085474)'))) / (select extract(epoch from '2026-07-17 17:49:33'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47991, 'SRID=4674;POINT (-39.422528 -3.085469)', '2026-07-17 17:49:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422536 -3.085474)'), GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085469)'))) / (select extract(epoch from '2026-07-17 17:49:39'::timestamp) - extract(epoch from '2026-07-17 17:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422536 -3.085474)'), GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085469)'))) / (select extract(epoch from '2026-07-17 17:49:39'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422534 -3.085477)', '2026-07-17 17:49:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085469)'), GeomFromEWKT('SRID=4674;POINT (-39.422534 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:49:47'::timestamp) - extract(epoch from '2026-07-17 17:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085469)'), GeomFromEWKT('SRID=4674;POINT (-39.422534 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:49:47'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422528 -3.085483)', '2026-07-17 17:49:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422534 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085483)'))) / (select extract(epoch from '2026-07-17 17:49:57'::timestamp) - extract(epoch from '2026-07-17 17:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422534 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085483)'))) / (select extract(epoch from '2026-07-17 17:49:57'::timestamp) - extract(epoch from '2026-07-17 17:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422514 -3.085486)', '2026-07-17 17:50:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422514 -3.085486)'))) / (select extract(epoch from '2026-07-17 17:50:11'::timestamp) - extract(epoch from '2026-07-17 17:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422514 -3.085486)'))) / (select extract(epoch from '2026-07-17 17:50:11'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47991, 'SRID=4674;POINT (-39.422508 -3.085488)', '2026-07-17 17:50:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422514 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422508 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:50:22'::timestamp) - extract(epoch from '2026-07-17 17:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422514 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422508 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:50:22'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422507 -3.08549)', '2026-07-17 17:50:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422508 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422507 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:50:33'::timestamp) - extract(epoch from '2026-07-17 17:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422508 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422507 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:50:33'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47991, 'SRID=4674;POINT (-39.42251 -3.085484)', '2026-07-17 17:50:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422507 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.42251 -3.085484)'))) / (select extract(epoch from '2026-07-17 17:50:42'::timestamp) - extract(epoch from '2026-07-17 17:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422507 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.42251 -3.085484)'))) / (select extract(epoch from '2026-07-17 17:50:42'::timestamp) - extract(epoch from '2026-07-17 17:50:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422509 -3.085476)', '2026-07-17 17:50:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42251 -3.085484)'), GeomFromEWKT('SRID=4674;POINT (-39.422509 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:50:52'::timestamp) - extract(epoch from '2026-07-17 17:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42251 -3.085484)'), GeomFromEWKT('SRID=4674;POINT (-39.422509 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:50:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422512 -3.085481)', '2026-07-17 17:50:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422509 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422512 -3.085481)'))) / (select extract(epoch from '2026-07-17 17:50:58'::timestamp) - extract(epoch from '2026-07-17 17:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422509 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422512 -3.085481)'))) / (select extract(epoch from '2026-07-17 17:50:58'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422516 -3.085477)', '2026-07-17 17:51:10', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422512 -3.085481)'), GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:51:10'::timestamp) - extract(epoch from '2026-07-17 17:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422512 -3.085481)'), GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:51:10'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47991, 'SRID=4674;POINT (-39.422522 -3.085478)', '2026-07-17 17:51:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422522 -3.085478)'))) / (select extract(epoch from '2026-07-17 17:51:22'::timestamp) - extract(epoch from '2026-07-17 17:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422522 -3.085478)'))) / (select extract(epoch from '2026-07-17 17:51:22'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47991, 'SRID=4674;POINT (-39.422533 -3.085475)', '2026-07-17 17:51:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422522 -3.085478)'), GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085475)'))) / (select extract(epoch from '2026-07-17 17:51:31'::timestamp) - extract(epoch from '2026-07-17 17:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422522 -3.085478)'), GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085475)'))) / (select extract(epoch from '2026-07-17 17:51:31'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422533 -3.085476)', '2026-07-17 17:51:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085475)'), GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:51:39'::timestamp) - extract(epoch from '2026-07-17 17:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085475)'), GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:51:39'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47991, 'SRID=4674;POINT (-39.422528 -3.085484)', '2026-07-17 17:51:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085484)'))) / (select extract(epoch from '2026-07-17 17:51:49'::timestamp) - extract(epoch from '2026-07-17 17:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422533 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085484)'))) / (select extract(epoch from '2026-07-17 17:51:49'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422525 -3.085484)', '2026-07-17 17:51:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085484)'), GeomFromEWKT('SRID=4674;POINT (-39.422525 -3.085484)'))) / (select extract(epoch from '2026-07-17 17:51:56'::timestamp) - extract(epoch from '2026-07-17 17:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422528 -3.085484)'), GeomFromEWKT('SRID=4674;POINT (-39.422525 -3.085484)'))) / (select extract(epoch from '2026-07-17 17:51:56'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47991, 'SRID=4674;POINT (-39.422516 -3.085476)', '2026-07-17 17:52:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422525 -3.085484)'), GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:52:06'::timestamp) - extract(epoch from '2026-07-17 17:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422525 -3.085484)'), GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:52:06'::timestamp) - extract(epoch from '2026-07-17 17:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422523 -3.085479)', '2026-07-17 17:52:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422523 -3.085479)'))) / (select extract(epoch from '2026-07-17 17:52:14'::timestamp) - extract(epoch from '2026-07-17 17:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422516 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422523 -3.085479)'))) / (select extract(epoch from '2026-07-17 17:52:14'::timestamp) - extract(epoch from '2026-07-17 17:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.42254 -3.085492)', '2026-07-17 17:52:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422523 -3.085479)'), GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.085492)'))) / (select extract(epoch from '2026-07-17 17:52:27'::timestamp) - extract(epoch from '2026-07-17 17:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422523 -3.085479)'), GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.085492)'))) / (select extract(epoch from '2026-07-17 17:52:27'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422541 -3.085495)', '2026-07-17 17:52:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:52:34'::timestamp) - extract(epoch from '2026-07-17 17:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:52:34'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47991, 'SRID=4674;POINT (-39.422541 -3.085497)', '2026-07-17 17:52:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:52:44'::timestamp) - extract(epoch from '2026-07-17 17:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:52:44'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47991, 'SRID=4674;POINT (-39.42254 -3.08551)', '2026-07-17 17:52:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.08551)'))) / (select extract(epoch from '2026-07-17 17:52:54'::timestamp) - extract(epoch from '2026-07-17 17:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422541 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.08551)'))) / (select extract(epoch from '2026-07-17 17:52:54'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47991, 'SRID=4674;POINT (-39.422551 -3.085498)', '2026-07-17 17:53:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.08551)'), GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085498)'))) / (select extract(epoch from '2026-07-17 17:53:05'::timestamp) - extract(epoch from '2026-07-17 17:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42254 -3.08551)'), GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085498)'))) / (select extract(epoch from '2026-07-17 17:53:05'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47991, 'SRID=4674;POINT (-39.422549 -3.085497)', '2026-07-17 17:53:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:53:14'::timestamp) - extract(epoch from '2026-07-17 17:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:53:14'::timestamp) - extract(epoch from '2026-07-17 17:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422555 -3.085486)', '2026-07-17 17:53:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085486)'))) / (select extract(epoch from '2026-07-17 17:53:26'::timestamp) - extract(epoch from '2026-07-17 17:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085486)'))) / (select extract(epoch from '2026-07-17 17:53:26'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422544 -3.085495)', '2026-07-17 17:53:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:53:41'::timestamp) - extract(epoch from '2026-07-17 17:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085495)'))) / (select extract(epoch from '2026-07-17 17:53:41'::timestamp) - extract(epoch from '2026-07-17 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'), 47991, 'SRID=4674;POINT (-39.422546 -3.085496)', '2026-07-17 17:53:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085496)'))) / (select extract(epoch from '2026-07-17 17:53:50'::timestamp) - extract(epoch from '2026-07-17 17:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085496)'))) / (select extract(epoch from '2026-07-17 17:53:50'::timestamp) - extract(epoch from '2026-07-17 17:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422552 -3.085489)', '2026-07-17 17:54:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085496)'), GeomFromEWKT('SRID=4674;POINT (-39.422552 -3.085489)'))) / (select extract(epoch from '2026-07-17 17:54:03'::timestamp) - extract(epoch from '2026-07-17 17:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422546 -3.085496)'), GeomFromEWKT('SRID=4674;POINT (-39.422552 -3.085489)'))) / (select extract(epoch from '2026-07-17 17:54:03'::timestamp) - extract(epoch from '2026-07-17 17:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422551 -3.085494)', '2026-07-17 17:54:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422552 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085494)'))) / (select extract(epoch from '2026-07-17 17:54:20'::timestamp) - extract(epoch from '2026-07-17 17:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422552 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085494)'))) / (select extract(epoch from '2026-07-17 17:54:20'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47991, 'SRID=4674;POINT (-39.422563 -3.085486)', '2026-07-17 17:54:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085494)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085486)'))) / (select extract(epoch from '2026-07-17 17:54:29'::timestamp) - extract(epoch from '2026-07-17 17:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085494)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085486)'))) / (select extract(epoch from '2026-07-17 17:54:29'::timestamp) - extract(epoch from '2026-07-17 17:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422575 -3.085473)', '2026-07-17 17:54:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422575 -3.085473)'))) / (select extract(epoch from '2026-07-17 17:54:42'::timestamp) - extract(epoch from '2026-07-17 17:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422575 -3.085473)'))) / (select extract(epoch from '2026-07-17 17:54:42'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47991, 'SRID=4674;POINT (-39.422574 -3.08547)', '2026-07-17 17:54:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422575 -3.085473)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.08547)'))) / (select extract(epoch from '2026-07-17 17:54:58'::timestamp) - extract(epoch from '2026-07-17 17:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422575 -3.085473)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.08547)'))) / (select extract(epoch from '2026-07-17 17:54:58'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47991, 'SRID=4674;POINT (-39.422565 -3.085472)', '2026-07-17 17:55:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.08547)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085472)'))) / (select extract(epoch from '2026-07-17 17:55:04'::timestamp) - extract(epoch from '2026-07-17 17:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.08547)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085472)'))) / (select extract(epoch from '2026-07-17 17:55:04'::timestamp) - extract(epoch from '2026-07-17 17:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422563 -3.085455)', '2026-07-17 17:55:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085472)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085455)'))) / (select extract(epoch from '2026-07-17 17:55:12'::timestamp) - extract(epoch from '2026-07-17 17:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085472)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085455)'))) / (select extract(epoch from '2026-07-17 17:55:12'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47991, 'SRID=4674;POINT (-39.422559 -3.085453)', '2026-07-17 17:55:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085455)'), GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085453)'))) / (select extract(epoch from '2026-07-17 17:55:26'::timestamp) - extract(epoch from '2026-07-17 17:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085455)'), GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085453)'))) / (select extract(epoch from '2026-07-17 17:55:26'::timestamp) - extract(epoch from '2026-07-17 17:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422557 -3.085458)', '2026-07-17 17:55:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085453)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085458)'))) / (select extract(epoch from '2026-07-17 17:55:38'::timestamp) - extract(epoch from '2026-07-17 17:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085453)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085458)'))) / (select extract(epoch from '2026-07-17 17:55:38'::timestamp) - extract(epoch from '2026-07-17 17:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422556 -3.085461)', '2026-07-17 17:55:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085458)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085461)'))) / (select extract(epoch from '2026-07-17 17:55:41'::timestamp) - extract(epoch from '2026-07-17 17:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085458)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085461)'))) / (select extract(epoch from '2026-07-17 17:55:41'::timestamp) - extract(epoch from '2026-07-17 17:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.42255 -3.085461)', '2026-07-17 17:55:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085461)'), GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085461)'))) / (select extract(epoch from '2026-07-17 17:55:42'::timestamp) - extract(epoch from '2026-07-17 17:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085461)'), GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085461)'))) / (select extract(epoch from '2026-07-17 17:55:42'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47991, 'SRID=4674;POINT (-39.422556 -3.085472)', '2026-07-17 17:55:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085461)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085472)'))) / (select extract(epoch from '2026-07-17 17:55:51'::timestamp) - extract(epoch from '2026-07-17 17:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42255 -3.085461)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085472)'))) / (select extract(epoch from '2026-07-17 17:55:51'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47991, 'SRID=4674;POINT (-39.422568 -3.085483)', '2026-07-17 17:56:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085472)'), GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085483)'))) / (select extract(epoch from '2026-07-17 17:56:08'::timestamp) - extract(epoch from '2026-07-17 17:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085472)'), GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085483)'))) / (select extract(epoch from '2026-07-17 17:56:08'::timestamp) - extract(epoch from '2026-07-17 17:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422565 -3.085483)', '2026-07-17 17:56:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085483)'))) / (select extract(epoch from '2026-07-17 17:56:24'::timestamp) - extract(epoch from '2026-07-17 17:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085483)'))) / (select extract(epoch from '2026-07-17 17:56:24'::timestamp) - extract(epoch from '2026-07-17 17:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422561 -3.085476)', '2026-07-17 17:56:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:56:33'::timestamp) - extract(epoch from '2026-07-17 17:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085476)'))) / (select extract(epoch from '2026-07-17 17:56:33'::timestamp) - extract(epoch from '2026-07-17 17:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422562 -3.08548)', '2026-07-17 17:56:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:56:43'::timestamp) - extract(epoch from '2026-07-17 17:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:56:43'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47991, 'SRID=4674;POINT (-39.42256 -3.085473)', '2026-07-17 17:56:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085473)'))) / (select extract(epoch from '2026-07-17 17:56:56'::timestamp) - extract(epoch from '2026-07-17 17:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085473)'))) / (select extract(epoch from '2026-07-17 17:56:56'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47991, 'SRID=4674;POINT (-39.422562 -3.085477)', '2026-07-17 17:57:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085473)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:57:05'::timestamp) - extract(epoch from '2026-07-17 17:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085473)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'))) / (select extract(epoch from '2026-07-17 17:57:05'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47991, 'SRID=4674;POINT (-39.42256 -3.085478)', '2026-07-17 17:57:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085478)'))) / (select extract(epoch from '2026-07-17 17:57:15'::timestamp) - extract(epoch from '2026-07-17 17:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085478)'))) / (select extract(epoch from '2026-07-17 17:57:15'::timestamp) - extract(epoch from '2026-07-17 17:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422553 -3.08548)', '2026-07-17 17:57:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085478)'), GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:57:27'::timestamp) - extract(epoch from '2026-07-17 17:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085478)'), GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:57:27'::timestamp) - extract(epoch from '2026-07-17 17:57: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'), 47991, 'SRID=4674;POINT (-39.422555 -3.085488)', '2026-07-17 17:57:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:57:36'::timestamp) - extract(epoch from '2026-07-17 17:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:57:36'::timestamp) - extract(epoch from '2026-07-17 17:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422565 -3.085494)', '2026-07-17 17:57:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085494)'))) / (select extract(epoch from '2026-07-17 17:57:44'::timestamp) - extract(epoch from '2026-07-17 17:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422555 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085494)'))) / (select extract(epoch from '2026-07-17 17:57:44'::timestamp) - extract(epoch from '2026-07-17 17:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422574 -3.085496)', '2026-07-17 17:57:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085494)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085496)'))) / (select extract(epoch from '2026-07-17 17:57:52'::timestamp) - extract(epoch from '2026-07-17 17:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085494)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085496)'))) / (select extract(epoch from '2026-07-17 17:57:52'::timestamp) - extract(epoch from '2026-07-17 17:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422574 -3.085497)', '2026-07-17 17:58:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085496)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:58:00'::timestamp) - extract(epoch from '2026-07-17 17:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085496)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085497)'))) / (select extract(epoch from '2026-07-17 17:58:00'::timestamp) - extract(epoch from '2026-07-17 17:57: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'), 47991, 'SRID=4674;POINT (-39.422567 -3.08549)', '2026-07-17 17:58:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:58:06'::timestamp) - extract(epoch from '2026-07-17 17:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:58:06'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47991, 'SRID=4674;POINT (-39.422567 -3.085489)', '2026-07-17 17:58:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085489)'))) / (select extract(epoch from '2026-07-17 17:58:22'::timestamp) - extract(epoch from '2026-07-17 17:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085489)'))) / (select extract(epoch from '2026-07-17 17:58:22'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47991, 'SRID=4674;POINT (-39.422561 -3.085488)', '2026-07-17 17:58:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:58:33'::timestamp) - extract(epoch from '2026-07-17 17:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:58:33'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47991, 'SRID=4674;POINT (-39.42257 -3.085489)', '2026-07-17 17:58:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085489)'))) / (select extract(epoch from '2026-07-17 17:58:43'::timestamp) - extract(epoch from '2026-07-17 17:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085489)'))) / (select extract(epoch from '2026-07-17 17:58:43'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47991, 'SRID=4674;POINT (-39.422562 -3.085488)', '2026-07-17 17:58:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:58:49'::timestamp) - extract(epoch from '2026-07-17 17:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085488)'))) / (select extract(epoch from '2026-07-17 17:58:49'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47991, 'SRID=4674;POINT (-39.422561 -3.08549)', '2026-07-17 17:58:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:58:56'::timestamp) - extract(epoch from '2026-07-17 17:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.08549)'))) / (select extract(epoch from '2026-07-17 17:58:56'::timestamp) - extract(epoch from '2026-07-17 17:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422566 -3.085493)', '2026-07-17 17:59:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422566 -3.085493)'))) / (select extract(epoch from '2026-07-17 17:59:03'::timestamp) - extract(epoch from '2026-07-17 17:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422566 -3.085493)'))) / (select extract(epoch from '2026-07-17 17:59:03'::timestamp) - extract(epoch from '2026-07-17 17:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422567 -3.085498)', '2026-07-17 17:59:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422566 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085498)'))) / (select extract(epoch from '2026-07-17 17:59:09'::timestamp) - extract(epoch from '2026-07-17 17:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422566 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085498)'))) / (select extract(epoch from '2026-07-17 17:59:09'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47991, 'SRID=4674;POINT (-39.422562 -3.08548)', '2026-07-17 17:59:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:59:18'::timestamp) - extract(epoch from '2026-07-17 17:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:59:18'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47991, 'SRID=4674;POINT (-39.422563 -3.085482)', '2026-07-17 17:59:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085482)'))) / (select extract(epoch from '2026-07-17 17:59:27'::timestamp) - extract(epoch from '2026-07-17 17:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085482)'))) / (select extract(epoch from '2026-07-17 17:59:27'::timestamp) - extract(epoch from '2026-07-17 17:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422558 -3.085481)', '2026-07-17 17:59:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085482)'), GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085481)'))) / (select extract(epoch from '2026-07-17 17:59:37'::timestamp) - extract(epoch from '2026-07-17 17:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.085482)'), GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085481)'))) / (select extract(epoch from '2026-07-17 17:59:37'::timestamp) - extract(epoch from '2026-07-17 17:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422565 -3.08548)', '2026-07-17 17:59:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085481)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:59:48'::timestamp) - extract(epoch from '2026-07-17 17:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085481)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.08548)'))) / (select extract(epoch from '2026-07-17 17:59:48'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47991, 'SRID=4674;POINT (-39.422567 -3.085487)', '2026-07-17 17:59:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085487)'))) / (select extract(epoch from '2026-07-17 17:59:57'::timestamp) - extract(epoch from '2026-07-17 17:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.08548)'), GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085487)'))) / (select extract(epoch from '2026-07-17 17:59:57'::timestamp) - extract(epoch from '2026-07-17 17:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422572 -3.08549)', '2026-07-17 18:00:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085487)'), GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'))) / (select extract(epoch from '2026-07-17 18:00:10'::timestamp) - extract(epoch from '2026-07-17 17:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422567 -3.085487)'), GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'))) / (select extract(epoch from '2026-07-17 18:00:10'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47991, 'SRID=4674;POINT (-39.422572 -3.08549)', '2026-07-17 18:00:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'))) / (select extract(epoch from '2026-07-17 18:00:21'::timestamp) - extract(epoch from '2026-07-17 18:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'))) / (select extract(epoch from '2026-07-17 18:00:21'::timestamp) - extract(epoch from '2026-07-17 18:00:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422574 -3.085494)', '2026-07-17 18:00:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085494)'))) / (select extract(epoch from '2026-07-17 18:00:27'::timestamp) - extract(epoch from '2026-07-17 18:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422572 -3.08549)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085494)'))) / (select extract(epoch from '2026-07-17 18:00:27'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47991, 'SRID=4674;POINT (-39.422577 -3.085498)', '2026-07-17 18:00:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085494)'), GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085498)'))) / (select extract(epoch from '2026-07-17 18:00:33'::timestamp) - extract(epoch from '2026-07-17 18:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085494)'), GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085498)'))) / (select extract(epoch from '2026-07-17 18:00:33'::timestamp) - extract(epoch from '2026-07-17 18:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.42257 -3.085486)', '2026-07-17 18:00:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085486)'))) / (select extract(epoch from '2026-07-17 18:00:41'::timestamp) - extract(epoch from '2026-07-17 18:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085498)'), GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085486)'))) / (select extract(epoch from '2026-07-17 18:00:41'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47991, 'SRID=4674;POINT (-39.422568 -3.085492)', '2026-07-17 18:00:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085492)'))) / (select extract(epoch from '2026-07-17 18:00:53'::timestamp) - extract(epoch from '2026-07-17 18:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42257 -3.085486)'), GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085492)'))) / (select extract(epoch from '2026-07-17 18:00:53'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47991, 'SRID=4674;POINT (-39.422564 -3.085492)', '2026-07-17 18:01:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.085492)'))) / (select extract(epoch from '2026-07-17 18:01:02'::timestamp) - extract(epoch from '2026-07-17 18:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.085492)'))) / (select extract(epoch from '2026-07-17 18:01:02'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47991, 'SRID=4674;POINT (-39.422558 -3.085493)', '2026-07-17 18:01:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085493)'))) / (select extract(epoch from '2026-07-17 18:01:11'::timestamp) - extract(epoch from '2026-07-17 18:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085493)'))) / (select extract(epoch from '2026-07-17 18:01:11'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47991, 'SRID=4674;POINT (-39.422568 -3.085505)', '2026-07-17 18:01:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085505)'))) / (select extract(epoch from '2026-07-17 18:01:24'::timestamp) - extract(epoch from '2026-07-17 18:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422558 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085505)'))) / (select extract(epoch from '2026-07-17 18:01:24'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47991, 'SRID=4674;POINT (-39.422574 -3.085504)', '2026-07-17 18:01:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085505)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085504)'))) / (select extract(epoch from '2026-07-17 18:01:35'::timestamp) - extract(epoch from '2026-07-17 18:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422568 -3.085505)'), GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085504)'))) / (select extract(epoch from '2026-07-17 18:01:35'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47991, 'SRID=4674;POINT (-39.422561 -3.085493)', '2026-07-17 18:01:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085504)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085493)'))) / (select extract(epoch from '2026-07-17 18:01:44'::timestamp) - extract(epoch from '2026-07-17 18:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422574 -3.085504)'), GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085493)'))) / (select extract(epoch from '2026-07-17 18:01:44'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47991, 'SRID=4674;POINT (-39.422554 -3.085496)', '2026-07-17 18:01:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422554 -3.085496)'))) / (select extract(epoch from '2026-07-17 18:01:55'::timestamp) - extract(epoch from '2026-07-17 18:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422561 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422554 -3.085496)'))) / (select extract(epoch from '2026-07-17 18:01:55'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47991, 'SRID=4674;POINT (-39.422557 -3.085493)', '2026-07-17 18:02:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422554 -3.085496)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085493)'))) / (select extract(epoch from '2026-07-17 18:02:08'::timestamp) - extract(epoch from '2026-07-17 18:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422554 -3.085496)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085493)'))) / (select extract(epoch from '2026-07-17 18:02:08'::timestamp) - extract(epoch from '2026-07-17 18:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422556 -3.085492)', '2026-07-17 18:02:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085492)'))) / (select extract(epoch from '2026-07-17 18:02:15'::timestamp) - extract(epoch from '2026-07-17 18:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085493)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085492)'))) / (select extract(epoch from '2026-07-17 18:02:15'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47991, 'SRID=4674;POINT (-39.422553 -3.085476)', '2026-07-17 18:02:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085476)'))) / (select extract(epoch from '2026-07-17 18:02:32'::timestamp) - extract(epoch from '2026-07-17 18:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085492)'), GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085476)'))) / (select extract(epoch from '2026-07-17 18:02:32'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47991, 'SRID=4674;POINT (-39.422553 -3.085482)', '2026-07-17 18:02:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085482)'))) / (select extract(epoch from '2026-07-17 18:02:42'::timestamp) - extract(epoch from '2026-07-17 18:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085476)'), GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085482)'))) / (select extract(epoch from '2026-07-17 18:02:42'::timestamp) - extract(epoch from '2026-07-17 18:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422562 -3.085483)', '2026-07-17 18:02:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085482)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085483)'))) / (select extract(epoch from '2026-07-17 18:02:50'::timestamp) - extract(epoch from '2026-07-17 18:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422553 -3.085482)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085483)'))) / (select extract(epoch from '2026-07-17 18:02:50'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47991, 'SRID=4674;POINT (-39.422562 -3.085477)', '2026-07-17 18:02:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'))) / (select extract(epoch from '2026-07-17 18:02:59'::timestamp) - extract(epoch from '2026-07-17 18:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'))) / (select extract(epoch from '2026-07-17 18:02:59'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47991, 'SRID=4674;POINT (-39.422577 -3.085485)', '2026-07-17 18:03:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085485)'))) / (select extract(epoch from '2026-07-17 18:03:08'::timestamp) - extract(epoch from '2026-07-17 18:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422562 -3.085477)'), GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085485)'))) / (select extract(epoch from '2026-07-17 18:03:08'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47991, 'SRID=4674;POINT (-39.422551 -3.085482)', '2026-07-17 18:03:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085485)'), GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085482)'))) / (select extract(epoch from '2026-07-17 18:03:13'::timestamp) - extract(epoch from '2026-07-17 18:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422577 -3.085485)'), GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085482)'))) / (select extract(epoch from '2026-07-17 18:03:13'::timestamp) - extract(epoch from '2026-07-17 18:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422544 -3.085483)', '2026-07-17 18:03:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085482)'), GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085483)'))) / (select extract(epoch from '2026-07-17 18:03:19'::timestamp) - extract(epoch from '2026-07-17 18:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422551 -3.085482)'), GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085483)'))) / (select extract(epoch from '2026-07-17 18:03:19'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47991, 'SRID=4674;POINT (-39.422556 -3.085497)', '2026-07-17 18:03:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085497)'))) / (select extract(epoch from '2026-07-17 18:03:22'::timestamp) - extract(epoch from '2026-07-17 18:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422544 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085497)'))) / (select extract(epoch from '2026-07-17 18:03:22'::timestamp) - extract(epoch from '2026-07-17 18:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422557 -3.085495)', '2026-07-17 18:03:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085495)'))) / (select extract(epoch from '2026-07-17 18:03:30'::timestamp) - extract(epoch from '2026-07-17 18:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422556 -3.085497)'), GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085495)'))) / (select extract(epoch from '2026-07-17 18:03:30'::timestamp) - extract(epoch from '2026-07-17 18:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.422549 -3.085488)', '2026-07-17 18:03:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085488)'))) / (select extract(epoch from '2026-07-17 18:03:37'::timestamp) - extract(epoch from '2026-07-17 18:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422557 -3.085495)'), GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085488)'))) / (select extract(epoch from '2026-07-17 18:03:37'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47991, 'SRID=4674;POINT (-39.422559 -3.085488)', '2026-07-17 18:03:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085488)'))) / (select extract(epoch from '2026-07-17 18:03:44'::timestamp) - extract(epoch from '2026-07-17 18:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422549 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085488)'))) / (select extract(epoch from '2026-07-17 18:03:44'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47991, 'SRID=4674;POINT (-39.422563 -3.0855)', '2026-07-17 18:03:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.0855)'))) / (select extract(epoch from '2026-07-17 18:03:55'::timestamp) - extract(epoch from '2026-07-17 18:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422559 -3.085488)'), GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.0855)'))) / (select extract(epoch from '2026-07-17 18:03:55'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47991, 'SRID=4674;POINT (-39.422565 -3.085507)', '2026-07-17 18:04:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.0855)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085507)'))) / (select extract(epoch from '2026-07-17 18:04:07'::timestamp) - extract(epoch from '2026-07-17 18:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422563 -3.0855)'), GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085507)'))) / (select extract(epoch from '2026-07-17 18:04:07'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47991, 'SRID=4674;POINT (-39.42256 -3.085513)', '2026-07-17 18:04:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085513)'))) / (select extract(epoch from '2026-07-17 18:04:17'::timestamp) - extract(epoch from '2026-07-17 18:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422565 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.42256 -3.085513)'))) / (select extract(epoch from '2026-07-17 18:04:17'::timestamp) - extract(epoch from '2026-07-17 18:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
