 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112188 -2.815128)', '2026-07-08 16:24:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112243 -2.815129)'), GeomFromEWKT('SRID=4674;POINT (-40.112188 -2.815128)'))) / (select extract(epoch from '2026-07-08 16:24:28'::timestamp) - extract(epoch from '2026-07-08 16:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112243 -2.815129)'), GeomFromEWKT('SRID=4674;POINT (-40.112188 -2.815128)'))) / (select extract(epoch from '2026-07-08 16:24:28'::timestamp) - extract(epoch from '2026-07-08 16:24: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'), 47631, 'SRID=4674;POINT (-40.112152 -2.815096)', '2026-07-08 16:24:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112188 -2.815128)'), GeomFromEWKT('SRID=4674;POINT (-40.112152 -2.815096)'))) / (select extract(epoch from '2026-07-08 16:24:46'::timestamp) - extract(epoch from '2026-07-08 16:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112188 -2.815128)'), GeomFromEWKT('SRID=4674;POINT (-40.112152 -2.815096)'))) / (select extract(epoch from '2026-07-08 16:24:46'::timestamp) - extract(epoch from '2026-07-08 16:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112125 -2.815092)', '2026-07-08 16:24:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112152 -2.815096)'), GeomFromEWKT('SRID=4674;POINT (-40.112125 -2.815092)'))) / (select extract(epoch from '2026-07-08 16:24:55'::timestamp) - extract(epoch from '2026-07-08 16:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112152 -2.815096)'), GeomFromEWKT('SRID=4674;POINT (-40.112125 -2.815092)'))) / (select extract(epoch from '2026-07-08 16:24:55'::timestamp) - extract(epoch from '2026-07-08 16:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112072 -2.81511)', '2026-07-08 16:25:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112125 -2.815092)'), GeomFromEWKT('SRID=4674;POINT (-40.112072 -2.81511)'))) / (select extract(epoch from '2026-07-08 16:25:11'::timestamp) - extract(epoch from '2026-07-08 16:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112125 -2.815092)'), GeomFromEWKT('SRID=4674;POINT (-40.112072 -2.81511)'))) / (select extract(epoch from '2026-07-08 16:25:11'::timestamp) - extract(epoch from '2026-07-08 16:24: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'), 47631, 'SRID=4674;POINT (-40.112048 -2.815095)', '2026-07-08 16:25:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112072 -2.81511)'), GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.815095)'))) / (select extract(epoch from '2026-07-08 16:25:18'::timestamp) - extract(epoch from '2026-07-08 16:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112072 -2.81511)'), GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.815095)'))) / (select extract(epoch from '2026-07-08 16:25:18'::timestamp) - extract(epoch from '2026-07-08 16:25: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'), 47631, 'SRID=4674;POINT (-40.112043 -2.81508)', '2026-07-08 16:25:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.815095)'), GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.81508)'))) / (select extract(epoch from '2026-07-08 16:25:21'::timestamp) - extract(epoch from '2026-07-08 16:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.815095)'), GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.81508)'))) / (select extract(epoch from '2026-07-08 16:25:21'::timestamp) - extract(epoch from '2026-07-08 16:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112043 -2.815064)', '2026-07-08 16:25:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.81508)'), GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.815064)'))) / (select extract(epoch from '2026-07-08 16:25:34'::timestamp) - extract(epoch from '2026-07-08 16:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.81508)'), GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.815064)'))) / (select extract(epoch from '2026-07-08 16:25:34'::timestamp) - extract(epoch from '2026-07-08 16:25: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'), 47631, 'SRID=4674;POINT (-40.112009 -2.81502)', '2026-07-08 16:25:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.815064)'), GeomFromEWKT('SRID=4674;POINT (-40.112009 -2.81502)'))) / (select extract(epoch from '2026-07-08 16:25:50'::timestamp) - extract(epoch from '2026-07-08 16:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112043 -2.815064)'), GeomFromEWKT('SRID=4674;POINT (-40.112009 -2.81502)'))) / (select extract(epoch from '2026-07-08 16:25:50'::timestamp) - extract(epoch from '2026-07-08 16:25: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'), 47631, 'SRID=4674;POINT (-40.111957 -2.81497)', '2026-07-08 16:26:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112009 -2.81502)'), GeomFromEWKT('SRID=4674;POINT (-40.111957 -2.81497)'))) / (select extract(epoch from '2026-07-08 16:26:16'::timestamp) - extract(epoch from '2026-07-08 16:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112009 -2.81502)'), GeomFromEWKT('SRID=4674;POINT (-40.111957 -2.81497)'))) / (select extract(epoch from '2026-07-08 16:26:16'::timestamp) - extract(epoch from '2026-07-08 16:25: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'), 47631, 'SRID=4674;POINT (-40.111911 -2.814961)', '2026-07-08 16:26:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111957 -2.81497)'), GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.814961)'))) / (select extract(epoch from '2026-07-08 16:26:26'::timestamp) - extract(epoch from '2026-07-08 16:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111957 -2.81497)'), GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.814961)'))) / (select extract(epoch from '2026-07-08 16:26:26'::timestamp) - extract(epoch from '2026-07-08 16:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111841 -2.814976)', '2026-07-08 16:26:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.111841 -2.814976)'))) / (select extract(epoch from '2026-07-08 16:26:42'::timestamp) - extract(epoch from '2026-07-08 16:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.111841 -2.814976)'))) / (select extract(epoch from '2026-07-08 16:26:42'::timestamp) - extract(epoch from '2026-07-08 16:26: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'), 47631, 'SRID=4674;POINT (-40.111793 -2.814953)', '2026-07-08 16:26:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111841 -2.814976)'), GeomFromEWKT('SRID=4674;POINT (-40.111793 -2.814953)'))) / (select extract(epoch from '2026-07-08 16:26:58'::timestamp) - extract(epoch from '2026-07-08 16:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111841 -2.814976)'), GeomFromEWKT('SRID=4674;POINT (-40.111793 -2.814953)'))) / (select extract(epoch from '2026-07-08 16:26:58'::timestamp) - extract(epoch from '2026-07-08 16:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111774 -2.814961)', '2026-07-08 16:27:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111793 -2.814953)'), GeomFromEWKT('SRID=4674;POINT (-40.111774 -2.814961)'))) / (select extract(epoch from '2026-07-08 16:27:09'::timestamp) - extract(epoch from '2026-07-08 16:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111793 -2.814953)'), GeomFromEWKT('SRID=4674;POINT (-40.111774 -2.814961)'))) / (select extract(epoch from '2026-07-08 16:27:09'::timestamp) - extract(epoch from '2026-07-08 16:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111753 -2.815022)', '2026-07-08 16:27:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111774 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.111753 -2.815022)'))) / (select extract(epoch from '2026-07-08 16:27:19'::timestamp) - extract(epoch from '2026-07-08 16:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111774 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.111753 -2.815022)'))) / (select extract(epoch from '2026-07-08 16:27:19'::timestamp) - extract(epoch from '2026-07-08 16:27: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'), 47631, 'SRID=4674;POINT (-40.111705 -2.81504)', '2026-07-08 16:27:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111753 -2.815022)'), GeomFromEWKT('SRID=4674;POINT (-40.111705 -2.81504)'))) / (select extract(epoch from '2026-07-08 16:27:31'::timestamp) - extract(epoch from '2026-07-08 16:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111753 -2.815022)'), GeomFromEWKT('SRID=4674;POINT (-40.111705 -2.81504)'))) / (select extract(epoch from '2026-07-08 16:27:31'::timestamp) - extract(epoch from '2026-07-08 16:27: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'), 47631, 'SRID=4674;POINT (-40.111641 -2.815035)', '2026-07-08 16:28:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111705 -2.81504)'), GeomFromEWKT('SRID=4674;POINT (-40.111641 -2.815035)'))) / (select extract(epoch from '2026-07-08 16:28:07'::timestamp) - extract(epoch from '2026-07-08 16:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111705 -2.81504)'), GeomFromEWKT('SRID=4674;POINT (-40.111641 -2.815035)'))) / (select extract(epoch from '2026-07-08 16:28:07'::timestamp) - extract(epoch from '2026-07-08 16:27: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'), 47631, 'SRID=4674;POINT (-40.111589 -2.815047)', '2026-07-08 16:28:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111641 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.111589 -2.815047)'))) / (select extract(epoch from '2026-07-08 16:28:20'::timestamp) - extract(epoch from '2026-07-08 16:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111641 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.111589 -2.815047)'))) / (select extract(epoch from '2026-07-08 16:28:20'::timestamp) - extract(epoch from '2026-07-08 16:28: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'), 47631, 'SRID=4674;POINT (-40.111573 -2.815061)', '2026-07-08 16:28:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111589 -2.815047)'), GeomFromEWKT('SRID=4674;POINT (-40.111573 -2.815061)'))) / (select extract(epoch from '2026-07-08 16:28:29'::timestamp) - extract(epoch from '2026-07-08 16:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111589 -2.815047)'), GeomFromEWKT('SRID=4674;POINT (-40.111573 -2.815061)'))) / (select extract(epoch from '2026-07-08 16:28:29'::timestamp) - extract(epoch from '2026-07-08 16:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111558 -2.815125)', '2026-07-08 16:28:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111573 -2.815061)'), GeomFromEWKT('SRID=4674;POINT (-40.111558 -2.815125)'))) / (select extract(epoch from '2026-07-08 16:28:45'::timestamp) - extract(epoch from '2026-07-08 16:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111573 -2.815061)'), GeomFromEWKT('SRID=4674;POINT (-40.111558 -2.815125)'))) / (select extract(epoch from '2026-07-08 16:28:45'::timestamp) - extract(epoch from '2026-07-08 16:28: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'), 47631, 'SRID=4674;POINT (-40.111544 -2.815171)', '2026-07-08 16:28:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111558 -2.815125)'), GeomFromEWKT('SRID=4674;POINT (-40.111544 -2.815171)'))) / (select extract(epoch from '2026-07-08 16:28:58'::timestamp) - extract(epoch from '2026-07-08 16:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111558 -2.815125)'), GeomFromEWKT('SRID=4674;POINT (-40.111544 -2.815171)'))) / (select extract(epoch from '2026-07-08 16:28:58'::timestamp) - extract(epoch from '2026-07-08 16:28: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'), 47631, 'SRID=4674;POINT (-40.111543 -2.815166)', '2026-07-08 16:29:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111544 -2.815171)'), GeomFromEWKT('SRID=4674;POINT (-40.111543 -2.815166)'))) / (select extract(epoch from '2026-07-08 16:29:11'::timestamp) - extract(epoch from '2026-07-08 16:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111544 -2.815171)'), GeomFromEWKT('SRID=4674;POINT (-40.111543 -2.815166)'))) / (select extract(epoch from '2026-07-08 16:29:11'::timestamp) - extract(epoch from '2026-07-08 16:28: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'), 47631, 'SRID=4674;POINT (-40.1115 -2.815156)', '2026-07-08 16:29:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111543 -2.815166)'), GeomFromEWKT('SRID=4674;POINT (-40.1115 -2.815156)'))) / (select extract(epoch from '2026-07-08 16:29:31'::timestamp) - extract(epoch from '2026-07-08 16:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111543 -2.815166)'), GeomFromEWKT('SRID=4674;POINT (-40.1115 -2.815156)'))) / (select extract(epoch from '2026-07-08 16:29:31'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.111367 -2.815211)', '2026-07-08 16:29:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1115 -2.815156)'), GeomFromEWKT('SRID=4674;POINT (-40.111367 -2.815211)'))) / (select extract(epoch from '2026-07-08 16:29:47'::timestamp) - extract(epoch from '2026-07-08 16:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1115 -2.815156)'), GeomFromEWKT('SRID=4674;POINT (-40.111367 -2.815211)'))) / (select extract(epoch from '2026-07-08 16:29:47'::timestamp) - extract(epoch from '2026-07-08 16:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111257 -2.815261)', '2026-07-08 16:30:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111367 -2.815211)'), GeomFromEWKT('SRID=4674;POINT (-40.111257 -2.815261)'))) / (select extract(epoch from '2026-07-08 16:30:03'::timestamp) - extract(epoch from '2026-07-08 16:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111367 -2.815211)'), GeomFromEWKT('SRID=4674;POINT (-40.111257 -2.815261)'))) / (select extract(epoch from '2026-07-08 16:30:03'::timestamp) - extract(epoch from '2026-07-08 16:29: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'), 47631, 'SRID=4674;POINT (-40.111135 -2.815319)', '2026-07-08 16:30:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111257 -2.815261)'), GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815319)'))) / (select extract(epoch from '2026-07-08 16:30:19'::timestamp) - extract(epoch from '2026-07-08 16:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111257 -2.815261)'), GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815319)'))) / (select extract(epoch from '2026-07-08 16:30:19'::timestamp) - extract(epoch from '2026-07-08 16:30: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'), 47631, 'SRID=4674;POINT (-40.111011 -2.815417)', '2026-07-08 16:30:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815319)'), GeomFromEWKT('SRID=4674;POINT (-40.111011 -2.815417)'))) / (select extract(epoch from '2026-07-08 16:30:33'::timestamp) - extract(epoch from '2026-07-08 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815319)'), GeomFromEWKT('SRID=4674;POINT (-40.111011 -2.815417)'))) / (select extract(epoch from '2026-07-08 16:30:33'::timestamp) - extract(epoch from '2026-07-08 16:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11086 -2.815449)', '2026-07-08 16:30:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111011 -2.815417)'), GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815449)'))) / (select extract(epoch from '2026-07-08 16:30:48'::timestamp) - extract(epoch from '2026-07-08 16:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111011 -2.815417)'), GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815449)'))) / (select extract(epoch from '2026-07-08 16:30:48'::timestamp) - extract(epoch from '2026-07-08 16:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.110724 -2.815478)', '2026-07-08 16:31:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815449)'), GeomFromEWKT('SRID=4674;POINT (-40.110724 -2.815478)'))) / (select extract(epoch from '2026-07-08 16:31:03'::timestamp) - extract(epoch from '2026-07-08 16:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815449)'), GeomFromEWKT('SRID=4674;POINT (-40.110724 -2.815478)'))) / (select extract(epoch from '2026-07-08 16:31:03'::timestamp) - extract(epoch from '2026-07-08 16:30: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'), 47631, 'SRID=4674;POINT (-40.110601 -2.815499)', '2026-07-08 16:31:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110724 -2.815478)'), GeomFromEWKT('SRID=4674;POINT (-40.110601 -2.815499)'))) / (select extract(epoch from '2026-07-08 16:31:18'::timestamp) - extract(epoch from '2026-07-08 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110724 -2.815478)'), GeomFromEWKT('SRID=4674;POINT (-40.110601 -2.815499)'))) / (select extract(epoch from '2026-07-08 16:31:18'::timestamp) - extract(epoch from '2026-07-08 16:31: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'), 47631, 'SRID=4674;POINT (-40.110406 -2.815494)', '2026-07-08 16:31:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110601 -2.815499)'), GeomFromEWKT('SRID=4674;POINT (-40.110406 -2.815494)'))) / (select extract(epoch from '2026-07-08 16:31:38'::timestamp) - extract(epoch from '2026-07-08 16:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110601 -2.815499)'), GeomFromEWKT('SRID=4674;POINT (-40.110406 -2.815494)'))) / (select extract(epoch from '2026-07-08 16:31:38'::timestamp) - extract(epoch from '2026-07-08 16:31: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'), 47631, 'SRID=4674;POINT (-40.110236 -2.815477)', '2026-07-08 16:31:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110406 -2.815494)'), GeomFromEWKT('SRID=4674;POINT (-40.110236 -2.815477)'))) / (select extract(epoch from '2026-07-08 16:31:54'::timestamp) - extract(epoch from '2026-07-08 16:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110406 -2.815494)'), GeomFromEWKT('SRID=4674;POINT (-40.110236 -2.815477)'))) / (select extract(epoch from '2026-07-08 16:31:54'::timestamp) - extract(epoch from '2026-07-08 16:31: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'), 47631, 'SRID=4674;POINT (-40.110068 -2.815479)', '2026-07-08 16:32:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110236 -2.815477)'), GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.815479)'))) / (select extract(epoch from '2026-07-08 16:32:10'::timestamp) - extract(epoch from '2026-07-08 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110236 -2.815477)'), GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.815479)'))) / (select extract(epoch from '2026-07-08 16:32:10'::timestamp) - extract(epoch from '2026-07-08 16:31: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'), 47631, 'SRID=4674;POINT (-40.109943 -2.815504)', '2026-07-08 16:32:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.815479)'), GeomFromEWKT('SRID=4674;POINT (-40.109943 -2.815504)'))) / (select extract(epoch from '2026-07-08 16:32:25'::timestamp) - extract(epoch from '2026-07-08 16:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.815479)'), GeomFromEWKT('SRID=4674;POINT (-40.109943 -2.815504)'))) / (select extract(epoch from '2026-07-08 16:32:25'::timestamp) - extract(epoch from '2026-07-08 16:32: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'), 47631, 'SRID=4674;POINT (-40.109772 -2.815524)', '2026-07-08 16:32:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109943 -2.815504)'), GeomFromEWKT('SRID=4674;POINT (-40.109772 -2.815524)'))) / (select extract(epoch from '2026-07-08 16:32:43'::timestamp) - extract(epoch from '2026-07-08 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109943 -2.815504)'), GeomFromEWKT('SRID=4674;POINT (-40.109772 -2.815524)'))) / (select extract(epoch from '2026-07-08 16:32:43'::timestamp) - extract(epoch from '2026-07-08 16:32: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'), 47631, 'SRID=4674;POINT (-40.109604 -2.815525)', '2026-07-08 16:32:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109772 -2.815524)'), GeomFromEWKT('SRID=4674;POINT (-40.109604 -2.815525)'))) / (select extract(epoch from '2026-07-08 16:32:58'::timestamp) - extract(epoch from '2026-07-08 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109772 -2.815524)'), GeomFromEWKT('SRID=4674;POINT (-40.109604 -2.815525)'))) / (select extract(epoch from '2026-07-08 16:32:58'::timestamp) - extract(epoch from '2026-07-08 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109448 -2.81556)', '2026-07-08 16:33:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109604 -2.815525)'), GeomFromEWKT('SRID=4674;POINT (-40.109448 -2.81556)'))) / (select extract(epoch from '2026-07-08 16:33:14'::timestamp) - extract(epoch from '2026-07-08 16:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109604 -2.815525)'), GeomFromEWKT('SRID=4674;POINT (-40.109448 -2.81556)'))) / (select extract(epoch from '2026-07-08 16:33:14'::timestamp) - extract(epoch from '2026-07-08 16:32: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'), 47631, 'SRID=4674;POINT (-40.10928 -2.815563)', '2026-07-08 16:33:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109448 -2.81556)'), GeomFromEWKT('SRID=4674;POINT (-40.10928 -2.815563)'))) / (select extract(epoch from '2026-07-08 16:33:29'::timestamp) - extract(epoch from '2026-07-08 16:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109448 -2.81556)'), GeomFromEWKT('SRID=4674;POINT (-40.10928 -2.815563)'))) / (select extract(epoch from '2026-07-08 16:33:29'::timestamp) - extract(epoch from '2026-07-08 16:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109082 -2.815591)', '2026-07-08 16:33:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10928 -2.815563)'), GeomFromEWKT('SRID=4674;POINT (-40.109082 -2.815591)'))) / (select extract(epoch from '2026-07-08 16:33:48'::timestamp) - extract(epoch from '2026-07-08 16:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10928 -2.815563)'), GeomFromEWKT('SRID=4674;POINT (-40.109082 -2.815591)'))) / (select extract(epoch from '2026-07-08 16:33:48'::timestamp) - extract(epoch from '2026-07-08 16:33: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'), 47631, 'SRID=4674;POINT (-40.108955 -2.81563)', '2026-07-08 16:34:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109082 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.108955 -2.81563)'))) / (select extract(epoch from '2026-07-08 16:34:03'::timestamp) - extract(epoch from '2026-07-08 16:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109082 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.108955 -2.81563)'))) / (select extract(epoch from '2026-07-08 16:34:03'::timestamp) - extract(epoch from '2026-07-08 16:33: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'), 47631, 'SRID=4674;POINT (-40.108821 -2.815676)', '2026-07-08 16:34:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108955 -2.81563)'), GeomFromEWKT('SRID=4674;POINT (-40.108821 -2.815676)'))) / (select extract(epoch from '2026-07-08 16:34:20'::timestamp) - extract(epoch from '2026-07-08 16:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108955 -2.81563)'), GeomFromEWKT('SRID=4674;POINT (-40.108821 -2.815676)'))) / (select extract(epoch from '2026-07-08 16:34:20'::timestamp) - extract(epoch from '2026-07-08 16:34: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'), 47631, 'SRID=4674;POINT (-40.108651 -2.815711)', '2026-07-08 16:34:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108821 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.108651 -2.815711)'))) / (select extract(epoch from '2026-07-08 16:34:39'::timestamp) - extract(epoch from '2026-07-08 16:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108821 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.108651 -2.815711)'))) / (select extract(epoch from '2026-07-08 16:34:39'::timestamp) - extract(epoch from '2026-07-08 16:34: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'), 47631, 'SRID=4674;POINT (-40.108465 -2.815738)', '2026-07-08 16:34:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108651 -2.815711)'), GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815738)'))) / (select extract(epoch from '2026-07-08 16:34:56'::timestamp) - extract(epoch from '2026-07-08 16:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108651 -2.815711)'), GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815738)'))) / (select extract(epoch from '2026-07-08 16:34:56'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.108277 -2.815766)', '2026-07-08 16:35:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.108277 -2.815766)'))) / (select extract(epoch from '2026-07-08 16:35:13'::timestamp) - extract(epoch from '2026-07-08 16:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.108277 -2.815766)'))) / (select extract(epoch from '2026-07-08 16:35:13'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.108062 -2.815789)', '2026-07-08 16:35:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108277 -2.815766)'), GeomFromEWKT('SRID=4674;POINT (-40.108062 -2.815789)'))) / (select extract(epoch from '2026-07-08 16:35:32'::timestamp) - extract(epoch from '2026-07-08 16:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108277 -2.815766)'), GeomFromEWKT('SRID=4674;POINT (-40.108062 -2.815789)'))) / (select extract(epoch from '2026-07-08 16:35:32'::timestamp) - extract(epoch from '2026-07-08 16:35: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'), 47631, 'SRID=4674;POINT (-40.10791 -2.815816)', '2026-07-08 16:35:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108062 -2.815789)'), GeomFromEWKT('SRID=4674;POINT (-40.10791 -2.815816)'))) / (select extract(epoch from '2026-07-08 16:35:48'::timestamp) - extract(epoch from '2026-07-08 16:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108062 -2.815789)'), GeomFromEWKT('SRID=4674;POINT (-40.10791 -2.815816)'))) / (select extract(epoch from '2026-07-08 16:35:48'::timestamp) - extract(epoch from '2026-07-08 16:35: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'), 47631, 'SRID=4674;POINT (-40.107749 -2.81583)', '2026-07-08 16:36:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10791 -2.815816)'), GeomFromEWKT('SRID=4674;POINT (-40.107749 -2.81583)'))) / (select extract(epoch from '2026-07-08 16:36:03'::timestamp) - extract(epoch from '2026-07-08 16:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10791 -2.815816)'), GeomFromEWKT('SRID=4674;POINT (-40.107749 -2.81583)'))) / (select extract(epoch from '2026-07-08 16:36:03'::timestamp) - extract(epoch from '2026-07-08 16:35: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'), 47631, 'SRID=4674;POINT (-40.107578 -2.815847)', '2026-07-08 16:36:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107749 -2.81583)'), GeomFromEWKT('SRID=4674;POINT (-40.107578 -2.815847)'))) / (select extract(epoch from '2026-07-08 16:36:20'::timestamp) - extract(epoch from '2026-07-08 16:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107749 -2.81583)'), GeomFromEWKT('SRID=4674;POINT (-40.107578 -2.815847)'))) / (select extract(epoch from '2026-07-08 16:36:20'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.107385 -2.815866)', '2026-07-08 16:36:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107578 -2.815847)'), GeomFromEWKT('SRID=4674;POINT (-40.107385 -2.815866)'))) / (select extract(epoch from '2026-07-08 16:36:37'::timestamp) - extract(epoch from '2026-07-08 16:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107578 -2.815847)'), GeomFromEWKT('SRID=4674;POINT (-40.107385 -2.815866)'))) / (select extract(epoch from '2026-07-08 16:36:37'::timestamp) - extract(epoch from '2026-07-08 16:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.107227 -2.815897)', '2026-07-08 16:36:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107385 -2.815866)'), GeomFromEWKT('SRID=4674;POINT (-40.107227 -2.815897)'))) / (select extract(epoch from '2026-07-08 16:36:51'::timestamp) - extract(epoch from '2026-07-08 16:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107385 -2.815866)'), GeomFromEWKT('SRID=4674;POINT (-40.107227 -2.815897)'))) / (select extract(epoch from '2026-07-08 16:36:51'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.107065 -2.815941)', '2026-07-08 16:37:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107227 -2.815897)'), GeomFromEWKT('SRID=4674;POINT (-40.107065 -2.815941)'))) / (select extract(epoch from '2026-07-08 16:37:07'::timestamp) - extract(epoch from '2026-07-08 16:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107227 -2.815897)'), GeomFromEWKT('SRID=4674;POINT (-40.107065 -2.815941)'))) / (select extract(epoch from '2026-07-08 16:37:07'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.106884 -2.815931)', '2026-07-08 16:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107065 -2.815941)'), GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.815931)'))) / (select extract(epoch from '2026-07-08 16:37:25'::timestamp) - extract(epoch from '2026-07-08 16:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107065 -2.815941)'), GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.815931)'))) / (select extract(epoch from '2026-07-08 16:37:25'::timestamp) - extract(epoch from '2026-07-08 16:37: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'), 47631, 'SRID=4674;POINT (-40.106712 -2.815889)', '2026-07-08 16:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.815931)'), GeomFromEWKT('SRID=4674;POINT (-40.106712 -2.815889)'))) / (select extract(epoch from '2026-07-08 16:37:42'::timestamp) - extract(epoch from '2026-07-08 16:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.815931)'), GeomFromEWKT('SRID=4674;POINT (-40.106712 -2.815889)'))) / (select extract(epoch from '2026-07-08 16:37:42'::timestamp) - extract(epoch from '2026-07-08 16:37: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'), 47631, 'SRID=4674;POINT (-40.106597 -2.815918)', '2026-07-08 16:37:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106712 -2.815889)'), GeomFromEWKT('SRID=4674;POINT (-40.106597 -2.815918)'))) / (select extract(epoch from '2026-07-08 16:37:56'::timestamp) - extract(epoch from '2026-07-08 16:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106712 -2.815889)'), GeomFromEWKT('SRID=4674;POINT (-40.106597 -2.815918)'))) / (select extract(epoch from '2026-07-08 16:37:56'::timestamp) - extract(epoch from '2026-07-08 16:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10647 -2.815965)', '2026-07-08 16:38:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106597 -2.815918)'), GeomFromEWKT('SRID=4674;POINT (-40.10647 -2.815965)'))) / (select extract(epoch from '2026-07-08 16:38:11'::timestamp) - extract(epoch from '2026-07-08 16:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106597 -2.815918)'), GeomFromEWKT('SRID=4674;POINT (-40.10647 -2.815965)'))) / (select extract(epoch from '2026-07-08 16:38:11'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.106273 -2.81598)', '2026-07-08 16:38:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10647 -2.815965)'), GeomFromEWKT('SRID=4674;POINT (-40.106273 -2.81598)'))) / (select extract(epoch from '2026-07-08 16:38:28'::timestamp) - extract(epoch from '2026-07-08 16:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10647 -2.815965)'), GeomFromEWKT('SRID=4674;POINT (-40.106273 -2.81598)'))) / (select extract(epoch from '2026-07-08 16:38:28'::timestamp) - extract(epoch from '2026-07-08 16:38: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'), 47631, 'SRID=4674;POINT (-40.10615 -2.816012)', '2026-07-08 16:38:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106273 -2.81598)'), GeomFromEWKT('SRID=4674;POINT (-40.10615 -2.816012)'))) / (select extract(epoch from '2026-07-08 16:38:41'::timestamp) - extract(epoch from '2026-07-08 16:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106273 -2.81598)'), GeomFromEWKT('SRID=4674;POINT (-40.10615 -2.816012)'))) / (select extract(epoch from '2026-07-08 16:38:41'::timestamp) - extract(epoch from '2026-07-08 16:38: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'), 47631, 'SRID=4674;POINT (-40.105957 -2.816018)', '2026-07-08 16:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10615 -2.816012)'), GeomFromEWKT('SRID=4674;POINT (-40.105957 -2.816018)'))) / (select extract(epoch from '2026-07-08 16:38:58'::timestamp) - extract(epoch from '2026-07-08 16:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10615 -2.816012)'), GeomFromEWKT('SRID=4674;POINT (-40.105957 -2.816018)'))) / (select extract(epoch from '2026-07-08 16:38:58'::timestamp) - extract(epoch from '2026-07-08 16:38: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'), 47631, 'SRID=4674;POINT (-40.105763 -2.816054)', '2026-07-08 16:39:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105957 -2.816018)'), GeomFromEWKT('SRID=4674;POINT (-40.105763 -2.816054)'))) / (select extract(epoch from '2026-07-08 16:39:14'::timestamp) - extract(epoch from '2026-07-08 16:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105957 -2.816018)'), GeomFromEWKT('SRID=4674;POINT (-40.105763 -2.816054)'))) / (select extract(epoch from '2026-07-08 16:39:14'::timestamp) - extract(epoch from '2026-07-08 16:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.105589 -2.816081)', '2026-07-08 16:39:30', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105763 -2.816054)'), GeomFromEWKT('SRID=4674;POINT (-40.105589 -2.816081)'))) / (select extract(epoch from '2026-07-08 16:39:30'::timestamp) - extract(epoch from '2026-07-08 16:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105763 -2.816054)'), GeomFromEWKT('SRID=4674;POINT (-40.105589 -2.816081)'))) / (select extract(epoch from '2026-07-08 16:39:30'::timestamp) - extract(epoch from '2026-07-08 16:39: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'), 47631, 'SRID=4674;POINT (-40.105427 -2.816115)', '2026-07-08 16:39:46', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105589 -2.816081)'), GeomFromEWKT('SRID=4674;POINT (-40.105427 -2.816115)'))) / (select extract(epoch from '2026-07-08 16:39:46'::timestamp) - extract(epoch from '2026-07-08 16:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105589 -2.816081)'), GeomFromEWKT('SRID=4674;POINT (-40.105427 -2.816115)'))) / (select extract(epoch from '2026-07-08 16:39:46'::timestamp) - extract(epoch from '2026-07-08 16:39: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'), 47631, 'SRID=4674;POINT (-40.105252 -2.816142)', '2026-07-08 16:40:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105427 -2.816115)'), GeomFromEWKT('SRID=4674;POINT (-40.105252 -2.816142)'))) / (select extract(epoch from '2026-07-08 16:40:02'::timestamp) - extract(epoch from '2026-07-08 16:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105427 -2.816115)'), GeomFromEWKT('SRID=4674;POINT (-40.105252 -2.816142)'))) / (select extract(epoch from '2026-07-08 16:40:02'::timestamp) - extract(epoch from '2026-07-08 16:39: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'), 47631, 'SRID=4674;POINT (-40.105089 -2.816192)', '2026-07-08 16:40:19', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105252 -2.816142)'), GeomFromEWKT('SRID=4674;POINT (-40.105089 -2.816192)'))) / (select extract(epoch from '2026-07-08 16:40:19'::timestamp) - extract(epoch from '2026-07-08 16:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105252 -2.816142)'), GeomFromEWKT('SRID=4674;POINT (-40.105089 -2.816192)'))) / (select extract(epoch from '2026-07-08 16:40:19'::timestamp) - extract(epoch from '2026-07-08 16:40: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'), 47631, 'SRID=4674;POINT (-40.105025 -2.816259)', '2026-07-08 16:40:31', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105089 -2.816192)'), GeomFromEWKT('SRID=4674;POINT (-40.105025 -2.816259)'))) / (select extract(epoch from '2026-07-08 16:40:31'::timestamp) - extract(epoch from '2026-07-08 16:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105089 -2.816192)'), GeomFromEWKT('SRID=4674;POINT (-40.105025 -2.816259)'))) / (select extract(epoch from '2026-07-08 16:40:31'::timestamp) - extract(epoch from '2026-07-08 16:40: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'), 47631, 'SRID=4674;POINT (-40.105001 -2.816242)', '2026-07-08 16:40:40', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105025 -2.816259)'), GeomFromEWKT('SRID=4674;POINT (-40.105001 -2.816242)'))) / (select extract(epoch from '2026-07-08 16:40:40'::timestamp) - extract(epoch from '2026-07-08 16:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105025 -2.816259)'), GeomFromEWKT('SRID=4674;POINT (-40.105001 -2.816242)'))) / (select extract(epoch from '2026-07-08 16:40:40'::timestamp) - extract(epoch from '2026-07-08 16:40: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'), 47631, 'SRID=4674;POINT (-40.104907 -2.816247)', '2026-07-08 16:40:50', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105001 -2.816242)'), GeomFromEWKT('SRID=4674;POINT (-40.104907 -2.816247)'))) / (select extract(epoch from '2026-07-08 16:40:50'::timestamp) - extract(epoch from '2026-07-08 16:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105001 -2.816242)'), GeomFromEWKT('SRID=4674;POINT (-40.104907 -2.816247)'))) / (select extract(epoch from '2026-07-08 16:40:50'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.104751 -2.816277)', '2026-07-08 16:41:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104907 -2.816247)'), GeomFromEWKT('SRID=4674;POINT (-40.104751 -2.816277)'))) / (select extract(epoch from '2026-07-08 16:41:05'::timestamp) - extract(epoch from '2026-07-08 16:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104907 -2.816247)'), GeomFromEWKT('SRID=4674;POINT (-40.104751 -2.816277)'))) / (select extract(epoch from '2026-07-08 16:41:05'::timestamp) - extract(epoch from '2026-07-08 16:40: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'), 47631, 'SRID=4674;POINT (-40.104575 -2.816284)', '2026-07-08 16:41:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104751 -2.816277)'), GeomFromEWKT('SRID=4674;POINT (-40.104575 -2.816284)'))) / (select extract(epoch from '2026-07-08 16:41:22'::timestamp) - extract(epoch from '2026-07-08 16:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104751 -2.816277)'), GeomFromEWKT('SRID=4674;POINT (-40.104575 -2.816284)'))) / (select extract(epoch from '2026-07-08 16:41:22'::timestamp) - extract(epoch from '2026-07-08 16:41: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'), 47631, 'SRID=4674;POINT (-40.104365 -2.81631)', '2026-07-08 16:41:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104575 -2.816284)'), GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.81631)'))) / (select extract(epoch from '2026-07-08 16:41:41'::timestamp) - extract(epoch from '2026-07-08 16:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104575 -2.816284)'), GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.81631)'))) / (select extract(epoch from '2026-07-08 16:41:41'::timestamp) - extract(epoch from '2026-07-08 16:41: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'), 47631, 'SRID=4674;POINT (-40.10416 -2.816342)', '2026-07-08 16:42:00', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.81631)'), GeomFromEWKT('SRID=4674;POINT (-40.10416 -2.816342)'))) / (select extract(epoch from '2026-07-08 16:42:00'::timestamp) - extract(epoch from '2026-07-08 16:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.81631)'), GeomFromEWKT('SRID=4674;POINT (-40.10416 -2.816342)'))) / (select extract(epoch from '2026-07-08 16:42:00'::timestamp) - extract(epoch from '2026-07-08 16:41: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'), 47631, 'SRID=4674;POINT (-40.104037 -2.81639)', '2026-07-08 16:42:13', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10416 -2.816342)'), GeomFromEWKT('SRID=4674;POINT (-40.104037 -2.81639)'))) / (select extract(epoch from '2026-07-08 16:42:13'::timestamp) - extract(epoch from '2026-07-08 16:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10416 -2.816342)'), GeomFromEWKT('SRID=4674;POINT (-40.104037 -2.81639)'))) / (select extract(epoch from '2026-07-08 16:42:13'::timestamp) - extract(epoch from '2026-07-08 16:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103883 -2.816426)', '2026-07-08 16:42:28', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104037 -2.81639)'), GeomFromEWKT('SRID=4674;POINT (-40.103883 -2.816426)'))) / (select extract(epoch from '2026-07-08 16:42:28'::timestamp) - extract(epoch from '2026-07-08 16:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104037 -2.81639)'), GeomFromEWKT('SRID=4674;POINT (-40.103883 -2.816426)'))) / (select extract(epoch from '2026-07-08 16:42:28'::timestamp) - extract(epoch from '2026-07-08 16:42: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'), 47631, 'SRID=4674;POINT (-40.103747 -2.816442)', '2026-07-08 16:42:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103883 -2.816426)'), GeomFromEWKT('SRID=4674;POINT (-40.103747 -2.816442)'))) / (select extract(epoch from '2026-07-08 16:42:43'::timestamp) - extract(epoch from '2026-07-08 16:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103883 -2.816426)'), GeomFromEWKT('SRID=4674;POINT (-40.103747 -2.816442)'))) / (select extract(epoch from '2026-07-08 16:42:43'::timestamp) - extract(epoch from '2026-07-08 16:42: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'), 47631, 'SRID=4674;POINT (-40.103563 -2.816479)', '2026-07-08 16:43:01', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103747 -2.816442)'), GeomFromEWKT('SRID=4674;POINT (-40.103563 -2.816479)'))) / (select extract(epoch from '2026-07-08 16:43:01'::timestamp) - extract(epoch from '2026-07-08 16:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103747 -2.816442)'), GeomFromEWKT('SRID=4674;POINT (-40.103563 -2.816479)'))) / (select extract(epoch from '2026-07-08 16:43:01'::timestamp) - extract(epoch from '2026-07-08 16:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103396 -2.816539)', '2026-07-08 16:43:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103563 -2.816479)'), GeomFromEWKT('SRID=4674;POINT (-40.103396 -2.816539)'))) / (select extract(epoch from '2026-07-08 16:43:18'::timestamp) - extract(epoch from '2026-07-08 16:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103563 -2.816479)'), GeomFromEWKT('SRID=4674;POINT (-40.103396 -2.816539)'))) / (select extract(epoch from '2026-07-08 16:43:18'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.103209 -2.816557)', '2026-07-08 16:43:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103396 -2.816539)'), GeomFromEWKT('SRID=4674;POINT (-40.103209 -2.816557)'))) / (select extract(epoch from '2026-07-08 16:43:35'::timestamp) - extract(epoch from '2026-07-08 16:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103396 -2.816539)'), GeomFromEWKT('SRID=4674;POINT (-40.103209 -2.816557)'))) / (select extract(epoch from '2026-07-08 16:43:35'::timestamp) - extract(epoch from '2026-07-08 16:43: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'), 47631, 'SRID=4674;POINT (-40.103048 -2.81659)', '2026-07-08 16:43:50', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103209 -2.816557)'), GeomFromEWKT('SRID=4674;POINT (-40.103048 -2.81659)'))) / (select extract(epoch from '2026-07-08 16:43:50'::timestamp) - extract(epoch from '2026-07-08 16:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103209 -2.816557)'), GeomFromEWKT('SRID=4674;POINT (-40.103048 -2.81659)'))) / (select extract(epoch from '2026-07-08 16:43:50'::timestamp) - extract(epoch from '2026-07-08 16:43: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'), 47631, 'SRID=4674;POINT (-40.102868 -2.816638)', '2026-07-08 16:44:07', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103048 -2.81659)'), GeomFromEWKT('SRID=4674;POINT (-40.102868 -2.816638)'))) / (select extract(epoch from '2026-07-08 16:44:07'::timestamp) - extract(epoch from '2026-07-08 16:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103048 -2.81659)'), GeomFromEWKT('SRID=4674;POINT (-40.102868 -2.816638)'))) / (select extract(epoch from '2026-07-08 16:44:07'::timestamp) - extract(epoch from '2026-07-08 16:43: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'), 47631, 'SRID=4674;POINT (-40.102689 -2.816667)', '2026-07-08 16:44:23', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102868 -2.816638)'), GeomFromEWKT('SRID=4674;POINT (-40.102689 -2.816667)'))) / (select extract(epoch from '2026-07-08 16:44:23'::timestamp) - extract(epoch from '2026-07-08 16:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102868 -2.816638)'), GeomFromEWKT('SRID=4674;POINT (-40.102689 -2.816667)'))) / (select extract(epoch from '2026-07-08 16:44:23'::timestamp) - extract(epoch from '2026-07-08 16:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10252 -2.816726)', '2026-07-08 16:44:39', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102689 -2.816667)'), GeomFromEWKT('SRID=4674;POINT (-40.10252 -2.816726)'))) / (select extract(epoch from '2026-07-08 16:44:39'::timestamp) - extract(epoch from '2026-07-08 16:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102689 -2.816667)'), GeomFromEWKT('SRID=4674;POINT (-40.10252 -2.816726)'))) / (select extract(epoch from '2026-07-08 16:44:39'::timestamp) - extract(epoch from '2026-07-08 16:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102383 -2.816796)', '2026-07-08 16:44:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10252 -2.816726)'), GeomFromEWKT('SRID=4674;POINT (-40.102383 -2.816796)'))) / (select extract(epoch from '2026-07-08 16:44:54'::timestamp) - extract(epoch from '2026-07-08 16:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10252 -2.816726)'), GeomFromEWKT('SRID=4674;POINT (-40.102383 -2.816796)'))) / (select extract(epoch from '2026-07-08 16:44:54'::timestamp) - extract(epoch from '2026-07-08 16:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102258 -2.816853)', '2026-07-08 16:45:06', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102383 -2.816796)'), GeomFromEWKT('SRID=4674;POINT (-40.102258 -2.816853)'))) / (select extract(epoch from '2026-07-08 16:45:06'::timestamp) - extract(epoch from '2026-07-08 16:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102383 -2.816796)'), GeomFromEWKT('SRID=4674;POINT (-40.102258 -2.816853)'))) / (select extract(epoch from '2026-07-08 16:45:06'::timestamp) - extract(epoch from '2026-07-08 16:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102168 -2.816869)', '2026-07-08 16:45:15', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102258 -2.816853)'), GeomFromEWKT('SRID=4674;POINT (-40.102168 -2.816869)'))) / (select extract(epoch from '2026-07-08 16:45:15'::timestamp) - extract(epoch from '2026-07-08 16:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102258 -2.816853)'), GeomFromEWKT('SRID=4674;POINT (-40.102168 -2.816869)'))) / (select extract(epoch from '2026-07-08 16:45:15'::timestamp) - extract(epoch from '2026-07-08 16:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102077 -2.816892)', '2026-07-08 16:45:23', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102168 -2.816869)'), GeomFromEWKT('SRID=4674;POINT (-40.102077 -2.816892)'))) / (select extract(epoch from '2026-07-08 16:45:23'::timestamp) - extract(epoch from '2026-07-08 16:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102168 -2.816869)'), GeomFromEWKT('SRID=4674;POINT (-40.102077 -2.816892)'))) / (select extract(epoch from '2026-07-08 16:45:23'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.101988 -2.816932)', '2026-07-08 16:45:32', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102077 -2.816892)'), GeomFromEWKT('SRID=4674;POINT (-40.101988 -2.816932)'))) / (select extract(epoch from '2026-07-08 16:45:32'::timestamp) - extract(epoch from '2026-07-08 16:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102077 -2.816892)'), GeomFromEWKT('SRID=4674;POINT (-40.101988 -2.816932)'))) / (select extract(epoch from '2026-07-08 16:45:32'::timestamp) - extract(epoch from '2026-07-08 16:45: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'), 47631, 'SRID=4674;POINT (-40.101894 -2.816965)', '2026-07-08 16:45:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101988 -2.816932)'), GeomFromEWKT('SRID=4674;POINT (-40.101894 -2.816965)'))) / (select extract(epoch from '2026-07-08 16:45:42'::timestamp) - extract(epoch from '2026-07-08 16:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101988 -2.816932)'), GeomFromEWKT('SRID=4674;POINT (-40.101894 -2.816965)'))) / (select extract(epoch from '2026-07-08 16:45:42'::timestamp) - extract(epoch from '2026-07-08 16:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10181 -2.816982)', '2026-07-08 16:45:50', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101894 -2.816965)'), GeomFromEWKT('SRID=4674;POINT (-40.10181 -2.816982)'))) / (select extract(epoch from '2026-07-08 16:45:50'::timestamp) - extract(epoch from '2026-07-08 16:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101894 -2.816965)'), GeomFromEWKT('SRID=4674;POINT (-40.10181 -2.816982)'))) / (select extract(epoch from '2026-07-08 16:45:50'::timestamp) - extract(epoch from '2026-07-08 16:45: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'), 47631, 'SRID=4674;POINT (-40.101715 -2.817019)', '2026-07-08 16:45:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10181 -2.816982)'), GeomFromEWKT('SRID=4674;POINT (-40.101715 -2.817019)'))) / (select extract(epoch from '2026-07-08 16:45:59'::timestamp) - extract(epoch from '2026-07-08 16:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10181 -2.816982)'), GeomFromEWKT('SRID=4674;POINT (-40.101715 -2.817019)'))) / (select extract(epoch from '2026-07-08 16:45:59'::timestamp) - extract(epoch from '2026-07-08 16:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.101609 -2.817068)', '2026-07-08 16:46:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101715 -2.817019)'), GeomFromEWKT('SRID=4674;POINT (-40.101609 -2.817068)'))) / (select extract(epoch from '2026-07-08 16:46:09'::timestamp) - extract(epoch from '2026-07-08 16:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101715 -2.817019)'), GeomFromEWKT('SRID=4674;POINT (-40.101609 -2.817068)'))) / (select extract(epoch from '2026-07-08 16:46:09'::timestamp) - extract(epoch from '2026-07-08 16:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.101491 -2.817094)', '2026-07-08 16:46:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101609 -2.817068)'), GeomFromEWKT('SRID=4674;POINT (-40.101491 -2.817094)'))) / (select extract(epoch from '2026-07-08 16:46:20'::timestamp) - extract(epoch from '2026-07-08 16:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101609 -2.817068)'), GeomFromEWKT('SRID=4674;POINT (-40.101491 -2.817094)'))) / (select extract(epoch from '2026-07-08 16:46:20'::timestamp) - extract(epoch from '2026-07-08 16:46: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'), 47631, 'SRID=4674;POINT (-40.101387 -2.817104)', '2026-07-08 16:46:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101491 -2.817094)'), GeomFromEWKT('SRID=4674;POINT (-40.101387 -2.817104)'))) / (select extract(epoch from '2026-07-08 16:46:29'::timestamp) - extract(epoch from '2026-07-08 16:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101491 -2.817094)'), GeomFromEWKT('SRID=4674;POINT (-40.101387 -2.817104)'))) / (select extract(epoch from '2026-07-08 16:46:29'::timestamp) - extract(epoch from '2026-07-08 16:46: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'), 47631, 'SRID=4674;POINT (-40.101279 -2.817129)', '2026-07-08 16:46:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101387 -2.817104)'), GeomFromEWKT('SRID=4674;POINT (-40.101279 -2.817129)'))) / (select extract(epoch from '2026-07-08 16:46:39'::timestamp) - extract(epoch from '2026-07-08 16:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101387 -2.817104)'), GeomFromEWKT('SRID=4674;POINT (-40.101279 -2.817129)'))) / (select extract(epoch from '2026-07-08 16:46:39'::timestamp) - extract(epoch from '2026-07-08 16:46: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'), 47631, 'SRID=4674;POINT (-40.10118 -2.817164)', '2026-07-08 16:46:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101279 -2.817129)'), GeomFromEWKT('SRID=4674;POINT (-40.10118 -2.817164)'))) / (select extract(epoch from '2026-07-08 16:46:48'::timestamp) - extract(epoch from '2026-07-08 16:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101279 -2.817129)'), GeomFromEWKT('SRID=4674;POINT (-40.10118 -2.817164)'))) / (select extract(epoch from '2026-07-08 16:46:48'::timestamp) - extract(epoch from '2026-07-08 16:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.101081 -2.817179)', '2026-07-08 16:46:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10118 -2.817164)'), GeomFromEWKT('SRID=4674;POINT (-40.101081 -2.817179)'))) / (select extract(epoch from '2026-07-08 16:46:57'::timestamp) - extract(epoch from '2026-07-08 16:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10118 -2.817164)'), GeomFromEWKT('SRID=4674;POINT (-40.101081 -2.817179)'))) / (select extract(epoch from '2026-07-08 16:46:57'::timestamp) - extract(epoch from '2026-07-08 16:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100962 -2.817206)', '2026-07-08 16:47:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101081 -2.817179)'), GeomFromEWKT('SRID=4674;POINT (-40.100962 -2.817206)'))) / (select extract(epoch from '2026-07-08 16:47:07'::timestamp) - extract(epoch from '2026-07-08 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101081 -2.817179)'), GeomFromEWKT('SRID=4674;POINT (-40.100962 -2.817206)'))) / (select extract(epoch from '2026-07-08 16:47:07'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.100836 -2.817222)', '2026-07-08 16:47:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100962 -2.817206)'), GeomFromEWKT('SRID=4674;POINT (-40.100836 -2.817222)'))) / (select extract(epoch from '2026-07-08 16:47:19'::timestamp) - extract(epoch from '2026-07-08 16:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100962 -2.817206)'), GeomFromEWKT('SRID=4674;POINT (-40.100836 -2.817222)'))) / (select extract(epoch from '2026-07-08 16:47:19'::timestamp) - extract(epoch from '2026-07-08 16:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100754 -2.817242)', '2026-07-08 16:47:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100836 -2.817222)'), GeomFromEWKT('SRID=4674;POINT (-40.100754 -2.817242)'))) / (select extract(epoch from '2026-07-08 16:47:28'::timestamp) - extract(epoch from '2026-07-08 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100836 -2.817222)'), GeomFromEWKT('SRID=4674;POINT (-40.100754 -2.817242)'))) / (select extract(epoch from '2026-07-08 16:47:28'::timestamp) - extract(epoch from '2026-07-08 16:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100666 -2.817244)', '2026-07-08 16:47:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100754 -2.817242)'), GeomFromEWKT('SRID=4674;POINT (-40.100666 -2.817244)'))) / (select extract(epoch from '2026-07-08 16:47:37'::timestamp) - extract(epoch from '2026-07-08 16:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100754 -2.817242)'), GeomFromEWKT('SRID=4674;POINT (-40.100666 -2.817244)'))) / (select extract(epoch from '2026-07-08 16:47:37'::timestamp) - extract(epoch from '2026-07-08 16:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100566 -2.817252)', '2026-07-08 16:47:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100666 -2.817244)'), GeomFromEWKT('SRID=4674;POINT (-40.100566 -2.817252)'))) / (select extract(epoch from '2026-07-08 16:47:47'::timestamp) - extract(epoch from '2026-07-08 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100666 -2.817244)'), GeomFromEWKT('SRID=4674;POINT (-40.100566 -2.817252)'))) / (select extract(epoch from '2026-07-08 16:47:47'::timestamp) - extract(epoch from '2026-07-08 16:47: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'), 47631, 'SRID=4674;POINT (-40.100474 -2.817234)', '2026-07-08 16:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100566 -2.817252)'), GeomFromEWKT('SRID=4674;POINT (-40.100474 -2.817234)'))) / (select extract(epoch from '2026-07-08 16:47:56'::timestamp) - extract(epoch from '2026-07-08 16:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100566 -2.817252)'), GeomFromEWKT('SRID=4674;POINT (-40.100474 -2.817234)'))) / (select extract(epoch from '2026-07-08 16:47:56'::timestamp) - extract(epoch from '2026-07-08 16:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100362 -2.817226)', '2026-07-08 16:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100474 -2.817234)'), GeomFromEWKT('SRID=4674;POINT (-40.100362 -2.817226)'))) / (select extract(epoch from '2026-07-08 16:48:07'::timestamp) - extract(epoch from '2026-07-08 16:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100474 -2.817234)'), GeomFromEWKT('SRID=4674;POINT (-40.100362 -2.817226)'))) / (select extract(epoch from '2026-07-08 16:48:07'::timestamp) - extract(epoch from '2026-07-08 16:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100265 -2.817218)', '2026-07-08 16:48:16', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100362 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.100265 -2.817218)'))) / (select extract(epoch from '2026-07-08 16:48:16'::timestamp) - extract(epoch from '2026-07-08 16:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100362 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.100265 -2.817218)'))) / (select extract(epoch from '2026-07-08 16:48:16'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.100177 -2.817189)', '2026-07-08 16:48:24', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100265 -2.817218)'), GeomFromEWKT('SRID=4674;POINT (-40.100177 -2.817189)'))) / (select extract(epoch from '2026-07-08 16:48:24'::timestamp) - extract(epoch from '2026-07-08 16:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100265 -2.817218)'), GeomFromEWKT('SRID=4674;POINT (-40.100177 -2.817189)'))) / (select extract(epoch from '2026-07-08 16:48:24'::timestamp) - extract(epoch from '2026-07-08 16:48: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'), 47631, 'SRID=4674;POINT (-40.100077 -2.817145)', '2026-07-08 16:48:34', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100177 -2.817189)'), GeomFromEWKT('SRID=4674;POINT (-40.100077 -2.817145)'))) / (select extract(epoch from '2026-07-08 16:48:34'::timestamp) - extract(epoch from '2026-07-08 16:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100177 -2.817189)'), GeomFromEWKT('SRID=4674;POINT (-40.100077 -2.817145)'))) / (select extract(epoch from '2026-07-08 16:48:34'::timestamp) - extract(epoch from '2026-07-08 16:48: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'), 47631, 'SRID=4674;POINT (-40.099993 -2.817108)', '2026-07-08 16:48:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100077 -2.817145)'), GeomFromEWKT('SRID=4674;POINT (-40.099993 -2.817108)'))) / (select extract(epoch from '2026-07-08 16:48:44'::timestamp) - extract(epoch from '2026-07-08 16:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100077 -2.817145)'), GeomFromEWKT('SRID=4674;POINT (-40.099993 -2.817108)'))) / (select extract(epoch from '2026-07-08 16:48:44'::timestamp) - extract(epoch from '2026-07-08 16:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.099903 -2.81706)', '2026-07-08 16:48:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099993 -2.817108)'), GeomFromEWKT('SRID=4674;POINT (-40.099903 -2.81706)'))) / (select extract(epoch from '2026-07-08 16:48:54'::timestamp) - extract(epoch from '2026-07-08 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099993 -2.817108)'), GeomFromEWKT('SRID=4674;POINT (-40.099903 -2.81706)'))) / (select extract(epoch from '2026-07-08 16:48:54'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.099808 -2.817009)', '2026-07-08 16:49:05', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099903 -2.81706)'), GeomFromEWKT('SRID=4674;POINT (-40.099808 -2.817009)'))) / (select extract(epoch from '2026-07-08 16:49:05'::timestamp) - extract(epoch from '2026-07-08 16:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099903 -2.81706)'), GeomFromEWKT('SRID=4674;POINT (-40.099808 -2.817009)'))) / (select extract(epoch from '2026-07-08 16:49:05'::timestamp) - extract(epoch from '2026-07-08 16:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.099718 -2.816959)', '2026-07-08 16:49:15', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099808 -2.817009)'), GeomFromEWKT('SRID=4674;POINT (-40.099718 -2.816959)'))) / (select extract(epoch from '2026-07-08 16:49:15'::timestamp) - extract(epoch from '2026-07-08 16:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099808 -2.817009)'), GeomFromEWKT('SRID=4674;POINT (-40.099718 -2.816959)'))) / (select extract(epoch from '2026-07-08 16:49:15'::timestamp) - extract(epoch from '2026-07-08 16:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.099653 -2.816917)', '2026-07-08 16:49:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099718 -2.816959)'), GeomFromEWKT('SRID=4674;POINT (-40.099653 -2.816917)'))) / (select extract(epoch from '2026-07-08 16:49:25'::timestamp) - extract(epoch from '2026-07-08 16:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099718 -2.816959)'), GeomFromEWKT('SRID=4674;POINT (-40.099653 -2.816917)'))) / (select extract(epoch from '2026-07-08 16:49:25'::timestamp) - extract(epoch from '2026-07-08 16:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.099577 -2.816892)', '2026-07-08 16:49:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099653 -2.816917)'), GeomFromEWKT('SRID=4674;POINT (-40.099577 -2.816892)'))) / (select extract(epoch from '2026-07-08 16:49:34'::timestamp) - extract(epoch from '2026-07-08 16:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099653 -2.816917)'), GeomFromEWKT('SRID=4674;POINT (-40.099577 -2.816892)'))) / (select extract(epoch from '2026-07-08 16:49:34'::timestamp) - extract(epoch from '2026-07-08 16:49: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'), 47631, 'SRID=4674;POINT (-40.099517 -2.816861)', '2026-07-08 16:49:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099577 -2.816892)'), GeomFromEWKT('SRID=4674;POINT (-40.099517 -2.816861)'))) / (select extract(epoch from '2026-07-08 16:49:43'::timestamp) - extract(epoch from '2026-07-08 16:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099577 -2.816892)'), GeomFromEWKT('SRID=4674;POINT (-40.099517 -2.816861)'))) / (select extract(epoch from '2026-07-08 16:49:43'::timestamp) - extract(epoch from '2026-07-08 16:49: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'), 47631, 'SRID=4674;POINT (-40.099444 -2.816831)', '2026-07-08 16:49:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099517 -2.816861)'), GeomFromEWKT('SRID=4674;POINT (-40.099444 -2.816831)'))) / (select extract(epoch from '2026-07-08 16:49:52'::timestamp) - extract(epoch from '2026-07-08 16:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099517 -2.816861)'), GeomFromEWKT('SRID=4674;POINT (-40.099444 -2.816831)'))) / (select extract(epoch from '2026-07-08 16:49:52'::timestamp) - extract(epoch from '2026-07-08 16:49: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'), 47631, 'SRID=4674;POINT (-40.099375 -2.816802)', '2026-07-08 16:50:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099444 -2.816831)'), GeomFromEWKT('SRID=4674;POINT (-40.099375 -2.816802)'))) / (select extract(epoch from '2026-07-08 16:50:01'::timestamp) - extract(epoch from '2026-07-08 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099444 -2.816831)'), GeomFromEWKT('SRID=4674;POINT (-40.099375 -2.816802)'))) / (select extract(epoch from '2026-07-08 16:50:01'::timestamp) - extract(epoch from '2026-07-08 16:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.099317 -2.816768)', '2026-07-08 16:50:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099375 -2.816802)'), GeomFromEWKT('SRID=4674;POINT (-40.099317 -2.816768)'))) / (select extract(epoch from '2026-07-08 16:50:09'::timestamp) - extract(epoch from '2026-07-08 16:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099375 -2.816802)'), GeomFromEWKT('SRID=4674;POINT (-40.099317 -2.816768)'))) / (select extract(epoch from '2026-07-08 16:50:09'::timestamp) - extract(epoch from '2026-07-08 16:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.099236 -2.816742)', '2026-07-08 16:50:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099317 -2.816768)'), GeomFromEWKT('SRID=4674;POINT (-40.099236 -2.816742)'))) / (select extract(epoch from '2026-07-08 16:50:17'::timestamp) - extract(epoch from '2026-07-08 16:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099317 -2.816768)'), GeomFromEWKT('SRID=4674;POINT (-40.099236 -2.816742)'))) / (select extract(epoch from '2026-07-08 16:50:17'::timestamp) - extract(epoch from '2026-07-08 16:50: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'), 47631, 'SRID=4674;POINT (-40.09916 -2.816687)', '2026-07-08 16:50:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099236 -2.816742)'), GeomFromEWKT('SRID=4674;POINT (-40.09916 -2.816687)'))) / (select extract(epoch from '2026-07-08 16:50:28'::timestamp) - extract(epoch from '2026-07-08 16:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099236 -2.816742)'), GeomFromEWKT('SRID=4674;POINT (-40.09916 -2.816687)'))) / (select extract(epoch from '2026-07-08 16:50:28'::timestamp) - extract(epoch from '2026-07-08 16:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.0991 -2.816643)', '2026-07-08 16:50:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09916 -2.816687)'), GeomFromEWKT('SRID=4674;POINT (-40.0991 -2.816643)'))) / (select extract(epoch from '2026-07-08 16:50:37'::timestamp) - extract(epoch from '2026-07-08 16:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09916 -2.816687)'), GeomFromEWKT('SRID=4674;POINT (-40.0991 -2.816643)'))) / (select extract(epoch from '2026-07-08 16:50:37'::timestamp) - extract(epoch from '2026-07-08 16:50: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'), 47631, 'SRID=4674;POINT (-40.099033 -2.816616)', '2026-07-08 16:50:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0991 -2.816643)'), GeomFromEWKT('SRID=4674;POINT (-40.099033 -2.816616)'))) / (select extract(epoch from '2026-07-08 16:50:45'::timestamp) - extract(epoch from '2026-07-08 16:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0991 -2.816643)'), GeomFromEWKT('SRID=4674;POINT (-40.099033 -2.816616)'))) / (select extract(epoch from '2026-07-08 16:50:45'::timestamp) - extract(epoch from '2026-07-08 16:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098951 -2.816555)', '2026-07-08 16:50:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099033 -2.816616)'), GeomFromEWKT('SRID=4674;POINT (-40.098951 -2.816555)'))) / (select extract(epoch from '2026-07-08 16:50:55'::timestamp) - extract(epoch from '2026-07-08 16:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099033 -2.816616)'), GeomFromEWKT('SRID=4674;POINT (-40.098951 -2.816555)'))) / (select extract(epoch from '2026-07-08 16:50:55'::timestamp) - extract(epoch from '2026-07-08 16:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098897 -2.816527)', '2026-07-08 16:51:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098951 -2.816555)'), GeomFromEWKT('SRID=4674;POINT (-40.098897 -2.816527)'))) / (select extract(epoch from '2026-07-08 16:51:02'::timestamp) - extract(epoch from '2026-07-08 16:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098951 -2.816555)'), GeomFromEWKT('SRID=4674;POINT (-40.098897 -2.816527)'))) / (select extract(epoch from '2026-07-08 16:51:02'::timestamp) - extract(epoch from '2026-07-08 16:50: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'), 47631, 'SRID=4674;POINT (-40.098852 -2.816489)', '2026-07-08 16:51:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098897 -2.816527)'), GeomFromEWKT('SRID=4674;POINT (-40.098852 -2.816489)'))) / (select extract(epoch from '2026-07-08 16:51:09'::timestamp) - extract(epoch from '2026-07-08 16:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098897 -2.816527)'), GeomFromEWKT('SRID=4674;POINT (-40.098852 -2.816489)'))) / (select extract(epoch from '2026-07-08 16:51:09'::timestamp) - extract(epoch from '2026-07-08 16:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098759 -2.816438)', '2026-07-08 16:51:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098852 -2.816489)'), GeomFromEWKT('SRID=4674;POINT (-40.098759 -2.816438)'))) / (select extract(epoch from '2026-07-08 16:51:20'::timestamp) - extract(epoch from '2026-07-08 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098852 -2.816489)'), GeomFromEWKT('SRID=4674;POINT (-40.098759 -2.816438)'))) / (select extract(epoch from '2026-07-08 16:51:20'::timestamp) - extract(epoch from '2026-07-08 16:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098689 -2.816375)', '2026-07-08 16:51:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098759 -2.816438)'), GeomFromEWKT('SRID=4674;POINT (-40.098689 -2.816375)'))) / (select extract(epoch from '2026-07-08 16:51:30'::timestamp) - extract(epoch from '2026-07-08 16:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098759 -2.816438)'), GeomFromEWKT('SRID=4674;POINT (-40.098689 -2.816375)'))) / (select extract(epoch from '2026-07-08 16:51:30'::timestamp) - extract(epoch from '2026-07-08 16:51: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'), 47631, 'SRID=4674;POINT (-40.098619 -2.8163)', '2026-07-08 16:51:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098689 -2.816375)'), GeomFromEWKT('SRID=4674;POINT (-40.098619 -2.8163)'))) / (select extract(epoch from '2026-07-08 16:51:40'::timestamp) - extract(epoch from '2026-07-08 16:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098689 -2.816375)'), GeomFromEWKT('SRID=4674;POINT (-40.098619 -2.8163)'))) / (select extract(epoch from '2026-07-08 16:51:40'::timestamp) - extract(epoch from '2026-07-08 16:51: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'), 47631, 'SRID=4674;POINT (-40.098553 -2.816248)', '2026-07-08 16:51:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098619 -2.8163)'), GeomFromEWKT('SRID=4674;POINT (-40.098553 -2.816248)'))) / (select extract(epoch from '2026-07-08 16:51:48'::timestamp) - extract(epoch from '2026-07-08 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098619 -2.8163)'), GeomFromEWKT('SRID=4674;POINT (-40.098553 -2.816248)'))) / (select extract(epoch from '2026-07-08 16:51:48'::timestamp) - extract(epoch from '2026-07-08 16:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098475 -2.816184)', '2026-07-08 16:51:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098553 -2.816248)'), GeomFromEWKT('SRID=4674;POINT (-40.098475 -2.816184)'))) / (select extract(epoch from '2026-07-08 16:51:58'::timestamp) - extract(epoch from '2026-07-08 16:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098553 -2.816248)'), GeomFromEWKT('SRID=4674;POINT (-40.098475 -2.816184)'))) / (select extract(epoch from '2026-07-08 16:51:58'::timestamp) - extract(epoch from '2026-07-08 16:51: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'), 47631, 'SRID=4674;POINT (-40.098411 -2.816144)', '2026-07-08 16:52:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098475 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.098411 -2.816144)'))) / (select extract(epoch from '2026-07-08 16:52:07'::timestamp) - extract(epoch from '2026-07-08 16:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098475 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.098411 -2.816144)'))) / (select extract(epoch from '2026-07-08 16:52:07'::timestamp) - extract(epoch from '2026-07-08 16:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098283 -2.816042)', '2026-07-08 16:52:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098411 -2.816144)'), GeomFromEWKT('SRID=4674;POINT (-40.098283 -2.816042)'))) / (select extract(epoch from '2026-07-08 16:52:25'::timestamp) - extract(epoch from '2026-07-08 16:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098411 -2.816144)'), GeomFromEWKT('SRID=4674;POINT (-40.098283 -2.816042)'))) / (select extract(epoch from '2026-07-08 16:52:25'::timestamp) - extract(epoch from '2026-07-08 16:52: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'), 47631, 'SRID=4674;POINT (-40.098161 -2.815952)', '2026-07-08 16:52:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098283 -2.816042)'), GeomFromEWKT('SRID=4674;POINT (-40.098161 -2.815952)'))) / (select extract(epoch from '2026-07-08 16:52:42'::timestamp) - extract(epoch from '2026-07-08 16:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098283 -2.816042)'), GeomFromEWKT('SRID=4674;POINT (-40.098161 -2.815952)'))) / (select extract(epoch from '2026-07-08 16:52:42'::timestamp) - extract(epoch from '2026-07-08 16:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.09806 -2.81594)', '2026-07-08 16:52:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098161 -2.815952)'), GeomFromEWKT('SRID=4674;POINT (-40.09806 -2.81594)'))) / (select extract(epoch from '2026-07-08 16:52:55'::timestamp) - extract(epoch from '2026-07-08 16:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098161 -2.815952)'), GeomFromEWKT('SRID=4674;POINT (-40.09806 -2.81594)'))) / (select extract(epoch from '2026-07-08 16:52:55'::timestamp) - extract(epoch from '2026-07-08 16:52: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'), 47631, 'SRID=4674;POINT (-40.097929 -2.8159)', '2026-07-08 16:53:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09806 -2.81594)'), GeomFromEWKT('SRID=4674;POINT (-40.097929 -2.8159)'))) / (select extract(epoch from '2026-07-08 16:53:10'::timestamp) - extract(epoch from '2026-07-08 16:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09806 -2.81594)'), GeomFromEWKT('SRID=4674;POINT (-40.097929 -2.8159)'))) / (select extract(epoch from '2026-07-08 16:53:10'::timestamp) - extract(epoch from '2026-07-08 16:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.097812 -2.81594)', '2026-07-08 16:53:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097929 -2.8159)'), GeomFromEWKT('SRID=4674;POINT (-40.097812 -2.81594)'))) / (select extract(epoch from '2026-07-08 16:53:23'::timestamp) - extract(epoch from '2026-07-08 16:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097929 -2.8159)'), GeomFromEWKT('SRID=4674;POINT (-40.097812 -2.81594)'))) / (select extract(epoch from '2026-07-08 16:53:23'::timestamp) - extract(epoch from '2026-07-08 16:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.097707 -2.816)', '2026-07-08 16:53:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097812 -2.81594)'), GeomFromEWKT('SRID=4674;POINT (-40.097707 -2.816)'))) / (select extract(epoch from '2026-07-08 16:53:38'::timestamp) - extract(epoch from '2026-07-08 16:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097812 -2.81594)'), GeomFromEWKT('SRID=4674;POINT (-40.097707 -2.816)'))) / (select extract(epoch from '2026-07-08 16:53:38'::timestamp) - extract(epoch from '2026-07-08 16:53: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'), 47631, 'SRID=4674;POINT (-40.097616 -2.815987)', '2026-07-08 16:53:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097707 -2.816)'), GeomFromEWKT('SRID=4674;POINT (-40.097616 -2.815987)'))) / (select extract(epoch from '2026-07-08 16:53:49'::timestamp) - extract(epoch from '2026-07-08 16:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097707 -2.816)'), GeomFromEWKT('SRID=4674;POINT (-40.097616 -2.815987)'))) / (select extract(epoch from '2026-07-08 16:53:49'::timestamp) - extract(epoch from '2026-07-08 16:53: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'), 47631, 'SRID=4674;POINT (-40.097502 -2.815867)', '2026-07-08 16:54:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097616 -2.815987)'), GeomFromEWKT('SRID=4674;POINT (-40.097502 -2.815867)'))) / (select extract(epoch from '2026-07-08 16:54:06'::timestamp) - extract(epoch from '2026-07-08 16:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097616 -2.815987)'), GeomFromEWKT('SRID=4674;POINT (-40.097502 -2.815867)'))) / (select extract(epoch from '2026-07-08 16:54:06'::timestamp) - extract(epoch from '2026-07-08 16:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.097462 -2.815774)', '2026-07-08 16:54:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097502 -2.815867)'), GeomFromEWKT('SRID=4674;POINT (-40.097462 -2.815774)'))) / (select extract(epoch from '2026-07-08 16:54:18'::timestamp) - extract(epoch from '2026-07-08 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097502 -2.815867)'), GeomFromEWKT('SRID=4674;POINT (-40.097462 -2.815774)'))) / (select extract(epoch from '2026-07-08 16:54:18'::timestamp) - extract(epoch from '2026-07-08 16:54: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'), 47631, 'SRID=4674;POINT (-40.097519 -2.815741)', '2026-07-08 16:54:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097462 -2.815774)'), GeomFromEWKT('SRID=4674;POINT (-40.097519 -2.815741)'))) / (select extract(epoch from '2026-07-08 16:54:29'::timestamp) - extract(epoch from '2026-07-08 16:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097462 -2.815774)'), GeomFromEWKT('SRID=4674;POINT (-40.097519 -2.815741)'))) / (select extract(epoch from '2026-07-08 16:54:29'::timestamp) - extract(epoch from '2026-07-08 16:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.097576 -2.815745)', '2026-07-08 16:54:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097519 -2.815741)'), GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.815745)'))) / (select extract(epoch from '2026-07-08 16:54:44'::timestamp) - extract(epoch from '2026-07-08 16:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097519 -2.815741)'), GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.815745)'))) / (select extract(epoch from '2026-07-08 16:54:44'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.097583 -2.815752)', '2026-07-08 17:01:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.815745)'), GeomFromEWKT('SRID=4674;POINT (-40.097583 -2.815752)'))) / (select extract(epoch from '2026-07-08 17:01:31'::timestamp) - extract(epoch from '2026-07-08 16:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.815745)'), GeomFromEWKT('SRID=4674;POINT (-40.097583 -2.815752)'))) / (select extract(epoch from '2026-07-08 17:01:31'::timestamp) - extract(epoch from '2026-07-08 16:54: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'), 47631, 'SRID=4674;POINT (-40.097675 -2.815652)', '2026-07-08 17:01:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097583 -2.815752)'), GeomFromEWKT('SRID=4674;POINT (-40.097675 -2.815652)'))) / (select extract(epoch from '2026-07-08 17:01:46'::timestamp) - extract(epoch from '2026-07-08 17:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097583 -2.815752)'), GeomFromEWKT('SRID=4674;POINT (-40.097675 -2.815652)'))) / (select extract(epoch from '2026-07-08 17:01:46'::timestamp) - extract(epoch from '2026-07-08 17:01: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'), 47631, 'SRID=4674;POINT (-40.097723 -2.815577)', '2026-07-08 17:02:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097675 -2.815652)'), GeomFromEWKT('SRID=4674;POINT (-40.097723 -2.815577)'))) / (select extract(epoch from '2026-07-08 17:02:01'::timestamp) - extract(epoch from '2026-07-08 17:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097675 -2.815652)'), GeomFromEWKT('SRID=4674;POINT (-40.097723 -2.815577)'))) / (select extract(epoch from '2026-07-08 17:02:01'::timestamp) - extract(epoch from '2026-07-08 17:01: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'), 47631, 'SRID=4674;POINT (-40.097811 -2.815573)', '2026-07-08 17:02:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097723 -2.815577)'), GeomFromEWKT('SRID=4674;POINT (-40.097811 -2.815573)'))) / (select extract(epoch from '2026-07-08 17:02:16'::timestamp) - extract(epoch from '2026-07-08 17:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097723 -2.815577)'), GeomFromEWKT('SRID=4674;POINT (-40.097811 -2.815573)'))) / (select extract(epoch from '2026-07-08 17:02:16'::timestamp) - extract(epoch from '2026-07-08 17:02: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'), 47631, 'SRID=4674;POINT (-40.097921 -2.81558)', '2026-07-08 17:02:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097811 -2.815573)'), GeomFromEWKT('SRID=4674;POINT (-40.097921 -2.81558)'))) / (select extract(epoch from '2026-07-08 17:02:31'::timestamp) - extract(epoch from '2026-07-08 17:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097811 -2.815573)'), GeomFromEWKT('SRID=4674;POINT (-40.097921 -2.81558)'))) / (select extract(epoch from '2026-07-08 17:02:31'::timestamp) - extract(epoch from '2026-07-08 17:02: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'), 47631, 'SRID=4674;POINT (-40.098024 -2.815574)', '2026-07-08 17:02:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097921 -2.81558)'), GeomFromEWKT('SRID=4674;POINT (-40.098024 -2.815574)'))) / (select extract(epoch from '2026-07-08 17:02:49'::timestamp) - extract(epoch from '2026-07-08 17:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097921 -2.81558)'), GeomFromEWKT('SRID=4674;POINT (-40.098024 -2.815574)'))) / (select extract(epoch from '2026-07-08 17:02:49'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.098122 -2.815565)', '2026-07-08 17:03:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098024 -2.815574)'), GeomFromEWKT('SRID=4674;POINT (-40.098122 -2.815565)'))) / (select extract(epoch from '2026-07-08 17:03:07'::timestamp) - extract(epoch from '2026-07-08 17:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098024 -2.815574)'), GeomFromEWKT('SRID=4674;POINT (-40.098122 -2.815565)'))) / (select extract(epoch from '2026-07-08 17:03:07'::timestamp) - extract(epoch from '2026-07-08 17:02: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'), 47631, 'SRID=4674;POINT (-40.098198 -2.815565)', '2026-07-08 17:03:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098122 -2.815565)'), GeomFromEWKT('SRID=4674;POINT (-40.098198 -2.815565)'))) / (select extract(epoch from '2026-07-08 17:03:23'::timestamp) - extract(epoch from '2026-07-08 17:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098122 -2.815565)'), GeomFromEWKT('SRID=4674;POINT (-40.098198 -2.815565)'))) / (select extract(epoch from '2026-07-08 17:03:23'::timestamp) - extract(epoch from '2026-07-08 17:03: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'), 47631, 'SRID=4674;POINT (-40.098313 -2.815551)', '2026-07-08 17:03:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098198 -2.815565)'), GeomFromEWKT('SRID=4674;POINT (-40.098313 -2.815551)'))) / (select extract(epoch from '2026-07-08 17:03:41'::timestamp) - extract(epoch from '2026-07-08 17:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098198 -2.815565)'), GeomFromEWKT('SRID=4674;POINT (-40.098313 -2.815551)'))) / (select extract(epoch from '2026-07-08 17:03:41'::timestamp) - extract(epoch from '2026-07-08 17:03: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'), 47631, 'SRID=4674;POINT (-40.098394 -2.815561)', '2026-07-08 17:03:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098313 -2.815551)'), GeomFromEWKT('SRID=4674;POINT (-40.098394 -2.815561)'))) / (select extract(epoch from '2026-07-08 17:03:56'::timestamp) - extract(epoch from '2026-07-08 17:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098313 -2.815551)'), GeomFromEWKT('SRID=4674;POINT (-40.098394 -2.815561)'))) / (select extract(epoch from '2026-07-08 17:03:56'::timestamp) - extract(epoch from '2026-07-08 17:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098505 -2.815557)', '2026-07-08 17:04:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098394 -2.815561)'), GeomFromEWKT('SRID=4674;POINT (-40.098505 -2.815557)'))) / (select extract(epoch from '2026-07-08 17:04:14'::timestamp) - extract(epoch from '2026-07-08 17:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098394 -2.815561)'), GeomFromEWKT('SRID=4674;POINT (-40.098505 -2.815557)'))) / (select extract(epoch from '2026-07-08 17:04:14'::timestamp) - extract(epoch from '2026-07-08 17:03: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'), 47631, 'SRID=4674;POINT (-40.098608 -2.815553)', '2026-07-08 17:04:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098505 -2.815557)'), GeomFromEWKT('SRID=4674;POINT (-40.098608 -2.815553)'))) / (select extract(epoch from '2026-07-08 17:04:32'::timestamp) - extract(epoch from '2026-07-08 17:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098505 -2.815557)'), GeomFromEWKT('SRID=4674;POINT (-40.098608 -2.815553)'))) / (select extract(epoch from '2026-07-08 17:04:32'::timestamp) - extract(epoch from '2026-07-08 17:04: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'), 47631, 'SRID=4674;POINT (-40.098692 -2.815555)', '2026-07-08 17:04:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098608 -2.815553)'), GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.815555)'))) / (select extract(epoch from '2026-07-08 17:04:47'::timestamp) - extract(epoch from '2026-07-08 17:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098608 -2.815553)'), GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.815555)'))) / (select extract(epoch from '2026-07-08 17:04:47'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.0988 -2.815564)', '2026-07-08 17:05:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.815555)'), GeomFromEWKT('SRID=4674;POINT (-40.0988 -2.815564)'))) / (select extract(epoch from '2026-07-08 17:05:04'::timestamp) - extract(epoch from '2026-07-08 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.815555)'), GeomFromEWKT('SRID=4674;POINT (-40.0988 -2.815564)'))) / (select extract(epoch from '2026-07-08 17:05:04'::timestamp) - extract(epoch from '2026-07-08 17:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.098917 -2.815584)', '2026-07-08 17:05:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0988 -2.815564)'), GeomFromEWKT('SRID=4674;POINT (-40.098917 -2.815584)'))) / (select extract(epoch from '2026-07-08 17:05:21'::timestamp) - extract(epoch from '2026-07-08 17:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0988 -2.815564)'), GeomFromEWKT('SRID=4674;POINT (-40.098917 -2.815584)'))) / (select extract(epoch from '2026-07-08 17:05:21'::timestamp) - extract(epoch from '2026-07-08 17:05: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'), 47631, 'SRID=4674;POINT (-40.099014 -2.815579)', '2026-07-08 17:05:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098917 -2.815584)'), GeomFromEWKT('SRID=4674;POINT (-40.099014 -2.815579)'))) / (select extract(epoch from '2026-07-08 17:05:39'::timestamp) - extract(epoch from '2026-07-08 17:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098917 -2.815584)'), GeomFromEWKT('SRID=4674;POINT (-40.099014 -2.815579)'))) / (select extract(epoch from '2026-07-08 17:05:39'::timestamp) - extract(epoch from '2026-07-08 17:05: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'), 47631, 'SRID=4674;POINT (-40.099122 -2.81558)', '2026-07-08 17:05:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099014 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.099122 -2.81558)'))) / (select extract(epoch from '2026-07-08 17:05:57'::timestamp) - extract(epoch from '2026-07-08 17:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099014 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.099122 -2.81558)'))) / (select extract(epoch from '2026-07-08 17:05:57'::timestamp) - extract(epoch from '2026-07-08 17:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.099226 -2.815584)', '2026-07-08 17:06:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099122 -2.81558)'), GeomFromEWKT('SRID=4674;POINT (-40.099226 -2.815584)'))) / (select extract(epoch from '2026-07-08 17:06:13'::timestamp) - extract(epoch from '2026-07-08 17:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099122 -2.81558)'), GeomFromEWKT('SRID=4674;POINT (-40.099226 -2.815584)'))) / (select extract(epoch from '2026-07-08 17:06:13'::timestamp) - extract(epoch from '2026-07-08 17:05: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'), 47631, 'SRID=4674;POINT (-40.099361 -2.815577)', '2026-07-08 17:06:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099226 -2.815584)'), GeomFromEWKT('SRID=4674;POINT (-40.099361 -2.815577)'))) / (select extract(epoch from '2026-07-08 17:06:34'::timestamp) - extract(epoch from '2026-07-08 17:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099226 -2.815584)'), GeomFromEWKT('SRID=4674;POINT (-40.099361 -2.815577)'))) / (select extract(epoch from '2026-07-08 17:06:34'::timestamp) - extract(epoch from '2026-07-08 17:06: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'), 47631, 'SRID=4674;POINT (-40.099463 -2.815575)', '2026-07-08 17:06:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099361 -2.815577)'), GeomFromEWKT('SRID=4674;POINT (-40.099463 -2.815575)'))) / (select extract(epoch from '2026-07-08 17:06:50'::timestamp) - extract(epoch from '2026-07-08 17:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099361 -2.815577)'), GeomFromEWKT('SRID=4674;POINT (-40.099463 -2.815575)'))) / (select extract(epoch from '2026-07-08 17:06:50'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.099573 -2.815591)', '2026-07-08 17:07:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099463 -2.815575)'), GeomFromEWKT('SRID=4674;POINT (-40.099573 -2.815591)'))) / (select extract(epoch from '2026-07-08 17:07:06'::timestamp) - extract(epoch from '2026-07-08 17:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099463 -2.815575)'), GeomFromEWKT('SRID=4674;POINT (-40.099573 -2.815591)'))) / (select extract(epoch from '2026-07-08 17:07:06'::timestamp) - extract(epoch from '2026-07-08 17:06: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'), 47631, 'SRID=4674;POINT (-40.099683 -2.815591)', '2026-07-08 17:07:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099573 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.099683 -2.815591)'))) / (select extract(epoch from '2026-07-08 17:07:23'::timestamp) - extract(epoch from '2026-07-08 17:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099573 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.099683 -2.815591)'))) / (select extract(epoch from '2026-07-08 17:07:23'::timestamp) - extract(epoch from '2026-07-08 17:07: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'), 47631, 'SRID=4674;POINT (-40.0998 -2.815596)', '2026-07-08 17:07:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099683 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.0998 -2.815596)'))) / (select extract(epoch from '2026-07-08 17:07:40'::timestamp) - extract(epoch from '2026-07-08 17:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099683 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.0998 -2.815596)'))) / (select extract(epoch from '2026-07-08 17:07:40'::timestamp) - extract(epoch from '2026-07-08 17:07: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'), 47631, 'SRID=4674;POINT (-40.099894 -2.815615)', '2026-07-08 17:07:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0998 -2.815596)'), GeomFromEWKT('SRID=4674;POINT (-40.099894 -2.815615)'))) / (select extract(epoch from '2026-07-08 17:07:57'::timestamp) - extract(epoch from '2026-07-08 17:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0998 -2.815596)'), GeomFromEWKT('SRID=4674;POINT (-40.099894 -2.815615)'))) / (select extract(epoch from '2026-07-08 17:07:57'::timestamp) - extract(epoch from '2026-07-08 17:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100002 -2.815616)', '2026-07-08 17:08:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099894 -2.815615)'), GeomFromEWKT('SRID=4674;POINT (-40.100002 -2.815616)'))) / (select extract(epoch from '2026-07-08 17:08:14'::timestamp) - extract(epoch from '2026-07-08 17:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099894 -2.815615)'), GeomFromEWKT('SRID=4674;POINT (-40.100002 -2.815616)'))) / (select extract(epoch from '2026-07-08 17:08:14'::timestamp) - extract(epoch from '2026-07-08 17:07: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'), 47631, 'SRID=4674;POINT (-40.10008 -2.815617)', '2026-07-08 17:08:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100002 -2.815616)'), GeomFromEWKT('SRID=4674;POINT (-40.10008 -2.815617)'))) / (select extract(epoch from '2026-07-08 17:08:28'::timestamp) - extract(epoch from '2026-07-08 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100002 -2.815616)'), GeomFromEWKT('SRID=4674;POINT (-40.10008 -2.815617)'))) / (select extract(epoch from '2026-07-08 17:08:28'::timestamp) - extract(epoch from '2026-07-08 17:08: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'), 47631, 'SRID=4674;POINT (-40.100199 -2.815613)', '2026-07-08 17:08:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10008 -2.815617)'), GeomFromEWKT('SRID=4674;POINT (-40.100199 -2.815613)'))) / (select extract(epoch from '2026-07-08 17:08:47'::timestamp) - extract(epoch from '2026-07-08 17:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10008 -2.815617)'), GeomFromEWKT('SRID=4674;POINT (-40.100199 -2.815613)'))) / (select extract(epoch from '2026-07-08 17:08:47'::timestamp) - extract(epoch from '2026-07-08 17:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100287 -2.815615)', '2026-07-08 17:09:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100199 -2.815613)'), GeomFromEWKT('SRID=4674;POINT (-40.100287 -2.815615)'))) / (select extract(epoch from '2026-07-08 17:09:04'::timestamp) - extract(epoch from '2026-07-08 17:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100199 -2.815613)'), GeomFromEWKT('SRID=4674;POINT (-40.100287 -2.815615)'))) / (select extract(epoch from '2026-07-08 17:09:04'::timestamp) - extract(epoch from '2026-07-08 17:08: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'), 47631, 'SRID=4674;POINT (-40.100399 -2.815621)', '2026-07-08 17:09:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100287 -2.815615)'), GeomFromEWKT('SRID=4674;POINT (-40.100399 -2.815621)'))) / (select extract(epoch from '2026-07-08 17:09:21'::timestamp) - extract(epoch from '2026-07-08 17:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100287 -2.815615)'), GeomFromEWKT('SRID=4674;POINT (-40.100399 -2.815621)'))) / (select extract(epoch from '2026-07-08 17:09:21'::timestamp) - extract(epoch from '2026-07-08 17:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.100477 -2.815619)', '2026-07-08 17:09:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100399 -2.815621)'), GeomFromEWKT('SRID=4674;POINT (-40.100477 -2.815619)'))) / (select extract(epoch from '2026-07-08 17:09:35'::timestamp) - extract(epoch from '2026-07-08 17:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100399 -2.815621)'), GeomFromEWKT('SRID=4674;POINT (-40.100477 -2.815619)'))) / (select extract(epoch from '2026-07-08 17:09:35'::timestamp) - extract(epoch from '2026-07-08 17:09: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'), 47631, 'SRID=4674;POINT (-40.100583 -2.815619)', '2026-07-08 17:09:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100477 -2.815619)'), GeomFromEWKT('SRID=4674;POINT (-40.100583 -2.815619)'))) / (select extract(epoch from '2026-07-08 17:09:54'::timestamp) - extract(epoch from '2026-07-08 17:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100477 -2.815619)'), GeomFromEWKT('SRID=4674;POINT (-40.100583 -2.815619)'))) / (select extract(epoch from '2026-07-08 17:09:54'::timestamp) - extract(epoch from '2026-07-08 17:09: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'), 47631, 'SRID=4674;POINT (-40.100689 -2.815635)', '2026-07-08 17:10:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100583 -2.815619)'), GeomFromEWKT('SRID=4674;POINT (-40.100689 -2.815635)'))) / (select extract(epoch from '2026-07-08 17:10:12'::timestamp) - extract(epoch from '2026-07-08 17:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100583 -2.815619)'), GeomFromEWKT('SRID=4674;POINT (-40.100689 -2.815635)'))) / (select extract(epoch from '2026-07-08 17:10:12'::timestamp) - extract(epoch from '2026-07-08 17:09: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'), 47631, 'SRID=4674;POINT (-40.100787 -2.815637)', '2026-07-08 17:10:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100689 -2.815635)'), GeomFromEWKT('SRID=4674;POINT (-40.100787 -2.815637)'))) / (select extract(epoch from '2026-07-08 17:10:27'::timestamp) - extract(epoch from '2026-07-08 17:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100689 -2.815635)'), GeomFromEWKT('SRID=4674;POINT (-40.100787 -2.815637)'))) / (select extract(epoch from '2026-07-08 17:10:27'::timestamp) - extract(epoch from '2026-07-08 17:10: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'), 47631, 'SRID=4674;POINT (-40.100892 -2.815653)', '2026-07-08 17:10:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100787 -2.815637)'), GeomFromEWKT('SRID=4674;POINT (-40.100892 -2.815653)'))) / (select extract(epoch from '2026-07-08 17:10:45'::timestamp) - extract(epoch from '2026-07-08 17:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100787 -2.815637)'), GeomFromEWKT('SRID=4674;POINT (-40.100892 -2.815653)'))) / (select extract(epoch from '2026-07-08 17:10:45'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.101032 -2.815659)', '2026-07-08 17:11:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100892 -2.815653)'), GeomFromEWKT('SRID=4674;POINT (-40.101032 -2.815659)'))) / (select extract(epoch from '2026-07-08 17:11:06'::timestamp) - extract(epoch from '2026-07-08 17:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100892 -2.815653)'), GeomFromEWKT('SRID=4674;POINT (-40.101032 -2.815659)'))) / (select extract(epoch from '2026-07-08 17:11:06'::timestamp) - extract(epoch from '2026-07-08 17:10: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'), 47631, 'SRID=4674;POINT (-40.101099 -2.815657)', '2026-07-08 17:11:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101032 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.101099 -2.815657)'))) / (select extract(epoch from '2026-07-08 17:11:21'::timestamp) - extract(epoch from '2026-07-08 17:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101032 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.101099 -2.815657)'))) / (select extract(epoch from '2026-07-08 17:11:21'::timestamp) - extract(epoch from '2026-07-08 17:11: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'), 47631, 'SRID=4674;POINT (-40.101193 -2.81566)', '2026-07-08 17:11:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101099 -2.815657)'), GeomFromEWKT('SRID=4674;POINT (-40.101193 -2.81566)'))) / (select extract(epoch from '2026-07-08 17:11:37'::timestamp) - extract(epoch from '2026-07-08 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101099 -2.815657)'), GeomFromEWKT('SRID=4674;POINT (-40.101193 -2.81566)'))) / (select extract(epoch from '2026-07-08 17:11:37'::timestamp) - extract(epoch from '2026-07-08 17:11: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'), 47631, 'SRID=4674;POINT (-40.10129 -2.815668)', '2026-07-08 17:11:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101193 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.10129 -2.815668)'))) / (select extract(epoch from '2026-07-08 17:11:54'::timestamp) - extract(epoch from '2026-07-08 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101193 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.10129 -2.815668)'))) / (select extract(epoch from '2026-07-08 17:11:54'::timestamp) - extract(epoch from '2026-07-08 17:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.101386 -2.815676)', '2026-07-08 17:12:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10129 -2.815668)'), GeomFromEWKT('SRID=4674;POINT (-40.101386 -2.815676)'))) / (select extract(epoch from '2026-07-08 17:12:09'::timestamp) - extract(epoch from '2026-07-08 17:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10129 -2.815668)'), GeomFromEWKT('SRID=4674;POINT (-40.101386 -2.815676)'))) / (select extract(epoch from '2026-07-08 17:12:09'::timestamp) - extract(epoch from '2026-07-08 17:11: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'), 47631, 'SRID=4674;POINT (-40.101492 -2.815657)', '2026-07-08 17:12:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101386 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.101492 -2.815657)'))) / (select extract(epoch from '2026-07-08 17:12:27'::timestamp) - extract(epoch from '2026-07-08 17:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101386 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.101492 -2.815657)'))) / (select extract(epoch from '2026-07-08 17:12:27'::timestamp) - extract(epoch from '2026-07-08 17:12:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.101608 -2.815649)', '2026-07-08 17:12:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101492 -2.815657)'), GeomFromEWKT('SRID=4674;POINT (-40.101608 -2.815649)'))) / (select extract(epoch from '2026-07-08 17:12:47'::timestamp) - extract(epoch from '2026-07-08 17:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101492 -2.815657)'), GeomFromEWKT('SRID=4674;POINT (-40.101608 -2.815649)'))) / (select extract(epoch from '2026-07-08 17:12:47'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.101717 -2.815648)', '2026-07-08 17:13:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101608 -2.815649)'), GeomFromEWKT('SRID=4674;POINT (-40.101717 -2.815648)'))) / (select extract(epoch from '2026-07-08 17:13:04'::timestamp) - extract(epoch from '2026-07-08 17:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101608 -2.815649)'), GeomFromEWKT('SRID=4674;POINT (-40.101717 -2.815648)'))) / (select extract(epoch from '2026-07-08 17:13:04'::timestamp) - extract(epoch from '2026-07-08 17:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.101823 -2.815656)', '2026-07-08 17:13:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101717 -2.815648)'), GeomFromEWKT('SRID=4674;POINT (-40.101823 -2.815656)'))) / (select extract(epoch from '2026-07-08 17:13:21'::timestamp) - extract(epoch from '2026-07-08 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101717 -2.815648)'), GeomFromEWKT('SRID=4674;POINT (-40.101823 -2.815656)'))) / (select extract(epoch from '2026-07-08 17:13:21'::timestamp) - extract(epoch from '2026-07-08 17:13: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'), 47631, 'SRID=4674;POINT (-40.101937 -2.815652)', '2026-07-08 17:13:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101823 -2.815656)'), GeomFromEWKT('SRID=4674;POINT (-40.101937 -2.815652)'))) / (select extract(epoch from '2026-07-08 17:13:39'::timestamp) - extract(epoch from '2026-07-08 17:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101823 -2.815656)'), GeomFromEWKT('SRID=4674;POINT (-40.101937 -2.815652)'))) / (select extract(epoch from '2026-07-08 17:13:39'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102024 -2.81567)', '2026-07-08 17:13:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101937 -2.815652)'), GeomFromEWKT('SRID=4674;POINT (-40.102024 -2.81567)'))) / (select extract(epoch from '2026-07-08 17:13:54'::timestamp) - extract(epoch from '2026-07-08 17:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101937 -2.815652)'), GeomFromEWKT('SRID=4674;POINT (-40.102024 -2.81567)'))) / (select extract(epoch from '2026-07-08 17:13:54'::timestamp) - extract(epoch from '2026-07-08 17:13: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'), 47631, 'SRID=4674;POINT (-40.102097 -2.815667)', '2026-07-08 17:14:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102024 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.102097 -2.815667)'))) / (select extract(epoch from '2026-07-08 17:14:09'::timestamp) - extract(epoch from '2026-07-08 17:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102024 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.102097 -2.815667)'))) / (select extract(epoch from '2026-07-08 17:14:09'::timestamp) - extract(epoch from '2026-07-08 17:13:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102194 -2.815669)', '2026-07-08 17:14:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102097 -2.815667)'), GeomFromEWKT('SRID=4674;POINT (-40.102194 -2.815669)'))) / (select extract(epoch from '2026-07-08 17:14:26'::timestamp) - extract(epoch from '2026-07-08 17:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102097 -2.815667)'), GeomFromEWKT('SRID=4674;POINT (-40.102194 -2.815669)'))) / (select extract(epoch from '2026-07-08 17:14:26'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102275 -2.815669)', '2026-07-08 17:14:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102194 -2.815669)'), GeomFromEWKT('SRID=4674;POINT (-40.102275 -2.815669)'))) / (select extract(epoch from '2026-07-08 17:14:40'::timestamp) - extract(epoch from '2026-07-08 17:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102194 -2.815669)'), GeomFromEWKT('SRID=4674;POINT (-40.102275 -2.815669)'))) / (select extract(epoch from '2026-07-08 17:14:40'::timestamp) - extract(epoch from '2026-07-08 17:14: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'), 47631, 'SRID=4674;POINT (-40.102357 -2.815656)', '2026-07-08 17:14:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102275 -2.815669)'), GeomFromEWKT('SRID=4674;POINT (-40.102357 -2.815656)'))) / (select extract(epoch from '2026-07-08 17:14:52'::timestamp) - extract(epoch from '2026-07-08 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102275 -2.815669)'), GeomFromEWKT('SRID=4674;POINT (-40.102357 -2.815656)'))) / (select extract(epoch from '2026-07-08 17:14:52'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102464 -2.815651)', '2026-07-08 17:15:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102357 -2.815656)'), GeomFromEWKT('SRID=4674;POINT (-40.102464 -2.815651)'))) / (select extract(epoch from '2026-07-08 17:15:10'::timestamp) - extract(epoch from '2026-07-08 17:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102357 -2.815656)'), GeomFromEWKT('SRID=4674;POINT (-40.102464 -2.815651)'))) / (select extract(epoch from '2026-07-08 17:15:10'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102555 -2.815667)', '2026-07-08 17:15:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102464 -2.815651)'), GeomFromEWKT('SRID=4674;POINT (-40.102555 -2.815667)'))) / (select extract(epoch from '2026-07-08 17:15:28'::timestamp) - extract(epoch from '2026-07-08 17:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102464 -2.815651)'), GeomFromEWKT('SRID=4674;POINT (-40.102555 -2.815667)'))) / (select extract(epoch from '2026-07-08 17:15:28'::timestamp) - extract(epoch from '2026-07-08 17:15: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'), 47631, 'SRID=4674;POINT (-40.102666 -2.815665)', '2026-07-08 17:15:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102555 -2.815667)'), GeomFromEWKT('SRID=4674;POINT (-40.102666 -2.815665)'))) / (select extract(epoch from '2026-07-08 17:15:46'::timestamp) - extract(epoch from '2026-07-08 17:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102555 -2.815667)'), GeomFromEWKT('SRID=4674;POINT (-40.102666 -2.815665)'))) / (select extract(epoch from '2026-07-08 17:15:46'::timestamp) - extract(epoch from '2026-07-08 17:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102762 -2.81567)', '2026-07-08 17:16:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102666 -2.815665)'), GeomFromEWKT('SRID=4674;POINT (-40.102762 -2.81567)'))) / (select extract(epoch from '2026-07-08 17:16:05'::timestamp) - extract(epoch from '2026-07-08 17:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102666 -2.815665)'), GeomFromEWKT('SRID=4674;POINT (-40.102762 -2.81567)'))) / (select extract(epoch from '2026-07-08 17:16:05'::timestamp) - extract(epoch from '2026-07-08 17:15: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'), 47631, 'SRID=4674;POINT (-40.102846 -2.815664)', '2026-07-08 17:16:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102762 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.102846 -2.815664)'))) / (select extract(epoch from '2026-07-08 17:16:21'::timestamp) - extract(epoch from '2026-07-08 17:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102762 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.102846 -2.815664)'))) / (select extract(epoch from '2026-07-08 17:16:21'::timestamp) - extract(epoch from '2026-07-08 17:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102944 -2.815655)', '2026-07-08 17:16:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102846 -2.815664)'), GeomFromEWKT('SRID=4674;POINT (-40.102944 -2.815655)'))) / (select extract(epoch from '2026-07-08 17:16:40'::timestamp) - extract(epoch from '2026-07-08 17:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102846 -2.815664)'), GeomFromEWKT('SRID=4674;POINT (-40.102944 -2.815655)'))) / (select extract(epoch from '2026-07-08 17:16:40'::timestamp) - extract(epoch from '2026-07-08 17:16: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'), 47631, 'SRID=4674;POINT (-40.103033 -2.815662)', '2026-07-08 17:16:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102944 -2.815655)'), GeomFromEWKT('SRID=4674;POINT (-40.103033 -2.815662)'))) / (select extract(epoch from '2026-07-08 17:16:56'::timestamp) - extract(epoch from '2026-07-08 17:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102944 -2.815655)'), GeomFromEWKT('SRID=4674;POINT (-40.103033 -2.815662)'))) / (select extract(epoch from '2026-07-08 17:16:56'::timestamp) - extract(epoch from '2026-07-08 17:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103141 -2.815675)', '2026-07-08 17:17:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103033 -2.815662)'), GeomFromEWKT('SRID=4674;POINT (-40.103141 -2.815675)'))) / (select extract(epoch from '2026-07-08 17:17:14'::timestamp) - extract(epoch from '2026-07-08 17:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103033 -2.815662)'), GeomFromEWKT('SRID=4674;POINT (-40.103141 -2.815675)'))) / (select extract(epoch from '2026-07-08 17:17:14'::timestamp) - extract(epoch from '2026-07-08 17:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103268 -2.815659)', '2026-07-08 17:17:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103141 -2.815675)'), GeomFromEWKT('SRID=4674;POINT (-40.103268 -2.815659)'))) / (select extract(epoch from '2026-07-08 17:17:34'::timestamp) - extract(epoch from '2026-07-08 17:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103141 -2.815675)'), GeomFromEWKT('SRID=4674;POINT (-40.103268 -2.815659)'))) / (select extract(epoch from '2026-07-08 17:17:34'::timestamp) - extract(epoch from '2026-07-08 17:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103364 -2.815656)', '2026-07-08 17:17:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103268 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.103364 -2.815656)'))) / (select extract(epoch from '2026-07-08 17:17:51'::timestamp) - extract(epoch from '2026-07-08 17:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103268 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.103364 -2.815656)'))) / (select extract(epoch from '2026-07-08 17:17:51'::timestamp) - extract(epoch from '2026-07-08 17:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103377 -2.815693)', '2026-07-08 17:18:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103364 -2.815656)'), GeomFromEWKT('SRID=4674;POINT (-40.103377 -2.815693)'))) / (select extract(epoch from '2026-07-08 17:18:03'::timestamp) - extract(epoch from '2026-07-08 17:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103364 -2.815656)'), GeomFromEWKT('SRID=4674;POINT (-40.103377 -2.815693)'))) / (select extract(epoch from '2026-07-08 17:18:03'::timestamp) - extract(epoch from '2026-07-08 17:17: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'), 47631, 'SRID=4674;POINT (-40.103379 -2.815724)', '2026-07-08 17:18:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103377 -2.815693)'), GeomFromEWKT('SRID=4674;POINT (-40.103379 -2.815724)'))) / (select extract(epoch from '2026-07-08 17:18:17'::timestamp) - extract(epoch from '2026-07-08 17:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103377 -2.815693)'), GeomFromEWKT('SRID=4674;POINT (-40.103379 -2.815724)'))) / (select extract(epoch from '2026-07-08 17:18:17'::timestamp) - extract(epoch from '2026-07-08 17:18: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'), 47631, 'SRID=4674;POINT (-40.103327 -2.815735)', '2026-07-08 17:24:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103379 -2.815724)'), GeomFromEWKT('SRID=4674;POINT (-40.103327 -2.815735)'))) / (select extract(epoch from '2026-07-08 17:24:15'::timestamp) - extract(epoch from '2026-07-08 17:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103379 -2.815724)'), GeomFromEWKT('SRID=4674;POINT (-40.103327 -2.815735)'))) / (select extract(epoch from '2026-07-08 17:24:15'::timestamp) - extract(epoch from '2026-07-08 17:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103296 -2.815726)', '2026-07-08 17:24:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103327 -2.815735)'), GeomFromEWKT('SRID=4674;POINT (-40.103296 -2.815726)'))) / (select extract(epoch from '2026-07-08 17:24:29'::timestamp) - extract(epoch from '2026-07-08 17:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103327 -2.815735)'), GeomFromEWKT('SRID=4674;POINT (-40.103296 -2.815726)'))) / (select extract(epoch from '2026-07-08 17:24:29'::timestamp) - extract(epoch from '2026-07-08 17:24: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'), 47631, 'SRID=4674;POINT (-40.103345 -2.815738)', '2026-07-08 17:24:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103296 -2.815726)'), GeomFromEWKT('SRID=4674;POINT (-40.103345 -2.815738)'))) / (select extract(epoch from '2026-07-08 17:24:59'::timestamp) - extract(epoch from '2026-07-08 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103296 -2.815726)'), GeomFromEWKT('SRID=4674;POINT (-40.103345 -2.815738)'))) / (select extract(epoch from '2026-07-08 17:24:59'::timestamp) - extract(epoch from '2026-07-08 17:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103448 -2.815756)', '2026-07-08 17:25:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103345 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.103448 -2.815756)'))) / (select extract(epoch from '2026-07-08 17:25:18'::timestamp) - extract(epoch from '2026-07-08 17:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103345 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.103448 -2.815756)'))) / (select extract(epoch from '2026-07-08 17:25:18'::timestamp) - extract(epoch from '2026-07-08 17:24: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'), 47631, 'SRID=4674;POINT (-40.103536 -2.815788)', '2026-07-08 17:25:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103448 -2.815756)'), GeomFromEWKT('SRID=4674;POINT (-40.103536 -2.815788)'))) / (select extract(epoch from '2026-07-08 17:25:33'::timestamp) - extract(epoch from '2026-07-08 17:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103448 -2.815756)'), GeomFromEWKT('SRID=4674;POINT (-40.103536 -2.815788)'))) / (select extract(epoch from '2026-07-08 17:25:33'::timestamp) - extract(epoch from '2026-07-08 17:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103638 -2.815827)', '2026-07-08 17:25:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103536 -2.815788)'), GeomFromEWKT('SRID=4674;POINT (-40.103638 -2.815827)'))) / (select extract(epoch from '2026-07-08 17:25:52'::timestamp) - extract(epoch from '2026-07-08 17:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103536 -2.815788)'), GeomFromEWKT('SRID=4674;POINT (-40.103638 -2.815827)'))) / (select extract(epoch from '2026-07-08 17:25:52'::timestamp) - extract(epoch from '2026-07-08 17:25: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'), 47631, 'SRID=4674;POINT (-40.103723 -2.815859)', '2026-07-08 17:26:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103638 -2.815827)'), GeomFromEWKT('SRID=4674;POINT (-40.103723 -2.815859)'))) / (select extract(epoch from '2026-07-08 17:26:07'::timestamp) - extract(epoch from '2026-07-08 17:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103638 -2.815827)'), GeomFromEWKT('SRID=4674;POINT (-40.103723 -2.815859)'))) / (select extract(epoch from '2026-07-08 17:26:07'::timestamp) - extract(epoch from '2026-07-08 17:25: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'), 47631, 'SRID=4674;POINT (-40.103838 -2.815908)', '2026-07-08 17:26:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103723 -2.815859)'), GeomFromEWKT('SRID=4674;POINT (-40.103838 -2.815908)'))) / (select extract(epoch from '2026-07-08 17:26:29'::timestamp) - extract(epoch from '2026-07-08 17:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103723 -2.815859)'), GeomFromEWKT('SRID=4674;POINT (-40.103838 -2.815908)'))) / (select extract(epoch from '2026-07-08 17:26:29'::timestamp) - extract(epoch from '2026-07-08 17:26: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'), 47631, 'SRID=4674;POINT (-40.103919 -2.815921)', '2026-07-08 17:26:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103838 -2.815908)'), GeomFromEWKT('SRID=4674;POINT (-40.103919 -2.815921)'))) / (select extract(epoch from '2026-07-08 17:26:42'::timestamp) - extract(epoch from '2026-07-08 17:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103838 -2.815908)'), GeomFromEWKT('SRID=4674;POINT (-40.103919 -2.815921)'))) / (select extract(epoch from '2026-07-08 17:26:42'::timestamp) - extract(epoch from '2026-07-08 17:26: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'), 47631, 'SRID=4674;POINT (-40.104014 -2.815954)', '2026-07-08 17:26:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103919 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.104014 -2.815954)'))) / (select extract(epoch from '2026-07-08 17:26:59'::timestamp) - extract(epoch from '2026-07-08 17:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103919 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.104014 -2.815954)'))) / (select extract(epoch from '2026-07-08 17:26:59'::timestamp) - extract(epoch from '2026-07-08 17:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104112 -2.815999)', '2026-07-08 17:27:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104014 -2.815954)'), GeomFromEWKT('SRID=4674;POINT (-40.104112 -2.815999)'))) / (select extract(epoch from '2026-07-08 17:27:17'::timestamp) - extract(epoch from '2026-07-08 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104014 -2.815954)'), GeomFromEWKT('SRID=4674;POINT (-40.104112 -2.815999)'))) / (select extract(epoch from '2026-07-08 17:27:17'::timestamp) - extract(epoch from '2026-07-08 17:26: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'), 47631, 'SRID=4674;POINT (-40.10414 -2.816007)', '2026-07-08 17:27:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104112 -2.815999)'), GeomFromEWKT('SRID=4674;POINT (-40.10414 -2.816007)'))) / (select extract(epoch from '2026-07-08 17:27:29'::timestamp) - extract(epoch from '2026-07-08 17:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104112 -2.815999)'), GeomFromEWKT('SRID=4674;POINT (-40.10414 -2.816007)'))) / (select extract(epoch from '2026-07-08 17:27:29'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.104058 -2.815974)', '2026-07-08 17:33:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10414 -2.816007)'), GeomFromEWKT('SRID=4674;POINT (-40.104058 -2.815974)'))) / (select extract(epoch from '2026-07-08 17:33:17'::timestamp) - extract(epoch from '2026-07-08 17:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10414 -2.816007)'), GeomFromEWKT('SRID=4674;POINT (-40.104058 -2.815974)'))) / (select extract(epoch from '2026-07-08 17:33:17'::timestamp) - extract(epoch from '2026-07-08 17:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104025 -2.81591)', '2026-07-08 17:33:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104058 -2.815974)'), GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81591)'))) / (select extract(epoch from '2026-07-08 17:33:29'::timestamp) - extract(epoch from '2026-07-08 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104058 -2.815974)'), GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81591)'))) / (select extract(epoch from '2026-07-08 17:33:29'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.104111 -2.815833)', '2026-07-08 17:33:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81591)'), GeomFromEWKT('SRID=4674;POINT (-40.104111 -2.815833)'))) / (select extract(epoch from '2026-07-08 17:33:39'::timestamp) - extract(epoch from '2026-07-08 17:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81591)'), GeomFromEWKT('SRID=4674;POINT (-40.104111 -2.815833)'))) / (select extract(epoch from '2026-07-08 17:33:39'::timestamp) - extract(epoch from '2026-07-08 17:33: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'), 47631, 'SRID=4674;POINT (-40.104215 -2.815837)', '2026-07-08 17:33:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104111 -2.815833)'), GeomFromEWKT('SRID=4674;POINT (-40.104215 -2.815837)'))) / (select extract(epoch from '2026-07-08 17:33:48'::timestamp) - extract(epoch from '2026-07-08 17:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104111 -2.815833)'), GeomFromEWKT('SRID=4674;POINT (-40.104215 -2.815837)'))) / (select extract(epoch from '2026-07-08 17:33:48'::timestamp) - extract(epoch from '2026-07-08 17:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104265 -2.815918)', '2026-07-08 17:33:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104215 -2.815837)'), GeomFromEWKT('SRID=4674;POINT (-40.104265 -2.815918)'))) / (select extract(epoch from '2026-07-08 17:33:57'::timestamp) - extract(epoch from '2026-07-08 17:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104215 -2.815837)'), GeomFromEWKT('SRID=4674;POINT (-40.104265 -2.815918)'))) / (select extract(epoch from '2026-07-08 17:33:57'::timestamp) - extract(epoch from '2026-07-08 17:33: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'), 47631, 'SRID=4674;POINT (-40.104299 -2.81609)', '2026-07-08 17:34:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104265 -2.815918)'), GeomFromEWKT('SRID=4674;POINT (-40.104299 -2.81609)'))) / (select extract(epoch from '2026-07-08 17:34:13'::timestamp) - extract(epoch from '2026-07-08 17:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104265 -2.815918)'), GeomFromEWKT('SRID=4674;POINT (-40.104299 -2.81609)'))) / (select extract(epoch from '2026-07-08 17:34:13'::timestamp) - extract(epoch from '2026-07-08 17:33: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'), 47631, 'SRID=4674;POINT (-40.104284 -2.816118)', '2026-07-08 17:34:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104299 -2.81609)'), GeomFromEWKT('SRID=4674;POINT (-40.104284 -2.816118)'))) / (select extract(epoch from '2026-07-08 17:34:22'::timestamp) - extract(epoch from '2026-07-08 17:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104299 -2.81609)'), GeomFromEWKT('SRID=4674;POINT (-40.104284 -2.816118)'))) / (select extract(epoch from '2026-07-08 17:34:22'::timestamp) - extract(epoch from '2026-07-08 17:34: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'), 47631, 'SRID=4674;POINT (-40.104297 -2.816111)', '2026-07-08 17:34:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104284 -2.816118)'), GeomFromEWKT('SRID=4674;POINT (-40.104297 -2.816111)'))) / (select extract(epoch from '2026-07-08 17:34:26'::timestamp) - extract(epoch from '2026-07-08 17:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104284 -2.816118)'), GeomFromEWKT('SRID=4674;POINT (-40.104297 -2.816111)'))) / (select extract(epoch from '2026-07-08 17:34:26'::timestamp) - extract(epoch from '2026-07-08 17:34: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'), 47631, 'SRID=4674;POINT (-40.104305 -2.816092)', '2026-07-08 17:34:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104297 -2.816111)'), GeomFromEWKT('SRID=4674;POINT (-40.104305 -2.816092)'))) / (select extract(epoch from '2026-07-08 17:34:33'::timestamp) - extract(epoch from '2026-07-08 17:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104297 -2.816111)'), GeomFromEWKT('SRID=4674;POINT (-40.104305 -2.816092)'))) / (select extract(epoch from '2026-07-08 17:34:33'::timestamp) - extract(epoch from '2026-07-08 17:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104262 -2.816108)', '2026-07-08 17:34:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104305 -2.816092)'), GeomFromEWKT('SRID=4674;POINT (-40.104262 -2.816108)'))) / (select extract(epoch from '2026-07-08 17:34:51'::timestamp) - extract(epoch from '2026-07-08 17:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104305 -2.816092)'), GeomFromEWKT('SRID=4674;POINT (-40.104262 -2.816108)'))) / (select extract(epoch from '2026-07-08 17:34:51'::timestamp) - extract(epoch from '2026-07-08 17:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104203 -2.816066)', '2026-07-08 17:35:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104262 -2.816108)'), GeomFromEWKT('SRID=4674;POINT (-40.104203 -2.816066)'))) / (select extract(epoch from '2026-07-08 17:35:02'::timestamp) - extract(epoch from '2026-07-08 17:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104262 -2.816108)'), GeomFromEWKT('SRID=4674;POINT (-40.104203 -2.816066)'))) / (select extract(epoch from '2026-07-08 17:35:02'::timestamp) - extract(epoch from '2026-07-08 17:34: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'), 47631, 'SRID=4674;POINT (-40.10415 -2.816054)', '2026-07-08 17:35:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104203 -2.816066)'), GeomFromEWKT('SRID=4674;POINT (-40.10415 -2.816054)'))) / (select extract(epoch from '2026-07-08 17:35:15'::timestamp) - extract(epoch from '2026-07-08 17:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104203 -2.816066)'), GeomFromEWKT('SRID=4674;POINT (-40.10415 -2.816054)'))) / (select extract(epoch from '2026-07-08 17:35:15'::timestamp) - extract(epoch from '2026-07-08 17:35: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'), 47631, 'SRID=4674;POINT (-40.104097 -2.816091)', '2026-07-08 17:35:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10415 -2.816054)'), GeomFromEWKT('SRID=4674;POINT (-40.104097 -2.816091)'))) / (select extract(epoch from '2026-07-08 17:35:31'::timestamp) - extract(epoch from '2026-07-08 17:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10415 -2.816054)'), GeomFromEWKT('SRID=4674;POINT (-40.104097 -2.816091)'))) / (select extract(epoch from '2026-07-08 17:35:31'::timestamp) - extract(epoch from '2026-07-08 17:35: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'), 47631, 'SRID=4674;POINT (-40.10408 -2.816086)', '2026-07-08 17:35:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104097 -2.816091)'), GeomFromEWKT('SRID=4674;POINT (-40.10408 -2.816086)'))) / (select extract(epoch from '2026-07-08 17:35:44'::timestamp) - extract(epoch from '2026-07-08 17:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104097 -2.816091)'), GeomFromEWKT('SRID=4674;POINT (-40.10408 -2.816086)'))) / (select extract(epoch from '2026-07-08 17:35:44'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.104025 -2.81608)', '2026-07-08 17:35:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10408 -2.816086)'), GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81608)'))) / (select extract(epoch from '2026-07-08 17:35:56'::timestamp) - extract(epoch from '2026-07-08 17:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10408 -2.816086)'), GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81608)'))) / (select extract(epoch from '2026-07-08 17:35:56'::timestamp) - extract(epoch from '2026-07-08 17:35: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'), 47631, 'SRID=4674;POINT (-40.103945 -2.816094)', '2026-07-08 17:36:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81608)'), GeomFromEWKT('SRID=4674;POINT (-40.103945 -2.816094)'))) / (select extract(epoch from '2026-07-08 17:36:11'::timestamp) - extract(epoch from '2026-07-08 17:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104025 -2.81608)'), GeomFromEWKT('SRID=4674;POINT (-40.103945 -2.816094)'))) / (select extract(epoch from '2026-07-08 17:36:11'::timestamp) - extract(epoch from '2026-07-08 17:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10388 -2.816129)', '2026-07-08 17:36:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103945 -2.816094)'), GeomFromEWKT('SRID=4674;POINT (-40.10388 -2.816129)'))) / (select extract(epoch from '2026-07-08 17:36:26'::timestamp) - extract(epoch from '2026-07-08 17:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103945 -2.816094)'), GeomFromEWKT('SRID=4674;POINT (-40.10388 -2.816129)'))) / (select extract(epoch from '2026-07-08 17:36:26'::timestamp) - extract(epoch from '2026-07-08 17:36: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'), 47631, 'SRID=4674;POINT (-40.103849 -2.816138)', '2026-07-08 17:36:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10388 -2.816129)'), GeomFromEWKT('SRID=4674;POINT (-40.103849 -2.816138)'))) / (select extract(epoch from '2026-07-08 17:36:35'::timestamp) - extract(epoch from '2026-07-08 17:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10388 -2.816129)'), GeomFromEWKT('SRID=4674;POINT (-40.103849 -2.816138)'))) / (select extract(epoch from '2026-07-08 17:36:35'::timestamp) - extract(epoch from '2026-07-08 17:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103799 -2.816138)', '2026-07-08 17:36:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103849 -2.816138)'), GeomFromEWKT('SRID=4674;POINT (-40.103799 -2.816138)'))) / (select extract(epoch from '2026-07-08 17:36:48'::timestamp) - extract(epoch from '2026-07-08 17:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103849 -2.816138)'), GeomFromEWKT('SRID=4674;POINT (-40.103799 -2.816138)'))) / (select extract(epoch from '2026-07-08 17:36:48'::timestamp) - extract(epoch from '2026-07-08 17:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103729 -2.816163)', '2026-07-08 17:37:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103799 -2.816138)'), GeomFromEWKT('SRID=4674;POINT (-40.103729 -2.816163)'))) / (select extract(epoch from '2026-07-08 17:37:08'::timestamp) - extract(epoch from '2026-07-08 17:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103799 -2.816138)'), GeomFromEWKT('SRID=4674;POINT (-40.103729 -2.816163)'))) / (select extract(epoch from '2026-07-08 17:37:08'::timestamp) - extract(epoch from '2026-07-08 17:36: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'), 47631, 'SRID=4674;POINT (-40.103683 -2.816182)', '2026-07-08 17:37:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103729 -2.816163)'), GeomFromEWKT('SRID=4674;POINT (-40.103683 -2.816182)'))) / (select extract(epoch from '2026-07-08 17:37:18'::timestamp) - extract(epoch from '2026-07-08 17:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103729 -2.816163)'), GeomFromEWKT('SRID=4674;POINT (-40.103683 -2.816182)'))) / (select extract(epoch from '2026-07-08 17:37:18'::timestamp) - extract(epoch from '2026-07-08 17:37: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'), 47631, 'SRID=4674;POINT (-40.103654 -2.816187)', '2026-07-08 17:37:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103683 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.103654 -2.816187)'))) / (select extract(epoch from '2026-07-08 17:37:29'::timestamp) - extract(epoch from '2026-07-08 17:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103683 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.103654 -2.816187)'))) / (select extract(epoch from '2026-07-08 17:37:29'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.103585 -2.816151)', '2026-07-08 17:37:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103654 -2.816187)'), GeomFromEWKT('SRID=4674;POINT (-40.103585 -2.816151)'))) / (select extract(epoch from '2026-07-08 17:37:45'::timestamp) - extract(epoch from '2026-07-08 17:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103654 -2.816187)'), GeomFromEWKT('SRID=4674;POINT (-40.103585 -2.816151)'))) / (select extract(epoch from '2026-07-08 17:37:45'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.103569 -2.816175)', '2026-07-08 17:37:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103585 -2.816151)'), GeomFromEWKT('SRID=4674;POINT (-40.103569 -2.816175)'))) / (select extract(epoch from '2026-07-08 17:37:56'::timestamp) - extract(epoch from '2026-07-08 17:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103585 -2.816151)'), GeomFromEWKT('SRID=4674;POINT (-40.103569 -2.816175)'))) / (select extract(epoch from '2026-07-08 17:37:56'::timestamp) - extract(epoch from '2026-07-08 17:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10351 -2.816165)', '2026-07-08 17:38:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103569 -2.816175)'), GeomFromEWKT('SRID=4674;POINT (-40.10351 -2.816165)'))) / (select extract(epoch from '2026-07-08 17:38:11'::timestamp) - extract(epoch from '2026-07-08 17:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103569 -2.816175)'), GeomFromEWKT('SRID=4674;POINT (-40.10351 -2.816165)'))) / (select extract(epoch from '2026-07-08 17:38:11'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.103493 -2.816168)', '2026-07-08 17:38:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10351 -2.816165)'), GeomFromEWKT('SRID=4674;POINT (-40.103493 -2.816168)'))) / (select extract(epoch from '2026-07-08 17:38:22'::timestamp) - extract(epoch from '2026-07-08 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10351 -2.816165)'), GeomFromEWKT('SRID=4674;POINT (-40.103493 -2.816168)'))) / (select extract(epoch from '2026-07-08 17:38:22'::timestamp) - extract(epoch from '2026-07-08 17:38: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'), 47631, 'SRID=4674;POINT (-40.103409 -2.816182)', '2026-07-08 17:38:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103493 -2.816168)'), GeomFromEWKT('SRID=4674;POINT (-40.103409 -2.816182)'))) / (select extract(epoch from '2026-07-08 17:38:40'::timestamp) - extract(epoch from '2026-07-08 17:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103493 -2.816168)'), GeomFromEWKT('SRID=4674;POINT (-40.103409 -2.816182)'))) / (select extract(epoch from '2026-07-08 17:38:40'::timestamp) - extract(epoch from '2026-07-08 17:38: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'), 47631, 'SRID=4674;POINT (-40.103356 -2.816174)', '2026-07-08 17:38:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103409 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.103356 -2.816174)'))) / (select extract(epoch from '2026-07-08 17:38:54'::timestamp) - extract(epoch from '2026-07-08 17:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103409 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.103356 -2.816174)'))) / (select extract(epoch from '2026-07-08 17:38:54'::timestamp) - extract(epoch from '2026-07-08 17:38: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'), 47631, 'SRID=4674;POINT (-40.103288 -2.816183)', '2026-07-08 17:39:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103356 -2.816174)'), GeomFromEWKT('SRID=4674;POINT (-40.103288 -2.816183)'))) / (select extract(epoch from '2026-07-08 17:39:10'::timestamp) - extract(epoch from '2026-07-08 17:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103356 -2.816174)'), GeomFromEWKT('SRID=4674;POINT (-40.103288 -2.816183)'))) / (select extract(epoch from '2026-07-08 17:39:10'::timestamp) - extract(epoch from '2026-07-08 17:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103234 -2.816184)', '2026-07-08 17:39:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103288 -2.816183)'), GeomFromEWKT('SRID=4674;POINT (-40.103234 -2.816184)'))) / (select extract(epoch from '2026-07-08 17:39:22'::timestamp) - extract(epoch from '2026-07-08 17:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103288 -2.816183)'), GeomFromEWKT('SRID=4674;POINT (-40.103234 -2.816184)'))) / (select extract(epoch from '2026-07-08 17:39:22'::timestamp) - extract(epoch from '2026-07-08 17:39: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'), 47631, 'SRID=4674;POINT (-40.103155 -2.816217)', '2026-07-08 17:39:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103234 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.103155 -2.816217)'))) / (select extract(epoch from '2026-07-08 17:39:38'::timestamp) - extract(epoch from '2026-07-08 17:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103234 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.103155 -2.816217)'))) / (select extract(epoch from '2026-07-08 17:39:38'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.103095 -2.816208)', '2026-07-08 17:39:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103155 -2.816217)'), GeomFromEWKT('SRID=4674;POINT (-40.103095 -2.816208)'))) / (select extract(epoch from '2026-07-08 17:39:52'::timestamp) - extract(epoch from '2026-07-08 17:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103155 -2.816217)'), GeomFromEWKT('SRID=4674;POINT (-40.103095 -2.816208)'))) / (select extract(epoch from '2026-07-08 17:39:52'::timestamp) - extract(epoch from '2026-07-08 17:39: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'), 47631, 'SRID=4674;POINT (-40.103066 -2.816208)', '2026-07-08 17:40:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103095 -2.816208)'), GeomFromEWKT('SRID=4674;POINT (-40.103066 -2.816208)'))) / (select extract(epoch from '2026-07-08 17:40:01'::timestamp) - extract(epoch from '2026-07-08 17:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103095 -2.816208)'), GeomFromEWKT('SRID=4674;POINT (-40.103066 -2.816208)'))) / (select extract(epoch from '2026-07-08 17:40:01'::timestamp) - extract(epoch from '2026-07-08 17:39: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'), 47631, 'SRID=4674;POINT (-40.102999 -2.81624)', '2026-07-08 17:40:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103066 -2.816208)'), GeomFromEWKT('SRID=4674;POINT (-40.102999 -2.81624)'))) / (select extract(epoch from '2026-07-08 17:40:18'::timestamp) - extract(epoch from '2026-07-08 17:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103066 -2.816208)'), GeomFromEWKT('SRID=4674;POINT (-40.102999 -2.81624)'))) / (select extract(epoch from '2026-07-08 17:40:18'::timestamp) - extract(epoch from '2026-07-08 17:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102973 -2.816263)', '2026-07-08 17:40:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102999 -2.81624)'), GeomFromEWKT('SRID=4674;POINT (-40.102973 -2.816263)'))) / (select extract(epoch from '2026-07-08 17:40:28'::timestamp) - extract(epoch from '2026-07-08 17:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102999 -2.81624)'), GeomFromEWKT('SRID=4674;POINT (-40.102973 -2.816263)'))) / (select extract(epoch from '2026-07-08 17:40:28'::timestamp) - extract(epoch from '2026-07-08 17:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102934 -2.816257)', '2026-07-08 17:40:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102973 -2.816263)'), GeomFromEWKT('SRID=4674;POINT (-40.102934 -2.816257)'))) / (select extract(epoch from '2026-07-08 17:40:37'::timestamp) - extract(epoch from '2026-07-08 17:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102973 -2.816263)'), GeomFromEWKT('SRID=4674;POINT (-40.102934 -2.816257)'))) / (select extract(epoch from '2026-07-08 17:40:37'::timestamp) - extract(epoch from '2026-07-08 17:40: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'), 47631, 'SRID=4674;POINT (-40.102871 -2.81625)', '2026-07-08 17:40:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102934 -2.816257)'), GeomFromEWKT('SRID=4674;POINT (-40.102871 -2.81625)'))) / (select extract(epoch from '2026-07-08 17:40:55'::timestamp) - extract(epoch from '2026-07-08 17:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102934 -2.816257)'), GeomFromEWKT('SRID=4674;POINT (-40.102871 -2.81625)'))) / (select extract(epoch from '2026-07-08 17:40:55'::timestamp) - extract(epoch from '2026-07-08 17:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102804 -2.81626)', '2026-07-08 17:41:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102871 -2.81625)'), GeomFromEWKT('SRID=4674;POINT (-40.102804 -2.81626)'))) / (select extract(epoch from '2026-07-08 17:41:10'::timestamp) - extract(epoch from '2026-07-08 17:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102871 -2.81625)'), GeomFromEWKT('SRID=4674;POINT (-40.102804 -2.81626)'))) / (select extract(epoch from '2026-07-08 17:41:10'::timestamp) - extract(epoch from '2026-07-08 17:40: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'), 47631, 'SRID=4674;POINT (-40.102741 -2.816291)', '2026-07-08 17:41:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102804 -2.81626)'), GeomFromEWKT('SRID=4674;POINT (-40.102741 -2.816291)'))) / (select extract(epoch from '2026-07-08 17:41:28'::timestamp) - extract(epoch from '2026-07-08 17:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102804 -2.81626)'), GeomFromEWKT('SRID=4674;POINT (-40.102741 -2.816291)'))) / (select extract(epoch from '2026-07-08 17:41:28'::timestamp) - extract(epoch from '2026-07-08 17:41: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'), 47631, 'SRID=4674;POINT (-40.102643 -2.816289)', '2026-07-08 17:41:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102741 -2.816291)'), GeomFromEWKT('SRID=4674;POINT (-40.102643 -2.816289)'))) / (select extract(epoch from '2026-07-08 17:41:51'::timestamp) - extract(epoch from '2026-07-08 17:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102741 -2.816291)'), GeomFromEWKT('SRID=4674;POINT (-40.102643 -2.816289)'))) / (select extract(epoch from '2026-07-08 17:41:51'::timestamp) - extract(epoch from '2026-07-08 17:41: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'), 47631, 'SRID=4674;POINT (-40.102541 -2.816279)', '2026-07-08 17:42:11', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102643 -2.816289)'), GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816279)'))) / (select extract(epoch from '2026-07-08 17:42:11'::timestamp) - extract(epoch from '2026-07-08 17:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102643 -2.816289)'), GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816279)'))) / (select extract(epoch from '2026-07-08 17:42:11'::timestamp) - extract(epoch from '2026-07-08 17:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102503 -2.816306)', '2026-07-08 17:42:24', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816279)'), GeomFromEWKT('SRID=4674;POINT (-40.102503 -2.816306)'))) / (select extract(epoch from '2026-07-08 17:42:24'::timestamp) - extract(epoch from '2026-07-08 17:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816279)'), GeomFromEWKT('SRID=4674;POINT (-40.102503 -2.816306)'))) / (select extract(epoch from '2026-07-08 17:42:24'::timestamp) - extract(epoch from '2026-07-08 17:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102494 -2.816308)', '2026-07-08 17:42:36', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102503 -2.816306)'), GeomFromEWKT('SRID=4674;POINT (-40.102494 -2.816308)'))) / (select extract(epoch from '2026-07-08 17:42:36'::timestamp) - extract(epoch from '2026-07-08 17:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102503 -2.816306)'), GeomFromEWKT('SRID=4674;POINT (-40.102494 -2.816308)'))) / (select extract(epoch from '2026-07-08 17:42:36'::timestamp) - extract(epoch from '2026-07-08 17:42: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'), 47631, 'SRID=4674;POINT (-40.102413 -2.816293)', '2026-07-08 17:42:49', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102494 -2.816308)'), GeomFromEWKT('SRID=4674;POINT (-40.102413 -2.816293)'))) / (select extract(epoch from '2026-07-08 17:42:49'::timestamp) - extract(epoch from '2026-07-08 17:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102494 -2.816308)'), GeomFromEWKT('SRID=4674;POINT (-40.102413 -2.816293)'))) / (select extract(epoch from '2026-07-08 17:42:49'::timestamp) - extract(epoch from '2026-07-08 17:42: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'), 47631, 'SRID=4674;POINT (-40.102356 -2.816338)', '2026-07-08 17:43:04', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102413 -2.816293)'), GeomFromEWKT('SRID=4674;POINT (-40.102356 -2.816338)'))) / (select extract(epoch from '2026-07-08 17:43:04'::timestamp) - extract(epoch from '2026-07-08 17:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102413 -2.816293)'), GeomFromEWKT('SRID=4674;POINT (-40.102356 -2.816338)'))) / (select extract(epoch from '2026-07-08 17:43:04'::timestamp) - extract(epoch from '2026-07-08 17:42: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'), 47631, 'SRID=4674;POINT (-40.10234 -2.81635)', '2026-07-08 17:43:15', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102356 -2.816338)'), GeomFromEWKT('SRID=4674;POINT (-40.10234 -2.81635)'))) / (select extract(epoch from '2026-07-08 17:43:15'::timestamp) - extract(epoch from '2026-07-08 17:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102356 -2.816338)'), GeomFromEWKT('SRID=4674;POINT (-40.10234 -2.81635)'))) / (select extract(epoch from '2026-07-08 17:43:15'::timestamp) - extract(epoch from '2026-07-08 17:43: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'), 47631, 'SRID=4674;POINT (-40.102314 -2.816314)', '2026-07-08 17:43:26', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10234 -2.81635)'), GeomFromEWKT('SRID=4674;POINT (-40.102314 -2.816314)'))) / (select extract(epoch from '2026-07-08 17:43:26'::timestamp) - extract(epoch from '2026-07-08 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10234 -2.81635)'), GeomFromEWKT('SRID=4674;POINT (-40.102314 -2.816314)'))) / (select extract(epoch from '2026-07-08 17:43:26'::timestamp) - extract(epoch from '2026-07-08 17:43: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'), 47631, 'SRID=4674;POINT (-40.102305 -2.816317)', '2026-07-08 17:43:33', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102314 -2.816314)'), GeomFromEWKT('SRID=4674;POINT (-40.102305 -2.816317)'))) / (select extract(epoch from '2026-07-08 17:43:33'::timestamp) - extract(epoch from '2026-07-08 17:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102314 -2.816314)'), GeomFromEWKT('SRID=4674;POINT (-40.102305 -2.816317)'))) / (select extract(epoch from '2026-07-08 17:43:33'::timestamp) - extract(epoch from '2026-07-08 17:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10228 -2.816335)', '2026-07-08 17:43:40', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102305 -2.816317)'), GeomFromEWKT('SRID=4674;POINT (-40.10228 -2.816335)'))) / (select extract(epoch from '2026-07-08 17:43:40'::timestamp) - extract(epoch from '2026-07-08 17:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102305 -2.816317)'), GeomFromEWKT('SRID=4674;POINT (-40.10228 -2.816335)'))) / (select extract(epoch from '2026-07-08 17:43:40'::timestamp) - extract(epoch from '2026-07-08 17:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102259 -2.816362)', '2026-07-08 17:43:49', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10228 -2.816335)'), GeomFromEWKT('SRID=4674;POINT (-40.102259 -2.816362)'))) / (select extract(epoch from '2026-07-08 17:43:49'::timestamp) - extract(epoch from '2026-07-08 17:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10228 -2.816335)'), GeomFromEWKT('SRID=4674;POINT (-40.102259 -2.816362)'))) / (select extract(epoch from '2026-07-08 17:43:49'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102247 -2.816363)', '2026-07-08 17:44:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102259 -2.816362)'), GeomFromEWKT('SRID=4674;POINT (-40.102247 -2.816363)'))) / (select extract(epoch from '2026-07-08 17:44:03'::timestamp) - extract(epoch from '2026-07-08 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102259 -2.816362)'), GeomFromEWKT('SRID=4674;POINT (-40.102247 -2.816363)'))) / (select extract(epoch from '2026-07-08 17:44:03'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102179 -2.816325)', '2026-07-08 17:44:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102247 -2.816363)'), GeomFromEWKT('SRID=4674;POINT (-40.102179 -2.816325)'))) / (select extract(epoch from '2026-07-08 17:44:16'::timestamp) - extract(epoch from '2026-07-08 17:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102247 -2.816363)'), GeomFromEWKT('SRID=4674;POINT (-40.102179 -2.816325)'))) / (select extract(epoch from '2026-07-08 17:44:16'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102113 -2.816322)', '2026-07-08 17:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102179 -2.816325)'), GeomFromEWKT('SRID=4674;POINT (-40.102113 -2.816322)'))) / (select extract(epoch from '2026-07-08 17:44:29'::timestamp) - extract(epoch from '2026-07-08 17:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102179 -2.816325)'), GeomFromEWKT('SRID=4674;POINT (-40.102113 -2.816322)'))) / (select extract(epoch from '2026-07-08 17:44:29'::timestamp) - extract(epoch from '2026-07-08 17:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102078 -2.816309)', '2026-07-08 17:44:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102113 -2.816322)'), GeomFromEWKT('SRID=4674;POINT (-40.102078 -2.816309)'))) / (select extract(epoch from '2026-07-08 17:44:40'::timestamp) - extract(epoch from '2026-07-08 17:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102113 -2.816322)'), GeomFromEWKT('SRID=4674;POINT (-40.102078 -2.816309)'))) / (select extract(epoch from '2026-07-08 17:44:40'::timestamp) - extract(epoch from '2026-07-08 17:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102039 -2.816335)', '2026-07-08 17:45:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102078 -2.816309)'), GeomFromEWKT('SRID=4674;POINT (-40.102039 -2.816335)'))) / (select extract(epoch from '2026-07-08 17:45:05'::timestamp) - extract(epoch from '2026-07-08 17:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102078 -2.816309)'), GeomFromEWKT('SRID=4674;POINT (-40.102039 -2.816335)'))) / (select extract(epoch from '2026-07-08 17:45:05'::timestamp) - extract(epoch from '2026-07-08 17:44:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102096 -2.816386)', '2026-07-08 17:45:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102039 -2.816335)'), GeomFromEWKT('SRID=4674;POINT (-40.102096 -2.816386)'))) / (select extract(epoch from '2026-07-08 17:45:14'::timestamp) - extract(epoch from '2026-07-08 17:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102039 -2.816335)'), GeomFromEWKT('SRID=4674;POINT (-40.102096 -2.816386)'))) / (select extract(epoch from '2026-07-08 17:45:14'::timestamp) - extract(epoch from '2026-07-08 17:45: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'), 47631, 'SRID=4674;POINT (-40.102192 -2.816434)', '2026-07-08 17:45:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102096 -2.816386)'), GeomFromEWKT('SRID=4674;POINT (-40.102192 -2.816434)'))) / (select extract(epoch from '2026-07-08 17:45:22'::timestamp) - extract(epoch from '2026-07-08 17:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102096 -2.816386)'), GeomFromEWKT('SRID=4674;POINT (-40.102192 -2.816434)'))) / (select extract(epoch from '2026-07-08 17:45:22'::timestamp) - extract(epoch from '2026-07-08 17:45: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'), 47631, 'SRID=4674;POINT (-40.10232 -2.816423)', '2026-07-08 17:45:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102192 -2.816434)'), GeomFromEWKT('SRID=4674;POINT (-40.10232 -2.816423)'))) / (select extract(epoch from '2026-07-08 17:45:32'::timestamp) - extract(epoch from '2026-07-08 17:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102192 -2.816434)'), GeomFromEWKT('SRID=4674;POINT (-40.10232 -2.816423)'))) / (select extract(epoch from '2026-07-08 17:45:32'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.102428 -2.816392)', '2026-07-08 17:45:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10232 -2.816423)'), GeomFromEWKT('SRID=4674;POINT (-40.102428 -2.816392)'))) / (select extract(epoch from '2026-07-08 17:45:41'::timestamp) - extract(epoch from '2026-07-08 17:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10232 -2.816423)'), GeomFromEWKT('SRID=4674;POINT (-40.102428 -2.816392)'))) / (select extract(epoch from '2026-07-08 17:45:41'::timestamp) - extract(epoch from '2026-07-08 17:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102541 -2.816389)', '2026-07-08 17:45:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102428 -2.816392)'), GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816389)'))) / (select extract(epoch from '2026-07-08 17:45:49'::timestamp) - extract(epoch from '2026-07-08 17:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102428 -2.816392)'), GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816389)'))) / (select extract(epoch from '2026-07-08 17:45:49'::timestamp) - extract(epoch from '2026-07-08 17:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102683 -2.816384)', '2026-07-08 17:45:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816389)'), GeomFromEWKT('SRID=4674;POINT (-40.102683 -2.816384)'))) / (select extract(epoch from '2026-07-08 17:45:58'::timestamp) - extract(epoch from '2026-07-08 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102541 -2.816389)'), GeomFromEWKT('SRID=4674;POINT (-40.102683 -2.816384)'))) / (select extract(epoch from '2026-07-08 17:45:58'::timestamp) - extract(epoch from '2026-07-08 17:45: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'), 47631, 'SRID=4674;POINT (-40.102787 -2.816388)', '2026-07-08 17:46:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102683 -2.816384)'), GeomFromEWKT('SRID=4674;POINT (-40.102787 -2.816388)'))) / (select extract(epoch from '2026-07-08 17:46:06'::timestamp) - extract(epoch from '2026-07-08 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102683 -2.816384)'), GeomFromEWKT('SRID=4674;POINT (-40.102787 -2.816388)'))) / (select extract(epoch from '2026-07-08 17:46:06'::timestamp) - extract(epoch from '2026-07-08 17:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.102908 -2.816377)', '2026-07-08 17:46:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102787 -2.816388)'), GeomFromEWKT('SRID=4674;POINT (-40.102908 -2.816377)'))) / (select extract(epoch from '2026-07-08 17:46:14'::timestamp) - extract(epoch from '2026-07-08 17:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102787 -2.816388)'), GeomFromEWKT('SRID=4674;POINT (-40.102908 -2.816377)'))) / (select extract(epoch from '2026-07-08 17:46:14'::timestamp) - extract(epoch from '2026-07-08 17:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103042 -2.816356)', '2026-07-08 17:46:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102908 -2.816377)'), GeomFromEWKT('SRID=4674;POINT (-40.103042 -2.816356)'))) / (select extract(epoch from '2026-07-08 17:46:23'::timestamp) - extract(epoch from '2026-07-08 17:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102908 -2.816377)'), GeomFromEWKT('SRID=4674;POINT (-40.103042 -2.816356)'))) / (select extract(epoch from '2026-07-08 17:46:23'::timestamp) - extract(epoch from '2026-07-08 17:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103181 -2.816346)', '2026-07-08 17:46:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103042 -2.816356)'), GeomFromEWKT('SRID=4674;POINT (-40.103181 -2.816346)'))) / (select extract(epoch from '2026-07-08 17:46:32'::timestamp) - extract(epoch from '2026-07-08 17:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103042 -2.816356)'), GeomFromEWKT('SRID=4674;POINT (-40.103181 -2.816346)'))) / (select extract(epoch from '2026-07-08 17:46:32'::timestamp) - extract(epoch from '2026-07-08 17:46: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'), 47631, 'SRID=4674;POINT (-40.103332 -2.816316)', '2026-07-08 17:46:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103181 -2.816346)'), GeomFromEWKT('SRID=4674;POINT (-40.103332 -2.816316)'))) / (select extract(epoch from '2026-07-08 17:46:41'::timestamp) - extract(epoch from '2026-07-08 17:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103181 -2.816346)'), GeomFromEWKT('SRID=4674;POINT (-40.103332 -2.816316)'))) / (select extract(epoch from '2026-07-08 17:46:41'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.10345 -2.81632)', '2026-07-08 17:46:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103332 -2.816316)'), GeomFromEWKT('SRID=4674;POINT (-40.10345 -2.81632)'))) / (select extract(epoch from '2026-07-08 17:46:50'::timestamp) - extract(epoch from '2026-07-08 17:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103332 -2.816316)'), GeomFromEWKT('SRID=4674;POINT (-40.10345 -2.81632)'))) / (select extract(epoch from '2026-07-08 17:46:50'::timestamp) - extract(epoch from '2026-07-08 17:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103593 -2.816323)', '2026-07-08 17:47:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10345 -2.81632)'), GeomFromEWKT('SRID=4674;POINT (-40.103593 -2.816323)'))) / (select extract(epoch from '2026-07-08 17:47:00'::timestamp) - extract(epoch from '2026-07-08 17:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10345 -2.81632)'), GeomFromEWKT('SRID=4674;POINT (-40.103593 -2.816323)'))) / (select extract(epoch from '2026-07-08 17:47:00'::timestamp) - extract(epoch from '2026-07-08 17:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103691 -2.81633)', '2026-07-08 17:47:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103593 -2.816323)'), GeomFromEWKT('SRID=4674;POINT (-40.103691 -2.81633)'))) / (select extract(epoch from '2026-07-08 17:47:07'::timestamp) - extract(epoch from '2026-07-08 17:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103593 -2.816323)'), GeomFromEWKT('SRID=4674;POINT (-40.103691 -2.81633)'))) / (select extract(epoch from '2026-07-08 17:47:07'::timestamp) - extract(epoch from '2026-07-08 17:47: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'), 47631, 'SRID=4674;POINT (-40.103824 -2.816328)', '2026-07-08 17:47:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103691 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.103824 -2.816328)'))) / (select extract(epoch from '2026-07-08 17:47:15'::timestamp) - extract(epoch from '2026-07-08 17:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103691 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.103824 -2.816328)'))) / (select extract(epoch from '2026-07-08 17:47:15'::timestamp) - extract(epoch from '2026-07-08 17:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.103943 -2.816314)', '2026-07-08 17:47:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103824 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.103943 -2.816314)'))) / (select extract(epoch from '2026-07-08 17:47:23'::timestamp) - extract(epoch from '2026-07-08 17:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103824 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.103943 -2.816314)'))) / (select extract(epoch from '2026-07-08 17:47:23'::timestamp) - extract(epoch from '2026-07-08 17:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104065 -2.816286)', '2026-07-08 17:47:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103943 -2.816314)'), GeomFromEWKT('SRID=4674;POINT (-40.104065 -2.816286)'))) / (select extract(epoch from '2026-07-08 17:47:31'::timestamp) - extract(epoch from '2026-07-08 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103943 -2.816314)'), GeomFromEWKT('SRID=4674;POINT (-40.104065 -2.816286)'))) / (select extract(epoch from '2026-07-08 17:47:31'::timestamp) - extract(epoch from '2026-07-08 17:47: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'), 47631, 'SRID=4674;POINT (-40.1042 -2.816267)', '2026-07-08 17:47:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104065 -2.816286)'), GeomFromEWKT('SRID=4674;POINT (-40.1042 -2.816267)'))) / (select extract(epoch from '2026-07-08 17:47:41'::timestamp) - extract(epoch from '2026-07-08 17:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104065 -2.816286)'), GeomFromEWKT('SRID=4674;POINT (-40.1042 -2.816267)'))) / (select extract(epoch from '2026-07-08 17:47:41'::timestamp) - extract(epoch from '2026-07-08 17:47: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'), 47631, 'SRID=4674;POINT (-40.104291 -2.816269)', '2026-07-08 17:47:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1042 -2.816267)'), GeomFromEWKT('SRID=4674;POINT (-40.104291 -2.816269)'))) / (select extract(epoch from '2026-07-08 17:47:48'::timestamp) - extract(epoch from '2026-07-08 17:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1042 -2.816267)'), GeomFromEWKT('SRID=4674;POINT (-40.104291 -2.816269)'))) / (select extract(epoch from '2026-07-08 17:47:48'::timestamp) - extract(epoch from '2026-07-08 17:47: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'), 47631, 'SRID=4674;POINT (-40.104399 -2.816263)', '2026-07-08 17:47:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104291 -2.816269)'), GeomFromEWKT('SRID=4674;POINT (-40.104399 -2.816263)'))) / (select extract(epoch from '2026-07-08 17:47:56'::timestamp) - extract(epoch from '2026-07-08 17:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104291 -2.816269)'), GeomFromEWKT('SRID=4674;POINT (-40.104399 -2.816263)'))) / (select extract(epoch from '2026-07-08 17:47:56'::timestamp) - extract(epoch from '2026-07-08 17:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104519 -2.816245)', '2026-07-08 17:48:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104399 -2.816263)'), GeomFromEWKT('SRID=4674;POINT (-40.104519 -2.816245)'))) / (select extract(epoch from '2026-07-08 17:48:05'::timestamp) - extract(epoch from '2026-07-08 17:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104399 -2.816263)'), GeomFromEWKT('SRID=4674;POINT (-40.104519 -2.816245)'))) / (select extract(epoch from '2026-07-08 17:48:05'::timestamp) - extract(epoch from '2026-07-08 17:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104634 -2.816225)', '2026-07-08 17:48:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104519 -2.816245)'), GeomFromEWKT('SRID=4674;POINT (-40.104634 -2.816225)'))) / (select extract(epoch from '2026-07-08 17:48:14'::timestamp) - extract(epoch from '2026-07-08 17:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104519 -2.816245)'), GeomFromEWKT('SRID=4674;POINT (-40.104634 -2.816225)'))) / (select extract(epoch from '2026-07-08 17:48:14'::timestamp) - extract(epoch from '2026-07-08 17:48: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'), 47631, 'SRID=4674;POINT (-40.104756 -2.816192)', '2026-07-08 17:48:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104634 -2.816225)'), GeomFromEWKT('SRID=4674;POINT (-40.104756 -2.816192)'))) / (select extract(epoch from '2026-07-08 17:48:23'::timestamp) - extract(epoch from '2026-07-08 17:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104634 -2.816225)'), GeomFromEWKT('SRID=4674;POINT (-40.104756 -2.816192)'))) / (select extract(epoch from '2026-07-08 17:48:23'::timestamp) - extract(epoch from '2026-07-08 17:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.104858 -2.816152)', '2026-07-08 17:48:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104756 -2.816192)'), GeomFromEWKT('SRID=4674;POINT (-40.104858 -2.816152)'))) / (select extract(epoch from '2026-07-08 17:48:32'::timestamp) - extract(epoch from '2026-07-08 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104756 -2.816192)'), GeomFromEWKT('SRID=4674;POINT (-40.104858 -2.816152)'))) / (select extract(epoch from '2026-07-08 17:48:32'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.104948 -2.816109)', '2026-07-08 17:48:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104858 -2.816152)'), GeomFromEWKT('SRID=4674;POINT (-40.104948 -2.816109)'))) / (select extract(epoch from '2026-07-08 17:48:40'::timestamp) - extract(epoch from '2026-07-08 17:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104858 -2.816152)'), GeomFromEWKT('SRID=4674;POINT (-40.104948 -2.816109)'))) / (select extract(epoch from '2026-07-08 17:48:40'::timestamp) - extract(epoch from '2026-07-08 17:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10505 -2.816055)', '2026-07-08 17:48:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104948 -2.816109)'), GeomFromEWKT('SRID=4674;POINT (-40.10505 -2.816055)'))) / (select extract(epoch from '2026-07-08 17:48:49'::timestamp) - extract(epoch from '2026-07-08 17:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104948 -2.816109)'), GeomFromEWKT('SRID=4674;POINT (-40.10505 -2.816055)'))) / (select extract(epoch from '2026-07-08 17:48:49'::timestamp) - extract(epoch from '2026-07-08 17:48: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'), 47631, 'SRID=4674;POINT (-40.105141 -2.815985)', '2026-07-08 17:48:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10505 -2.816055)'), GeomFromEWKT('SRID=4674;POINT (-40.105141 -2.815985)'))) / (select extract(epoch from '2026-07-08 17:48:58'::timestamp) - extract(epoch from '2026-07-08 17:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10505 -2.816055)'), GeomFromEWKT('SRID=4674;POINT (-40.105141 -2.815985)'))) / (select extract(epoch from '2026-07-08 17:48:58'::timestamp) - extract(epoch from '2026-07-08 17:48: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'), 47631, 'SRID=4674;POINT (-40.105232 -2.815888)', '2026-07-08 17:49:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105141 -2.815985)'), GeomFromEWKT('SRID=4674;POINT (-40.105232 -2.815888)'))) / (select extract(epoch from '2026-07-08 17:49:08'::timestamp) - extract(epoch from '2026-07-08 17:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105141 -2.815985)'), GeomFromEWKT('SRID=4674;POINT (-40.105232 -2.815888)'))) / (select extract(epoch from '2026-07-08 17:49:08'::timestamp) - extract(epoch from '2026-07-08 17:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.105313 -2.815794)', '2026-07-08 17:49:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105232 -2.815888)'), GeomFromEWKT('SRID=4674;POINT (-40.105313 -2.815794)'))) / (select extract(epoch from '2026-07-08 17:49:18'::timestamp) - extract(epoch from '2026-07-08 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105232 -2.815888)'), GeomFromEWKT('SRID=4674;POINT (-40.105313 -2.815794)'))) / (select extract(epoch from '2026-07-08 17:49:18'::timestamp) - extract(epoch from '2026-07-08 17:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.105355 -2.815716)', '2026-07-08 17:49:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105313 -2.815794)'), GeomFromEWKT('SRID=4674;POINT (-40.105355 -2.815716)'))) / (select extract(epoch from '2026-07-08 17:49:27'::timestamp) - extract(epoch from '2026-07-08 17:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105313 -2.815794)'), GeomFromEWKT('SRID=4674;POINT (-40.105355 -2.815716)'))) / (select extract(epoch from '2026-07-08 17:49:27'::timestamp) - extract(epoch from '2026-07-08 17:49: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'), 47631, 'SRID=4674;POINT (-40.105401 -2.815661)', '2026-07-08 17:49:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105355 -2.815716)'), GeomFromEWKT('SRID=4674;POINT (-40.105401 -2.815661)'))) / (select extract(epoch from '2026-07-08 17:49:35'::timestamp) - extract(epoch from '2026-07-08 17:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105355 -2.815716)'), GeomFromEWKT('SRID=4674;POINT (-40.105401 -2.815661)'))) / (select extract(epoch from '2026-07-08 17:49:35'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.105464 -2.81562)', '2026-07-08 17:49:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105401 -2.815661)'), GeomFromEWKT('SRID=4674;POINT (-40.105464 -2.81562)'))) / (select extract(epoch from '2026-07-08 17:49:44'::timestamp) - extract(epoch from '2026-07-08 17:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105401 -2.815661)'), GeomFromEWKT('SRID=4674;POINT (-40.105464 -2.81562)'))) / (select extract(epoch from '2026-07-08 17:49:44'::timestamp) - extract(epoch from '2026-07-08 17:49: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'), 47631, 'SRID=4674;POINT (-40.105547 -2.815638)', '2026-07-08 17:50:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105464 -2.81562)'), GeomFromEWKT('SRID=4674;POINT (-40.105547 -2.815638)'))) / (select extract(epoch from '2026-07-08 17:50:01'::timestamp) - extract(epoch from '2026-07-08 17:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105464 -2.81562)'), GeomFromEWKT('SRID=4674;POINT (-40.105547 -2.815638)'))) / (select extract(epoch from '2026-07-08 17:50:01'::timestamp) - extract(epoch from '2026-07-08 17:49: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'), 47631, 'SRID=4674;POINT (-40.105628 -2.815641)', '2026-07-08 17:50:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105547 -2.815638)'), GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815641)'))) / (select extract(epoch from '2026-07-08 17:50:19'::timestamp) - extract(epoch from '2026-07-08 17:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105547 -2.815638)'), GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815641)'))) / (select extract(epoch from '2026-07-08 17:50:19'::timestamp) - extract(epoch from '2026-07-08 17:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.105628 -2.815632)', '2026-07-08 17:50:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815641)'), GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815632)'))) / (select extract(epoch from '2026-07-08 17:50:32'::timestamp) - extract(epoch from '2026-07-08 17:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815641)'), GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815632)'))) / (select extract(epoch from '2026-07-08 17:50:32'::timestamp) - extract(epoch from '2026-07-08 17:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.105729 -2.81564)', '2026-07-08 17:52:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815632)'), GeomFromEWKT('SRID=4674;POINT (-40.105729 -2.81564)'))) / (select extract(epoch from '2026-07-08 17:52:02'::timestamp) - extract(epoch from '2026-07-08 17:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105628 -2.815632)'), GeomFromEWKT('SRID=4674;POINT (-40.105729 -2.81564)'))) / (select extract(epoch from '2026-07-08 17:52:02'::timestamp) - extract(epoch from '2026-07-08 17:50: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'), 47631, 'SRID=4674;POINT (-40.105794 -2.815679)', '2026-07-08 17:56:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105729 -2.81564)'), GeomFromEWKT('SRID=4674;POINT (-40.105794 -2.815679)'))) / (select extract(epoch from '2026-07-08 17:56:08'::timestamp) - extract(epoch from '2026-07-08 17:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105729 -2.81564)'), GeomFromEWKT('SRID=4674;POINT (-40.105794 -2.815679)'))) / (select extract(epoch from '2026-07-08 17:56:08'::timestamp) - extract(epoch from '2026-07-08 17:52: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'), 47631, 'SRID=4674;POINT (-40.105919 -2.815718)', '2026-07-08 17:56:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105794 -2.815679)'), GeomFromEWKT('SRID=4674;POINT (-40.105919 -2.815718)'))) / (select extract(epoch from '2026-07-08 17:56:26'::timestamp) - extract(epoch from '2026-07-08 17:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105794 -2.815679)'), GeomFromEWKT('SRID=4674;POINT (-40.105919 -2.815718)'))) / (select extract(epoch from '2026-07-08 17:56:26'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.10601 -2.815743)', '2026-07-08 17:56:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105919 -2.815718)'), GeomFromEWKT('SRID=4674;POINT (-40.10601 -2.815743)'))) / (select extract(epoch from '2026-07-08 17:56:42'::timestamp) - extract(epoch from '2026-07-08 17:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105919 -2.815718)'), GeomFromEWKT('SRID=4674;POINT (-40.10601 -2.815743)'))) / (select extract(epoch from '2026-07-08 17:56:42'::timestamp) - extract(epoch from '2026-07-08 17:56: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'), 47631, 'SRID=4674;POINT (-40.106132 -2.81576)', '2026-07-08 17:57:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10601 -2.815743)'), GeomFromEWKT('SRID=4674;POINT (-40.106132 -2.81576)'))) / (select extract(epoch from '2026-07-08 17:57:03'::timestamp) - extract(epoch from '2026-07-08 17:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10601 -2.815743)'), GeomFromEWKT('SRID=4674;POINT (-40.106132 -2.81576)'))) / (select extract(epoch from '2026-07-08 17:57:03'::timestamp) - extract(epoch from '2026-07-08 17:56: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'), 47631, 'SRID=4674;POINT (-40.106218 -2.815769)', '2026-07-08 17:57:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106132 -2.81576)'), GeomFromEWKT('SRID=4674;POINT (-40.106218 -2.815769)'))) / (select extract(epoch from '2026-07-08 17:57:20'::timestamp) - extract(epoch from '2026-07-08 17:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106132 -2.81576)'), GeomFromEWKT('SRID=4674;POINT (-40.106218 -2.815769)'))) / (select extract(epoch from '2026-07-08 17:57:20'::timestamp) - extract(epoch from '2026-07-08 17:57: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'), 47631, 'SRID=4674;POINT (-40.106323 -2.815781)', '2026-07-08 17:57:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106218 -2.815769)'), GeomFromEWKT('SRID=4674;POINT (-40.106323 -2.815781)'))) / (select extract(epoch from '2026-07-08 17:57:35'::timestamp) - extract(epoch from '2026-07-08 17:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106218 -2.815769)'), GeomFromEWKT('SRID=4674;POINT (-40.106323 -2.815781)'))) / (select extract(epoch from '2026-07-08 17:57:35'::timestamp) - extract(epoch from '2026-07-08 17:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.106408 -2.815759)', '2026-07-08 17:57:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106323 -2.815781)'), GeomFromEWKT('SRID=4674;POINT (-40.106408 -2.815759)'))) / (select extract(epoch from '2026-07-08 17:57:50'::timestamp) - extract(epoch from '2026-07-08 17:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106323 -2.815781)'), GeomFromEWKT('SRID=4674;POINT (-40.106408 -2.815759)'))) / (select extract(epoch from '2026-07-08 17:57:50'::timestamp) - extract(epoch from '2026-07-08 17:57: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'), 47631, 'SRID=4674;POINT (-40.106505 -2.815745)', '2026-07-08 17:58:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106408 -2.815759)'), GeomFromEWKT('SRID=4674;POINT (-40.106505 -2.815745)'))) / (select extract(epoch from '2026-07-08 17:58:04'::timestamp) - extract(epoch from '2026-07-08 17:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106408 -2.815759)'), GeomFromEWKT('SRID=4674;POINT (-40.106505 -2.815745)'))) / (select extract(epoch from '2026-07-08 17:58:04'::timestamp) - extract(epoch from '2026-07-08 17: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'), 47631, 'SRID=4674;POINT (-40.106601 -2.815744)', '2026-07-08 17:58:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106505 -2.815745)'), GeomFromEWKT('SRID=4674;POINT (-40.106601 -2.815744)'))) / (select extract(epoch from '2026-07-08 17:58:21'::timestamp) - extract(epoch from '2026-07-08 17:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106505 -2.815745)'), GeomFromEWKT('SRID=4674;POINT (-40.106601 -2.815744)'))) / (select extract(epoch from '2026-07-08 17:58:21'::timestamp) - extract(epoch from '2026-07-08 17:58: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'), 47631, 'SRID=4674;POINT (-40.106689 -2.815746)', '2026-07-08 17:58:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106601 -2.815744)'), GeomFromEWKT('SRID=4674;POINT (-40.106689 -2.815746)'))) / (select extract(epoch from '2026-07-08 17:58:36'::timestamp) - extract(epoch from '2026-07-08 17:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106601 -2.815744)'), GeomFromEWKT('SRID=4674;POINT (-40.106689 -2.815746)'))) / (select extract(epoch from '2026-07-08 17:58:36'::timestamp) - extract(epoch from '2026-07-08 17:58: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'), 47631, 'SRID=4674;POINT (-40.10678 -2.815747)', '2026-07-08 17:58:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106689 -2.815746)'), GeomFromEWKT('SRID=4674;POINT (-40.10678 -2.815747)'))) / (select extract(epoch from '2026-07-08 17:58:50'::timestamp) - extract(epoch from '2026-07-08 17:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106689 -2.815746)'), GeomFromEWKT('SRID=4674;POINT (-40.10678 -2.815747)'))) / (select extract(epoch from '2026-07-08 17:58:50'::timestamp) - extract(epoch from '2026-07-08 17:58: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'), 47631, 'SRID=4674;POINT (-40.106866 -2.815738)', '2026-07-08 17:59:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10678 -2.815747)'), GeomFromEWKT('SRID=4674;POINT (-40.106866 -2.815738)'))) / (select extract(epoch from '2026-07-08 17:59:05'::timestamp) - extract(epoch from '2026-07-08 17:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10678 -2.815747)'), GeomFromEWKT('SRID=4674;POINT (-40.106866 -2.815738)'))) / (select extract(epoch from '2026-07-08 17:59:05'::timestamp) - extract(epoch from '2026-07-08 17:58: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'), 47631, 'SRID=4674;POINT (-40.106963 -2.815735)', '2026-07-08 17:59:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106866 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.106963 -2.815735)'))) / (select extract(epoch from '2026-07-08 17:59:20'::timestamp) - extract(epoch from '2026-07-08 17:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106866 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.106963 -2.815735)'))) / (select extract(epoch from '2026-07-08 17:59:20'::timestamp) - extract(epoch from '2026-07-08 17:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.107069 -2.815725)', '2026-07-08 17:59:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106963 -2.815735)'), GeomFromEWKT('SRID=4674;POINT (-40.107069 -2.815725)'))) / (select extract(epoch from '2026-07-08 17:59:37'::timestamp) - extract(epoch from '2026-07-08 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106963 -2.815735)'), GeomFromEWKT('SRID=4674;POINT (-40.107069 -2.815725)'))) / (select extract(epoch from '2026-07-08 17:59:37'::timestamp) - extract(epoch from '2026-07-08 17:59: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'), 47631, 'SRID=4674;POINT (-40.107178 -2.815722)', '2026-07-08 17:59:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107069 -2.815725)'), GeomFromEWKT('SRID=4674;POINT (-40.107178 -2.815722)'))) / (select extract(epoch from '2026-07-08 17:59:55'::timestamp) - extract(epoch from '2026-07-08 17:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107069 -2.815725)'), GeomFromEWKT('SRID=4674;POINT (-40.107178 -2.815722)'))) / (select extract(epoch from '2026-07-08 17:59:55'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.107273 -2.815723)', '2026-07-08 18:00:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107178 -2.815722)'), GeomFromEWKT('SRID=4674;POINT (-40.107273 -2.815723)'))) / (select extract(epoch from '2026-07-08 18:00:10'::timestamp) - extract(epoch from '2026-07-08 17:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107178 -2.815722)'), GeomFromEWKT('SRID=4674;POINT (-40.107273 -2.815723)'))) / (select extract(epoch from '2026-07-08 18:00:10'::timestamp) - extract(epoch from '2026-07-08 17:59: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'), 47631, 'SRID=4674;POINT (-40.10734 -2.815724)', '2026-07-08 18:00:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107273 -2.815723)'), GeomFromEWKT('SRID=4674;POINT (-40.10734 -2.815724)'))) / (select extract(epoch from '2026-07-08 18:00:22'::timestamp) - extract(epoch from '2026-07-08 18:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107273 -2.815723)'), GeomFromEWKT('SRID=4674;POINT (-40.10734 -2.815724)'))) / (select extract(epoch from '2026-07-08 18:00:22'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.107435 -2.815727)', '2026-07-08 18:00:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10734 -2.815724)'), GeomFromEWKT('SRID=4674;POINT (-40.107435 -2.815727)'))) / (select extract(epoch from '2026-07-08 18:00:37'::timestamp) - extract(epoch from '2026-07-08 18:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10734 -2.815724)'), GeomFromEWKT('SRID=4674;POINT (-40.107435 -2.815727)'))) / (select extract(epoch from '2026-07-08 18:00:37'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.107514 -2.815737)', '2026-07-08 18:00:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107435 -2.815727)'), GeomFromEWKT('SRID=4674;POINT (-40.107514 -2.815737)'))) / (select extract(epoch from '2026-07-08 18:00:52'::timestamp) - extract(epoch from '2026-07-08 18:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107435 -2.815727)'), GeomFromEWKT('SRID=4674;POINT (-40.107514 -2.815737)'))) / (select extract(epoch from '2026-07-08 18:00:52'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.107587 -2.815737)', '2026-07-08 18:01:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107514 -2.815737)'), GeomFromEWKT('SRID=4674;POINT (-40.107587 -2.815737)'))) / (select extract(epoch from '2026-07-08 18:01:05'::timestamp) - extract(epoch from '2026-07-08 18:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107514 -2.815737)'), GeomFromEWKT('SRID=4674;POINT (-40.107587 -2.815737)'))) / (select extract(epoch from '2026-07-08 18:01:05'::timestamp) - extract(epoch from '2026-07-08 18:00: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'), 47631, 'SRID=4674;POINT (-40.107691 -2.815734)', '2026-07-08 18:01:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107587 -2.815737)'), GeomFromEWKT('SRID=4674;POINT (-40.107691 -2.815734)'))) / (select extract(epoch from '2026-07-08 18:01:22'::timestamp) - extract(epoch from '2026-07-08 18:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107587 -2.815737)'), GeomFromEWKT('SRID=4674;POINT (-40.107691 -2.815734)'))) / (select extract(epoch from '2026-07-08 18:01:22'::timestamp) - extract(epoch from '2026-07-08 18:01:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.107811 -2.815714)', '2026-07-08 18:01:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107691 -2.815734)'), GeomFromEWKT('SRID=4674;POINT (-40.107811 -2.815714)'))) / (select extract(epoch from '2026-07-08 18:01:39'::timestamp) - extract(epoch from '2026-07-08 18:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107691 -2.815734)'), GeomFromEWKT('SRID=4674;POINT (-40.107811 -2.815714)'))) / (select extract(epoch from '2026-07-08 18:01:39'::timestamp) - extract(epoch from '2026-07-08 18:01: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'), 47631, 'SRID=4674;POINT (-40.107907 -2.815702)', '2026-07-08 18:01:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107811 -2.815714)'), GeomFromEWKT('SRID=4674;POINT (-40.107907 -2.815702)'))) / (select extract(epoch from '2026-07-08 18:01:54'::timestamp) - extract(epoch from '2026-07-08 18:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107811 -2.815714)'), GeomFromEWKT('SRID=4674;POINT (-40.107907 -2.815702)'))) / (select extract(epoch from '2026-07-08 18:01:54'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.107999 -2.815699)', '2026-07-08 18:02:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107907 -2.815702)'), GeomFromEWKT('SRID=4674;POINT (-40.107999 -2.815699)'))) / (select extract(epoch from '2026-07-08 18:02:09'::timestamp) - extract(epoch from '2026-07-08 18:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107907 -2.815702)'), GeomFromEWKT('SRID=4674;POINT (-40.107999 -2.815699)'))) / (select extract(epoch from '2026-07-08 18:02:09'::timestamp) - extract(epoch from '2026-07-08 18:01: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'), 47631, 'SRID=4674;POINT (-40.108093 -2.815701)', '2026-07-08 18:02:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107999 -2.815699)'), GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815701)'))) / (select extract(epoch from '2026-07-08 18:02:25'::timestamp) - extract(epoch from '2026-07-08 18:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107999 -2.815699)'), GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815701)'))) / (select extract(epoch from '2026-07-08 18:02:25'::timestamp) - extract(epoch from '2026-07-08 18:02: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'), 47631, 'SRID=4674;POINT (-40.108169 -2.81569)', '2026-07-08 18:02:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815701)'), GeomFromEWKT('SRID=4674;POINT (-40.108169 -2.81569)'))) / (select extract(epoch from '2026-07-08 18:02:39'::timestamp) - extract(epoch from '2026-07-08 18:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815701)'), GeomFromEWKT('SRID=4674;POINT (-40.108169 -2.81569)'))) / (select extract(epoch from '2026-07-08 18:02:39'::timestamp) - extract(epoch from '2026-07-08 18:02: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'), 47631, 'SRID=4674;POINT (-40.108251 -2.815683)', '2026-07-08 18:02:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108169 -2.81569)'), GeomFromEWKT('SRID=4674;POINT (-40.108251 -2.815683)'))) / (select extract(epoch from '2026-07-08 18:02:53'::timestamp) - extract(epoch from '2026-07-08 18:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108169 -2.81569)'), GeomFromEWKT('SRID=4674;POINT (-40.108251 -2.815683)'))) / (select extract(epoch from '2026-07-08 18:02:53'::timestamp) - extract(epoch from '2026-07-08 18:02: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'), 47631, 'SRID=4674;POINT (-40.108344 -2.81568)', '2026-07-08 18:03:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108251 -2.815683)'), GeomFromEWKT('SRID=4674;POINT (-40.108344 -2.81568)'))) / (select extract(epoch from '2026-07-08 18:03:09'::timestamp) - extract(epoch from '2026-07-08 18:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108251 -2.815683)'), GeomFromEWKT('SRID=4674;POINT (-40.108344 -2.81568)'))) / (select extract(epoch from '2026-07-08 18:03:09'::timestamp) - extract(epoch from '2026-07-08 18:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108426 -2.815682)', '2026-07-08 18:03:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108344 -2.81568)'), GeomFromEWKT('SRID=4674;POINT (-40.108426 -2.815682)'))) / (select extract(epoch from '2026-07-08 18:03:23'::timestamp) - extract(epoch from '2026-07-08 18:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108344 -2.81568)'), GeomFromEWKT('SRID=4674;POINT (-40.108426 -2.815682)'))) / (select extract(epoch from '2026-07-08 18:03:23'::timestamp) - extract(epoch from '2026-07-08 18:03: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'), 47631, 'SRID=4674;POINT (-40.108513 -2.815685)', '2026-07-08 18:03:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108426 -2.815682)'), GeomFromEWKT('SRID=4674;POINT (-40.108513 -2.815685)'))) / (select extract(epoch from '2026-07-08 18:03:38'::timestamp) - extract(epoch from '2026-07-08 18:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108426 -2.815682)'), GeomFromEWKT('SRID=4674;POINT (-40.108513 -2.815685)'))) / (select extract(epoch from '2026-07-08 18:03:38'::timestamp) - extract(epoch from '2026-07-08 18:03: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'), 47631, 'SRID=4674;POINT (-40.108579 -2.815676)', '2026-07-08 18:03:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108513 -2.815685)'), GeomFromEWKT('SRID=4674;POINT (-40.108579 -2.815676)'))) / (select extract(epoch from '2026-07-08 18:03:52'::timestamp) - extract(epoch from '2026-07-08 18:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108513 -2.815685)'), GeomFromEWKT('SRID=4674;POINT (-40.108579 -2.815676)'))) / (select extract(epoch from '2026-07-08 18:03:52'::timestamp) - extract(epoch from '2026-07-08 18:03: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'), 47631, 'SRID=4674;POINT (-40.108641 -2.815675)', '2026-07-08 18:04:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108579 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.108641 -2.815675)'))) / (select extract(epoch from '2026-07-08 18:04:04'::timestamp) - extract(epoch from '2026-07-08 18:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108579 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.108641 -2.815675)'))) / (select extract(epoch from '2026-07-08 18:04:04'::timestamp) - extract(epoch from '2026-07-08 18:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108727 -2.815681)', '2026-07-08 18:04:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108641 -2.815675)'), GeomFromEWKT('SRID=4674;POINT (-40.108727 -2.815681)'))) / (select extract(epoch from '2026-07-08 18:04:19'::timestamp) - extract(epoch from '2026-07-08 18:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108641 -2.815675)'), GeomFromEWKT('SRID=4674;POINT (-40.108727 -2.815681)'))) / (select extract(epoch from '2026-07-08 18:04:19'::timestamp) - extract(epoch from '2026-07-08 18:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10883 -2.815685)', '2026-07-08 18:04:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108727 -2.815681)'), GeomFromEWKT('SRID=4674;POINT (-40.10883 -2.815685)'))) / (select extract(epoch from '2026-07-08 18:04:38'::timestamp) - extract(epoch from '2026-07-08 18:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108727 -2.815681)'), GeomFromEWKT('SRID=4674;POINT (-40.10883 -2.815685)'))) / (select extract(epoch from '2026-07-08 18:04:38'::timestamp) - extract(epoch from '2026-07-08 18:04: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'), 47631, 'SRID=4674;POINT (-40.108909 -2.815689)', '2026-07-08 18:04:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10883 -2.815685)'), GeomFromEWKT('SRID=4674;POINT (-40.108909 -2.815689)'))) / (select extract(epoch from '2026-07-08 18:04:52'::timestamp) - extract(epoch from '2026-07-08 18:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10883 -2.815685)'), GeomFromEWKT('SRID=4674;POINT (-40.108909 -2.815689)'))) / (select extract(epoch from '2026-07-08 18:04:52'::timestamp) - extract(epoch from '2026-07-08 18:04: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'), 47631, 'SRID=4674;POINT (-40.108989 -2.815697)', '2026-07-08 18:05:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108909 -2.815689)'), GeomFromEWKT('SRID=4674;POINT (-40.108989 -2.815697)'))) / (select extract(epoch from '2026-07-08 18:05:04'::timestamp) - extract(epoch from '2026-07-08 18:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108909 -2.815689)'), GeomFromEWKT('SRID=4674;POINT (-40.108989 -2.815697)'))) / (select extract(epoch from '2026-07-08 18:05:04'::timestamp) - extract(epoch from '2026-07-08 18:04: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'), 47631, 'SRID=4674;POINT (-40.109103 -2.815703)', '2026-07-08 18:05:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108989 -2.815697)'), GeomFromEWKT('SRID=4674;POINT (-40.109103 -2.815703)'))) / (select extract(epoch from '2026-07-08 18:05:23'::timestamp) - extract(epoch from '2026-07-08 18:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108989 -2.815697)'), GeomFromEWKT('SRID=4674;POINT (-40.109103 -2.815703)'))) / (select extract(epoch from '2026-07-08 18:05:23'::timestamp) - extract(epoch from '2026-07-08 18:05: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'), 47631, 'SRID=4674;POINT (-40.109209 -2.815706)', '2026-07-08 18:05:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109103 -2.815703)'), GeomFromEWKT('SRID=4674;POINT (-40.109209 -2.815706)'))) / (select extract(epoch from '2026-07-08 18:05:40'::timestamp) - extract(epoch from '2026-07-08 18:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109103 -2.815703)'), GeomFromEWKT('SRID=4674;POINT (-40.109209 -2.815706)'))) / (select extract(epoch from '2026-07-08 18:05:40'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.109304 -2.815702)', '2026-07-08 18:05:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109209 -2.815706)'), GeomFromEWKT('SRID=4674;POINT (-40.109304 -2.815702)'))) / (select extract(epoch from '2026-07-08 18:05:55'::timestamp) - extract(epoch from '2026-07-08 18:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109209 -2.815706)'), GeomFromEWKT('SRID=4674;POINT (-40.109304 -2.815702)'))) / (select extract(epoch from '2026-07-08 18:05:55'::timestamp) - extract(epoch from '2026-07-08 18:05: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'), 47631, 'SRID=4674;POINT (-40.109387 -2.815703)', '2026-07-08 18:06:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109304 -2.815702)'), GeomFromEWKT('SRID=4674;POINT (-40.109387 -2.815703)'))) / (select extract(epoch from '2026-07-08 18:06:08'::timestamp) - extract(epoch from '2026-07-08 18:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109304 -2.815702)'), GeomFromEWKT('SRID=4674;POINT (-40.109387 -2.815703)'))) / (select extract(epoch from '2026-07-08 18:06:08'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.109483 -2.815712)', '2026-07-08 18:06:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109387 -2.815703)'), GeomFromEWKT('SRID=4674;POINT (-40.109483 -2.815712)'))) / (select extract(epoch from '2026-07-08 18:06:25'::timestamp) - extract(epoch from '2026-07-08 18:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109387 -2.815703)'), GeomFromEWKT('SRID=4674;POINT (-40.109483 -2.815712)'))) / (select extract(epoch from '2026-07-08 18:06:25'::timestamp) - extract(epoch from '2026-07-08 18:06: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'), 47631, 'SRID=4674;POINT (-40.109562 -2.815717)', '2026-07-08 18:06:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109483 -2.815712)'), GeomFromEWKT('SRID=4674;POINT (-40.109562 -2.815717)'))) / (select extract(epoch from '2026-07-08 18:06:40'::timestamp) - extract(epoch from '2026-07-08 18:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109483 -2.815712)'), GeomFromEWKT('SRID=4674;POINT (-40.109562 -2.815717)'))) / (select extract(epoch from '2026-07-08 18:06:40'::timestamp) - extract(epoch from '2026-07-08 18:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109655 -2.815717)', '2026-07-08 18:06:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109562 -2.815717)'), GeomFromEWKT('SRID=4674;POINT (-40.109655 -2.815717)'))) / (select extract(epoch from '2026-07-08 18:06:57'::timestamp) - extract(epoch from '2026-07-08 18:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109562 -2.815717)'), GeomFromEWKT('SRID=4674;POINT (-40.109655 -2.815717)'))) / (select extract(epoch from '2026-07-08 18:06:57'::timestamp) - extract(epoch from '2026-07-08 18:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109751 -2.815719)', '2026-07-08 18:07:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109655 -2.815717)'), GeomFromEWKT('SRID=4674;POINT (-40.109751 -2.815719)'))) / (select extract(epoch from '2026-07-08 18:07:12'::timestamp) - extract(epoch from '2026-07-08 18:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109655 -2.815717)'), GeomFromEWKT('SRID=4674;POINT (-40.109751 -2.815719)'))) / (select extract(epoch from '2026-07-08 18:07:12'::timestamp) - extract(epoch from '2026-07-08 18:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109831 -2.815726)', '2026-07-08 18:07:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109751 -2.815719)'), GeomFromEWKT('SRID=4674;POINT (-40.109831 -2.815726)'))) / (select extract(epoch from '2026-07-08 18:07:26'::timestamp) - extract(epoch from '2026-07-08 18:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109751 -2.815719)'), GeomFromEWKT('SRID=4674;POINT (-40.109831 -2.815726)'))) / (select extract(epoch from '2026-07-08 18:07:26'::timestamp) - extract(epoch from '2026-07-08 18:07: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'), 47631, 'SRID=4674;POINT (-40.109921 -2.815738)', '2026-07-08 18:07:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109831 -2.815726)'), GeomFromEWKT('SRID=4674;POINT (-40.109921 -2.815738)'))) / (select extract(epoch from '2026-07-08 18:07:40'::timestamp) - extract(epoch from '2026-07-08 18:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109831 -2.815726)'), GeomFromEWKT('SRID=4674;POINT (-40.109921 -2.815738)'))) / (select extract(epoch from '2026-07-08 18:07:40'::timestamp) - extract(epoch from '2026-07-08 18:07: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'), 47631, 'SRID=4674;POINT (-40.110014 -2.815739)', '2026-07-08 18:07:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109921 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.110014 -2.815739)'))) / (select extract(epoch from '2026-07-08 18:07:57'::timestamp) - extract(epoch from '2026-07-08 18:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109921 -2.815738)'), GeomFromEWKT('SRID=4674;POINT (-40.110014 -2.815739)'))) / (select extract(epoch from '2026-07-08 18:07:57'::timestamp) - extract(epoch from '2026-07-08 18:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.110111 -2.815744)', '2026-07-08 18:08:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110014 -2.815739)'), GeomFromEWKT('SRID=4674;POINT (-40.110111 -2.815744)'))) / (select extract(epoch from '2026-07-08 18:08:13'::timestamp) - extract(epoch from '2026-07-08 18:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110014 -2.815739)'), GeomFromEWKT('SRID=4674;POINT (-40.110111 -2.815744)'))) / (select extract(epoch from '2026-07-08 18:08:13'::timestamp) - extract(epoch from '2026-07-08 18:07: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'), 47631, 'SRID=4674;POINT (-40.11019 -2.815749)', '2026-07-08 18:08:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110111 -2.815744)'), GeomFromEWKT('SRID=4674;POINT (-40.11019 -2.815749)'))) / (select extract(epoch from '2026-07-08 18:08:26'::timestamp) - extract(epoch from '2026-07-08 18:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110111 -2.815744)'), GeomFromEWKT('SRID=4674;POINT (-40.11019 -2.815749)'))) / (select extract(epoch from '2026-07-08 18:08:26'::timestamp) - extract(epoch from '2026-07-08 18:08: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'), 47631, 'SRID=4674;POINT (-40.110304 -2.815751)', '2026-07-08 18:08:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11019 -2.815749)'), GeomFromEWKT('SRID=4674;POINT (-40.110304 -2.815751)'))) / (select extract(epoch from '2026-07-08 18:08:46'::timestamp) - extract(epoch from '2026-07-08 18:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11019 -2.815749)'), GeomFromEWKT('SRID=4674;POINT (-40.110304 -2.815751)'))) / (select extract(epoch from '2026-07-08 18:08:46'::timestamp) - extract(epoch from '2026-07-08 18:08: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'), 47631, 'SRID=4674;POINT (-40.110374 -2.815751)', '2026-07-08 18:08:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110304 -2.815751)'), GeomFromEWKT('SRID=4674;POINT (-40.110374 -2.815751)'))) / (select extract(epoch from '2026-07-08 18:08:59'::timestamp) - extract(epoch from '2026-07-08 18:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110304 -2.815751)'), GeomFromEWKT('SRID=4674;POINT (-40.110374 -2.815751)'))) / (select extract(epoch from '2026-07-08 18:08:59'::timestamp) - extract(epoch from '2026-07-08 18:08: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'), 47631, 'SRID=4674;POINT (-40.110451 -2.815758)', '2026-07-08 18:09:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110374 -2.815751)'), GeomFromEWKT('SRID=4674;POINT (-40.110451 -2.815758)'))) / (select extract(epoch from '2026-07-08 18:09:11'::timestamp) - extract(epoch from '2026-07-08 18:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110374 -2.815751)'), GeomFromEWKT('SRID=4674;POINT (-40.110451 -2.815758)'))) / (select extract(epoch from '2026-07-08 18:09:11'::timestamp) - extract(epoch from '2026-07-08 18:08: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'), 47631, 'SRID=4674;POINT (-40.110548 -2.815764)', '2026-07-08 18:09:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110451 -2.815758)'), GeomFromEWKT('SRID=4674;POINT (-40.110548 -2.815764)'))) / (select extract(epoch from '2026-07-08 18:09:26'::timestamp) - extract(epoch from '2026-07-08 18:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110451 -2.815758)'), GeomFromEWKT('SRID=4674;POINT (-40.110548 -2.815764)'))) / (select extract(epoch from '2026-07-08 18:09:26'::timestamp) - extract(epoch from '2026-07-08 18:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.110643 -2.815765)', '2026-07-08 18:09:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110548 -2.815764)'), GeomFromEWKT('SRID=4674;POINT (-40.110643 -2.815765)'))) / (select extract(epoch from '2026-07-08 18:09:40'::timestamp) - extract(epoch from '2026-07-08 18:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110548 -2.815764)'), GeomFromEWKT('SRID=4674;POINT (-40.110643 -2.815765)'))) / (select extract(epoch from '2026-07-08 18:09:40'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.110747 -2.815759)', '2026-07-08 18:09:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110643 -2.815765)'), GeomFromEWKT('SRID=4674;POINT (-40.110747 -2.815759)'))) / (select extract(epoch from '2026-07-08 18:09:57'::timestamp) - extract(epoch from '2026-07-08 18:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110643 -2.815765)'), GeomFromEWKT('SRID=4674;POINT (-40.110747 -2.815759)'))) / (select extract(epoch from '2026-07-08 18:09:57'::timestamp) - extract(epoch from '2026-07-08 18:09: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'), 47631, 'SRID=4674;POINT (-40.110817 -2.815771)', '2026-07-08 18:10:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110747 -2.815759)'), GeomFromEWKT('SRID=4674;POINT (-40.110817 -2.815771)'))) / (select extract(epoch from '2026-07-08 18:10:09'::timestamp) - extract(epoch from '2026-07-08 18:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110747 -2.815759)'), GeomFromEWKT('SRID=4674;POINT (-40.110817 -2.815771)'))) / (select extract(epoch from '2026-07-08 18:10:09'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.110889 -2.815773)', '2026-07-08 18:10:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110817 -2.815771)'), GeomFromEWKT('SRID=4674;POINT (-40.110889 -2.815773)'))) / (select extract(epoch from '2026-07-08 18:10:22'::timestamp) - extract(epoch from '2026-07-08 18:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110817 -2.815771)'), GeomFromEWKT('SRID=4674;POINT (-40.110889 -2.815773)'))) / (select extract(epoch from '2026-07-08 18:10:22'::timestamp) - extract(epoch from '2026-07-08 18:10: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'), 47631, 'SRID=4674;POINT (-40.110958 -2.815779)', '2026-07-08 18:10:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110889 -2.815773)'), GeomFromEWKT('SRID=4674;POINT (-40.110958 -2.815779)'))) / (select extract(epoch from '2026-07-08 18:10:35'::timestamp) - extract(epoch from '2026-07-08 18:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110889 -2.815773)'), GeomFromEWKT('SRID=4674;POINT (-40.110958 -2.815779)'))) / (select extract(epoch from '2026-07-08 18:10:35'::timestamp) - extract(epoch from '2026-07-08 18:10: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'), 47631, 'SRID=4674;POINT (-40.111044 -2.815786)', '2026-07-08 18:10:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110958 -2.815779)'), GeomFromEWKT('SRID=4674;POINT (-40.111044 -2.815786)'))) / (select extract(epoch from '2026-07-08 18:10:50'::timestamp) - extract(epoch from '2026-07-08 18:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110958 -2.815779)'), GeomFromEWKT('SRID=4674;POINT (-40.111044 -2.815786)'))) / (select extract(epoch from '2026-07-08 18:10:50'::timestamp) - extract(epoch from '2026-07-08 18:10: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'), 47631, 'SRID=4674;POINT (-40.111135 -2.815796)', '2026-07-08 18:11:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111044 -2.815786)'), GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815796)'))) / (select extract(epoch from '2026-07-08 18:11:05'::timestamp) - extract(epoch from '2026-07-08 18:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111044 -2.815786)'), GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815796)'))) / (select extract(epoch from '2026-07-08 18:11:05'::timestamp) - extract(epoch from '2026-07-08 18:10: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'), 47631, 'SRID=4674;POINT (-40.111233 -2.815801)', '2026-07-08 18:11:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815796)'), GeomFromEWKT('SRID=4674;POINT (-40.111233 -2.815801)'))) / (select extract(epoch from '2026-07-08 18:11:20'::timestamp) - extract(epoch from '2026-07-08 18:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111135 -2.815796)'), GeomFromEWKT('SRID=4674;POINT (-40.111233 -2.815801)'))) / (select extract(epoch from '2026-07-08 18:11:20'::timestamp) - extract(epoch from '2026-07-08 18:11: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'), 47631, 'SRID=4674;POINT (-40.11133 -2.815811)', '2026-07-08 18:11:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111233 -2.815801)'), GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815811)'))) / (select extract(epoch from '2026-07-08 18:11:36'::timestamp) - extract(epoch from '2026-07-08 18:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111233 -2.815801)'), GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815811)'))) / (select extract(epoch from '2026-07-08 18:11:36'::timestamp) - extract(epoch from '2026-07-08 18:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111404 -2.815813)', '2026-07-08 18:11:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815811)'), GeomFromEWKT('SRID=4674;POINT (-40.111404 -2.815813)'))) / (select extract(epoch from '2026-07-08 18:11:47'::timestamp) - extract(epoch from '2026-07-08 18:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815811)'), GeomFromEWKT('SRID=4674;POINT (-40.111404 -2.815813)'))) / (select extract(epoch from '2026-07-08 18:11:47'::timestamp) - extract(epoch from '2026-07-08 18:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111488 -2.815813)', '2026-07-08 18:12:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111404 -2.815813)'), GeomFromEWKT('SRID=4674;POINT (-40.111488 -2.815813)'))) / (select extract(epoch from '2026-07-08 18:12:00'::timestamp) - extract(epoch from '2026-07-08 18:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111404 -2.815813)'), GeomFromEWKT('SRID=4674;POINT (-40.111488 -2.815813)'))) / (select extract(epoch from '2026-07-08 18:12:00'::timestamp) - extract(epoch from '2026-07-08 18:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111571 -2.815817)', '2026-07-08 18:12:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111488 -2.815813)'), GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815817)'))) / (select extract(epoch from '2026-07-08 18:12:14'::timestamp) - extract(epoch from '2026-07-08 18:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111488 -2.815813)'), GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815817)'))) / (select extract(epoch from '2026-07-08 18:12:14'::timestamp) - extract(epoch from '2026-07-08 18:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111682 -2.815804)', '2026-07-08 18:12:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815817)'), GeomFromEWKT('SRID=4674;POINT (-40.111682 -2.815804)'))) / (select extract(epoch from '2026-07-08 18:12:34'::timestamp) - extract(epoch from '2026-07-08 18:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815817)'), GeomFromEWKT('SRID=4674;POINT (-40.111682 -2.815804)'))) / (select extract(epoch from '2026-07-08 18:12:34'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.111782 -2.815841)', '2026-07-08 18:12:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111682 -2.815804)'), GeomFromEWKT('SRID=4674;POINT (-40.111782 -2.815841)'))) / (select extract(epoch from '2026-07-08 18:12:47'::timestamp) - extract(epoch from '2026-07-08 18:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111682 -2.815804)'), GeomFromEWKT('SRID=4674;POINT (-40.111782 -2.815841)'))) / (select extract(epoch from '2026-07-08 18:12:47'::timestamp) - extract(epoch from '2026-07-08 18:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111855 -2.815901)', '2026-07-08 18:13:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111782 -2.815841)'), GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.815901)'))) / (select extract(epoch from '2026-07-08 18:13:01'::timestamp) - extract(epoch from '2026-07-08 18:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111782 -2.815841)'), GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.815901)'))) / (select extract(epoch from '2026-07-08 18:13:01'::timestamp) - extract(epoch from '2026-07-08 18:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111949 -2.815942)', '2026-07-08 18:13:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.815901)'), GeomFromEWKT('SRID=4674;POINT (-40.111949 -2.815942)'))) / (select extract(epoch from '2026-07-08 18:13:17'::timestamp) - extract(epoch from '2026-07-08 18:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.815901)'), GeomFromEWKT('SRID=4674;POINT (-40.111949 -2.815942)'))) / (select extract(epoch from '2026-07-08 18:13:17'::timestamp) - extract(epoch from '2026-07-08 18:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112023 -2.81596)', '2026-07-08 18:13:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111949 -2.815942)'), GeomFromEWKT('SRID=4674;POINT (-40.112023 -2.81596)'))) / (select extract(epoch from '2026-07-08 18:13:32'::timestamp) - extract(epoch from '2026-07-08 18:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111949 -2.815942)'), GeomFromEWKT('SRID=4674;POINT (-40.112023 -2.81596)'))) / (select extract(epoch from '2026-07-08 18:13:32'::timestamp) - extract(epoch from '2026-07-08 18:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112115 -2.816012)', '2026-07-08 18:13:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112023 -2.81596)'), GeomFromEWKT('SRID=4674;POINT (-40.112115 -2.816012)'))) / (select extract(epoch from '2026-07-08 18:13:47'::timestamp) - extract(epoch from '2026-07-08 18:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112023 -2.81596)'), GeomFromEWKT('SRID=4674;POINT (-40.112115 -2.816012)'))) / (select extract(epoch from '2026-07-08 18:13:47'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.112229 -2.816063)', '2026-07-08 18:14:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112115 -2.816012)'), GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816063)'))) / (select extract(epoch from '2026-07-08 18:14:07'::timestamp) - extract(epoch from '2026-07-08 18:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112115 -2.816012)'), GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816063)'))) / (select extract(epoch from '2026-07-08 18:14:07'::timestamp) - extract(epoch from '2026-07-08 18:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112298 -2.816095)', '2026-07-08 18:14:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816063)'), GeomFromEWKT('SRID=4674;POINT (-40.112298 -2.816095)'))) / (select extract(epoch from '2026-07-08 18:14:20'::timestamp) - extract(epoch from '2026-07-08 18:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816063)'), GeomFromEWKT('SRID=4674;POINT (-40.112298 -2.816095)'))) / (select extract(epoch from '2026-07-08 18:14:20'::timestamp) - extract(epoch from '2026-07-08 18:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112387 -2.816152)', '2026-07-08 18:14:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112298 -2.816095)'), GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.816152)'))) / (select extract(epoch from '2026-07-08 18:14:39'::timestamp) - extract(epoch from '2026-07-08 18:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112298 -2.816095)'), GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.816152)'))) / (select extract(epoch from '2026-07-08 18:14:39'::timestamp) - extract(epoch from '2026-07-08 18:14: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'), 47631, 'SRID=4674;POINT (-40.112469 -2.816201)', '2026-07-08 18:14:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.816152)'), GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.816201)'))) / (select extract(epoch from '2026-07-08 18:14:55'::timestamp) - extract(epoch from '2026-07-08 18:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.816152)'), GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.816201)'))) / (select extract(epoch from '2026-07-08 18:14:55'::timestamp) - extract(epoch from '2026-07-08 18:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112565 -2.816241)', '2026-07-08 18:15:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.816201)'), GeomFromEWKT('SRID=4674;POINT (-40.112565 -2.816241)'))) / (select extract(epoch from '2026-07-08 18:15:16'::timestamp) - extract(epoch from '2026-07-08 18:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.816201)'), GeomFromEWKT('SRID=4674;POINT (-40.112565 -2.816241)'))) / (select extract(epoch from '2026-07-08 18:15:16'::timestamp) - extract(epoch from '2026-07-08 18:14: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'), 47631, 'SRID=4674;POINT (-40.112658 -2.816292)', '2026-07-08 18:15:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112565 -2.816241)'), GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816292)'))) / (select extract(epoch from '2026-07-08 18:15:34'::timestamp) - extract(epoch from '2026-07-08 18:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112565 -2.816241)'), GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816292)'))) / (select extract(epoch from '2026-07-08 18:15:34'::timestamp) - extract(epoch from '2026-07-08 18:15: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'), 47631, 'SRID=4674;POINT (-40.112777 -2.816365)', '2026-07-08 18:15:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816292)'), GeomFromEWKT('SRID=4674;POINT (-40.112777 -2.816365)'))) / (select extract(epoch from '2026-07-08 18:15:53'::timestamp) - extract(epoch from '2026-07-08 18:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816292)'), GeomFromEWKT('SRID=4674;POINT (-40.112777 -2.816365)'))) / (select extract(epoch from '2026-07-08 18:15:53'::timestamp) - extract(epoch from '2026-07-08 18:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112858 -2.816429)', '2026-07-08 18:16:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112777 -2.816365)'), GeomFromEWKT('SRID=4674;POINT (-40.112858 -2.816429)'))) / (select extract(epoch from '2026-07-08 18:16:11'::timestamp) - extract(epoch from '2026-07-08 18:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112777 -2.816365)'), GeomFromEWKT('SRID=4674;POINT (-40.112858 -2.816429)'))) / (select extract(epoch from '2026-07-08 18:16:11'::timestamp) - extract(epoch from '2026-07-08 18:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112948 -2.816477)', '2026-07-08 18:16:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112858 -2.816429)'), GeomFromEWKT('SRID=4674;POINT (-40.112948 -2.816477)'))) / (select extract(epoch from '2026-07-08 18:16:29'::timestamp) - extract(epoch from '2026-07-08 18:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112858 -2.816429)'), GeomFromEWKT('SRID=4674;POINT (-40.112948 -2.816477)'))) / (select extract(epoch from '2026-07-08 18:16:29'::timestamp) - extract(epoch from '2026-07-08 18:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113016 -2.816504)', '2026-07-08 18:16:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112948 -2.816477)'), GeomFromEWKT('SRID=4674;POINT (-40.113016 -2.816504)'))) / (select extract(epoch from '2026-07-08 18:16:45'::timestamp) - extract(epoch from '2026-07-08 18:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112948 -2.816477)'), GeomFromEWKT('SRID=4674;POINT (-40.113016 -2.816504)'))) / (select extract(epoch from '2026-07-08 18:16:45'::timestamp) - extract(epoch from '2026-07-08 18:16: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'), 47631, 'SRID=4674;POINT (-40.113055 -2.816459)', '2026-07-08 18:17:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113016 -2.816504)'), GeomFromEWKT('SRID=4674;POINT (-40.113055 -2.816459)'))) / (select extract(epoch from '2026-07-08 18:17:04'::timestamp) - extract(epoch from '2026-07-08 18:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113016 -2.816504)'), GeomFromEWKT('SRID=4674;POINT (-40.113055 -2.816459)'))) / (select extract(epoch from '2026-07-08 18:17:04'::timestamp) - extract(epoch from '2026-07-08 18:16: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'), 47631, 'SRID=4674;POINT (-40.112964 -2.816473)', '2026-07-08 18:25:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113055 -2.816459)'), GeomFromEWKT('SRID=4674;POINT (-40.112964 -2.816473)'))) / (select extract(epoch from '2026-07-08 18:25:19'::timestamp) - extract(epoch from '2026-07-08 18:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113055 -2.816459)'), GeomFromEWKT('SRID=4674;POINT (-40.112964 -2.816473)'))) / (select extract(epoch from '2026-07-08 18:25:19'::timestamp) - extract(epoch from '2026-07-08 18:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113056 -2.816471)', '2026-07-08 18:25:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112964 -2.816473)'), GeomFromEWKT('SRID=4674;POINT (-40.113056 -2.816471)'))) / (select extract(epoch from '2026-07-08 18:25:55'::timestamp) - extract(epoch from '2026-07-08 18:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112964 -2.816473)'), GeomFromEWKT('SRID=4674;POINT (-40.113056 -2.816471)'))) / (select extract(epoch from '2026-07-08 18:25:55'::timestamp) - extract(epoch from '2026-07-08 18:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113163 -2.816455)', '2026-07-08 18:26:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113056 -2.816471)'), GeomFromEWKT('SRID=4674;POINT (-40.113163 -2.816455)'))) / (select extract(epoch from '2026-07-08 18:26:16'::timestamp) - extract(epoch from '2026-07-08 18:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113056 -2.816471)'), GeomFromEWKT('SRID=4674;POINT (-40.113163 -2.816455)'))) / (select extract(epoch from '2026-07-08 18:26:16'::timestamp) - extract(epoch from '2026-07-08 18:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113284 -2.816435)', '2026-07-08 18:26:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113163 -2.816455)'), GeomFromEWKT('SRID=4674;POINT (-40.113284 -2.816435)'))) / (select extract(epoch from '2026-07-08 18:26:35'::timestamp) - extract(epoch from '2026-07-08 18:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113163 -2.816455)'), GeomFromEWKT('SRID=4674;POINT (-40.113284 -2.816435)'))) / (select extract(epoch from '2026-07-08 18:26:35'::timestamp) - extract(epoch from '2026-07-08 18:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113422 -2.816412)', '2026-07-08 18:26:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113284 -2.816435)'), GeomFromEWKT('SRID=4674;POINT (-40.113422 -2.816412)'))) / (select extract(epoch from '2026-07-08 18:26:55'::timestamp) - extract(epoch from '2026-07-08 18:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113284 -2.816435)'), GeomFromEWKT('SRID=4674;POINT (-40.113422 -2.816412)'))) / (select extract(epoch from '2026-07-08 18:26:55'::timestamp) - extract(epoch from '2026-07-08 18:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113564 -2.816392)', '2026-07-08 18:27:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113422 -2.816412)'), GeomFromEWKT('SRID=4674;POINT (-40.113564 -2.816392)'))) / (select extract(epoch from '2026-07-08 18:27:18'::timestamp) - extract(epoch from '2026-07-08 18:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113422 -2.816412)'), GeomFromEWKT('SRID=4674;POINT (-40.113564 -2.816392)'))) / (select extract(epoch from '2026-07-08 18:27:18'::timestamp) - extract(epoch from '2026-07-08 18:26: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'), 47631, 'SRID=4674;POINT (-40.113641 -2.816367)', '2026-07-08 18:27:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113564 -2.816392)'), GeomFromEWKT('SRID=4674;POINT (-40.113641 -2.816367)'))) / (select extract(epoch from '2026-07-08 18:27:30'::timestamp) - extract(epoch from '2026-07-08 18:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113564 -2.816392)'), GeomFromEWKT('SRID=4674;POINT (-40.113641 -2.816367)'))) / (select extract(epoch from '2026-07-08 18:27:30'::timestamp) - extract(epoch from '2026-07-08 18:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113731 -2.816349)', '2026-07-08 18:27:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113641 -2.816367)'), GeomFromEWKT('SRID=4674;POINT (-40.113731 -2.816349)'))) / (select extract(epoch from '2026-07-08 18:27:47'::timestamp) - extract(epoch from '2026-07-08 18:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113641 -2.816367)'), GeomFromEWKT('SRID=4674;POINT (-40.113731 -2.816349)'))) / (select extract(epoch from '2026-07-08 18:27:47'::timestamp) - extract(epoch from '2026-07-08 18:27: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'), 47631, 'SRID=4674;POINT (-40.113822 -2.816346)', '2026-07-08 18:28:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113731 -2.816349)'), GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.816346)'))) / (select extract(epoch from '2026-07-08 18:28:03'::timestamp) - extract(epoch from '2026-07-08 18:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113731 -2.816349)'), GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.816346)'))) / (select extract(epoch from '2026-07-08 18:28:03'::timestamp) - extract(epoch from '2026-07-08 18:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113841 -2.816374)', '2026-07-08 18:28:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.816346)'), GeomFromEWKT('SRID=4674;POINT (-40.113841 -2.816374)'))) / (select extract(epoch from '2026-07-08 18:28:17'::timestamp) - extract(epoch from '2026-07-08 18:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.816346)'), GeomFromEWKT('SRID=4674;POINT (-40.113841 -2.816374)'))) / (select extract(epoch from '2026-07-08 18:28:17'::timestamp) - extract(epoch from '2026-07-08 18:28: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'), 47631, 'SRID=4674;POINT (-40.113838 -2.816404)', '2026-07-08 18:28:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113841 -2.816374)'), GeomFromEWKT('SRID=4674;POINT (-40.113838 -2.816404)'))) / (select extract(epoch from '2026-07-08 18:28:29'::timestamp) - extract(epoch from '2026-07-08 18:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113841 -2.816374)'), GeomFromEWKT('SRID=4674;POINT (-40.113838 -2.816404)'))) / (select extract(epoch from '2026-07-08 18:28:29'::timestamp) - extract(epoch from '2026-07-08 18:28: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'), 47631, 'SRID=4674;POINT (-40.11377 -2.816382)', '2026-07-08 18:38:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113838 -2.816404)'), GeomFromEWKT('SRID=4674;POINT (-40.11377 -2.816382)'))) / (select extract(epoch from '2026-07-08 18:38:02'::timestamp) - extract(epoch from '2026-07-08 18:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113838 -2.816404)'), GeomFromEWKT('SRID=4674;POINT (-40.11377 -2.816382)'))) / (select extract(epoch from '2026-07-08 18:38:02'::timestamp) - extract(epoch from '2026-07-08 18:28: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'), 47631, 'SRID=4674;POINT (-40.113821 -2.816398)', '2026-07-08 18:38:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11377 -2.816382)'), GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816398)'))) / (select extract(epoch from '2026-07-08 18:38:33'::timestamp) - extract(epoch from '2026-07-08 18:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11377 -2.816382)'), GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816398)'))) / (select extract(epoch from '2026-07-08 18:38:33'::timestamp) - extract(epoch from '2026-07-08 18:38: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'), 47631, 'SRID=4674;POINT (-40.113903 -2.816413)', '2026-07-08 18:38:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816398)'), GeomFromEWKT('SRID=4674;POINT (-40.113903 -2.816413)'))) / (select extract(epoch from '2026-07-08 18:38:46'::timestamp) - extract(epoch from '2026-07-08 18:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816398)'), GeomFromEWKT('SRID=4674;POINT (-40.113903 -2.816413)'))) / (select extract(epoch from '2026-07-08 18:38:46'::timestamp) - extract(epoch from '2026-07-08 18:38: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'), 47631, 'SRID=4674;POINT (-40.114 -2.816449)', '2026-07-08 18:39:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113903 -2.816413)'), GeomFromEWKT('SRID=4674;POINT (-40.114 -2.816449)'))) / (select extract(epoch from '2026-07-08 18:39:00'::timestamp) - extract(epoch from '2026-07-08 18:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113903 -2.816413)'), GeomFromEWKT('SRID=4674;POINT (-40.114 -2.816449)'))) / (select extract(epoch from '2026-07-08 18:39:00'::timestamp) - extract(epoch from '2026-07-08 18:38: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'), 47631, 'SRID=4674;POINT (-40.114041 -2.816456)', '2026-07-08 18:39:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114 -2.816449)'), GeomFromEWKT('SRID=4674;POINT (-40.114041 -2.816456)'))) / (select extract(epoch from '2026-07-08 18:39:06'::timestamp) - extract(epoch from '2026-07-08 18:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114 -2.816449)'), GeomFromEWKT('SRID=4674;POINT (-40.114041 -2.816456)'))) / (select extract(epoch from '2026-07-08 18:39:06'::timestamp) - extract(epoch from '2026-07-08 18:39: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'), 47631, 'SRID=4674;POINT (-40.114039 -2.816418)', '2026-07-08 18:39:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114041 -2.816456)'), GeomFromEWKT('SRID=4674;POINT (-40.114039 -2.816418)'))) / (select extract(epoch from '2026-07-08 18:39:12'::timestamp) - extract(epoch from '2026-07-08 18:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114041 -2.816456)'), GeomFromEWKT('SRID=4674;POINT (-40.114039 -2.816418)'))) / (select extract(epoch from '2026-07-08 18:39:12'::timestamp) - extract(epoch from '2026-07-08 18:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11402 -2.816394)', '2026-07-08 18:39:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114039 -2.816418)'), GeomFromEWKT('SRID=4674;POINT (-40.11402 -2.816394)'))) / (select extract(epoch from '2026-07-08 18:39:15'::timestamp) - extract(epoch from '2026-07-08 18:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114039 -2.816418)'), GeomFromEWKT('SRID=4674;POINT (-40.11402 -2.816394)'))) / (select extract(epoch from '2026-07-08 18:39:15'::timestamp) - extract(epoch from '2026-07-08 18:39: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'), 47631, 'SRID=4674;POINT (-40.113956 -2.81638)', '2026-07-08 18:39:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11402 -2.816394)'), GeomFromEWKT('SRID=4674;POINT (-40.113956 -2.81638)'))) / (select extract(epoch from '2026-07-08 18:39:21'::timestamp) - extract(epoch from '2026-07-08 18:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11402 -2.816394)'), GeomFromEWKT('SRID=4674;POINT (-40.113956 -2.81638)'))) / (select extract(epoch from '2026-07-08 18:39:21'::timestamp) - extract(epoch from '2026-07-08 18:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113895 -2.816396)', '2026-07-08 18:39:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113956 -2.81638)'), GeomFromEWKT('SRID=4674;POINT (-40.113895 -2.816396)'))) / (select extract(epoch from '2026-07-08 18:39:26'::timestamp) - extract(epoch from '2026-07-08 18:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113956 -2.81638)'), GeomFromEWKT('SRID=4674;POINT (-40.113895 -2.816396)'))) / (select extract(epoch from '2026-07-08 18:39:26'::timestamp) - extract(epoch from '2026-07-08 18:39: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'), 47631, 'SRID=4674;POINT (-40.113855 -2.816398)', '2026-07-08 18:39:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113895 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.113855 -2.816398)'))) / (select extract(epoch from '2026-07-08 18:39:29'::timestamp) - extract(epoch from '2026-07-08 18:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113895 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.113855 -2.816398)'))) / (select extract(epoch from '2026-07-08 18:39:29'::timestamp) - extract(epoch from '2026-07-08 18:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113745 -2.81641)', '2026-07-08 18:39:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113855 -2.816398)'), GeomFromEWKT('SRID=4674;POINT (-40.113745 -2.81641)'))) / (select extract(epoch from '2026-07-08 18:39:39'::timestamp) - extract(epoch from '2026-07-08 18:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113855 -2.816398)'), GeomFromEWKT('SRID=4674;POINT (-40.113745 -2.81641)'))) / (select extract(epoch from '2026-07-08 18:39:39'::timestamp) - extract(epoch from '2026-07-08 18:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11367 -2.816415)', '2026-07-08 18:39:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113745 -2.81641)'), GeomFromEWKT('SRID=4674;POINT (-40.11367 -2.816415)'))) / (select extract(epoch from '2026-07-08 18:39:49'::timestamp) - extract(epoch from '2026-07-08 18:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113745 -2.81641)'), GeomFromEWKT('SRID=4674;POINT (-40.11367 -2.816415)'))) / (select extract(epoch from '2026-07-08 18:39:49'::timestamp) - extract(epoch from '2026-07-08 18:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113613 -2.816441)', '2026-07-08 18:39:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11367 -2.816415)'), GeomFromEWKT('SRID=4674;POINT (-40.113613 -2.816441)'))) / (select extract(epoch from '2026-07-08 18:39:59'::timestamp) - extract(epoch from '2026-07-08 18:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11367 -2.816415)'), GeomFromEWKT('SRID=4674;POINT (-40.113613 -2.816441)'))) / (select extract(epoch from '2026-07-08 18:39:59'::timestamp) - extract(epoch from '2026-07-08 18:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113545 -2.81642)', '2026-07-08 18:40:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113613 -2.816441)'), GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.81642)'))) / (select extract(epoch from '2026-07-08 18:40:16'::timestamp) - extract(epoch from '2026-07-08 18:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113613 -2.816441)'), GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.81642)'))) / (select extract(epoch from '2026-07-08 18:40:16'::timestamp) - extract(epoch from '2026-07-08 18:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113524 -2.816392)', '2026-07-08 18:40:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.81642)'), GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.816392)'))) / (select extract(epoch from '2026-07-08 18:40:26'::timestamp) - extract(epoch from '2026-07-08 18:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.81642)'), GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.816392)'))) / (select extract(epoch from '2026-07-08 18:40:26'::timestamp) - extract(epoch from '2026-07-08 18:40: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'), 47631, 'SRID=4674;POINT (-40.113486 -2.816348)', '2026-07-08 18:40:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.816392)'), GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.816348)'))) / (select extract(epoch from '2026-07-08 18:40:41'::timestamp) - extract(epoch from '2026-07-08 18:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.816392)'), GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.816348)'))) / (select extract(epoch from '2026-07-08 18:40:41'::timestamp) - extract(epoch from '2026-07-08 18:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113439 -2.81633)', '2026-07-08 18:40:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.113439 -2.81633)'))) / (select extract(epoch from '2026-07-08 18:40:54'::timestamp) - extract(epoch from '2026-07-08 18:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.113439 -2.81633)'))) / (select extract(epoch from '2026-07-08 18:40:54'::timestamp) - extract(epoch from '2026-07-08 18:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113481 -2.816365)', '2026-07-08 18:41:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113439 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.113481 -2.816365)'))) / (select extract(epoch from '2026-07-08 18:41:06'::timestamp) - extract(epoch from '2026-07-08 18:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113439 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.113481 -2.816365)'))) / (select extract(epoch from '2026-07-08 18:41:06'::timestamp) - extract(epoch from '2026-07-08 18:40: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'), 47631, 'SRID=4674;POINT (-40.113552 -2.816396)', '2026-07-08 18:41:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113481 -2.816365)'), GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.816396)'))) / (select extract(epoch from '2026-07-08 18:41:20'::timestamp) - extract(epoch from '2026-07-08 18:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113481 -2.816365)'), GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.816396)'))) / (select extract(epoch from '2026-07-08 18:41:20'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.113562 -2.816443)', '2026-07-08 18:41:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.113562 -2.816443)'))) / (select extract(epoch from '2026-07-08 18:41:31'::timestamp) - extract(epoch from '2026-07-08 18:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.113562 -2.816443)'))) / (select extract(epoch from '2026-07-08 18:41:31'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.113571 -2.816437)', '2026-07-08 18:41:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113562 -2.816443)'), GeomFromEWKT('SRID=4674;POINT (-40.113571 -2.816437)'))) / (select extract(epoch from '2026-07-08 18:41:40'::timestamp) - extract(epoch from '2026-07-08 18:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113562 -2.816443)'), GeomFromEWKT('SRID=4674;POINT (-40.113571 -2.816437)'))) / (select extract(epoch from '2026-07-08 18:41:40'::timestamp) - extract(epoch from '2026-07-08 18:41: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'), 47631, 'SRID=4674;POINT (-40.11355 -2.816396)', '2026-07-08 18:41:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113571 -2.816437)'), GeomFromEWKT('SRID=4674;POINT (-40.11355 -2.816396)'))) / (select extract(epoch from '2026-07-08 18:41:51'::timestamp) - extract(epoch from '2026-07-08 18:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113571 -2.816437)'), GeomFromEWKT('SRID=4674;POINT (-40.11355 -2.816396)'))) / (select extract(epoch from '2026-07-08 18:41:51'::timestamp) - extract(epoch from '2026-07-08 18:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113482 -2.816405)', '2026-07-08 18:42:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11355 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.113482 -2.816405)'))) / (select extract(epoch from '2026-07-08 18:42:04'::timestamp) - extract(epoch from '2026-07-08 18:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11355 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.113482 -2.816405)'))) / (select extract(epoch from '2026-07-08 18:42:04'::timestamp) - extract(epoch from '2026-07-08 18:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11343 -2.816411)', '2026-07-08 18:42:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113482 -2.816405)'), GeomFromEWKT('SRID=4674;POINT (-40.11343 -2.816411)'))) / (select extract(epoch from '2026-07-08 18:42:16'::timestamp) - extract(epoch from '2026-07-08 18:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113482 -2.816405)'), GeomFromEWKT('SRID=4674;POINT (-40.11343 -2.816411)'))) / (select extract(epoch from '2026-07-08 18:42:16'::timestamp) - extract(epoch from '2026-07-08 18:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113411 -2.816412)', '2026-07-08 18:42:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11343 -2.816411)'), GeomFromEWKT('SRID=4674;POINT (-40.113411 -2.816412)'))) / (select extract(epoch from '2026-07-08 18:42:23'::timestamp) - extract(epoch from '2026-07-08 18:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11343 -2.816411)'), GeomFromEWKT('SRID=4674;POINT (-40.113411 -2.816412)'))) / (select extract(epoch from '2026-07-08 18:42:23'::timestamp) - extract(epoch from '2026-07-08 18:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113358 -2.816419)', '2026-07-08 18:42:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113411 -2.816412)'), GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.816419)'))) / (select extract(epoch from '2026-07-08 18:42:36'::timestamp) - extract(epoch from '2026-07-08 18:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113411 -2.816412)'), GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.816419)'))) / (select extract(epoch from '2026-07-08 18:42:36'::timestamp) - extract(epoch from '2026-07-08 18:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113356 -2.816425)', '2026-07-08 18:42:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.816419)'), GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816425)'))) / (select extract(epoch from '2026-07-08 18:42:50'::timestamp) - extract(epoch from '2026-07-08 18:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.816419)'), GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816425)'))) / (select extract(epoch from '2026-07-08 18:42:50'::timestamp) - extract(epoch from '2026-07-08 18:42: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'), 47631, 'SRID=4674;POINT (-40.113301 -2.81648)', '2026-07-08 18:43:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816425)'), GeomFromEWKT('SRID=4674;POINT (-40.113301 -2.81648)'))) / (select extract(epoch from '2026-07-08 18:43:09'::timestamp) - extract(epoch from '2026-07-08 18:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816425)'), GeomFromEWKT('SRID=4674;POINT (-40.113301 -2.81648)'))) / (select extract(epoch from '2026-07-08 18:43:09'::timestamp) - extract(epoch from '2026-07-08 18:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113243 -2.816472)', '2026-07-08 18:43:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113301 -2.81648)'), GeomFromEWKT('SRID=4674;POINT (-40.113243 -2.816472)'))) / (select extract(epoch from '2026-07-08 18:43:21'::timestamp) - extract(epoch from '2026-07-08 18:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113301 -2.81648)'), GeomFromEWKT('SRID=4674;POINT (-40.113243 -2.816472)'))) / (select extract(epoch from '2026-07-08 18:43:21'::timestamp) - extract(epoch from '2026-07-08 18:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113204 -2.816453)', '2026-07-08 18:43:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113243 -2.816472)'), GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.816453)'))) / (select extract(epoch from '2026-07-08 18:43:31'::timestamp) - extract(epoch from '2026-07-08 18:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113243 -2.816472)'), GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.816453)'))) / (select extract(epoch from '2026-07-08 18:43:31'::timestamp) - extract(epoch from '2026-07-08 18:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113131 -2.816484)', '2026-07-08 18:44:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.816453)'), GeomFromEWKT('SRID=4674;POINT (-40.113131 -2.816484)'))) / (select extract(epoch from '2026-07-08 18:44:03'::timestamp) - extract(epoch from '2026-07-08 18:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.816453)'), GeomFromEWKT('SRID=4674;POINT (-40.113131 -2.816484)'))) / (select extract(epoch from '2026-07-08 18:44:03'::timestamp) - extract(epoch from '2026-07-08 18:43: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'), 47631, 'SRID=4674;POINT (-40.11311 -2.816502)', '2026-07-08 18:44:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113131 -2.816484)'), GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.816502)'))) / (select extract(epoch from '2026-07-08 18:44:13'::timestamp) - extract(epoch from '2026-07-08 18:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113131 -2.816484)'), GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.816502)'))) / (select extract(epoch from '2026-07-08 18:44:13'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.113051 -2.816504)', '2026-07-08 18:44:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.816502)'), GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.816504)'))) / (select extract(epoch from '2026-07-08 18:44:23'::timestamp) - extract(epoch from '2026-07-08 18:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.816502)'), GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.816504)'))) / (select extract(epoch from '2026-07-08 18:44:23'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.112982 -2.816522)', '2026-07-08 18:44:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.816504)'), GeomFromEWKT('SRID=4674;POINT (-40.112982 -2.816522)'))) / (select extract(epoch from '2026-07-08 18:44:39'::timestamp) - extract(epoch from '2026-07-08 18:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.816504)'), GeomFromEWKT('SRID=4674;POINT (-40.112982 -2.816522)'))) / (select extract(epoch from '2026-07-08 18:44:39'::timestamp) - extract(epoch from '2026-07-08 18:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112919 -2.816532)', '2026-07-08 18:44:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112982 -2.816522)'), GeomFromEWKT('SRID=4674;POINT (-40.112919 -2.816532)'))) / (select extract(epoch from '2026-07-08 18:44:53'::timestamp) - extract(epoch from '2026-07-08 18:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112982 -2.816522)'), GeomFromEWKT('SRID=4674;POINT (-40.112919 -2.816532)'))) / (select extract(epoch from '2026-07-08 18:44:53'::timestamp) - extract(epoch from '2026-07-08 18:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112867 -2.816543)', '2026-07-08 18:45:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112919 -2.816532)'), GeomFromEWKT('SRID=4674;POINT (-40.112867 -2.816543)'))) / (select extract(epoch from '2026-07-08 18:45:03'::timestamp) - extract(epoch from '2026-07-08 18:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112919 -2.816532)'), GeomFromEWKT('SRID=4674;POINT (-40.112867 -2.816543)'))) / (select extract(epoch from '2026-07-08 18:45:03'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.112804 -2.816565)', '2026-07-08 18:45:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112867 -2.816543)'), GeomFromEWKT('SRID=4674;POINT (-40.112804 -2.816565)'))) / (select extract(epoch from '2026-07-08 18:45:17'::timestamp) - extract(epoch from '2026-07-08 18:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112867 -2.816543)'), GeomFromEWKT('SRID=4674;POINT (-40.112804 -2.816565)'))) / (select extract(epoch from '2026-07-08 18:45:17'::timestamp) - extract(epoch from '2026-07-08 18:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112726 -2.8166)', '2026-07-08 18:45:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112804 -2.816565)'), GeomFromEWKT('SRID=4674;POINT (-40.112726 -2.8166)'))) / (select extract(epoch from '2026-07-08 18:45:38'::timestamp) - extract(epoch from '2026-07-08 18:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112804 -2.816565)'), GeomFromEWKT('SRID=4674;POINT (-40.112726 -2.8166)'))) / (select extract(epoch from '2026-07-08 18:45:38'::timestamp) - extract(epoch from '2026-07-08 18:45: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'), 47631, 'SRID=4674;POINT (-40.112664 -2.81662)', '2026-07-08 18:45:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112726 -2.8166)'), GeomFromEWKT('SRID=4674;POINT (-40.112664 -2.81662)'))) / (select extract(epoch from '2026-07-08 18:45:53'::timestamp) - extract(epoch from '2026-07-08 18:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112726 -2.8166)'), GeomFromEWKT('SRID=4674;POINT (-40.112664 -2.81662)'))) / (select extract(epoch from '2026-07-08 18:45:53'::timestamp) - extract(epoch from '2026-07-08 18:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112605 -2.816641)', '2026-07-08 18:46:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112664 -2.81662)'), GeomFromEWKT('SRID=4674;POINT (-40.112605 -2.816641)'))) / (select extract(epoch from '2026-07-08 18:46:06'::timestamp) - extract(epoch from '2026-07-08 18:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112664 -2.81662)'), GeomFromEWKT('SRID=4674;POINT (-40.112605 -2.816641)'))) / (select extract(epoch from '2026-07-08 18:46:06'::timestamp) - extract(epoch from '2026-07-08 18:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11256 -2.816684)', '2026-07-08 18:46:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112605 -2.816641)'), GeomFromEWKT('SRID=4674;POINT (-40.11256 -2.816684)'))) / (select extract(epoch from '2026-07-08 18:46:17'::timestamp) - extract(epoch from '2026-07-08 18:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112605 -2.816641)'), GeomFromEWKT('SRID=4674;POINT (-40.11256 -2.816684)'))) / (select extract(epoch from '2026-07-08 18:46:17'::timestamp) - extract(epoch from '2026-07-08 18:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112529 -2.816717)', '2026-07-08 18:46:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11256 -2.816684)'), GeomFromEWKT('SRID=4674;POINT (-40.112529 -2.816717)'))) / (select extract(epoch from '2026-07-08 18:46:28'::timestamp) - extract(epoch from '2026-07-08 18:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11256 -2.816684)'), GeomFromEWKT('SRID=4674;POINT (-40.112529 -2.816717)'))) / (select extract(epoch from '2026-07-08 18:46:28'::timestamp) - extract(epoch from '2026-07-08 18:46: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'), 47631, 'SRID=4674;POINT (-40.112477 -2.816708)', '2026-07-08 18:46:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112529 -2.816717)'), GeomFromEWKT('SRID=4674;POINT (-40.112477 -2.816708)'))) / (select extract(epoch from '2026-07-08 18:46:38'::timestamp) - extract(epoch from '2026-07-08 18:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112529 -2.816717)'), GeomFromEWKT('SRID=4674;POINT (-40.112477 -2.816708)'))) / (select extract(epoch from '2026-07-08 18:46:38'::timestamp) - extract(epoch from '2026-07-08 18:46: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'), 47631, 'SRID=4674;POINT (-40.112389 -2.816731)', '2026-07-08 18:46:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112477 -2.816708)'), GeomFromEWKT('SRID=4674;POINT (-40.112389 -2.816731)'))) / (select extract(epoch from '2026-07-08 18:46:53'::timestamp) - extract(epoch from '2026-07-08 18:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112477 -2.816708)'), GeomFromEWKT('SRID=4674;POINT (-40.112389 -2.816731)'))) / (select extract(epoch from '2026-07-08 18:46:53'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.112302 -2.816756)', '2026-07-08 18:47:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112389 -2.816731)'), GeomFromEWKT('SRID=4674;POINT (-40.112302 -2.816756)'))) / (select extract(epoch from '2026-07-08 18:47:10'::timestamp) - extract(epoch from '2026-07-08 18:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112389 -2.816731)'), GeomFromEWKT('SRID=4674;POINT (-40.112302 -2.816756)'))) / (select extract(epoch from '2026-07-08 18:47:10'::timestamp) - extract(epoch from '2026-07-08 18:46: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'), 47631, 'SRID=4674;POINT (-40.11228 -2.816768)', '2026-07-08 18:47:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112302 -2.816756)'), GeomFromEWKT('SRID=4674;POINT (-40.11228 -2.816768)'))) / (select extract(epoch from '2026-07-08 18:47:19'::timestamp) - extract(epoch from '2026-07-08 18:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112302 -2.816756)'), GeomFromEWKT('SRID=4674;POINT (-40.11228 -2.816768)'))) / (select extract(epoch from '2026-07-08 18:47:19'::timestamp) - extract(epoch from '2026-07-08 18:47: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'), 47631, 'SRID=4674;POINT (-40.112207 -2.816811)', '2026-07-08 18:47:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11228 -2.816768)'), GeomFromEWKT('SRID=4674;POINT (-40.112207 -2.816811)'))) / (select extract(epoch from '2026-07-08 18:47:41'::timestamp) - extract(epoch from '2026-07-08 18:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11228 -2.816768)'), GeomFromEWKT('SRID=4674;POINT (-40.112207 -2.816811)'))) / (select extract(epoch from '2026-07-08 18:47:41'::timestamp) - extract(epoch from '2026-07-08 18:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112184 -2.81682)', '2026-07-08 18:47:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112207 -2.816811)'), GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.81682)'))) / (select extract(epoch from '2026-07-08 18:47:49'::timestamp) - extract(epoch from '2026-07-08 18:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112207 -2.816811)'), GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.81682)'))) / (select extract(epoch from '2026-07-08 18:47:49'::timestamp) - extract(epoch from '2026-07-08 18:47: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'), 47631, 'SRID=4674;POINT (-40.112128 -2.816838)', '2026-07-08 18:48:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.81682)'), GeomFromEWKT('SRID=4674;POINT (-40.112128 -2.816838)'))) / (select extract(epoch from '2026-07-08 18:48:02'::timestamp) - extract(epoch from '2026-07-08 18:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.81682)'), GeomFromEWKT('SRID=4674;POINT (-40.112128 -2.816838)'))) / (select extract(epoch from '2026-07-08 18:48:02'::timestamp) - extract(epoch from '2026-07-08 18:47: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'), 47631, 'SRID=4674;POINT (-40.112068 -2.816857)', '2026-07-08 18:48:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112128 -2.816838)'), GeomFromEWKT('SRID=4674;POINT (-40.112068 -2.816857)'))) / (select extract(epoch from '2026-07-08 18:48:15'::timestamp) - extract(epoch from '2026-07-08 18:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112128 -2.816838)'), GeomFromEWKT('SRID=4674;POINT (-40.112068 -2.816857)'))) / (select extract(epoch from '2026-07-08 18:48:15'::timestamp) - extract(epoch from '2026-07-08 18:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112048 -2.816911)', '2026-07-08 18:48:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112068 -2.816857)'), GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.816911)'))) / (select extract(epoch from '2026-07-08 18:48:37'::timestamp) - extract(epoch from '2026-07-08 18:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112068 -2.816857)'), GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.816911)'))) / (select extract(epoch from '2026-07-08 18:48:37'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.112044 -2.816916)', '2026-07-08 18:48:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.816911)'), GeomFromEWKT('SRID=4674;POINT (-40.112044 -2.816916)'))) / (select extract(epoch from '2026-07-08 18:48:51'::timestamp) - extract(epoch from '2026-07-08 18:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112048 -2.816911)'), GeomFromEWKT('SRID=4674;POINT (-40.112044 -2.816916)'))) / (select extract(epoch from '2026-07-08 18:48:51'::timestamp) - extract(epoch from '2026-07-08 18:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111969 -2.81694)', '2026-07-08 18:49:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112044 -2.816916)'), GeomFromEWKT('SRID=4674;POINT (-40.111969 -2.81694)'))) / (select extract(epoch from '2026-07-08 18:49:05'::timestamp) - extract(epoch from '2026-07-08 18:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112044 -2.816916)'), GeomFromEWKT('SRID=4674;POINT (-40.111969 -2.81694)'))) / (select extract(epoch from '2026-07-08 18:49:05'::timestamp) - extract(epoch from '2026-07-08 18:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11189 -2.816962)', '2026-07-08 18:49:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111969 -2.81694)'), GeomFromEWKT('SRID=4674;POINT (-40.11189 -2.816962)'))) / (select extract(epoch from '2026-07-08 18:49:20'::timestamp) - extract(epoch from '2026-07-08 18:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111969 -2.81694)'), GeomFromEWKT('SRID=4674;POINT (-40.11189 -2.816962)'))) / (select extract(epoch from '2026-07-08 18:49:20'::timestamp) - extract(epoch from '2026-07-08 18:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111855 -2.816974)', '2026-07-08 18:49:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11189 -2.816962)'), GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.816974)'))) / (select extract(epoch from '2026-07-08 18:49:32'::timestamp) - extract(epoch from '2026-07-08 18:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11189 -2.816962)'), GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.816974)'))) / (select extract(epoch from '2026-07-08 18:49:32'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.111823 -2.816986)', '2026-07-08 18:49:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.816974)'), GeomFromEWKT('SRID=4674;POINT (-40.111823 -2.816986)'))) / (select extract(epoch from '2026-07-08 18:49:40'::timestamp) - extract(epoch from '2026-07-08 18:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.816974)'), GeomFromEWKT('SRID=4674;POINT (-40.111823 -2.816986)'))) / (select extract(epoch from '2026-07-08 18:49:40'::timestamp) - extract(epoch from '2026-07-08 18:49: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'), 47631, 'SRID=4674;POINT (-40.111773 -2.816964)', '2026-07-08 18:49:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111823 -2.816986)'), GeomFromEWKT('SRID=4674;POINT (-40.111773 -2.816964)'))) / (select extract(epoch from '2026-07-08 18:49:51'::timestamp) - extract(epoch from '2026-07-08 18:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111823 -2.816986)'), GeomFromEWKT('SRID=4674;POINT (-40.111773 -2.816964)'))) / (select extract(epoch from '2026-07-08 18:49:51'::timestamp) - extract(epoch from '2026-07-08 18:49: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'), 47631, 'SRID=4674;POINT (-40.111752 -2.816963)', '2026-07-08 18:50:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111773 -2.816964)'), GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.816963)'))) / (select extract(epoch from '2026-07-08 18:50:04'::timestamp) - extract(epoch from '2026-07-08 18:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111773 -2.816964)'), GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.816963)'))) / (select extract(epoch from '2026-07-08 18:50:04'::timestamp) - extract(epoch from '2026-07-08 18:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111721 -2.817022)', '2026-07-08 18:50:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.816963)'), GeomFromEWKT('SRID=4674;POINT (-40.111721 -2.817022)'))) / (select extract(epoch from '2026-07-08 18:50:13'::timestamp) - extract(epoch from '2026-07-08 18:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.816963)'), GeomFromEWKT('SRID=4674;POINT (-40.111721 -2.817022)'))) / (select extract(epoch from '2026-07-08 18:50:13'::timestamp) - extract(epoch from '2026-07-08 18:50: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'), 47631, 'SRID=4674;POINT (-40.111673 -2.817068)', '2026-07-08 18:50:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111721 -2.817022)'), GeomFromEWKT('SRID=4674;POINT (-40.111673 -2.817068)'))) / (select extract(epoch from '2026-07-08 18:50:27'::timestamp) - extract(epoch from '2026-07-08 18:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111721 -2.817022)'), GeomFromEWKT('SRID=4674;POINT (-40.111673 -2.817068)'))) / (select extract(epoch from '2026-07-08 18:50:27'::timestamp) - extract(epoch from '2026-07-08 18:50: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'), 47631, 'SRID=4674;POINT (-40.111638 -2.817127)', '2026-07-08 18:50:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111673 -2.817068)'), GeomFromEWKT('SRID=4674;POINT (-40.111638 -2.817127)'))) / (select extract(epoch from '2026-07-08 18:50:43'::timestamp) - extract(epoch from '2026-07-08 18:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111673 -2.817068)'), GeomFromEWKT('SRID=4674;POINT (-40.111638 -2.817127)'))) / (select extract(epoch from '2026-07-08 18:50:43'::timestamp) - extract(epoch from '2026-07-08 18:50: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'), 47631, 'SRID=4674;POINT (-40.111569 -2.817112)', '2026-07-08 18:50:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111638 -2.817127)'), GeomFromEWKT('SRID=4674;POINT (-40.111569 -2.817112)'))) / (select extract(epoch from '2026-07-08 18:50:56'::timestamp) - extract(epoch from '2026-07-08 18:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111638 -2.817127)'), GeomFromEWKT('SRID=4674;POINT (-40.111569 -2.817112)'))) / (select extract(epoch from '2026-07-08 18:50:56'::timestamp) - extract(epoch from '2026-07-08 18:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111552 -2.817089)', '2026-07-08 18:51:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111569 -2.817112)'), GeomFromEWKT('SRID=4674;POINT (-40.111552 -2.817089)'))) / (select extract(epoch from '2026-07-08 18:51:07'::timestamp) - extract(epoch from '2026-07-08 18:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111569 -2.817112)'), GeomFromEWKT('SRID=4674;POINT (-40.111552 -2.817089)'))) / (select extract(epoch from '2026-07-08 18:51:07'::timestamp) - extract(epoch from '2026-07-08 18:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111529 -2.817157)', '2026-07-08 18:51:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111552 -2.817089)'), GeomFromEWKT('SRID=4674;POINT (-40.111529 -2.817157)'))) / (select extract(epoch from '2026-07-08 18:51:28'::timestamp) - extract(epoch from '2026-07-08 18:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111552 -2.817089)'), GeomFromEWKT('SRID=4674;POINT (-40.111529 -2.817157)'))) / (select extract(epoch from '2026-07-08 18:51:28'::timestamp) - extract(epoch from '2026-07-08 18:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111468 -2.817163)', '2026-07-08 18:51:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111529 -2.817157)'), GeomFromEWKT('SRID=4674;POINT (-40.111468 -2.817163)'))) / (select extract(epoch from '2026-07-08 18:51:45'::timestamp) - extract(epoch from '2026-07-08 18:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111529 -2.817157)'), GeomFromEWKT('SRID=4674;POINT (-40.111468 -2.817163)'))) / (select extract(epoch from '2026-07-08 18:51:45'::timestamp) - extract(epoch from '2026-07-08 18:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111409 -2.81715)', '2026-07-08 18:51:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111468 -2.817163)'), GeomFromEWKT('SRID=4674;POINT (-40.111409 -2.81715)'))) / (select extract(epoch from '2026-07-08 18:51:59'::timestamp) - extract(epoch from '2026-07-08 18:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111468 -2.817163)'), GeomFromEWKT('SRID=4674;POINT (-40.111409 -2.81715)'))) / (select extract(epoch from '2026-07-08 18:51:59'::timestamp) - extract(epoch from '2026-07-08 18:51: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'), 47631, 'SRID=4674;POINT (-40.11133 -2.817141)', '2026-07-08 18:52:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111409 -2.81715)'), GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.817141)'))) / (select extract(epoch from '2026-07-08 18:52:13'::timestamp) - extract(epoch from '2026-07-08 18:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111409 -2.81715)'), GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.817141)'))) / (select extract(epoch from '2026-07-08 18:52:13'::timestamp) - extract(epoch from '2026-07-08 18:51: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'), 47631, 'SRID=4674;POINT (-40.111314 -2.817139)', '2026-07-08 18:52:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.817141)'), GeomFromEWKT('SRID=4674;POINT (-40.111314 -2.817139)'))) / (select extract(epoch from '2026-07-08 18:52:24'::timestamp) - extract(epoch from '2026-07-08 18:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.817141)'), GeomFromEWKT('SRID=4674;POINT (-40.111314 -2.817139)'))) / (select extract(epoch from '2026-07-08 18:52:24'::timestamp) - extract(epoch from '2026-07-08 18:52: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'), 47631, 'SRID=4674;POINT (-40.111354 -2.817116)', '2026-07-08 18:52:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111314 -2.817139)'), GeomFromEWKT('SRID=4674;POINT (-40.111354 -2.817116)'))) / (select extract(epoch from '2026-07-08 18:52:55'::timestamp) - extract(epoch from '2026-07-08 18:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111314 -2.817139)'), GeomFromEWKT('SRID=4674;POINT (-40.111354 -2.817116)'))) / (select extract(epoch from '2026-07-08 18:52:55'::timestamp) - extract(epoch from '2026-07-08 18:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111456 -2.817074)', '2026-07-08 18:53:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111354 -2.817116)'), GeomFromEWKT('SRID=4674;POINT (-40.111456 -2.817074)'))) / (select extract(epoch from '2026-07-08 18:53:04'::timestamp) - extract(epoch from '2026-07-08 18:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111354 -2.817116)'), GeomFromEWKT('SRID=4674;POINT (-40.111456 -2.817074)'))) / (select extract(epoch from '2026-07-08 18:53:04'::timestamp) - extract(epoch from '2026-07-08 18:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111582 -2.817079)', '2026-07-08 18:53:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111456 -2.817074)'), GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.817079)'))) / (select extract(epoch from '2026-07-08 18:53:13'::timestamp) - extract(epoch from '2026-07-08 18:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111456 -2.817074)'), GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.817079)'))) / (select extract(epoch from '2026-07-08 18:53:13'::timestamp) - extract(epoch from '2026-07-08 18:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111701 -2.817107)', '2026-07-08 18:53:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.817079)'), GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.817107)'))) / (select extract(epoch from '2026-07-08 18:53:21'::timestamp) - extract(epoch from '2026-07-08 18:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.817079)'), GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.817107)'))) / (select extract(epoch from '2026-07-08 18:53:21'::timestamp) - extract(epoch from '2026-07-08 18:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11184 -2.817116)', '2026-07-08 18:53:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.817107)'), GeomFromEWKT('SRID=4674;POINT (-40.11184 -2.817116)'))) / (select extract(epoch from '2026-07-08 18:53:30'::timestamp) - extract(epoch from '2026-07-08 18:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.817107)'), GeomFromEWKT('SRID=4674;POINT (-40.11184 -2.817116)'))) / (select extract(epoch from '2026-07-08 18:53:30'::timestamp) - extract(epoch from '2026-07-08 18:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111988 -2.81711)', '2026-07-08 18:53:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11184 -2.817116)'), GeomFromEWKT('SRID=4674;POINT (-40.111988 -2.81711)'))) / (select extract(epoch from '2026-07-08 18:53:39'::timestamp) - extract(epoch from '2026-07-08 18:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11184 -2.817116)'), GeomFromEWKT('SRID=4674;POINT (-40.111988 -2.81711)'))) / (select extract(epoch from '2026-07-08 18:53:39'::timestamp) - extract(epoch from '2026-07-08 18:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112157 -2.817094)', '2026-07-08 18:53:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111988 -2.81711)'), GeomFromEWKT('SRID=4674;POINT (-40.112157 -2.817094)'))) / (select extract(epoch from '2026-07-08 18:53:50'::timestamp) - extract(epoch from '2026-07-08 18:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111988 -2.81711)'), GeomFromEWKT('SRID=4674;POINT (-40.112157 -2.817094)'))) / (select extract(epoch from '2026-07-08 18:53:50'::timestamp) - extract(epoch from '2026-07-08 18:53: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'), 47631, 'SRID=4674;POINT (-40.112304 -2.817091)', '2026-07-08 18:54:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112157 -2.817094)'), GeomFromEWKT('SRID=4674;POINT (-40.112304 -2.817091)'))) / (select extract(epoch from '2026-07-08 18:54:00'::timestamp) - extract(epoch from '2026-07-08 18:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112157 -2.817094)'), GeomFromEWKT('SRID=4674;POINT (-40.112304 -2.817091)'))) / (select extract(epoch from '2026-07-08 18:54:00'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.112401 -2.817146)', '2026-07-08 18:54:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112304 -2.817091)'), GeomFromEWKT('SRID=4674;POINT (-40.112401 -2.817146)'))) / (select extract(epoch from '2026-07-08 18:54:08'::timestamp) - extract(epoch from '2026-07-08 18:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112304 -2.817091)'), GeomFromEWKT('SRID=4674;POINT (-40.112401 -2.817146)'))) / (select extract(epoch from '2026-07-08 18:54:08'::timestamp) - extract(epoch from '2026-07-08 18:54: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'), 47631, 'SRID=4674;POINT (-40.112542 -2.817205)', '2026-07-08 18:54:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112401 -2.817146)'), GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.817205)'))) / (select extract(epoch from '2026-07-08 18:54:18'::timestamp) - extract(epoch from '2026-07-08 18:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112401 -2.817146)'), GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.817205)'))) / (select extract(epoch from '2026-07-08 18:54:18'::timestamp) - extract(epoch from '2026-07-08 18:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
