 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143145 -2.816737)', '2026-06-20 17:43:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143082 -2.816653)'), GeomFromEWKT('SRID=4674;POINT (-40.143145 -2.816737)'))) / (select extract(epoch from '2026-06-20 17:43:55'::timestamp) - extract(epoch from '2026-06-20 17:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143082 -2.816653)'), GeomFromEWKT('SRID=4674;POINT (-40.143145 -2.816737)'))) / (select extract(epoch from '2026-06-20 17:43:55'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.143189 -2.8168)', '2026-06-20 17:44:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143145 -2.816737)'), GeomFromEWKT('SRID=4674;POINT (-40.143189 -2.8168)'))) / (select extract(epoch from '2026-06-20 17:44:09'::timestamp) - extract(epoch from '2026-06-20 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143145 -2.816737)'), GeomFromEWKT('SRID=4674;POINT (-40.143189 -2.8168)'))) / (select extract(epoch from '2026-06-20 17:44:09'::timestamp) - extract(epoch from '2026-06-20 17:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143269 -2.816893)', '2026-06-20 17:44:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143189 -2.8168)'), GeomFromEWKT('SRID=4674;POINT (-40.143269 -2.816893)'))) / (select extract(epoch from '2026-06-20 17:44:27'::timestamp) - extract(epoch from '2026-06-20 17:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143189 -2.8168)'), GeomFromEWKT('SRID=4674;POINT (-40.143269 -2.816893)'))) / (select extract(epoch from '2026-06-20 17:44:27'::timestamp) - extract(epoch from '2026-06-20 17:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14332 -2.816975)', '2026-06-20 17:44:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143269 -2.816893)'), GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.816975)'))) / (select extract(epoch from '2026-06-20 17:44:43'::timestamp) - extract(epoch from '2026-06-20 17:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143269 -2.816893)'), GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.816975)'))) / (select extract(epoch from '2026-06-20 17:44:43'::timestamp) - extract(epoch from '2026-06-20 17:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14337 -2.817059)', '2026-06-20 17:44:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.816975)'), GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.817059)'))) / (select extract(epoch from '2026-06-20 17:44:58'::timestamp) - extract(epoch from '2026-06-20 17:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.816975)'), GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.817059)'))) / (select extract(epoch from '2026-06-20 17:44:58'::timestamp) - extract(epoch from '2026-06-20 17:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14341 -2.817116)', '2026-06-20 17:45:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.817059)'), GeomFromEWKT('SRID=4674;POINT (-40.14341 -2.817116)'))) / (select extract(epoch from '2026-06-20 17:45:12'::timestamp) - extract(epoch from '2026-06-20 17:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.817059)'), GeomFromEWKT('SRID=4674;POINT (-40.14341 -2.817116)'))) / (select extract(epoch from '2026-06-20 17:45:12'::timestamp) - extract(epoch from '2026-06-20 17:44: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'), 46705, 'SRID=4674;POINT (-40.1434 -2.817035)', '2026-06-20 17:49:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14341 -2.817116)'), GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.817035)'))) / (select extract(epoch from '2026-06-20 17:49:40'::timestamp) - extract(epoch from '2026-06-20 17:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14341 -2.817116)'), GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.817035)'))) / (select extract(epoch from '2026-06-20 17:49:40'::timestamp) - extract(epoch from '2026-06-20 17:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14338 -2.817007)', '2026-06-20 17:49:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.817035)'), GeomFromEWKT('SRID=4674;POINT (-40.14338 -2.817007)'))) / (select extract(epoch from '2026-06-20 17:49:53'::timestamp) - extract(epoch from '2026-06-20 17:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.817035)'), GeomFromEWKT('SRID=4674;POINT (-40.14338 -2.817007)'))) / (select extract(epoch from '2026-06-20 17:49:53'::timestamp) - extract(epoch from '2026-06-20 17: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'), 46705, 'SRID=4674;POINT (-40.143401 -2.817052)', '2026-06-20 17:50:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14338 -2.817007)'), GeomFromEWKT('SRID=4674;POINT (-40.143401 -2.817052)'))) / (select extract(epoch from '2026-06-20 17:50:08'::timestamp) - extract(epoch from '2026-06-20 17:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14338 -2.817007)'), GeomFromEWKT('SRID=4674;POINT (-40.143401 -2.817052)'))) / (select extract(epoch from '2026-06-20 17:50:08'::timestamp) - extract(epoch from '2026-06-20 17:49: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'), 46705, 'SRID=4674;POINT (-40.143477 -2.817094)', '2026-06-20 17:50:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143401 -2.817052)'), GeomFromEWKT('SRID=4674;POINT (-40.143477 -2.817094)'))) / (select extract(epoch from '2026-06-20 17:50:19'::timestamp) - extract(epoch from '2026-06-20 17:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143401 -2.817052)'), GeomFromEWKT('SRID=4674;POINT (-40.143477 -2.817094)'))) / (select extract(epoch from '2026-06-20 17:50:19'::timestamp) - extract(epoch from '2026-06-20 17:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143555 -2.81713)', '2026-06-20 17:50:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143477 -2.817094)'), GeomFromEWKT('SRID=4674;POINT (-40.143555 -2.81713)'))) / (select extract(epoch from '2026-06-20 17:50:32'::timestamp) - extract(epoch from '2026-06-20 17:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143477 -2.817094)'), GeomFromEWKT('SRID=4674;POINT (-40.143555 -2.81713)'))) / (select extract(epoch from '2026-06-20 17:50:32'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.143642 -2.817161)', '2026-06-20 17:50:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143555 -2.81713)'), GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.817161)'))) / (select extract(epoch from '2026-06-20 17:50:49'::timestamp) - extract(epoch from '2026-06-20 17:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143555 -2.81713)'), GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.817161)'))) / (select extract(epoch from '2026-06-20 17:50:49'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.143745 -2.8172)', '2026-06-20 17:51:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.817161)'), GeomFromEWKT('SRID=4674;POINT (-40.143745 -2.8172)'))) / (select extract(epoch from '2026-06-20 17:51:08'::timestamp) - extract(epoch from '2026-06-20 17:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.817161)'), GeomFromEWKT('SRID=4674;POINT (-40.143745 -2.8172)'))) / (select extract(epoch from '2026-06-20 17:51:08'::timestamp) - extract(epoch from '2026-06-20 17:50: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'), 46705, 'SRID=4674;POINT (-40.143828 -2.817247)', '2026-06-20 17:51:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143745 -2.8172)'), GeomFromEWKT('SRID=4674;POINT (-40.143828 -2.817247)'))) / (select extract(epoch from '2026-06-20 17:51:24'::timestamp) - extract(epoch from '2026-06-20 17:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143745 -2.8172)'), GeomFromEWKT('SRID=4674;POINT (-40.143828 -2.817247)'))) / (select extract(epoch from '2026-06-20 17:51:24'::timestamp) - extract(epoch from '2026-06-20 17:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143925 -2.817281)', '2026-06-20 17:51:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143828 -2.817247)'), GeomFromEWKT('SRID=4674;POINT (-40.143925 -2.817281)'))) / (select extract(epoch from '2026-06-20 17:51:42'::timestamp) - extract(epoch from '2026-06-20 17:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143828 -2.817247)'), GeomFromEWKT('SRID=4674;POINT (-40.143925 -2.817281)'))) / (select extract(epoch from '2026-06-20 17:51:42'::timestamp) - extract(epoch from '2026-06-20 17:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144004 -2.817304)', '2026-06-20 17:51:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143925 -2.817281)'), GeomFromEWKT('SRID=4674;POINT (-40.144004 -2.817304)'))) / (select extract(epoch from '2026-06-20 17:51:59'::timestamp) - extract(epoch from '2026-06-20 17:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143925 -2.817281)'), GeomFromEWKT('SRID=4674;POINT (-40.144004 -2.817304)'))) / (select extract(epoch from '2026-06-20 17:51:59'::timestamp) - extract(epoch from '2026-06-20 17:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144107 -2.817333)', '2026-06-20 17:52:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144004 -2.817304)'), GeomFromEWKT('SRID=4674;POINT (-40.144107 -2.817333)'))) / (select extract(epoch from '2026-06-20 17:52:16'::timestamp) - extract(epoch from '2026-06-20 17:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144004 -2.817304)'), GeomFromEWKT('SRID=4674;POINT (-40.144107 -2.817333)'))) / (select extract(epoch from '2026-06-20 17:52:16'::timestamp) - extract(epoch from '2026-06-20 17: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'), 46705, 'SRID=4674;POINT (-40.144189 -2.817355)', '2026-06-20 17:52:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144107 -2.817333)'), GeomFromEWKT('SRID=4674;POINT (-40.144189 -2.817355)'))) / (select extract(epoch from '2026-06-20 17:52:31'::timestamp) - extract(epoch from '2026-06-20 17:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144107 -2.817333)'), GeomFromEWKT('SRID=4674;POINT (-40.144189 -2.817355)'))) / (select extract(epoch from '2026-06-20 17:52:31'::timestamp) - extract(epoch from '2026-06-20 17:52: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'), 46705, 'SRID=4674;POINT (-40.144272 -2.817415)', '2026-06-20 17:52:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144189 -2.817355)'), GeomFromEWKT('SRID=4674;POINT (-40.144272 -2.817415)'))) / (select extract(epoch from '2026-06-20 17:52:48'::timestamp) - extract(epoch from '2026-06-20 17:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144189 -2.817355)'), GeomFromEWKT('SRID=4674;POINT (-40.144272 -2.817415)'))) / (select extract(epoch from '2026-06-20 17:52:48'::timestamp) - extract(epoch from '2026-06-20 17:52: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'), 46705, 'SRID=4674;POINT (-40.144374 -2.817461)', '2026-06-20 17:53:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144272 -2.817415)'), GeomFromEWKT('SRID=4674;POINT (-40.144374 -2.817461)'))) / (select extract(epoch from '2026-06-20 17:53:07'::timestamp) - extract(epoch from '2026-06-20 17:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144272 -2.817415)'), GeomFromEWKT('SRID=4674;POINT (-40.144374 -2.817461)'))) / (select extract(epoch from '2026-06-20 17:53:07'::timestamp) - extract(epoch from '2026-06-20 17:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144453 -2.817483)', '2026-06-20 17:53:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144374 -2.817461)'), GeomFromEWKT('SRID=4674;POINT (-40.144453 -2.817483)'))) / (select extract(epoch from '2026-06-20 17:53:22'::timestamp) - extract(epoch from '2026-06-20 17:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144374 -2.817461)'), GeomFromEWKT('SRID=4674;POINT (-40.144453 -2.817483)'))) / (select extract(epoch from '2026-06-20 17:53:22'::timestamp) - extract(epoch from '2026-06-20 17:53: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'), 46705, 'SRID=4674;POINT (-40.144518 -2.817504)', '2026-06-20 17:53:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144453 -2.817483)'), GeomFromEWKT('SRID=4674;POINT (-40.144518 -2.817504)'))) / (select extract(epoch from '2026-06-20 17:53:38'::timestamp) - extract(epoch from '2026-06-20 17:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144453 -2.817483)'), GeomFromEWKT('SRID=4674;POINT (-40.144518 -2.817504)'))) / (select extract(epoch from '2026-06-20 17:53:38'::timestamp) - extract(epoch from '2026-06-20 17:53: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'), 46705, 'SRID=4674;POINT (-40.1446 -2.817557)', '2026-06-20 17:53:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144518 -2.817504)'), GeomFromEWKT('SRID=4674;POINT (-40.1446 -2.817557)'))) / (select extract(epoch from '2026-06-20 17:53:51'::timestamp) - extract(epoch from '2026-06-20 17:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144518 -2.817504)'), GeomFromEWKT('SRID=4674;POINT (-40.1446 -2.817557)'))) / (select extract(epoch from '2026-06-20 17:53:51'::timestamp) - extract(epoch from '2026-06-20 17: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'), 46705, 'SRID=4674;POINT (-40.144712 -2.817616)', '2026-06-20 17:54:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1446 -2.817557)'), GeomFromEWKT('SRID=4674;POINT (-40.144712 -2.817616)'))) / (select extract(epoch from '2026-06-20 17:54:10'::timestamp) - extract(epoch from '2026-06-20 17:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1446 -2.817557)'), GeomFromEWKT('SRID=4674;POINT (-40.144712 -2.817616)'))) / (select extract(epoch from '2026-06-20 17:54:10'::timestamp) - extract(epoch from '2026-06-20 17:53: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'), 46705, 'SRID=4674;POINT (-40.14481 -2.817672)', '2026-06-20 17:54:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144712 -2.817616)'), GeomFromEWKT('SRID=4674;POINT (-40.14481 -2.817672)'))) / (select extract(epoch from '2026-06-20 17:54:27'::timestamp) - extract(epoch from '2026-06-20 17:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144712 -2.817616)'), GeomFromEWKT('SRID=4674;POINT (-40.14481 -2.817672)'))) / (select extract(epoch from '2026-06-20 17:54:27'::timestamp) - extract(epoch from '2026-06-20 17:54: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'), 46705, 'SRID=4674;POINT (-40.144902 -2.817723)', '2026-06-20 17:54:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14481 -2.817672)'), GeomFromEWKT('SRID=4674;POINT (-40.144902 -2.817723)'))) / (select extract(epoch from '2026-06-20 17:54:44'::timestamp) - extract(epoch from '2026-06-20 17:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14481 -2.817672)'), GeomFromEWKT('SRID=4674;POINT (-40.144902 -2.817723)'))) / (select extract(epoch from '2026-06-20 17:54:44'::timestamp) - extract(epoch from '2026-06-20 17:54: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'), 46705, 'SRID=4674;POINT (-40.1449 -2.817743)', '2026-06-20 17:54:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144902 -2.817723)'), GeomFromEWKT('SRID=4674;POINT (-40.1449 -2.817743)'))) / (select extract(epoch from '2026-06-20 17:54:54'::timestamp) - extract(epoch from '2026-06-20 17:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144902 -2.817723)'), GeomFromEWKT('SRID=4674;POINT (-40.1449 -2.817743)'))) / (select extract(epoch from '2026-06-20 17:54:54'::timestamp) - extract(epoch from '2026-06-20 17: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'), 46705, 'SRID=4674;POINT (-40.144828 -2.817701)', '2026-06-20 18:09:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1449 -2.817743)'), GeomFromEWKT('SRID=4674;POINT (-40.144828 -2.817701)'))) / (select extract(epoch from '2026-06-20 18:09:35'::timestamp) - extract(epoch from '2026-06-20 17:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1449 -2.817743)'), GeomFromEWKT('SRID=4674;POINT (-40.144828 -2.817701)'))) / (select extract(epoch from '2026-06-20 18:09:35'::timestamp) - extract(epoch from '2026-06-20 17:54: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'), 46705, 'SRID=4674;POINT (-40.144857 -2.817717)', '2026-06-20 18:10:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144828 -2.817701)'), GeomFromEWKT('SRID=4674;POINT (-40.144857 -2.817717)'))) / (select extract(epoch from '2026-06-20 18:10:05'::timestamp) - extract(epoch from '2026-06-20 18:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144828 -2.817701)'), GeomFromEWKT('SRID=4674;POINT (-40.144857 -2.817717)'))) / (select extract(epoch from '2026-06-20 18:10:05'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.144929 -2.817761)', '2026-06-20 18:10:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144857 -2.817717)'), GeomFromEWKT('SRID=4674;POINT (-40.144929 -2.817761)'))) / (select extract(epoch from '2026-06-20 18:10:18'::timestamp) - extract(epoch from '2026-06-20 18:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144857 -2.817717)'), GeomFromEWKT('SRID=4674;POINT (-40.144929 -2.817761)'))) / (select extract(epoch from '2026-06-20 18:10:18'::timestamp) - extract(epoch from '2026-06-20 18:10: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'), 46705, 'SRID=4674;POINT (-40.145031 -2.817868)', '2026-06-20 18:10:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144929 -2.817761)'), GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.817868)'))) / (select extract(epoch from '2026-06-20 18:10:38'::timestamp) - extract(epoch from '2026-06-20 18:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144929 -2.817761)'), GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.817868)'))) / (select extract(epoch from '2026-06-20 18:10:38'::timestamp) - extract(epoch from '2026-06-20 18:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145095 -2.817922)', '2026-06-20 18:10:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.817868)'), GeomFromEWKT('SRID=4674;POINT (-40.145095 -2.817922)'))) / (select extract(epoch from '2026-06-20 18:10:49'::timestamp) - extract(epoch from '2026-06-20 18:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.817868)'), GeomFromEWKT('SRID=4674;POINT (-40.145095 -2.817922)'))) / (select extract(epoch from '2026-06-20 18:10:49'::timestamp) - extract(epoch from '2026-06-20 18:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145171 -2.817971)', '2026-06-20 18:11:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145095 -2.817922)'), GeomFromEWKT('SRID=4674;POINT (-40.145171 -2.817971)'))) / (select extract(epoch from '2026-06-20 18:11:00'::timestamp) - extract(epoch from '2026-06-20 18:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145095 -2.817922)'), GeomFromEWKT('SRID=4674;POINT (-40.145171 -2.817971)'))) / (select extract(epoch from '2026-06-20 18:11:00'::timestamp) - extract(epoch from '2026-06-20 18:10: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'), 46705, 'SRID=4674;POINT (-40.145211 -2.818028)', '2026-06-20 18:11:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145171 -2.817971)'), GeomFromEWKT('SRID=4674;POINT (-40.145211 -2.818028)'))) / (select extract(epoch from '2026-06-20 18:11:09'::timestamp) - extract(epoch from '2026-06-20 18:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145171 -2.817971)'), GeomFromEWKT('SRID=4674;POINT (-40.145211 -2.818028)'))) / (select extract(epoch from '2026-06-20 18:11:09'::timestamp) - extract(epoch from '2026-06-20 18:11: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'), 46705, 'SRID=4674;POINT (-40.145264 -2.818082)', '2026-06-20 18:11:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145211 -2.818028)'), GeomFromEWKT('SRID=4674;POINT (-40.145264 -2.818082)'))) / (select extract(epoch from '2026-06-20 18:11:23'::timestamp) - extract(epoch from '2026-06-20 18:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145211 -2.818028)'), GeomFromEWKT('SRID=4674;POINT (-40.145264 -2.818082)'))) / (select extract(epoch from '2026-06-20 18:11:23'::timestamp) - extract(epoch from '2026-06-20 18:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145309 -2.818103)', '2026-06-20 18:11:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145264 -2.818082)'), GeomFromEWKT('SRID=4674;POINT (-40.145309 -2.818103)'))) / (select extract(epoch from '2026-06-20 18:11:32'::timestamp) - extract(epoch from '2026-06-20 18:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145264 -2.818082)'), GeomFromEWKT('SRID=4674;POINT (-40.145309 -2.818103)'))) / (select extract(epoch from '2026-06-20 18:11:32'::timestamp) - extract(epoch from '2026-06-20 18:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145369 -2.818157)', '2026-06-20 18:11:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145309 -2.818103)'), GeomFromEWKT('SRID=4674;POINT (-40.145369 -2.818157)'))) / (select extract(epoch from '2026-06-20 18:11:44'::timestamp) - extract(epoch from '2026-06-20 18:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145309 -2.818103)'), GeomFromEWKT('SRID=4674;POINT (-40.145369 -2.818157)'))) / (select extract(epoch from '2026-06-20 18:11:44'::timestamp) - extract(epoch from '2026-06-20 18:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145409 -2.818198)', '2026-06-20 18:11:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145369 -2.818157)'), GeomFromEWKT('SRID=4674;POINT (-40.145409 -2.818198)'))) / (select extract(epoch from '2026-06-20 18:11:53'::timestamp) - extract(epoch from '2026-06-20 18:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145369 -2.818157)'), GeomFromEWKT('SRID=4674;POINT (-40.145409 -2.818198)'))) / (select extract(epoch from '2026-06-20 18:11:53'::timestamp) - extract(epoch from '2026-06-20 18:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145431 -2.818224)', '2026-06-20 18:12:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145409 -2.818198)'), GeomFromEWKT('SRID=4674;POINT (-40.145431 -2.818224)'))) / (select extract(epoch from '2026-06-20 18:12:00'::timestamp) - extract(epoch from '2026-06-20 18:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145409 -2.818198)'), GeomFromEWKT('SRID=4674;POINT (-40.145431 -2.818224)'))) / (select extract(epoch from '2026-06-20 18:12:00'::timestamp) - extract(epoch from '2026-06-20 18:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145479 -2.818252)', '2026-06-20 18:12:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145431 -2.818224)'), GeomFromEWKT('SRID=4674;POINT (-40.145479 -2.818252)'))) / (select extract(epoch from '2026-06-20 18:12:09'::timestamp) - extract(epoch from '2026-06-20 18:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145431 -2.818224)'), GeomFromEWKT('SRID=4674;POINT (-40.145479 -2.818252)'))) / (select extract(epoch from '2026-06-20 18:12:09'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.145526 -2.818263)', '2026-06-20 18:12:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145479 -2.818252)'), GeomFromEWKT('SRID=4674;POINT (-40.145526 -2.818263)'))) / (select extract(epoch from '2026-06-20 18:12:17'::timestamp) - extract(epoch from '2026-06-20 18:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145479 -2.818252)'), GeomFromEWKT('SRID=4674;POINT (-40.145526 -2.818263)'))) / (select extract(epoch from '2026-06-20 18:12:17'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.145558 -2.818268)', '2026-06-20 18:12:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145526 -2.818263)'), GeomFromEWKT('SRID=4674;POINT (-40.145558 -2.818268)'))) / (select extract(epoch from '2026-06-20 18:12:26'::timestamp) - extract(epoch from '2026-06-20 18:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145526 -2.818263)'), GeomFromEWKT('SRID=4674;POINT (-40.145558 -2.818268)'))) / (select extract(epoch from '2026-06-20 18:12:26'::timestamp) - extract(epoch from '2026-06-20 18:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14556 -2.818283)', '2026-06-20 18:12:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145558 -2.818268)'), GeomFromEWKT('SRID=4674;POINT (-40.14556 -2.818283)'))) / (select extract(epoch from '2026-06-20 18:12:27'::timestamp) - extract(epoch from '2026-06-20 18:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145558 -2.818268)'), GeomFromEWKT('SRID=4674;POINT (-40.14556 -2.818283)'))) / (select extract(epoch from '2026-06-20 18:12:27'::timestamp) - extract(epoch from '2026-06-20 18:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145579 -2.818336)', '2026-06-20 18:12:33', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14556 -2.818283)'), GeomFromEWKT('SRID=4674;POINT (-40.145579 -2.818336)'))) / (select extract(epoch from '2026-06-20 18:12:33'::timestamp) - extract(epoch from '2026-06-20 18:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14556 -2.818283)'), GeomFromEWKT('SRID=4674;POINT (-40.145579 -2.818336)'))) / (select extract(epoch from '2026-06-20 18:12:33'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.145629 -2.818473)', '2026-06-20 18:12:45', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145579 -2.818336)'), GeomFromEWKT('SRID=4674;POINT (-40.145629 -2.818473)'))) / (select extract(epoch from '2026-06-20 18:12:45'::timestamp) - extract(epoch from '2026-06-20 18:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145579 -2.818336)'), GeomFromEWKT('SRID=4674;POINT (-40.145629 -2.818473)'))) / (select extract(epoch from '2026-06-20 18:12:45'::timestamp) - extract(epoch from '2026-06-20 18:12: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'), 46705, 'SRID=4674;POINT (-40.145608 -2.818663)', '2026-06-20 18:13:00', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145629 -2.818473)'), GeomFromEWKT('SRID=4674;POINT (-40.145608 -2.818663)'))) / (select extract(epoch from '2026-06-20 18:13:00'::timestamp) - extract(epoch from '2026-06-20 18:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145629 -2.818473)'), GeomFromEWKT('SRID=4674;POINT (-40.145608 -2.818663)'))) / (select extract(epoch from '2026-06-20 18:13:00'::timestamp) - extract(epoch from '2026-06-20 18:12: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'), 46705, 'SRID=4674;POINT (-40.145595 -2.818783)', '2026-06-20 18:13:09', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145608 -2.818663)'), GeomFromEWKT('SRID=4674;POINT (-40.145595 -2.818783)'))) / (select extract(epoch from '2026-06-20 18:13:09'::timestamp) - extract(epoch from '2026-06-20 18:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145608 -2.818663)'), GeomFromEWKT('SRID=4674;POINT (-40.145595 -2.818783)'))) / (select extract(epoch from '2026-06-20 18:13:09'::timestamp) - extract(epoch from '2026-06-20 18:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145614 -2.818891)', '2026-06-20 18:13:17', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145595 -2.818783)'), GeomFromEWKT('SRID=4674;POINT (-40.145614 -2.818891)'))) / (select extract(epoch from '2026-06-20 18:13:17'::timestamp) - extract(epoch from '2026-06-20 18:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145595 -2.818783)'), GeomFromEWKT('SRID=4674;POINT (-40.145614 -2.818891)'))) / (select extract(epoch from '2026-06-20 18:13:17'::timestamp) - extract(epoch from '2026-06-20 18:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145637 -2.819013)', '2026-06-20 18:13:26', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145614 -2.818891)'), GeomFromEWKT('SRID=4674;POINT (-40.145637 -2.819013)'))) / (select extract(epoch from '2026-06-20 18:13:26'::timestamp) - extract(epoch from '2026-06-20 18:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145614 -2.818891)'), GeomFromEWKT('SRID=4674;POINT (-40.145637 -2.819013)'))) / (select extract(epoch from '2026-06-20 18:13:26'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.145643 -2.819148)', '2026-06-20 18:13:35', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145637 -2.819013)'), GeomFromEWKT('SRID=4674;POINT (-40.145643 -2.819148)'))) / (select extract(epoch from '2026-06-20 18:13:35'::timestamp) - extract(epoch from '2026-06-20 18:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145637 -2.819013)'), GeomFromEWKT('SRID=4674;POINT (-40.145643 -2.819148)'))) / (select extract(epoch from '2026-06-20 18:13:35'::timestamp) - extract(epoch from '2026-06-20 18:13: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'), 46705, 'SRID=4674;POINT (-40.145639 -2.819302)', '2026-06-20 18:13:46', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145643 -2.819148)'), GeomFromEWKT('SRID=4674;POINT (-40.145639 -2.819302)'))) / (select extract(epoch from '2026-06-20 18:13:46'::timestamp) - extract(epoch from '2026-06-20 18:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145643 -2.819148)'), GeomFromEWKT('SRID=4674;POINT (-40.145639 -2.819302)'))) / (select extract(epoch from '2026-06-20 18:13:46'::timestamp) - extract(epoch from '2026-06-20 18:13: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'), 46705, 'SRID=4674;POINT (-40.14563 -2.819422)', '2026-06-20 18:13:55', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145639 -2.819302)'), GeomFromEWKT('SRID=4674;POINT (-40.14563 -2.819422)'))) / (select extract(epoch from '2026-06-20 18:13:55'::timestamp) - extract(epoch from '2026-06-20 18:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145639 -2.819302)'), GeomFromEWKT('SRID=4674;POINT (-40.14563 -2.819422)'))) / (select extract(epoch from '2026-06-20 18:13:55'::timestamp) - extract(epoch from '2026-06-20 18:13: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'), 46705, 'SRID=4674;POINT (-40.145618 -2.819557)', '2026-06-20 18:14:05', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14563 -2.819422)'), GeomFromEWKT('SRID=4674;POINT (-40.145618 -2.819557)'))) / (select extract(epoch from '2026-06-20 18:14:05'::timestamp) - extract(epoch from '2026-06-20 18:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14563 -2.819422)'), GeomFromEWKT('SRID=4674;POINT (-40.145618 -2.819557)'))) / (select extract(epoch from '2026-06-20 18:14:05'::timestamp) - extract(epoch from '2026-06-20 18:13: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'), 46705, 'SRID=4674;POINT (-40.145611 -2.819673)', '2026-06-20 18:14:13', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145618 -2.819557)'), GeomFromEWKT('SRID=4674;POINT (-40.145611 -2.819673)'))) / (select extract(epoch from '2026-06-20 18:14:13'::timestamp) - extract(epoch from '2026-06-20 18:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145618 -2.819557)'), GeomFromEWKT('SRID=4674;POINT (-40.145611 -2.819673)'))) / (select extract(epoch from '2026-06-20 18:14:13'::timestamp) - extract(epoch from '2026-06-20 18:14: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'), 46705, 'SRID=4674;POINT (-40.145577 -2.819768)', '2026-06-20 18:14:21', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145611 -2.819673)'), GeomFromEWKT('SRID=4674;POINT (-40.145577 -2.819768)'))) / (select extract(epoch from '2026-06-20 18:14:21'::timestamp) - extract(epoch from '2026-06-20 18:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145611 -2.819673)'), GeomFromEWKT('SRID=4674;POINT (-40.145577 -2.819768)'))) / (select extract(epoch from '2026-06-20 18:14:21'::timestamp) - extract(epoch from '2026-06-20 18:14: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'), 46705, 'SRID=4674;POINT (-40.145566 -2.819845)', '2026-06-20 18:14:29', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145577 -2.819768)'), GeomFromEWKT('SRID=4674;POINT (-40.145566 -2.819845)'))) / (select extract(epoch from '2026-06-20 18:14:29'::timestamp) - extract(epoch from '2026-06-20 18:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145577 -2.819768)'), GeomFromEWKT('SRID=4674;POINT (-40.145566 -2.819845)'))) / (select extract(epoch from '2026-06-20 18:14:29'::timestamp) - extract(epoch from '2026-06-20 18:14: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'), 46705, 'SRID=4674;POINT (-40.145524 -2.81993)', '2026-06-20 18:14:37', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145566 -2.819845)'), GeomFromEWKT('SRID=4674;POINT (-40.145524 -2.81993)'))) / (select extract(epoch from '2026-06-20 18:14:37'::timestamp) - extract(epoch from '2026-06-20 18:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145566 -2.819845)'), GeomFromEWKT('SRID=4674;POINT (-40.145524 -2.81993)'))) / (select extract(epoch from '2026-06-20 18:14:37'::timestamp) - extract(epoch from '2026-06-20 18:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145463 -2.819997)', '2026-06-20 18:14:47', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145524 -2.81993)'), GeomFromEWKT('SRID=4674;POINT (-40.145463 -2.819997)'))) / (select extract(epoch from '2026-06-20 18:14:47'::timestamp) - extract(epoch from '2026-06-20 18:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145524 -2.81993)'), GeomFromEWKT('SRID=4674;POINT (-40.145463 -2.819997)'))) / (select extract(epoch from '2026-06-20 18:14:47'::timestamp) - extract(epoch from '2026-06-20 18:14: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'), 46705, 'SRID=4674;POINT (-40.145371 -2.819996)', '2026-06-20 18:15:00', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145463 -2.819997)'), GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.819996)'))) / (select extract(epoch from '2026-06-20 18:15:00'::timestamp) - extract(epoch from '2026-06-20 18:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145463 -2.819997)'), GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.819996)'))) / (select extract(epoch from '2026-06-20 18:15:00'::timestamp) - extract(epoch from '2026-06-20 18:14: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'), 46705, 'SRID=4674;POINT (-40.145346 -2.819967)', '2026-06-20 18:15:11', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.819996)'), GeomFromEWKT('SRID=4674;POINT (-40.145346 -2.819967)'))) / (select extract(epoch from '2026-06-20 18:15:11'::timestamp) - extract(epoch from '2026-06-20 18:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145371 -2.819996)'), GeomFromEWKT('SRID=4674;POINT (-40.145346 -2.819967)'))) / (select extract(epoch from '2026-06-20 18:15:11'::timestamp) - extract(epoch from '2026-06-20 18:15: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'), 46705, 'SRID=4674;POINT (-40.145253 -2.819943)', '2026-06-20 18:15:56', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145346 -2.819967)'), GeomFromEWKT('SRID=4674;POINT (-40.145253 -2.819943)'))) / (select extract(epoch from '2026-06-20 18:15:56'::timestamp) - extract(epoch from '2026-06-20 18:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145346 -2.819967)'), GeomFromEWKT('SRID=4674;POINT (-40.145253 -2.819943)'))) / (select extract(epoch from '2026-06-20 18:15:56'::timestamp) - extract(epoch from '2026-06-20 18:15: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'), 46705, 'SRID=4674;POINT (-40.145135 -2.819934)', '2026-06-20 18:17:13', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145253 -2.819943)'), GeomFromEWKT('SRID=4674;POINT (-40.145135 -2.819934)'))) / (select extract(epoch from '2026-06-20 18:17:13'::timestamp) - extract(epoch from '2026-06-20 18:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145253 -2.819943)'), GeomFromEWKT('SRID=4674;POINT (-40.145135 -2.819934)'))) / (select extract(epoch from '2026-06-20 18:17:13'::timestamp) - extract(epoch from '2026-06-20 18:15: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'), 46705, 'SRID=4674;POINT (-40.145097 -2.819973)', '2026-06-20 18:17:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145135 -2.819934)'), GeomFromEWKT('SRID=4674;POINT (-40.145097 -2.819973)'))) / (select extract(epoch from '2026-06-20 18:17:34'::timestamp) - extract(epoch from '2026-06-20 18:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145135 -2.819934)'), GeomFromEWKT('SRID=4674;POINT (-40.145097 -2.819973)'))) / (select extract(epoch from '2026-06-20 18:17:34'::timestamp) - extract(epoch from '2026-06-20 18:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.145031 -2.819907)', '2026-06-20 18:18:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145097 -2.819973)'), GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.819907)'))) / (select extract(epoch from '2026-06-20 18:18:24'::timestamp) - extract(epoch from '2026-06-20 18:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145097 -2.819973)'), GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.819907)'))) / (select extract(epoch from '2026-06-20 18:18:24'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.145005 -2.819882)', '2026-06-20 18:18:47', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.819907)'), GeomFromEWKT('SRID=4674;POINT (-40.145005 -2.819882)'))) / (select extract(epoch from '2026-06-20 18:18:47'::timestamp) - extract(epoch from '2026-06-20 18:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145031 -2.819907)'), GeomFromEWKT('SRID=4674;POINT (-40.145005 -2.819882)'))) / (select extract(epoch from '2026-06-20 18:18:47'::timestamp) - extract(epoch from '2026-06-20 18:18: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'), 46705, 'SRID=4674;POINT (-40.144957 -2.819809)', '2026-06-20 18:20:21', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145005 -2.819882)'), GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819809)'))) / (select extract(epoch from '2026-06-20 18:20:21'::timestamp) - extract(epoch from '2026-06-20 18:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145005 -2.819882)'), GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819809)'))) / (select extract(epoch from '2026-06-20 18:20:21'::timestamp) - extract(epoch from '2026-06-20 18:18: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'), 46705, 'SRID=4674;POINT (-40.144965 -2.819899)', '2026-06-20 18:22:03', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.144965 -2.819899)'))) / (select extract(epoch from '2026-06-20 18:22:03'::timestamp) - extract(epoch from '2026-06-20 18:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.144965 -2.819899)'))) / (select extract(epoch from '2026-06-20 18:22:03'::timestamp) - extract(epoch from '2026-06-20 18:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144957 -2.819948)', '2026-06-20 18:22:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144965 -2.819899)'), GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819948)'))) / (select extract(epoch from '2026-06-20 18:22:13'::timestamp) - extract(epoch from '2026-06-20 18:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144965 -2.819899)'), GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819948)'))) / (select extract(epoch from '2026-06-20 18:22:13'::timestamp) - extract(epoch from '2026-06-20 18:22: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'), 46705, 'SRID=4674;POINT (-40.144946 -2.820011)', '2026-06-20 18:22:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819948)'), GeomFromEWKT('SRID=4674;POINT (-40.144946 -2.820011)'))) / (select extract(epoch from '2026-06-20 18:22:33'::timestamp) - extract(epoch from '2026-06-20 18:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.819948)'), GeomFromEWKT('SRID=4674;POINT (-40.144946 -2.820011)'))) / (select extract(epoch from '2026-06-20 18:22:33'::timestamp) - extract(epoch from '2026-06-20 18:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144951 -2.820062)', '2026-06-20 18:23:12', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144946 -2.820011)'), GeomFromEWKT('SRID=4674;POINT (-40.144951 -2.820062)'))) / (select extract(epoch from '2026-06-20 18:23:12'::timestamp) - extract(epoch from '2026-06-20 18:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144946 -2.820011)'), GeomFromEWKT('SRID=4674;POINT (-40.144951 -2.820062)'))) / (select extract(epoch from '2026-06-20 18:23:12'::timestamp) - extract(epoch from '2026-06-20 18:22: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'), 46705, 'SRID=4674;POINT (-40.144957 -2.820158)', '2026-06-20 18:23:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144951 -2.820062)'), GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.820158)'))) / (select extract(epoch from '2026-06-20 18:23:44'::timestamp) - extract(epoch from '2026-06-20 18:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144951 -2.820062)'), GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.820158)'))) / (select extract(epoch from '2026-06-20 18:23:44'::timestamp) - extract(epoch from '2026-06-20 18:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144948 -2.820194)', '2026-06-20 18:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.820158)'), GeomFromEWKT('SRID=4674;POINT (-40.144948 -2.820194)'))) / (select extract(epoch from '2026-06-20 18:23:58'::timestamp) - extract(epoch from '2026-06-20 18:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144957 -2.820158)'), GeomFromEWKT('SRID=4674;POINT (-40.144948 -2.820194)'))) / (select extract(epoch from '2026-06-20 18:23:58'::timestamp) - extract(epoch from '2026-06-20 18:23: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'), 46705, 'SRID=4674;POINT (-40.144901 -2.820207)', '2026-06-20 18:24:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144948 -2.820194)'), GeomFromEWKT('SRID=4674;POINT (-40.144901 -2.820207)'))) / (select extract(epoch from '2026-06-20 18:24:29'::timestamp) - extract(epoch from '2026-06-20 18:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144948 -2.820194)'), GeomFromEWKT('SRID=4674;POINT (-40.144901 -2.820207)'))) / (select extract(epoch from '2026-06-20 18:24:29'::timestamp) - extract(epoch from '2026-06-20 18:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144886 -2.820204)', '2026-06-20 18:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144901 -2.820207)'), GeomFromEWKT('SRID=4674;POINT (-40.144886 -2.820204)'))) / (select extract(epoch from '2026-06-20 18:24:40'::timestamp) - extract(epoch from '2026-06-20 18:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144901 -2.820207)'), GeomFromEWKT('SRID=4674;POINT (-40.144886 -2.820204)'))) / (select extract(epoch from '2026-06-20 18:24:40'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.144872 -2.820268)', '2026-06-20 18:27:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144886 -2.820204)'), GeomFromEWKT('SRID=4674;POINT (-40.144872 -2.820268)'))) / (select extract(epoch from '2026-06-20 18:27:09'::timestamp) - extract(epoch from '2026-06-20 18:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144886 -2.820204)'), GeomFromEWKT('SRID=4674;POINT (-40.144872 -2.820268)'))) / (select extract(epoch from '2026-06-20 18:27:09'::timestamp) - extract(epoch from '2026-06-20 18:24: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'), 46705, 'SRID=4674;POINT (-40.144909 -2.820306)', '2026-06-20 18:27:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144872 -2.820268)'), GeomFromEWKT('SRID=4674;POINT (-40.144909 -2.820306)'))) / (select extract(epoch from '2026-06-20 18:27:20'::timestamp) - extract(epoch from '2026-06-20 18:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144872 -2.820268)'), GeomFromEWKT('SRID=4674;POINT (-40.144909 -2.820306)'))) / (select extract(epoch from '2026-06-20 18:27:20'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.144932 -2.820327)', '2026-06-20 18:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144909 -2.820306)'), GeomFromEWKT('SRID=4674;POINT (-40.144932 -2.820327)'))) / (select extract(epoch from '2026-06-20 18:27:35'::timestamp) - extract(epoch from '2026-06-20 18:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144909 -2.820306)'), GeomFromEWKT('SRID=4674;POINT (-40.144932 -2.820327)'))) / (select extract(epoch from '2026-06-20 18:27:35'::timestamp) - extract(epoch from '2026-06-20 18:27: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'), 46705, 'SRID=4674;POINT (-40.144935 -2.820342)', '2026-06-20 18:27:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144932 -2.820327)'), GeomFromEWKT('SRID=4674;POINT (-40.144935 -2.820342)'))) / (select extract(epoch from '2026-06-20 18:27:45'::timestamp) - extract(epoch from '2026-06-20 18:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144932 -2.820327)'), GeomFromEWKT('SRID=4674;POINT (-40.144935 -2.820342)'))) / (select extract(epoch from '2026-06-20 18:27:45'::timestamp) - extract(epoch from '2026-06-20 18:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144925 -2.820347)', '2026-06-20 18:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144935 -2.820342)'), GeomFromEWKT('SRID=4674;POINT (-40.144925 -2.820347)'))) / (select extract(epoch from '2026-06-20 18:27:51'::timestamp) - extract(epoch from '2026-06-20 18:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144935 -2.820342)'), GeomFromEWKT('SRID=4674;POINT (-40.144925 -2.820347)'))) / (select extract(epoch from '2026-06-20 18:27:51'::timestamp) - extract(epoch from '2026-06-20 18:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144873 -2.820339)', '2026-06-20 18:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144925 -2.820347)'), GeomFromEWKT('SRID=4674;POINT (-40.144873 -2.820339)'))) / (select extract(epoch from '2026-06-20 18:28:21'::timestamp) - extract(epoch from '2026-06-20 18:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144925 -2.820347)'), GeomFromEWKT('SRID=4674;POINT (-40.144873 -2.820339)'))) / (select extract(epoch from '2026-06-20 18:28:21'::timestamp) - extract(epoch from '2026-06-20 18:27: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'), 46705, 'SRID=4674;POINT (-40.144888 -2.820241)', '2026-06-20 18:29:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144873 -2.820339)'), GeomFromEWKT('SRID=4674;POINT (-40.144888 -2.820241)'))) / (select extract(epoch from '2026-06-20 18:29:01'::timestamp) - extract(epoch from '2026-06-20 18:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144873 -2.820339)'), GeomFromEWKT('SRID=4674;POINT (-40.144888 -2.820241)'))) / (select extract(epoch from '2026-06-20 18:29:01'::timestamp) - extract(epoch from '2026-06-20 18:28: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'), 46705, 'SRID=4674;POINT (-40.144779 -2.820225)', '2026-06-20 18:29:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144888 -2.820241)'), GeomFromEWKT('SRID=4674;POINT (-40.144779 -2.820225)'))) / (select extract(epoch from '2026-06-20 18:29:57'::timestamp) - extract(epoch from '2026-06-20 18:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144888 -2.820241)'), GeomFromEWKT('SRID=4674;POINT (-40.144779 -2.820225)'))) / (select extract(epoch from '2026-06-20 18:29:57'::timestamp) - extract(epoch from '2026-06-20 18:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144696 -2.820289)', '2026-06-20 18:30:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144779 -2.820225)'), GeomFromEWKT('SRID=4674;POINT (-40.144696 -2.820289)'))) / (select extract(epoch from '2026-06-20 18:30:09'::timestamp) - extract(epoch from '2026-06-20 18:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144779 -2.820225)'), GeomFromEWKT('SRID=4674;POINT (-40.144696 -2.820289)'))) / (select extract(epoch from '2026-06-20 18:30:09'::timestamp) - extract(epoch from '2026-06-20 18:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14458 -2.820368)', '2026-06-20 18:30:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144696 -2.820289)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.820368)'))) / (select extract(epoch from '2026-06-20 18:30:20'::timestamp) - extract(epoch from '2026-06-20 18:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144696 -2.820289)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.820368)'))) / (select extract(epoch from '2026-06-20 18:30:20'::timestamp) - extract(epoch from '2026-06-20 18:30: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'), 46705, 'SRID=4674;POINT (-40.144485 -2.820447)', '2026-06-20 18:30:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.820368)'), GeomFromEWKT('SRID=4674;POINT (-40.144485 -2.820447)'))) / (select extract(epoch from '2026-06-20 18:30:29'::timestamp) - extract(epoch from '2026-06-20 18:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.820368)'), GeomFromEWKT('SRID=4674;POINT (-40.144485 -2.820447)'))) / (select extract(epoch from '2026-06-20 18:30:29'::timestamp) - extract(epoch from '2026-06-20 18:30: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'), 46705, 'SRID=4674;POINT (-40.144393 -2.820516)', '2026-06-20 18:30:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144485 -2.820447)'), GeomFromEWKT('SRID=4674;POINT (-40.144393 -2.820516)'))) / (select extract(epoch from '2026-06-20 18:30:38'::timestamp) - extract(epoch from '2026-06-20 18:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144485 -2.820447)'), GeomFromEWKT('SRID=4674;POINT (-40.144393 -2.820516)'))) / (select extract(epoch from '2026-06-20 18:30:38'::timestamp) - extract(epoch from '2026-06-20 18:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144326 -2.820593)', '2026-06-20 18:30:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144393 -2.820516)'), GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.820593)'))) / (select extract(epoch from '2026-06-20 18:30:46'::timestamp) - extract(epoch from '2026-06-20 18:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144393 -2.820516)'), GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.820593)'))) / (select extract(epoch from '2026-06-20 18:30:46'::timestamp) - extract(epoch from '2026-06-20 18:30: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'), 46705, 'SRID=4674;POINT (-40.144254 -2.820688)', '2026-06-20 18:30:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.820593)'), GeomFromEWKT('SRID=4674;POINT (-40.144254 -2.820688)'))) / (select extract(epoch from '2026-06-20 18:30:54'::timestamp) - extract(epoch from '2026-06-20 18:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.820593)'), GeomFromEWKT('SRID=4674;POINT (-40.144254 -2.820688)'))) / (select extract(epoch from '2026-06-20 18:30:54'::timestamp) - extract(epoch from '2026-06-20 18:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.144178 -2.820773)', '2026-06-20 18:31:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144254 -2.820688)'), GeomFromEWKT('SRID=4674;POINT (-40.144178 -2.820773)'))) / (select extract(epoch from '2026-06-20 18:31:02'::timestamp) - extract(epoch from '2026-06-20 18:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144254 -2.820688)'), GeomFromEWKT('SRID=4674;POINT (-40.144178 -2.820773)'))) / (select extract(epoch from '2026-06-20 18:31:02'::timestamp) - extract(epoch from '2026-06-20 18:30: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'), 46705, 'SRID=4674;POINT (-40.144109 -2.820849)', '2026-06-20 18:31:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144178 -2.820773)'), GeomFromEWKT('SRID=4674;POINT (-40.144109 -2.820849)'))) / (select extract(epoch from '2026-06-20 18:31:10'::timestamp) - extract(epoch from '2026-06-20 18:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144178 -2.820773)'), GeomFromEWKT('SRID=4674;POINT (-40.144109 -2.820849)'))) / (select extract(epoch from '2026-06-20 18:31:10'::timestamp) - extract(epoch from '2026-06-20 18:31: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'), 46705, 'SRID=4674;POINT (-40.144041 -2.820916)', '2026-06-20 18:31:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144109 -2.820849)'), GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.820916)'))) / (select extract(epoch from '2026-06-20 18:31:17'::timestamp) - extract(epoch from '2026-06-20 18:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144109 -2.820849)'), GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.820916)'))) / (select extract(epoch from '2026-06-20 18:31:17'::timestamp) - extract(epoch from '2026-06-20 18:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143967 -2.821009)', '2026-06-20 18:31:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.820916)'), GeomFromEWKT('SRID=4674;POINT (-40.143967 -2.821009)'))) / (select extract(epoch from '2026-06-20 18:31:26'::timestamp) - extract(epoch from '2026-06-20 18:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.820916)'), GeomFromEWKT('SRID=4674;POINT (-40.143967 -2.821009)'))) / (select extract(epoch from '2026-06-20 18:31:26'::timestamp) - extract(epoch from '2026-06-20 18:31: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'), 46705, 'SRID=4674;POINT (-40.143886 -2.821112)', '2026-06-20 18:31:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143967 -2.821009)'), GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.821112)'))) / (select extract(epoch from '2026-06-20 18:31:35'::timestamp) - extract(epoch from '2026-06-20 18:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143967 -2.821009)'), GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.821112)'))) / (select extract(epoch from '2026-06-20 18:31:35'::timestamp) - extract(epoch from '2026-06-20 18:31: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'), 46705, 'SRID=4674;POINT (-40.143812 -2.821192)', '2026-06-20 18:31:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.821112)'), GeomFromEWKT('SRID=4674;POINT (-40.143812 -2.821192)'))) / (select extract(epoch from '2026-06-20 18:31:43'::timestamp) - extract(epoch from '2026-06-20 18:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.821112)'), GeomFromEWKT('SRID=4674;POINT (-40.143812 -2.821192)'))) / (select extract(epoch from '2026-06-20 18:31:43'::timestamp) - extract(epoch from '2026-06-20 18:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143707 -2.821306)', '2026-06-20 18:31:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143812 -2.821192)'), GeomFromEWKT('SRID=4674;POINT (-40.143707 -2.821306)'))) / (select extract(epoch from '2026-06-20 18:31:54'::timestamp) - extract(epoch from '2026-06-20 18:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143812 -2.821192)'), GeomFromEWKT('SRID=4674;POINT (-40.143707 -2.821306)'))) / (select extract(epoch from '2026-06-20 18:31:54'::timestamp) - extract(epoch from '2026-06-20 18:31: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'), 46705, 'SRID=4674;POINT (-40.143585 -2.821396)', '2026-06-20 18:32:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143707 -2.821306)'), GeomFromEWKT('SRID=4674;POINT (-40.143585 -2.821396)'))) / (select extract(epoch from '2026-06-20 18:32:05'::timestamp) - extract(epoch from '2026-06-20 18:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143707 -2.821306)'), GeomFromEWKT('SRID=4674;POINT (-40.143585 -2.821396)'))) / (select extract(epoch from '2026-06-20 18:32:05'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.143476 -2.821489)', '2026-06-20 18:32:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143585 -2.821396)'), GeomFromEWKT('SRID=4674;POINT (-40.143476 -2.821489)'))) / (select extract(epoch from '2026-06-20 18:32:15'::timestamp) - extract(epoch from '2026-06-20 18:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143585 -2.821396)'), GeomFromEWKT('SRID=4674;POINT (-40.143476 -2.821489)'))) / (select extract(epoch from '2026-06-20 18:32:15'::timestamp) - extract(epoch from '2026-06-20 18:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.1434 -2.821563)', '2026-06-20 18:32:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143476 -2.821489)'), GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.821563)'))) / (select extract(epoch from '2026-06-20 18:32:23'::timestamp) - extract(epoch from '2026-06-20 18:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143476 -2.821489)'), GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.821563)'))) / (select extract(epoch from '2026-06-20 18:32:23'::timestamp) - extract(epoch from '2026-06-20 18:32: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'), 46705, 'SRID=4674;POINT (-40.143318 -2.82167)', '2026-06-20 18:32:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.821563)'), GeomFromEWKT('SRID=4674;POINT (-40.143318 -2.82167)'))) / (select extract(epoch from '2026-06-20 18:32:33'::timestamp) - extract(epoch from '2026-06-20 18:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1434 -2.821563)'), GeomFromEWKT('SRID=4674;POINT (-40.143318 -2.82167)'))) / (select extract(epoch from '2026-06-20 18:32:33'::timestamp) - extract(epoch from '2026-06-20 18:32: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'), 46705, 'SRID=4674;POINT (-40.143263 -2.821751)', '2026-06-20 18:32:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143318 -2.82167)'), GeomFromEWKT('SRID=4674;POINT (-40.143263 -2.821751)'))) / (select extract(epoch from '2026-06-20 18:32:40'::timestamp) - extract(epoch from '2026-06-20 18:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143318 -2.82167)'), GeomFromEWKT('SRID=4674;POINT (-40.143263 -2.821751)'))) / (select extract(epoch from '2026-06-20 18:32:40'::timestamp) - extract(epoch from '2026-06-20 18:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143196 -2.821827)', '2026-06-20 18:32:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143263 -2.821751)'), GeomFromEWKT('SRID=4674;POINT (-40.143196 -2.821827)'))) / (select extract(epoch from '2026-06-20 18:32:48'::timestamp) - extract(epoch from '2026-06-20 18:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143263 -2.821751)'), GeomFromEWKT('SRID=4674;POINT (-40.143196 -2.821827)'))) / (select extract(epoch from '2026-06-20 18:32:48'::timestamp) - extract(epoch from '2026-06-20 18:32: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'), 46705, 'SRID=4674;POINT (-40.143131 -2.821899)', '2026-06-20 18:32:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143196 -2.821827)'), GeomFromEWKT('SRID=4674;POINT (-40.143131 -2.821899)'))) / (select extract(epoch from '2026-06-20 18:32:55'::timestamp) - extract(epoch from '2026-06-20 18:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143196 -2.821827)'), GeomFromEWKT('SRID=4674;POINT (-40.143131 -2.821899)'))) / (select extract(epoch from '2026-06-20 18:32:55'::timestamp) - extract(epoch from '2026-06-20 18:32: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'), 46705, 'SRID=4674;POINT (-40.143049 -2.821971)', '2026-06-20 18:33:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143131 -2.821899)'), GeomFromEWKT('SRID=4674;POINT (-40.143049 -2.821971)'))) / (select extract(epoch from '2026-06-20 18:33:04'::timestamp) - extract(epoch from '2026-06-20 18:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143131 -2.821899)'), GeomFromEWKT('SRID=4674;POINT (-40.143049 -2.821971)'))) / (select extract(epoch from '2026-06-20 18:33:04'::timestamp) - extract(epoch from '2026-06-20 18:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142971 -2.822035)', '2026-06-20 18:33:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143049 -2.821971)'), GeomFromEWKT('SRID=4674;POINT (-40.142971 -2.822035)'))) / (select extract(epoch from '2026-06-20 18:33:12'::timestamp) - extract(epoch from '2026-06-20 18:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143049 -2.821971)'), GeomFromEWKT('SRID=4674;POINT (-40.142971 -2.822035)'))) / (select extract(epoch from '2026-06-20 18:33:12'::timestamp) - extract(epoch from '2026-06-20 18:33: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'), 46705, 'SRID=4674;POINT (-40.1429 -2.822088)', '2026-06-20 18:33:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142971 -2.822035)'), GeomFromEWKT('SRID=4674;POINT (-40.1429 -2.822088)'))) / (select extract(epoch from '2026-06-20 18:33:19'::timestamp) - extract(epoch from '2026-06-20 18:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142971 -2.822035)'), GeomFromEWKT('SRID=4674;POINT (-40.1429 -2.822088)'))) / (select extract(epoch from '2026-06-20 18:33:19'::timestamp) - extract(epoch from '2026-06-20 18:33: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'), 46705, 'SRID=4674;POINT (-40.142829 -2.82216)', '2026-06-20 18:33:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1429 -2.822088)'), GeomFromEWKT('SRID=4674;POINT (-40.142829 -2.82216)'))) / (select extract(epoch from '2026-06-20 18:33:27'::timestamp) - extract(epoch from '2026-06-20 18:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1429 -2.822088)'), GeomFromEWKT('SRID=4674;POINT (-40.142829 -2.82216)'))) / (select extract(epoch from '2026-06-20 18:33:27'::timestamp) - extract(epoch from '2026-06-20 18:33: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'), 46705, 'SRID=4674;POINT (-40.142772 -2.822245)', '2026-06-20 18:33:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142829 -2.82216)'), GeomFromEWKT('SRID=4674;POINT (-40.142772 -2.822245)'))) / (select extract(epoch from '2026-06-20 18:33:34'::timestamp) - extract(epoch from '2026-06-20 18:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142829 -2.82216)'), GeomFromEWKT('SRID=4674;POINT (-40.142772 -2.822245)'))) / (select extract(epoch from '2026-06-20 18:33:34'::timestamp) - extract(epoch from '2026-06-20 18:33: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'), 46705, 'SRID=4674;POINT (-40.142702 -2.82232)', '2026-06-20 18:33:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142772 -2.822245)'), GeomFromEWKT('SRID=4674;POINT (-40.142702 -2.82232)'))) / (select extract(epoch from '2026-06-20 18:33:42'::timestamp) - extract(epoch from '2026-06-20 18:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142772 -2.822245)'), GeomFromEWKT('SRID=4674;POINT (-40.142702 -2.82232)'))) / (select extract(epoch from '2026-06-20 18:33:42'::timestamp) - extract(epoch from '2026-06-20 18:33: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'), 46705, 'SRID=4674;POINT (-40.142618 -2.822379)', '2026-06-20 18:33:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142702 -2.82232)'), GeomFromEWKT('SRID=4674;POINT (-40.142618 -2.822379)'))) / (select extract(epoch from '2026-06-20 18:33:51'::timestamp) - extract(epoch from '2026-06-20 18:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142702 -2.82232)'), GeomFromEWKT('SRID=4674;POINT (-40.142618 -2.822379)'))) / (select extract(epoch from '2026-06-20 18:33:51'::timestamp) - extract(epoch from '2026-06-20 18:33: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'), 46705, 'SRID=4674;POINT (-40.142528 -2.822439)', '2026-06-20 18:34:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142618 -2.822379)'), GeomFromEWKT('SRID=4674;POINT (-40.142528 -2.822439)'))) / (select extract(epoch from '2026-06-20 18:34:01'::timestamp) - extract(epoch from '2026-06-20 18:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142618 -2.822379)'), GeomFromEWKT('SRID=4674;POINT (-40.142528 -2.822439)'))) / (select extract(epoch from '2026-06-20 18:34:01'::timestamp) - extract(epoch from '2026-06-20 18:33: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'), 46705, 'SRID=4674;POINT (-40.14245 -2.822513)', '2026-06-20 18:34:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142528 -2.822439)'), GeomFromEWKT('SRID=4674;POINT (-40.14245 -2.822513)'))) / (select extract(epoch from '2026-06-20 18:34:11'::timestamp) - extract(epoch from '2026-06-20 18:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142528 -2.822439)'), GeomFromEWKT('SRID=4674;POINT (-40.14245 -2.822513)'))) / (select extract(epoch from '2026-06-20 18:34:11'::timestamp) - extract(epoch from '2026-06-20 18:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14237 -2.822576)', '2026-06-20 18:34:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14245 -2.822513)'), GeomFromEWKT('SRID=4674;POINT (-40.14237 -2.822576)'))) / (select extract(epoch from '2026-06-20 18:34:19'::timestamp) - extract(epoch from '2026-06-20 18:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14245 -2.822513)'), GeomFromEWKT('SRID=4674;POINT (-40.14237 -2.822576)'))) / (select extract(epoch from '2026-06-20 18:34:19'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46705, 'SRID=4674;POINT (-40.142315 -2.822636)', '2026-06-20 18:34:25', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14237 -2.822576)'), GeomFromEWKT('SRID=4674;POINT (-40.142315 -2.822636)'))) / (select extract(epoch from '2026-06-20 18:34:25'::timestamp) - extract(epoch from '2026-06-20 18:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14237 -2.822576)'), GeomFromEWKT('SRID=4674;POINT (-40.142315 -2.822636)'))) / (select extract(epoch from '2026-06-20 18:34:25'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46705, 'SRID=4674;POINT (-40.142276 -2.822706)', '2026-06-20 18:34:32', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142315 -2.822636)'), GeomFromEWKT('SRID=4674;POINT (-40.142276 -2.822706)'))) / (select extract(epoch from '2026-06-20 18:34:32'::timestamp) - extract(epoch from '2026-06-20 18:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142315 -2.822636)'), GeomFromEWKT('SRID=4674;POINT (-40.142276 -2.822706)'))) / (select extract(epoch from '2026-06-20 18:34:32'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46705, 'SRID=4674;POINT (-40.142225 -2.822797)', '2026-06-20 18:34:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142276 -2.822706)'), GeomFromEWKT('SRID=4674;POINT (-40.142225 -2.822797)'))) / (select extract(epoch from '2026-06-20 18:34:40'::timestamp) - extract(epoch from '2026-06-20 18:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142276 -2.822706)'), GeomFromEWKT('SRID=4674;POINT (-40.142225 -2.822797)'))) / (select extract(epoch from '2026-06-20 18:34:40'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46705, 'SRID=4674;POINT (-40.14216 -2.822884)', '2026-06-20 18:34:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142225 -2.822797)'), GeomFromEWKT('SRID=4674;POINT (-40.14216 -2.822884)'))) / (select extract(epoch from '2026-06-20 18:34:49'::timestamp) - extract(epoch from '2026-06-20 18:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142225 -2.822797)'), GeomFromEWKT('SRID=4674;POINT (-40.14216 -2.822884)'))) / (select extract(epoch from '2026-06-20 18:34:49'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46705, 'SRID=4674;POINT (-40.142101 -2.822948)', '2026-06-20 18:34:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14216 -2.822884)'), GeomFromEWKT('SRID=4674;POINT (-40.142101 -2.822948)'))) / (select extract(epoch from '2026-06-20 18:34:57'::timestamp) - extract(epoch from '2026-06-20 18:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14216 -2.822884)'), GeomFromEWKT('SRID=4674;POINT (-40.142101 -2.822948)'))) / (select extract(epoch from '2026-06-20 18:34:57'::timestamp) - extract(epoch from '2026-06-20 18:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142034 -2.823036)', '2026-06-20 18:35:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142101 -2.822948)'), GeomFromEWKT('SRID=4674;POINT (-40.142034 -2.823036)'))) / (select extract(epoch from '2026-06-20 18:35:05'::timestamp) - extract(epoch from '2026-06-20 18:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142101 -2.822948)'), GeomFromEWKT('SRID=4674;POINT (-40.142034 -2.823036)'))) / (select extract(epoch from '2026-06-20 18:35:05'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46705, 'SRID=4674;POINT (-40.141963 -2.823126)', '2026-06-20 18:35:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142034 -2.823036)'), GeomFromEWKT('SRID=4674;POINT (-40.141963 -2.823126)'))) / (select extract(epoch from '2026-06-20 18:35:14'::timestamp) - extract(epoch from '2026-06-20 18:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142034 -2.823036)'), GeomFromEWKT('SRID=4674;POINT (-40.141963 -2.823126)'))) / (select extract(epoch from '2026-06-20 18:35:14'::timestamp) - extract(epoch from '2026-06-20 18:35: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'), 46705, 'SRID=4674;POINT (-40.14188 -2.823209)', '2026-06-20 18:35:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141963 -2.823126)'), GeomFromEWKT('SRID=4674;POINT (-40.14188 -2.823209)'))) / (select extract(epoch from '2026-06-20 18:35:23'::timestamp) - extract(epoch from '2026-06-20 18:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141963 -2.823126)'), GeomFromEWKT('SRID=4674;POINT (-40.14188 -2.823209)'))) / (select extract(epoch from '2026-06-20 18:35:23'::timestamp) - extract(epoch from '2026-06-20 18:35: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'), 46705, 'SRID=4674;POINT (-40.141785 -2.823299)', '2026-06-20 18:35:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14188 -2.823209)'), GeomFromEWKT('SRID=4674;POINT (-40.141785 -2.823299)'))) / (select extract(epoch from '2026-06-20 18:35:34'::timestamp) - extract(epoch from '2026-06-20 18:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14188 -2.823209)'), GeomFromEWKT('SRID=4674;POINT (-40.141785 -2.823299)'))) / (select extract(epoch from '2026-06-20 18:35:34'::timestamp) - extract(epoch from '2026-06-20 18:35: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'), 46705, 'SRID=4674;POINT (-40.141701 -2.823373)', '2026-06-20 18:35:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141785 -2.823299)'), GeomFromEWKT('SRID=4674;POINT (-40.141701 -2.823373)'))) / (select extract(epoch from '2026-06-20 18:35:43'::timestamp) - extract(epoch from '2026-06-20 18:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141785 -2.823299)'), GeomFromEWKT('SRID=4674;POINT (-40.141701 -2.823373)'))) / (select extract(epoch from '2026-06-20 18:35:43'::timestamp) - extract(epoch from '2026-06-20 18:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14159 -2.823482)', '2026-06-20 18:35:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141701 -2.823373)'), GeomFromEWKT('SRID=4674;POINT (-40.14159 -2.823482)'))) / (select extract(epoch from '2026-06-20 18:35:54'::timestamp) - extract(epoch from '2026-06-20 18:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141701 -2.823373)'), GeomFromEWKT('SRID=4674;POINT (-40.14159 -2.823482)'))) / (select extract(epoch from '2026-06-20 18:35:54'::timestamp) - extract(epoch from '2026-06-20 18:35: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'), 46705, 'SRID=4674;POINT (-40.141505 -2.82358)', '2026-06-20 18:36:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14159 -2.823482)'), GeomFromEWKT('SRID=4674;POINT (-40.141505 -2.82358)'))) / (select extract(epoch from '2026-06-20 18:36:03'::timestamp) - extract(epoch from '2026-06-20 18:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14159 -2.823482)'), GeomFromEWKT('SRID=4674;POINT (-40.141505 -2.82358)'))) / (select extract(epoch from '2026-06-20 18:36:03'::timestamp) - extract(epoch from '2026-06-20 18:35: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'), 46705, 'SRID=4674;POINT (-40.141439 -2.823674)', '2026-06-20 18:36:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141505 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.141439 -2.823674)'))) / (select extract(epoch from '2026-06-20 18:36:11'::timestamp) - extract(epoch from '2026-06-20 18:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141505 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.141439 -2.823674)'))) / (select extract(epoch from '2026-06-20 18:36:11'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.141365 -2.823804)', '2026-06-20 18:36:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141439 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.141365 -2.823804)'))) / (select extract(epoch from '2026-06-20 18:36:21'::timestamp) - extract(epoch from '2026-06-20 18:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141439 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.141365 -2.823804)'))) / (select extract(epoch from '2026-06-20 18:36:21'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.141275 -2.823905)', '2026-06-20 18:36:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141365 -2.823804)'), GeomFromEWKT('SRID=4674;POINT (-40.141275 -2.823905)'))) / (select extract(epoch from '2026-06-20 18:36:31'::timestamp) - extract(epoch from '2026-06-20 18:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141365 -2.823804)'), GeomFromEWKT('SRID=4674;POINT (-40.141275 -2.823905)'))) / (select extract(epoch from '2026-06-20 18:36:31'::timestamp) - extract(epoch from '2026-06-20 18:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141208 -2.823985)', '2026-06-20 18:36:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141275 -2.823905)'), GeomFromEWKT('SRID=4674;POINT (-40.141208 -2.823985)'))) / (select extract(epoch from '2026-06-20 18:36:39'::timestamp) - extract(epoch from '2026-06-20 18:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141275 -2.823905)'), GeomFromEWKT('SRID=4674;POINT (-40.141208 -2.823985)'))) / (select extract(epoch from '2026-06-20 18:36:39'::timestamp) - extract(epoch from '2026-06-20 18:36: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'), 46705, 'SRID=4674;POINT (-40.141122 -2.8241)', '2026-06-20 18:36:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141208 -2.823985)'), GeomFromEWKT('SRID=4674;POINT (-40.141122 -2.8241)'))) / (select extract(epoch from '2026-06-20 18:36:49'::timestamp) - extract(epoch from '2026-06-20 18:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141208 -2.823985)'), GeomFromEWKT('SRID=4674;POINT (-40.141122 -2.8241)'))) / (select extract(epoch from '2026-06-20 18:36:49'::timestamp) - extract(epoch from '2026-06-20 18:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141042 -2.824207)', '2026-06-20 18:36:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141122 -2.8241)'), GeomFromEWKT('SRID=4674;POINT (-40.141042 -2.824207)'))) / (select extract(epoch from '2026-06-20 18:36:58'::timestamp) - extract(epoch from '2026-06-20 18:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141122 -2.8241)'), GeomFromEWKT('SRID=4674;POINT (-40.141042 -2.824207)'))) / (select extract(epoch from '2026-06-20 18:36:58'::timestamp) - extract(epoch from '2026-06-20 18:36: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'), 46705, 'SRID=4674;POINT (-40.140962 -2.824341)', '2026-06-20 18:37:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141042 -2.824207)'), GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824341)'))) / (select extract(epoch from '2026-06-20 18:37:08'::timestamp) - extract(epoch from '2026-06-20 18:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141042 -2.824207)'), GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824341)'))) / (select extract(epoch from '2026-06-20 18:37:08'::timestamp) - extract(epoch from '2026-06-20 18:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140922 -2.824444)', '2026-06-20 18:37:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824341)'), GeomFromEWKT('SRID=4674;POINT (-40.140922 -2.824444)'))) / (select extract(epoch from '2026-06-20 18:37:16'::timestamp) - extract(epoch from '2026-06-20 18:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824341)'), GeomFromEWKT('SRID=4674;POINT (-40.140922 -2.824444)'))) / (select extract(epoch from '2026-06-20 18:37:16'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.140883 -2.824532)', '2026-06-20 18:37:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140922 -2.824444)'), GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.824532)'))) / (select extract(epoch from '2026-06-20 18:37:23'::timestamp) - extract(epoch from '2026-06-20 18:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140922 -2.824444)'), GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.824532)'))) / (select extract(epoch from '2026-06-20 18:37:23'::timestamp) - extract(epoch from '2026-06-20 18:37: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'), 46705, 'SRID=4674;POINT (-40.14082 -2.824648)', '2026-06-20 18:37:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.824532)'), GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.824648)'))) / (select extract(epoch from '2026-06-20 18:37:33'::timestamp) - extract(epoch from '2026-06-20 18:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140883 -2.824532)'), GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.824648)'))) / (select extract(epoch from '2026-06-20 18:37:33'::timestamp) - extract(epoch from '2026-06-20 18:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140703 -2.824729)', '2026-06-20 18:37:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.824648)'), GeomFromEWKT('SRID=4674;POINT (-40.140703 -2.824729)'))) / (select extract(epoch from '2026-06-20 18:37:44'::timestamp) - extract(epoch from '2026-06-20 18:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14082 -2.824648)'), GeomFromEWKT('SRID=4674;POINT (-40.140703 -2.824729)'))) / (select extract(epoch from '2026-06-20 18:37:44'::timestamp) - extract(epoch from '2026-06-20 18:37: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'), 46705, 'SRID=4674;POINT (-40.140656 -2.824813)', '2026-06-20 18:37:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140703 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.140656 -2.824813)'))) / (select extract(epoch from '2026-06-20 18:37:53'::timestamp) - extract(epoch from '2026-06-20 18:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140703 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.140656 -2.824813)'))) / (select extract(epoch from '2026-06-20 18:37:53'::timestamp) - extract(epoch from '2026-06-20 18:37: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'), 46705, 'SRID=4674;POINT (-40.14062 -2.824869)', '2026-06-20 18:37:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140656 -2.824813)'), GeomFromEWKT('SRID=4674;POINT (-40.14062 -2.824869)'))) / (select extract(epoch from '2026-06-20 18:37:59'::timestamp) - extract(epoch from '2026-06-20 18:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140656 -2.824813)'), GeomFromEWKT('SRID=4674;POINT (-40.14062 -2.824869)'))) / (select extract(epoch from '2026-06-20 18:37:59'::timestamp) - extract(epoch from '2026-06-20 18:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140612 -2.824877)', '2026-06-20 18:38:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14062 -2.824869)'), GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.824877)'))) / (select extract(epoch from '2026-06-20 18:38:00'::timestamp) - extract(epoch from '2026-06-20 18:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14062 -2.824869)'), GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.824877)'))) / (select extract(epoch from '2026-06-20 18:38:00'::timestamp) - extract(epoch from '2026-06-20 18:37: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'), 46705, 'SRID=4674;POINT (-40.14053 -2.824935)', '2026-06-20 18:38:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.824877)'), GeomFromEWKT('SRID=4674;POINT (-40.14053 -2.824935)'))) / (select extract(epoch from '2026-06-20 18:38:08'::timestamp) - extract(epoch from '2026-06-20 18:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.824877)'), GeomFromEWKT('SRID=4674;POINT (-40.14053 -2.824935)'))) / (select extract(epoch from '2026-06-20 18:38:08'::timestamp) - extract(epoch from '2026-06-20 18:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140465 -2.824963)', '2026-06-20 18:38:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14053 -2.824935)'), GeomFromEWKT('SRID=4674;POINT (-40.140465 -2.824963)'))) / (select extract(epoch from '2026-06-20 18:38:17'::timestamp) - extract(epoch from '2026-06-20 18:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14053 -2.824935)'), GeomFromEWKT('SRID=4674;POINT (-40.140465 -2.824963)'))) / (select extract(epoch from '2026-06-20 18:38:17'::timestamp) - extract(epoch from '2026-06-20 18:38: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'), 46705, 'SRID=4674;POINT (-40.140398 -2.824987)', '2026-06-20 18:38:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140465 -2.824963)'), GeomFromEWKT('SRID=4674;POINT (-40.140398 -2.824987)'))) / (select extract(epoch from '2026-06-20 18:38:26'::timestamp) - extract(epoch from '2026-06-20 18:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140465 -2.824963)'), GeomFromEWKT('SRID=4674;POINT (-40.140398 -2.824987)'))) / (select extract(epoch from '2026-06-20 18:38:26'::timestamp) - extract(epoch from '2026-06-20 18:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140323 -2.824994)', '2026-06-20 18:38:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140398 -2.824987)'), GeomFromEWKT('SRID=4674;POINT (-40.140323 -2.824994)'))) / (select extract(epoch from '2026-06-20 18:38:35'::timestamp) - extract(epoch from '2026-06-20 18:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140398 -2.824987)'), GeomFromEWKT('SRID=4674;POINT (-40.140323 -2.824994)'))) / (select extract(epoch from '2026-06-20 18:38:35'::timestamp) - extract(epoch from '2026-06-20 18:38: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'), 46705, 'SRID=4674;POINT (-40.140223 -2.825057)', '2026-06-20 18:38:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140323 -2.824994)'), GeomFromEWKT('SRID=4674;POINT (-40.140223 -2.825057)'))) / (select extract(epoch from '2026-06-20 18:38:50'::timestamp) - extract(epoch from '2026-06-20 18:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140323 -2.824994)'), GeomFromEWKT('SRID=4674;POINT (-40.140223 -2.825057)'))) / (select extract(epoch from '2026-06-20 18:38:50'::timestamp) - extract(epoch from '2026-06-20 18:38: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'), 46705, 'SRID=4674;POINT (-40.140133 -2.825147)', '2026-06-20 18:39:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140223 -2.825057)'), GeomFromEWKT('SRID=4674;POINT (-40.140133 -2.825147)'))) / (select extract(epoch from '2026-06-20 18:39:07'::timestamp) - extract(epoch from '2026-06-20 18:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140223 -2.825057)'), GeomFromEWKT('SRID=4674;POINT (-40.140133 -2.825147)'))) / (select extract(epoch from '2026-06-20 18:39:07'::timestamp) - extract(epoch from '2026-06-20 18:38: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'), 46705, 'SRID=4674;POINT (-40.14007 -2.825236)', '2026-06-20 18:39:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140133 -2.825147)'), GeomFromEWKT('SRID=4674;POINT (-40.14007 -2.825236)'))) / (select extract(epoch from '2026-06-20 18:39:22'::timestamp) - extract(epoch from '2026-06-20 18:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140133 -2.825147)'), GeomFromEWKT('SRID=4674;POINT (-40.14007 -2.825236)'))) / (select extract(epoch from '2026-06-20 18:39:22'::timestamp) - extract(epoch from '2026-06-20 18:39: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'), 46705, 'SRID=4674;POINT (-40.139956 -2.825308)', '2026-06-20 18:39:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14007 -2.825236)'), GeomFromEWKT('SRID=4674;POINT (-40.139956 -2.825308)'))) / (select extract(epoch from '2026-06-20 18:39:37'::timestamp) - extract(epoch from '2026-06-20 18:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14007 -2.825236)'), GeomFromEWKT('SRID=4674;POINT (-40.139956 -2.825308)'))) / (select extract(epoch from '2026-06-20 18:39:37'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.139819 -2.825357)', '2026-06-20 18:39:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139956 -2.825308)'), GeomFromEWKT('SRID=4674;POINT (-40.139819 -2.825357)'))) / (select extract(epoch from '2026-06-20 18:39:55'::timestamp) - extract(epoch from '2026-06-20 18:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139956 -2.825308)'), GeomFromEWKT('SRID=4674;POINT (-40.139819 -2.825357)'))) / (select extract(epoch from '2026-06-20 18:39:55'::timestamp) - extract(epoch from '2026-06-20 18:39: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'), 46705, 'SRID=4674;POINT (-40.139685 -2.825427)', '2026-06-20 18:40:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139819 -2.825357)'), GeomFromEWKT('SRID=4674;POINT (-40.139685 -2.825427)'))) / (select extract(epoch from '2026-06-20 18:40:11'::timestamp) - extract(epoch from '2026-06-20 18:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139819 -2.825357)'), GeomFromEWKT('SRID=4674;POINT (-40.139685 -2.825427)'))) / (select extract(epoch from '2026-06-20 18:40:11'::timestamp) - extract(epoch from '2026-06-20 18:39: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'), 46705, 'SRID=4674;POINT (-40.139565 -2.825536)', '2026-06-20 18:40:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139685 -2.825427)'), GeomFromEWKT('SRID=4674;POINT (-40.139565 -2.825536)'))) / (select extract(epoch from '2026-06-20 18:40:29'::timestamp) - extract(epoch from '2026-06-20 18:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139685 -2.825427)'), GeomFromEWKT('SRID=4674;POINT (-40.139565 -2.825536)'))) / (select extract(epoch from '2026-06-20 18:40:29'::timestamp) - extract(epoch from '2026-06-20 18:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139446 -2.82561)', '2026-06-20 18:40:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139565 -2.825536)'), GeomFromEWKT('SRID=4674;POINT (-40.139446 -2.82561)'))) / (select extract(epoch from '2026-06-20 18:40:44'::timestamp) - extract(epoch from '2026-06-20 18:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139565 -2.825536)'), GeomFromEWKT('SRID=4674;POINT (-40.139446 -2.82561)'))) / (select extract(epoch from '2026-06-20 18:40:44'::timestamp) - extract(epoch from '2026-06-20 18:40: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'), 46705, 'SRID=4674;POINT (-40.139343 -2.825666)', '2026-06-20 18:40:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139446 -2.82561)'), GeomFromEWKT('SRID=4674;POINT (-40.139343 -2.825666)'))) / (select extract(epoch from '2026-06-20 18:40:58'::timestamp) - extract(epoch from '2026-06-20 18:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139446 -2.82561)'), GeomFromEWKT('SRID=4674;POINT (-40.139343 -2.825666)'))) / (select extract(epoch from '2026-06-20 18:40:58'::timestamp) - extract(epoch from '2026-06-20 18:40: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'), 46705, 'SRID=4674;POINT (-40.139228 -2.825759)', '2026-06-20 18:41:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139343 -2.825666)'), GeomFromEWKT('SRID=4674;POINT (-40.139228 -2.825759)'))) / (select extract(epoch from '2026-06-20 18:41:14'::timestamp) - extract(epoch from '2026-06-20 18:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139343 -2.825666)'), GeomFromEWKT('SRID=4674;POINT (-40.139228 -2.825759)'))) / (select extract(epoch from '2026-06-20 18:41:14'::timestamp) - extract(epoch from '2026-06-20 18:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139086 -2.825854)', '2026-06-20 18:41:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139228 -2.825759)'), GeomFromEWKT('SRID=4674;POINT (-40.139086 -2.825854)'))) / (select extract(epoch from '2026-06-20 18:41:35'::timestamp) - extract(epoch from '2026-06-20 18:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139228 -2.825759)'), GeomFromEWKT('SRID=4674;POINT (-40.139086 -2.825854)'))) / (select extract(epoch from '2026-06-20 18:41:35'::timestamp) - extract(epoch from '2026-06-20 18:41: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'), 46705, 'SRID=4674;POINT (-40.138943 -2.825958)', '2026-06-20 18:41:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139086 -2.825854)'), GeomFromEWKT('SRID=4674;POINT (-40.138943 -2.825958)'))) / (select extract(epoch from '2026-06-20 18:41:54'::timestamp) - extract(epoch from '2026-06-20 18:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139086 -2.825854)'), GeomFromEWKT('SRID=4674;POINT (-40.138943 -2.825958)'))) / (select extract(epoch from '2026-06-20 18:41:54'::timestamp) - extract(epoch from '2026-06-20 18:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138853 -2.826056)', '2026-06-20 18:42:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138943 -2.825958)'), GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.826056)'))) / (select extract(epoch from '2026-06-20 18:42:15'::timestamp) - extract(epoch from '2026-06-20 18:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138943 -2.825958)'), GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.826056)'))) / (select extract(epoch from '2026-06-20 18:42:15'::timestamp) - extract(epoch from '2026-06-20 18:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138756 -2.826162)', '2026-06-20 18:42:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.826056)'), GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.826162)'))) / (select extract(epoch from '2026-06-20 18:42:29'::timestamp) - extract(epoch from '2026-06-20 18:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.826056)'), GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.826162)'))) / (select extract(epoch from '2026-06-20 18:42:29'::timestamp) - extract(epoch from '2026-06-20 18:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138674 -2.826245)', '2026-06-20 18:42:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.826162)'), GeomFromEWKT('SRID=4674;POINT (-40.138674 -2.826245)'))) / (select extract(epoch from '2026-06-20 18:42:44'::timestamp) - extract(epoch from '2026-06-20 18:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138756 -2.826162)'), GeomFromEWKT('SRID=4674;POINT (-40.138674 -2.826245)'))) / (select extract(epoch from '2026-06-20 18:42:44'::timestamp) - extract(epoch from '2026-06-20 18:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138591 -2.826397)', '2026-06-20 18:43:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138674 -2.826245)'), GeomFromEWKT('SRID=4674;POINT (-40.138591 -2.826397)'))) / (select extract(epoch from '2026-06-20 18:43:00'::timestamp) - extract(epoch from '2026-06-20 18:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138674 -2.826245)'), GeomFromEWKT('SRID=4674;POINT (-40.138591 -2.826397)'))) / (select extract(epoch from '2026-06-20 18:43:00'::timestamp) - extract(epoch from '2026-06-20 18:42: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'), 46705, 'SRID=4674;POINT (-40.138508 -2.826567)', '2026-06-20 18:43:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138591 -2.826397)'), GeomFromEWKT('SRID=4674;POINT (-40.138508 -2.826567)'))) / (select extract(epoch from '2026-06-20 18:43:17'::timestamp) - extract(epoch from '2026-06-20 18:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138591 -2.826397)'), GeomFromEWKT('SRID=4674;POINT (-40.138508 -2.826567)'))) / (select extract(epoch from '2026-06-20 18:43:17'::timestamp) - extract(epoch from '2026-06-20 18:43: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'), 46705, 'SRID=4674;POINT (-40.13843 -2.826766)', '2026-06-20 18:43:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138508 -2.826567)'), GeomFromEWKT('SRID=4674;POINT (-40.13843 -2.826766)'))) / (select extract(epoch from '2026-06-20 18:43:33'::timestamp) - extract(epoch from '2026-06-20 18:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138508 -2.826567)'), GeomFromEWKT('SRID=4674;POINT (-40.13843 -2.826766)'))) / (select extract(epoch from '2026-06-20 18:43:33'::timestamp) - extract(epoch from '2026-06-20 18:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138371 -2.826898)', '2026-06-20 18:43:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13843 -2.826766)'), GeomFromEWKT('SRID=4674;POINT (-40.138371 -2.826898)'))) / (select extract(epoch from '2026-06-20 18:43:43'::timestamp) - extract(epoch from '2026-06-20 18:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13843 -2.826766)'), GeomFromEWKT('SRID=4674;POINT (-40.138371 -2.826898)'))) / (select extract(epoch from '2026-06-20 18:43:43'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.138302 -2.827027)', '2026-06-20 18:43:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138371 -2.826898)'), GeomFromEWKT('SRID=4674;POINT (-40.138302 -2.827027)'))) / (select extract(epoch from '2026-06-20 18:43:53'::timestamp) - extract(epoch from '2026-06-20 18:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138371 -2.826898)'), GeomFromEWKT('SRID=4674;POINT (-40.138302 -2.827027)'))) / (select extract(epoch from '2026-06-20 18:43:53'::timestamp) - extract(epoch from '2026-06-20 18:43: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'), 46705, 'SRID=4674;POINT (-40.138231 -2.827109)', '2026-06-20 18:44:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138302 -2.827027)'), GeomFromEWKT('SRID=4674;POINT (-40.138231 -2.827109)'))) / (select extract(epoch from '2026-06-20 18:44:02'::timestamp) - extract(epoch from '2026-06-20 18:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138302 -2.827027)'), GeomFromEWKT('SRID=4674;POINT (-40.138231 -2.827109)'))) / (select extract(epoch from '2026-06-20 18:44:02'::timestamp) - extract(epoch from '2026-06-20 18:43: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'), 46705, 'SRID=4674;POINT (-40.138155 -2.82716)', '2026-06-20 18:44:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138231 -2.827109)'), GeomFromEWKT('SRID=4674;POINT (-40.138155 -2.82716)'))) / (select extract(epoch from '2026-06-20 18:44:10'::timestamp) - extract(epoch from '2026-06-20 18:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138231 -2.827109)'), GeomFromEWKT('SRID=4674;POINT (-40.138155 -2.82716)'))) / (select extract(epoch from '2026-06-20 18:44:10'::timestamp) - extract(epoch from '2026-06-20 18:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138036 -2.827186)', '2026-06-20 18:44:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138155 -2.82716)'), GeomFromEWKT('SRID=4674;POINT (-40.138036 -2.827186)'))) / (select extract(epoch from '2026-06-20 18:44:20'::timestamp) - extract(epoch from '2026-06-20 18:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138155 -2.82716)'), GeomFromEWKT('SRID=4674;POINT (-40.138036 -2.827186)'))) / (select extract(epoch from '2026-06-20 18:44:20'::timestamp) - extract(epoch from '2026-06-20 18:44: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'), 46705, 'SRID=4674;POINT (-40.137934 -2.827207)', '2026-06-20 18:44:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138036 -2.827186)'), GeomFromEWKT('SRID=4674;POINT (-40.137934 -2.827207)'))) / (select extract(epoch from '2026-06-20 18:44:28'::timestamp) - extract(epoch from '2026-06-20 18:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138036 -2.827186)'), GeomFromEWKT('SRID=4674;POINT (-40.137934 -2.827207)'))) / (select extract(epoch from '2026-06-20 18:44:28'::timestamp) - extract(epoch from '2026-06-20 18:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137773 -2.827229)', '2026-06-20 18:44:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137934 -2.827207)'), GeomFromEWKT('SRID=4674;POINT (-40.137773 -2.827229)'))) / (select extract(epoch from '2026-06-20 18:44:38'::timestamp) - extract(epoch from '2026-06-20 18:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137934 -2.827207)'), GeomFromEWKT('SRID=4674;POINT (-40.137773 -2.827229)'))) / (select extract(epoch from '2026-06-20 18:44:38'::timestamp) - extract(epoch from '2026-06-20 18:44: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'), 46705, 'SRID=4674;POINT (-40.137625 -2.82723)', '2026-06-20 18:44:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137773 -2.827229)'), GeomFromEWKT('SRID=4674;POINT (-40.137625 -2.82723)'))) / (select extract(epoch from '2026-06-20 18:44:47'::timestamp) - extract(epoch from '2026-06-20 18:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137773 -2.827229)'), GeomFromEWKT('SRID=4674;POINT (-40.137625 -2.82723)'))) / (select extract(epoch from '2026-06-20 18:44:47'::timestamp) - extract(epoch from '2026-06-20 18:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137461 -2.827226)', '2026-06-20 18:44:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137625 -2.82723)'), GeomFromEWKT('SRID=4674;POINT (-40.137461 -2.827226)'))) / (select extract(epoch from '2026-06-20 18:44:56'::timestamp) - extract(epoch from '2026-06-20 18:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137625 -2.82723)'), GeomFromEWKT('SRID=4674;POINT (-40.137461 -2.827226)'))) / (select extract(epoch from '2026-06-20 18:44:56'::timestamp) - extract(epoch from '2026-06-20 18:44: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'), 46705, 'SRID=4674;POINT (-40.137275 -2.827253)', '2026-06-20 18:45:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137461 -2.827226)'), GeomFromEWKT('SRID=4674;POINT (-40.137275 -2.827253)'))) / (select extract(epoch from '2026-06-20 18:45:07'::timestamp) - extract(epoch from '2026-06-20 18:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137461 -2.827226)'), GeomFromEWKT('SRID=4674;POINT (-40.137275 -2.827253)'))) / (select extract(epoch from '2026-06-20 18:45:07'::timestamp) - extract(epoch from '2026-06-20 18:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137082 -2.827272)', '2026-06-20 18:45:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137275 -2.827253)'), GeomFromEWKT('SRID=4674;POINT (-40.137082 -2.827272)'))) / (select extract(epoch from '2026-06-20 18:45:17'::timestamp) - extract(epoch from '2026-06-20 18:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137275 -2.827253)'), GeomFromEWKT('SRID=4674;POINT (-40.137082 -2.827272)'))) / (select extract(epoch from '2026-06-20 18:45:17'::timestamp) - extract(epoch from '2026-06-20 18:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136876 -2.827264)', '2026-06-20 18:45:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137082 -2.827272)'), GeomFromEWKT('SRID=4674;POINT (-40.136876 -2.827264)'))) / (select extract(epoch from '2026-06-20 18:45:28'::timestamp) - extract(epoch from '2026-06-20 18:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137082 -2.827272)'), GeomFromEWKT('SRID=4674;POINT (-40.136876 -2.827264)'))) / (select extract(epoch from '2026-06-20 18:45:28'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.136736 -2.827234)', '2026-06-20 18:45:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136876 -2.827264)'), GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827234)'))) / (select extract(epoch from '2026-06-20 18:45:36'::timestamp) - extract(epoch from '2026-06-20 18:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136876 -2.827264)'), GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827234)'))) / (select extract(epoch from '2026-06-20 18:45:36'::timestamp) - extract(epoch from '2026-06-20 18:45: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'), 46705, 'SRID=4674;POINT (-40.136567 -2.827197)', '2026-06-20 18:45:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827234)'), GeomFromEWKT('SRID=4674;POINT (-40.136567 -2.827197)'))) / (select extract(epoch from '2026-06-20 18:45:45'::timestamp) - extract(epoch from '2026-06-20 18:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827234)'), GeomFromEWKT('SRID=4674;POINT (-40.136567 -2.827197)'))) / (select extract(epoch from '2026-06-20 18:45:45'::timestamp) - extract(epoch from '2026-06-20 18:45: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'), 46705, 'SRID=4674;POINT (-40.136354 -2.82716)', '2026-06-20 18:45:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136567 -2.827197)'), GeomFromEWKT('SRID=4674;POINT (-40.136354 -2.82716)'))) / (select extract(epoch from '2026-06-20 18:45:56'::timestamp) - extract(epoch from '2026-06-20 18:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136567 -2.827197)'), GeomFromEWKT('SRID=4674;POINT (-40.136354 -2.82716)'))) / (select extract(epoch from '2026-06-20 18:45:56'::timestamp) - extract(epoch from '2026-06-20 18:45: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'), 46705, 'SRID=4674;POINT (-40.136133 -2.82713)', '2026-06-20 18:46:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136354 -2.82716)'), GeomFromEWKT('SRID=4674;POINT (-40.136133 -2.82713)'))) / (select extract(epoch from '2026-06-20 18:46:07'::timestamp) - extract(epoch from '2026-06-20 18:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136354 -2.82716)'), GeomFromEWKT('SRID=4674;POINT (-40.136133 -2.82713)'))) / (select extract(epoch from '2026-06-20 18:46:07'::timestamp) - extract(epoch from '2026-06-20 18:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135916 -2.827098)', '2026-06-20 18:46:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136133 -2.82713)'), GeomFromEWKT('SRID=4674;POINT (-40.135916 -2.827098)'))) / (select extract(epoch from '2026-06-20 18:46:17'::timestamp) - extract(epoch from '2026-06-20 18:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136133 -2.82713)'), GeomFromEWKT('SRID=4674;POINT (-40.135916 -2.827098)'))) / (select extract(epoch from '2026-06-20 18:46:17'::timestamp) - extract(epoch from '2026-06-20 18:46: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'), 46705, 'SRID=4674;POINT (-40.135678 -2.827041)', '2026-06-20 18:46:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135916 -2.827098)'), GeomFromEWKT('SRID=4674;POINT (-40.135678 -2.827041)'))) / (select extract(epoch from '2026-06-20 18:46:28'::timestamp) - extract(epoch from '2026-06-20 18:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135916 -2.827098)'), GeomFromEWKT('SRID=4674;POINT (-40.135678 -2.827041)'))) / (select extract(epoch from '2026-06-20 18:46:28'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.135384 -2.827013)', '2026-06-20 18:46:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135678 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.827013)'))) / (select extract(epoch from '2026-06-20 18:46:41'::timestamp) - extract(epoch from '2026-06-20 18:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135678 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.827013)'))) / (select extract(epoch from '2026-06-20 18:46:41'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.135138 -2.827043)', '2026-06-20 18:46:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.827013)'), GeomFromEWKT('SRID=4674;POINT (-40.135138 -2.827043)'))) / (select extract(epoch from '2026-06-20 18:46:51'::timestamp) - extract(epoch from '2026-06-20 18:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.827013)'), GeomFromEWKT('SRID=4674;POINT (-40.135138 -2.827043)'))) / (select extract(epoch from '2026-06-20 18:46:51'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.134944 -2.827104)', '2026-06-20 18:47:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135138 -2.827043)'), GeomFromEWKT('SRID=4674;POINT (-40.134944 -2.827104)'))) / (select extract(epoch from '2026-06-20 18:47:00'::timestamp) - extract(epoch from '2026-06-20 18:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135138 -2.827043)'), GeomFromEWKT('SRID=4674;POINT (-40.134944 -2.827104)'))) / (select extract(epoch from '2026-06-20 18:47:00'::timestamp) - extract(epoch from '2026-06-20 18:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134798 -2.827208)', '2026-06-20 18:47:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134944 -2.827104)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.827208)'))) / (select extract(epoch from '2026-06-20 18:47:08'::timestamp) - extract(epoch from '2026-06-20 18:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134944 -2.827104)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.827208)'))) / (select extract(epoch from '2026-06-20 18:47:08'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.134606 -2.827367)', '2026-06-20 18:47:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.827208)'), GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.827367)'))) / (select extract(epoch from '2026-06-20 18:47:19'::timestamp) - extract(epoch from '2026-06-20 18:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.827208)'), GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.827367)'))) / (select extract(epoch from '2026-06-20 18:47:19'::timestamp) - extract(epoch from '2026-06-20 18:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134447 -2.827463)', '2026-06-20 18:47:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.827367)'), GeomFromEWKT('SRID=4674;POINT (-40.134447 -2.827463)'))) / (select extract(epoch from '2026-06-20 18:47:27'::timestamp) - extract(epoch from '2026-06-20 18:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134606 -2.827367)'), GeomFromEWKT('SRID=4674;POINT (-40.134447 -2.827463)'))) / (select extract(epoch from '2026-06-20 18:47:27'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.134266 -2.827584)', '2026-06-20 18:47:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134447 -2.827463)'), GeomFromEWKT('SRID=4674;POINT (-40.134266 -2.827584)'))) / (select extract(epoch from '2026-06-20 18:47:36'::timestamp) - extract(epoch from '2026-06-20 18:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134447 -2.827463)'), GeomFromEWKT('SRID=4674;POINT (-40.134266 -2.827584)'))) / (select extract(epoch from '2026-06-20 18:47:36'::timestamp) - extract(epoch from '2026-06-20 18:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134143 -2.827745)', '2026-06-20 18:47:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134266 -2.827584)'), GeomFromEWKT('SRID=4674;POINT (-40.134143 -2.827745)'))) / (select extract(epoch from '2026-06-20 18:47:45'::timestamp) - extract(epoch from '2026-06-20 18:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134266 -2.827584)'), GeomFromEWKT('SRID=4674;POINT (-40.134143 -2.827745)'))) / (select extract(epoch from '2026-06-20 18:47:45'::timestamp) - extract(epoch from '2026-06-20 18:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134074 -2.827929)', '2026-06-20 18:47:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134143 -2.827745)'), GeomFromEWKT('SRID=4674;POINT (-40.134074 -2.827929)'))) / (select extract(epoch from '2026-06-20 18:47:54'::timestamp) - extract(epoch from '2026-06-20 18:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134143 -2.827745)'), GeomFromEWKT('SRID=4674;POINT (-40.134074 -2.827929)'))) / (select extract(epoch from '2026-06-20 18:47:54'::timestamp) - extract(epoch from '2026-06-20 18:47: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'), 46705, 'SRID=4674;POINT (-40.134018 -2.82816)', '2026-06-20 18:48:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134074 -2.827929)'), GeomFromEWKT('SRID=4674;POINT (-40.134018 -2.82816)'))) / (select extract(epoch from '2026-06-20 18:48:05'::timestamp) - extract(epoch from '2026-06-20 18:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134074 -2.827929)'), GeomFromEWKT('SRID=4674;POINT (-40.134018 -2.82816)'))) / (select extract(epoch from '2026-06-20 18:48:05'::timestamp) - extract(epoch from '2026-06-20 18:47: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'), 46705, 'SRID=4674;POINT (-40.133972 -2.828374)', '2026-06-20 18:48:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134018 -2.82816)'), GeomFromEWKT('SRID=4674;POINT (-40.133972 -2.828374)'))) / (select extract(epoch from '2026-06-20 18:48:15'::timestamp) - extract(epoch from '2026-06-20 18:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134018 -2.82816)'), GeomFromEWKT('SRID=4674;POINT (-40.133972 -2.828374)'))) / (select extract(epoch from '2026-06-20 18:48:15'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.133927 -2.82853)', '2026-06-20 18:48:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133972 -2.828374)'), GeomFromEWKT('SRID=4674;POINT (-40.133927 -2.82853)'))) / (select extract(epoch from '2026-06-20 18:48:22'::timestamp) - extract(epoch from '2026-06-20 18:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133972 -2.828374)'), GeomFromEWKT('SRID=4674;POINT (-40.133927 -2.82853)'))) / (select extract(epoch from '2026-06-20 18:48:22'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.13383 -2.828729)', '2026-06-20 18:48:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133927 -2.82853)'), GeomFromEWKT('SRID=4674;POINT (-40.13383 -2.828729)'))) / (select extract(epoch from '2026-06-20 18:48:32'::timestamp) - extract(epoch from '2026-06-20 18:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133927 -2.82853)'), GeomFromEWKT('SRID=4674;POINT (-40.13383 -2.828729)'))) / (select extract(epoch from '2026-06-20 18:48:32'::timestamp) - extract(epoch from '2026-06-20 18:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133724 -2.828887)', '2026-06-20 18:48:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13383 -2.828729)'), GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.828887)'))) / (select extract(epoch from '2026-06-20 18:48:40'::timestamp) - extract(epoch from '2026-06-20 18:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13383 -2.828729)'), GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.828887)'))) / (select extract(epoch from '2026-06-20 18:48:40'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.133619 -2.82906)', '2026-06-20 18:48:50', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.828887)'), GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.82906)'))) / (select extract(epoch from '2026-06-20 18:48:50'::timestamp) - extract(epoch from '2026-06-20 18:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.828887)'), GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.82906)'))) / (select extract(epoch from '2026-06-20 18:48:50'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.133535 -2.829219)', '2026-06-20 18:48:59', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.82906)'), GeomFromEWKT('SRID=4674;POINT (-40.133535 -2.829219)'))) / (select extract(epoch from '2026-06-20 18:48:59'::timestamp) - extract(epoch from '2026-06-20 18:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.82906)'), GeomFromEWKT('SRID=4674;POINT (-40.133535 -2.829219)'))) / (select extract(epoch from '2026-06-20 18:48:59'::timestamp) - extract(epoch from '2026-06-20 18:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133439 -2.829401)', '2026-06-20 18:49:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133535 -2.829219)'), GeomFromEWKT('SRID=4674;POINT (-40.133439 -2.829401)'))) / (select extract(epoch from '2026-06-20 18:49:09'::timestamp) - extract(epoch from '2026-06-20 18:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133535 -2.829219)'), GeomFromEWKT('SRID=4674;POINT (-40.133439 -2.829401)'))) / (select extract(epoch from '2026-06-20 18:49:09'::timestamp) - extract(epoch from '2026-06-20 18:48: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'), 46705, 'SRID=4674;POINT (-40.133363 -2.829596)', '2026-06-20 18:49:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133439 -2.829401)'), GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829596)'))) / (select extract(epoch from '2026-06-20 18:49:20'::timestamp) - extract(epoch from '2026-06-20 18:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133439 -2.829401)'), GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829596)'))) / (select extract(epoch from '2026-06-20 18:49:20'::timestamp) - extract(epoch from '2026-06-20 18:49: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'), 46705, 'SRID=4674;POINT (-40.133312 -2.829767)', '2026-06-20 18:49:28', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829596)'), GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.829767)'))) / (select extract(epoch from '2026-06-20 18:49:28'::timestamp) - extract(epoch from '2026-06-20 18:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133363 -2.829596)'), GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.829767)'))) / (select extract(epoch from '2026-06-20 18:49:28'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.133249 -2.829926)', '2026-06-20 18:49:36', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.829767)'), GeomFromEWKT('SRID=4674;POINT (-40.133249 -2.829926)'))) / (select extract(epoch from '2026-06-20 18:49:36'::timestamp) - extract(epoch from '2026-06-20 18:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.829767)'), GeomFromEWKT('SRID=4674;POINT (-40.133249 -2.829926)'))) / (select extract(epoch from '2026-06-20 18:49:36'::timestamp) - extract(epoch from '2026-06-20 18:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13315 -2.830092)', '2026-06-20 18:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133249 -2.829926)'), GeomFromEWKT('SRID=4674;POINT (-40.13315 -2.830092)'))) / (select extract(epoch from '2026-06-20 18:49:46'::timestamp) - extract(epoch from '2026-06-20 18:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133249 -2.829926)'), GeomFromEWKT('SRID=4674;POINT (-40.13315 -2.830092)'))) / (select extract(epoch from '2026-06-20 18:49:46'::timestamp) - extract(epoch from '2026-06-20 18:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133089 -2.83025)', '2026-06-20 18:49:55', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13315 -2.830092)'), GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.83025)'))) / (select extract(epoch from '2026-06-20 18:49:55'::timestamp) - extract(epoch from '2026-06-20 18:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13315 -2.830092)'), GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.83025)'))) / (select extract(epoch from '2026-06-20 18:49:55'::timestamp) - extract(epoch from '2026-06-20 18:49: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'), 46705, 'SRID=4674;POINT (-40.132984 -2.830429)', '2026-06-20 18:50:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.83025)'), GeomFromEWKT('SRID=4674;POINT (-40.132984 -2.830429)'))) / (select extract(epoch from '2026-06-20 18:50:06'::timestamp) - extract(epoch from '2026-06-20 18:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.83025)'), GeomFromEWKT('SRID=4674;POINT (-40.132984 -2.830429)'))) / (select extract(epoch from '2026-06-20 18:50:06'::timestamp) - extract(epoch from '2026-06-20 18:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132907 -2.830587)', '2026-06-20 18:50:15', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132984 -2.830429)'), GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.830587)'))) / (select extract(epoch from '2026-06-20 18:50:15'::timestamp) - extract(epoch from '2026-06-20 18:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132984 -2.830429)'), GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.830587)'))) / (select extract(epoch from '2026-06-20 18:50:15'::timestamp) - extract(epoch from '2026-06-20 18:50: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'), 46705, 'SRID=4674;POINT (-40.132852 -2.830736)', '2026-06-20 18:50:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.830587)'), GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.830736)'))) / (select extract(epoch from '2026-06-20 18:50:23'::timestamp) - extract(epoch from '2026-06-20 18:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132907 -2.830587)'), GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.830736)'))) / (select extract(epoch from '2026-06-20 18:50:23'::timestamp) - extract(epoch from '2026-06-20 18:50: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'), 46705, 'SRID=4674;POINT (-40.132808 -2.83086)', '2026-06-20 18:50:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.830736)'), GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.83086)'))) / (select extract(epoch from '2026-06-20 18:50:30'::timestamp) - extract(epoch from '2026-06-20 18:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.830736)'), GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.83086)'))) / (select extract(epoch from '2026-06-20 18:50:30'::timestamp) - extract(epoch from '2026-06-20 18:50: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'), 46705, 'SRID=4674;POINT (-40.132761 -2.831045)', '2026-06-20 18:50:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.83086)'), GeomFromEWKT('SRID=4674;POINT (-40.132761 -2.831045)'))) / (select extract(epoch from '2026-06-20 18:50:40'::timestamp) - extract(epoch from '2026-06-20 18:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132808 -2.83086)'), GeomFromEWKT('SRID=4674;POINT (-40.132761 -2.831045)'))) / (select extract(epoch from '2026-06-20 18:50:40'::timestamp) - extract(epoch from '2026-06-20 18:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132699 -2.831246)', '2026-06-20 18:50:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132761 -2.831045)'), GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.831246)'))) / (select extract(epoch from '2026-06-20 18:50:50'::timestamp) - extract(epoch from '2026-06-20 18:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132761 -2.831045)'), GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.831246)'))) / (select extract(epoch from '2026-06-20 18:50:50'::timestamp) - extract(epoch from '2026-06-20 18:50: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'), 46705, 'SRID=4674;POINT (-40.132631 -2.831407)', '2026-06-20 18:50:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.831246)'), GeomFromEWKT('SRID=4674;POINT (-40.132631 -2.831407)'))) / (select extract(epoch from '2026-06-20 18:50:59'::timestamp) - extract(epoch from '2026-06-20 18:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.831246)'), GeomFromEWKT('SRID=4674;POINT (-40.132631 -2.831407)'))) / (select extract(epoch from '2026-06-20 18:50:59'::timestamp) - extract(epoch from '2026-06-20 18:50: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'), 46705, 'SRID=4674;POINT (-40.132547 -2.831584)', '2026-06-20 18:51:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132631 -2.831407)'), GeomFromEWKT('SRID=4674;POINT (-40.132547 -2.831584)'))) / (select extract(epoch from '2026-06-20 18:51:09'::timestamp) - extract(epoch from '2026-06-20 18:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132631 -2.831407)'), GeomFromEWKT('SRID=4674;POINT (-40.132547 -2.831584)'))) / (select extract(epoch from '2026-06-20 18:51:09'::timestamp) - extract(epoch from '2026-06-20 18:50: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'), 46705, 'SRID=4674;POINT (-40.13247 -2.831756)', '2026-06-20 18:51:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132547 -2.831584)'), GeomFromEWKT('SRID=4674;POINT (-40.13247 -2.831756)'))) / (select extract(epoch from '2026-06-20 18:51:19'::timestamp) - extract(epoch from '2026-06-20 18:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132547 -2.831584)'), GeomFromEWKT('SRID=4674;POINT (-40.13247 -2.831756)'))) / (select extract(epoch from '2026-06-20 18:51:19'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.132398 -2.83191)', '2026-06-20 18:51:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13247 -2.831756)'), GeomFromEWKT('SRID=4674;POINT (-40.132398 -2.83191)'))) / (select extract(epoch from '2026-06-20 18:51:27'::timestamp) - extract(epoch from '2026-06-20 18:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13247 -2.831756)'), GeomFromEWKT('SRID=4674;POINT (-40.132398 -2.83191)'))) / (select extract(epoch from '2026-06-20 18:51:27'::timestamp) - extract(epoch from '2026-06-20 18:51: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'), 46705, 'SRID=4674;POINT (-40.132321 -2.832085)', '2026-06-20 18:51:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132398 -2.83191)'), GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.832085)'))) / (select extract(epoch from '2026-06-20 18:51:37'::timestamp) - extract(epoch from '2026-06-20 18:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132398 -2.83191)'), GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.832085)'))) / (select extract(epoch from '2026-06-20 18:51:37'::timestamp) - extract(epoch from '2026-06-20 18:51: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'), 46705, 'SRID=4674;POINT (-40.132229 -2.832232)', '2026-06-20 18:51:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.832085)'), GeomFromEWKT('SRID=4674;POINT (-40.132229 -2.832232)'))) / (select extract(epoch from '2026-06-20 18:51:46'::timestamp) - extract(epoch from '2026-06-20 18:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.832085)'), GeomFromEWKT('SRID=4674;POINT (-40.132229 -2.832232)'))) / (select extract(epoch from '2026-06-20 18:51:46'::timestamp) - extract(epoch from '2026-06-20 18:51: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'), 46705, 'SRID=4674;POINT (-40.132135 -2.832378)', '2026-06-20 18:51:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132229 -2.832232)'), GeomFromEWKT('SRID=4674;POINT (-40.132135 -2.832378)'))) / (select extract(epoch from '2026-06-20 18:51:55'::timestamp) - extract(epoch from '2026-06-20 18:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132229 -2.832232)'), GeomFromEWKT('SRID=4674;POINT (-40.132135 -2.832378)'))) / (select extract(epoch from '2026-06-20 18:51:55'::timestamp) - extract(epoch from '2026-06-20 18:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132044 -2.832555)', '2026-06-20 18:52:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132135 -2.832378)'), GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.832555)'))) / (select extract(epoch from '2026-06-20 18:52:05'::timestamp) - extract(epoch from '2026-06-20 18:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132135 -2.832378)'), GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.832555)'))) / (select extract(epoch from '2026-06-20 18:52:05'::timestamp) - extract(epoch from '2026-06-20 18:51: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'), 46705, 'SRID=4674;POINT (-40.131961 -2.832736)', '2026-06-20 18:52:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.832555)'), GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832736)'))) / (select extract(epoch from '2026-06-20 18:52:15'::timestamp) - extract(epoch from '2026-06-20 18:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.832555)'), GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832736)'))) / (select extract(epoch from '2026-06-20 18:52:15'::timestamp) - extract(epoch from '2026-06-20 18:52: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'), 46705, 'SRID=4674;POINT (-40.131894 -2.832899)', '2026-06-20 18:52:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832736)'), GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.832899)'))) / (select extract(epoch from '2026-06-20 18:52:24'::timestamp) - extract(epoch from '2026-06-20 18:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832736)'), GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.832899)'))) / (select extract(epoch from '2026-06-20 18:52:24'::timestamp) - extract(epoch from '2026-06-20 18:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131841 -2.833096)', '2026-06-20 18:52:34', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.832899)'), GeomFromEWKT('SRID=4674;POINT (-40.131841 -2.833096)'))) / (select extract(epoch from '2026-06-20 18:52:34'::timestamp) - extract(epoch from '2026-06-20 18:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131894 -2.832899)'), GeomFromEWKT('SRID=4674;POINT (-40.131841 -2.833096)'))) / (select extract(epoch from '2026-06-20 18:52:34'::timestamp) - extract(epoch from '2026-06-20 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'), 46705, 'SRID=4674;POINT (-40.131788 -2.833257)', '2026-06-20 18:52:42', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131841 -2.833096)'), GeomFromEWKT('SRID=4674;POINT (-40.131788 -2.833257)'))) / (select extract(epoch from '2026-06-20 18:52:42'::timestamp) - extract(epoch from '2026-06-20 18:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131841 -2.833096)'), GeomFromEWKT('SRID=4674;POINT (-40.131788 -2.833257)'))) / (select extract(epoch from '2026-06-20 18:52:42'::timestamp) - extract(epoch from '2026-06-20 18:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131719 -2.833412)', '2026-06-20 18:52:50', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131788 -2.833257)'), GeomFromEWKT('SRID=4674;POINT (-40.131719 -2.833412)'))) / (select extract(epoch from '2026-06-20 18:52:50'::timestamp) - extract(epoch from '2026-06-20 18:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131788 -2.833257)'), GeomFromEWKT('SRID=4674;POINT (-40.131719 -2.833412)'))) / (select extract(epoch from '2026-06-20 18:52:50'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.131638 -2.833641)', '2026-06-20 18:53:02', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131719 -2.833412)'), GeomFromEWKT('SRID=4674;POINT (-40.131638 -2.833641)'))) / (select extract(epoch from '2026-06-20 18:53:02'::timestamp) - extract(epoch from '2026-06-20 18:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131719 -2.833412)'), GeomFromEWKT('SRID=4674;POINT (-40.131638 -2.833641)'))) / (select extract(epoch from '2026-06-20 18:53:02'::timestamp) - extract(epoch from '2026-06-20 18:52: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'), 46705, 'SRID=4674;POINT (-40.131567 -2.83382)', '2026-06-20 18:53:12', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131638 -2.833641)'), GeomFromEWKT('SRID=4674;POINT (-40.131567 -2.83382)'))) / (select extract(epoch from '2026-06-20 18:53:12'::timestamp) - extract(epoch from '2026-06-20 18:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131638 -2.833641)'), GeomFromEWKT('SRID=4674;POINT (-40.131567 -2.83382)'))) / (select extract(epoch from '2026-06-20 18:53:12'::timestamp) - extract(epoch from '2026-06-20 18:53: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'), 46705, 'SRID=4674;POINT (-40.131509 -2.833977)', '2026-06-20 18:53:20', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131567 -2.83382)'), GeomFromEWKT('SRID=4674;POINT (-40.131509 -2.833977)'))) / (select extract(epoch from '2026-06-20 18:53:20'::timestamp) - extract(epoch from '2026-06-20 18:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131567 -2.83382)'), GeomFromEWKT('SRID=4674;POINT (-40.131509 -2.833977)'))) / (select extract(epoch from '2026-06-20 18:53:20'::timestamp) - extract(epoch from '2026-06-20 18:53: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'), 46705, 'SRID=4674;POINT (-40.131412 -2.834157)', '2026-06-20 18:53:29', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131509 -2.833977)'), GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.834157)'))) / (select extract(epoch from '2026-06-20 18:53:29'::timestamp) - extract(epoch from '2026-06-20 18:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131509 -2.833977)'), GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.834157)'))) / (select extract(epoch from '2026-06-20 18:53:29'::timestamp) - extract(epoch from '2026-06-20 18:53: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'), 46705, 'SRID=4674;POINT (-40.131319 -2.834316)', '2026-06-20 18:53:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.834157)'), GeomFromEWKT('SRID=4674;POINT (-40.131319 -2.834316)'))) / (select extract(epoch from '2026-06-20 18:53:38'::timestamp) - extract(epoch from '2026-06-20 18:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.834157)'), GeomFromEWKT('SRID=4674;POINT (-40.131319 -2.834316)'))) / (select extract(epoch from '2026-06-20 18:53:38'::timestamp) - extract(epoch from '2026-06-20 18:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131236 -2.834504)', '2026-06-20 18:53:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131319 -2.834316)'), GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834504)'))) / (select extract(epoch from '2026-06-20 18:53:49'::timestamp) - extract(epoch from '2026-06-20 18:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131319 -2.834316)'), GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834504)'))) / (select extract(epoch from '2026-06-20 18:53:49'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.131188 -2.834654)', '2026-06-20 18:53:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834504)'), GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.834654)'))) / (select extract(epoch from '2026-06-20 18:53:57'::timestamp) - extract(epoch from '2026-06-20 18:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131236 -2.834504)'), GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.834654)'))) / (select extract(epoch from '2026-06-20 18:53:57'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.131144 -2.834803)', '2026-06-20 18:54:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.834654)'), GeomFromEWKT('SRID=4674;POINT (-40.131144 -2.834803)'))) / (select extract(epoch from '2026-06-20 18:54:05'::timestamp) - extract(epoch from '2026-06-20 18:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.834654)'), GeomFromEWKT('SRID=4674;POINT (-40.131144 -2.834803)'))) / (select extract(epoch from '2026-06-20 18:54:05'::timestamp) - extract(epoch from '2026-06-20 18:53: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'), 46705, 'SRID=4674;POINT (-40.131076 -2.83496)', '2026-06-20 18:54:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131144 -2.834803)'), GeomFromEWKT('SRID=4674;POINT (-40.131076 -2.83496)'))) / (select extract(epoch from '2026-06-20 18:54:13'::timestamp) - extract(epoch from '2026-06-20 18:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131144 -2.834803)'), GeomFromEWKT('SRID=4674;POINT (-40.131076 -2.83496)'))) / (select extract(epoch from '2026-06-20 18:54:13'::timestamp) - extract(epoch from '2026-06-20 18:54: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'), 46705, 'SRID=4674;POINT (-40.131015 -2.83513)', '2026-06-20 18:54:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131076 -2.83496)'), GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83513)'))) / (select extract(epoch from '2026-06-20 18:54:22'::timestamp) - extract(epoch from '2026-06-20 18:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131076 -2.83496)'), GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83513)'))) / (select extract(epoch from '2026-06-20 18:54:22'::timestamp) - extract(epoch from '2026-06-20 18:54: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'), 46705, 'SRID=4674;POINT (-40.130959 -2.835283)', '2026-06-20 18:54:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83513)'), GeomFromEWKT('SRID=4674;POINT (-40.130959 -2.835283)'))) / (select extract(epoch from '2026-06-20 18:54:30'::timestamp) - extract(epoch from '2026-06-20 18:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83513)'), GeomFromEWKT('SRID=4674;POINT (-40.130959 -2.835283)'))) / (select extract(epoch from '2026-06-20 18:54:30'::timestamp) - extract(epoch from '2026-06-20 18:54: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'), 46705, 'SRID=4674;POINT (-40.130906 -2.835465)', '2026-06-20 18:54:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130959 -2.835283)'), GeomFromEWKT('SRID=4674;POINT (-40.130906 -2.835465)'))) / (select extract(epoch from '2026-06-20 18:54:40'::timestamp) - extract(epoch from '2026-06-20 18:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130959 -2.835283)'), GeomFromEWKT('SRID=4674;POINT (-40.130906 -2.835465)'))) / (select extract(epoch from '2026-06-20 18:54:40'::timestamp) - extract(epoch from '2026-06-20 18:54: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'), 46705, 'SRID=4674;POINT (-40.130837 -2.835688)', '2026-06-20 18:54:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130906 -2.835465)'), GeomFromEWKT('SRID=4674;POINT (-40.130837 -2.835688)'))) / (select extract(epoch from '2026-06-20 18:54:51'::timestamp) - extract(epoch from '2026-06-20 18:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130906 -2.835465)'), GeomFromEWKT('SRID=4674;POINT (-40.130837 -2.835688)'))) / (select extract(epoch from '2026-06-20 18:54:51'::timestamp) - extract(epoch from '2026-06-20 18:54: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'), 46705, 'SRID=4674;POINT (-40.130781 -2.83585)', '2026-06-20 18:54:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130837 -2.835688)'), GeomFromEWKT('SRID=4674;POINT (-40.130781 -2.83585)'))) / (select extract(epoch from '2026-06-20 18:54:59'::timestamp) - extract(epoch from '2026-06-20 18:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130837 -2.835688)'), GeomFromEWKT('SRID=4674;POINT (-40.130781 -2.83585)'))) / (select extract(epoch from '2026-06-20 18:54:59'::timestamp) - extract(epoch from '2026-06-20 18:54: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'), 46705, 'SRID=4674;POINT (-40.130704 -2.836035)', '2026-06-20 18:55:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130781 -2.83585)'), GeomFromEWKT('SRID=4674;POINT (-40.130704 -2.836035)'))) / (select extract(epoch from '2026-06-20 18:55:08'::timestamp) - extract(epoch from '2026-06-20 18:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130781 -2.83585)'), GeomFromEWKT('SRID=4674;POINT (-40.130704 -2.836035)'))) / (select extract(epoch from '2026-06-20 18:55:08'::timestamp) - extract(epoch from '2026-06-20 18:54: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'), 46705, 'SRID=4674;POINT (-40.130629 -2.836238)', '2026-06-20 18:55:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130704 -2.836035)'), GeomFromEWKT('SRID=4674;POINT (-40.130629 -2.836238)'))) / (select extract(epoch from '2026-06-20 18:55:18'::timestamp) - extract(epoch from '2026-06-20 18:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130704 -2.836035)'), GeomFromEWKT('SRID=4674;POINT (-40.130629 -2.836238)'))) / (select extract(epoch from '2026-06-20 18:55:18'::timestamp) - extract(epoch from '2026-06-20 18:55: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'), 46705, 'SRID=4674;POINT (-40.130591 -2.836397)', '2026-06-20 18:55:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130629 -2.836238)'), GeomFromEWKT('SRID=4674;POINT (-40.130591 -2.836397)'))) / (select extract(epoch from '2026-06-20 18:55:27'::timestamp) - extract(epoch from '2026-06-20 18:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130629 -2.836238)'), GeomFromEWKT('SRID=4674;POINT (-40.130591 -2.836397)'))) / (select extract(epoch from '2026-06-20 18:55:27'::timestamp) - extract(epoch from '2026-06-20 18:55: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'), 46705, 'SRID=4674;POINT (-40.130564 -2.836553)', '2026-06-20 18:55:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130591 -2.836397)'), GeomFromEWKT('SRID=4674;POINT (-40.130564 -2.836553)'))) / (select extract(epoch from '2026-06-20 18:55:36'::timestamp) - extract(epoch from '2026-06-20 18:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130591 -2.836397)'), GeomFromEWKT('SRID=4674;POINT (-40.130564 -2.836553)'))) / (select extract(epoch from '2026-06-20 18:55:36'::timestamp) - extract(epoch from '2026-06-20 18:55: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'), 46705, 'SRID=4674;POINT (-40.130522 -2.836696)', '2026-06-20 18:55:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130564 -2.836553)'), GeomFromEWKT('SRID=4674;POINT (-40.130522 -2.836696)'))) / (select extract(epoch from '2026-06-20 18:55:44'::timestamp) - extract(epoch from '2026-06-20 18:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130564 -2.836553)'), GeomFromEWKT('SRID=4674;POINT (-40.130522 -2.836696)'))) / (select extract(epoch from '2026-06-20 18:55:44'::timestamp) - extract(epoch from '2026-06-20 18:55: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'), 46705, 'SRID=4674;POINT (-40.130475 -2.836866)', '2026-06-20 18:55:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130522 -2.836696)'), GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.836866)'))) / (select extract(epoch from '2026-06-20 18:55:53'::timestamp) - extract(epoch from '2026-06-20 18:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130522 -2.836696)'), GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.836866)'))) / (select extract(epoch from '2026-06-20 18:55:53'::timestamp) - extract(epoch from '2026-06-20 18:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130448 -2.83705)', '2026-06-20 18:56:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.836866)'), GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.83705)'))) / (select extract(epoch from '2026-06-20 18:56:02'::timestamp) - extract(epoch from '2026-06-20 18:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130475 -2.836866)'), GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.83705)'))) / (select extract(epoch from '2026-06-20 18:56:02'::timestamp) - extract(epoch from '2026-06-20 18:55: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'), 46705, 'SRID=4674;POINT (-40.130416 -2.837251)', '2026-06-20 18:56:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.83705)'), GeomFromEWKT('SRID=4674;POINT (-40.130416 -2.837251)'))) / (select extract(epoch from '2026-06-20 18:56:12'::timestamp) - extract(epoch from '2026-06-20 18:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.83705)'), GeomFromEWKT('SRID=4674;POINT (-40.130416 -2.837251)'))) / (select extract(epoch from '2026-06-20 18:56:12'::timestamp) - extract(epoch from '2026-06-20 18:56: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'), 46705, 'SRID=4674;POINT (-40.130388 -2.837439)', '2026-06-20 18:56:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130416 -2.837251)'), GeomFromEWKT('SRID=4674;POINT (-40.130388 -2.837439)'))) / (select extract(epoch from '2026-06-20 18:56:21'::timestamp) - extract(epoch from '2026-06-20 18:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130416 -2.837251)'), GeomFromEWKT('SRID=4674;POINT (-40.130388 -2.837439)'))) / (select extract(epoch from '2026-06-20 18:56:21'::timestamp) - extract(epoch from '2026-06-20 18:56: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'), 46705, 'SRID=4674;POINT (-40.130371 -2.837602)', '2026-06-20 18:56:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130388 -2.837439)'), GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.837602)'))) / (select extract(epoch from '2026-06-20 18:56:29'::timestamp) - extract(epoch from '2026-06-20 18:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130388 -2.837439)'), GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.837602)'))) / (select extract(epoch from '2026-06-20 18:56:29'::timestamp) - extract(epoch from '2026-06-20 18:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13035 -2.837804)', '2026-06-20 18:56:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.837602)'), GeomFromEWKT('SRID=4674;POINT (-40.13035 -2.837804)'))) / (select extract(epoch from '2026-06-20 18:56:39'::timestamp) - extract(epoch from '2026-06-20 18:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.837602)'), GeomFromEWKT('SRID=4674;POINT (-40.13035 -2.837804)'))) / (select extract(epoch from '2026-06-20 18:56:39'::timestamp) - extract(epoch from '2026-06-20 18:56: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'), 46705, 'SRID=4674;POINT (-40.130346 -2.837994)', '2026-06-20 18:56:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13035 -2.837804)'), GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837994)'))) / (select extract(epoch from '2026-06-20 18:56:48'::timestamp) - extract(epoch from '2026-06-20 18:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13035 -2.837804)'), GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837994)'))) / (select extract(epoch from '2026-06-20 18:56:48'::timestamp) - extract(epoch from '2026-06-20 18:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130351 -2.838197)', '2026-06-20 18:56:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837994)'), GeomFromEWKT('SRID=4674;POINT (-40.130351 -2.838197)'))) / (select extract(epoch from '2026-06-20 18:56:58'::timestamp) - extract(epoch from '2026-06-20 18:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130346 -2.837994)'), GeomFromEWKT('SRID=4674;POINT (-40.130351 -2.838197)'))) / (select extract(epoch from '2026-06-20 18:56:58'::timestamp) - extract(epoch from '2026-06-20 18:56: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'), 46705, 'SRID=4674;POINT (-40.130341 -2.83839)', '2026-06-20 18:57:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130351 -2.838197)'), GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.83839)'))) / (select extract(epoch from '2026-06-20 18:57:08'::timestamp) - extract(epoch from '2026-06-20 18:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130351 -2.838197)'), GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.83839)'))) / (select extract(epoch from '2026-06-20 18:57:08'::timestamp) - extract(epoch from '2026-06-20 18:56: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'), 46705, 'SRID=4674;POINT (-40.130317 -2.838566)', '2026-06-20 18:57:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.83839)'), GeomFromEWKT('SRID=4674;POINT (-40.130317 -2.838566)'))) / (select extract(epoch from '2026-06-20 18:57:17'::timestamp) - extract(epoch from '2026-06-20 18:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.83839)'), GeomFromEWKT('SRID=4674;POINT (-40.130317 -2.838566)'))) / (select extract(epoch from '2026-06-20 18:57:17'::timestamp) - extract(epoch from '2026-06-20 18:57: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'), 46705, 'SRID=4674;POINT (-40.130275 -2.838748)', '2026-06-20 18:57:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130317 -2.838566)'), GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.838748)'))) / (select extract(epoch from '2026-06-20 18:57:27'::timestamp) - extract(epoch from '2026-06-20 18:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130317 -2.838566)'), GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.838748)'))) / (select extract(epoch from '2026-06-20 18:57:27'::timestamp) - extract(epoch from '2026-06-20 18:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130239 -2.838925)', '2026-06-20 18:57:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.838748)'), GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.838925)'))) / (select extract(epoch from '2026-06-20 18:57:36'::timestamp) - extract(epoch from '2026-06-20 18:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.838748)'), GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.838925)'))) / (select extract(epoch from '2026-06-20 18:57:36'::timestamp) - extract(epoch from '2026-06-20 18:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130208 -2.839155)', '2026-06-20 18:57:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.838925)'), GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.839155)'))) / (select extract(epoch from '2026-06-20 18:57:47'::timestamp) - extract(epoch from '2026-06-20 18:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130239 -2.838925)'), GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.839155)'))) / (select extract(epoch from '2026-06-20 18:57:47'::timestamp) - extract(epoch from '2026-06-20 18:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130177 -2.839343)', '2026-06-20 18:57:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.839155)'), GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.839343)'))) / (select extract(epoch from '2026-06-20 18:57:57'::timestamp) - extract(epoch from '2026-06-20 18:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.839155)'), GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.839343)'))) / (select extract(epoch from '2026-06-20 18:57:57'::timestamp) - extract(epoch from '2026-06-20 18:57: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'), 46705, 'SRID=4674;POINT (-40.130125 -2.839557)', '2026-06-20 18:58:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.839343)'), GeomFromEWKT('SRID=4674;POINT (-40.130125 -2.839557)'))) / (select extract(epoch from '2026-06-20 18:58:08'::timestamp) - extract(epoch from '2026-06-20 18:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.839343)'), GeomFromEWKT('SRID=4674;POINT (-40.130125 -2.839557)'))) / (select extract(epoch from '2026-06-20 18:58:08'::timestamp) - extract(epoch from '2026-06-20 18:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130051 -2.839752)', '2026-06-20 18:58:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130125 -2.839557)'), GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839752)'))) / (select extract(epoch from '2026-06-20 18:58:18'::timestamp) - extract(epoch from '2026-06-20 18:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130125 -2.839557)'), GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839752)'))) / (select extract(epoch from '2026-06-20 18:58:18'::timestamp) - extract(epoch from '2026-06-20 18:58: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'), 46705, 'SRID=4674;POINT (-40.129976 -2.839946)', '2026-06-20 18:58:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839752)'), GeomFromEWKT('SRID=4674;POINT (-40.129976 -2.839946)'))) / (select extract(epoch from '2026-06-20 18:58:28'::timestamp) - extract(epoch from '2026-06-20 18:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130051 -2.839752)'), GeomFromEWKT('SRID=4674;POINT (-40.129976 -2.839946)'))) / (select extract(epoch from '2026-06-20 18:58:28'::timestamp) - extract(epoch from '2026-06-20 18:58: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'), 46705, 'SRID=4674;POINT (-40.129938 -2.840111)', '2026-06-20 18:58:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129976 -2.839946)'), GeomFromEWKT('SRID=4674;POINT (-40.129938 -2.840111)'))) / (select extract(epoch from '2026-06-20 18:58:37'::timestamp) - extract(epoch from '2026-06-20 18:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129976 -2.839946)'), GeomFromEWKT('SRID=4674;POINT (-40.129938 -2.840111)'))) / (select extract(epoch from '2026-06-20 18:58:37'::timestamp) - extract(epoch from '2026-06-20 18:58: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'), 46705, 'SRID=4674;POINT (-40.129864 -2.840324)', '2026-06-20 18:58:48', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129938 -2.840111)'), GeomFromEWKT('SRID=4674;POINT (-40.129864 -2.840324)'))) / (select extract(epoch from '2026-06-20 18:58:48'::timestamp) - extract(epoch from '2026-06-20 18:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129938 -2.840111)'), GeomFromEWKT('SRID=4674;POINT (-40.129864 -2.840324)'))) / (select extract(epoch from '2026-06-20 18:58:48'::timestamp) - extract(epoch from '2026-06-20 18:58: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'), 46705, 'SRID=4674;POINT (-40.129833 -2.840507)', '2026-06-20 18:58:58', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129864 -2.840324)'), GeomFromEWKT('SRID=4674;POINT (-40.129833 -2.840507)'))) / (select extract(epoch from '2026-06-20 18:58:58'::timestamp) - extract(epoch from '2026-06-20 18:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129864 -2.840324)'), GeomFromEWKT('SRID=4674;POINT (-40.129833 -2.840507)'))) / (select extract(epoch from '2026-06-20 18:58:58'::timestamp) - extract(epoch from '2026-06-20 18:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12981 -2.840656)', '2026-06-20 18:59:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129833 -2.840507)'), GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.840656)'))) / (select extract(epoch from '2026-06-20 18:59:06'::timestamp) - extract(epoch from '2026-06-20 18:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129833 -2.840507)'), GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.840656)'))) / (select extract(epoch from '2026-06-20 18:59:06'::timestamp) - extract(epoch from '2026-06-20 18:58: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'), 46705, 'SRID=4674;POINT (-40.129797 -2.840825)', '2026-06-20 18:59:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.840656)'), GeomFromEWKT('SRID=4674;POINT (-40.129797 -2.840825)'))) / (select extract(epoch from '2026-06-20 18:59:15'::timestamp) - extract(epoch from '2026-06-20 18:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12981 -2.840656)'), GeomFromEWKT('SRID=4674;POINT (-40.129797 -2.840825)'))) / (select extract(epoch from '2026-06-20 18:59:15'::timestamp) - extract(epoch from '2026-06-20 18:59: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'), 46705, 'SRID=4674;POINT (-40.129751 -2.841009)', '2026-06-20 18:59:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129797 -2.840825)'), GeomFromEWKT('SRID=4674;POINT (-40.129751 -2.841009)'))) / (select extract(epoch from '2026-06-20 18:59:26'::timestamp) - extract(epoch from '2026-06-20 18:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129797 -2.840825)'), GeomFromEWKT('SRID=4674;POINT (-40.129751 -2.841009)'))) / (select extract(epoch from '2026-06-20 18:59:26'::timestamp) - extract(epoch from '2026-06-20 18:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129706 -2.841212)', '2026-06-20 18:59:37', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129751 -2.841009)'), GeomFromEWKT('SRID=4674;POINT (-40.129706 -2.841212)'))) / (select extract(epoch from '2026-06-20 18:59:37'::timestamp) - extract(epoch from '2026-06-20 18:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129751 -2.841009)'), GeomFromEWKT('SRID=4674;POINT (-40.129706 -2.841212)'))) / (select extract(epoch from '2026-06-20 18:59:37'::timestamp) - extract(epoch from '2026-06-20 18:59: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'), 46705, 'SRID=4674;POINT (-40.129652 -2.841349)', '2026-06-20 18:59:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129706 -2.841212)'), GeomFromEWKT('SRID=4674;POINT (-40.129652 -2.841349)'))) / (select extract(epoch from '2026-06-20 18:59:45'::timestamp) - extract(epoch from '2026-06-20 18:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129706 -2.841212)'), GeomFromEWKT('SRID=4674;POINT (-40.129652 -2.841349)'))) / (select extract(epoch from '2026-06-20 18:59:45'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46705, 'SRID=4674;POINT (-40.129582 -2.841502)', '2026-06-20 18:59:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129652 -2.841349)'), GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.841502)'))) / (select extract(epoch from '2026-06-20 18:59:54'::timestamp) - extract(epoch from '2026-06-20 18:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129652 -2.841349)'), GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.841502)'))) / (select extract(epoch from '2026-06-20 18:59:54'::timestamp) - extract(epoch from '2026-06-20 18:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129499 -2.841661)', '2026-06-20 19:00:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.841502)'), GeomFromEWKT('SRID=4674;POINT (-40.129499 -2.841661)'))) / (select extract(epoch from '2026-06-20 19:00:03'::timestamp) - extract(epoch from '2026-06-20 18:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.841502)'), GeomFromEWKT('SRID=4674;POINT (-40.129499 -2.841661)'))) / (select extract(epoch from '2026-06-20 19:00:03'::timestamp) - extract(epoch from '2026-06-20 18:59: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'), 46705, 'SRID=4674;POINT (-40.129406 -2.841815)', '2026-06-20 19:00:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129499 -2.841661)'), GeomFromEWKT('SRID=4674;POINT (-40.129406 -2.841815)'))) / (select extract(epoch from '2026-06-20 19:00:12'::timestamp) - extract(epoch from '2026-06-20 19:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129499 -2.841661)'), GeomFromEWKT('SRID=4674;POINT (-40.129406 -2.841815)'))) / (select extract(epoch from '2026-06-20 19:00:12'::timestamp) - extract(epoch from '2026-06-20 19:00: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'), 46705, 'SRID=4674;POINT (-40.129292 -2.841997)', '2026-06-20 19:00:23', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129406 -2.841815)'), GeomFromEWKT('SRID=4674;POINT (-40.129292 -2.841997)'))) / (select extract(epoch from '2026-06-20 19:00:23'::timestamp) - extract(epoch from '2026-06-20 19:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129406 -2.841815)'), GeomFromEWKT('SRID=4674;POINT (-40.129292 -2.841997)'))) / (select extract(epoch from '2026-06-20 19:00:23'::timestamp) - extract(epoch from '2026-06-20 19:00: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'), 46705, 'SRID=4674;POINT (-40.129168 -2.842174)', '2026-06-20 19:00:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129292 -2.841997)'), GeomFromEWKT('SRID=4674;POINT (-40.129168 -2.842174)'))) / (select extract(epoch from '2026-06-20 19:00:34'::timestamp) - extract(epoch from '2026-06-20 19:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129292 -2.841997)'), GeomFromEWKT('SRID=4674;POINT (-40.129168 -2.842174)'))) / (select extract(epoch from '2026-06-20 19:00:34'::timestamp) - extract(epoch from '2026-06-20 19:00: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'), 46705, 'SRID=4674;POINT (-40.129108 -2.842321)', '2026-06-20 19:00:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129168 -2.842174)'), GeomFromEWKT('SRID=4674;POINT (-40.129108 -2.842321)'))) / (select extract(epoch from '2026-06-20 19:00:43'::timestamp) - extract(epoch from '2026-06-20 19:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129168 -2.842174)'), GeomFromEWKT('SRID=4674;POINT (-40.129108 -2.842321)'))) / (select extract(epoch from '2026-06-20 19:00:43'::timestamp) - extract(epoch from '2026-06-20 19:00: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'), 46705, 'SRID=4674;POINT (-40.129029 -2.842472)', '2026-06-20 19:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129108 -2.842321)'), GeomFromEWKT('SRID=4674;POINT (-40.129029 -2.842472)'))) / (select extract(epoch from '2026-06-20 19:00:52'::timestamp) - extract(epoch from '2026-06-20 19:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129108 -2.842321)'), GeomFromEWKT('SRID=4674;POINT (-40.129029 -2.842472)'))) / (select extract(epoch from '2026-06-20 19:00:52'::timestamp) - extract(epoch from '2026-06-20 19:00: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'), 46705, 'SRID=4674;POINT (-40.128938 -2.842629)', '2026-06-20 19:01:02', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129029 -2.842472)'), GeomFromEWKT('SRID=4674;POINT (-40.128938 -2.842629)'))) / (select extract(epoch from '2026-06-20 19:01:02'::timestamp) - extract(epoch from '2026-06-20 19:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129029 -2.842472)'), GeomFromEWKT('SRID=4674;POINT (-40.128938 -2.842629)'))) / (select extract(epoch from '2026-06-20 19:01:02'::timestamp) - extract(epoch from '2026-06-20 19: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'), 46705, 'SRID=4674;POINT (-40.128868 -2.842763)', '2026-06-20 19:01:10', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128938 -2.842629)'), GeomFromEWKT('SRID=4674;POINT (-40.128868 -2.842763)'))) / (select extract(epoch from '2026-06-20 19:01:10'::timestamp) - extract(epoch from '2026-06-20 19:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128938 -2.842629)'), GeomFromEWKT('SRID=4674;POINT (-40.128868 -2.842763)'))) / (select extract(epoch from '2026-06-20 19:01:10'::timestamp) - extract(epoch from '2026-06-20 19:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128834 -2.842903)', '2026-06-20 19:01:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128868 -2.842763)'), GeomFromEWKT('SRID=4674;POINT (-40.128834 -2.842903)'))) / (select extract(epoch from '2026-06-20 19:01:18'::timestamp) - extract(epoch from '2026-06-20 19:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128868 -2.842763)'), GeomFromEWKT('SRID=4674;POINT (-40.128834 -2.842903)'))) / (select extract(epoch from '2026-06-20 19:01:18'::timestamp) - extract(epoch from '2026-06-20 19:01: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'), 46705, 'SRID=4674;POINT (-40.128767 -2.843056)', '2026-06-20 19:01:28', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128834 -2.842903)'), GeomFromEWKT('SRID=4674;POINT (-40.128767 -2.843056)'))) / (select extract(epoch from '2026-06-20 19:01:28'::timestamp) - extract(epoch from '2026-06-20 19:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128834 -2.842903)'), GeomFromEWKT('SRID=4674;POINT (-40.128767 -2.843056)'))) / (select extract(epoch from '2026-06-20 19:01:28'::timestamp) - extract(epoch from '2026-06-20 19:01: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'), 46705, 'SRID=4674;POINT (-40.128683 -2.843209)', '2026-06-20 19:01:38', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128767 -2.843056)'), GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843209)'))) / (select extract(epoch from '2026-06-20 19:01:38'::timestamp) - extract(epoch from '2026-06-20 19:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128767 -2.843056)'), GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843209)'))) / (select extract(epoch from '2026-06-20 19:01:38'::timestamp) - extract(epoch from '2026-06-20 19:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128604 -2.843361)', '2026-06-20 19:01:47', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843209)'), GeomFromEWKT('SRID=4674;POINT (-40.128604 -2.843361)'))) / (select extract(epoch from '2026-06-20 19:01:47'::timestamp) - extract(epoch from '2026-06-20 19:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843209)'), GeomFromEWKT('SRID=4674;POINT (-40.128604 -2.843361)'))) / (select extract(epoch from '2026-06-20 19:01:47'::timestamp) - extract(epoch from '2026-06-20 19:01: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'), 46705, 'SRID=4674;POINT (-40.128525 -2.84349)', '2026-06-20 19:01:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128604 -2.843361)'), GeomFromEWKT('SRID=4674;POINT (-40.128525 -2.84349)'))) / (select extract(epoch from '2026-06-20 19:01:55'::timestamp) - extract(epoch from '2026-06-20 19:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128604 -2.843361)'), GeomFromEWKT('SRID=4674;POINT (-40.128525 -2.84349)'))) / (select extract(epoch from '2026-06-20 19:01:55'::timestamp) - extract(epoch from '2026-06-20 19:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128449 -2.84365)', '2026-06-20 19:02:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128525 -2.84349)'), GeomFromEWKT('SRID=4674;POINT (-40.128449 -2.84365)'))) / (select extract(epoch from '2026-06-20 19:02:05'::timestamp) - extract(epoch from '2026-06-20 19:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128525 -2.84349)'), GeomFromEWKT('SRID=4674;POINT (-40.128449 -2.84365)'))) / (select extract(epoch from '2026-06-20 19:02:05'::timestamp) - extract(epoch from '2026-06-20 19:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128357 -2.843796)', '2026-06-20 19:02:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128449 -2.84365)'), GeomFromEWKT('SRID=4674;POINT (-40.128357 -2.843796)'))) / (select extract(epoch from '2026-06-20 19:02:14'::timestamp) - extract(epoch from '2026-06-20 19:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128449 -2.84365)'), GeomFromEWKT('SRID=4674;POINT (-40.128357 -2.843796)'))) / (select extract(epoch from '2026-06-20 19:02:14'::timestamp) - extract(epoch from '2026-06-20 19:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128279 -2.843933)', '2026-06-20 19:02:22', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128357 -2.843796)'), GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843933)'))) / (select extract(epoch from '2026-06-20 19:02:22'::timestamp) - extract(epoch from '2026-06-20 19:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128357 -2.843796)'), GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843933)'))) / (select extract(epoch from '2026-06-20 19:02:22'::timestamp) - extract(epoch from '2026-06-20 19:02: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'), 46705, 'SRID=4674;POINT (-40.128228 -2.844082)', '2026-06-20 19:02:30', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843933)'), GeomFromEWKT('SRID=4674;POINT (-40.128228 -2.844082)'))) / (select extract(epoch from '2026-06-20 19:02:30'::timestamp) - extract(epoch from '2026-06-20 19:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843933)'), GeomFromEWKT('SRID=4674;POINT (-40.128228 -2.844082)'))) / (select extract(epoch from '2026-06-20 19:02:30'::timestamp) - extract(epoch from '2026-06-20 19:02: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'), 46705, 'SRID=4674;POINT (-40.128146 -2.844221)', '2026-06-20 19:02:39', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128228 -2.844082)'), GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844221)'))) / (select extract(epoch from '2026-06-20 19:02:39'::timestamp) - extract(epoch from '2026-06-20 19:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128228 -2.844082)'), GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844221)'))) / (select extract(epoch from '2026-06-20 19:02:39'::timestamp) - extract(epoch from '2026-06-20 19:02: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'), 46705, 'SRID=4674;POINT (-40.128086 -2.84432)', '2026-06-20 19:02:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844221)'), GeomFromEWKT('SRID=4674;POINT (-40.128086 -2.84432)'))) / (select extract(epoch from '2026-06-20 19:02:46'::timestamp) - extract(epoch from '2026-06-20 19:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844221)'), GeomFromEWKT('SRID=4674;POINT (-40.128086 -2.84432)'))) / (select extract(epoch from '2026-06-20 19:02:46'::timestamp) - extract(epoch from '2026-06-20 19: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'), 46705, 'SRID=4674;POINT (-40.128007 -2.844471)', '2026-06-20 19:02:56', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128086 -2.84432)'), GeomFromEWKT('SRID=4674;POINT (-40.128007 -2.844471)'))) / (select extract(epoch from '2026-06-20 19:02:56'::timestamp) - extract(epoch from '2026-06-20 19:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128086 -2.84432)'), GeomFromEWKT('SRID=4674;POINT (-40.128007 -2.844471)'))) / (select extract(epoch from '2026-06-20 19:02:56'::timestamp) - extract(epoch from '2026-06-20 19:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127937 -2.844584)', '2026-06-20 19:03:04', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128007 -2.844471)'), GeomFromEWKT('SRID=4674;POINT (-40.127937 -2.844584)'))) / (select extract(epoch from '2026-06-20 19:03:04'::timestamp) - extract(epoch from '2026-06-20 19:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128007 -2.844471)'), GeomFromEWKT('SRID=4674;POINT (-40.127937 -2.844584)'))) / (select extract(epoch from '2026-06-20 19:03:04'::timestamp) - extract(epoch from '2026-06-20 19:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127838 -2.844759)', '2026-06-20 19:03:15', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127937 -2.844584)'), GeomFromEWKT('SRID=4674;POINT (-40.127838 -2.844759)'))) / (select extract(epoch from '2026-06-20 19:03:15'::timestamp) - extract(epoch from '2026-06-20 19:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127937 -2.844584)'), GeomFromEWKT('SRID=4674;POINT (-40.127838 -2.844759)'))) / (select extract(epoch from '2026-06-20 19:03:15'::timestamp) - extract(epoch from '2026-06-20 19:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127745 -2.8449)', '2026-06-20 19:03:25', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127838 -2.844759)'), GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.8449)'))) / (select extract(epoch from '2026-06-20 19:03:25'::timestamp) - extract(epoch from '2026-06-20 19:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127838 -2.844759)'), GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.8449)'))) / (select extract(epoch from '2026-06-20 19:03:25'::timestamp) - extract(epoch from '2026-06-20 19:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127628 -2.845045)', '2026-06-20 19:03:35', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.8449)'), GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.845045)'))) / (select extract(epoch from '2026-06-20 19:03:35'::timestamp) - extract(epoch from '2026-06-20 19:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.8449)'), GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.845045)'))) / (select extract(epoch from '2026-06-20 19:03:35'::timestamp) - extract(epoch from '2026-06-20 19:03: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'), 46705, 'SRID=4674;POINT (-40.127435 -2.845293)', '2026-06-20 19:03:52', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.845045)'), GeomFromEWKT('SRID=4674;POINT (-40.127435 -2.845293)'))) / (select extract(epoch from '2026-06-20 19:03:52'::timestamp) - extract(epoch from '2026-06-20 19:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.845045)'), GeomFromEWKT('SRID=4674;POINT (-40.127435 -2.845293)'))) / (select extract(epoch from '2026-06-20 19:03:52'::timestamp) - extract(epoch from '2026-06-20 19:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12732 -2.845458)', '2026-06-20 19:04:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127435 -2.845293)'), GeomFromEWKT('SRID=4674;POINT (-40.12732 -2.845458)'))) / (select extract(epoch from '2026-06-20 19:04:03'::timestamp) - extract(epoch from '2026-06-20 19:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127435 -2.845293)'), GeomFromEWKT('SRID=4674;POINT (-40.12732 -2.845458)'))) / (select extract(epoch from '2026-06-20 19:04:03'::timestamp) - extract(epoch from '2026-06-20 19: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'), 46705, 'SRID=4674;POINT (-40.127257 -2.845648)', '2026-06-20 19:04:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12732 -2.845458)'), GeomFromEWKT('SRID=4674;POINT (-40.127257 -2.845648)'))) / (select extract(epoch from '2026-06-20 19:04:15'::timestamp) - extract(epoch from '2026-06-20 19:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12732 -2.845458)'), GeomFromEWKT('SRID=4674;POINT (-40.127257 -2.845648)'))) / (select extract(epoch from '2026-06-20 19:04:15'::timestamp) - extract(epoch from '2026-06-20 19:04: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'), 46705, 'SRID=4674;POINT (-40.127199 -2.845846)', '2026-06-20 19:04:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127257 -2.845648)'), GeomFromEWKT('SRID=4674;POINT (-40.127199 -2.845846)'))) / (select extract(epoch from '2026-06-20 19:04:28'::timestamp) - extract(epoch from '2026-06-20 19:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127257 -2.845648)'), GeomFromEWKT('SRID=4674;POINT (-40.127199 -2.845846)'))) / (select extract(epoch from '2026-06-20 19:04:28'::timestamp) - extract(epoch from '2026-06-20 19:04: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'), 46705, 'SRID=4674;POINT (-40.127143 -2.846017)', '2026-06-20 19:04:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127199 -2.845846)'), GeomFromEWKT('SRID=4674;POINT (-40.127143 -2.846017)'))) / (select extract(epoch from '2026-06-20 19:04:39'::timestamp) - extract(epoch from '2026-06-20 19:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127199 -2.845846)'), GeomFromEWKT('SRID=4674;POINT (-40.127143 -2.846017)'))) / (select extract(epoch from '2026-06-20 19:04:39'::timestamp) - extract(epoch from '2026-06-20 19:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127091 -2.846212)', '2026-06-20 19:04:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127143 -2.846017)'), GeomFromEWKT('SRID=4674;POINT (-40.127091 -2.846212)'))) / (select extract(epoch from '2026-06-20 19:04:51'::timestamp) - extract(epoch from '2026-06-20 19:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127143 -2.846017)'), GeomFromEWKT('SRID=4674;POINT (-40.127091 -2.846212)'))) / (select extract(epoch from '2026-06-20 19:04:51'::timestamp) - extract(epoch from '2026-06-20 19:04: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'), 46705, 'SRID=4674;POINT (-40.127035 -2.846487)', '2026-06-20 19:05:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127091 -2.846212)'), GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.846487)'))) / (select extract(epoch from '2026-06-20 19:05:07'::timestamp) - extract(epoch from '2026-06-20 19:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127091 -2.846212)'), GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.846487)'))) / (select extract(epoch from '2026-06-20 19:05:07'::timestamp) - extract(epoch from '2026-06-20 19:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127005 -2.846674)', '2026-06-20 19:05:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.846487)'), GeomFromEWKT('SRID=4674;POINT (-40.127005 -2.846674)'))) / (select extract(epoch from '2026-06-20 19:05:18'::timestamp) - extract(epoch from '2026-06-20 19:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.846487)'), GeomFromEWKT('SRID=4674;POINT (-40.127005 -2.846674)'))) / (select extract(epoch from '2026-06-20 19:05:18'::timestamp) - extract(epoch from '2026-06-20 19:05: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'), 46705, 'SRID=4674;POINT (-40.126989 -2.846824)', '2026-06-20 19:05:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127005 -2.846674)'), GeomFromEWKT('SRID=4674;POINT (-40.126989 -2.846824)'))) / (select extract(epoch from '2026-06-20 19:05:27'::timestamp) - extract(epoch from '2026-06-20 19:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127005 -2.846674)'), GeomFromEWKT('SRID=4674;POINT (-40.126989 -2.846824)'))) / (select extract(epoch from '2026-06-20 19:05:27'::timestamp) - extract(epoch from '2026-06-20 19:05: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'), 46705, 'SRID=4674;POINT (-40.126964 -2.846995)', '2026-06-20 19:05:38', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126989 -2.846824)'), GeomFromEWKT('SRID=4674;POINT (-40.126964 -2.846995)'))) / (select extract(epoch from '2026-06-20 19:05:38'::timestamp) - extract(epoch from '2026-06-20 19:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126989 -2.846824)'), GeomFromEWKT('SRID=4674;POINT (-40.126964 -2.846995)'))) / (select extract(epoch from '2026-06-20 19:05:38'::timestamp) - extract(epoch from '2026-06-20 19:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126938 -2.847151)', '2026-06-20 19:05:48', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126964 -2.846995)'), GeomFromEWKT('SRID=4674;POINT (-40.126938 -2.847151)'))) / (select extract(epoch from '2026-06-20 19:05:48'::timestamp) - extract(epoch from '2026-06-20 19:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126964 -2.846995)'), GeomFromEWKT('SRID=4674;POINT (-40.126938 -2.847151)'))) / (select extract(epoch from '2026-06-20 19:05:48'::timestamp) - extract(epoch from '2026-06-20 19:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
