 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138417 -3.124302)', '2026-07-10 19:50:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124302)'))) / (select extract(epoch from '2026-07-10 19:50:17'::timestamp) - extract(epoch from '2026-07-10 19:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124302)'))) / (select extract(epoch from '2026-07-10 19:50:17'::timestamp) - extract(epoch from '2026-07-10 19:50:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138422 -3.124298)', '2026-07-10 19:50:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124298)'))) / (select extract(epoch from '2026-07-10 19:50:26'::timestamp) - extract(epoch from '2026-07-10 19:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124298)'))) / (select extract(epoch from '2026-07-10 19:50:26'::timestamp) - extract(epoch from '2026-07-10 19:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138419 -3.1243)', '2026-07-10 19:50:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.1243)'))) / (select extract(epoch from '2026-07-10 19:50:34'::timestamp) - extract(epoch from '2026-07-10 19:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.1243)'))) / (select extract(epoch from '2026-07-10 19:50:34'::timestamp) - extract(epoch from '2026-07-10 19:50: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124293)', '2026-07-10 19:50:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.1243)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124293)'))) / (select extract(epoch from '2026-07-10 19:50:42'::timestamp) - extract(epoch from '2026-07-10 19:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.1243)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124293)'))) / (select extract(epoch from '2026-07-10 19:50:42'::timestamp) - extract(epoch from '2026-07-10 19:50: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'), 47521, 'SRID=4674;POINT (-39.138428 -3.124287)', '2026-07-10 19:50:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124293)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124287)'))) / (select extract(epoch from '2026-07-10 19:50:50'::timestamp) - extract(epoch from '2026-07-10 19:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124293)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124287)'))) / (select extract(epoch from '2026-07-10 19:50:50'::timestamp) - extract(epoch from '2026-07-10 19:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138432 -3.124286)', '2026-07-10 19:50:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124287)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124286)'))) / (select extract(epoch from '2026-07-10 19:50:56'::timestamp) - extract(epoch from '2026-07-10 19:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124287)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124286)'))) / (select extract(epoch from '2026-07-10 19:50:56'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138427 -3.124279)', '2026-07-10 19:51:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124286)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:51:01'::timestamp) - extract(epoch from '2026-07-10 19:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124286)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:51:01'::timestamp) - extract(epoch from '2026-07-10 19:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138428 -3.124271)', '2026-07-10 19:51:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124271)'))) / (select extract(epoch from '2026-07-10 19:51:08'::timestamp) - extract(epoch from '2026-07-10 19:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124271)'))) / (select extract(epoch from '2026-07-10 19:51:08'::timestamp) - extract(epoch from '2026-07-10 19:51: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'), 47521, 'SRID=4674;POINT (-39.13844 -3.124271)', '2026-07-10 19:51:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124271)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.124271)'))) / (select extract(epoch from '2026-07-10 19:51:16'::timestamp) - extract(epoch from '2026-07-10 19:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124271)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.124271)'))) / (select extract(epoch from '2026-07-10 19:51:16'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138433 -3.124264)', '2026-07-10 19:51:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.124271)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124264)'))) / (select extract(epoch from '2026-07-10 19:51:21'::timestamp) - extract(epoch from '2026-07-10 19:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.124271)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124264)'))) / (select extract(epoch from '2026-07-10 19:51:21'::timestamp) - extract(epoch from '2026-07-10 19:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138427 -3.124266)', '2026-07-10 19:51:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124264)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124266)'))) / (select extract(epoch from '2026-07-10 19:51:30'::timestamp) - extract(epoch from '2026-07-10 19:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124264)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124266)'))) / (select extract(epoch from '2026-07-10 19:51:30'::timestamp) - extract(epoch from '2026-07-10 19:51: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'), 47521, 'SRID=4674;POINT (-39.138419 -3.124259)', '2026-07-10 19:51:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124266)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124259)'))) / (select extract(epoch from '2026-07-10 19:51:35'::timestamp) - extract(epoch from '2026-07-10 19:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124266)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124259)'))) / (select extract(epoch from '2026-07-10 19:51:35'::timestamp) - extract(epoch from '2026-07-10 19:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138426 -3.12426)', '2026-07-10 19:51:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124259)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12426)'))) / (select extract(epoch from '2026-07-10 19:51:39'::timestamp) - extract(epoch from '2026-07-10 19:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124259)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12426)'))) / (select extract(epoch from '2026-07-10 19:51:39'::timestamp) - extract(epoch from '2026-07-10 19:51: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124267)', '2026-07-10 19:51:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12426)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124267)'))) / (select extract(epoch from '2026-07-10 19:51:48'::timestamp) - extract(epoch from '2026-07-10 19:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12426)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124267)'))) / (select extract(epoch from '2026-07-10 19:51:48'::timestamp) - extract(epoch from '2026-07-10 19:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138429 -3.124272)', '2026-07-10 19:51:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124267)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124272)'))) / (select extract(epoch from '2026-07-10 19:51:55'::timestamp) - extract(epoch from '2026-07-10 19:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124267)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124272)'))) / (select extract(epoch from '2026-07-10 19:51:55'::timestamp) - extract(epoch from '2026-07-10 19:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13842 -3.12427)', '2026-07-10 19:52:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124272)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12427)'))) / (select extract(epoch from '2026-07-10 19:52:00'::timestamp) - extract(epoch from '2026-07-10 19:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124272)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12427)'))) / (select extract(epoch from '2026-07-10 19:52:00'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124277)', '2026-07-10 19:52:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12427)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124277)'))) / (select extract(epoch from '2026-07-10 19:52:11'::timestamp) - extract(epoch from '2026-07-10 19:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12427)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124277)'))) / (select extract(epoch from '2026-07-10 19:52:11'::timestamp) - extract(epoch from '2026-07-10 19:52: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124279)', '2026-07-10 19:52:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124277)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:52:16'::timestamp) - extract(epoch from '2026-07-10 19:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124277)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:52:16'::timestamp) - extract(epoch from '2026-07-10 19:52: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124282)', '2026-07-10 19:52:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124282)'))) / (select extract(epoch from '2026-07-10 19:52:24'::timestamp) - extract(epoch from '2026-07-10 19:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124282)'))) / (select extract(epoch from '2026-07-10 19:52:24'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124279)', '2026-07-10 19:52:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124282)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:52:31'::timestamp) - extract(epoch from '2026-07-10 19:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124282)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:52:31'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138424 -3.12428)', '2026-07-10 19:52:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12428)'))) / (select extract(epoch from '2026-07-10 19:52:39'::timestamp) - extract(epoch from '2026-07-10 19:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12428)'))) / (select extract(epoch from '2026-07-10 19:52:39'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124273)', '2026-07-10 19:52:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12428)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124273)'))) / (select extract(epoch from '2026-07-10 19:52:46'::timestamp) - extract(epoch from '2026-07-10 19:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12428)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124273)'))) / (select extract(epoch from '2026-07-10 19:52:46'::timestamp) - extract(epoch from '2026-07-10 19:52: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'), 47521, 'SRID=4674;POINT (-39.138424 -3.124279)', '2026-07-10 19:52:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124273)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:52:53'::timestamp) - extract(epoch from '2026-07-10 19:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124273)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124279)'))) / (select extract(epoch from '2026-07-10 19:52:53'::timestamp) - extract(epoch from '2026-07-10 19:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138419 -3.124284)', '2026-07-10 19:53:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124284)'))) / (select extract(epoch from '2026-07-10 19:53:01'::timestamp) - extract(epoch from '2026-07-10 19:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124279)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124284)'))) / (select extract(epoch from '2026-07-10 19:53:01'::timestamp) - extract(epoch from '2026-07-10 19:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13842 -3.124293)', '2026-07-10 19:53:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124284)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124293)'))) / (select extract(epoch from '2026-07-10 19:53:12'::timestamp) - extract(epoch from '2026-07-10 19:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124284)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124293)'))) / (select extract(epoch from '2026-07-10 19:53:12'::timestamp) - extract(epoch from '2026-07-10 19:53: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124296)', '2026-07-10 19:53:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124293)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124296)'))) / (select extract(epoch from '2026-07-10 19:53:23'::timestamp) - extract(epoch from '2026-07-10 19:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124293)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124296)'))) / (select extract(epoch from '2026-07-10 19:53:23'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124296)', '2026-07-10 19:53:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124296)'))) / (select extract(epoch from '2026-07-10 19:53:31'::timestamp) - extract(epoch from '2026-07-10 19:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124296)'))) / (select extract(epoch from '2026-07-10 19:53:31'::timestamp) - extract(epoch from '2026-07-10 19:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138418 -3.124298)', '2026-07-10 19:53:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124298)'))) / (select extract(epoch from '2026-07-10 19:53:38'::timestamp) - extract(epoch from '2026-07-10 19:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124298)'))) / (select extract(epoch from '2026-07-10 19:53:38'::timestamp) - extract(epoch from '2026-07-10 19:53: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124287)', '2026-07-10 19:53:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124287)'))) / (select extract(epoch from '2026-07-10 19:53:45'::timestamp) - extract(epoch from '2026-07-10 19:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124287)'))) / (select extract(epoch from '2026-07-10 19:53:45'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124282)', '2026-07-10 19:53:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124287)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124282)'))) / (select extract(epoch from '2026-07-10 19:53:57'::timestamp) - extract(epoch from '2026-07-10 19:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124287)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124282)'))) / (select extract(epoch from '2026-07-10 19:53:57'::timestamp) - extract(epoch from '2026-07-10 19:53: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124284)', '2026-07-10 19:54:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124282)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124284)'))) / (select extract(epoch from '2026-07-10 19:54:08'::timestamp) - extract(epoch from '2026-07-10 19:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124282)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124284)'))) / (select extract(epoch from '2026-07-10 19:54:08'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.12429)', '2026-07-10 19:54:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124284)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12429)'))) / (select extract(epoch from '2026-07-10 19:54:15'::timestamp) - extract(epoch from '2026-07-10 19:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124284)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12429)'))) / (select extract(epoch from '2026-07-10 19:54:15'::timestamp) - extract(epoch from '2026-07-10 19:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138422 -3.124297)', '2026-07-10 19:54:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12429)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124297)'))) / (select extract(epoch from '2026-07-10 19:54:27'::timestamp) - extract(epoch from '2026-07-10 19:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12429)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124297)'))) / (select extract(epoch from '2026-07-10 19:54:27'::timestamp) - extract(epoch from '2026-07-10 19:54: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124294)', '2026-07-10 19:54:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124297)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124294)'))) / (select extract(epoch from '2026-07-10 19:54:34'::timestamp) - extract(epoch from '2026-07-10 19:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124297)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124294)'))) / (select extract(epoch from '2026-07-10 19:54:34'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124297)', '2026-07-10 19:54:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124297)'))) / (select extract(epoch from '2026-07-10 19:54:44'::timestamp) - extract(epoch from '2026-07-10 19:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124297)'))) / (select extract(epoch from '2026-07-10 19:54:44'::timestamp) - extract(epoch from '2026-07-10 19:54: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'), 47521, 'SRID=4674;POINT (-39.138426 -3.124301)', '2026-07-10 19:54:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124297)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.124301)'))) / (select extract(epoch from '2026-07-10 19:54:52'::timestamp) - extract(epoch from '2026-07-10 19:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124297)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.124301)'))) / (select extract(epoch from '2026-07-10 19:54:52'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138424 -3.124296)', '2026-07-10 19:55:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.124301)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124296)'))) / (select extract(epoch from '2026-07-10 19:55:00'::timestamp) - extract(epoch from '2026-07-10 19:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.124301)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124296)'))) / (select extract(epoch from '2026-07-10 19:55:00'::timestamp) - extract(epoch from '2026-07-10 19:54: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.124302)', '2026-07-10 19:55:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124302)'))) / (select extract(epoch from '2026-07-10 19:55:10'::timestamp) - extract(epoch from '2026-07-10 19:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124302)'))) / (select extract(epoch from '2026-07-10 19:55:10'::timestamp) - extract(epoch from '2026-07-10 19:55: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124302)', '2026-07-10 19:55:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124302)'))) / (select extract(epoch from '2026-07-10 19:55:22'::timestamp) - extract(epoch from '2026-07-10 19:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124302)'))) / (select extract(epoch from '2026-07-10 19:55:22'::timestamp) - extract(epoch from '2026-07-10 19:55: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'), 47521, 'SRID=4674;POINT (-39.138427 -3.124305)', '2026-07-10 19:55:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124305)'))) / (select extract(epoch from '2026-07-10 19:55:30'::timestamp) - extract(epoch from '2026-07-10 19:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124302)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124305)'))) / (select extract(epoch from '2026-07-10 19:55:30'::timestamp) - extract(epoch from '2026-07-10 19:55: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124307)', '2026-07-10 19:55:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124307)'))) / (select extract(epoch from '2026-07-10 19:55:41'::timestamp) - extract(epoch from '2026-07-10 19:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124307)'))) / (select extract(epoch from '2026-07-10 19:55:41'::timestamp) - extract(epoch from '2026-07-10 19:55: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124307)', '2026-07-10 19:55:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'))) / (select extract(epoch from '2026-07-10 19:55:49'::timestamp) - extract(epoch from '2026-07-10 19:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'))) / (select extract(epoch from '2026-07-10 19:55:49'::timestamp) - extract(epoch from '2026-07-10 19:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138419 -3.124311)', '2026-07-10 19:55:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124311)'))) / (select extract(epoch from '2026-07-10 19:55:56'::timestamp) - extract(epoch from '2026-07-10 19:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124311)'))) / (select extract(epoch from '2026-07-10 19:55:56'::timestamp) - extract(epoch from '2026-07-10 19:55: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124308)', '2026-07-10 19:56:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124308)'))) / (select extract(epoch from '2026-07-10 19:56:05'::timestamp) - extract(epoch from '2026-07-10 19:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124308)'))) / (select extract(epoch from '2026-07-10 19:56:05'::timestamp) - extract(epoch from '2026-07-10 19:55: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124307)', '2026-07-10 19:56:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124307)'))) / (select extract(epoch from '2026-07-10 19:56:11'::timestamp) - extract(epoch from '2026-07-10 19:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124307)'))) / (select extract(epoch from '2026-07-10 19:56:11'::timestamp) - extract(epoch from '2026-07-10 19:56: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124309)', '2026-07-10 19:56:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124309)'))) / (select extract(epoch from '2026-07-10 19:56:16'::timestamp) - extract(epoch from '2026-07-10 19:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124309)'))) / (select extract(epoch from '2026-07-10 19:56:16'::timestamp) - extract(epoch from '2026-07-10 19:56: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'), 47521, 'SRID=4674;POINT (-39.138414 -3.124306)', '2026-07-10 19:56:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124306)'))) / (select extract(epoch from '2026-07-10 19:56:23'::timestamp) - extract(epoch from '2026-07-10 19:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124306)'))) / (select extract(epoch from '2026-07-10 19:56:23'::timestamp) - extract(epoch from '2026-07-10 19:56: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124306)', '2026-07-10 19:56:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124306)'))) / (select extract(epoch from '2026-07-10 19:56:30'::timestamp) - extract(epoch from '2026-07-10 19:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124306)'))) / (select extract(epoch from '2026-07-10 19:56:30'::timestamp) - extract(epoch from '2026-07-10 19:56: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.12431)', '2026-07-10 19:56:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'))) / (select extract(epoch from '2026-07-10 19:56:36'::timestamp) - extract(epoch from '2026-07-10 19:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'))) / (select extract(epoch from '2026-07-10 19:56:36'::timestamp) - extract(epoch from '2026-07-10 19:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13842 -3.124309)', '2026-07-10 19:56:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124309)'))) / (select extract(epoch from '2026-07-10 19:56:44'::timestamp) - extract(epoch from '2026-07-10 19:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124309)'))) / (select extract(epoch from '2026-07-10 19:56:44'::timestamp) - extract(epoch from '2026-07-10 19:56: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124314)', '2026-07-10 19:56:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124314)'))) / (select extract(epoch from '2026-07-10 19:56:50'::timestamp) - extract(epoch from '2026-07-10 19:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124314)'))) / (select extract(epoch from '2026-07-10 19:56:50'::timestamp) - extract(epoch from '2026-07-10 19:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13842 -3.124321)', '2026-07-10 19:57:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124321)'))) / (select extract(epoch from '2026-07-10 19:57:00'::timestamp) - extract(epoch from '2026-07-10 19:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124321)'))) / (select extract(epoch from '2026-07-10 19:57:00'::timestamp) - extract(epoch from '2026-07-10 19:56: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124317)', '2026-07-10 19:57:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124317)'))) / (select extract(epoch from '2026-07-10 19:57:06'::timestamp) - extract(epoch from '2026-07-10 19:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124317)'))) / (select extract(epoch from '2026-07-10 19:57:06'::timestamp) - extract(epoch from '2026-07-10 19:57: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'), 47521, 'SRID=4674;POINT (-39.138424 -3.124327)', '2026-07-10 19:57:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124327)'))) / (select extract(epoch from '2026-07-10 19:57:12'::timestamp) - extract(epoch from '2026-07-10 19:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124327)'))) / (select extract(epoch from '2026-07-10 19:57:12'::timestamp) - extract(epoch from '2026-07-10 19:57: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124322)', '2026-07-10 19:57:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'))) / (select extract(epoch from '2026-07-10 19:57:18'::timestamp) - extract(epoch from '2026-07-10 19:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'))) / (select extract(epoch from '2026-07-10 19:57:18'::timestamp) - extract(epoch from '2026-07-10 19:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138434 -3.124322)', '2026-07-10 19:57:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'))) / (select extract(epoch from '2026-07-10 19:57:25'::timestamp) - extract(epoch from '2026-07-10 19:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'))) / (select extract(epoch from '2026-07-10 19:57:25'::timestamp) - extract(epoch from '2026-07-10 19:57: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124323)', '2026-07-10 19:57:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124323)'))) / (select extract(epoch from '2026-07-10 19:57:30'::timestamp) - extract(epoch from '2026-07-10 19:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124323)'))) / (select extract(epoch from '2026-07-10 19:57:30'::timestamp) - extract(epoch from '2026-07-10 19:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138421 -3.124323)', '2026-07-10 19:57:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'))) / (select extract(epoch from '2026-07-10 19:57:40'::timestamp) - extract(epoch from '2026-07-10 19:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'))) / (select extract(epoch from '2026-07-10 19:57:40'::timestamp) - extract(epoch from '2026-07-10 19:57: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124326)', '2026-07-10 19:57:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'))) / (select extract(epoch from '2026-07-10 19:57:49'::timestamp) - extract(epoch from '2026-07-10 19:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'))) / (select extract(epoch from '2026-07-10 19:57:49'::timestamp) - extract(epoch from '2026-07-10 19:57: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124326)', '2026-07-10 19:57:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124326)'))) / (select extract(epoch from '2026-07-10 19:57:59'::timestamp) - extract(epoch from '2026-07-10 19:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124326)'))) / (select extract(epoch from '2026-07-10 19:57:59'::timestamp) - extract(epoch from '2026-07-10 19:57: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124331)', '2026-07-10 19:58:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124331)'))) / (select extract(epoch from '2026-07-10 19:58:08'::timestamp) - extract(epoch from '2026-07-10 19:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124331)'))) / (select extract(epoch from '2026-07-10 19:58:08'::timestamp) - extract(epoch from '2026-07-10 19:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138412 -3.124326)', '2026-07-10 19:58:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'))) / (select extract(epoch from '2026-07-10 19:58:15'::timestamp) - extract(epoch from '2026-07-10 19:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'))) / (select extract(epoch from '2026-07-10 19:58:15'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124332)', '2026-07-10 19:58:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124332)'))) / (select extract(epoch from '2026-07-10 19:58:20'::timestamp) - extract(epoch from '2026-07-10 19:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124332)'))) / (select extract(epoch from '2026-07-10 19:58:20'::timestamp) - extract(epoch from '2026-07-10 19:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138425 -3.124331)', '2026-07-10 19:58:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124331)'))) / (select extract(epoch from '2026-07-10 19:58:29'::timestamp) - extract(epoch from '2026-07-10 19:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124331)'))) / (select extract(epoch from '2026-07-10 19:58:29'::timestamp) - extract(epoch from '2026-07-10 19:58: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'), 47521, 'SRID=4674;POINT (-39.138431 -3.124333)', '2026-07-10 19:58:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124333)'))) / (select extract(epoch from '2026-07-10 19:58:38'::timestamp) - extract(epoch from '2026-07-10 19:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124333)'))) / (select extract(epoch from '2026-07-10 19:58:38'::timestamp) - extract(epoch from '2026-07-10 19:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138423 -3.12432)', '2026-07-10 19:58:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12432)'))) / (select extract(epoch from '2026-07-10 19:58:51'::timestamp) - extract(epoch from '2026-07-10 19:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12432)'))) / (select extract(epoch from '2026-07-10 19:58:51'::timestamp) - extract(epoch from '2026-07-10 19:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138421 -3.12432)', '2026-07-10 19:59:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12432)'))) / (select extract(epoch from '2026-07-10 19:59:01'::timestamp) - extract(epoch from '2026-07-10 19:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12432)'))) / (select extract(epoch from '2026-07-10 19:59:01'::timestamp) - extract(epoch from '2026-07-10 19:58: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124324)', '2026-07-10 19:59:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124324)'))) / (select extract(epoch from '2026-07-10 19:59:13'::timestamp) - extract(epoch from '2026-07-10 19:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124324)'))) / (select extract(epoch from '2026-07-10 19:59:13'::timestamp) - extract(epoch from '2026-07-10 19:59: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.12432)', '2026-07-10 19:59:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'))) / (select extract(epoch from '2026-07-10 19:59:20'::timestamp) - extract(epoch from '2026-07-10 19:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'))) / (select extract(epoch from '2026-07-10 19:59:20'::timestamp) - extract(epoch from '2026-07-10 19:59: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124318)', '2026-07-10 19:59:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124318)'))) / (select extract(epoch from '2026-07-10 19:59:29'::timestamp) - extract(epoch from '2026-07-10 19:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124318)'))) / (select extract(epoch from '2026-07-10 19:59:29'::timestamp) - extract(epoch from '2026-07-10 19:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138412 -3.124309)', '2026-07-10 19:59:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124309)'))) / (select extract(epoch from '2026-07-10 19:59:35'::timestamp) - extract(epoch from '2026-07-10 19:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124309)'))) / (select extract(epoch from '2026-07-10 19:59:35'::timestamp) - extract(epoch from '2026-07-10 19:59: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.12431)', '2026-07-10 19:59:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'))) / (select extract(epoch from '2026-07-10 19:59:45'::timestamp) - extract(epoch from '2026-07-10 19:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'))) / (select extract(epoch from '2026-07-10 19:59:45'::timestamp) - extract(epoch from '2026-07-10 19:59: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124314)', '2026-07-10 19:59:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124314)'))) / (select extract(epoch from '2026-07-10 19:59:52'::timestamp) - extract(epoch from '2026-07-10 19:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124314)'))) / (select extract(epoch from '2026-07-10 19:59:52'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124328)', '2026-07-10 20:00:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:00:03'::timestamp) - extract(epoch from '2026-07-10 19:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:00:03'::timestamp) - extract(epoch from '2026-07-10 19:59: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.12433)', '2026-07-10 20:00:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:00:11'::timestamp) - extract(epoch from '2026-07-10 20:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:00:11'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124327)', '2026-07-10 20:00:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:00:18'::timestamp) - extract(epoch from '2026-07-10 20:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:00:18'::timestamp) - extract(epoch from '2026-07-10 20:00: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124333)', '2026-07-10 20:00:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:00:32'::timestamp) - extract(epoch from '2026-07-10 20:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:00:32'::timestamp) - extract(epoch from '2026-07-10 20:00: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124336)', '2026-07-10 20:00:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:00:42'::timestamp) - extract(epoch from '2026-07-10 20:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:00:42'::timestamp) - extract(epoch from '2026-07-10 20:00: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124344)', '2026-07-10 20:00:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:00:48'::timestamp) - extract(epoch from '2026-07-10 20:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:00:48'::timestamp) - extract(epoch from '2026-07-10 20:00: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.124346)', '2026-07-10 20:01:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:01:03'::timestamp) - extract(epoch from '2026-07-10 20:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:01:03'::timestamp) - extract(epoch from '2026-07-10 20:00: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124337)', '2026-07-10 20:01:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:01:13'::timestamp) - extract(epoch from '2026-07-10 20:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:01:13'::timestamp) - extract(epoch from '2026-07-10 20:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138428 -3.124335)', '2026-07-10 20:01:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124335)'))) / (select extract(epoch from '2026-07-10 20:01:23'::timestamp) - extract(epoch from '2026-07-10 20:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124335)'))) / (select extract(epoch from '2026-07-10 20:01:23'::timestamp) - extract(epoch from '2026-07-10 20:01: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.124334)', '2026-07-10 20:01:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124335)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:01:32'::timestamp) - extract(epoch from '2026-07-10 20:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124335)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:01:32'::timestamp) - extract(epoch from '2026-07-10 20:01: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124333)', '2026-07-10 20:01:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:01:43'::timestamp) - extract(epoch from '2026-07-10 20:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:01:43'::timestamp) - extract(epoch from '2026-07-10 20:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138434 -3.124329)', '2026-07-10 20:01:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:01:51'::timestamp) - extract(epoch from '2026-07-10 20:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:01:51'::timestamp) - extract(epoch from '2026-07-10 20:01: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'), 47521, 'SRID=4674;POINT (-39.138432 -3.124325)', '2026-07-10 20:01:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:01:55'::timestamp) - extract(epoch from '2026-07-10 20:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:01:55'::timestamp) - extract(epoch from '2026-07-10 20:01: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'), 47521, 'SRID=4674;POINT (-39.138435 -3.124326)', '2026-07-10 20:02:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:02:07'::timestamp) - extract(epoch from '2026-07-10 20:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:02:07'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138434 -3.124322)', '2026-07-10 20:02:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:02:12'::timestamp) - extract(epoch from '2026-07-10 20:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:02:12'::timestamp) - extract(epoch from '2026-07-10 20:02: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'), 47521, 'SRID=4674;POINT (-39.138436 -3.124318)', '2026-07-10 20:02:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:02:17'::timestamp) - extract(epoch from '2026-07-10 20:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:02:17'::timestamp) - extract(epoch from '2026-07-10 20:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138428 -3.124313)', '2026-07-10 20:02:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:02:27'::timestamp) - extract(epoch from '2026-07-10 20:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:02:27'::timestamp) - extract(epoch from '2026-07-10 20:02: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'), 47521, 'SRID=4674;POINT (-39.138432 -3.124308)', '2026-07-10 20:02:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:02:36'::timestamp) - extract(epoch from '2026-07-10 20:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:02:36'::timestamp) - extract(epoch from '2026-07-10 20:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138419 -3.124298)', '2026-07-10 20:02:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124298)'))) / (select extract(epoch from '2026-07-10 20:02:44'::timestamp) - extract(epoch from '2026-07-10 20:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124298)'))) / (select extract(epoch from '2026-07-10 20:02:44'::timestamp) - extract(epoch from '2026-07-10 20:02: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'), 47521, 'SRID=4674;POINT (-39.13843 -3.124299)', '2026-07-10 20:02:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124299)'))) / (select extract(epoch from '2026-07-10 20:02:52'::timestamp) - extract(epoch from '2026-07-10 20:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124299)'))) / (select extract(epoch from '2026-07-10 20:02:52'::timestamp) - extract(epoch from '2026-07-10 20:02: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'), 47521, 'SRID=4674;POINT (-39.13843 -3.124292)', '2026-07-10 20:03:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124299)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124292)'))) / (select extract(epoch from '2026-07-10 20:03:02'::timestamp) - extract(epoch from '2026-07-10 20:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124299)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124292)'))) / (select extract(epoch from '2026-07-10 20:03:02'::timestamp) - extract(epoch from '2026-07-10 20:02: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'), 47521, 'SRID=4674;POINT (-39.138428 -3.124292)', '2026-07-10 20:03:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124292)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124292)'))) / (select extract(epoch from '2026-07-10 20:03:13'::timestamp) - extract(epoch from '2026-07-10 20:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124292)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124292)'))) / (select extract(epoch from '2026-07-10 20:03:13'::timestamp) - extract(epoch from '2026-07-10 20:03: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'), 47521, 'SRID=4674;POINT (-39.138428 -3.124293)', '2026-07-10 20:03:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124292)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124293)'))) / (select extract(epoch from '2026-07-10 20:03:15'::timestamp) - extract(epoch from '2026-07-10 20:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124292)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124293)'))) / (select extract(epoch from '2026-07-10 20:03:15'::timestamp) - extract(epoch from '2026-07-10 20:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13843 -3.124294)', '2026-07-10 20:03:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124293)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124294)'))) / (select extract(epoch from '2026-07-10 20:03:18'::timestamp) - extract(epoch from '2026-07-10 20:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124293)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124294)'))) / (select extract(epoch from '2026-07-10 20:03:18'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124297)', '2026-07-10 20:03:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124297)'))) / (select extract(epoch from '2026-07-10 20:03:25'::timestamp) - extract(epoch from '2026-07-10 20:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124297)'))) / (select extract(epoch from '2026-07-10 20:03:25'::timestamp) - extract(epoch from '2026-07-10 20:03: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'), 47521, 'SRID=4674;POINT (-39.138433 -3.124286)', '2026-07-10 20:03:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124297)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124286)'))) / (select extract(epoch from '2026-07-10 20:03:32'::timestamp) - extract(epoch from '2026-07-10 20:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124297)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124286)'))) / (select extract(epoch from '2026-07-10 20:03:32'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138434 -3.12428)', '2026-07-10 20:03:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124286)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.12428)'))) / (select extract(epoch from '2026-07-10 20:03:42'::timestamp) - extract(epoch from '2026-07-10 20:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124286)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.12428)'))) / (select extract(epoch from '2026-07-10 20:03:42'::timestamp) - extract(epoch from '2026-07-10 20:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138435 -3.124286)', '2026-07-10 20:03:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.12428)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124286)'))) / (select extract(epoch from '2026-07-10 20:03:51'::timestamp) - extract(epoch from '2026-07-10 20:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.12428)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124286)'))) / (select extract(epoch from '2026-07-10 20:03:51'::timestamp) - extract(epoch from '2026-07-10 20:03: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'), 47521, 'SRID=4674;POINT (-39.138428 -3.124283)', '2026-07-10 20:03:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124286)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124283)'))) / (select extract(epoch from '2026-07-10 20:03:58'::timestamp) - extract(epoch from '2026-07-10 20:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.124286)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124283)'))) / (select extract(epoch from '2026-07-10 20:03:58'::timestamp) - extract(epoch from '2026-07-10 20:03: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'), 47521, 'SRID=4674;POINT (-39.138429 -3.124289)', '2026-07-10 20:04:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124283)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:04:07'::timestamp) - extract(epoch from '2026-07-10 20:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124283)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:04:07'::timestamp) - extract(epoch from '2026-07-10 20:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138417 -3.124291)', '2026-07-10 20:04:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124291)'))) / (select extract(epoch from '2026-07-10 20:04:17'::timestamp) - extract(epoch from '2026-07-10 20:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124291)'))) / (select extract(epoch from '2026-07-10 20:04:17'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47521, 'SRID=4674;POINT (-39.138428 -3.124294)', '2026-07-10 20:04:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124291)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124294)'))) / (select extract(epoch from '2026-07-10 20:04:25'::timestamp) - extract(epoch from '2026-07-10 20:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124291)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124294)'))) / (select extract(epoch from '2026-07-10 20:04:25'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47521, 'SRID=4674;POINT (-39.138427 -3.124301)', '2026-07-10 20:04:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124301)'))) / (select extract(epoch from '2026-07-10 20:04:30'::timestamp) - extract(epoch from '2026-07-10 20:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124301)'))) / (select extract(epoch from '2026-07-10 20:04:30'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124307)', '2026-07-10 20:04:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124301)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:04:37'::timestamp) - extract(epoch from '2026-07-10 20:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.124301)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:04:37'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47521, 'SRID=4674;POINT (-39.138426 -3.12431)', '2026-07-10 20:04:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:04:44'::timestamp) - extract(epoch from '2026-07-10 20:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:04:44'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.12431)', '2026-07-10 20:04:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:04:55'::timestamp) - extract(epoch from '2026-07-10 20:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:04:55'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47521, 'SRID=4674;POINT (-39.13843 -3.12432)', '2026-07-10 20:05:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12432)'))) / (select extract(epoch from '2026-07-10 20:05:01'::timestamp) - extract(epoch from '2026-07-10 20:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12432)'))) / (select extract(epoch from '2026-07-10 20:05:01'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47521, 'SRID=4674;POINT (-39.138428 -3.124321)', '2026-07-10 20:05:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:05:15'::timestamp) - extract(epoch from '2026-07-10 20:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:05:15'::timestamp) - extract(epoch from '2026-07-10 20:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138433 -3.124326)', '2026-07-10 20:05:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:05:22'::timestamp) - extract(epoch from '2026-07-10 20:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:05:22'::timestamp) - extract(epoch from '2026-07-10 20:05: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'), 47521, 'SRID=4674;POINT (-39.138433 -3.124324)', '2026-07-10 20:05:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:05:33'::timestamp) - extract(epoch from '2026-07-10 20:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:05:33'::timestamp) - extract(epoch from '2026-07-10 20:05: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124329)', '2026-07-10 20:05:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:05:41'::timestamp) - extract(epoch from '2026-07-10 20:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:05:41'::timestamp) - extract(epoch from '2026-07-10 20:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138422 -3.124325)', '2026-07-10 20:05:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:05:49'::timestamp) - extract(epoch from '2026-07-10 20:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:05:49'::timestamp) - extract(epoch from '2026-07-10 20:05: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'), 47521, 'SRID=4674;POINT (-39.138429 -3.124336)', '2026-07-10 20:05:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:05:55'::timestamp) - extract(epoch from '2026-07-10 20:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:05:55'::timestamp) - extract(epoch from '2026-07-10 20:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138425 -3.12434)', '2026-07-10 20:06:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:06:03'::timestamp) - extract(epoch from '2026-07-10 20:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:06:03'::timestamp) - extract(epoch from '2026-07-10 20:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138422 -3.124347)', '2026-07-10 20:06:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124347)'))) / (select extract(epoch from '2026-07-10 20:06:14'::timestamp) - extract(epoch from '2026-07-10 20:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124347)'))) / (select extract(epoch from '2026-07-10 20:06:14'::timestamp) - extract(epoch from '2026-07-10 20:06: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.12434)', '2026-07-10 20:06:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124347)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:06:25'::timestamp) - extract(epoch from '2026-07-10 20:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124347)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:06:25'::timestamp) - extract(epoch from '2026-07-10 20:06: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124343)', '2026-07-10 20:06:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:06:34'::timestamp) - extract(epoch from '2026-07-10 20:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:06:34'::timestamp) - extract(epoch from '2026-07-10 20:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138416 -3.124344)', '2026-07-10 20:06:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:06:43'::timestamp) - extract(epoch from '2026-07-10 20:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:06:43'::timestamp) - extract(epoch from '2026-07-10 20:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138418 -3.124341)', '2026-07-10 20:06:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:06:51'::timestamp) - extract(epoch from '2026-07-10 20:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:06:51'::timestamp) - extract(epoch from '2026-07-10 20:06: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124343)', '2026-07-10 20:07:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:07:01'::timestamp) - extract(epoch from '2026-07-10 20:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:07:01'::timestamp) - extract(epoch from '2026-07-10 20:06: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'), 47521, 'SRID=4674;POINT (-39.138411 -3.12434)', '2026-07-10 20:07:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:07:11'::timestamp) - extract(epoch from '2026-07-10 20:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:07:11'::timestamp) - extract(epoch from '2026-07-10 20:07: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124348)', '2026-07-10 20:07:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:07:19'::timestamp) - extract(epoch from '2026-07-10 20:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:07:19'::timestamp) - extract(epoch from '2026-07-10 20:07: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124353)', '2026-07-10 20:07:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:07:36'::timestamp) - extract(epoch from '2026-07-10 20:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:07:36'::timestamp) - extract(epoch from '2026-07-10 20:07: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124353)', '2026-07-10 20:07:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:07:43'::timestamp) - extract(epoch from '2026-07-10 20:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:07:43'::timestamp) - extract(epoch from '2026-07-10 20:07: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124356)', '2026-07-10 20:07:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124356)'))) / (select extract(epoch from '2026-07-10 20:07:53'::timestamp) - extract(epoch from '2026-07-10 20:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124356)'))) / (select extract(epoch from '2026-07-10 20:07:53'::timestamp) - extract(epoch from '2026-07-10 20:07: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124352)', '2026-07-10 20:08:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124356)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:08:02'::timestamp) - extract(epoch from '2026-07-10 20:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124356)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:08:02'::timestamp) - extract(epoch from '2026-07-10 20:07: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124362)', '2026-07-10 20:08:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:08:09'::timestamp) - extract(epoch from '2026-07-10 20:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:08:09'::timestamp) - extract(epoch from '2026-07-10 20:08: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124363)', '2026-07-10 20:08:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124363)'))) / (select extract(epoch from '2026-07-10 20:08:15'::timestamp) - extract(epoch from '2026-07-10 20:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124363)'))) / (select extract(epoch from '2026-07-10 20:08:15'::timestamp) - extract(epoch from '2026-07-10 20:08: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'), 47521, 'SRID=4674;POINT (-39.138402 -3.124362)', '2026-07-10 20:08:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124363)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:08:21'::timestamp) - extract(epoch from '2026-07-10 20:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124363)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:08:21'::timestamp) - extract(epoch from '2026-07-10 20:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138395 -3.12435)', '2026-07-10 20:08:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:08:29'::timestamp) - extract(epoch from '2026-07-10 20:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:08:29'::timestamp) - extract(epoch from '2026-07-10 20:08: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'), 47521, 'SRID=4674;POINT (-39.138393 -3.124352)', '2026-07-10 20:08:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:08:34'::timestamp) - extract(epoch from '2026-07-10 20:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:08:34'::timestamp) - extract(epoch from '2026-07-10 20:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1384 -3.124346)', '2026-07-10 20:08:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:08:42'::timestamp) - extract(epoch from '2026-07-10 20:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:08:42'::timestamp) - extract(epoch from '2026-07-10 20:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124344)', '2026-07-10 20:08:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:08:48'::timestamp) - extract(epoch from '2026-07-10 20:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:08:48'::timestamp) - extract(epoch from '2026-07-10 20:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124339)', '2026-07-10 20:08:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:08:55'::timestamp) - extract(epoch from '2026-07-10 20:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:08:55'::timestamp) - extract(epoch from '2026-07-10 20:08: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124341)', '2026-07-10 20:08:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:08:56'::timestamp) - extract(epoch from '2026-07-10 20:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:08:56'::timestamp) - extract(epoch from '2026-07-10 20:08: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.12434)', '2026-07-10 20:09:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:09:00'::timestamp) - extract(epoch from '2026-07-10 20:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:09:00'::timestamp) - extract(epoch from '2026-07-10 20:08: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'), 47521, 'SRID=4674;POINT (-39.138407 -3.124344)', '2026-07-10 20:09:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:09:06'::timestamp) - extract(epoch from '2026-07-10 20:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:09:06'::timestamp) - extract(epoch from '2026-07-10 20:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138418 -3.124347)', '2026-07-10 20:09:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124347)'))) / (select extract(epoch from '2026-07-10 20:09:13'::timestamp) - extract(epoch from '2026-07-10 20:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124347)'))) / (select extract(epoch from '2026-07-10 20:09:13'::timestamp) - extract(epoch from '2026-07-10 20:09: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124339)', '2026-07-10 20:09:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124347)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:09:20'::timestamp) - extract(epoch from '2026-07-10 20:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124347)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:09:20'::timestamp) - extract(epoch from '2026-07-10 20:09: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124332)', '2026-07-10 20:09:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:09:27'::timestamp) - extract(epoch from '2026-07-10 20:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:09:27'::timestamp) - extract(epoch from '2026-07-10 20:09: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124337)', '2026-07-10 20:09:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:09:42'::timestamp) - extract(epoch from '2026-07-10 20:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:09:42'::timestamp) - extract(epoch from '2026-07-10 20:09: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124333)', '2026-07-10 20:09:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:09:53'::timestamp) - extract(epoch from '2026-07-10 20:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:09:53'::timestamp) - extract(epoch from '2026-07-10 20:09: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124335)', '2026-07-10 20:09:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124335)'))) / (select extract(epoch from '2026-07-10 20:09:58'::timestamp) - extract(epoch from '2026-07-10 20:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124335)'))) / (select extract(epoch from '2026-07-10 20:09:58'::timestamp) - extract(epoch from '2026-07-10 20:09: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'), 47521, 'SRID=4674;POINT (-39.138428 -3.124325)', '2026-07-10 20:10:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124335)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:10:05'::timestamp) - extract(epoch from '2026-07-10 20:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124335)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:10:05'::timestamp) - extract(epoch from '2026-07-10 20:09: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124317)', '2026-07-10 20:10:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:10:14'::timestamp) - extract(epoch from '2026-07-10 20:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:10:14'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138431 -3.124311)', '2026-07-10 20:10:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:10:24'::timestamp) - extract(epoch from '2026-07-10 20:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:10:24'::timestamp) - extract(epoch from '2026-07-10 20:10: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124313)', '2026-07-10 20:10:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:10:31'::timestamp) - extract(epoch from '2026-07-10 20:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:10:31'::timestamp) - extract(epoch from '2026-07-10 20:10: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124315)', '2026-07-10 20:10:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:10:36'::timestamp) - extract(epoch from '2026-07-10 20:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:10:36'::timestamp) - extract(epoch from '2026-07-10 20:10: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124314)', '2026-07-10 20:10:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:10:42'::timestamp) - extract(epoch from '2026-07-10 20:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:10:42'::timestamp) - extract(epoch from '2026-07-10 20:10: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124314)', '2026-07-10 20:10:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:10:50'::timestamp) - extract(epoch from '2026-07-10 20:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:10:50'::timestamp) - extract(epoch from '2026-07-10 20:10: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124322)', '2026-07-10 20:10:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:10:55'::timestamp) - extract(epoch from '2026-07-10 20:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:10:55'::timestamp) - extract(epoch from '2026-07-10 20:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138414 -3.124318)', '2026-07-10 20:11:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:11:05'::timestamp) - extract(epoch from '2026-07-10 20:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:11:05'::timestamp) - extract(epoch from '2026-07-10 20:10: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124316)', '2026-07-10 20:11:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:11:14'::timestamp) - extract(epoch from '2026-07-10 20:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:11:14'::timestamp) - extract(epoch from '2026-07-10 20:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138418 -3.124325)', '2026-07-10 20:11:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:11:23'::timestamp) - extract(epoch from '2026-07-10 20:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:11:23'::timestamp) - extract(epoch from '2026-07-10 20:11: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124325)', '2026-07-10 20:11:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:11:34'::timestamp) - extract(epoch from '2026-07-10 20:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:11:34'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.124323)', '2026-07-10 20:11:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:11:42'::timestamp) - extract(epoch from '2026-07-10 20:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:11:42'::timestamp) - extract(epoch from '2026-07-10 20:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138425 -3.124322)', '2026-07-10 20:11:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:11:53'::timestamp) - extract(epoch from '2026-07-10 20:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:11:53'::timestamp) - extract(epoch from '2026-07-10 20:11: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'), 47521, 'SRID=4674;POINT (-39.13842 -3.124329)', '2026-07-10 20:12:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:12:00'::timestamp) - extract(epoch from '2026-07-10 20:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:12:00'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138411 -3.124337)', '2026-07-10 20:12:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:12:08'::timestamp) - extract(epoch from '2026-07-10 20:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:12:08'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.12434)', '2026-07-10 20:12:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:14'::timestamp) - extract(epoch from '2026-07-10 20:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:14'::timestamp) - extract(epoch from '2026-07-10 20:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138416 -3.124342)', '2026-07-10 20:12:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:12:21'::timestamp) - extract(epoch from '2026-07-10 20:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:12:21'::timestamp) - extract(epoch from '2026-07-10 20:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138419 -3.12434)', '2026-07-10 20:12:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:26'::timestamp) - extract(epoch from '2026-07-10 20:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:26'::timestamp) - extract(epoch from '2026-07-10 20:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138421 -3.124339)', '2026-07-10 20:12:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:12:35'::timestamp) - extract(epoch from '2026-07-10 20:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:12:35'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.124341)', '2026-07-10 20:12:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:12:43'::timestamp) - extract(epoch from '2026-07-10 20:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:12:43'::timestamp) - extract(epoch from '2026-07-10 20:12:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138423 -3.12434)', '2026-07-10 20:12:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:48'::timestamp) - extract(epoch from '2026-07-10 20:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:48'::timestamp) - extract(epoch from '2026-07-10 20:12: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'), 47521, 'SRID=4674;POINT (-39.138429 -3.12434)', '2026-07-10 20:12:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:49'::timestamp) - extract(epoch from '2026-07-10 20:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:12:49'::timestamp) - extract(epoch from '2026-07-10 20:12: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124339)', '2026-07-10 20:12:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:12:54'::timestamp) - extract(epoch from '2026-07-10 20:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:12:54'::timestamp) - extract(epoch from '2026-07-10 20:12: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124341)', '2026-07-10 20:13:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:13:03'::timestamp) - extract(epoch from '2026-07-10 20:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:13:03'::timestamp) - extract(epoch from '2026-07-10 20:12: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124342)', '2026-07-10 20:13:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:13:09'::timestamp) - extract(epoch from '2026-07-10 20:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:13:09'::timestamp) - extract(epoch from '2026-07-10 20:13: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124347)', '2026-07-10 20:13:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124347)'))) / (select extract(epoch from '2026-07-10 20:13:19'::timestamp) - extract(epoch from '2026-07-10 20:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124347)'))) / (select extract(epoch from '2026-07-10 20:13:19'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124342)', '2026-07-10 20:13:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124347)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:13:28'::timestamp) - extract(epoch from '2026-07-10 20:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124347)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:13:28'::timestamp) - extract(epoch from '2026-07-10 20:13: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124349)', '2026-07-10 20:13:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:13:39'::timestamp) - extract(epoch from '2026-07-10 20:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:13:39'::timestamp) - extract(epoch from '2026-07-10 20:13: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124352)', '2026-07-10 20:13:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:13:50'::timestamp) - extract(epoch from '2026-07-10 20:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:13:50'::timestamp) - extract(epoch from '2026-07-10 20:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13841 -3.124359)', '2026-07-10 20:13:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124359)'))) / (select extract(epoch from '2026-07-10 20:13:59'::timestamp) - extract(epoch from '2026-07-10 20:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124359)'))) / (select extract(epoch from '2026-07-10 20:13:59'::timestamp) - extract(epoch from '2026-07-10 20:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.12436)', '2026-07-10 20:14:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124359)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12436)'))) / (select extract(epoch from '2026-07-10 20:14:07'::timestamp) - extract(epoch from '2026-07-10 20:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124359)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12436)'))) / (select extract(epoch from '2026-07-10 20:14:07'::timestamp) - extract(epoch from '2026-07-10 20:13: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'), 47521, 'SRID=4674;POINT (-39.13841 -3.124353)', '2026-07-10 20:14:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12436)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:14:17'::timestamp) - extract(epoch from '2026-07-10 20:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12436)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:14:17'::timestamp) - extract(epoch from '2026-07-10 20:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138413 -3.124357)', '2026-07-10 20:14:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124357)'))) / (select extract(epoch from '2026-07-10 20:14:24'::timestamp) - extract(epoch from '2026-07-10 20:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124357)'))) / (select extract(epoch from '2026-07-10 20:14:24'::timestamp) - extract(epoch from '2026-07-10 20:14: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'), 47521, 'SRID=4674;POINT (-39.138409 -3.12436)', '2026-07-10 20:14:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124357)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12436)'))) / (select extract(epoch from '2026-07-10 20:14:33'::timestamp) - extract(epoch from '2026-07-10 20:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124357)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12436)'))) / (select extract(epoch from '2026-07-10 20:14:33'::timestamp) - extract(epoch from '2026-07-10 20:14: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'), 47521, 'SRID=4674;POINT (-39.13841 -3.124362)', '2026-07-10 20:14:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12436)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:14:45'::timestamp) - extract(epoch from '2026-07-10 20:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12436)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:14:45'::timestamp) - extract(epoch from '2026-07-10 20:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1384 -3.124359)', '2026-07-10 20:14:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124359)'))) / (select extract(epoch from '2026-07-10 20:14:50'::timestamp) - extract(epoch from '2026-07-10 20:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124359)'))) / (select extract(epoch from '2026-07-10 20:14:50'::timestamp) - extract(epoch from '2026-07-10 20:14: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'), 47521, 'SRID=4674;POINT (-39.138392 -3.124366)', '2026-07-10 20:14:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124359)'), GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124366)'))) / (select extract(epoch from '2026-07-10 20:14:57'::timestamp) - extract(epoch from '2026-07-10 20:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124359)'), GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124366)'))) / (select extract(epoch from '2026-07-10 20:14:57'::timestamp) - extract(epoch from '2026-07-10 20:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138396 -3.124374)', '2026-07-10 20:15:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124366)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124374)'))) / (select extract(epoch from '2026-07-10 20:15:05'::timestamp) - extract(epoch from '2026-07-10 20:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124366)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124374)'))) / (select extract(epoch from '2026-07-10 20:15:05'::timestamp) - extract(epoch from '2026-07-10 20:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138402 -3.124373)', '2026-07-10 20:15:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124374)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124373)'))) / (select extract(epoch from '2026-07-10 20:15:11'::timestamp) - extract(epoch from '2026-07-10 20:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124374)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124373)'))) / (select extract(epoch from '2026-07-10 20:15:11'::timestamp) - extract(epoch from '2026-07-10 20:15: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.12437)', '2026-07-10 20:15:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124373)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.12437)'))) / (select extract(epoch from '2026-07-10 20:15:16'::timestamp) - extract(epoch from '2026-07-10 20:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124373)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.12437)'))) / (select extract(epoch from '2026-07-10 20:15:16'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138409 -3.124362)', '2026-07-10 20:15:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.12437)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:15:29'::timestamp) - extract(epoch from '2026-07-10 20:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.12437)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:15:29'::timestamp) - extract(epoch from '2026-07-10 20:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138411 -3.124352)', '2026-07-10 20:15:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:15:40'::timestamp) - extract(epoch from '2026-07-10 20:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:15:40'::timestamp) - extract(epoch from '2026-07-10 20:15: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'), 47521, 'SRID=4674;POINT (-39.13841 -3.124351)', '2026-07-10 20:15:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124351)'))) / (select extract(epoch from '2026-07-10 20:15:49'::timestamp) - extract(epoch from '2026-07-10 20:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124351)'))) / (select extract(epoch from '2026-07-10 20:15:49'::timestamp) - extract(epoch from '2026-07-10 20:15: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124353)', '2026-07-10 20:15:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124351)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:15:57'::timestamp) - extract(epoch from '2026-07-10 20:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124351)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:15:57'::timestamp) - extract(epoch from '2026-07-10 20:15: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124349)', '2026-07-10 20:16:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:16:07'::timestamp) - extract(epoch from '2026-07-10 20:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:16:07'::timestamp) - extract(epoch from '2026-07-10 20:15: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124353)', '2026-07-10 20:16:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:16:16'::timestamp) - extract(epoch from '2026-07-10 20:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:16:16'::timestamp) - extract(epoch from '2026-07-10 20:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138411 -3.124348)', '2026-07-10 20:16:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:16:27'::timestamp) - extract(epoch from '2026-07-10 20:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:16:27'::timestamp) - extract(epoch from '2026-07-10 20:16: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124348)', '2026-07-10 20:16:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:16:35'::timestamp) - extract(epoch from '2026-07-10 20:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:16:35'::timestamp) - extract(epoch from '2026-07-10 20:16: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124344)', '2026-07-10 20:16:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:16:45'::timestamp) - extract(epoch from '2026-07-10 20:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:16:45'::timestamp) - extract(epoch from '2026-07-10 20:16: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.12434)', '2026-07-10 20:16:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:16:50'::timestamp) - extract(epoch from '2026-07-10 20:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:16:50'::timestamp) - extract(epoch from '2026-07-10 20:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13842 -3.12433)', '2026-07-10 20:16:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:16:58'::timestamp) - extract(epoch from '2026-07-10 20:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:16:58'::timestamp) - extract(epoch from '2026-07-10 20:16: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124323)', '2026-07-10 20:17:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:17:10'::timestamp) - extract(epoch from '2026-07-10 20:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:17:10'::timestamp) - extract(epoch from '2026-07-10 20:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138423 -3.124322)', '2026-07-10 20:17:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:17:21'::timestamp) - extract(epoch from '2026-07-10 20:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:17:21'::timestamp) - extract(epoch from '2026-07-10 20:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138414 -3.124321)', '2026-07-10 20:17:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:17:39'::timestamp) - extract(epoch from '2026-07-10 20:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:17:39'::timestamp) - extract(epoch from '2026-07-10 20:17: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124324)', '2026-07-10 20:17:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:17:44'::timestamp) - extract(epoch from '2026-07-10 20:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:17:44'::timestamp) - extract(epoch from '2026-07-10 20:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138409 -3.124326)', '2026-07-10 20:17:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:17:50'::timestamp) - extract(epoch from '2026-07-10 20:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:17:50'::timestamp) - extract(epoch from '2026-07-10 20:17: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124327)', '2026-07-10 20:17:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:17:59'::timestamp) - extract(epoch from '2026-07-10 20:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:17:59'::timestamp) - extract(epoch from '2026-07-10 20:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138416 -3.124327)', '2026-07-10 20:18:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:18:06'::timestamp) - extract(epoch from '2026-07-10 20:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:18:06'::timestamp) - extract(epoch from '2026-07-10 20:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138423 -3.124325)', '2026-07-10 20:18:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:18:15'::timestamp) - extract(epoch from '2026-07-10 20:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:18:15'::timestamp) - extract(epoch from '2026-07-10 20:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138414 -3.124323)', '2026-07-10 20:18:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:18:21'::timestamp) - extract(epoch from '2026-07-10 20:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:18:21'::timestamp) - extract(epoch from '2026-07-10 20:18: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.124309)', '2026-07-10 20:18:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:18:29'::timestamp) - extract(epoch from '2026-07-10 20:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:18:29'::timestamp) - extract(epoch from '2026-07-10 20:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138421 -3.124309)', '2026-07-10 20:18:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:18:36'::timestamp) - extract(epoch from '2026-07-10 20:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:18:36'::timestamp) - extract(epoch from '2026-07-10 20:18: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124309)', '2026-07-10 20:18:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:18:44'::timestamp) - extract(epoch from '2026-07-10 20:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:18:44'::timestamp) - extract(epoch from '2026-07-10 20:18: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124315)', '2026-07-10 20:18:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:18:51'::timestamp) - extract(epoch from '2026-07-10 20:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:18:51'::timestamp) - extract(epoch from '2026-07-10 20:18: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'), 47521, 'SRID=4674;POINT (-39.138425 -3.124314)', '2026-07-10 20:18:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:18:58'::timestamp) - extract(epoch from '2026-07-10 20:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:18:58'::timestamp) - extract(epoch from '2026-07-10 20:18: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124312)', '2026-07-10 20:19:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124312)'))) / (select extract(epoch from '2026-07-10 20:19:07'::timestamp) - extract(epoch from '2026-07-10 20:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124312)'))) / (select extract(epoch from '2026-07-10 20:19:07'::timestamp) - extract(epoch from '2026-07-10 20:18: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124312)', '2026-07-10 20:19:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124312)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124312)'))) / (select extract(epoch from '2026-07-10 20:19:15'::timestamp) - extract(epoch from '2026-07-10 20:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124312)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124312)'))) / (select extract(epoch from '2026-07-10 20:19:15'::timestamp) - extract(epoch from '2026-07-10 20:19: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124315)', '2026-07-10 20:19:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124312)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:19:20'::timestamp) - extract(epoch from '2026-07-10 20:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124312)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:19:20'::timestamp) - extract(epoch from '2026-07-10 20:19: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124316)', '2026-07-10 20:19:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:19:32'::timestamp) - extract(epoch from '2026-07-10 20:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:19:32'::timestamp) - extract(epoch from '2026-07-10 20:19: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.12432)', '2026-07-10 20:19:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'))) / (select extract(epoch from '2026-07-10 20:19:38'::timestamp) - extract(epoch from '2026-07-10 20:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'))) / (select extract(epoch from '2026-07-10 20:19:38'::timestamp) - extract(epoch from '2026-07-10 20:19: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.12432)', '2026-07-10 20:19:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12432)'))) / (select extract(epoch from '2026-07-10 20:19:43'::timestamp) - extract(epoch from '2026-07-10 20:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12432)'))) / (select extract(epoch from '2026-07-10 20:19:43'::timestamp) - extract(epoch from '2026-07-10 20:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138419 -3.124319)', '2026-07-10 20:19:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:19:51'::timestamp) - extract(epoch from '2026-07-10 20:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12432)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:19:51'::timestamp) - extract(epoch from '2026-07-10 20:19: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124317)', '2026-07-10 20:19:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:19:58'::timestamp) - extract(epoch from '2026-07-10 20:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:19:58'::timestamp) - extract(epoch from '2026-07-10 20:19: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124324)', '2026-07-10 20:20:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:20:08'::timestamp) - extract(epoch from '2026-07-10 20:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:20:08'::timestamp) - extract(epoch from '2026-07-10 20:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138418 -3.124325)', '2026-07-10 20:20:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:20:13'::timestamp) - extract(epoch from '2026-07-10 20:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:20:13'::timestamp) - extract(epoch from '2026-07-10 20:20: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'), 47521, 'SRID=4674;POINT (-39.138421 -3.124318)', '2026-07-10 20:20:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:20:21'::timestamp) - extract(epoch from '2026-07-10 20:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:20:21'::timestamp) - extract(epoch from '2026-07-10 20:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138428 -3.124318)', '2026-07-10 20:20:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:20:30'::timestamp) - extract(epoch from '2026-07-10 20:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:20:30'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138423 -3.124317)', '2026-07-10 20:20:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:20:40'::timestamp) - extract(epoch from '2026-07-10 20:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:20:40'::timestamp) - extract(epoch from '2026-07-10 20:20: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124308)', '2026-07-10 20:20:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:20:48'::timestamp) - extract(epoch from '2026-07-10 20:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:20:48'::timestamp) - extract(epoch from '2026-07-10 20:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138415 -3.12431)', '2026-07-10 20:20:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:20:54'::timestamp) - extract(epoch from '2026-07-10 20:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:20:54'::timestamp) - extract(epoch from '2026-07-10 20:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138416 -3.124306)', '2026-07-10 20:21:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:21:02'::timestamp) - extract(epoch from '2026-07-10 20:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:21:02'::timestamp) - extract(epoch from '2026-07-10 20:20: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'), 47521, 'SRID=4674;POINT (-39.138422 -3.124308)', '2026-07-10 20:21:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:21:10'::timestamp) - extract(epoch from '2026-07-10 20:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:21:10'::timestamp) - extract(epoch from '2026-07-10 20:21: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124315)', '2026-07-10 20:21:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:21:22'::timestamp) - extract(epoch from '2026-07-10 20:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:21:22'::timestamp) - extract(epoch from '2026-07-10 20:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138407 -3.124308)', '2026-07-10 20:21:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:21:32'::timestamp) - extract(epoch from '2026-07-10 20:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:21:32'::timestamp) - extract(epoch from '2026-07-10 20:21: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124313)', '2026-07-10 20:21:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:21:37'::timestamp) - extract(epoch from '2026-07-10 20:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:21:37'::timestamp) - extract(epoch from '2026-07-10 20:21: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.12431)', '2026-07-10 20:21:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:21:42'::timestamp) - extract(epoch from '2026-07-10 20:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:21:42'::timestamp) - extract(epoch from '2026-07-10 20:21: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124304)', '2026-07-10 20:21:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:21:52'::timestamp) - extract(epoch from '2026-07-10 20:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:21:52'::timestamp) - extract(epoch from '2026-07-10 20:21: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'), 47521, 'SRID=4674;POINT (-39.138416 -3.124303)', '2026-07-10 20:22:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:22:02'::timestamp) - extract(epoch from '2026-07-10 20:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:22:02'::timestamp) - extract(epoch from '2026-07-10 20:21: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124303)', '2026-07-10 20:22:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:22:07'::timestamp) - extract(epoch from '2026-07-10 20:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:22:07'::timestamp) - extract(epoch from '2026-07-10 20:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138414 -3.124308)', '2026-07-10 20:22:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:22:16'::timestamp) - extract(epoch from '2026-07-10 20:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:22:16'::timestamp) - extract(epoch from '2026-07-10 20:22: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124308)', '2026-07-10 20:22:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:22:25'::timestamp) - extract(epoch from '2026-07-10 20:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:22:25'::timestamp) - extract(epoch from '2026-07-10 20:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138415 -3.124313)', '2026-07-10 20:22:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:22:36'::timestamp) - extract(epoch from '2026-07-10 20:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:22:36'::timestamp) - extract(epoch from '2026-07-10 20:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138415 -3.124307)', '2026-07-10 20:22:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:22:44'::timestamp) - extract(epoch from '2026-07-10 20:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:22:44'::timestamp) - extract(epoch from '2026-07-10 20:22: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'), 47521, 'SRID=4674;POINT (-39.138411 -3.124305)', '2026-07-10 20:22:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124305)'))) / (select extract(epoch from '2026-07-10 20:22:53'::timestamp) - extract(epoch from '2026-07-10 20:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124305)'))) / (select extract(epoch from '2026-07-10 20:22:53'::timestamp) - extract(epoch from '2026-07-10 20:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138413 -3.124312)', '2026-07-10 20:22:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124312)'))) / (select extract(epoch from '2026-07-10 20:22:59'::timestamp) - extract(epoch from '2026-07-10 20:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124312)'))) / (select extract(epoch from '2026-07-10 20:22:59'::timestamp) - extract(epoch from '2026-07-10 20:22: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'), 47521, 'SRID=4674;POINT (-39.138418 -3.124316)', '2026-07-10 20:23:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124312)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:23:09'::timestamp) - extract(epoch from '2026-07-10 20:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124312)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:23:09'::timestamp) - extract(epoch from '2026-07-10 20:22: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'), 47521, 'SRID=4674;POINT (-39.138411 -3.124308)', '2026-07-10 20:23:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:23:16'::timestamp) - extract(epoch from '2026-07-10 20:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:23:16'::timestamp) - extract(epoch from '2026-07-10 20:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124305)', '2026-07-10 20:23:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124305)'))) / (select extract(epoch from '2026-07-10 20:23:17'::timestamp) - extract(epoch from '2026-07-10 20:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124305)'))) / (select extract(epoch from '2026-07-10 20:23:17'::timestamp) - extract(epoch from '2026-07-10 20:23: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124309)', '2026-07-10 20:23:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:23:20'::timestamp) - extract(epoch from '2026-07-10 20:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:23:20'::timestamp) - extract(epoch from '2026-07-10 20:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138393 -3.124307)', '2026-07-10 20:23:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:23:24'::timestamp) - extract(epoch from '2026-07-10 20:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:23:24'::timestamp) - extract(epoch from '2026-07-10 20:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138399 -3.124308)', '2026-07-10 20:23:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:23:30'::timestamp) - extract(epoch from '2026-07-10 20:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:23:30'::timestamp) - extract(epoch from '2026-07-10 20:23: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'), 47521, 'SRID=4674;POINT (-39.138411 -3.124304)', '2026-07-10 20:23:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:23:44'::timestamp) - extract(epoch from '2026-07-10 20:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:23:44'::timestamp) - extract(epoch from '2026-07-10 20:23: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124309)', '2026-07-10 20:23:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:23:54'::timestamp) - extract(epoch from '2026-07-10 20:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:23:54'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.12431)', '2026-07-10 20:24:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:24:02'::timestamp) - extract(epoch from '2026-07-10 20:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:24:02'::timestamp) - extract(epoch from '2026-07-10 20:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.124308)', '2026-07-10 20:24:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:24:11'::timestamp) - extract(epoch from '2026-07-10 20:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:24:11'::timestamp) - extract(epoch from '2026-07-10 20:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13841 -3.1243)', '2026-07-10 20:24:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1243)'))) / (select extract(epoch from '2026-07-10 20:24:24'::timestamp) - extract(epoch from '2026-07-10 20:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1243)'))) / (select extract(epoch from '2026-07-10 20:24:24'::timestamp) - extract(epoch from '2026-07-10 20:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124298)', '2026-07-10 20:24:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1243)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124298)'))) / (select extract(epoch from '2026-07-10 20:24:34'::timestamp) - extract(epoch from '2026-07-10 20:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1243)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124298)'))) / (select extract(epoch from '2026-07-10 20:24:34'::timestamp) - extract(epoch from '2026-07-10 20:24: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'), 47521, 'SRID=4674;POINT (-39.138407 -3.124289)', '2026-07-10 20:24:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:24:40'::timestamp) - extract(epoch from '2026-07-10 20:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:24:40'::timestamp) - extract(epoch from '2026-07-10 20:24: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.12429)', '2026-07-10 20:24:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12429)'))) / (select extract(epoch from '2026-07-10 20:24:49'::timestamp) - extract(epoch from '2026-07-10 20:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12429)'))) / (select extract(epoch from '2026-07-10 20:24:49'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124289)', '2026-07-10 20:24:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12429)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:24:55'::timestamp) - extract(epoch from '2026-07-10 20:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12429)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:24:55'::timestamp) - extract(epoch from '2026-07-10 20:24: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124295)', '2026-07-10 20:25:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124295)'))) / (select extract(epoch from '2026-07-10 20:25:01'::timestamp) - extract(epoch from '2026-07-10 20:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124295)'))) / (select extract(epoch from '2026-07-10 20:25:01'::timestamp) - extract(epoch from '2026-07-10 20:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138412 -3.124282)', '2026-07-10 20:25:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124295)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124282)'))) / (select extract(epoch from '2026-07-10 20:25:09'::timestamp) - extract(epoch from '2026-07-10 20:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124295)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124282)'))) / (select extract(epoch from '2026-07-10 20:25:09'::timestamp) - extract(epoch from '2026-07-10 20:25: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124287)', '2026-07-10 20:25:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124282)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124287)'))) / (select extract(epoch from '2026-07-10 20:25:17'::timestamp) - extract(epoch from '2026-07-10 20:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124282)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124287)'))) / (select extract(epoch from '2026-07-10 20:25:17'::timestamp) - extract(epoch from '2026-07-10 20:25: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'), 47521, 'SRID=4674;POINT (-39.138407 -3.124291)', '2026-07-10 20:25:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124287)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124291)'))) / (select extract(epoch from '2026-07-10 20:25:26'::timestamp) - extract(epoch from '2026-07-10 20:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124287)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124291)'))) / (select extract(epoch from '2026-07-10 20:25:26'::timestamp) - extract(epoch from '2026-07-10 20:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138407 -3.124288)', '2026-07-10 20:25:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124291)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124288)'))) / (select extract(epoch from '2026-07-10 20:25:37'::timestamp) - extract(epoch from '2026-07-10 20:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124291)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124288)'))) / (select extract(epoch from '2026-07-10 20:25:37'::timestamp) - extract(epoch from '2026-07-10 20:25: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'), 47521, 'SRID=4674;POINT (-39.138394 -3.124289)', '2026-07-10 20:25:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124288)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:25:42'::timestamp) - extract(epoch from '2026-07-10 20:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124288)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124289)'))) / (select extract(epoch from '2026-07-10 20:25:42'::timestamp) - extract(epoch from '2026-07-10 20:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1384 -3.124294)', '2026-07-10 20:25:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124294)'))) / (select extract(epoch from '2026-07-10 20:25:50'::timestamp) - extract(epoch from '2026-07-10 20:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124289)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124294)'))) / (select extract(epoch from '2026-07-10 20:25:50'::timestamp) - extract(epoch from '2026-07-10 20:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138398 -3.124298)', '2026-07-10 20:25:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124298)'))) / (select extract(epoch from '2026-07-10 20:25:57'::timestamp) - extract(epoch from '2026-07-10 20:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124294)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124298)'))) / (select extract(epoch from '2026-07-10 20:25:57'::timestamp) - extract(epoch from '2026-07-10 20:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138403 -3.124304)', '2026-07-10 20:26:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:26:07'::timestamp) - extract(epoch from '2026-07-10 20:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124298)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:26:07'::timestamp) - extract(epoch from '2026-07-10 20:25: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'), 47521, 'SRID=4674;POINT (-39.138396 -3.124313)', '2026-07-10 20:26:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:26:12'::timestamp) - extract(epoch from '2026-07-10 20:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:26:12'::timestamp) - extract(epoch from '2026-07-10 20:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124319)', '2026-07-10 20:26:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:26:20'::timestamp) - extract(epoch from '2026-07-10 20:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:26:20'::timestamp) - extract(epoch from '2026-07-10 20:26: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'), 47521, 'SRID=4674;POINT (-39.138407 -3.124319)', '2026-07-10 20:26:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:26:28'::timestamp) - extract(epoch from '2026-07-10 20:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:26:28'::timestamp) - extract(epoch from '2026-07-10 20:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124324)', '2026-07-10 20:26:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:26:38'::timestamp) - extract(epoch from '2026-07-10 20:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:26:38'::timestamp) - extract(epoch from '2026-07-10 20:26: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'), 47521, 'SRID=4674;POINT (-39.138403 -3.124324)', '2026-07-10 20:26:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:26:44'::timestamp) - extract(epoch from '2026-07-10 20:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:26:44'::timestamp) - extract(epoch from '2026-07-10 20:26: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.124329)', '2026-07-10 20:26:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:26:57'::timestamp) - extract(epoch from '2026-07-10 20:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:26:57'::timestamp) - extract(epoch from '2026-07-10 20:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138401 -3.124331)', '2026-07-10 20:27:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:27:03'::timestamp) - extract(epoch from '2026-07-10 20:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:27:03'::timestamp) - extract(epoch from '2026-07-10 20:26: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.124332)', '2026-07-10 20:27:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:27:11'::timestamp) - extract(epoch from '2026-07-10 20:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:27:11'::timestamp) - extract(epoch from '2026-07-10 20:27: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.124338)', '2026-07-10 20:27:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124338)'))) / (select extract(epoch from '2026-07-10 20:27:19'::timestamp) - extract(epoch from '2026-07-10 20:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124338)'))) / (select extract(epoch from '2026-07-10 20:27:19'::timestamp) - extract(epoch from '2026-07-10 20:27: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'), 47521, 'SRID=4674;POINT (-39.138409 -3.124332)', '2026-07-10 20:27:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124338)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:27:34'::timestamp) - extract(epoch from '2026-07-10 20:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124338)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:27:34'::timestamp) - extract(epoch from '2026-07-10 20:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13841 -3.124331)', '2026-07-10 20:27:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:27:45'::timestamp) - extract(epoch from '2026-07-10 20:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:27:45'::timestamp) - extract(epoch from '2026-07-10 20:27: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.124333)', '2026-07-10 20:27:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:27:53'::timestamp) - extract(epoch from '2026-07-10 20:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:27:53'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138397 -3.124334)', '2026-07-10 20:27:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:27:59'::timestamp) - extract(epoch from '2026-07-10 20:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:27:59'::timestamp) - extract(epoch from '2026-07-10 20:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138406 -3.124342)', '2026-07-10 20:28:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:28:05'::timestamp) - extract(epoch from '2026-07-10 20:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:28:05'::timestamp) - extract(epoch from '2026-07-10 20:27: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.124348)', '2026-07-10 20:28:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:28:19'::timestamp) - extract(epoch from '2026-07-10 20:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:28:19'::timestamp) - extract(epoch from '2026-07-10 20:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.124351)', '2026-07-10 20:28:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124351)'))) / (select extract(epoch from '2026-07-10 20:28:28'::timestamp) - extract(epoch from '2026-07-10 20:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124351)'))) / (select extract(epoch from '2026-07-10 20:28:28'::timestamp) - extract(epoch from '2026-07-10 20:28: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124349)', '2026-07-10 20:28:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124351)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:28:40'::timestamp) - extract(epoch from '2026-07-10 20:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124351)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:28:40'::timestamp) - extract(epoch from '2026-07-10 20:28: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124345)', '2026-07-10 20:28:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:28:51'::timestamp) - extract(epoch from '2026-07-10 20:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:28:51'::timestamp) - extract(epoch from '2026-07-10 20:28: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124335)', '2026-07-10 20:29:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124335)'))) / (select extract(epoch from '2026-07-10 20:29:07'::timestamp) - extract(epoch from '2026-07-10 20:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124335)'))) / (select extract(epoch from '2026-07-10 20:29:07'::timestamp) - extract(epoch from '2026-07-10 20:28: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'), 47521, 'SRID=4674;POINT (-39.138397 -3.124341)', '2026-07-10 20:29:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124335)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:29:21'::timestamp) - extract(epoch from '2026-07-10 20:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124335)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:29:21'::timestamp) - extract(epoch from '2026-07-10 20:29: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'), 47521, 'SRID=4674;POINT (-39.138402 -3.124343)', '2026-07-10 20:29:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:29:29'::timestamp) - extract(epoch from '2026-07-10 20:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:29:29'::timestamp) - extract(epoch from '2026-07-10 20:29: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.124332)', '2026-07-10 20:29:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:29:42'::timestamp) - extract(epoch from '2026-07-10 20:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:29:42'::timestamp) - extract(epoch from '2026-07-10 20:29: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'), 47521, 'SRID=4674;POINT (-39.138397 -3.124331)', '2026-07-10 20:29:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:29:47'::timestamp) - extract(epoch from '2026-07-10 20:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:29:47'::timestamp) - extract(epoch from '2026-07-10 20:29: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124332)', '2026-07-10 20:29:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:29:53'::timestamp) - extract(epoch from '2026-07-10 20:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:29:53'::timestamp) - extract(epoch from '2026-07-10 20:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138402 -3.124327)', '2026-07-10 20:30:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:30:02'::timestamp) - extract(epoch from '2026-07-10 20:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:30:02'::timestamp) - extract(epoch from '2026-07-10 20:29: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124316)', '2026-07-10 20:30:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:30:12'::timestamp) - extract(epoch from '2026-07-10 20:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:30:12'::timestamp) - extract(epoch from '2026-07-10 20:30: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124315)', '2026-07-10 20:30:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:30:18'::timestamp) - extract(epoch from '2026-07-10 20:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:30:18'::timestamp) - extract(epoch from '2026-07-10 20:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138406 -3.124316)', '2026-07-10 20:30:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:30:32'::timestamp) - extract(epoch from '2026-07-10 20:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:30:32'::timestamp) - extract(epoch from '2026-07-10 20:30: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'), 47521, 'SRID=4674;POINT (-39.138402 -3.124323)', '2026-07-10 20:30:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:30:40'::timestamp) - extract(epoch from '2026-07-10 20:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:30:40'::timestamp) - extract(epoch from '2026-07-10 20:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124326)', '2026-07-10 20:30:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:30:50'::timestamp) - extract(epoch from '2026-07-10 20:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:30:50'::timestamp) - extract(epoch from '2026-07-10 20:30: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'), 47521, 'SRID=4674;POINT (-39.138403 -3.124326)', '2026-07-10 20:31:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:31:00'::timestamp) - extract(epoch from '2026-07-10 20:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:31:00'::timestamp) - extract(epoch from '2026-07-10 20:30: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.12433)', '2026-07-10 20:31:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:31:04'::timestamp) - extract(epoch from '2026-07-10 20:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:31:04'::timestamp) - extract(epoch from '2026-07-10 20:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138397 -3.124324)', '2026-07-10 20:31:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:31:09'::timestamp) - extract(epoch from '2026-07-10 20:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:31:09'::timestamp) - extract(epoch from '2026-07-10 20:31: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'), 47521, 'SRID=4674;POINT (-39.138407 -3.124325)', '2026-07-10 20:31:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:31:14'::timestamp) - extract(epoch from '2026-07-10 20:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:31:14'::timestamp) - extract(epoch from '2026-07-10 20:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.124318)', '2026-07-10 20:31:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:31:19'::timestamp) - extract(epoch from '2026-07-10 20:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:31:19'::timestamp) - extract(epoch from '2026-07-10 20:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138396 -3.124315)', '2026-07-10 20:31:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:31:27'::timestamp) - extract(epoch from '2026-07-10 20:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:31:27'::timestamp) - extract(epoch from '2026-07-10 20:31: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.124311)', '2026-07-10 20:31:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:31:35'::timestamp) - extract(epoch from '2026-07-10 20:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:31:35'::timestamp) - extract(epoch from '2026-07-10 20:31: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124315)', '2026-07-10 20:31:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:31:43'::timestamp) - extract(epoch from '2026-07-10 20:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:31:43'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.124311)', '2026-07-10 20:31:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:31:51'::timestamp) - extract(epoch from '2026-07-10 20:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:31:51'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124316)', '2026-07-10 20:32:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:32:01'::timestamp) - extract(epoch from '2026-07-10 20:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:32:01'::timestamp) - extract(epoch from '2026-07-10 20:31: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'), 47521, 'SRID=4674;POINT (-39.138407 -3.124319)', '2026-07-10 20:32:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:32:09'::timestamp) - extract(epoch from '2026-07-10 20:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:32:09'::timestamp) - extract(epoch from '2026-07-10 20:32: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'), 47521, 'SRID=4674;POINT (-39.138402 -3.124322)', '2026-07-10 20:32:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:32:19'::timestamp) - extract(epoch from '2026-07-10 20:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:32:19'::timestamp) - extract(epoch from '2026-07-10 20:32: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.124323)', '2026-07-10 20:32:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:32:28'::timestamp) - extract(epoch from '2026-07-10 20:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124323)'))) / (select extract(epoch from '2026-07-10 20:32:28'::timestamp) - extract(epoch from '2026-07-10 20:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138404 -3.124321)', '2026-07-10 20:32:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:32:34'::timestamp) - extract(epoch from '2026-07-10 20:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124323)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:32:34'::timestamp) - extract(epoch from '2026-07-10 20:32: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'), 47521, 'SRID=4674;POINT (-39.138411 -3.124322)', '2026-07-10 20:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:32:49'::timestamp) - extract(epoch from '2026-07-10 20:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:32:49'::timestamp) - extract(epoch from '2026-07-10 20:32: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124311)', '2026-07-10 20:33:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:33:00'::timestamp) - extract(epoch from '2026-07-10 20:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:33:00'::timestamp) - extract(epoch from '2026-07-10 20:32: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.124314)', '2026-07-10 20:33:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:33:08'::timestamp) - extract(epoch from '2026-07-10 20:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:33:08'::timestamp) - extract(epoch from '2026-07-10 20:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138415 -3.124309)', '2026-07-10 20:33:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:33:15'::timestamp) - extract(epoch from '2026-07-10 20:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:33:15'::timestamp) - extract(epoch from '2026-07-10 20:33: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124306)', '2026-07-10 20:33:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:33:22'::timestamp) - extract(epoch from '2026-07-10 20:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:33:22'::timestamp) - extract(epoch from '2026-07-10 20:33: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'), 47521, 'SRID=4674;POINT (-39.13841 -3.124308)', '2026-07-10 20:33:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:33:29'::timestamp) - extract(epoch from '2026-07-10 20:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:33:29'::timestamp) - extract(epoch from '2026-07-10 20:33: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.124303)', '2026-07-10 20:33:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:33:40'::timestamp) - extract(epoch from '2026-07-10 20:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:33:40'::timestamp) - extract(epoch from '2026-07-10 20:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124307)', '2026-07-10 20:33:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:33:48'::timestamp) - extract(epoch from '2026-07-10 20:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124307)'))) / (select extract(epoch from '2026-07-10 20:33:48'::timestamp) - extract(epoch from '2026-07-10 20:33: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124313)', '2026-07-10 20:33:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:33:58'::timestamp) - extract(epoch from '2026-07-10 20:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124307)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:33:58'::timestamp) - extract(epoch from '2026-07-10 20:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138413 -3.124308)', '2026-07-10 20:34:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:34:05'::timestamp) - extract(epoch from '2026-07-10 20:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:34:05'::timestamp) - extract(epoch from '2026-07-10 20:33: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124304)', '2026-07-10 20:34:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:34:13'::timestamp) - extract(epoch from '2026-07-10 20:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:34:13'::timestamp) - extract(epoch from '2026-07-10 20:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.13841 -3.12431)', '2026-07-10 20:34:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:34:21'::timestamp) - extract(epoch from '2026-07-10 20:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:34:21'::timestamp) - extract(epoch from '2026-07-10 20:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138412 -3.12431)', '2026-07-10 20:34:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:34:32'::timestamp) - extract(epoch from '2026-07-10 20:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:34:32'::timestamp) - extract(epoch from '2026-07-10 20:34: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'), 47521, 'SRID=4674;POINT (-39.138409 -3.124313)', '2026-07-10 20:34:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:34:42'::timestamp) - extract(epoch from '2026-07-10 20:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:34:42'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138417 -3.124306)', '2026-07-10 20:34:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:34:51'::timestamp) - extract(epoch from '2026-07-10 20:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:34:51'::timestamp) - extract(epoch from '2026-07-10 20:34: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'), 47521, 'SRID=4674;POINT (-39.13841 -3.124309)', '2026-07-10 20:35:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:35:01'::timestamp) - extract(epoch from '2026-07-10 20:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:35:01'::timestamp) - extract(epoch from '2026-07-10 20:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138406 -3.124311)', '2026-07-10 20:35:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:35:11'::timestamp) - extract(epoch from '2026-07-10 20:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:35:11'::timestamp) - extract(epoch from '2026-07-10 20:35: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124308)', '2026-07-10 20:35:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:35:19'::timestamp) - extract(epoch from '2026-07-10 20:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:35:19'::timestamp) - extract(epoch from '2026-07-10 20:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138413 -3.124317)', '2026-07-10 20:35:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:35:28'::timestamp) - extract(epoch from '2026-07-10 20:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:35:28'::timestamp) - extract(epoch from '2026-07-10 20:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138409 -3.124321)', '2026-07-10 20:35:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:35:32'::timestamp) - extract(epoch from '2026-07-10 20:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:35:32'::timestamp) - extract(epoch from '2026-07-10 20:35:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138409 -3.124324)', '2026-07-10 20:35:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:35:34'::timestamp) - extract(epoch from '2026-07-10 20:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:35:34'::timestamp) - extract(epoch from '2026-07-10 20:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138403 -3.124328)', '2026-07-10 20:35:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:35:39'::timestamp) - extract(epoch from '2026-07-10 20:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:35:39'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.124328)', '2026-07-10 20:35:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:35:45'::timestamp) - extract(epoch from '2026-07-10 20:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:35:45'::timestamp) - extract(epoch from '2026-07-10 20:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138404 -3.124329)', '2026-07-10 20:35:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:35:46'::timestamp) - extract(epoch from '2026-07-10 20:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:35:46'::timestamp) - extract(epoch from '2026-07-10 20:35: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'), 47521, 'SRID=4674;POINT (-39.138396 -3.124329)', '2026-07-10 20:35:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:35:49'::timestamp) - extract(epoch from '2026-07-10 20:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:35:49'::timestamp) - extract(epoch from '2026-07-10 20:35: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124334)', '2026-07-10 20:35:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:35:55'::timestamp) - extract(epoch from '2026-07-10 20:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:35:55'::timestamp) - extract(epoch from '2026-07-10 20:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124337)', '2026-07-10 20:36:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:36:02'::timestamp) - extract(epoch from '2026-07-10 20:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:36:02'::timestamp) - extract(epoch from '2026-07-10 20:35: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124329)', '2026-07-10 20:36:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:36:11'::timestamp) - extract(epoch from '2026-07-10 20:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:36:11'::timestamp) - extract(epoch from '2026-07-10 20:36: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'), 47521, 'SRID=4674;POINT (-39.138402 -3.124331)', '2026-07-10 20:36:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:36:18'::timestamp) - extract(epoch from '2026-07-10 20:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:36:18'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.124332)', '2026-07-10 20:36:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:36:26'::timestamp) - extract(epoch from '2026-07-10 20:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:36:26'::timestamp) - extract(epoch from '2026-07-10 20:36: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'), 47521, 'SRID=4674;POINT (-39.138394 -3.124336)', '2026-07-10 20:36:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:36:38'::timestamp) - extract(epoch from '2026-07-10 20:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:36:38'::timestamp) - extract(epoch from '2026-07-10 20:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.12434)', '2026-07-10 20:36:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:36:46'::timestamp) - extract(epoch from '2026-07-10 20:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:36:46'::timestamp) - extract(epoch from '2026-07-10 20:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138404 -3.124338)', '2026-07-10 20:36:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124338)'))) / (select extract(epoch from '2026-07-10 20:36:57'::timestamp) - extract(epoch from '2026-07-10 20:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124338)'))) / (select extract(epoch from '2026-07-10 20:36:57'::timestamp) - extract(epoch from '2026-07-10 20:36: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124342)', '2026-07-10 20:37:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124338)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:37:05'::timestamp) - extract(epoch from '2026-07-10 20:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124338)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:37:05'::timestamp) - extract(epoch from '2026-07-10 20:36: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'), 47521, 'SRID=4674;POINT (-39.138396 -3.12435)', '2026-07-10 20:37:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:37:10'::timestamp) - extract(epoch from '2026-07-10 20:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:37:10'::timestamp) - extract(epoch from '2026-07-10 20:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124349)', '2026-07-10 20:37:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:37:19'::timestamp) - extract(epoch from '2026-07-10 20:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:37:19'::timestamp) - extract(epoch from '2026-07-10 20:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124354)', '2026-07-10 20:37:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124354)'))) / (select extract(epoch from '2026-07-10 20:37:27'::timestamp) - extract(epoch from '2026-07-10 20:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124354)'))) / (select extract(epoch from '2026-07-10 20:37:27'::timestamp) - extract(epoch from '2026-07-10 20:37: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.124352)', '2026-07-10 20:37:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124354)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:37:35'::timestamp) - extract(epoch from '2026-07-10 20:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124354)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:37:35'::timestamp) - extract(epoch from '2026-07-10 20:37: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124346)', '2026-07-10 20:37:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:37:48'::timestamp) - extract(epoch from '2026-07-10 20:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:37:48'::timestamp) - extract(epoch from '2026-07-10 20:37: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.12434)', '2026-07-10 20:37:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:37:57'::timestamp) - extract(epoch from '2026-07-10 20:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.12434)'))) / (select extract(epoch from '2026-07-10 20:37:57'::timestamp) - extract(epoch from '2026-07-10 20:37: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'), 47521, 'SRID=4674;POINT (-39.138403 -3.124336)', '2026-07-10 20:38:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:38:06'::timestamp) - extract(epoch from '2026-07-10 20:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.12434)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:38:06'::timestamp) - extract(epoch from '2026-07-10 20:37: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.124337)', '2026-07-10 20:38:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:38:14'::timestamp) - extract(epoch from '2026-07-10 20:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:38:14'::timestamp) - extract(epoch from '2026-07-10 20:38: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124342)', '2026-07-10 20:38:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:38:24'::timestamp) - extract(epoch from '2026-07-10 20:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:38:24'::timestamp) - extract(epoch from '2026-07-10 20:38: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124337)', '2026-07-10 20:38:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:38:31'::timestamp) - extract(epoch from '2026-07-10 20:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:38:31'::timestamp) - extract(epoch from '2026-07-10 20:38: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124334)', '2026-07-10 20:38:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:38:42'::timestamp) - extract(epoch from '2026-07-10 20:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:38:42'::timestamp) - extract(epoch from '2026-07-10 20:38: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124339)', '2026-07-10 20:38:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:38:51'::timestamp) - extract(epoch from '2026-07-10 20:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124339)'))) / (select extract(epoch from '2026-07-10 20:38:51'::timestamp) - extract(epoch from '2026-07-10 20:38: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124334)', '2026-07-10 20:38:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:38:58'::timestamp) - extract(epoch from '2026-07-10 20:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124339)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:38:58'::timestamp) - extract(epoch from '2026-07-10 20:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138409 -3.124328)', '2026-07-10 20:39:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:39:08'::timestamp) - extract(epoch from '2026-07-10 20:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:39:08'::timestamp) - extract(epoch from '2026-07-10 20:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138407 -3.124329)', '2026-07-10 20:39:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:39:15'::timestamp) - extract(epoch from '2026-07-10 20:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:39:15'::timestamp) - extract(epoch from '2026-07-10 20:39: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124331)', '2026-07-10 20:39:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:39:23'::timestamp) - extract(epoch from '2026-07-10 20:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:39:23'::timestamp) - extract(epoch from '2026-07-10 20:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138396 -3.124332)', '2026-07-10 20:39:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:39:27'::timestamp) - extract(epoch from '2026-07-10 20:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:39:27'::timestamp) - extract(epoch from '2026-07-10 20:39: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'), 47521, 'SRID=4674;POINT (-39.138391 -3.124329)', '2026-07-10 20:39:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:39:33'::timestamp) - extract(epoch from '2026-07-10 20:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124329)'))) / (select extract(epoch from '2026-07-10 20:39:33'::timestamp) - extract(epoch from '2026-07-10 20:39: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124326)', '2026-07-10 20:39:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:39:42'::timestamp) - extract(epoch from '2026-07-10 20:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124329)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:39:42'::timestamp) - extract(epoch from '2026-07-10 20:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138398 -3.124332)', '2026-07-10 20:39:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:39:49'::timestamp) - extract(epoch from '2026-07-10 20:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:39:49'::timestamp) - extract(epoch from '2026-07-10 20:39: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.124328)', '2026-07-10 20:39:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:39:58'::timestamp) - extract(epoch from '2026-07-10 20:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124328)'))) / (select extract(epoch from '2026-07-10 20:39:58'::timestamp) - extract(epoch from '2026-07-10 20:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138403 -3.124318)', '2026-07-10 20:40:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:40:10'::timestamp) - extract(epoch from '2026-07-10 20:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124328)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:40:10'::timestamp) - extract(epoch from '2026-07-10 20:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138409 -3.124315)', '2026-07-10 20:40:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:40:20'::timestamp) - extract(epoch from '2026-07-10 20:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:40:20'::timestamp) - extract(epoch from '2026-07-10 20:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138411 -3.124316)', '2026-07-10 20:40:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:40:26'::timestamp) - extract(epoch from '2026-07-10 20:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:40:26'::timestamp) - extract(epoch from '2026-07-10 20:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138411 -3.124318)', '2026-07-10 20:40:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:40:32'::timestamp) - extract(epoch from '2026-07-10 20:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:40:32'::timestamp) - extract(epoch from '2026-07-10 20:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138415 -3.124321)', '2026-07-10 20:40:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:40:40'::timestamp) - extract(epoch from '2026-07-10 20:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124321)'))) / (select extract(epoch from '2026-07-10 20:40:40'::timestamp) - extract(epoch from '2026-07-10 20:40: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'), 47521, 'SRID=4674;POINT (-39.138411 -3.124317)', '2026-07-10 20:40:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:40:46'::timestamp) - extract(epoch from '2026-07-10 20:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124321)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124317)'))) / (select extract(epoch from '2026-07-10 20:40:46'::timestamp) - extract(epoch from '2026-07-10 20:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138407 -3.124318)', '2026-07-10 20:40:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:40:53'::timestamp) - extract(epoch from '2026-07-10 20:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124317)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:40:53'::timestamp) - extract(epoch from '2026-07-10 20:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124314)', '2026-07-10 20:40:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:40:58'::timestamp) - extract(epoch from '2026-07-10 20:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:40:58'::timestamp) - extract(epoch from '2026-07-10 20:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124313)', '2026-07-10 20:41:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:41:05'::timestamp) - extract(epoch from '2026-07-10 20:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:41:05'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138403 -3.124304)', '2026-07-10 20:41:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:41:16'::timestamp) - extract(epoch from '2026-07-10 20:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:41:16'::timestamp) - extract(epoch from '2026-07-10 20:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138396 -3.124306)', '2026-07-10 20:41:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:41:25'::timestamp) - extract(epoch from '2026-07-10 20:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:41:25'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47521, 'SRID=4674;POINT (-39.138394 -3.124313)', '2026-07-10 20:41:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:41:34'::timestamp) - extract(epoch from '2026-07-10 20:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124313)'))) / (select extract(epoch from '2026-07-10 20:41:34'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.124315)', '2026-07-10 20:41:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:41:47'::timestamp) - extract(epoch from '2026-07-10 20:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124313)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124315)'))) / (select extract(epoch from '2026-07-10 20:41:47'::timestamp) - extract(epoch from '2026-07-10 20:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138382 -3.124311)', '2026-07-10 20:41:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138382 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:41:56'::timestamp) - extract(epoch from '2026-07-10 20:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124315)'), GeomFromEWKT('SRID=4674;POINT (-39.138382 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:41:56'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47521, 'SRID=4674;POINT (-39.138387 -3.124309)', '2026-07-10 20:42:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138382 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:42:04'::timestamp) - extract(epoch from '2026-07-10 20:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138382 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:42:04'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47521, 'SRID=4674;POINT (-39.138397 -3.124314)', '2026-07-10 20:42:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:42:14'::timestamp) - extract(epoch from '2026-07-10 20:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:42:14'::timestamp) - extract(epoch from '2026-07-10 20:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138386 -3.124318)', '2026-07-10 20:42:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:42:21'::timestamp) - extract(epoch from '2026-07-10 20:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:42:21'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47521, 'SRID=4674;POINT (-39.138391 -3.124318)', '2026-07-10 20:42:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:42:29'::timestamp) - extract(epoch from '2026-07-10 20:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:42:29'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.124316)', '2026-07-10 20:42:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:42:37'::timestamp) - extract(epoch from '2026-07-10 20:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:42:37'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138391 -3.124324)', '2026-07-10 20:42:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:42:43'::timestamp) - extract(epoch from '2026-07-10 20:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:42:43'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47521, 'SRID=4674;POINT (-39.138387 -3.124316)', '2026-07-10 20:42:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:42:51'::timestamp) - extract(epoch from '2026-07-10 20:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:42:51'::timestamp) - extract(epoch from '2026-07-10 20:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138401 -3.124311)', '2026-07-10 20:43:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:43:00'::timestamp) - extract(epoch from '2026-07-10 20:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138387 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:43:00'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47521, 'SRID=4674;POINT (-39.1384 -3.124305)', '2026-07-10 20:43:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124305)'))) / (select extract(epoch from '2026-07-10 20:43:10'::timestamp) - extract(epoch from '2026-07-10 20:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124305)'))) / (select extract(epoch from '2026-07-10 20:43:10'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.124314)', '2026-07-10 20:43:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:43:20'::timestamp) - extract(epoch from '2026-07-10 20:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124305)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:43:20'::timestamp) - extract(epoch from '2026-07-10 20:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138402 -3.124322)', '2026-07-10 20:43:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:43:29'::timestamp) - extract(epoch from '2026-07-10 20:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:43:29'::timestamp) - extract(epoch from '2026-07-10 20:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138404 -3.124322)', '2026-07-10 20:43:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:43:36'::timestamp) - extract(epoch from '2026-07-10 20:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:43:36'::timestamp) - extract(epoch from '2026-07-10 20:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138402 -3.124327)', '2026-07-10 20:43:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:43:44'::timestamp) - extract(epoch from '2026-07-10 20:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'))) / (select extract(epoch from '2026-07-10 20:43:44'::timestamp) - extract(epoch from '2026-07-10 20:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138401 -3.124325)', '2026-07-10 20:43:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:43:53'::timestamp) - extract(epoch from '2026-07-10 20:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124327)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124325)'))) / (select extract(epoch from '2026-07-10 20:43:53'::timestamp) - extract(epoch from '2026-07-10 20:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138398 -3.124326)', '2026-07-10 20:44:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:44:03'::timestamp) - extract(epoch from '2026-07-10 20:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124325)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:44:03'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.124331)', '2026-07-10 20:44:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:44:16'::timestamp) - extract(epoch from '2026-07-10 20:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:44:16'::timestamp) - extract(epoch from '2026-07-10 20:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124331)', '2026-07-10 20:44:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:44:26'::timestamp) - extract(epoch from '2026-07-10 20:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'))) / (select extract(epoch from '2026-07-10 20:44:26'::timestamp) - extract(epoch from '2026-07-10 20:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138399 -3.12433)', '2026-07-10 20:44:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:44:32'::timestamp) - extract(epoch from '2026-07-10 20:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124331)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'))) / (select extract(epoch from '2026-07-10 20:44:32'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124334)', '2026-07-10 20:44:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:44:35'::timestamp) - extract(epoch from '2026-07-10 20:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.12433)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'))) / (select extract(epoch from '2026-07-10 20:44:35'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124343)', '2026-07-10 20:44:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:44:44'::timestamp) - extract(epoch from '2026-07-10 20:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124334)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124343)'))) / (select extract(epoch from '2026-07-10 20:44:44'::timestamp) - extract(epoch from '2026-07-10 20:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1384 -3.124348)', '2026-07-10 20:44:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:44:51'::timestamp) - extract(epoch from '2026-07-10 20:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124343)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124348)'))) / (select extract(epoch from '2026-07-10 20:44:51'::timestamp) - extract(epoch from '2026-07-10 20:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138394 -3.124354)', '2026-07-10 20:44:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124354)'))) / (select extract(epoch from '2026-07-10 20:44:59'::timestamp) - extract(epoch from '2026-07-10 20:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124348)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124354)'))) / (select extract(epoch from '2026-07-10 20:44:59'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.12435)', '2026-07-10 20:45:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124354)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:45:06'::timestamp) - extract(epoch from '2026-07-10 20:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124354)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:45:06'::timestamp) - extract(epoch from '2026-07-10 20:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138402 -3.124358)', '2026-07-10 20:45:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124358)'))) / (select extract(epoch from '2026-07-10 20:45:12'::timestamp) - extract(epoch from '2026-07-10 20:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124358)'))) / (select extract(epoch from '2026-07-10 20:45:12'::timestamp) - extract(epoch from '2026-07-10 20:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.124356)', '2026-07-10 20:45:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124358)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124356)'))) / (select extract(epoch from '2026-07-10 20:45:22'::timestamp) - extract(epoch from '2026-07-10 20:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124358)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124356)'))) / (select extract(epoch from '2026-07-10 20:45:22'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124349)', '2026-07-10 20:45:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124356)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:45:30'::timestamp) - extract(epoch from '2026-07-10 20:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124356)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:45:30'::timestamp) - extract(epoch from '2026-07-10 20:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124346)', '2026-07-10 20:45:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:45:40'::timestamp) - extract(epoch from '2026-07-10 20:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:45:40'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.124344)', '2026-07-10 20:45:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:45:51'::timestamp) - extract(epoch from '2026-07-10 20:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124344)'))) / (select extract(epoch from '2026-07-10 20:45:51'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.124345)', '2026-07-10 20:45:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:45:58'::timestamp) - extract(epoch from '2026-07-10 20:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124344)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:45:58'::timestamp) - extract(epoch from '2026-07-10 20:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138396 -3.124338)', '2026-07-10 20:46:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124338)'))) / (select extract(epoch from '2026-07-10 20:46:05'::timestamp) - extract(epoch from '2026-07-10 20:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124338)'))) / (select extract(epoch from '2026-07-10 20:46:05'::timestamp) - extract(epoch from '2026-07-10 20:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1384 -3.124336)', '2026-07-10 20:46:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124338)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:46:14'::timestamp) - extract(epoch from '2026-07-10 20:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124338)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124336)'))) / (select extract(epoch from '2026-07-10 20:46:14'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47521, 'SRID=4674;POINT (-39.138397 -3.124346)', '2026-07-10 20:46:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:46:25'::timestamp) - extract(epoch from '2026-07-10 20:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124336)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:46:25'::timestamp) - extract(epoch from '2026-07-10 20:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138403 -3.12435)', '2026-07-10 20:46:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:46:42'::timestamp) - extract(epoch from '2026-07-10 20:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:46:42'::timestamp) - extract(epoch from '2026-07-10 20:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138404 -3.124342)', '2026-07-10 20:46:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:46:54'::timestamp) - extract(epoch from '2026-07-10 20:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:46:54'::timestamp) - extract(epoch from '2026-07-10 20:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.12435)', '2026-07-10 20:47:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:47:02'::timestamp) - extract(epoch from '2026-07-10 20:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:47:02'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47521, 'SRID=4674;POINT (-39.138412 -3.124352)', '2026-07-10 20:47:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:47:12'::timestamp) - extract(epoch from '2026-07-10 20:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:47:12'::timestamp) - extract(epoch from '2026-07-10 20:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138411 -3.124355)', '2026-07-10 20:47:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124355)'))) / (select extract(epoch from '2026-07-10 20:47:25'::timestamp) - extract(epoch from '2026-07-10 20:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124355)'))) / (select extract(epoch from '2026-07-10 20:47:25'::timestamp) - extract(epoch from '2026-07-10 20:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138414 -3.124349)', '2026-07-10 20:47:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124355)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:47:36'::timestamp) - extract(epoch from '2026-07-10 20:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.124355)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:47:36'::timestamp) - extract(epoch from '2026-07-10 20:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138417 -3.12435)', '2026-07-10 20:47:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:47:44'::timestamp) - extract(epoch from '2026-07-10 20:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:47:44'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138415 -3.124346)', '2026-07-10 20:47:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:47:52'::timestamp) - extract(epoch from '2026-07-10 20:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:47:52'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47521, 'SRID=4674;POINT (-39.138413 -3.124342)', '2026-07-10 20:48:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:48:00'::timestamp) - extract(epoch from '2026-07-10 20:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'))) / (select extract(epoch from '2026-07-10 20:48:00'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47521, 'SRID=4674;POINT (-39.13841 -3.124346)', '2026-07-10 20:48:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:48:12'::timestamp) - extract(epoch from '2026-07-10 20:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.124342)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124346)'))) / (select extract(epoch from '2026-07-10 20:48:12'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.124337)', '2026-07-10 20:48:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:48:21'::timestamp) - extract(epoch from '2026-07-10 20:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.124346)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:48:21'::timestamp) - extract(epoch from '2026-07-10 20:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138401 -3.124341)', '2026-07-10 20:48:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:48:30'::timestamp) - extract(epoch from '2026-07-10 20:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:48:30'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47521, 'SRID=4674;POINT (-39.138404 -3.124351)', '2026-07-10 20:48:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124351)'))) / (select extract(epoch from '2026-07-10 20:48:43'::timestamp) - extract(epoch from '2026-07-10 20:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124351)'))) / (select extract(epoch from '2026-07-10 20:48:43'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47521, 'SRID=4674;POINT (-39.138405 -3.124349)', '2026-07-10 20:48:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124351)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:48:54'::timestamp) - extract(epoch from '2026-07-10 20:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.124351)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'))) / (select extract(epoch from '2026-07-10 20:48:54'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.12435)', '2026-07-10 20:49:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:49:10'::timestamp) - extract(epoch from '2026-07-10 20:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'))) / (select extract(epoch from '2026-07-10 20:49:10'::timestamp) - extract(epoch from '2026-07-10 20:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138409 -3.124353)', '2026-07-10 20:49:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:49:18'::timestamp) - extract(epoch from '2026-07-10 20:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:49:18'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47521, 'SRID=4674;POINT (-39.138408 -3.124352)', '2026-07-10 20:49:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:49:28'::timestamp) - extract(epoch from '2026-07-10 20:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:49:28'::timestamp) - extract(epoch from '2026-07-10 20:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138407 -3.124355)', '2026-07-10 20:49:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124355)'))) / (select extract(epoch from '2026-07-10 20:49:34'::timestamp) - extract(epoch from '2026-07-10 20:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124355)'))) / (select extract(epoch from '2026-07-10 20:49:34'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.124362)', '2026-07-10 20:49:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124355)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:49:47'::timestamp) - extract(epoch from '2026-07-10 20:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124355)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:49:47'::timestamp) - extract(epoch from '2026-07-10 20:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138407 -3.124364)', '2026-07-10 20:49:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124364)'))) / (select extract(epoch from '2026-07-10 20:49:59'::timestamp) - extract(epoch from '2026-07-10 20:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124364)'))) / (select extract(epoch from '2026-07-10 20:49:59'::timestamp) - extract(epoch from '2026-07-10 20:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1384 -3.124368)', '2026-07-10 20:50:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124364)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124368)'))) / (select extract(epoch from '2026-07-10 20:50:05'::timestamp) - extract(epoch from '2026-07-10 20:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.124364)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124368)'))) / (select extract(epoch from '2026-07-10 20:50:05'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47521, 'SRID=4674;POINT (-39.138391 -3.124374)', '2026-07-10 20:50:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124368)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124374)'))) / (select extract(epoch from '2026-07-10 20:50:14'::timestamp) - extract(epoch from '2026-07-10 20:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124368)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124374)'))) / (select extract(epoch from '2026-07-10 20:50:14'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47521, 'SRID=4674;POINT (-39.138394 -3.124372)', '2026-07-10 20:50:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124374)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124372)'))) / (select extract(epoch from '2026-07-10 20:50:25'::timestamp) - extract(epoch from '2026-07-10 20:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124374)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124372)'))) / (select extract(epoch from '2026-07-10 20:50:25'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47521, 'SRID=4674;POINT (-39.138397 -3.124368)', '2026-07-10 20:50:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124372)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124368)'))) / (select extract(epoch from '2026-07-10 20:50:38'::timestamp) - extract(epoch from '2026-07-10 20:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124372)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124368)'))) / (select extract(epoch from '2026-07-10 20:50:38'::timestamp) - extract(epoch from '2026-07-10 20:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124365)', '2026-07-10 20:50:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124368)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124365)'))) / (select extract(epoch from '2026-07-10 20:50:47'::timestamp) - extract(epoch from '2026-07-10 20:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124368)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124365)'))) / (select extract(epoch from '2026-07-10 20:50:47'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.124359)', '2026-07-10 20:51:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124365)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124359)'))) / (select extract(epoch from '2026-07-10 20:51:01'::timestamp) - extract(epoch from '2026-07-10 20:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124365)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124359)'))) / (select extract(epoch from '2026-07-10 20:51:01'::timestamp) - extract(epoch from '2026-07-10 20:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138408 -3.124362)', '2026-07-10 20:51:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124359)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:51:09'::timestamp) - extract(epoch from '2026-07-10 20:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124359)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124362)'))) / (select extract(epoch from '2026-07-10 20:51:09'::timestamp) - extract(epoch from '2026-07-10 20:51: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.124353)', '2026-07-10 20:51:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:51:15'::timestamp) - extract(epoch from '2026-07-10 20:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.124362)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124353)'))) / (select extract(epoch from '2026-07-10 20:51:15'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138393 -3.124356)', '2026-07-10 20:51:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124356)'))) / (select extract(epoch from '2026-07-10 20:51:22'::timestamp) - extract(epoch from '2026-07-10 20:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124353)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124356)'))) / (select extract(epoch from '2026-07-10 20:51:22'::timestamp) - extract(epoch from '2026-07-10 20:51: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124352)', '2026-07-10 20:51:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124356)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:51:31'::timestamp) - extract(epoch from '2026-07-10 20:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124356)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124352)'))) / (select extract(epoch from '2026-07-10 20:51:31'::timestamp) - extract(epoch from '2026-07-10 20:51:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138392 -3.124345)', '2026-07-10 20:51:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:51:45'::timestamp) - extract(epoch from '2026-07-10 20:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124352)'), GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:51:45'::timestamp) - extract(epoch from '2026-07-10 20:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138397 -3.124345)', '2026-07-10 20:51:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:51:58'::timestamp) - extract(epoch from '2026-07-10 20:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138392 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124345)'))) / (select extract(epoch from '2026-07-10 20:51:58'::timestamp) - extract(epoch from '2026-07-10 20:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138394 -3.124341)', '2026-07-10 20:52:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:52:04'::timestamp) - extract(epoch from '2026-07-10 20:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124345)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124341)'))) / (select extract(epoch from '2026-07-10 20:52:04'::timestamp) - extract(epoch from '2026-07-10 20:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138396 -3.124337)', '2026-07-10 20:52:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:52:11'::timestamp) - extract(epoch from '2026-07-10 20:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124341)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124337)'))) / (select extract(epoch from '2026-07-10 20:52:11'::timestamp) - extract(epoch from '2026-07-10 20:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138394 -3.124333)', '2026-07-10 20:52:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:52:20'::timestamp) - extract(epoch from '2026-07-10 20:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124333)'))) / (select extract(epoch from '2026-07-10 20:52:20'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.124332)', '2026-07-10 20:52:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:52:29'::timestamp) - extract(epoch from '2026-07-10 20:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124333)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124332)'))) / (select extract(epoch from '2026-07-10 20:52:29'::timestamp) - extract(epoch from '2026-07-10 20:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.1384 -3.124324)', '2026-07-10 20:52:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:52:35'::timestamp) - extract(epoch from '2026-07-10 20:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124332)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124324)'))) / (select extract(epoch from '2026-07-10 20:52:35'::timestamp) - extract(epoch from '2026-07-10 20:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138403 -3.124316)', '2026-07-10 20:52:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:52:43'::timestamp) - extract(epoch from '2026-07-10 20:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.124324)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:52:43'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47521, 'SRID=4674;POINT (-39.138409 -3.124316)', '2026-07-10 20:52:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:52:52'::timestamp) - extract(epoch from '2026-07-10 20:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124316)'))) / (select extract(epoch from '2026-07-10 20:52:52'::timestamp) - extract(epoch from '2026-07-10 20:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138405 -3.124318)', '2026-07-10 20:53:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:53:01'::timestamp) - extract(epoch from '2026-07-10 20:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.124316)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:53:01'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47521, 'SRID=4674;POINT (-39.138403 -3.124322)', '2026-07-10 20:53:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:53:08'::timestamp) - extract(epoch from '2026-07-10 20:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:53:08'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124326)', '2026-07-10 20:53:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:53:24'::timestamp) - extract(epoch from '2026-07-10 20:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'))) / (select extract(epoch from '2026-07-10 20:53:24'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124322)', '2026-07-10 20:53:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:53:32'::timestamp) - extract(epoch from '2026-07-10 20:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124326)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124322)'))) / (select extract(epoch from '2026-07-10 20:53:32'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47521, 'SRID=4674;POINT (-39.138402 -3.124318)', '2026-07-10 20:53:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:53:39'::timestamp) - extract(epoch from '2026-07-10 20:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124322)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:53:39'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47521, 'SRID=4674;POINT (-39.138406 -3.124318)', '2026-07-10 20:53:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:53:46'::timestamp) - extract(epoch from '2026-07-10 20:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124318)'))) / (select extract(epoch from '2026-07-10 20:53:46'::timestamp) - extract(epoch from '2026-07-10 20:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138393 -3.124319)', '2026-07-10 20:53:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:53:54'::timestamp) - extract(epoch from '2026-07-10 20:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.124318)'), GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124319)'))) / (select extract(epoch from '2026-07-10 20:53:54'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47521, 'SRID=4674;POINT (-39.138394 -3.124314)', '2026-07-10 20:53:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:53:59'::timestamp) - extract(epoch from '2026-07-10 20:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138393 -3.124319)'), GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:53:59'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47521, 'SRID=4674;POINT (-39.138398 -3.124314)', '2026-07-10 20:54:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:54:08'::timestamp) - extract(epoch from '2026-07-10 20:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138394 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124314)'))) / (select extract(epoch from '2026-07-10 20:54:08'::timestamp) - extract(epoch from '2026-07-10 20:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138397 -3.124311)', '2026-07-10 20:54:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:54:14'::timestamp) - extract(epoch from '2026-07-10 20:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.124314)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:54:14'::timestamp) - extract(epoch from '2026-07-10 20:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138397 -3.124309)', '2026-07-10 20:54:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:54:22'::timestamp) - extract(epoch from '2026-07-10 20:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124309)'))) / (select extract(epoch from '2026-07-10 20:54:22'::timestamp) - extract(epoch from '2026-07-10 20:54: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.124311)', '2026-07-10 20:54:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:54:27'::timestamp) - extract(epoch from '2026-07-10 20:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138397 -3.124309)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124311)'))) / (select extract(epoch from '2026-07-10 20:54:27'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138391 -3.12431)', '2026-07-10 20:54:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:54:37'::timestamp) - extract(epoch from '2026-07-10 20:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124311)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.12431)'))) / (select extract(epoch from '2026-07-10 20:54:37'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47521, 'SRID=4674;POINT (-39.138386 -3.124306)', '2026-07-10 20:54:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:54:45'::timestamp) - extract(epoch from '2026-07-10 20:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.12431)'), GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124306)'))) / (select extract(epoch from '2026-07-10 20:54:45'::timestamp) - extract(epoch from '2026-07-10 20:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138389 -3.124308)', '2026-07-10 20:54:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138389 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:54:56'::timestamp) - extract(epoch from '2026-07-10 20:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138386 -3.124306)'), GeomFromEWKT('SRID=4674;POINT (-39.138389 -3.124308)'))) / (select extract(epoch from '2026-07-10 20:54:56'::timestamp) - extract(epoch from '2026-07-10 20:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47521, 'SRID=4674;POINT (-39.138391 -3.124296)', '2026-07-10 20:55:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138389 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124296)'))) / (select extract(epoch from '2026-07-10 20:55:03'::timestamp) - extract(epoch from '2026-07-10 20:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138389 -3.124308)'), GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124296)'))) / (select extract(epoch from '2026-07-10 20:55:03'::timestamp) - extract(epoch from '2026-07-10 20:54: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'), 47521, 'SRID=4674;POINT (-39.138395 -3.124301)', '2026-07-10 20:55:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124301)'))) / (select extract(epoch from '2026-07-10 20:55:14'::timestamp) - extract(epoch from '2026-07-10 20:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138391 -3.124296)'), GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124301)'))) / (select extract(epoch from '2026-07-10 20:55:14'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.1243)', '2026-07-10 20:55:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124301)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.1243)'))) / (select extract(epoch from '2026-07-10 20:55:21'::timestamp) - extract(epoch from '2026-07-10 20:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138395 -3.124301)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.1243)'))) / (select extract(epoch from '2026-07-10 20:55:21'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47521, 'SRID=4674;POINT (-39.138399 -3.124303)', '2026-07-10 20:55:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.1243)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:55:33'::timestamp) - extract(epoch from '2026-07-10 20:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.1243)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:55:33'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47521, 'SRID=4674;POINT (-39.138403 -3.124304)', '2026-07-10 20:55:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:55:45'::timestamp) - extract(epoch from '2026-07-10 20:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.124303)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:55:45'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47521, 'SRID=4674;POINT (-39.138401 -3.124304)', '2026-07-10 20:55:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:55:53'::timestamp) - extract(epoch from '2026-07-10 20:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124304)'))) / (select extract(epoch from '2026-07-10 20:55:53'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47521, 'SRID=4674;POINT (-39.138396 -3.124303)', '2026-07-10 20:56:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:56:01'::timestamp) - extract(epoch from '2026-07-10 20:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.124304)'), GeomFromEWKT('SRID=4674;POINT (-39.138396 -3.124303)'))) / (select extract(epoch from '2026-07-10 20:56:01'::timestamp) - extract(epoch from '2026-07-10 20:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
