 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766994 -2.635388)', '2026-07-22 15:30:49', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766954 -2.635426)'), GeomFromEWKT('SRID=4674;POINT (-39.766994 -2.635388)'))) / (select extract(epoch from '2026-07-22 15:30:49'::timestamp) - extract(epoch from '2026-07-22 15:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766954 -2.635426)'), GeomFromEWKT('SRID=4674;POINT (-39.766994 -2.635388)'))) / (select extract(epoch from '2026-07-22 15:30:49'::timestamp) - extract(epoch from '2026-07-22 15:30: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'), 47870, 'SRID=4674;POINT (-39.767029 -2.635371)', '2026-07-22 15:30:59', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766994 -2.635388)'), GeomFromEWKT('SRID=4674;POINT (-39.767029 -2.635371)'))) / (select extract(epoch from '2026-07-22 15:30:59'::timestamp) - extract(epoch from '2026-07-22 15:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766994 -2.635388)'), GeomFromEWKT('SRID=4674;POINT (-39.767029 -2.635371)'))) / (select extract(epoch from '2026-07-22 15:30:59'::timestamp) - extract(epoch from '2026-07-22 15:30: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'), 47870, 'SRID=4674;POINT (-39.767085 -2.635337)', '2026-07-22 15:31:12', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767029 -2.635371)'), GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635337)'))) / (select extract(epoch from '2026-07-22 15:31:12'::timestamp) - extract(epoch from '2026-07-22 15:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767029 -2.635371)'), GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635337)'))) / (select extract(epoch from '2026-07-22 15:31:12'::timestamp) - extract(epoch from '2026-07-22 15:30: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'), 47870, 'SRID=4674;POINT (-39.767139 -2.635296)', '2026-07-22 15:31:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635337)'), GeomFromEWKT('SRID=4674;POINT (-39.767139 -2.635296)'))) / (select extract(epoch from '2026-07-22 15:31:21'::timestamp) - extract(epoch from '2026-07-22 15:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635337)'), GeomFromEWKT('SRID=4674;POINT (-39.767139 -2.635296)'))) / (select extract(epoch from '2026-07-22 15:31:21'::timestamp) - extract(epoch from '2026-07-22 15:31: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'), 47870, 'SRID=4674;POINT (-39.7672 -2.635235)', '2026-07-22 15:31:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767139 -2.635296)'), GeomFromEWKT('SRID=4674;POINT (-39.7672 -2.635235)'))) / (select extract(epoch from '2026-07-22 15:31:32'::timestamp) - extract(epoch from '2026-07-22 15:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767139 -2.635296)'), GeomFromEWKT('SRID=4674;POINT (-39.7672 -2.635235)'))) / (select extract(epoch from '2026-07-22 15:31:32'::timestamp) - extract(epoch from '2026-07-22 15:31: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'), 47870, 'SRID=4674;POINT (-39.767221 -2.635179)', '2026-07-22 15:31:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7672 -2.635235)'), GeomFromEWKT('SRID=4674;POINT (-39.767221 -2.635179)'))) / (select extract(epoch from '2026-07-22 15:31:41'::timestamp) - extract(epoch from '2026-07-22 15:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7672 -2.635235)'), GeomFromEWKT('SRID=4674;POINT (-39.767221 -2.635179)'))) / (select extract(epoch from '2026-07-22 15:31:41'::timestamp) - extract(epoch from '2026-07-22 15:31: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'), 47870, 'SRID=4674;POINT (-39.76726 -2.635134)', '2026-07-22 15:31:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767221 -2.635179)'), GeomFromEWKT('SRID=4674;POINT (-39.76726 -2.635134)'))) / (select extract(epoch from '2026-07-22 15:31:52'::timestamp) - extract(epoch from '2026-07-22 15:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767221 -2.635179)'), GeomFromEWKT('SRID=4674;POINT (-39.76726 -2.635134)'))) / (select extract(epoch from '2026-07-22 15:31:52'::timestamp) - extract(epoch from '2026-07-22 15:31: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'), 47870, 'SRID=4674;POINT (-39.76729 -2.63509)', '2026-07-22 15:32:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76726 -2.635134)'), GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.63509)'))) / (select extract(epoch from '2026-07-22 15:32:05'::timestamp) - extract(epoch from '2026-07-22 15:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76726 -2.635134)'), GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.63509)'))) / (select extract(epoch from '2026-07-22 15:32:05'::timestamp) - extract(epoch from '2026-07-22 15:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767315 -2.635066)', '2026-07-22 15:32:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.63509)'), GeomFromEWKT('SRID=4674;POINT (-39.767315 -2.635066)'))) / (select extract(epoch from '2026-07-22 15:32:13'::timestamp) - extract(epoch from '2026-07-22 15:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.63509)'), GeomFromEWKT('SRID=4674;POINT (-39.767315 -2.635066)'))) / (select extract(epoch from '2026-07-22 15:32:13'::timestamp) - extract(epoch from '2026-07-22 15:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767324 -2.635048)', '2026-07-22 15:32:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767315 -2.635066)'), GeomFromEWKT('SRID=4674;POINT (-39.767324 -2.635048)'))) / (select extract(epoch from '2026-07-22 15:32:21'::timestamp) - extract(epoch from '2026-07-22 15:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767315 -2.635066)'), GeomFromEWKT('SRID=4674;POINT (-39.767324 -2.635048)'))) / (select extract(epoch from '2026-07-22 15:32:21'::timestamp) - extract(epoch from '2026-07-22 15:32: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'), 47870, 'SRID=4674;POINT (-39.767336 -2.63503)', '2026-07-22 15:32:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767324 -2.635048)'), GeomFromEWKT('SRID=4674;POINT (-39.767336 -2.63503)'))) / (select extract(epoch from '2026-07-22 15:32:28'::timestamp) - extract(epoch from '2026-07-22 15:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767324 -2.635048)'), GeomFromEWKT('SRID=4674;POINT (-39.767336 -2.63503)'))) / (select extract(epoch from '2026-07-22 15:32:28'::timestamp) - extract(epoch from '2026-07-22 15:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767333 -2.635002)', '2026-07-22 15:32:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767336 -2.63503)'), GeomFromEWKT('SRID=4674;POINT (-39.767333 -2.635002)'))) / (select extract(epoch from '2026-07-22 15:32:35'::timestamp) - extract(epoch from '2026-07-22 15:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767336 -2.63503)'), GeomFromEWKT('SRID=4674;POINT (-39.767333 -2.635002)'))) / (select extract(epoch from '2026-07-22 15:32:35'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76729 -2.635018)', '2026-07-22 15:32:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767333 -2.635002)'), GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.635018)'))) / (select extract(epoch from '2026-07-22 15:32:43'::timestamp) - extract(epoch from '2026-07-22 15:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767333 -2.635002)'), GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.635018)'))) / (select extract(epoch from '2026-07-22 15:32:43'::timestamp) - extract(epoch from '2026-07-22 15:32: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'), 47870, 'SRID=4674;POINT (-39.767174 -2.635046)', '2026-07-22 15:32:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.635018)'), GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635046)'))) / (select extract(epoch from '2026-07-22 15:32:50'::timestamp) - extract(epoch from '2026-07-22 15:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76729 -2.635018)'), GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635046)'))) / (select extract(epoch from '2026-07-22 15:32:50'::timestamp) - extract(epoch from '2026-07-22 15:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767087 -2.635077)', '2026-07-22 15:32:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635046)'), GeomFromEWKT('SRID=4674;POINT (-39.767087 -2.635077)'))) / (select extract(epoch from '2026-07-22 15:32:55'::timestamp) - extract(epoch from '2026-07-22 15:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635046)'), GeomFromEWKT('SRID=4674;POINT (-39.767087 -2.635077)'))) / (select extract(epoch from '2026-07-22 15:32:55'::timestamp) - extract(epoch from '2026-07-22 15:32: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'), 47870, 'SRID=4674;POINT (-39.767009 -2.635127)', '2026-07-22 15:33:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767087 -2.635077)'), GeomFromEWKT('SRID=4674;POINT (-39.767009 -2.635127)'))) / (select extract(epoch from '2026-07-22 15:33:00'::timestamp) - extract(epoch from '2026-07-22 15:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767087 -2.635077)'), GeomFromEWKT('SRID=4674;POINT (-39.767009 -2.635127)'))) / (select extract(epoch from '2026-07-22 15:33:00'::timestamp) - extract(epoch from '2026-07-22 15:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76693 -2.63517)', '2026-07-22 15:33:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767009 -2.635127)'), GeomFromEWKT('SRID=4674;POINT (-39.76693 -2.63517)'))) / (select extract(epoch from '2026-07-22 15:33:05'::timestamp) - extract(epoch from '2026-07-22 15:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767009 -2.635127)'), GeomFromEWKT('SRID=4674;POINT (-39.76693 -2.63517)'))) / (select extract(epoch from '2026-07-22 15:33:05'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.766858 -2.635196)', '2026-07-22 15:33:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76693 -2.63517)'), GeomFromEWKT('SRID=4674;POINT (-39.766858 -2.635196)'))) / (select extract(epoch from '2026-07-22 15:33:11'::timestamp) - extract(epoch from '2026-07-22 15:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76693 -2.63517)'), GeomFromEWKT('SRID=4674;POINT (-39.766858 -2.635196)'))) / (select extract(epoch from '2026-07-22 15:33:11'::timestamp) - extract(epoch from '2026-07-22 15:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766791 -2.635219)', '2026-07-22 15:33:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766858 -2.635196)'), GeomFromEWKT('SRID=4674;POINT (-39.766791 -2.635219)'))) / (select extract(epoch from '2026-07-22 15:33:16'::timestamp) - extract(epoch from '2026-07-22 15:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766858 -2.635196)'), GeomFromEWKT('SRID=4674;POINT (-39.766791 -2.635219)'))) / (select extract(epoch from '2026-07-22 15:33:16'::timestamp) - extract(epoch from '2026-07-22 15:33: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'), 47870, 'SRID=4674;POINT (-39.766705 -2.635258)', '2026-07-22 15:33:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766791 -2.635219)'), GeomFromEWKT('SRID=4674;POINT (-39.766705 -2.635258)'))) / (select extract(epoch from '2026-07-22 15:33:22'::timestamp) - extract(epoch from '2026-07-22 15:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766791 -2.635219)'), GeomFromEWKT('SRID=4674;POINT (-39.766705 -2.635258)'))) / (select extract(epoch from '2026-07-22 15:33:22'::timestamp) - extract(epoch from '2026-07-22 15:33: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'), 47870, 'SRID=4674;POINT (-39.76665 -2.635295)', '2026-07-22 15:33:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766705 -2.635258)'), GeomFromEWKT('SRID=4674;POINT (-39.76665 -2.635295)'))) / (select extract(epoch from '2026-07-22 15:33:27'::timestamp) - extract(epoch from '2026-07-22 15:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766705 -2.635258)'), GeomFromEWKT('SRID=4674;POINT (-39.76665 -2.635295)'))) / (select extract(epoch from '2026-07-22 15:33:27'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.766624 -2.635312)', '2026-07-22 15:33:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76665 -2.635295)'), GeomFromEWKT('SRID=4674;POINT (-39.766624 -2.635312)'))) / (select extract(epoch from '2026-07-22 15:33:29'::timestamp) - extract(epoch from '2026-07-22 15:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76665 -2.635295)'), GeomFromEWKT('SRID=4674;POINT (-39.766624 -2.635312)'))) / (select extract(epoch from '2026-07-22 15:33:29'::timestamp) - extract(epoch from '2026-07-22 15:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766561 -2.635375)', '2026-07-22 15:33:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766624 -2.635312)'), GeomFromEWKT('SRID=4674;POINT (-39.766561 -2.635375)'))) / (select extract(epoch from '2026-07-22 15:33:34'::timestamp) - extract(epoch from '2026-07-22 15:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766624 -2.635312)'), GeomFromEWKT('SRID=4674;POINT (-39.766561 -2.635375)'))) / (select extract(epoch from '2026-07-22 15:33:34'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.766486 -2.635422)', '2026-07-22 15:33:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766561 -2.635375)'), GeomFromEWKT('SRID=4674;POINT (-39.766486 -2.635422)'))) / (select extract(epoch from '2026-07-22 15:33:39'::timestamp) - extract(epoch from '2026-07-22 15:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766561 -2.635375)'), GeomFromEWKT('SRID=4674;POINT (-39.766486 -2.635422)'))) / (select extract(epoch from '2026-07-22 15:33:39'::timestamp) - extract(epoch from '2026-07-22 15:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766388 -2.635488)', '2026-07-22 15:33:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766486 -2.635422)'), GeomFromEWKT('SRID=4674;POINT (-39.766388 -2.635488)'))) / (select extract(epoch from '2026-07-22 15:33:45'::timestamp) - extract(epoch from '2026-07-22 15:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766486 -2.635422)'), GeomFromEWKT('SRID=4674;POINT (-39.766388 -2.635488)'))) / (select extract(epoch from '2026-07-22 15:33:45'::timestamp) - extract(epoch from '2026-07-22 15:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76624 -2.635544)', '2026-07-22 15:33:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766388 -2.635488)'), GeomFromEWKT('SRID=4674;POINT (-39.76624 -2.635544)'))) / (select extract(epoch from '2026-07-22 15:33:52'::timestamp) - extract(epoch from '2026-07-22 15:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766388 -2.635488)'), GeomFromEWKT('SRID=4674;POINT (-39.76624 -2.635544)'))) / (select extract(epoch from '2026-07-22 15:33:52'::timestamp) - extract(epoch from '2026-07-22 15:33: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'), 47870, 'SRID=4674;POINT (-39.766151 -2.635573)', '2026-07-22 15:33:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76624 -2.635544)'), GeomFromEWKT('SRID=4674;POINT (-39.766151 -2.635573)'))) / (select extract(epoch from '2026-07-22 15:33:57'::timestamp) - extract(epoch from '2026-07-22 15:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76624 -2.635544)'), GeomFromEWKT('SRID=4674;POINT (-39.766151 -2.635573)'))) / (select extract(epoch from '2026-07-22 15:33:57'::timestamp) - extract(epoch from '2026-07-22 15:33: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'), 47870, 'SRID=4674;POINT (-39.766011 -2.635606)', '2026-07-22 15:34:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766151 -2.635573)'), GeomFromEWKT('SRID=4674;POINT (-39.766011 -2.635606)'))) / (select extract(epoch from '2026-07-22 15:34:04'::timestamp) - extract(epoch from '2026-07-22 15:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766151 -2.635573)'), GeomFromEWKT('SRID=4674;POINT (-39.766011 -2.635606)'))) / (select extract(epoch from '2026-07-22 15:34:04'::timestamp) - extract(epoch from '2026-07-22 15:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765901 -2.635628)', '2026-07-22 15:34:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766011 -2.635606)'), GeomFromEWKT('SRID=4674;POINT (-39.765901 -2.635628)'))) / (select extract(epoch from '2026-07-22 15:34:10'::timestamp) - extract(epoch from '2026-07-22 15:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766011 -2.635606)'), GeomFromEWKT('SRID=4674;POINT (-39.765901 -2.635628)'))) / (select extract(epoch from '2026-07-22 15:34:10'::timestamp) - extract(epoch from '2026-07-22 15:34: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'), 47870, 'SRID=4674;POINT (-39.765793 -2.635689)', '2026-07-22 15:34:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765901 -2.635628)'), GeomFromEWKT('SRID=4674;POINT (-39.765793 -2.635689)'))) / (select extract(epoch from '2026-07-22 15:34:17'::timestamp) - extract(epoch from '2026-07-22 15:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765901 -2.635628)'), GeomFromEWKT('SRID=4674;POINT (-39.765793 -2.635689)'))) / (select extract(epoch from '2026-07-22 15:34:17'::timestamp) - extract(epoch from '2026-07-22 15:34: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'), 47870, 'SRID=4674;POINT (-39.765731 -2.635746)', '2026-07-22 15:34:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765793 -2.635689)'), GeomFromEWKT('SRID=4674;POINT (-39.765731 -2.635746)'))) / (select extract(epoch from '2026-07-22 15:34:23'::timestamp) - extract(epoch from '2026-07-22 15:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765793 -2.635689)'), GeomFromEWKT('SRID=4674;POINT (-39.765731 -2.635746)'))) / (select extract(epoch from '2026-07-22 15:34:23'::timestamp) - extract(epoch from '2026-07-22 15:34: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'), 47870, 'SRID=4674;POINT (-39.765703 -2.635769)', '2026-07-22 15:34:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765731 -2.635746)'), GeomFromEWKT('SRID=4674;POINT (-39.765703 -2.635769)'))) / (select extract(epoch from '2026-07-22 15:34:28'::timestamp) - extract(epoch from '2026-07-22 15:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765731 -2.635746)'), GeomFromEWKT('SRID=4674;POINT (-39.765703 -2.635769)'))) / (select extract(epoch from '2026-07-22 15:34:28'::timestamp) - extract(epoch from '2026-07-22 15:34: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'), 47870, 'SRID=4674;POINT (-39.765691 -2.635781)', '2026-07-22 15:34:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765703 -2.635769)'), GeomFromEWKT('SRID=4674;POINT (-39.765691 -2.635781)'))) / (select extract(epoch from '2026-07-22 15:34:34'::timestamp) - extract(epoch from '2026-07-22 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765703 -2.635769)'), GeomFromEWKT('SRID=4674;POINT (-39.765691 -2.635781)'))) / (select extract(epoch from '2026-07-22 15:34:34'::timestamp) - extract(epoch from '2026-07-22 15:34: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'), 47870, 'SRID=4674;POINT (-39.765673 -2.635784)', '2026-07-22 15:34:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765691 -2.635781)'), GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635784)'))) / (select extract(epoch from '2026-07-22 15:34:42'::timestamp) - extract(epoch from '2026-07-22 15:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765691 -2.635781)'), GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635784)'))) / (select extract(epoch from '2026-07-22 15:34:42'::timestamp) - extract(epoch from '2026-07-22 15:34: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'), 47870, 'SRID=4674;POINT (-39.765661 -2.635744)', '2026-07-22 15:34:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635784)'), GeomFromEWKT('SRID=4674;POINT (-39.765661 -2.635744)'))) / (select extract(epoch from '2026-07-22 15:34:54'::timestamp) - extract(epoch from '2026-07-22 15:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635784)'), GeomFromEWKT('SRID=4674;POINT (-39.765661 -2.635744)'))) / (select extract(epoch from '2026-07-22 15:34:54'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.765689 -2.635708)', '2026-07-22 15:35:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765661 -2.635744)'), GeomFromEWKT('SRID=4674;POINT (-39.765689 -2.635708)'))) / (select extract(epoch from '2026-07-22 15:35:01'::timestamp) - extract(epoch from '2026-07-22 15:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765661 -2.635744)'), GeomFromEWKT('SRID=4674;POINT (-39.765689 -2.635708)'))) / (select extract(epoch from '2026-07-22 15:35:01'::timestamp) - extract(epoch from '2026-07-22 15:34: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'), 47870, 'SRID=4674;POINT (-39.765698 -2.635684)', '2026-07-22 15:35:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765689 -2.635708)'), GeomFromEWKT('SRID=4674;POINT (-39.765698 -2.635684)'))) / (select extract(epoch from '2026-07-22 15:35:05'::timestamp) - extract(epoch from '2026-07-22 15:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765689 -2.635708)'), GeomFromEWKT('SRID=4674;POINT (-39.765698 -2.635684)'))) / (select extract(epoch from '2026-07-22 15:35:05'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.765717 -2.635672)', '2026-07-22 15:35:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765698 -2.635684)'), GeomFromEWKT('SRID=4674;POINT (-39.765717 -2.635672)'))) / (select extract(epoch from '2026-07-22 15:35:07'::timestamp) - extract(epoch from '2026-07-22 15:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765698 -2.635684)'), GeomFromEWKT('SRID=4674;POINT (-39.765717 -2.635672)'))) / (select extract(epoch from '2026-07-22 15:35:07'::timestamp) - extract(epoch from '2026-07-22 15:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765734 -2.635639)', '2026-07-22 15:35:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765717 -2.635672)'), GeomFromEWKT('SRID=4674;POINT (-39.765734 -2.635639)'))) / (select extract(epoch from '2026-07-22 15:35:12'::timestamp) - extract(epoch from '2026-07-22 15:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765717 -2.635672)'), GeomFromEWKT('SRID=4674;POINT (-39.765734 -2.635639)'))) / (select extract(epoch from '2026-07-22 15:35:12'::timestamp) - extract(epoch from '2026-07-22 15:35: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'), 47870, 'SRID=4674;POINT (-39.765795 -2.635586)', '2026-07-22 15:35:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765734 -2.635639)'), GeomFromEWKT('SRID=4674;POINT (-39.765795 -2.635586)'))) / (select extract(epoch from '2026-07-22 15:35:23'::timestamp) - extract(epoch from '2026-07-22 15:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765734 -2.635639)'), GeomFromEWKT('SRID=4674;POINT (-39.765795 -2.635586)'))) / (select extract(epoch from '2026-07-22 15:35:23'::timestamp) - extract(epoch from '2026-07-22 15:35: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'), 47870, 'SRID=4674;POINT (-39.765811 -2.635559)', '2026-07-22 15:35:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765795 -2.635586)'), GeomFromEWKT('SRID=4674;POINT (-39.765811 -2.635559)'))) / (select extract(epoch from '2026-07-22 15:35:30'::timestamp) - extract(epoch from '2026-07-22 15:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765795 -2.635586)'), GeomFromEWKT('SRID=4674;POINT (-39.765811 -2.635559)'))) / (select extract(epoch from '2026-07-22 15:35:30'::timestamp) - extract(epoch from '2026-07-22 15:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765835 -2.635509)', '2026-07-22 15:35:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765811 -2.635559)'), GeomFromEWKT('SRID=4674;POINT (-39.765835 -2.635509)'))) / (select extract(epoch from '2026-07-22 15:35:58'::timestamp) - extract(epoch from '2026-07-22 15:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765811 -2.635559)'), GeomFromEWKT('SRID=4674;POINT (-39.765835 -2.635509)'))) / (select extract(epoch from '2026-07-22 15:35:58'::timestamp) - extract(epoch from '2026-07-22 15:35: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'), 47870, 'SRID=4674;POINT (-39.765846 -2.635473)', '2026-07-22 15:36:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765835 -2.635509)'), GeomFromEWKT('SRID=4674;POINT (-39.765846 -2.635473)'))) / (select extract(epoch from '2026-07-22 15:36:05'::timestamp) - extract(epoch from '2026-07-22 15:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765835 -2.635509)'), GeomFromEWKT('SRID=4674;POINT (-39.765846 -2.635473)'))) / (select extract(epoch from '2026-07-22 15:36:05'::timestamp) - extract(epoch from '2026-07-22 15:35: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'), 47870, 'SRID=4674;POINT (-39.765865 -2.635438)', '2026-07-22 15:36:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765846 -2.635473)'), GeomFromEWKT('SRID=4674;POINT (-39.765865 -2.635438)'))) / (select extract(epoch from '2026-07-22 15:36:12'::timestamp) - extract(epoch from '2026-07-22 15:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765846 -2.635473)'), GeomFromEWKT('SRID=4674;POINT (-39.765865 -2.635438)'))) / (select extract(epoch from '2026-07-22 15:36:12'::timestamp) - extract(epoch from '2026-07-22 15:36: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'), 47870, 'SRID=4674;POINT (-39.765907 -2.635395)', '2026-07-22 15:36:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765865 -2.635438)'), GeomFromEWKT('SRID=4674;POINT (-39.765907 -2.635395)'))) / (select extract(epoch from '2026-07-22 15:36:24'::timestamp) - extract(epoch from '2026-07-22 15:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765865 -2.635438)'), GeomFromEWKT('SRID=4674;POINT (-39.765907 -2.635395)'))) / (select extract(epoch from '2026-07-22 15:36:24'::timestamp) - extract(epoch from '2026-07-22 15:36: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'), 47870, 'SRID=4674;POINT (-39.765903 -2.635387)', '2026-07-22 15:36:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765907 -2.635395)'), GeomFromEWKT('SRID=4674;POINT (-39.765903 -2.635387)'))) / (select extract(epoch from '2026-07-22 15:36:36'::timestamp) - extract(epoch from '2026-07-22 15:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765907 -2.635395)'), GeomFromEWKT('SRID=4674;POINT (-39.765903 -2.635387)'))) / (select extract(epoch from '2026-07-22 15:36:36'::timestamp) - extract(epoch from '2026-07-22 15:36: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'), 47870, 'SRID=4674;POINT (-39.765934 -2.635364)', '2026-07-22 15:37:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765903 -2.635387)'), GeomFromEWKT('SRID=4674;POINT (-39.765934 -2.635364)'))) / (select extract(epoch from '2026-07-22 15:37:08'::timestamp) - extract(epoch from '2026-07-22 15:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765903 -2.635387)'), GeomFromEWKT('SRID=4674;POINT (-39.765934 -2.635364)'))) / (select extract(epoch from '2026-07-22 15:37:08'::timestamp) - extract(epoch from '2026-07-22 15:36: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'), 47870, 'SRID=4674;POINT (-39.765921 -2.635364)', '2026-07-22 15:37:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765934 -2.635364)'), GeomFromEWKT('SRID=4674;POINT (-39.765921 -2.635364)'))) / (select extract(epoch from '2026-07-22 15:37:25'::timestamp) - extract(epoch from '2026-07-22 15:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765934 -2.635364)'), GeomFromEWKT('SRID=4674;POINT (-39.765921 -2.635364)'))) / (select extract(epoch from '2026-07-22 15:37:25'::timestamp) - extract(epoch from '2026-07-22 15:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765897 -2.635368)', '2026-07-22 15:37:33', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765921 -2.635364)'), GeomFromEWKT('SRID=4674;POINT (-39.765897 -2.635368)'))) / (select extract(epoch from '2026-07-22 15:37:33'::timestamp) - extract(epoch from '2026-07-22 15:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765921 -2.635364)'), GeomFromEWKT('SRID=4674;POINT (-39.765897 -2.635368)'))) / (select extract(epoch from '2026-07-22 15:37:33'::timestamp) - extract(epoch from '2026-07-22 15:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765886 -2.635343)', '2026-07-22 15:38:02', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765897 -2.635368)'), GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635343)'))) / (select extract(epoch from '2026-07-22 15:38:02'::timestamp) - extract(epoch from '2026-07-22 15:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765897 -2.635368)'), GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635343)'))) / (select extract(epoch from '2026-07-22 15:38:02'::timestamp) - extract(epoch from '2026-07-22 15:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765895 -2.635341)', '2026-07-22 15:38:13', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635343)'), GeomFromEWKT('SRID=4674;POINT (-39.765895 -2.635341)'))) / (select extract(epoch from '2026-07-22 15:38:13'::timestamp) - extract(epoch from '2026-07-22 15:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635343)'), GeomFromEWKT('SRID=4674;POINT (-39.765895 -2.635341)'))) / (select extract(epoch from '2026-07-22 15:38:13'::timestamp) - extract(epoch from '2026-07-22 15:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76591 -2.635336)', '2026-07-22 15:38:32', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765895 -2.635341)'), GeomFromEWKT('SRID=4674;POINT (-39.76591 -2.635336)'))) / (select extract(epoch from '2026-07-22 15:38:32'::timestamp) - extract(epoch from '2026-07-22 15:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765895 -2.635341)'), GeomFromEWKT('SRID=4674;POINT (-39.76591 -2.635336)'))) / (select extract(epoch from '2026-07-22 15:38:32'::timestamp) - extract(epoch from '2026-07-22 15:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76593 -2.635334)', '2026-07-22 15:38:39', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76591 -2.635336)'), GeomFromEWKT('SRID=4674;POINT (-39.76593 -2.635334)'))) / (select extract(epoch from '2026-07-22 15:38:39'::timestamp) - extract(epoch from '2026-07-22 15:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76591 -2.635336)'), GeomFromEWKT('SRID=4674;POINT (-39.76593 -2.635334)'))) / (select extract(epoch from '2026-07-22 15:38:39'::timestamp) - extract(epoch from '2026-07-22 15:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765916 -2.635303)', '2026-07-22 15:39:29', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76593 -2.635334)'), GeomFromEWKT('SRID=4674;POINT (-39.765916 -2.635303)'))) / (select extract(epoch from '2026-07-22 15:39:29'::timestamp) - extract(epoch from '2026-07-22 15:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76593 -2.635334)'), GeomFromEWKT('SRID=4674;POINT (-39.765916 -2.635303)'))) / (select extract(epoch from '2026-07-22 15:39:29'::timestamp) - extract(epoch from '2026-07-22 15:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765922 -2.635283)', '2026-07-22 15:39:35', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765916 -2.635303)'), GeomFromEWKT('SRID=4674;POINT (-39.765922 -2.635283)'))) / (select extract(epoch from '2026-07-22 15:39:35'::timestamp) - extract(epoch from '2026-07-22 15:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765916 -2.635303)'), GeomFromEWKT('SRID=4674;POINT (-39.765922 -2.635283)'))) / (select extract(epoch from '2026-07-22 15:39:35'::timestamp) - extract(epoch from '2026-07-22 15:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76594 -2.635256)', '2026-07-22 15:39:41', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765922 -2.635283)'), GeomFromEWKT('SRID=4674;POINT (-39.76594 -2.635256)'))) / (select extract(epoch from '2026-07-22 15:39:41'::timestamp) - extract(epoch from '2026-07-22 15:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765922 -2.635283)'), GeomFromEWKT('SRID=4674;POINT (-39.76594 -2.635256)'))) / (select extract(epoch from '2026-07-22 15:39:41'::timestamp) - extract(epoch from '2026-07-22 15:39: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'), 47870, 'SRID=4674;POINT (-39.765948 -2.635251)', '2026-07-22 15:39:42', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76594 -2.635256)'), GeomFromEWKT('SRID=4674;POINT (-39.765948 -2.635251)'))) / (select extract(epoch from '2026-07-22 15:39:42'::timestamp) - extract(epoch from '2026-07-22 15:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76594 -2.635256)'), GeomFromEWKT('SRID=4674;POINT (-39.765948 -2.635251)'))) / (select extract(epoch from '2026-07-22 15:39:42'::timestamp) - extract(epoch from '2026-07-22 15:39: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'), 47870, 'SRID=4674;POINT (-39.765959 -2.63523)', '2026-07-22 15:39:48', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765948 -2.635251)'), GeomFromEWKT('SRID=4674;POINT (-39.765959 -2.63523)'))) / (select extract(epoch from '2026-07-22 15:39:48'::timestamp) - extract(epoch from '2026-07-22 15:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765948 -2.635251)'), GeomFromEWKT('SRID=4674;POINT (-39.765959 -2.63523)'))) / (select extract(epoch from '2026-07-22 15:39:48'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.765967 -2.635198)', '2026-07-22 15:39:55', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765959 -2.63523)'), GeomFromEWKT('SRID=4674;POINT (-39.765967 -2.635198)'))) / (select extract(epoch from '2026-07-22 15:39:55'::timestamp) - extract(epoch from '2026-07-22 15:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765959 -2.63523)'), GeomFromEWKT('SRID=4674;POINT (-39.765967 -2.635198)'))) / (select extract(epoch from '2026-07-22 15:39:55'::timestamp) - extract(epoch from '2026-07-22 15:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765985 -2.63522)', '2026-07-22 15:40:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765967 -2.635198)'), GeomFromEWKT('SRID=4674;POINT (-39.765985 -2.63522)'))) / (select extract(epoch from '2026-07-22 15:40:19'::timestamp) - extract(epoch from '2026-07-22 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765967 -2.635198)'), GeomFromEWKT('SRID=4674;POINT (-39.765985 -2.63522)'))) / (select extract(epoch from '2026-07-22 15:40:19'::timestamp) - extract(epoch from '2026-07-22 15:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765964 -2.635228)', '2026-07-22 15:40:28', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765985 -2.63522)'), GeomFromEWKT('SRID=4674;POINT (-39.765964 -2.635228)'))) / (select extract(epoch from '2026-07-22 15:40:28'::timestamp) - extract(epoch from '2026-07-22 15:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765985 -2.63522)'), GeomFromEWKT('SRID=4674;POINT (-39.765964 -2.635228)'))) / (select extract(epoch from '2026-07-22 15:40:28'::timestamp) - extract(epoch from '2026-07-22 15:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765945 -2.635244)', '2026-07-22 15:40:37', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765964 -2.635228)'), GeomFromEWKT('SRID=4674;POINT (-39.765945 -2.635244)'))) / (select extract(epoch from '2026-07-22 15:40:37'::timestamp) - extract(epoch from '2026-07-22 15:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765964 -2.635228)'), GeomFromEWKT('SRID=4674;POINT (-39.765945 -2.635244)'))) / (select extract(epoch from '2026-07-22 15:40:37'::timestamp) - extract(epoch from '2026-07-22 15:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765918 -2.635271)', '2026-07-22 15:40:42', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765945 -2.635244)'), GeomFromEWKT('SRID=4674;POINT (-39.765918 -2.635271)'))) / (select extract(epoch from '2026-07-22 15:40:42'::timestamp) - extract(epoch from '2026-07-22 15:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765945 -2.635244)'), GeomFromEWKT('SRID=4674;POINT (-39.765918 -2.635271)'))) / (select extract(epoch from '2026-07-22 15:40:42'::timestamp) - extract(epoch from '2026-07-22 15:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765896 -2.635302)', '2026-07-22 15:40:49', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765918 -2.635271)'), GeomFromEWKT('SRID=4674;POINT (-39.765896 -2.635302)'))) / (select extract(epoch from '2026-07-22 15:40:49'::timestamp) - extract(epoch from '2026-07-22 15:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765918 -2.635271)'), GeomFromEWKT('SRID=4674;POINT (-39.765896 -2.635302)'))) / (select extract(epoch from '2026-07-22 15:40:49'::timestamp) - extract(epoch from '2026-07-22 15:40: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'), 47870, 'SRID=4674;POINT (-39.765874 -2.635343)', '2026-07-22 15:40:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765896 -2.635302)'), GeomFromEWKT('SRID=4674;POINT (-39.765874 -2.635343)'))) / (select extract(epoch from '2026-07-22 15:40:58'::timestamp) - extract(epoch from '2026-07-22 15:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765896 -2.635302)'), GeomFromEWKT('SRID=4674;POINT (-39.765874 -2.635343)'))) / (select extract(epoch from '2026-07-22 15:40:58'::timestamp) - extract(epoch from '2026-07-22 15:40: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'), 47870, 'SRID=4674;POINT (-39.765886 -2.635363)', '2026-07-22 15:41:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765874 -2.635343)'), GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635363)'))) / (select extract(epoch from '2026-07-22 15:41:04'::timestamp) - extract(epoch from '2026-07-22 15:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765874 -2.635343)'), GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635363)'))) / (select extract(epoch from '2026-07-22 15:41:04'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.765891 -2.63537)', '2026-07-22 15:41:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635363)'), GeomFromEWKT('SRID=4674;POINT (-39.765891 -2.63537)'))) / (select extract(epoch from '2026-07-22 15:41:16'::timestamp) - extract(epoch from '2026-07-22 15:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765886 -2.635363)'), GeomFromEWKT('SRID=4674;POINT (-39.765891 -2.63537)'))) / (select extract(epoch from '2026-07-22 15:41:16'::timestamp) - extract(epoch from '2026-07-22 15:41: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'), 47870, 'SRID=4674;POINT (-39.765966 -2.635316)', '2026-07-22 15:41:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765891 -2.63537)'), GeomFromEWKT('SRID=4674;POINT (-39.765966 -2.635316)'))) / (select extract(epoch from '2026-07-22 15:41:30'::timestamp) - extract(epoch from '2026-07-22 15:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765891 -2.63537)'), GeomFromEWKT('SRID=4674;POINT (-39.765966 -2.635316)'))) / (select extract(epoch from '2026-07-22 15:41:30'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.766034 -2.635302)', '2026-07-22 15:41:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765966 -2.635316)'), GeomFromEWKT('SRID=4674;POINT (-39.766034 -2.635302)'))) / (select extract(epoch from '2026-07-22 15:41:40'::timestamp) - extract(epoch from '2026-07-22 15:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765966 -2.635316)'), GeomFromEWKT('SRID=4674;POINT (-39.766034 -2.635302)'))) / (select extract(epoch from '2026-07-22 15:41:40'::timestamp) - extract(epoch from '2026-07-22 15:41: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'), 47870, 'SRID=4674;POINT (-39.766039 -2.635307)', '2026-07-22 15:41:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766034 -2.635302)'), GeomFromEWKT('SRID=4674;POINT (-39.766039 -2.635307)'))) / (select extract(epoch from '2026-07-22 15:41:41'::timestamp) - extract(epoch from '2026-07-22 15:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766034 -2.635302)'), GeomFromEWKT('SRID=4674;POINT (-39.766039 -2.635307)'))) / (select extract(epoch from '2026-07-22 15:41:41'::timestamp) - extract(epoch from '2026-07-22 15:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766042 -2.635348)', '2026-07-22 15:41:46', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766039 -2.635307)'), GeomFromEWKT('SRID=4674;POINT (-39.766042 -2.635348)'))) / (select extract(epoch from '2026-07-22 15:41:46'::timestamp) - extract(epoch from '2026-07-22 15:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766039 -2.635307)'), GeomFromEWKT('SRID=4674;POINT (-39.766042 -2.635348)'))) / (select extract(epoch from '2026-07-22 15:41:46'::timestamp) - extract(epoch from '2026-07-22 15:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766004 -2.635413)', '2026-07-22 15:41:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766042 -2.635348)'), GeomFromEWKT('SRID=4674;POINT (-39.766004 -2.635413)'))) / (select extract(epoch from '2026-07-22 15:41:54'::timestamp) - extract(epoch from '2026-07-22 15:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766042 -2.635348)'), GeomFromEWKT('SRID=4674;POINT (-39.766004 -2.635413)'))) / (select extract(epoch from '2026-07-22 15:41:54'::timestamp) - extract(epoch from '2026-07-22 15:41: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'), 47870, 'SRID=4674;POINT (-39.765952 -2.635459)', '2026-07-22 15:42:00', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766004 -2.635413)'), GeomFromEWKT('SRID=4674;POINT (-39.765952 -2.635459)'))) / (select extract(epoch from '2026-07-22 15:42:00'::timestamp) - extract(epoch from '2026-07-22 15:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766004 -2.635413)'), GeomFromEWKT('SRID=4674;POINT (-39.765952 -2.635459)'))) / (select extract(epoch from '2026-07-22 15:42:00'::timestamp) - extract(epoch from '2026-07-22 15:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765855 -2.63553)', '2026-07-22 15:42:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765952 -2.635459)'), GeomFromEWKT('SRID=4674;POINT (-39.765855 -2.63553)'))) / (select extract(epoch from '2026-07-22 15:42:07'::timestamp) - extract(epoch from '2026-07-22 15:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765952 -2.635459)'), GeomFromEWKT('SRID=4674;POINT (-39.765855 -2.63553)'))) / (select extract(epoch from '2026-07-22 15:42:07'::timestamp) - extract(epoch from '2026-07-22 15:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765782 -2.63558)', '2026-07-22 15:42:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765855 -2.63553)'), GeomFromEWKT('SRID=4674;POINT (-39.765782 -2.63558)'))) / (select extract(epoch from '2026-07-22 15:42:13'::timestamp) - extract(epoch from '2026-07-22 15:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765855 -2.63553)'), GeomFromEWKT('SRID=4674;POINT (-39.765782 -2.63558)'))) / (select extract(epoch from '2026-07-22 15:42:13'::timestamp) - extract(epoch from '2026-07-22 15:42: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'), 47870, 'SRID=4674;POINT (-39.765775 -2.63559)', '2026-07-22 15:42:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765782 -2.63558)'), GeomFromEWKT('SRID=4674;POINT (-39.765775 -2.63559)'))) / (select extract(epoch from '2026-07-22 15:42:14'::timestamp) - extract(epoch from '2026-07-22 15:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765782 -2.63558)'), GeomFromEWKT('SRID=4674;POINT (-39.765775 -2.63559)'))) / (select extract(epoch from '2026-07-22 15:42:14'::timestamp) - extract(epoch from '2026-07-22 15:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76574 -2.635619)', '2026-07-22 15:42:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765775 -2.63559)'), GeomFromEWKT('SRID=4674;POINT (-39.76574 -2.635619)'))) / (select extract(epoch from '2026-07-22 15:42:18'::timestamp) - extract(epoch from '2026-07-22 15:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765775 -2.63559)'), GeomFromEWKT('SRID=4674;POINT (-39.76574 -2.635619)'))) / (select extract(epoch from '2026-07-22 15:42:18'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.765673 -2.635685)', '2026-07-22 15:42:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76574 -2.635619)'), GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635685)'))) / (select extract(epoch from '2026-07-22 15:42:24'::timestamp) - extract(epoch from '2026-07-22 15:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76574 -2.635619)'), GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635685)'))) / (select extract(epoch from '2026-07-22 15:42:24'::timestamp) - extract(epoch from '2026-07-22 15:42: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'), 47870, 'SRID=4674;POINT (-39.765576 -2.635735)', '2026-07-22 15:42:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635685)'), GeomFromEWKT('SRID=4674;POINT (-39.765576 -2.635735)'))) / (select extract(epoch from '2026-07-22 15:42:30'::timestamp) - extract(epoch from '2026-07-22 15:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765673 -2.635685)'), GeomFromEWKT('SRID=4674;POINT (-39.765576 -2.635735)'))) / (select extract(epoch from '2026-07-22 15:42:30'::timestamp) - extract(epoch from '2026-07-22 15:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765462 -2.63576)', '2026-07-22 15:42:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765576 -2.635735)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.63576)'))) / (select extract(epoch from '2026-07-22 15:42:36'::timestamp) - extract(epoch from '2026-07-22 15:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765576 -2.635735)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.63576)'))) / (select extract(epoch from '2026-07-22 15:42:36'::timestamp) - extract(epoch from '2026-07-22 15:42: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'), 47870, 'SRID=4674;POINT (-39.76533 -2.635771)', '2026-07-22 15:42:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.63576)'), GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.635771)'))) / (select extract(epoch from '2026-07-22 15:42:43'::timestamp) - extract(epoch from '2026-07-22 15:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.63576)'), GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.635771)'))) / (select extract(epoch from '2026-07-22 15:42:43'::timestamp) - extract(epoch from '2026-07-22 15:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765193 -2.635782)', '2026-07-22 15:42:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.635771)'), GeomFromEWKT('SRID=4674;POINT (-39.765193 -2.635782)'))) / (select extract(epoch from '2026-07-22 15:42:51'::timestamp) - extract(epoch from '2026-07-22 15:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.635771)'), GeomFromEWKT('SRID=4674;POINT (-39.765193 -2.635782)'))) / (select extract(epoch from '2026-07-22 15:42:51'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.765132 -2.635807)', '2026-07-22 15:42:56', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765193 -2.635782)'), GeomFromEWKT('SRID=4674;POINT (-39.765132 -2.635807)'))) / (select extract(epoch from '2026-07-22 15:42:56'::timestamp) - extract(epoch from '2026-07-22 15:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765193 -2.635782)'), GeomFromEWKT('SRID=4674;POINT (-39.765132 -2.635807)'))) / (select extract(epoch from '2026-07-22 15:42:56'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76507 -2.635841)', '2026-07-22 15:43:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765132 -2.635807)'), GeomFromEWKT('SRID=4674;POINT (-39.76507 -2.635841)'))) / (select extract(epoch from '2026-07-22 15:43:01'::timestamp) - extract(epoch from '2026-07-22 15:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765132 -2.635807)'), GeomFromEWKT('SRID=4674;POINT (-39.76507 -2.635841)'))) / (select extract(epoch from '2026-07-22 15:43:01'::timestamp) - extract(epoch from '2026-07-22 15:42: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'), 47870, 'SRID=4674;POINT (-39.764985 -2.63587)', '2026-07-22 15:43:07', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76507 -2.635841)'), GeomFromEWKT('SRID=4674;POINT (-39.764985 -2.63587)'))) / (select extract(epoch from '2026-07-22 15:43:07'::timestamp) - extract(epoch from '2026-07-22 15:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76507 -2.635841)'), GeomFromEWKT('SRID=4674;POINT (-39.764985 -2.63587)'))) / (select extract(epoch from '2026-07-22 15:43:07'::timestamp) - extract(epoch from '2026-07-22 15:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764915 -2.635891)', '2026-07-22 15:43:12', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764985 -2.63587)'), GeomFromEWKT('SRID=4674;POINT (-39.764915 -2.635891)'))) / (select extract(epoch from '2026-07-22 15:43:12'::timestamp) - extract(epoch from '2026-07-22 15:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764985 -2.63587)'), GeomFromEWKT('SRID=4674;POINT (-39.764915 -2.635891)'))) / (select extract(epoch from '2026-07-22 15:43:12'::timestamp) - extract(epoch from '2026-07-22 15:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764801 -2.635906)', '2026-07-22 15:43:19', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764915 -2.635891)'), GeomFromEWKT('SRID=4674;POINT (-39.764801 -2.635906)'))) / (select extract(epoch from '2026-07-22 15:43:19'::timestamp) - extract(epoch from '2026-07-22 15:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764915 -2.635891)'), GeomFromEWKT('SRID=4674;POINT (-39.764801 -2.635906)'))) / (select extract(epoch from '2026-07-22 15:43:19'::timestamp) - extract(epoch from '2026-07-22 15:43: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'), 47870, 'SRID=4674;POINT (-39.764686 -2.635931)', '2026-07-22 15:43:26', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764801 -2.635906)'), GeomFromEWKT('SRID=4674;POINT (-39.764686 -2.635931)'))) / (select extract(epoch from '2026-07-22 15:43:26'::timestamp) - extract(epoch from '2026-07-22 15:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764801 -2.635906)'), GeomFromEWKT('SRID=4674;POINT (-39.764686 -2.635931)'))) / (select extract(epoch from '2026-07-22 15:43:26'::timestamp) - extract(epoch from '2026-07-22 15:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764589 -2.635933)', '2026-07-22 15:43:32', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764686 -2.635931)'), GeomFromEWKT('SRID=4674;POINT (-39.764589 -2.635933)'))) / (select extract(epoch from '2026-07-22 15:43:32'::timestamp) - extract(epoch from '2026-07-22 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764686 -2.635931)'), GeomFromEWKT('SRID=4674;POINT (-39.764589 -2.635933)'))) / (select extract(epoch from '2026-07-22 15:43:32'::timestamp) - extract(epoch from '2026-07-22 15:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764484 -2.635949)', '2026-07-22 15:43:39', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764589 -2.635933)'), GeomFromEWKT('SRID=4674;POINT (-39.764484 -2.635949)'))) / (select extract(epoch from '2026-07-22 15:43:39'::timestamp) - extract(epoch from '2026-07-22 15:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764589 -2.635933)'), GeomFromEWKT('SRID=4674;POINT (-39.764484 -2.635949)'))) / (select extract(epoch from '2026-07-22 15:43:39'::timestamp) - extract(epoch from '2026-07-22 15:43: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'), 47870, 'SRID=4674;POINT (-39.764378 -2.635984)', '2026-07-22 15:43:46', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764484 -2.635949)'), GeomFromEWKT('SRID=4674;POINT (-39.764378 -2.635984)'))) / (select extract(epoch from '2026-07-22 15:43:46'::timestamp) - extract(epoch from '2026-07-22 15:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764484 -2.635949)'), GeomFromEWKT('SRID=4674;POINT (-39.764378 -2.635984)'))) / (select extract(epoch from '2026-07-22 15:43:46'::timestamp) - extract(epoch from '2026-07-22 15:43: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'), 47870, 'SRID=4674;POINT (-39.764274 -2.636023)', '2026-07-22 15:43:53', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764378 -2.635984)'), GeomFromEWKT('SRID=4674;POINT (-39.764274 -2.636023)'))) / (select extract(epoch from '2026-07-22 15:43:53'::timestamp) - extract(epoch from '2026-07-22 15:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764378 -2.635984)'), GeomFromEWKT('SRID=4674;POINT (-39.764274 -2.636023)'))) / (select extract(epoch from '2026-07-22 15:43:53'::timestamp) - extract(epoch from '2026-07-22 15:43: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'), 47870, 'SRID=4674;POINT (-39.764207 -2.636061)', '2026-07-22 15:44:01', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764274 -2.636023)'), GeomFromEWKT('SRID=4674;POINT (-39.764207 -2.636061)'))) / (select extract(epoch from '2026-07-22 15:44:01'::timestamp) - extract(epoch from '2026-07-22 15:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764274 -2.636023)'), GeomFromEWKT('SRID=4674;POINT (-39.764207 -2.636061)'))) / (select extract(epoch from '2026-07-22 15:44:01'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764196 -2.636079)', '2026-07-22 15:44:08', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764207 -2.636061)'), GeomFromEWKT('SRID=4674;POINT (-39.764196 -2.636079)'))) / (select extract(epoch from '2026-07-22 15:44:08'::timestamp) - extract(epoch from '2026-07-22 15:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764207 -2.636061)'), GeomFromEWKT('SRID=4674;POINT (-39.764196 -2.636079)'))) / (select extract(epoch from '2026-07-22 15:44:08'::timestamp) - extract(epoch from '2026-07-22 15:44: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'), 47870, 'SRID=4674;POINT (-39.764212 -2.636092)', '2026-07-22 15:44:11', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764196 -2.636079)'), GeomFromEWKT('SRID=4674;POINT (-39.764212 -2.636092)'))) / (select extract(epoch from '2026-07-22 15:44:11'::timestamp) - extract(epoch from '2026-07-22 15:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764196 -2.636079)'), GeomFromEWKT('SRID=4674;POINT (-39.764212 -2.636092)'))) / (select extract(epoch from '2026-07-22 15:44:11'::timestamp) - extract(epoch from '2026-07-22 15:44: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'), 47870, 'SRID=4674;POINT (-39.764245 -2.636093)', '2026-07-22 15:44:14', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764212 -2.636092)'), GeomFromEWKT('SRID=4674;POINT (-39.764245 -2.636093)'))) / (select extract(epoch from '2026-07-22 15:44:14'::timestamp) - extract(epoch from '2026-07-22 15:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764212 -2.636092)'), GeomFromEWKT('SRID=4674;POINT (-39.764245 -2.636093)'))) / (select extract(epoch from '2026-07-22 15:44:14'::timestamp) - extract(epoch from '2026-07-22 15:44: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'), 47870, 'SRID=4674;POINT (-39.764273 -2.636091)', '2026-07-22 15:44:16', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764245 -2.636093)'), GeomFromEWKT('SRID=4674;POINT (-39.764273 -2.636091)'))) / (select extract(epoch from '2026-07-22 15:44:16'::timestamp) - extract(epoch from '2026-07-22 15:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764245 -2.636093)'), GeomFromEWKT('SRID=4674;POINT (-39.764273 -2.636091)'))) / (select extract(epoch from '2026-07-22 15:44:16'::timestamp) - extract(epoch from '2026-07-22 15:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764332 -2.636077)', '2026-07-22 15:44:19', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764273 -2.636091)'), GeomFromEWKT('SRID=4674;POINT (-39.764332 -2.636077)'))) / (select extract(epoch from '2026-07-22 15:44:19'::timestamp) - extract(epoch from '2026-07-22 15:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764273 -2.636091)'), GeomFromEWKT('SRID=4674;POINT (-39.764332 -2.636077)'))) / (select extract(epoch from '2026-07-22 15:44:19'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764419 -2.636033)', '2026-07-22 15:44:24', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764332 -2.636077)'), GeomFromEWKT('SRID=4674;POINT (-39.764419 -2.636033)'))) / (select extract(epoch from '2026-07-22 15:44:24'::timestamp) - extract(epoch from '2026-07-22 15:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764332 -2.636077)'), GeomFromEWKT('SRID=4674;POINT (-39.764419 -2.636033)'))) / (select extract(epoch from '2026-07-22 15:44:24'::timestamp) - extract(epoch from '2026-07-22 15:44: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'), 47870, 'SRID=4674;POINT (-39.764567 -2.635925)', '2026-07-22 15:44:31', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764419 -2.636033)'), GeomFromEWKT('SRID=4674;POINT (-39.764567 -2.635925)'))) / (select extract(epoch from '2026-07-22 15:44:31'::timestamp) - extract(epoch from '2026-07-22 15:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764419 -2.636033)'), GeomFromEWKT('SRID=4674;POINT (-39.764567 -2.635925)'))) / (select extract(epoch from '2026-07-22 15:44:31'::timestamp) - extract(epoch from '2026-07-22 15:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764628 -2.635809)', '2026-07-22 15:44:36', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764567 -2.635925)'), GeomFromEWKT('SRID=4674;POINT (-39.764628 -2.635809)'))) / (select extract(epoch from '2026-07-22 15:44:36'::timestamp) - extract(epoch from '2026-07-22 15:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764567 -2.635925)'), GeomFromEWKT('SRID=4674;POINT (-39.764628 -2.635809)'))) / (select extract(epoch from '2026-07-22 15:44:36'::timestamp) - extract(epoch from '2026-07-22 15:44: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'), 47870, 'SRID=4674;POINT (-39.764623 -2.635734)', '2026-07-22 15:44:44', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764628 -2.635809)'), GeomFromEWKT('SRID=4674;POINT (-39.764623 -2.635734)'))) / (select extract(epoch from '2026-07-22 15:44:44'::timestamp) - extract(epoch from '2026-07-22 15:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764628 -2.635809)'), GeomFromEWKT('SRID=4674;POINT (-39.764623 -2.635734)'))) / (select extract(epoch from '2026-07-22 15:44:44'::timestamp) - extract(epoch from '2026-07-22 15:44: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'), 47870, 'SRID=4674;POINT (-39.764624 -2.6357)', '2026-07-22 15:44:51', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764623 -2.635734)'), GeomFromEWKT('SRID=4674;POINT (-39.764624 -2.6357)'))) / (select extract(epoch from '2026-07-22 15:44:51'::timestamp) - extract(epoch from '2026-07-22 15:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764623 -2.635734)'), GeomFromEWKT('SRID=4674;POINT (-39.764624 -2.6357)'))) / (select extract(epoch from '2026-07-22 15:44:51'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764663 -2.635673)', '2026-07-22 15:44:59', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764624 -2.6357)'), GeomFromEWKT('SRID=4674;POINT (-39.764663 -2.635673)'))) / (select extract(epoch from '2026-07-22 15:44:59'::timestamp) - extract(epoch from '2026-07-22 15:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764624 -2.6357)'), GeomFromEWKT('SRID=4674;POINT (-39.764663 -2.635673)'))) / (select extract(epoch from '2026-07-22 15:44:59'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764697 -2.635642)', '2026-07-22 15:45:10', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764663 -2.635673)'), GeomFromEWKT('SRID=4674;POINT (-39.764697 -2.635642)'))) / (select extract(epoch from '2026-07-22 15:45:10'::timestamp) - extract(epoch from '2026-07-22 15:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764663 -2.635673)'), GeomFromEWKT('SRID=4674;POINT (-39.764697 -2.635642)'))) / (select extract(epoch from '2026-07-22 15:45:10'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764707 -2.635643)', '2026-07-22 15:45:29', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764697 -2.635642)'), GeomFromEWKT('SRID=4674;POINT (-39.764707 -2.635643)'))) / (select extract(epoch from '2026-07-22 15:45:29'::timestamp) - extract(epoch from '2026-07-22 15:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764697 -2.635642)'), GeomFromEWKT('SRID=4674;POINT (-39.764707 -2.635643)'))) / (select extract(epoch from '2026-07-22 15:45:29'::timestamp) - extract(epoch from '2026-07-22 15:45: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'), 47870, 'SRID=4674;POINT (-39.764732 -2.635635)', '2026-07-22 15:45:36', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764707 -2.635643)'), GeomFromEWKT('SRID=4674;POINT (-39.764732 -2.635635)'))) / (select extract(epoch from '2026-07-22 15:45:36'::timestamp) - extract(epoch from '2026-07-22 15:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764707 -2.635643)'), GeomFromEWKT('SRID=4674;POINT (-39.764732 -2.635635)'))) / (select extract(epoch from '2026-07-22 15:45:36'::timestamp) - extract(epoch from '2026-07-22 15:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764754 -2.6356)', '2026-07-22 15:45:45', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764732 -2.635635)'), GeomFromEWKT('SRID=4674;POINT (-39.764754 -2.6356)'))) / (select extract(epoch from '2026-07-22 15:45:45'::timestamp) - extract(epoch from '2026-07-22 15:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764732 -2.635635)'), GeomFromEWKT('SRID=4674;POINT (-39.764754 -2.6356)'))) / (select extract(epoch from '2026-07-22 15:45:45'::timestamp) - extract(epoch from '2026-07-22 15:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764751 -2.63557)', '2026-07-22 15:45:54', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764754 -2.6356)'), GeomFromEWKT('SRID=4674;POINT (-39.764751 -2.63557)'))) / (select extract(epoch from '2026-07-22 15:45:54'::timestamp) - extract(epoch from '2026-07-22 15:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764754 -2.6356)'), GeomFromEWKT('SRID=4674;POINT (-39.764751 -2.63557)'))) / (select extract(epoch from '2026-07-22 15:45:54'::timestamp) - extract(epoch from '2026-07-22 15:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764753 -2.635556)', '2026-07-22 15:46:04', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764751 -2.63557)'), GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.635556)'))) / (select extract(epoch from '2026-07-22 15:46:04'::timestamp) - extract(epoch from '2026-07-22 15:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764751 -2.63557)'), GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.635556)'))) / (select extract(epoch from '2026-07-22 15:46:04'::timestamp) - extract(epoch from '2026-07-22 15:45: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'), 47870, 'SRID=4674;POINT (-39.76478 -2.635525)', '2026-07-22 15:46:15', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.635556)'), GeomFromEWKT('SRID=4674;POINT (-39.76478 -2.635525)'))) / (select extract(epoch from '2026-07-22 15:46:15'::timestamp) - extract(epoch from '2026-07-22 15:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.635556)'), GeomFromEWKT('SRID=4674;POINT (-39.76478 -2.635525)'))) / (select extract(epoch from '2026-07-22 15:46:15'::timestamp) - extract(epoch from '2026-07-22 15:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764811 -2.635483)', '2026-07-22 15:46:25', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76478 -2.635525)'), GeomFromEWKT('SRID=4674;POINT (-39.764811 -2.635483)'))) / (select extract(epoch from '2026-07-22 15:46:25'::timestamp) - extract(epoch from '2026-07-22 15:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76478 -2.635525)'), GeomFromEWKT('SRID=4674;POINT (-39.764811 -2.635483)'))) / (select extract(epoch from '2026-07-22 15:46:25'::timestamp) - extract(epoch from '2026-07-22 15:46: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'), 47870, 'SRID=4674;POINT (-39.764833 -2.635455)', '2026-07-22 15:46:33', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764811 -2.635483)'), GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.635455)'))) / (select extract(epoch from '2026-07-22 15:46:33'::timestamp) - extract(epoch from '2026-07-22 15:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764811 -2.635483)'), GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.635455)'))) / (select extract(epoch from '2026-07-22 15:46:33'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764858 -2.63542)', '2026-07-22 15:46:45', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.635455)'), GeomFromEWKT('SRID=4674;POINT (-39.764858 -2.63542)'))) / (select extract(epoch from '2026-07-22 15:46:45'::timestamp) - extract(epoch from '2026-07-22 15:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.635455)'), GeomFromEWKT('SRID=4674;POINT (-39.764858 -2.63542)'))) / (select extract(epoch from '2026-07-22 15:46:45'::timestamp) - extract(epoch from '2026-07-22 15:46: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'), 47870, 'SRID=4674;POINT (-39.764901 -2.635399)', '2026-07-22 15:46:52', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764858 -2.63542)'), GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.635399)'))) / (select extract(epoch from '2026-07-22 15:46:52'::timestamp) - extract(epoch from '2026-07-22 15:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764858 -2.63542)'), GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.635399)'))) / (select extract(epoch from '2026-07-22 15:46:52'::timestamp) - extract(epoch from '2026-07-22 15:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764914 -2.635393)', '2026-07-22 15:47:04', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.635399)'), GeomFromEWKT('SRID=4674;POINT (-39.764914 -2.635393)'))) / (select extract(epoch from '2026-07-22 15:47:04'::timestamp) - extract(epoch from '2026-07-22 15:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.635399)'), GeomFromEWKT('SRID=4674;POINT (-39.764914 -2.635393)'))) / (select extract(epoch from '2026-07-22 15:47:04'::timestamp) - extract(epoch from '2026-07-22 15:46: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'), 47870, 'SRID=4674;POINT (-39.76496 -2.635377)', '2026-07-22 15:47:12', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764914 -2.635393)'), GeomFromEWKT('SRID=4674;POINT (-39.76496 -2.635377)'))) / (select extract(epoch from '2026-07-22 15:47:12'::timestamp) - extract(epoch from '2026-07-22 15:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764914 -2.635393)'), GeomFromEWKT('SRID=4674;POINT (-39.76496 -2.635377)'))) / (select extract(epoch from '2026-07-22 15:47:12'::timestamp) - extract(epoch from '2026-07-22 15:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764974 -2.635358)', '2026-07-22 15:47:18', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76496 -2.635377)'), GeomFromEWKT('SRID=4674;POINT (-39.764974 -2.635358)'))) / (select extract(epoch from '2026-07-22 15:47:18'::timestamp) - extract(epoch from '2026-07-22 15:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76496 -2.635377)'), GeomFromEWKT('SRID=4674;POINT (-39.764974 -2.635358)'))) / (select extract(epoch from '2026-07-22 15:47:18'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764981 -2.635326)', '2026-07-22 15:47:24', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764974 -2.635358)'), GeomFromEWKT('SRID=4674;POINT (-39.764981 -2.635326)'))) / (select extract(epoch from '2026-07-22 15:47:24'::timestamp) - extract(epoch from '2026-07-22 15:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764974 -2.635358)'), GeomFromEWKT('SRID=4674;POINT (-39.764981 -2.635326)'))) / (select extract(epoch from '2026-07-22 15:47:24'::timestamp) - extract(epoch from '2026-07-22 15:47: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'), 47870, 'SRID=4674;POINT (-39.765002 -2.635285)', '2026-07-22 15:47:32', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764981 -2.635326)'), GeomFromEWKT('SRID=4674;POINT (-39.765002 -2.635285)'))) / (select extract(epoch from '2026-07-22 15:47:32'::timestamp) - extract(epoch from '2026-07-22 15:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764981 -2.635326)'), GeomFromEWKT('SRID=4674;POINT (-39.765002 -2.635285)'))) / (select extract(epoch from '2026-07-22 15:47:32'::timestamp) - extract(epoch from '2026-07-22 15:47: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'), 47870, 'SRID=4674;POINT (-39.76501 -2.635245)', '2026-07-22 15:47:39', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765002 -2.635285)'), GeomFromEWKT('SRID=4674;POINT (-39.76501 -2.635245)'))) / (select extract(epoch from '2026-07-22 15:47:39'::timestamp) - extract(epoch from '2026-07-22 15:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765002 -2.635285)'), GeomFromEWKT('SRID=4674;POINT (-39.76501 -2.635245)'))) / (select extract(epoch from '2026-07-22 15:47:39'::timestamp) - extract(epoch from '2026-07-22 15:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765008 -2.635224)', '2026-07-22 15:47:47', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76501 -2.635245)'), GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.635224)'))) / (select extract(epoch from '2026-07-22 15:47:47'::timestamp) - extract(epoch from '2026-07-22 15:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76501 -2.635245)'), GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.635224)'))) / (select extract(epoch from '2026-07-22 15:47:47'::timestamp) - extract(epoch from '2026-07-22 15:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764994 -2.635201)', '2026-07-22 15:47:52', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.635224)'), GeomFromEWKT('SRID=4674;POINT (-39.764994 -2.635201)'))) / (select extract(epoch from '2026-07-22 15:47:52'::timestamp) - extract(epoch from '2026-07-22 15:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765008 -2.635224)'), GeomFromEWKT('SRID=4674;POINT (-39.764994 -2.635201)'))) / (select extract(epoch from '2026-07-22 15:47:52'::timestamp) - extract(epoch from '2026-07-22 15:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764975 -2.63518)', '2026-07-22 15:48:02', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764994 -2.635201)'), GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.63518)'))) / (select extract(epoch from '2026-07-22 15:48:02'::timestamp) - extract(epoch from '2026-07-22 15:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764994 -2.635201)'), GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.63518)'))) / (select extract(epoch from '2026-07-22 15:48:02'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764982 -2.635161)', '2026-07-22 15:48:17', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.63518)'), GeomFromEWKT('SRID=4674;POINT (-39.764982 -2.635161)'))) / (select extract(epoch from '2026-07-22 15:48:17'::timestamp) - extract(epoch from '2026-07-22 15:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.63518)'), GeomFromEWKT('SRID=4674;POINT (-39.764982 -2.635161)'))) / (select extract(epoch from '2026-07-22 15:48:17'::timestamp) - extract(epoch from '2026-07-22 15:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764975 -2.635157)', '2026-07-22 15:48:47', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764982 -2.635161)'), GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.635157)'))) / (select extract(epoch from '2026-07-22 15:48:47'::timestamp) - extract(epoch from '2026-07-22 15:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764982 -2.635161)'), GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.635157)'))) / (select extract(epoch from '2026-07-22 15:48:47'::timestamp) - extract(epoch from '2026-07-22 15:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764961 -2.635138)', '2026-07-22 15:48:57', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.635157)'), GeomFromEWKT('SRID=4674;POINT (-39.764961 -2.635138)'))) / (select extract(epoch from '2026-07-22 15:48:57'::timestamp) - extract(epoch from '2026-07-22 15:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764975 -2.635157)'), GeomFromEWKT('SRID=4674;POINT (-39.764961 -2.635138)'))) / (select extract(epoch from '2026-07-22 15:48:57'::timestamp) - extract(epoch from '2026-07-22 15:48: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'), 47870, 'SRID=4674;POINT (-39.764972 -2.635116)', '2026-07-22 15:49:02', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764961 -2.635138)'), GeomFromEWKT('SRID=4674;POINT (-39.764972 -2.635116)'))) / (select extract(epoch from '2026-07-22 15:49:02'::timestamp) - extract(epoch from '2026-07-22 15:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764961 -2.635138)'), GeomFromEWKT('SRID=4674;POINT (-39.764972 -2.635116)'))) / (select extract(epoch from '2026-07-22 15:49:02'::timestamp) - extract(epoch from '2026-07-22 15:48: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'), 47870, 'SRID=4674;POINT (-39.764977 -2.635105)', '2026-07-22 15:49:05', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764972 -2.635116)'), GeomFromEWKT('SRID=4674;POINT (-39.764977 -2.635105)'))) / (select extract(epoch from '2026-07-22 15:49:05'::timestamp) - extract(epoch from '2026-07-22 15:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764972 -2.635116)'), GeomFromEWKT('SRID=4674;POINT (-39.764977 -2.635105)'))) / (select extract(epoch from '2026-07-22 15:49:05'::timestamp) - extract(epoch from '2026-07-22 15:49: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'), 47870, 'SRID=4674;POINT (-39.764959 -2.635046)', '2026-07-22 15:49:30', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764977 -2.635105)'), GeomFromEWKT('SRID=4674;POINT (-39.764959 -2.635046)'))) / (select extract(epoch from '2026-07-22 15:49:30'::timestamp) - extract(epoch from '2026-07-22 15:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764977 -2.635105)'), GeomFromEWKT('SRID=4674;POINT (-39.764959 -2.635046)'))) / (select extract(epoch from '2026-07-22 15:49:30'::timestamp) - extract(epoch from '2026-07-22 15:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764956 -2.63502)', '2026-07-22 15:49:42', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764959 -2.635046)'), GeomFromEWKT('SRID=4674;POINT (-39.764956 -2.63502)'))) / (select extract(epoch from '2026-07-22 15:49:42'::timestamp) - extract(epoch from '2026-07-22 15:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764959 -2.635046)'), GeomFromEWKT('SRID=4674;POINT (-39.764956 -2.63502)'))) / (select extract(epoch from '2026-07-22 15:49:42'::timestamp) - extract(epoch from '2026-07-22 15:49: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'), 47870, 'SRID=4674;POINT (-39.764893 -2.635008)', '2026-07-22 15:50:01', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764956 -2.63502)'), GeomFromEWKT('SRID=4674;POINT (-39.764893 -2.635008)'))) / (select extract(epoch from '2026-07-22 15:50:01'::timestamp) - extract(epoch from '2026-07-22 15:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764956 -2.63502)'), GeomFromEWKT('SRID=4674;POINT (-39.764893 -2.635008)'))) / (select extract(epoch from '2026-07-22 15:50:01'::timestamp) - extract(epoch from '2026-07-22 15:49: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'), 47870, 'SRID=4674;POINT (-39.764867 -2.635012)', '2026-07-22 15:50:06', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764893 -2.635008)'), GeomFromEWKT('SRID=4674;POINT (-39.764867 -2.635012)'))) / (select extract(epoch from '2026-07-22 15:50:06'::timestamp) - extract(epoch from '2026-07-22 15:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764893 -2.635008)'), GeomFromEWKT('SRID=4674;POINT (-39.764867 -2.635012)'))) / (select extract(epoch from '2026-07-22 15:50:06'::timestamp) - extract(epoch from '2026-07-22 15:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764842 -2.634986)', '2026-07-22 15:50:11', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764867 -2.635012)'), GeomFromEWKT('SRID=4674;POINT (-39.764842 -2.634986)'))) / (select extract(epoch from '2026-07-22 15:50:11'::timestamp) - extract(epoch from '2026-07-22 15:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764867 -2.635012)'), GeomFromEWKT('SRID=4674;POINT (-39.764842 -2.634986)'))) / (select extract(epoch from '2026-07-22 15:50:11'::timestamp) - extract(epoch from '2026-07-22 15:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764816 -2.63495)', '2026-07-22 15:50:20', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764842 -2.634986)'), GeomFromEWKT('SRID=4674;POINT (-39.764816 -2.63495)'))) / (select extract(epoch from '2026-07-22 15:50:20'::timestamp) - extract(epoch from '2026-07-22 15:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764842 -2.634986)'), GeomFromEWKT('SRID=4674;POINT (-39.764816 -2.63495)'))) / (select extract(epoch from '2026-07-22 15:50:20'::timestamp) - extract(epoch from '2026-07-22 15:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764805 -2.634941)', '2026-07-22 15:50:27', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764816 -2.63495)'), GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.634941)'))) / (select extract(epoch from '2026-07-22 15:50:27'::timestamp) - extract(epoch from '2026-07-22 15:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764816 -2.63495)'), GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.634941)'))) / (select extract(epoch from '2026-07-22 15:50:27'::timestamp) - extract(epoch from '2026-07-22 15:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764828 -2.634904)', '2026-07-22 15:50:52', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.634941)'), GeomFromEWKT('SRID=4674;POINT (-39.764828 -2.634904)'))) / (select extract(epoch from '2026-07-22 15:50:52'::timestamp) - extract(epoch from '2026-07-22 15:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.634941)'), GeomFromEWKT('SRID=4674;POINT (-39.764828 -2.634904)'))) / (select extract(epoch from '2026-07-22 15:50:52'::timestamp) - extract(epoch from '2026-07-22 15:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764855 -2.634877)', '2026-07-22 15:50:57', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764828 -2.634904)'), GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634877)'))) / (select extract(epoch from '2026-07-22 15:50:57'::timestamp) - extract(epoch from '2026-07-22 15:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764828 -2.634904)'), GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634877)'))) / (select extract(epoch from '2026-07-22 15:50:57'::timestamp) - extract(epoch from '2026-07-22 15:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764872 -2.634854)', '2026-07-22 15:51:07', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634877)'), GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.634854)'))) / (select extract(epoch from '2026-07-22 15:51:07'::timestamp) - extract(epoch from '2026-07-22 15:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634877)'), GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.634854)'))) / (select extract(epoch from '2026-07-22 15:51:07'::timestamp) - extract(epoch from '2026-07-22 15:50: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'), 47870, 'SRID=4674;POINT (-39.764901 -2.63482)', '2026-07-22 15:51:33', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.634854)'), GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.63482)'))) / (select extract(epoch from '2026-07-22 15:51:33'::timestamp) - extract(epoch from '2026-07-22 15:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.634854)'), GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.63482)'))) / (select extract(epoch from '2026-07-22 15:51:33'::timestamp) - extract(epoch from '2026-07-22 15:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76493 -2.634809)', '2026-07-22 15:51:43', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.63482)'), GeomFromEWKT('SRID=4674;POINT (-39.76493 -2.634809)'))) / (select extract(epoch from '2026-07-22 15:51:43'::timestamp) - extract(epoch from '2026-07-22 15:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764901 -2.63482)'), GeomFromEWKT('SRID=4674;POINT (-39.76493 -2.634809)'))) / (select extract(epoch from '2026-07-22 15:51:43'::timestamp) - extract(epoch from '2026-07-22 15:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764939 -2.634835)', '2026-07-22 15:52:05', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76493 -2.634809)'), GeomFromEWKT('SRID=4674;POINT (-39.764939 -2.634835)'))) / (select extract(epoch from '2026-07-22 15:52:05'::timestamp) - extract(epoch from '2026-07-22 15:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76493 -2.634809)'), GeomFromEWKT('SRID=4674;POINT (-39.764939 -2.634835)'))) / (select extract(epoch from '2026-07-22 15:52:05'::timestamp) - extract(epoch from '2026-07-22 15:51: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'), 47870, 'SRID=4674;POINT (-39.764944 -2.634839)', '2026-07-22 15:52:08', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764939 -2.634835)'), GeomFromEWKT('SRID=4674;POINT (-39.764944 -2.634839)'))) / (select extract(epoch from '2026-07-22 15:52:08'::timestamp) - extract(epoch from '2026-07-22 15:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764939 -2.634835)'), GeomFromEWKT('SRID=4674;POINT (-39.764944 -2.634839)'))) / (select extract(epoch from '2026-07-22 15:52:08'::timestamp) - extract(epoch from '2026-07-22 15:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764967 -2.634825)', '2026-07-22 15:52:14', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764944 -2.634839)'), GeomFromEWKT('SRID=4674;POINT (-39.764967 -2.634825)'))) / (select extract(epoch from '2026-07-22 15:52:14'::timestamp) - extract(epoch from '2026-07-22 15:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764944 -2.634839)'), GeomFromEWKT('SRID=4674;POINT (-39.764967 -2.634825)'))) / (select extract(epoch from '2026-07-22 15:52:14'::timestamp) - extract(epoch from '2026-07-22 15:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764987 -2.634784)', '2026-07-22 15:52:36', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764967 -2.634825)'), GeomFromEWKT('SRID=4674;POINT (-39.764987 -2.634784)'))) / (select extract(epoch from '2026-07-22 15:52:36'::timestamp) - extract(epoch from '2026-07-22 15:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764967 -2.634825)'), GeomFromEWKT('SRID=4674;POINT (-39.764987 -2.634784)'))) / (select extract(epoch from '2026-07-22 15:52:36'::timestamp) - extract(epoch from '2026-07-22 15:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765001 -2.634779)', '2026-07-22 15:52:55', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764987 -2.634784)'), GeomFromEWKT('SRID=4674;POINT (-39.765001 -2.634779)'))) / (select extract(epoch from '2026-07-22 15:52:55'::timestamp) - extract(epoch from '2026-07-22 15:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764987 -2.634784)'), GeomFromEWKT('SRID=4674;POINT (-39.765001 -2.634779)'))) / (select extract(epoch from '2026-07-22 15:52:55'::timestamp) - extract(epoch from '2026-07-22 15:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765009 -2.634778)', '2026-07-22 15:52:58', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765001 -2.634779)'), GeomFromEWKT('SRID=4674;POINT (-39.765009 -2.634778)'))) / (select extract(epoch from '2026-07-22 15:52:58'::timestamp) - extract(epoch from '2026-07-22 15:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765001 -2.634779)'), GeomFromEWKT('SRID=4674;POINT (-39.765009 -2.634778)'))) / (select extract(epoch from '2026-07-22 15:52:58'::timestamp) - extract(epoch from '2026-07-22 15:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765004 -2.63478)', '2026-07-22 15:53:05', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765009 -2.634778)'), GeomFromEWKT('SRID=4674;POINT (-39.765004 -2.63478)'))) / (select extract(epoch from '2026-07-22 15:53:05'::timestamp) - extract(epoch from '2026-07-22 15:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765009 -2.634778)'), GeomFromEWKT('SRID=4674;POINT (-39.765004 -2.63478)'))) / (select extract(epoch from '2026-07-22 15:53:05'::timestamp) - extract(epoch from '2026-07-22 15:52: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'), 47870, 'SRID=4674;POINT (-39.765015 -2.634779)', '2026-07-22 15:53:12', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765004 -2.63478)'), GeomFromEWKT('SRID=4674;POINT (-39.765015 -2.634779)'))) / (select extract(epoch from '2026-07-22 15:53:12'::timestamp) - extract(epoch from '2026-07-22 15:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765004 -2.63478)'), GeomFromEWKT('SRID=4674;POINT (-39.765015 -2.634779)'))) / (select extract(epoch from '2026-07-22 15:53:12'::timestamp) - extract(epoch from '2026-07-22 15:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765023 -2.63478)', '2026-07-22 15:53:17', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765015 -2.634779)'), GeomFromEWKT('SRID=4674;POINT (-39.765023 -2.63478)'))) / (select extract(epoch from '2026-07-22 15:53:17'::timestamp) - extract(epoch from '2026-07-22 15:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765015 -2.634779)'), GeomFromEWKT('SRID=4674;POINT (-39.765023 -2.63478)'))) / (select extract(epoch from '2026-07-22 15:53:17'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764986 -2.634811)', '2026-07-22 15:53:29', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765023 -2.63478)'), GeomFromEWKT('SRID=4674;POINT (-39.764986 -2.634811)'))) / (select extract(epoch from '2026-07-22 15:53:29'::timestamp) - extract(epoch from '2026-07-22 15:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765023 -2.63478)'), GeomFromEWKT('SRID=4674;POINT (-39.764986 -2.634811)'))) / (select extract(epoch from '2026-07-22 15:53:29'::timestamp) - extract(epoch from '2026-07-22 15:53: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'), 47870, 'SRID=4674;POINT (-39.764938 -2.634856)', '2026-07-22 15:53:35', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764986 -2.634811)'), GeomFromEWKT('SRID=4674;POINT (-39.764938 -2.634856)'))) / (select extract(epoch from '2026-07-22 15:53:35'::timestamp) - extract(epoch from '2026-07-22 15:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764986 -2.634811)'), GeomFromEWKT('SRID=4674;POINT (-39.764938 -2.634856)'))) / (select extract(epoch from '2026-07-22 15:53:35'::timestamp) - extract(epoch from '2026-07-22 15:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764942 -2.6349)', '2026-07-22 15:53:41', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764938 -2.634856)'), GeomFromEWKT('SRID=4674;POINT (-39.764942 -2.6349)'))) / (select extract(epoch from '2026-07-22 15:53:41'::timestamp) - extract(epoch from '2026-07-22 15:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764938 -2.634856)'), GeomFromEWKT('SRID=4674;POINT (-39.764942 -2.6349)'))) / (select extract(epoch from '2026-07-22 15:53:41'::timestamp) - extract(epoch from '2026-07-22 15:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764957 -2.634894)', '2026-07-22 15:53:50', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764942 -2.6349)'), GeomFromEWKT('SRID=4674;POINT (-39.764957 -2.634894)'))) / (select extract(epoch from '2026-07-22 15:53:50'::timestamp) - extract(epoch from '2026-07-22 15:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764942 -2.6349)'), GeomFromEWKT('SRID=4674;POINT (-39.764957 -2.634894)'))) / (select extract(epoch from '2026-07-22 15:53:50'::timestamp) - extract(epoch from '2026-07-22 15:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764962 -2.634863)', '2026-07-22 15:53:57', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764957 -2.634894)'), GeomFromEWKT('SRID=4674;POINT (-39.764962 -2.634863)'))) / (select extract(epoch from '2026-07-22 15:53:57'::timestamp) - extract(epoch from '2026-07-22 15:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764957 -2.634894)'), GeomFromEWKT('SRID=4674;POINT (-39.764962 -2.634863)'))) / (select extract(epoch from '2026-07-22 15:53:57'::timestamp) - extract(epoch from '2026-07-22 15:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765006 -2.634804)', '2026-07-22 15:54:08', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764962 -2.634863)'), GeomFromEWKT('SRID=4674;POINT (-39.765006 -2.634804)'))) / (select extract(epoch from '2026-07-22 15:54:08'::timestamp) - extract(epoch from '2026-07-22 15:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764962 -2.634863)'), GeomFromEWKT('SRID=4674;POINT (-39.765006 -2.634804)'))) / (select extract(epoch from '2026-07-22 15:54:08'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76502 -2.634777)', '2026-07-22 15:54:16', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765006 -2.634804)'), GeomFromEWKT('SRID=4674;POINT (-39.76502 -2.634777)'))) / (select extract(epoch from '2026-07-22 15:54:16'::timestamp) - extract(epoch from '2026-07-22 15:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765006 -2.634804)'), GeomFromEWKT('SRID=4674;POINT (-39.76502 -2.634777)'))) / (select extract(epoch from '2026-07-22 15:54:16'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76495 -2.634777)', '2026-07-22 15:54:27', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76502 -2.634777)'), GeomFromEWKT('SRID=4674;POINT (-39.76495 -2.634777)'))) / (select extract(epoch from '2026-07-22 15:54:27'::timestamp) - extract(epoch from '2026-07-22 15:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76502 -2.634777)'), GeomFromEWKT('SRID=4674;POINT (-39.76495 -2.634777)'))) / (select extract(epoch from '2026-07-22 15:54:27'::timestamp) - extract(epoch from '2026-07-22 15:54: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'), 47870, 'SRID=4674;POINT (-39.764855 -2.634862)', '2026-07-22 15:54:37', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76495 -2.634777)'), GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634862)'))) / (select extract(epoch from '2026-07-22 15:54:37'::timestamp) - extract(epoch from '2026-07-22 15:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76495 -2.634777)'), GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634862)'))) / (select extract(epoch from '2026-07-22 15:54:37'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764712 -2.634991)', '2026-07-22 15:54:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634862)'), GeomFromEWKT('SRID=4674;POINT (-39.764712 -2.634991)'))) / (select extract(epoch from '2026-07-22 15:54:46'::timestamp) - extract(epoch from '2026-07-22 15:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764855 -2.634862)'), GeomFromEWKT('SRID=4674;POINT (-39.764712 -2.634991)'))) / (select extract(epoch from '2026-07-22 15:54:46'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764587 -2.635067)', '2026-07-22 15:54:54', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764712 -2.634991)'), GeomFromEWKT('SRID=4674;POINT (-39.764587 -2.635067)'))) / (select extract(epoch from '2026-07-22 15:54:54'::timestamp) - extract(epoch from '2026-07-22 15:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764712 -2.634991)'), GeomFromEWKT('SRID=4674;POINT (-39.764587 -2.635067)'))) / (select extract(epoch from '2026-07-22 15:54:54'::timestamp) - extract(epoch from '2026-07-22 15:54: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'), 47870, 'SRID=4674;POINT (-39.76448 -2.635107)', '2026-07-22 15:55:00', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764587 -2.635067)'), GeomFromEWKT('SRID=4674;POINT (-39.76448 -2.635107)'))) / (select extract(epoch from '2026-07-22 15:55:00'::timestamp) - extract(epoch from '2026-07-22 15:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764587 -2.635067)'), GeomFromEWKT('SRID=4674;POINT (-39.76448 -2.635107)'))) / (select extract(epoch from '2026-07-22 15:55:00'::timestamp) - extract(epoch from '2026-07-22 15:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764356 -2.635164)', '2026-07-22 15:55:07', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76448 -2.635107)'), GeomFromEWKT('SRID=4674;POINT (-39.764356 -2.635164)'))) / (select extract(epoch from '2026-07-22 15:55:07'::timestamp) - extract(epoch from '2026-07-22 15:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76448 -2.635107)'), GeomFromEWKT('SRID=4674;POINT (-39.764356 -2.635164)'))) / (select extract(epoch from '2026-07-22 15:55:07'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764281 -2.635237)', '2026-07-22 15:55:14', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764356 -2.635164)'), GeomFromEWKT('SRID=4674;POINT (-39.764281 -2.635237)'))) / (select extract(epoch from '2026-07-22 15:55:14'::timestamp) - extract(epoch from '2026-07-22 15:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764356 -2.635164)'), GeomFromEWKT('SRID=4674;POINT (-39.764281 -2.635237)'))) / (select extract(epoch from '2026-07-22 15:55:14'::timestamp) - extract(epoch from '2026-07-22 15:55: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'), 47870, 'SRID=4674;POINT (-39.764181 -2.635306)', '2026-07-22 15:55:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764281 -2.635237)'), GeomFromEWKT('SRID=4674;POINT (-39.764181 -2.635306)'))) / (select extract(epoch from '2026-07-22 15:55:21'::timestamp) - extract(epoch from '2026-07-22 15:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764281 -2.635237)'), GeomFromEWKT('SRID=4674;POINT (-39.764181 -2.635306)'))) / (select extract(epoch from '2026-07-22 15:55:21'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.764077 -2.635392)', '2026-07-22 15:55:30', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764181 -2.635306)'), GeomFromEWKT('SRID=4674;POINT (-39.764077 -2.635392)'))) / (select extract(epoch from '2026-07-22 15:55:30'::timestamp) - extract(epoch from '2026-07-22 15:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764181 -2.635306)'), GeomFromEWKT('SRID=4674;POINT (-39.764077 -2.635392)'))) / (select extract(epoch from '2026-07-22 15:55:30'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.763986 -2.635451)', '2026-07-22 15:55:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764077 -2.635392)'), GeomFromEWKT('SRID=4674;POINT (-39.763986 -2.635451)'))) / (select extract(epoch from '2026-07-22 15:55:37'::timestamp) - extract(epoch from '2026-07-22 15:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764077 -2.635392)'), GeomFromEWKT('SRID=4674;POINT (-39.763986 -2.635451)'))) / (select extract(epoch from '2026-07-22 15:55:37'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.763892 -2.635524)', '2026-07-22 15:55:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763986 -2.635451)'), GeomFromEWKT('SRID=4674;POINT (-39.763892 -2.635524)'))) / (select extract(epoch from '2026-07-22 15:55:44'::timestamp) - extract(epoch from '2026-07-22 15:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763986 -2.635451)'), GeomFromEWKT('SRID=4674;POINT (-39.763892 -2.635524)'))) / (select extract(epoch from '2026-07-22 15:55:44'::timestamp) - extract(epoch from '2026-07-22 15:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763808 -2.635605)', '2026-07-22 15:55:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763892 -2.635524)'), GeomFromEWKT('SRID=4674;POINT (-39.763808 -2.635605)'))) / (select extract(epoch from '2026-07-22 15:55:51'::timestamp) - extract(epoch from '2026-07-22 15:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763892 -2.635524)'), GeomFromEWKT('SRID=4674;POINT (-39.763808 -2.635605)'))) / (select extract(epoch from '2026-07-22 15:55:51'::timestamp) - extract(epoch from '2026-07-22 15:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763731 -2.635678)', '2026-07-22 15:55:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763808 -2.635605)'), GeomFromEWKT('SRID=4674;POINT (-39.763731 -2.635678)'))) / (select extract(epoch from '2026-07-22 15:55:57'::timestamp) - extract(epoch from '2026-07-22 15:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763808 -2.635605)'), GeomFromEWKT('SRID=4674;POINT (-39.763731 -2.635678)'))) / (select extract(epoch from '2026-07-22 15:55:57'::timestamp) - extract(epoch from '2026-07-22 15:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763685 -2.635753)', '2026-07-22 15:56:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763731 -2.635678)'), GeomFromEWKT('SRID=4674;POINT (-39.763685 -2.635753)'))) / (select extract(epoch from '2026-07-22 15:56:03'::timestamp) - extract(epoch from '2026-07-22 15:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763731 -2.635678)'), GeomFromEWKT('SRID=4674;POINT (-39.763685 -2.635753)'))) / (select extract(epoch from '2026-07-22 15:56:03'::timestamp) - extract(epoch from '2026-07-22 15:55: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'), 47870, 'SRID=4674;POINT (-39.763626 -2.635827)', '2026-07-22 15:56:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763685 -2.635753)'), GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.635827)'))) / (select extract(epoch from '2026-07-22 15:56:09'::timestamp) - extract(epoch from '2026-07-22 15:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763685 -2.635753)'), GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.635827)'))) / (select extract(epoch from '2026-07-22 15:56:09'::timestamp) - extract(epoch from '2026-07-22 15:56: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'), 47870, 'SRID=4674;POINT (-39.763607 -2.635865)', '2026-07-22 15:56:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.635827)'), GeomFromEWKT('SRID=4674;POINT (-39.763607 -2.635865)'))) / (select extract(epoch from '2026-07-22 15:56:16'::timestamp) - extract(epoch from '2026-07-22 15:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.635827)'), GeomFromEWKT('SRID=4674;POINT (-39.763607 -2.635865)'))) / (select extract(epoch from '2026-07-22 15:56:16'::timestamp) - extract(epoch from '2026-07-22 15:56: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'), 47870, 'SRID=4674;POINT (-39.763626 -2.63591)', '2026-07-22 15:56:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763607 -2.635865)'), GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.63591)'))) / (select extract(epoch from '2026-07-22 15:56:25'::timestamp) - extract(epoch from '2026-07-22 15:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763607 -2.635865)'), GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.63591)'))) / (select extract(epoch from '2026-07-22 15:56:25'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76367 -2.635933)', '2026-07-22 15:56:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.63591)'), GeomFromEWKT('SRID=4674;POINT (-39.76367 -2.635933)'))) / (select extract(epoch from '2026-07-22 15:56:36'::timestamp) - extract(epoch from '2026-07-22 15:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763626 -2.63591)'), GeomFromEWKT('SRID=4674;POINT (-39.76367 -2.635933)'))) / (select extract(epoch from '2026-07-22 15:56:36'::timestamp) - extract(epoch from '2026-07-22 15:56: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'), 47870, 'SRID=4674;POINT (-39.763703 -2.635922)', '2026-07-22 15:56:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76367 -2.635933)'), GeomFromEWKT('SRID=4674;POINT (-39.763703 -2.635922)'))) / (select extract(epoch from '2026-07-22 15:56:44'::timestamp) - extract(epoch from '2026-07-22 15:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76367 -2.635933)'), GeomFromEWKT('SRID=4674;POINT (-39.763703 -2.635922)'))) / (select extract(epoch from '2026-07-22 15:56:44'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.763744 -2.635907)', '2026-07-22 15:56:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763703 -2.635922)'), GeomFromEWKT('SRID=4674;POINT (-39.763744 -2.635907)'))) / (select extract(epoch from '2026-07-22 15:56:50'::timestamp) - extract(epoch from '2026-07-22 15:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763703 -2.635922)'), GeomFromEWKT('SRID=4674;POINT (-39.763744 -2.635907)'))) / (select extract(epoch from '2026-07-22 15:56:50'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.763783 -2.635892)', '2026-07-22 15:56:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763744 -2.635907)'), GeomFromEWKT('SRID=4674;POINT (-39.763783 -2.635892)'))) / (select extract(epoch from '2026-07-22 15:56:56'::timestamp) - extract(epoch from '2026-07-22 15:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763744 -2.635907)'), GeomFromEWKT('SRID=4674;POINT (-39.763783 -2.635892)'))) / (select extract(epoch from '2026-07-22 15:56:56'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.763802 -2.635913)', '2026-07-22 15:57:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763783 -2.635892)'), GeomFromEWKT('SRID=4674;POINT (-39.763802 -2.635913)'))) / (select extract(epoch from '2026-07-22 15:57:05'::timestamp) - extract(epoch from '2026-07-22 15:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763783 -2.635892)'), GeomFromEWKT('SRID=4674;POINT (-39.763802 -2.635913)'))) / (select extract(epoch from '2026-07-22 15:57:05'::timestamp) - extract(epoch from '2026-07-22 15:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763747 -2.635938)', '2026-07-22 15:57:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763802 -2.635913)'), GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'))) / (select extract(epoch from '2026-07-22 15:57:10'::timestamp) - extract(epoch from '2026-07-22 15:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763802 -2.635913)'), GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'))) / (select extract(epoch from '2026-07-22 15:57:10'::timestamp) - extract(epoch from '2026-07-22 15:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763747 -2.635938)', '2026-07-22 15:57:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'), GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'))) / (select extract(epoch from '2026-07-22 15:57:11'::timestamp) - extract(epoch from '2026-07-22 15:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'), GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'))) / (select extract(epoch from '2026-07-22 15:57:11'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.76363 -2.635938)', '2026-07-22 15:57:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'), GeomFromEWKT('SRID=4674;POINT (-39.76363 -2.635938)'))) / (select extract(epoch from '2026-07-22 15:57:19'::timestamp) - extract(epoch from '2026-07-22 15:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763747 -2.635938)'), GeomFromEWKT('SRID=4674;POINT (-39.76363 -2.635938)'))) / (select extract(epoch from '2026-07-22 15:57:19'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.763606 -2.635928)', '2026-07-22 15:57:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76363 -2.635938)'), GeomFromEWKT('SRID=4674;POINT (-39.763606 -2.635928)'))) / (select extract(epoch from '2026-07-22 15:57:20'::timestamp) - extract(epoch from '2026-07-22 15:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76363 -2.635938)'), GeomFromEWKT('SRID=4674;POINT (-39.763606 -2.635928)'))) / (select extract(epoch from '2026-07-22 15:57:20'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.76358 -2.635906)', '2026-07-22 15:57:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763606 -2.635928)'), GeomFromEWKT('SRID=4674;POINT (-39.76358 -2.635906)'))) / (select extract(epoch from '2026-07-22 15:57:25'::timestamp) - extract(epoch from '2026-07-22 15:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763606 -2.635928)'), GeomFromEWKT('SRID=4674;POINT (-39.76358 -2.635906)'))) / (select extract(epoch from '2026-07-22 15:57:25'::timestamp) - extract(epoch from '2026-07-22 15:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763549 -2.635865)', '2026-07-22 15:57:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76358 -2.635906)'), GeomFromEWKT('SRID=4674;POINT (-39.763549 -2.635865)'))) / (select extract(epoch from '2026-07-22 15:57:31'::timestamp) - extract(epoch from '2026-07-22 15:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76358 -2.635906)'), GeomFromEWKT('SRID=4674;POINT (-39.763549 -2.635865)'))) / (select extract(epoch from '2026-07-22 15:57:31'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.763536 -2.635854)', '2026-07-22 15:57:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763549 -2.635865)'), GeomFromEWKT('SRID=4674;POINT (-39.763536 -2.635854)'))) / (select extract(epoch from '2026-07-22 15:57:34'::timestamp) - extract(epoch from '2026-07-22 15:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763549 -2.635865)'), GeomFromEWKT('SRID=4674;POINT (-39.763536 -2.635854)'))) / (select extract(epoch from '2026-07-22 15:57:34'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.763527 -2.635835)', '2026-07-22 15:57:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763536 -2.635854)'), GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635835)'))) / (select extract(epoch from '2026-07-22 15:57:37'::timestamp) - extract(epoch from '2026-07-22 15:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763536 -2.635854)'), GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635835)'))) / (select extract(epoch from '2026-07-22 15:57:37'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.763527 -2.635797)', '2026-07-22 15:57:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635835)'), GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635797)'))) / (select extract(epoch from '2026-07-22 15:57:44'::timestamp) - extract(epoch from '2026-07-22 15:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635835)'), GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635797)'))) / (select extract(epoch from '2026-07-22 15:57:44'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.763541 -2.635749)', '2026-07-22 15:57:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635797)'), GeomFromEWKT('SRID=4674;POINT (-39.763541 -2.635749)'))) / (select extract(epoch from '2026-07-22 15:57:51'::timestamp) - extract(epoch from '2026-07-22 15:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763527 -2.635797)'), GeomFromEWKT('SRID=4674;POINT (-39.763541 -2.635749)'))) / (select extract(epoch from '2026-07-22 15:57:51'::timestamp) - extract(epoch from '2026-07-22 15:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763578 -2.635701)', '2026-07-22 15:57:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763541 -2.635749)'), GeomFromEWKT('SRID=4674;POINT (-39.763578 -2.635701)'))) / (select extract(epoch from '2026-07-22 15:57:58'::timestamp) - extract(epoch from '2026-07-22 15:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763541 -2.635749)'), GeomFromEWKT('SRID=4674;POINT (-39.763578 -2.635701)'))) / (select extract(epoch from '2026-07-22 15:57:58'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.763601 -2.63568)', '2026-07-22 15:58:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763578 -2.635701)'), GeomFromEWKT('SRID=4674;POINT (-39.763601 -2.63568)'))) / (select extract(epoch from '2026-07-22 15:58:01'::timestamp) - extract(epoch from '2026-07-22 15:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763578 -2.635701)'), GeomFromEWKT('SRID=4674;POINT (-39.763601 -2.63568)'))) / (select extract(epoch from '2026-07-22 15:58:01'::timestamp) - extract(epoch from '2026-07-22 15:57: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'), 47870, 'SRID=4674;POINT (-39.763612 -2.635661)', '2026-07-22 15:58:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763601 -2.63568)'), GeomFromEWKT('SRID=4674;POINT (-39.763612 -2.635661)'))) / (select extract(epoch from '2026-07-22 15:58:04'::timestamp) - extract(epoch from '2026-07-22 15:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763601 -2.63568)'), GeomFromEWKT('SRID=4674;POINT (-39.763612 -2.635661)'))) / (select extract(epoch from '2026-07-22 15:58:04'::timestamp) - extract(epoch from '2026-07-22 15:58: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'), 47870, 'SRID=4674;POINT (-39.763652 -2.635624)', '2026-07-22 15:58:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763612 -2.635661)'), GeomFromEWKT('SRID=4674;POINT (-39.763652 -2.635624)'))) / (select extract(epoch from '2026-07-22 15:58:11'::timestamp) - extract(epoch from '2026-07-22 15:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763612 -2.635661)'), GeomFromEWKT('SRID=4674;POINT (-39.763652 -2.635624)'))) / (select extract(epoch from '2026-07-22 15:58:11'::timestamp) - extract(epoch from '2026-07-22 15:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763646 -2.635617)', '2026-07-22 15:58:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763652 -2.635624)'), GeomFromEWKT('SRID=4674;POINT (-39.763646 -2.635617)'))) / (select extract(epoch from '2026-07-22 15:58:14'::timestamp) - extract(epoch from '2026-07-22 15:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763652 -2.635624)'), GeomFromEWKT('SRID=4674;POINT (-39.763646 -2.635617)'))) / (select extract(epoch from '2026-07-22 15:58:14'::timestamp) - extract(epoch from '2026-07-22 15:58: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'), 47870, 'SRID=4674;POINT (-39.763654 -2.63559)', '2026-07-22 15:58:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763646 -2.635617)'), GeomFromEWKT('SRID=4674;POINT (-39.763654 -2.63559)'))) / (select extract(epoch from '2026-07-22 15:58:18'::timestamp) - extract(epoch from '2026-07-22 15:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763646 -2.635617)'), GeomFromEWKT('SRID=4674;POINT (-39.763654 -2.63559)'))) / (select extract(epoch from '2026-07-22 15:58:18'::timestamp) - extract(epoch from '2026-07-22 15:58: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'), 47870, 'SRID=4674;POINT (-39.763667 -2.635578)', '2026-07-22 15:58:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763654 -2.63559)'), GeomFromEWKT('SRID=4674;POINT (-39.763667 -2.635578)'))) / (select extract(epoch from '2026-07-22 15:58:21'::timestamp) - extract(epoch from '2026-07-22 15:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763654 -2.63559)'), GeomFromEWKT('SRID=4674;POINT (-39.763667 -2.635578)'))) / (select extract(epoch from '2026-07-22 15:58:21'::timestamp) - extract(epoch from '2026-07-22 15:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763694 -2.635543)', '2026-07-22 15:58:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763667 -2.635578)'), GeomFromEWKT('SRID=4674;POINT (-39.763694 -2.635543)'))) / (select extract(epoch from '2026-07-22 15:58:27'::timestamp) - extract(epoch from '2026-07-22 15:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763667 -2.635578)'), GeomFromEWKT('SRID=4674;POINT (-39.763694 -2.635543)'))) / (select extract(epoch from '2026-07-22 15:58:27'::timestamp) - extract(epoch from '2026-07-22 15:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763698 -2.635536)', '2026-07-22 15:58:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763694 -2.635543)'), GeomFromEWKT('SRID=4674;POINT (-39.763698 -2.635536)'))) / (select extract(epoch from '2026-07-22 15:58:33'::timestamp) - extract(epoch from '2026-07-22 15:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763694 -2.635543)'), GeomFromEWKT('SRID=4674;POINT (-39.763698 -2.635536)'))) / (select extract(epoch from '2026-07-22 15:58:33'::timestamp) - extract(epoch from '2026-07-22 15:58: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'), 47870, 'SRID=4674;POINT (-39.763696 -2.635531)', '2026-07-22 15:58:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763698 -2.635536)'), GeomFromEWKT('SRID=4674;POINT (-39.763696 -2.635531)'))) / (select extract(epoch from '2026-07-22 15:58:46'::timestamp) - extract(epoch from '2026-07-22 15:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763698 -2.635536)'), GeomFromEWKT('SRID=4674;POINT (-39.763696 -2.635531)'))) / (select extract(epoch from '2026-07-22 15:58:46'::timestamp) - extract(epoch from '2026-07-22 15:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763737 -2.635511)', '2026-07-22 15:58:53', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763696 -2.635531)'), GeomFromEWKT('SRID=4674;POINT (-39.763737 -2.635511)'))) / (select extract(epoch from '2026-07-22 15:58:53'::timestamp) - extract(epoch from '2026-07-22 15:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763696 -2.635531)'), GeomFromEWKT('SRID=4674;POINT (-39.763737 -2.635511)'))) / (select extract(epoch from '2026-07-22 15:58:53'::timestamp) - extract(epoch from '2026-07-22 15:58: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'), 47870, 'SRID=4674;POINT (-39.763742 -2.635511)', '2026-07-22 15:59:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763737 -2.635511)'), GeomFromEWKT('SRID=4674;POINT (-39.763742 -2.635511)'))) / (select extract(epoch from '2026-07-22 15:59:03'::timestamp) - extract(epoch from '2026-07-22 15:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763737 -2.635511)'), GeomFromEWKT('SRID=4674;POINT (-39.763742 -2.635511)'))) / (select extract(epoch from '2026-07-22 15:59:03'::timestamp) - extract(epoch from '2026-07-22 15:58: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'), 47870, 'SRID=4674;POINT (-39.763794 -2.635488)', '2026-07-22 15:59:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763742 -2.635511)'), GeomFromEWKT('SRID=4674;POINT (-39.763794 -2.635488)'))) / (select extract(epoch from '2026-07-22 15:59:11'::timestamp) - extract(epoch from '2026-07-22 15:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763742 -2.635511)'), GeomFromEWKT('SRID=4674;POINT (-39.763794 -2.635488)'))) / (select extract(epoch from '2026-07-22 15:59:11'::timestamp) - extract(epoch from '2026-07-22 15:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763828 -2.63547)', '2026-07-22 15:59:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763794 -2.635488)'), GeomFromEWKT('SRID=4674;POINT (-39.763828 -2.63547)'))) / (select extract(epoch from '2026-07-22 15:59:18'::timestamp) - extract(epoch from '2026-07-22 15:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763794 -2.635488)'), GeomFromEWKT('SRID=4674;POINT (-39.763828 -2.63547)'))) / (select extract(epoch from '2026-07-22 15:59:18'::timestamp) - extract(epoch from '2026-07-22 15:59: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'), 47870, 'SRID=4674;POINT (-39.763896 -2.63545)', '2026-07-22 15:59:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763828 -2.63547)'), GeomFromEWKT('SRID=4674;POINT (-39.763896 -2.63545)'))) / (select extract(epoch from '2026-07-22 15:59:30'::timestamp) - extract(epoch from '2026-07-22 15:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763828 -2.63547)'), GeomFromEWKT('SRID=4674;POINT (-39.763896 -2.63545)'))) / (select extract(epoch from '2026-07-22 15:59:30'::timestamp) - extract(epoch from '2026-07-22 15:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763923 -2.63542)', '2026-07-22 15:59:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763896 -2.63545)'), GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.63542)'))) / (select extract(epoch from '2026-07-22 15:59:36'::timestamp) - extract(epoch from '2026-07-22 15:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763896 -2.63545)'), GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.63542)'))) / (select extract(epoch from '2026-07-22 15:59:36'::timestamp) - extract(epoch from '2026-07-22 15:59: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'), 47870, 'SRID=4674;POINT (-39.763928 -2.635396)', '2026-07-22 15:59:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.63542)'), GeomFromEWKT('SRID=4674;POINT (-39.763928 -2.635396)'))) / (select extract(epoch from '2026-07-22 15:59:43'::timestamp) - extract(epoch from '2026-07-22 15:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.63542)'), GeomFromEWKT('SRID=4674;POINT (-39.763928 -2.635396)'))) / (select extract(epoch from '2026-07-22 15:59:43'::timestamp) - extract(epoch from '2026-07-22 15:59: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'), 47870, 'SRID=4674;POINT (-39.763919 -2.635298)', '2026-07-22 16:00:25', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763928 -2.635396)'), GeomFromEWKT('SRID=4674;POINT (-39.763919 -2.635298)'))) / (select extract(epoch from '2026-07-22 16:00:25'::timestamp) - extract(epoch from '2026-07-22 15:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763928 -2.635396)'), GeomFromEWKT('SRID=4674;POINT (-39.763919 -2.635298)'))) / (select extract(epoch from '2026-07-22 16:00:25'::timestamp) - extract(epoch from '2026-07-22 15:59: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'), 47870, 'SRID=4674;POINT (-39.763929 -2.635269)', '2026-07-22 16:00:34', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763919 -2.635298)'), GeomFromEWKT('SRID=4674;POINT (-39.763929 -2.635269)'))) / (select extract(epoch from '2026-07-22 16:00:34'::timestamp) - extract(epoch from '2026-07-22 16:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763919 -2.635298)'), GeomFromEWKT('SRID=4674;POINT (-39.763929 -2.635269)'))) / (select extract(epoch from '2026-07-22 16:00:34'::timestamp) - extract(epoch from '2026-07-22 16:00: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'), 47870, 'SRID=4674;POINT (-39.763874 -2.635274)', '2026-07-22 16:00:42', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763929 -2.635269)'), GeomFromEWKT('SRID=4674;POINT (-39.763874 -2.635274)'))) / (select extract(epoch from '2026-07-22 16:00:42'::timestamp) - extract(epoch from '2026-07-22 16:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763929 -2.635269)'), GeomFromEWKT('SRID=4674;POINT (-39.763874 -2.635274)'))) / (select extract(epoch from '2026-07-22 16:00:42'::timestamp) - extract(epoch from '2026-07-22 16:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763807 -2.635297)', '2026-07-22 16:00:48', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763874 -2.635274)'), GeomFromEWKT('SRID=4674;POINT (-39.763807 -2.635297)'))) / (select extract(epoch from '2026-07-22 16:00:48'::timestamp) - extract(epoch from '2026-07-22 16:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763874 -2.635274)'), GeomFromEWKT('SRID=4674;POINT (-39.763807 -2.635297)'))) / (select extract(epoch from '2026-07-22 16:00:48'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.763741 -2.635311)', '2026-07-22 16:00:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763807 -2.635297)'), GeomFromEWKT('SRID=4674;POINT (-39.763741 -2.635311)'))) / (select extract(epoch from '2026-07-22 16:00:54'::timestamp) - extract(epoch from '2026-07-22 16:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763807 -2.635297)'), GeomFromEWKT('SRID=4674;POINT (-39.763741 -2.635311)'))) / (select extract(epoch from '2026-07-22 16:00:54'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.763727 -2.635319)', '2026-07-22 16:00:55', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763741 -2.635311)'), GeomFromEWKT('SRID=4674;POINT (-39.763727 -2.635319)'))) / (select extract(epoch from '2026-07-22 16:00:55'::timestamp) - extract(epoch from '2026-07-22 16:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763741 -2.635311)'), GeomFromEWKT('SRID=4674;POINT (-39.763727 -2.635319)'))) / (select extract(epoch from '2026-07-22 16:00:55'::timestamp) - extract(epoch from '2026-07-22 16:00: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'), 47870, 'SRID=4674;POINT (-39.763621 -2.635376)', '2026-07-22 16:01:02', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763727 -2.635319)'), GeomFromEWKT('SRID=4674;POINT (-39.763621 -2.635376)'))) / (select extract(epoch from '2026-07-22 16:01:02'::timestamp) - extract(epoch from '2026-07-22 16:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763727 -2.635319)'), GeomFromEWKT('SRID=4674;POINT (-39.763621 -2.635376)'))) / (select extract(epoch from '2026-07-22 16:01:02'::timestamp) - extract(epoch from '2026-07-22 16:00: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'), 47870, 'SRID=4674;POINT (-39.763514 -2.635411)', '2026-07-22 16:01:09', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763621 -2.635376)'), GeomFromEWKT('SRID=4674;POINT (-39.763514 -2.635411)'))) / (select extract(epoch from '2026-07-22 16:01:09'::timestamp) - extract(epoch from '2026-07-22 16:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763621 -2.635376)'), GeomFromEWKT('SRID=4674;POINT (-39.763514 -2.635411)'))) / (select extract(epoch from '2026-07-22 16:01:09'::timestamp) - extract(epoch from '2026-07-22 16:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763398 -2.635457)', '2026-07-22 16:01:14', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763514 -2.635411)'), GeomFromEWKT('SRID=4674;POINT (-39.763398 -2.635457)'))) / (select extract(epoch from '2026-07-22 16:01:14'::timestamp) - extract(epoch from '2026-07-22 16:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763514 -2.635411)'), GeomFromEWKT('SRID=4674;POINT (-39.763398 -2.635457)'))) / (select extract(epoch from '2026-07-22 16:01:14'::timestamp) - extract(epoch from '2026-07-22 16:01: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'), 47870, 'SRID=4674;POINT (-39.76327 -2.635493)', '2026-07-22 16:01:21', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763398 -2.635457)'), GeomFromEWKT('SRID=4674;POINT (-39.76327 -2.635493)'))) / (select extract(epoch from '2026-07-22 16:01:21'::timestamp) - extract(epoch from '2026-07-22 16:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763398 -2.635457)'), GeomFromEWKT('SRID=4674;POINT (-39.76327 -2.635493)'))) / (select extract(epoch from '2026-07-22 16:01:21'::timestamp) - extract(epoch from '2026-07-22 16:01: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'), 47870, 'SRID=4674;POINT (-39.763084 -2.635551)', '2026-07-22 16:01:31', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76327 -2.635493)'), GeomFromEWKT('SRID=4674;POINT (-39.763084 -2.635551)'))) / (select extract(epoch from '2026-07-22 16:01:31'::timestamp) - extract(epoch from '2026-07-22 16:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76327 -2.635493)'), GeomFromEWKT('SRID=4674;POINT (-39.763084 -2.635551)'))) / (select extract(epoch from '2026-07-22 16:01:31'::timestamp) - extract(epoch from '2026-07-22 16:01: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'), 47870, 'SRID=4674;POINT (-39.762962 -2.635606)', '2026-07-22 16:01:40', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763084 -2.635551)'), GeomFromEWKT('SRID=4674;POINT (-39.762962 -2.635606)'))) / (select extract(epoch from '2026-07-22 16:01:40'::timestamp) - extract(epoch from '2026-07-22 16:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763084 -2.635551)'), GeomFromEWKT('SRID=4674;POINT (-39.762962 -2.635606)'))) / (select extract(epoch from '2026-07-22 16:01:40'::timestamp) - extract(epoch from '2026-07-22 16:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762862 -2.635633)', '2026-07-22 16:01:46', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762962 -2.635606)'), GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.635633)'))) / (select extract(epoch from '2026-07-22 16:01:46'::timestamp) - extract(epoch from '2026-07-22 16:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762962 -2.635606)'), GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.635633)'))) / (select extract(epoch from '2026-07-22 16:01:46'::timestamp) - extract(epoch from '2026-07-22 16:01: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'), 47870, 'SRID=4674;POINT (-39.762757 -2.635692)', '2026-07-22 16:01:53', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.635633)'), GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.635692)'))) / (select extract(epoch from '2026-07-22 16:01:53'::timestamp) - extract(epoch from '2026-07-22 16:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.635633)'), GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.635692)'))) / (select extract(epoch from '2026-07-22 16:01:53'::timestamp) - extract(epoch from '2026-07-22 16:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762644 -2.635773)', '2026-07-22 16:02:01', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.635692)'), GeomFromEWKT('SRID=4674;POINT (-39.762644 -2.635773)'))) / (select extract(epoch from '2026-07-22 16:02:01'::timestamp) - extract(epoch from '2026-07-22 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.635692)'), GeomFromEWKT('SRID=4674;POINT (-39.762644 -2.635773)'))) / (select extract(epoch from '2026-07-22 16:02:01'::timestamp) - extract(epoch from '2026-07-22 16:01: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'), 47870, 'SRID=4674;POINT (-39.762547 -2.635805)', '2026-07-22 16:02:06', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762644 -2.635773)'), GeomFromEWKT('SRID=4674;POINT (-39.762547 -2.635805)'))) / (select extract(epoch from '2026-07-22 16:02:06'::timestamp) - extract(epoch from '2026-07-22 16:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762644 -2.635773)'), GeomFromEWKT('SRID=4674;POINT (-39.762547 -2.635805)'))) / (select extract(epoch from '2026-07-22 16:02:06'::timestamp) - extract(epoch from '2026-07-22 16:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762458 -2.635826)', '2026-07-22 16:02:11', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762547 -2.635805)'), GeomFromEWKT('SRID=4674;POINT (-39.762458 -2.635826)'))) / (select extract(epoch from '2026-07-22 16:02:11'::timestamp) - extract(epoch from '2026-07-22 16:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762547 -2.635805)'), GeomFromEWKT('SRID=4674;POINT (-39.762458 -2.635826)'))) / (select extract(epoch from '2026-07-22 16:02:11'::timestamp) - extract(epoch from '2026-07-22 16:02: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'), 47870, 'SRID=4674;POINT (-39.762357 -2.635842)', '2026-07-22 16:02:17', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762458 -2.635826)'), GeomFromEWKT('SRID=4674;POINT (-39.762357 -2.635842)'))) / (select extract(epoch from '2026-07-22 16:02:17'::timestamp) - extract(epoch from '2026-07-22 16:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762458 -2.635826)'), GeomFromEWKT('SRID=4674;POINT (-39.762357 -2.635842)'))) / (select extract(epoch from '2026-07-22 16:02:17'::timestamp) - extract(epoch from '2026-07-22 16:02: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'), 47870, 'SRID=4674;POINT (-39.762308 -2.635834)', '2026-07-22 16:02:21', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762357 -2.635842)'), GeomFromEWKT('SRID=4674;POINT (-39.762308 -2.635834)'))) / (select extract(epoch from '2026-07-22 16:02:21'::timestamp) - extract(epoch from '2026-07-22 16:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762357 -2.635842)'), GeomFromEWKT('SRID=4674;POINT (-39.762308 -2.635834)'))) / (select extract(epoch from '2026-07-22 16:02:21'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762272 -2.635818)', '2026-07-22 16:02:24', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762308 -2.635834)'), GeomFromEWKT('SRID=4674;POINT (-39.762272 -2.635818)'))) / (select extract(epoch from '2026-07-22 16:02:24'::timestamp) - extract(epoch from '2026-07-22 16:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762308 -2.635834)'), GeomFromEWKT('SRID=4674;POINT (-39.762272 -2.635818)'))) / (select extract(epoch from '2026-07-22 16:02:24'::timestamp) - extract(epoch from '2026-07-22 16:02: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'), 47870, 'SRID=4674;POINT (-39.762247 -2.635798)', '2026-07-22 16:02:28', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762272 -2.635818)'), GeomFromEWKT('SRID=4674;POINT (-39.762247 -2.635798)'))) / (select extract(epoch from '2026-07-22 16:02:28'::timestamp) - extract(epoch from '2026-07-22 16:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762272 -2.635818)'), GeomFromEWKT('SRID=4674;POINT (-39.762247 -2.635798)'))) / (select extract(epoch from '2026-07-22 16:02:28'::timestamp) - extract(epoch from '2026-07-22 16:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762238 -2.635785)', '2026-07-22 16:02:30', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762247 -2.635798)'), GeomFromEWKT('SRID=4674;POINT (-39.762238 -2.635785)'))) / (select extract(epoch from '2026-07-22 16:02:30'::timestamp) - extract(epoch from '2026-07-22 16:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762247 -2.635798)'), GeomFromEWKT('SRID=4674;POINT (-39.762238 -2.635785)'))) / (select extract(epoch from '2026-07-22 16:02:30'::timestamp) - extract(epoch from '2026-07-22 16:02: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'), 47870, 'SRID=4674;POINT (-39.762232 -2.635779)', '2026-07-22 16:02:31', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762238 -2.635785)'), GeomFromEWKT('SRID=4674;POINT (-39.762232 -2.635779)'))) / (select extract(epoch from '2026-07-22 16:02:31'::timestamp) - extract(epoch from '2026-07-22 16:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762238 -2.635785)'), GeomFromEWKT('SRID=4674;POINT (-39.762232 -2.635779)'))) / (select extract(epoch from '2026-07-22 16:02:31'::timestamp) - extract(epoch from '2026-07-22 16:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762202 -2.635765)', '2026-07-22 16:02:37', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762232 -2.635779)'), GeomFromEWKT('SRID=4674;POINT (-39.762202 -2.635765)'))) / (select extract(epoch from '2026-07-22 16:02:37'::timestamp) - extract(epoch from '2026-07-22 16:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762232 -2.635779)'), GeomFromEWKT('SRID=4674;POINT (-39.762202 -2.635765)'))) / (select extract(epoch from '2026-07-22 16:02:37'::timestamp) - extract(epoch from '2026-07-22 16:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762195 -2.635752)', '2026-07-22 16:02:43', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762202 -2.635765)'), GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.635752)'))) / (select extract(epoch from '2026-07-22 16:02:43'::timestamp) - extract(epoch from '2026-07-22 16:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762202 -2.635765)'), GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.635752)'))) / (select extract(epoch from '2026-07-22 16:02:43'::timestamp) - extract(epoch from '2026-07-22 16:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762218 -2.635731)', '2026-07-22 16:02:49', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.635752)'), GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.635731)'))) / (select extract(epoch from '2026-07-22 16:02:49'::timestamp) - extract(epoch from '2026-07-22 16:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.635752)'), GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.635731)'))) / (select extract(epoch from '2026-07-22 16:02:49'::timestamp) - extract(epoch from '2026-07-22 16:02: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'), 47870, 'SRID=4674;POINT (-39.762251 -2.635698)', '2026-07-22 16:02:59', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.635731)'), GeomFromEWKT('SRID=4674;POINT (-39.762251 -2.635698)'))) / (select extract(epoch from '2026-07-22 16:02:59'::timestamp) - extract(epoch from '2026-07-22 16:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.635731)'), GeomFromEWKT('SRID=4674;POINT (-39.762251 -2.635698)'))) / (select extract(epoch from '2026-07-22 16:02:59'::timestamp) - extract(epoch from '2026-07-22 16:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762265 -2.635662)', '2026-07-22 16:03:08', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762251 -2.635698)'), GeomFromEWKT('SRID=4674;POINT (-39.762265 -2.635662)'))) / (select extract(epoch from '2026-07-22 16:03:08'::timestamp) - extract(epoch from '2026-07-22 16:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762251 -2.635698)'), GeomFromEWKT('SRID=4674;POINT (-39.762265 -2.635662)'))) / (select extract(epoch from '2026-07-22 16:03:08'::timestamp) - extract(epoch from '2026-07-22 16:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762286 -2.635642)', '2026-07-22 16:03:14', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762265 -2.635662)'), GeomFromEWKT('SRID=4674;POINT (-39.762286 -2.635642)'))) / (select extract(epoch from '2026-07-22 16:03:14'::timestamp) - extract(epoch from '2026-07-22 16:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762265 -2.635662)'), GeomFromEWKT('SRID=4674;POINT (-39.762286 -2.635642)'))) / (select extract(epoch from '2026-07-22 16:03:14'::timestamp) - extract(epoch from '2026-07-22 16:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7623 -2.635628)', '2026-07-22 16:03:25', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762286 -2.635642)'), GeomFromEWKT('SRID=4674;POINT (-39.7623 -2.635628)'))) / (select extract(epoch from '2026-07-22 16:03:25'::timestamp) - extract(epoch from '2026-07-22 16:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762286 -2.635642)'), GeomFromEWKT('SRID=4674;POINT (-39.7623 -2.635628)'))) / (select extract(epoch from '2026-07-22 16:03:25'::timestamp) - extract(epoch from '2026-07-22 16:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762309 -2.635593)', '2026-07-22 16:03:32', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7623 -2.635628)'), GeomFromEWKT('SRID=4674;POINT (-39.762309 -2.635593)'))) / (select extract(epoch from '2026-07-22 16:03:32'::timestamp) - extract(epoch from '2026-07-22 16:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7623 -2.635628)'), GeomFromEWKT('SRID=4674;POINT (-39.762309 -2.635593)'))) / (select extract(epoch from '2026-07-22 16:03:32'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762314 -2.635569)', '2026-07-22 16:03:40', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762309 -2.635593)'), GeomFromEWKT('SRID=4674;POINT (-39.762314 -2.635569)'))) / (select extract(epoch from '2026-07-22 16:03:40'::timestamp) - extract(epoch from '2026-07-22 16:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762309 -2.635593)'), GeomFromEWKT('SRID=4674;POINT (-39.762314 -2.635569)'))) / (select extract(epoch from '2026-07-22 16:03:40'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762361 -2.63553)', '2026-07-22 16:03:53', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762314 -2.635569)'), GeomFromEWKT('SRID=4674;POINT (-39.762361 -2.63553)'))) / (select extract(epoch from '2026-07-22 16:03:53'::timestamp) - extract(epoch from '2026-07-22 16:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762314 -2.635569)'), GeomFromEWKT('SRID=4674;POINT (-39.762361 -2.63553)'))) / (select extract(epoch from '2026-07-22 16:03:53'::timestamp) - extract(epoch from '2026-07-22 16:03: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'), 47870, 'SRID=4674;POINT (-39.762398 -2.635508)', '2026-07-22 16:04:01', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762361 -2.63553)'), GeomFromEWKT('SRID=4674;POINT (-39.762398 -2.635508)'))) / (select extract(epoch from '2026-07-22 16:04:01'::timestamp) - extract(epoch from '2026-07-22 16:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762361 -2.63553)'), GeomFromEWKT('SRID=4674;POINT (-39.762398 -2.635508)'))) / (select extract(epoch from '2026-07-22 16:04:01'::timestamp) - extract(epoch from '2026-07-22 16:03: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'), 47870, 'SRID=4674;POINT (-39.762462 -2.635447)', '2026-07-22 16:04:14', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762398 -2.635508)'), GeomFromEWKT('SRID=4674;POINT (-39.762462 -2.635447)'))) / (select extract(epoch from '2026-07-22 16:04:14'::timestamp) - extract(epoch from '2026-07-22 16:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762398 -2.635508)'), GeomFromEWKT('SRID=4674;POINT (-39.762462 -2.635447)'))) / (select extract(epoch from '2026-07-22 16:04:14'::timestamp) - extract(epoch from '2026-07-22 16:04: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'), 47870, 'SRID=4674;POINT (-39.762523 -2.635391)', '2026-07-22 16:04:23', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762462 -2.635447)'), GeomFromEWKT('SRID=4674;POINT (-39.762523 -2.635391)'))) / (select extract(epoch from '2026-07-22 16:04:23'::timestamp) - extract(epoch from '2026-07-22 16:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762462 -2.635447)'), GeomFromEWKT('SRID=4674;POINT (-39.762523 -2.635391)'))) / (select extract(epoch from '2026-07-22 16:04:23'::timestamp) - extract(epoch from '2026-07-22 16:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762563 -2.635375)', '2026-07-22 16:04:34', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762523 -2.635391)'), GeomFromEWKT('SRID=4674;POINT (-39.762563 -2.635375)'))) / (select extract(epoch from '2026-07-22 16:04:34'::timestamp) - extract(epoch from '2026-07-22 16:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762523 -2.635391)'), GeomFromEWKT('SRID=4674;POINT (-39.762563 -2.635375)'))) / (select extract(epoch from '2026-07-22 16:04:34'::timestamp) - extract(epoch from '2026-07-22 16:04: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'), 47870, 'SRID=4674;POINT (-39.762586 -2.635356)', '2026-07-22 16:04:43', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762563 -2.635375)'), GeomFromEWKT('SRID=4674;POINT (-39.762586 -2.635356)'))) / (select extract(epoch from '2026-07-22 16:04:43'::timestamp) - extract(epoch from '2026-07-22 16:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762563 -2.635375)'), GeomFromEWKT('SRID=4674;POINT (-39.762586 -2.635356)'))) / (select extract(epoch from '2026-07-22 16:04:43'::timestamp) - extract(epoch from '2026-07-22 16:04: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'), 47870, 'SRID=4674;POINT (-39.762635 -2.635304)', '2026-07-22 16:04:52', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762586 -2.635356)'), GeomFromEWKT('SRID=4674;POINT (-39.762635 -2.635304)'))) / (select extract(epoch from '2026-07-22 16:04:52'::timestamp) - extract(epoch from '2026-07-22 16:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762586 -2.635356)'), GeomFromEWKT('SRID=4674;POINT (-39.762635 -2.635304)'))) / (select extract(epoch from '2026-07-22 16:04:52'::timestamp) - extract(epoch from '2026-07-22 16:04: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'), 47870, 'SRID=4674;POINT (-39.762661 -2.635251)', '2026-07-22 16:05:03', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762635 -2.635304)'), GeomFromEWKT('SRID=4674;POINT (-39.762661 -2.635251)'))) / (select extract(epoch from '2026-07-22 16:05:03'::timestamp) - extract(epoch from '2026-07-22 16:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762635 -2.635304)'), GeomFromEWKT('SRID=4674;POINT (-39.762661 -2.635251)'))) / (select extract(epoch from '2026-07-22 16:05:03'::timestamp) - extract(epoch from '2026-07-22 16:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762663 -2.635196)', '2026-07-22 16:05:15', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762661 -2.635251)'), GeomFromEWKT('SRID=4674;POINT (-39.762663 -2.635196)'))) / (select extract(epoch from '2026-07-22 16:05:15'::timestamp) - extract(epoch from '2026-07-22 16:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762661 -2.635251)'), GeomFromEWKT('SRID=4674;POINT (-39.762663 -2.635196)'))) / (select extract(epoch from '2026-07-22 16:05:15'::timestamp) - extract(epoch from '2026-07-22 16:05: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'), 47870, 'SRID=4674;POINT (-39.762688 -2.635157)', '2026-07-22 16:05:24', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762663 -2.635196)'), GeomFromEWKT('SRID=4674;POINT (-39.762688 -2.635157)'))) / (select extract(epoch from '2026-07-22 16:05:24'::timestamp) - extract(epoch from '2026-07-22 16:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762663 -2.635196)'), GeomFromEWKT('SRID=4674;POINT (-39.762688 -2.635157)'))) / (select extract(epoch from '2026-07-22 16:05:24'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762701 -2.635116)', '2026-07-22 16:05:36', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762688 -2.635157)'), GeomFromEWKT('SRID=4674;POINT (-39.762701 -2.635116)'))) / (select extract(epoch from '2026-07-22 16:05:36'::timestamp) - extract(epoch from '2026-07-22 16:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762688 -2.635157)'), GeomFromEWKT('SRID=4674;POINT (-39.762701 -2.635116)'))) / (select extract(epoch from '2026-07-22 16:05:36'::timestamp) - extract(epoch from '2026-07-22 16:05: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'), 47870, 'SRID=4674;POINT (-39.762715 -2.635113)', '2026-07-22 16:05:46', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762701 -2.635116)'), GeomFromEWKT('SRID=4674;POINT (-39.762715 -2.635113)'))) / (select extract(epoch from '2026-07-22 16:05:46'::timestamp) - extract(epoch from '2026-07-22 16:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762701 -2.635116)'), GeomFromEWKT('SRID=4674;POINT (-39.762715 -2.635113)'))) / (select extract(epoch from '2026-07-22 16:05:46'::timestamp) - extract(epoch from '2026-07-22 16:05: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'), 47870, 'SRID=4674;POINT (-39.762713 -2.635115)', '2026-07-22 16:05:49', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762715 -2.635113)'), GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.635115)'))) / (select extract(epoch from '2026-07-22 16:05:49'::timestamp) - extract(epoch from '2026-07-22 16:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762715 -2.635113)'), GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.635115)'))) / (select extract(epoch from '2026-07-22 16:05:49'::timestamp) - extract(epoch from '2026-07-22 16:05: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'), 47870, 'SRID=4674;POINT (-39.762695 -2.635125)', '2026-07-22 16:05:53', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.635115)'), GeomFromEWKT('SRID=4674;POINT (-39.762695 -2.635125)'))) / (select extract(epoch from '2026-07-22 16:05:53'::timestamp) - extract(epoch from '2026-07-22 16:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.635115)'), GeomFromEWKT('SRID=4674;POINT (-39.762695 -2.635125)'))) / (select extract(epoch from '2026-07-22 16:05:53'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.76269 -2.635124)', '2026-07-22 16:06:01', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762695 -2.635125)'), GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.635124)'))) / (select extract(epoch from '2026-07-22 16:06:01'::timestamp) - extract(epoch from '2026-07-22 16:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762695 -2.635125)'), GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.635124)'))) / (select extract(epoch from '2026-07-22 16:06:01'::timestamp) - extract(epoch from '2026-07-22 16:05: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'), 47870, 'SRID=4674;POINT (-39.762674 -2.635118)', '2026-07-22 16:06:17', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.635124)'), GeomFromEWKT('SRID=4674;POINT (-39.762674 -2.635118)'))) / (select extract(epoch from '2026-07-22 16:06:17'::timestamp) - extract(epoch from '2026-07-22 16:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.635124)'), GeomFromEWKT('SRID=4674;POINT (-39.762674 -2.635118)'))) / (select extract(epoch from '2026-07-22 16:06:17'::timestamp) - extract(epoch from '2026-07-22 16:06: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'), 47870, 'SRID=4674;POINT (-39.762667 -2.635109)', '2026-07-22 16:06:20', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762674 -2.635118)'), GeomFromEWKT('SRID=4674;POINT (-39.762667 -2.635109)'))) / (select extract(epoch from '2026-07-22 16:06:20'::timestamp) - extract(epoch from '2026-07-22 16:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762674 -2.635118)'), GeomFromEWKT('SRID=4674;POINT (-39.762667 -2.635109)'))) / (select extract(epoch from '2026-07-22 16:06:20'::timestamp) - extract(epoch from '2026-07-22 16:06: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'), 47870, 'SRID=4674;POINT (-39.762673 -2.635109)', '2026-07-22 16:06:26', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762667 -2.635109)'), GeomFromEWKT('SRID=4674;POINT (-39.762673 -2.635109)'))) / (select extract(epoch from '2026-07-22 16:06:26'::timestamp) - extract(epoch from '2026-07-22 16:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762667 -2.635109)'), GeomFromEWKT('SRID=4674;POINT (-39.762673 -2.635109)'))) / (select extract(epoch from '2026-07-22 16:06:26'::timestamp) - extract(epoch from '2026-07-22 16:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762698 -2.635096)', '2026-07-22 16:06:31', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762673 -2.635109)'), GeomFromEWKT('SRID=4674;POINT (-39.762698 -2.635096)'))) / (select extract(epoch from '2026-07-22 16:06:31'::timestamp) - extract(epoch from '2026-07-22 16:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762673 -2.635109)'), GeomFromEWKT('SRID=4674;POINT (-39.762698 -2.635096)'))) / (select extract(epoch from '2026-07-22 16:06:31'::timestamp) - extract(epoch from '2026-07-22 16:06: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'), 47870, 'SRID=4674;POINT (-39.762751 -2.635094)', '2026-07-22 16:06:46', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762698 -2.635096)'), GeomFromEWKT('SRID=4674;POINT (-39.762751 -2.635094)'))) / (select extract(epoch from '2026-07-22 16:06:46'::timestamp) - extract(epoch from '2026-07-22 16:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762698 -2.635096)'), GeomFromEWKT('SRID=4674;POINT (-39.762751 -2.635094)'))) / (select extract(epoch from '2026-07-22 16:06:46'::timestamp) - extract(epoch from '2026-07-22 16:06: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'), 47870, 'SRID=4674;POINT (-39.762788 -2.635092)', '2026-07-22 16:06:53', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762751 -2.635094)'), GeomFromEWKT('SRID=4674;POINT (-39.762788 -2.635092)'))) / (select extract(epoch from '2026-07-22 16:06:53'::timestamp) - extract(epoch from '2026-07-22 16:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762751 -2.635094)'), GeomFromEWKT('SRID=4674;POINT (-39.762788 -2.635092)'))) / (select extract(epoch from '2026-07-22 16:06:53'::timestamp) - extract(epoch from '2026-07-22 16:06: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'), 47870, 'SRID=4674;POINT (-39.762772 -2.635112)', '2026-07-22 16:06:59', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762788 -2.635092)'), GeomFromEWKT('SRID=4674;POINT (-39.762772 -2.635112)'))) / (select extract(epoch from '2026-07-22 16:06:59'::timestamp) - extract(epoch from '2026-07-22 16:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762788 -2.635092)'), GeomFromEWKT('SRID=4674;POINT (-39.762772 -2.635112)'))) / (select extract(epoch from '2026-07-22 16:06:59'::timestamp) - extract(epoch from '2026-07-22 16:06: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'), 47870, 'SRID=4674;POINT (-39.762728 -2.63511)', '2026-07-22 16:07:10', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762772 -2.635112)'), GeomFromEWKT('SRID=4674;POINT (-39.762728 -2.63511)'))) / (select extract(epoch from '2026-07-22 16:07:10'::timestamp) - extract(epoch from '2026-07-22 16:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762772 -2.635112)'), GeomFromEWKT('SRID=4674;POINT (-39.762728 -2.63511)'))) / (select extract(epoch from '2026-07-22 16:07:10'::timestamp) - extract(epoch from '2026-07-22 16:06: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'), 47870, 'SRID=4674;POINT (-39.762748 -2.635127)', '2026-07-22 16:07:22', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762728 -2.63511)'), GeomFromEWKT('SRID=4674;POINT (-39.762748 -2.635127)'))) / (select extract(epoch from '2026-07-22 16:07:22'::timestamp) - extract(epoch from '2026-07-22 16:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762728 -2.63511)'), GeomFromEWKT('SRID=4674;POINT (-39.762748 -2.635127)'))) / (select extract(epoch from '2026-07-22 16:07:22'::timestamp) - extract(epoch from '2026-07-22 16:07: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'), 47870, 'SRID=4674;POINT (-39.762806 -2.635138)', '2026-07-22 16:07:35', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762748 -2.635127)'), GeomFromEWKT('SRID=4674;POINT (-39.762806 -2.635138)'))) / (select extract(epoch from '2026-07-22 16:07:35'::timestamp) - extract(epoch from '2026-07-22 16:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762748 -2.635127)'), GeomFromEWKT('SRID=4674;POINT (-39.762806 -2.635138)'))) / (select extract(epoch from '2026-07-22 16:07:35'::timestamp) - extract(epoch from '2026-07-22 16:07: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'), 47870, 'SRID=4674;POINT (-39.762833 -2.635139)', '2026-07-22 16:07:38', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762806 -2.635138)'), GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.635139)'))) / (select extract(epoch from '2026-07-22 16:07:38'::timestamp) - extract(epoch from '2026-07-22 16:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762806 -2.635138)'), GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.635139)'))) / (select extract(epoch from '2026-07-22 16:07:38'::timestamp) - extract(epoch from '2026-07-22 16:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762847 -2.635134)', '2026-07-22 16:07:42', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.635139)'), GeomFromEWKT('SRID=4674;POINT (-39.762847 -2.635134)'))) / (select extract(epoch from '2026-07-22 16:07:42'::timestamp) - extract(epoch from '2026-07-22 16:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.635139)'), GeomFromEWKT('SRID=4674;POINT (-39.762847 -2.635134)'))) / (select extract(epoch from '2026-07-22 16:07:42'::timestamp) - extract(epoch from '2026-07-22 16:07: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'), 47870, 'SRID=4674;POINT (-39.76288 -2.63512)', '2026-07-22 16:07:49', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762847 -2.635134)'), GeomFromEWKT('SRID=4674;POINT (-39.76288 -2.63512)'))) / (select extract(epoch from '2026-07-22 16:07:49'::timestamp) - extract(epoch from '2026-07-22 16:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762847 -2.635134)'), GeomFromEWKT('SRID=4674;POINT (-39.76288 -2.63512)'))) / (select extract(epoch from '2026-07-22 16:07:49'::timestamp) - extract(epoch from '2026-07-22 16:07: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'), 47870, 'SRID=4674;POINT (-39.762903 -2.635105)', '2026-07-22 16:07:56', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76288 -2.63512)'), GeomFromEWKT('SRID=4674;POINT (-39.762903 -2.635105)'))) / (select extract(epoch from '2026-07-22 16:07:56'::timestamp) - extract(epoch from '2026-07-22 16:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76288 -2.63512)'), GeomFromEWKT('SRID=4674;POINT (-39.762903 -2.635105)'))) / (select extract(epoch from '2026-07-22 16:07:56'::timestamp) - extract(epoch from '2026-07-22 16:07: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'), 47870, 'SRID=4674;POINT (-39.76294 -2.635087)', '2026-07-22 16:08:04', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762903 -2.635105)'), GeomFromEWKT('SRID=4674;POINT (-39.76294 -2.635087)'))) / (select extract(epoch from '2026-07-22 16:08:04'::timestamp) - extract(epoch from '2026-07-22 16:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762903 -2.635105)'), GeomFromEWKT('SRID=4674;POINT (-39.76294 -2.635087)'))) / (select extract(epoch from '2026-07-22 16:08:04'::timestamp) - extract(epoch from '2026-07-22 16:07: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'), 47870, 'SRID=4674;POINT (-39.762943 -2.635083)', '2026-07-22 16:08:10', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76294 -2.635087)'), GeomFromEWKT('SRID=4674;POINT (-39.762943 -2.635083)'))) / (select extract(epoch from '2026-07-22 16:08:10'::timestamp) - extract(epoch from '2026-07-22 16:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76294 -2.635087)'), GeomFromEWKT('SRID=4674;POINT (-39.762943 -2.635083)'))) / (select extract(epoch from '2026-07-22 16:08:10'::timestamp) - extract(epoch from '2026-07-22 16:08: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'), 47870, 'SRID=4674;POINT (-39.762911 -2.635099)', '2026-07-22 16:08:41', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762943 -2.635083)'), GeomFromEWKT('SRID=4674;POINT (-39.762911 -2.635099)'))) / (select extract(epoch from '2026-07-22 16:08:41'::timestamp) - extract(epoch from '2026-07-22 16:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762943 -2.635083)'), GeomFromEWKT('SRID=4674;POINT (-39.762911 -2.635099)'))) / (select extract(epoch from '2026-07-22 16:08:41'::timestamp) - extract(epoch from '2026-07-22 16:08: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'), 47870, 'SRID=4674;POINT (-39.762813 -2.635183)', '2026-07-22 16:08:51', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762911 -2.635099)'), GeomFromEWKT('SRID=4674;POINT (-39.762813 -2.635183)'))) / (select extract(epoch from '2026-07-22 16:08:51'::timestamp) - extract(epoch from '2026-07-22 16:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762911 -2.635099)'), GeomFromEWKT('SRID=4674;POINT (-39.762813 -2.635183)'))) / (select extract(epoch from '2026-07-22 16:08:51'::timestamp) - extract(epoch from '2026-07-22 16:08: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'), 47870, 'SRID=4674;POINT (-39.762725 -2.635259)', '2026-07-22 16:08:59', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762813 -2.635183)'), GeomFromEWKT('SRID=4674;POINT (-39.762725 -2.635259)'))) / (select extract(epoch from '2026-07-22 16:08:59'::timestamp) - extract(epoch from '2026-07-22 16:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762813 -2.635183)'), GeomFromEWKT('SRID=4674;POINT (-39.762725 -2.635259)'))) / (select extract(epoch from '2026-07-22 16:08:59'::timestamp) - extract(epoch from '2026-07-22 16:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762625 -2.635336)', '2026-07-22 16:09:08', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762725 -2.635259)'), GeomFromEWKT('SRID=4674;POINT (-39.762625 -2.635336)'))) / (select extract(epoch from '2026-07-22 16:09:08'::timestamp) - extract(epoch from '2026-07-22 16:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762725 -2.635259)'), GeomFromEWKT('SRID=4674;POINT (-39.762625 -2.635336)'))) / (select extract(epoch from '2026-07-22 16:09:08'::timestamp) - extract(epoch from '2026-07-22 16:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762556 -2.63539)', '2026-07-22 16:09:14', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762625 -2.635336)'), GeomFromEWKT('SRID=4674;POINT (-39.762556 -2.63539)'))) / (select extract(epoch from '2026-07-22 16:09:14'::timestamp) - extract(epoch from '2026-07-22 16:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762625 -2.635336)'), GeomFromEWKT('SRID=4674;POINT (-39.762556 -2.63539)'))) / (select extract(epoch from '2026-07-22 16:09:14'::timestamp) - extract(epoch from '2026-07-22 16:09: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'), 47870, 'SRID=4674;POINT (-39.762477 -2.635469)', '2026-07-22 16:09:22', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762556 -2.63539)'), GeomFromEWKT('SRID=4674;POINT (-39.762477 -2.635469)'))) / (select extract(epoch from '2026-07-22 16:09:22'::timestamp) - extract(epoch from '2026-07-22 16:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762556 -2.63539)'), GeomFromEWKT('SRID=4674;POINT (-39.762477 -2.635469)'))) / (select extract(epoch from '2026-07-22 16:09:22'::timestamp) - extract(epoch from '2026-07-22 16:09: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'), 47870, 'SRID=4674;POINT (-39.762405 -2.635536)', '2026-07-22 16:09:29', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762477 -2.635469)'), GeomFromEWKT('SRID=4674;POINT (-39.762405 -2.635536)'))) / (select extract(epoch from '2026-07-22 16:09:29'::timestamp) - extract(epoch from '2026-07-22 16:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762477 -2.635469)'), GeomFromEWKT('SRID=4674;POINT (-39.762405 -2.635536)'))) / (select extract(epoch from '2026-07-22 16:09:29'::timestamp) - extract(epoch from '2026-07-22 16:09: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'), 47870, 'SRID=4674;POINT (-39.762305 -2.635623)', '2026-07-22 16:09:38', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762405 -2.635536)'), GeomFromEWKT('SRID=4674;POINT (-39.762305 -2.635623)'))) / (select extract(epoch from '2026-07-22 16:09:38'::timestamp) - extract(epoch from '2026-07-22 16:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762405 -2.635536)'), GeomFromEWKT('SRID=4674;POINT (-39.762305 -2.635623)'))) / (select extract(epoch from '2026-07-22 16:09:38'::timestamp) - extract(epoch from '2026-07-22 16:09: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'), 47870, 'SRID=4674;POINT (-39.762244 -2.635715)', '2026-07-22 16:09:45', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762305 -2.635623)'), GeomFromEWKT('SRID=4674;POINT (-39.762244 -2.635715)'))) / (select extract(epoch from '2026-07-22 16:09:45'::timestamp) - extract(epoch from '2026-07-22 16:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762305 -2.635623)'), GeomFromEWKT('SRID=4674;POINT (-39.762244 -2.635715)'))) / (select extract(epoch from '2026-07-22 16:09:45'::timestamp) - extract(epoch from '2026-07-22 16:09: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'), 47870, 'SRID=4674;POINT (-39.762149 -2.63581)', '2026-07-22 16:09:52', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762244 -2.635715)'), GeomFromEWKT('SRID=4674;POINT (-39.762149 -2.63581)'))) / (select extract(epoch from '2026-07-22 16:09:52'::timestamp) - extract(epoch from '2026-07-22 16:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762244 -2.635715)'), GeomFromEWKT('SRID=4674;POINT (-39.762149 -2.63581)'))) / (select extract(epoch from '2026-07-22 16:09:52'::timestamp) - extract(epoch from '2026-07-22 16:09: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'), 47870, 'SRID=4674;POINT (-39.762136 -2.635816)', '2026-07-22 16:09:53', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762149 -2.63581)'), GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.635816)'))) / (select extract(epoch from '2026-07-22 16:09:53'::timestamp) - extract(epoch from '2026-07-22 16:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762149 -2.63581)'), GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.635816)'))) / (select extract(epoch from '2026-07-22 16:09:53'::timestamp) - extract(epoch from '2026-07-22 16:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762091 -2.635836)', '2026-07-22 16:09:57', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.635816)'), GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635836)'))) / (select extract(epoch from '2026-07-22 16:09:57'::timestamp) - extract(epoch from '2026-07-22 16:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.635816)'), GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635836)'))) / (select extract(epoch from '2026-07-22 16:09:57'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762019 -2.635848)', '2026-07-22 16:10:03', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635836)'), GeomFromEWKT('SRID=4674;POINT (-39.762019 -2.635848)'))) / (select extract(epoch from '2026-07-22 16:10:03'::timestamp) - extract(epoch from '2026-07-22 16:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635836)'), GeomFromEWKT('SRID=4674;POINT (-39.762019 -2.635848)'))) / (select extract(epoch from '2026-07-22 16:10:03'::timestamp) - extract(epoch from '2026-07-22 16:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761887 -2.635877)', '2026-07-22 16:10:11', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762019 -2.635848)'), GeomFromEWKT('SRID=4674;POINT (-39.761887 -2.635877)'))) / (select extract(epoch from '2026-07-22 16:10:11'::timestamp) - extract(epoch from '2026-07-22 16:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762019 -2.635848)'), GeomFromEWKT('SRID=4674;POINT (-39.761887 -2.635877)'))) / (select extract(epoch from '2026-07-22 16:10:11'::timestamp) - extract(epoch from '2026-07-22 16:10: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'), 47870, 'SRID=4674;POINT (-39.76175 -2.635896)', '2026-07-22 16:10:17', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761887 -2.635877)'), GeomFromEWKT('SRID=4674;POINT (-39.76175 -2.635896)'))) / (select extract(epoch from '2026-07-22 16:10:17'::timestamp) - extract(epoch from '2026-07-22 16:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761887 -2.635877)'), GeomFromEWKT('SRID=4674;POINT (-39.76175 -2.635896)'))) / (select extract(epoch from '2026-07-22 16:10:17'::timestamp) - extract(epoch from '2026-07-22 16:10: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'), 47870, 'SRID=4674;POINT (-39.761598 -2.635933)', '2026-07-22 16:10:25', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76175 -2.635896)'), GeomFromEWKT('SRID=4674;POINT (-39.761598 -2.635933)'))) / (select extract(epoch from '2026-07-22 16:10:25'::timestamp) - extract(epoch from '2026-07-22 16:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76175 -2.635896)'), GeomFromEWKT('SRID=4674;POINT (-39.761598 -2.635933)'))) / (select extract(epoch from '2026-07-22 16:10:25'::timestamp) - extract(epoch from '2026-07-22 16:10: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'), 47870, 'SRID=4674;POINT (-39.761461 -2.635962)', '2026-07-22 16:10:33', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761598 -2.635933)'), GeomFromEWKT('SRID=4674;POINT (-39.761461 -2.635962)'))) / (select extract(epoch from '2026-07-22 16:10:33'::timestamp) - extract(epoch from '2026-07-22 16:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761598 -2.635933)'), GeomFromEWKT('SRID=4674;POINT (-39.761461 -2.635962)'))) / (select extract(epoch from '2026-07-22 16:10:33'::timestamp) - extract(epoch from '2026-07-22 16:10: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'), 47870, 'SRID=4674;POINT (-39.761286 -2.636)', '2026-07-22 16:10:42', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761461 -2.635962)'), GeomFromEWKT('SRID=4674;POINT (-39.761286 -2.636)'))) / (select extract(epoch from '2026-07-22 16:10:42'::timestamp) - extract(epoch from '2026-07-22 16:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761461 -2.635962)'), GeomFromEWKT('SRID=4674;POINT (-39.761286 -2.636)'))) / (select extract(epoch from '2026-07-22 16:10:42'::timestamp) - extract(epoch from '2026-07-22 16:10: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'), 47870, 'SRID=4674;POINT (-39.761199 -2.635969)', '2026-07-22 16:10:49', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761286 -2.636)'), GeomFromEWKT('SRID=4674;POINT (-39.761199 -2.635969)'))) / (select extract(epoch from '2026-07-22 16:10:49'::timestamp) - extract(epoch from '2026-07-22 16:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761286 -2.636)'), GeomFromEWKT('SRID=4674;POINT (-39.761199 -2.635969)'))) / (select extract(epoch from '2026-07-22 16:10:49'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.761165 -2.635932)', '2026-07-22 16:10:52', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761199 -2.635969)'), GeomFromEWKT('SRID=4674;POINT (-39.761165 -2.635932)'))) / (select extract(epoch from '2026-07-22 16:10:52'::timestamp) - extract(epoch from '2026-07-22 16:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761199 -2.635969)'), GeomFromEWKT('SRID=4674;POINT (-39.761165 -2.635932)'))) / (select extract(epoch from '2026-07-22 16:10:52'::timestamp) - extract(epoch from '2026-07-22 16:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761157 -2.635905)', '2026-07-22 16:10:56', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761165 -2.635932)'), GeomFromEWKT('SRID=4674;POINT (-39.761157 -2.635905)'))) / (select extract(epoch from '2026-07-22 16:10:56'::timestamp) - extract(epoch from '2026-07-22 16:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761165 -2.635932)'), GeomFromEWKT('SRID=4674;POINT (-39.761157 -2.635905)'))) / (select extract(epoch from '2026-07-22 16:10:56'::timestamp) - extract(epoch from '2026-07-22 16:10: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'), 47870, 'SRID=4674;POINT (-39.761174 -2.635814)', '2026-07-22 16:11:09', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761157 -2.635905)'), GeomFromEWKT('SRID=4674;POINT (-39.761174 -2.635814)'))) / (select extract(epoch from '2026-07-22 16:11:09'::timestamp) - extract(epoch from '2026-07-22 16:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761157 -2.635905)'), GeomFromEWKT('SRID=4674;POINT (-39.761174 -2.635814)'))) / (select extract(epoch from '2026-07-22 16:11:09'::timestamp) - extract(epoch from '2026-07-22 16:10: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'), 47870, 'SRID=4674;POINT (-39.761226 -2.635748)', '2026-07-22 16:11:19', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761174 -2.635814)'), GeomFromEWKT('SRID=4674;POINT (-39.761226 -2.635748)'))) / (select extract(epoch from '2026-07-22 16:11:19'::timestamp) - extract(epoch from '2026-07-22 16:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761174 -2.635814)'), GeomFromEWKT('SRID=4674;POINT (-39.761226 -2.635748)'))) / (select extract(epoch from '2026-07-22 16:11:19'::timestamp) - extract(epoch from '2026-07-22 16:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761233 -2.63574)', '2026-07-22 16:11:20', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761226 -2.635748)'), GeomFromEWKT('SRID=4674;POINT (-39.761233 -2.63574)'))) / (select extract(epoch from '2026-07-22 16:11:20'::timestamp) - extract(epoch from '2026-07-22 16:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761226 -2.635748)'), GeomFromEWKT('SRID=4674;POINT (-39.761233 -2.63574)'))) / (select extract(epoch from '2026-07-22 16:11:20'::timestamp) - extract(epoch from '2026-07-22 16:11: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'), 47870, 'SRID=4674;POINT (-39.761261 -2.63571)', '2026-07-22 16:11:24', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761233 -2.63574)'), GeomFromEWKT('SRID=4674;POINT (-39.761261 -2.63571)'))) / (select extract(epoch from '2026-07-22 16:11:24'::timestamp) - extract(epoch from '2026-07-22 16:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761233 -2.63574)'), GeomFromEWKT('SRID=4674;POINT (-39.761261 -2.63571)'))) / (select extract(epoch from '2026-07-22 16:11:24'::timestamp) - extract(epoch from '2026-07-22 16:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76129 -2.635677)', '2026-07-22 16:11:31', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761261 -2.63571)'), GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.635677)'))) / (select extract(epoch from '2026-07-22 16:11:31'::timestamp) - extract(epoch from '2026-07-22 16:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761261 -2.63571)'), GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.635677)'))) / (select extract(epoch from '2026-07-22 16:11:31'::timestamp) - extract(epoch from '2026-07-22 16:11: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'), 47870, 'SRID=4674;POINT (-39.761299 -2.635616)', '2026-07-22 16:11:40', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.635677)'), GeomFromEWKT('SRID=4674;POINT (-39.761299 -2.635616)'))) / (select extract(epoch from '2026-07-22 16:11:40'::timestamp) - extract(epoch from '2026-07-22 16:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.635677)'), GeomFromEWKT('SRID=4674;POINT (-39.761299 -2.635616)'))) / (select extract(epoch from '2026-07-22 16:11:40'::timestamp) - extract(epoch from '2026-07-22 16:11: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'), 47870, 'SRID=4674;POINT (-39.761281 -2.635626)', '2026-07-22 16:11:48', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761299 -2.635616)'), GeomFromEWKT('SRID=4674;POINT (-39.761281 -2.635626)'))) / (select extract(epoch from '2026-07-22 16:11:48'::timestamp) - extract(epoch from '2026-07-22 16:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761299 -2.635616)'), GeomFromEWKT('SRID=4674;POINT (-39.761281 -2.635626)'))) / (select extract(epoch from '2026-07-22 16:11:48'::timestamp) - extract(epoch from '2026-07-22 16:11: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'), 47870, 'SRID=4674;POINT (-39.761277 -2.635634)', '2026-07-22 16:11:55', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761281 -2.635626)'), GeomFromEWKT('SRID=4674;POINT (-39.761277 -2.635634)'))) / (select extract(epoch from '2026-07-22 16:11:55'::timestamp) - extract(epoch from '2026-07-22 16:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761281 -2.635626)'), GeomFromEWKT('SRID=4674;POINT (-39.761277 -2.635634)'))) / (select extract(epoch from '2026-07-22 16:11:55'::timestamp) - extract(epoch from '2026-07-22 16:11: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'), 47870, 'SRID=4674;POINT (-39.761313 -2.635639)', '2026-07-22 16:12:06', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761277 -2.635634)'), GeomFromEWKT('SRID=4674;POINT (-39.761313 -2.635639)'))) / (select extract(epoch from '2026-07-22 16:12:06'::timestamp) - extract(epoch from '2026-07-22 16:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761277 -2.635634)'), GeomFromEWKT('SRID=4674;POINT (-39.761313 -2.635639)'))) / (select extract(epoch from '2026-07-22 16:12:06'::timestamp) - extract(epoch from '2026-07-22 16:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761364 -2.635625)', '2026-07-22 16:12:18', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761313 -2.635639)'), GeomFromEWKT('SRID=4674;POINT (-39.761364 -2.635625)'))) / (select extract(epoch from '2026-07-22 16:12:18'::timestamp) - extract(epoch from '2026-07-22 16:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761313 -2.635639)'), GeomFromEWKT('SRID=4674;POINT (-39.761364 -2.635625)'))) / (select extract(epoch from '2026-07-22 16:12:18'::timestamp) - extract(epoch from '2026-07-22 16:12: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'), 47870, 'SRID=4674;POINT (-39.761393 -2.635613)', '2026-07-22 16:12:24', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761364 -2.635625)'), GeomFromEWKT('SRID=4674;POINT (-39.761393 -2.635613)'))) / (select extract(epoch from '2026-07-22 16:12:24'::timestamp) - extract(epoch from '2026-07-22 16:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761364 -2.635625)'), GeomFromEWKT('SRID=4674;POINT (-39.761393 -2.635613)'))) / (select extract(epoch from '2026-07-22 16:12:24'::timestamp) - extract(epoch from '2026-07-22 16:12: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'), 47870, 'SRID=4674;POINT (-39.761467 -2.63557)', '2026-07-22 16:12:37', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761393 -2.635613)'), GeomFromEWKT('SRID=4674;POINT (-39.761467 -2.63557)'))) / (select extract(epoch from '2026-07-22 16:12:37'::timestamp) - extract(epoch from '2026-07-22 16:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761393 -2.635613)'), GeomFromEWKT('SRID=4674;POINT (-39.761467 -2.63557)'))) / (select extract(epoch from '2026-07-22 16:12:37'::timestamp) - extract(epoch from '2026-07-22 16:12: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'), 47870, 'SRID=4674;POINT (-39.761539 -2.63551)', '2026-07-22 16:12:48', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761467 -2.63557)'), GeomFromEWKT('SRID=4674;POINT (-39.761539 -2.63551)'))) / (select extract(epoch from '2026-07-22 16:12:48'::timestamp) - extract(epoch from '2026-07-22 16:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761467 -2.63557)'), GeomFromEWKT('SRID=4674;POINT (-39.761539 -2.63551)'))) / (select extract(epoch from '2026-07-22 16:12:48'::timestamp) - extract(epoch from '2026-07-22 16:12: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'), 47870, 'SRID=4674;POINT (-39.761634 -2.635456)', '2026-07-22 16:12:59', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761539 -2.63551)'), GeomFromEWKT('SRID=4674;POINT (-39.761634 -2.635456)'))) / (select extract(epoch from '2026-07-22 16:12:59'::timestamp) - extract(epoch from '2026-07-22 16:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761539 -2.63551)'), GeomFromEWKT('SRID=4674;POINT (-39.761634 -2.635456)'))) / (select extract(epoch from '2026-07-22 16:12:59'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.761665 -2.635442)', '2026-07-22 16:13:03', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761634 -2.635456)'), GeomFromEWKT('SRID=4674;POINT (-39.761665 -2.635442)'))) / (select extract(epoch from '2026-07-22 16:13:03'::timestamp) - extract(epoch from '2026-07-22 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761634 -2.635456)'), GeomFromEWKT('SRID=4674;POINT (-39.761665 -2.635442)'))) / (select extract(epoch from '2026-07-22 16:13:03'::timestamp) - extract(epoch from '2026-07-22 16:12: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'), 47870, 'SRID=4674;POINT (-39.761697 -2.635421)', '2026-07-22 16:13:07', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761665 -2.635442)'), GeomFromEWKT('SRID=4674;POINT (-39.761697 -2.635421)'))) / (select extract(epoch from '2026-07-22 16:13:07'::timestamp) - extract(epoch from '2026-07-22 16:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761665 -2.635442)'), GeomFromEWKT('SRID=4674;POINT (-39.761697 -2.635421)'))) / (select extract(epoch from '2026-07-22 16:13:07'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.761768 -2.635375)', '2026-07-22 16:13:17', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761697 -2.635421)'), GeomFromEWKT('SRID=4674;POINT (-39.761768 -2.635375)'))) / (select extract(epoch from '2026-07-22 16:13:17'::timestamp) - extract(epoch from '2026-07-22 16:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761697 -2.635421)'), GeomFromEWKT('SRID=4674;POINT (-39.761768 -2.635375)'))) / (select extract(epoch from '2026-07-22 16:13:17'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.761828 -2.635311)', '2026-07-22 16:13:28', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761768 -2.635375)'), GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.635311)'))) / (select extract(epoch from '2026-07-22 16:13:28'::timestamp) - extract(epoch from '2026-07-22 16:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761768 -2.635375)'), GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.635311)'))) / (select extract(epoch from '2026-07-22 16:13:28'::timestamp) - extract(epoch from '2026-07-22 16:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76183 -2.635303)', '2026-07-22 16:13:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.635311)'), GeomFromEWKT('SRID=4674;POINT (-39.76183 -2.635303)'))) / (select extract(epoch from '2026-07-22 16:13:30'::timestamp) - extract(epoch from '2026-07-22 16:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.635311)'), GeomFromEWKT('SRID=4674;POINT (-39.76183 -2.635303)'))) / (select extract(epoch from '2026-07-22 16:13:30'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.761842 -2.635281)', '2026-07-22 16:13:32', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76183 -2.635303)'), GeomFromEWKT('SRID=4674;POINT (-39.761842 -2.635281)'))) / (select extract(epoch from '2026-07-22 16:13:32'::timestamp) - extract(epoch from '2026-07-22 16:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76183 -2.635303)'), GeomFromEWKT('SRID=4674;POINT (-39.761842 -2.635281)'))) / (select extract(epoch from '2026-07-22 16:13:32'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.761854 -2.635264)', '2026-07-22 16:13:34', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761842 -2.635281)'), GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'))) / (select extract(epoch from '2026-07-22 16:13:34'::timestamp) - extract(epoch from '2026-07-22 16:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761842 -2.635281)'), GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'))) / (select extract(epoch from '2026-07-22 16:13:34'::timestamp) - extract(epoch from '2026-07-22 16:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761854 -2.635264)', '2026-07-22 16:13:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'), GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'))) / (select extract(epoch from '2026-07-22 16:13:35'::timestamp) - extract(epoch from '2026-07-22 16:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'), GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'))) / (select extract(epoch from '2026-07-22 16:13:35'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.761862 -2.635223)', '2026-07-22 16:13:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'), GeomFromEWKT('SRID=4674;POINT (-39.761862 -2.635223)'))) / (select extract(epoch from '2026-07-22 16:13:40'::timestamp) - extract(epoch from '2026-07-22 16:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761854 -2.635264)'), GeomFromEWKT('SRID=4674;POINT (-39.761862 -2.635223)'))) / (select extract(epoch from '2026-07-22 16:13:40'::timestamp) - extract(epoch from '2026-07-22 16:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761878 -2.6352)', '2026-07-22 16:13:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761862 -2.635223)'), GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.6352)'))) / (select extract(epoch from '2026-07-22 16:13:42'::timestamp) - extract(epoch from '2026-07-22 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761862 -2.635223)'), GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.6352)'))) / (select extract(epoch from '2026-07-22 16:13:42'::timestamp) - extract(epoch from '2026-07-22 16:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761878 -2.635192)', '2026-07-22 16:13:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.6352)'), GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.635192)'))) / (select extract(epoch from '2026-07-22 16:13:43'::timestamp) - extract(epoch from '2026-07-22 16:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.6352)'), GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.635192)'))) / (select extract(epoch from '2026-07-22 16:13:43'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.761895 -2.635166)', '2026-07-22 16:13:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.635192)'), GeomFromEWKT('SRID=4674;POINT (-39.761895 -2.635166)'))) / (select extract(epoch from '2026-07-22 16:13:48'::timestamp) - extract(epoch from '2026-07-22 16:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761878 -2.635192)'), GeomFromEWKT('SRID=4674;POINT (-39.761895 -2.635166)'))) / (select extract(epoch from '2026-07-22 16:13:48'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.761921 -2.635122)', '2026-07-22 16:13:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761895 -2.635166)'), GeomFromEWKT('SRID=4674;POINT (-39.761921 -2.635122)'))) / (select extract(epoch from '2026-07-22 16:13:53'::timestamp) - extract(epoch from '2026-07-22 16:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761895 -2.635166)'), GeomFromEWKT('SRID=4674;POINT (-39.761921 -2.635122)'))) / (select extract(epoch from '2026-07-22 16:13:53'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.76193 -2.635116)', '2026-07-22 16:13:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761921 -2.635122)'), GeomFromEWKT('SRID=4674;POINT (-39.76193 -2.635116)'))) / (select extract(epoch from '2026-07-22 16:13:55'::timestamp) - extract(epoch from '2026-07-22 16:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761921 -2.635122)'), GeomFromEWKT('SRID=4674;POINT (-39.76193 -2.635116)'))) / (select extract(epoch from '2026-07-22 16:13:55'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.761947 -2.635099)', '2026-07-22 16:13:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76193 -2.635116)'), GeomFromEWKT('SRID=4674;POINT (-39.761947 -2.635099)'))) / (select extract(epoch from '2026-07-22 16:13:57'::timestamp) - extract(epoch from '2026-07-22 16:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76193 -2.635116)'), GeomFromEWKT('SRID=4674;POINT (-39.761947 -2.635099)'))) / (select extract(epoch from '2026-07-22 16:13:57'::timestamp) - extract(epoch from '2026-07-22 16:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761973 -2.635068)', '2026-07-22 16:14:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761947 -2.635099)'), GeomFromEWKT('SRID=4674;POINT (-39.761973 -2.635068)'))) / (select extract(epoch from '2026-07-22 16:14:02'::timestamp) - extract(epoch from '2026-07-22 16:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761947 -2.635099)'), GeomFromEWKT('SRID=4674;POINT (-39.761973 -2.635068)'))) / (select extract(epoch from '2026-07-22 16:14:02'::timestamp) - extract(epoch from '2026-07-22 16:13: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'), 47870, 'SRID=4674;POINT (-39.76203 -2.634987)', '2026-07-22 16:14:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761973 -2.635068)'), GeomFromEWKT('SRID=4674;POINT (-39.76203 -2.634987)'))) / (select extract(epoch from '2026-07-22 16:14:17'::timestamp) - extract(epoch from '2026-07-22 16:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761973 -2.635068)'), GeomFromEWKT('SRID=4674;POINT (-39.76203 -2.634987)'))) / (select extract(epoch from '2026-07-22 16:14:17'::timestamp) - extract(epoch from '2026-07-22 16:14: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'), 47870, 'SRID=4674;POINT (-39.762102 -2.634912)', '2026-07-22 16:14:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76203 -2.634987)'), GeomFromEWKT('SRID=4674;POINT (-39.762102 -2.634912)'))) / (select extract(epoch from '2026-07-22 16:14:30'::timestamp) - extract(epoch from '2026-07-22 16:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76203 -2.634987)'), GeomFromEWKT('SRID=4674;POINT (-39.762102 -2.634912)'))) / (select extract(epoch from '2026-07-22 16:14:30'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762181 -2.634817)', '2026-07-22 16:14:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762102 -2.634912)'), GeomFromEWKT('SRID=4674;POINT (-39.762181 -2.634817)'))) / (select extract(epoch from '2026-07-22 16:14:45'::timestamp) - extract(epoch from '2026-07-22 16:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762102 -2.634912)'), GeomFromEWKT('SRID=4674;POINT (-39.762181 -2.634817)'))) / (select extract(epoch from '2026-07-22 16:14:45'::timestamp) - extract(epoch from '2026-07-22 16:14: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'), 47870, 'SRID=4674;POINT (-39.76226 -2.634699)', '2026-07-22 16:15:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762181 -2.634817)'), GeomFromEWKT('SRID=4674;POINT (-39.76226 -2.634699)'))) / (select extract(epoch from '2026-07-22 16:15:02'::timestamp) - extract(epoch from '2026-07-22 16:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762181 -2.634817)'), GeomFromEWKT('SRID=4674;POINT (-39.76226 -2.634699)'))) / (select extract(epoch from '2026-07-22 16:15:02'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762306 -2.634672)', '2026-07-22 16:15:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76226 -2.634699)'), GeomFromEWKT('SRID=4674;POINT (-39.762306 -2.634672)'))) / (select extract(epoch from '2026-07-22 16:15:09'::timestamp) - extract(epoch from '2026-07-22 16:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76226 -2.634699)'), GeomFromEWKT('SRID=4674;POINT (-39.762306 -2.634672)'))) / (select extract(epoch from '2026-07-22 16:15:09'::timestamp) - extract(epoch from '2026-07-22 16:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762331 -2.63462)', '2026-07-22 16:15:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762306 -2.634672)'), GeomFromEWKT('SRID=4674;POINT (-39.762331 -2.63462)'))) / (select extract(epoch from '2026-07-22 16:15:18'::timestamp) - extract(epoch from '2026-07-22 16:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762306 -2.634672)'), GeomFromEWKT('SRID=4674;POINT (-39.762331 -2.63462)'))) / (select extract(epoch from '2026-07-22 16:15:18'::timestamp) - extract(epoch from '2026-07-22 16:15: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'), 47870, 'SRID=4674;POINT (-39.76228 -2.634574)', '2026-07-22 16:15:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762331 -2.63462)'), GeomFromEWKT('SRID=4674;POINT (-39.76228 -2.634574)'))) / (select extract(epoch from '2026-07-22 16:15:26'::timestamp) - extract(epoch from '2026-07-22 16:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762331 -2.63462)'), GeomFromEWKT('SRID=4674;POINT (-39.76228 -2.634574)'))) / (select extract(epoch from '2026-07-22 16:15:26'::timestamp) - extract(epoch from '2026-07-22 16:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762218 -2.634595)', '2026-07-22 16:15:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76228 -2.634574)'), GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.634595)'))) / (select extract(epoch from '2026-07-22 16:15:34'::timestamp) - extract(epoch from '2026-07-22 16:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76228 -2.634574)'), GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.634595)'))) / (select extract(epoch from '2026-07-22 16:15:34'::timestamp) - extract(epoch from '2026-07-22 16:15: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'), 47870, 'SRID=4674;POINT (-39.762195 -2.634657)', '2026-07-22 16:15:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.634595)'), GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.634657)'))) / (select extract(epoch from '2026-07-22 16:15:44'::timestamp) - extract(epoch from '2026-07-22 16:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762218 -2.634595)'), GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.634657)'))) / (select extract(epoch from '2026-07-22 16:15:44'::timestamp) - extract(epoch from '2026-07-22 16:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762186 -2.634723)', '2026-07-22 16:15:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.634657)'), GeomFromEWKT('SRID=4674;POINT (-39.762186 -2.634723)'))) / (select extract(epoch from '2026-07-22 16:15:50'::timestamp) - extract(epoch from '2026-07-22 16:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762195 -2.634657)'), GeomFromEWKT('SRID=4674;POINT (-39.762186 -2.634723)'))) / (select extract(epoch from '2026-07-22 16:15:50'::timestamp) - extract(epoch from '2026-07-22 16:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762142 -2.634813)', '2026-07-22 16:15:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762186 -2.634723)'), GeomFromEWKT('SRID=4674;POINT (-39.762142 -2.634813)'))) / (select extract(epoch from '2026-07-22 16:15:57'::timestamp) - extract(epoch from '2026-07-22 16:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762186 -2.634723)'), GeomFromEWKT('SRID=4674;POINT (-39.762142 -2.634813)'))) / (select extract(epoch from '2026-07-22 16:15:57'::timestamp) - extract(epoch from '2026-07-22 16:15: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'), 47870, 'SRID=4674;POINT (-39.762117 -2.634916)', '2026-07-22 16:16:04', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762142 -2.634813)'), GeomFromEWKT('SRID=4674;POINT (-39.762117 -2.634916)'))) / (select extract(epoch from '2026-07-22 16:16:04'::timestamp) - extract(epoch from '2026-07-22 16:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762142 -2.634813)'), GeomFromEWKT('SRID=4674;POINT (-39.762117 -2.634916)'))) / (select extract(epoch from '2026-07-22 16:16:04'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762095 -2.635019)', '2026-07-22 16:16:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762117 -2.634916)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635019)'))) / (select extract(epoch from '2026-07-22 16:16:10'::timestamp) - extract(epoch from '2026-07-22 16:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762117 -2.634916)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635019)'))) / (select extract(epoch from '2026-07-22 16:16:10'::timestamp) - extract(epoch from '2026-07-22 16:16: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'), 47870, 'SRID=4674;POINT (-39.762095 -2.635034)', '2026-07-22 16:16:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635019)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635034)'))) / (select extract(epoch from '2026-07-22 16:16:11'::timestamp) - extract(epoch from '2026-07-22 16:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635019)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635034)'))) / (select extract(epoch from '2026-07-22 16:16:11'::timestamp) - extract(epoch from '2026-07-22 16:16: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'), 47870, 'SRID=4674;POINT (-39.762096 -2.6351)', '2026-07-22 16:16:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635034)'), GeomFromEWKT('SRID=4674;POINT (-39.762096 -2.6351)'))) / (select extract(epoch from '2026-07-22 16:16:15'::timestamp) - extract(epoch from '2026-07-22 16:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635034)'), GeomFromEWKT('SRID=4674;POINT (-39.762096 -2.6351)'))) / (select extract(epoch from '2026-07-22 16:16:15'::timestamp) - extract(epoch from '2026-07-22 16:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762106 -2.63522)', '2026-07-22 16:16:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762096 -2.6351)'), GeomFromEWKT('SRID=4674;POINT (-39.762106 -2.63522)'))) / (select extract(epoch from '2026-07-22 16:16:22'::timestamp) - extract(epoch from '2026-07-22 16:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762096 -2.6351)'), GeomFromEWKT('SRID=4674;POINT (-39.762106 -2.63522)'))) / (select extract(epoch from '2026-07-22 16:16:22'::timestamp) - extract(epoch from '2026-07-22 16:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7621 -2.635261)', '2026-07-22 16:16:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762106 -2.63522)'), GeomFromEWKT('SRID=4674;POINT (-39.7621 -2.635261)'))) / (select extract(epoch from '2026-07-22 16:16:24'::timestamp) - extract(epoch from '2026-07-22 16:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762106 -2.63522)'), GeomFromEWKT('SRID=4674;POINT (-39.7621 -2.635261)'))) / (select extract(epoch from '2026-07-22 16:16:24'::timestamp) - extract(epoch from '2026-07-22 16:16: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'), 47870, 'SRID=4674;POINT (-39.762095 -2.635311)', '2026-07-22 16:16:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7621 -2.635261)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635311)'))) / (select extract(epoch from '2026-07-22 16:16:27'::timestamp) - extract(epoch from '2026-07-22 16:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7621 -2.635261)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635311)'))) / (select extract(epoch from '2026-07-22 16:16:27'::timestamp) - extract(epoch from '2026-07-22 16:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762091 -2.635423)', '2026-07-22 16:16:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635311)'), GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635423)'))) / (select extract(epoch from '2026-07-22 16:16:34'::timestamp) - extract(epoch from '2026-07-22 16:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.635311)'), GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635423)'))) / (select extract(epoch from '2026-07-22 16:16:34'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762099 -2.635444)', '2026-07-22 16:16:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635423)'), GeomFromEWKT('SRID=4674;POINT (-39.762099 -2.635444)'))) / (select extract(epoch from '2026-07-22 16:16:36'::timestamp) - extract(epoch from '2026-07-22 16:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762091 -2.635423)'), GeomFromEWKT('SRID=4674;POINT (-39.762099 -2.635444)'))) / (select extract(epoch from '2026-07-22 16:16:36'::timestamp) - extract(epoch from '2026-07-22 16:16: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'), 47870, 'SRID=4674;POINT (-39.762094 -2.635491)', '2026-07-22 16:16:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762099 -2.635444)'), GeomFromEWKT('SRID=4674;POINT (-39.762094 -2.635491)'))) / (select extract(epoch from '2026-07-22 16:16:39'::timestamp) - extract(epoch from '2026-07-22 16:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762099 -2.635444)'), GeomFromEWKT('SRID=4674;POINT (-39.762094 -2.635491)'))) / (select extract(epoch from '2026-07-22 16:16:39'::timestamp) - extract(epoch from '2026-07-22 16:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762079 -2.63559)', '2026-07-22 16:16:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762094 -2.635491)'), GeomFromEWKT('SRID=4674;POINT (-39.762079 -2.63559)'))) / (select extract(epoch from '2026-07-22 16:16:46'::timestamp) - extract(epoch from '2026-07-22 16:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762094 -2.635491)'), GeomFromEWKT('SRID=4674;POINT (-39.762079 -2.63559)'))) / (select extract(epoch from '2026-07-22 16:16:46'::timestamp) - extract(epoch from '2026-07-22 16:16: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'), 47870, 'SRID=4674;POINT (-39.762055 -2.635689)', '2026-07-22 16:16:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762079 -2.63559)'), GeomFromEWKT('SRID=4674;POINT (-39.762055 -2.635689)'))) / (select extract(epoch from '2026-07-22 16:16:52'::timestamp) - extract(epoch from '2026-07-22 16:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762079 -2.63559)'), GeomFromEWKT('SRID=4674;POINT (-39.762055 -2.635689)'))) / (select extract(epoch from '2026-07-22 16:16:52'::timestamp) - extract(epoch from '2026-07-22 16:16: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'), 47870, 'SRID=4674;POINT (-39.762048 -2.635736)', '2026-07-22 16:16:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762055 -2.635689)'), GeomFromEWKT('SRID=4674;POINT (-39.762048 -2.635736)'))) / (select extract(epoch from '2026-07-22 16:16:55'::timestamp) - extract(epoch from '2026-07-22 16:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762055 -2.635689)'), GeomFromEWKT('SRID=4674;POINT (-39.762048 -2.635736)'))) / (select extract(epoch from '2026-07-22 16:16:55'::timestamp) - extract(epoch from '2026-07-22 16:16: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'), 47870, 'SRID=4674;POINT (-39.762035 -2.635777)', '2026-07-22 16:16:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762048 -2.635736)'), GeomFromEWKT('SRID=4674;POINT (-39.762035 -2.635777)'))) / (select extract(epoch from '2026-07-22 16:16:57'::timestamp) - extract(epoch from '2026-07-22 16:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762048 -2.635736)'), GeomFromEWKT('SRID=4674;POINT (-39.762035 -2.635777)'))) / (select extract(epoch from '2026-07-22 16:16:57'::timestamp) - extract(epoch from '2026-07-22 16:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76204 -2.635848)', '2026-07-22 16:17:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762035 -2.635777)'), GeomFromEWKT('SRID=4674;POINT (-39.76204 -2.635848)'))) / (select extract(epoch from '2026-07-22 16:17:01'::timestamp) - extract(epoch from '2026-07-22 16:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762035 -2.635777)'), GeomFromEWKT('SRID=4674;POINT (-39.76204 -2.635848)'))) / (select extract(epoch from '2026-07-22 16:17:01'::timestamp) - extract(epoch from '2026-07-22 16:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762041 -2.635867)', '2026-07-22 16:17:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76204 -2.635848)'), GeomFromEWKT('SRID=4674;POINT (-39.762041 -2.635867)'))) / (select extract(epoch from '2026-07-22 16:17:02'::timestamp) - extract(epoch from '2026-07-22 16:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76204 -2.635848)'), GeomFromEWKT('SRID=4674;POINT (-39.762041 -2.635867)'))) / (select extract(epoch from '2026-07-22 16:17:02'::timestamp) - extract(epoch from '2026-07-22 16:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762058 -2.636018)', '2026-07-22 16:17:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762041 -2.635867)'), GeomFromEWKT('SRID=4674;POINT (-39.762058 -2.636018)'))) / (select extract(epoch from '2026-07-22 16:17:10'::timestamp) - extract(epoch from '2026-07-22 16:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762041 -2.635867)'), GeomFromEWKT('SRID=4674;POINT (-39.762058 -2.636018)'))) / (select extract(epoch from '2026-07-22 16:17:10'::timestamp) - extract(epoch from '2026-07-22 16:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762045 -2.636125)', '2026-07-22 16:17:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762058 -2.636018)'), GeomFromEWKT('SRID=4674;POINT (-39.762045 -2.636125)'))) / (select extract(epoch from '2026-07-22 16:17:16'::timestamp) - extract(epoch from '2026-07-22 16:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762058 -2.636018)'), GeomFromEWKT('SRID=4674;POINT (-39.762045 -2.636125)'))) / (select extract(epoch from '2026-07-22 16:17:16'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.76201 -2.636211)', '2026-07-22 16:17:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762045 -2.636125)'), GeomFromEWKT('SRID=4674;POINT (-39.76201 -2.636211)'))) / (select extract(epoch from '2026-07-22 16:17:23'::timestamp) - extract(epoch from '2026-07-22 16:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762045 -2.636125)'), GeomFromEWKT('SRID=4674;POINT (-39.76201 -2.636211)'))) / (select extract(epoch from '2026-07-22 16:17:23'::timestamp) - extract(epoch from '2026-07-22 16:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762 -2.636245)', '2026-07-22 16:17:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76201 -2.636211)'), GeomFromEWKT('SRID=4674;POINT (-39.762 -2.636245)'))) / (select extract(epoch from '2026-07-22 16:17:29'::timestamp) - extract(epoch from '2026-07-22 16:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76201 -2.636211)'), GeomFromEWKT('SRID=4674;POINT (-39.762 -2.636245)'))) / (select extract(epoch from '2026-07-22 16:17:29'::timestamp) - extract(epoch from '2026-07-22 16:17: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'), 47870, 'SRID=4674;POINT (-39.762002 -2.636267)', '2026-07-22 16:17:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762 -2.636245)'), GeomFromEWKT('SRID=4674;POINT (-39.762002 -2.636267)'))) / (select extract(epoch from '2026-07-22 16:17:37'::timestamp) - extract(epoch from '2026-07-22 16:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762 -2.636245)'), GeomFromEWKT('SRID=4674;POINT (-39.762002 -2.636267)'))) / (select extract(epoch from '2026-07-22 16:17:37'::timestamp) - extract(epoch from '2026-07-22 16:17: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'), 47870, 'SRID=4674;POINT (-39.762005 -2.636267)', '2026-07-22 16:17:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762002 -2.636267)'), GeomFromEWKT('SRID=4674;POINT (-39.762005 -2.636267)'))) / (select extract(epoch from '2026-07-22 16:17:50'::timestamp) - extract(epoch from '2026-07-22 16:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762002 -2.636267)'), GeomFromEWKT('SRID=4674;POINT (-39.762005 -2.636267)'))) / (select extract(epoch from '2026-07-22 16:17:50'::timestamp) - extract(epoch from '2026-07-22 16:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762033 -2.636276)', '2026-07-22 16:17:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762005 -2.636267)'), GeomFromEWKT('SRID=4674;POINT (-39.762033 -2.636276)'))) / (select extract(epoch from '2026-07-22 16:17:56'::timestamp) - extract(epoch from '2026-07-22 16:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762005 -2.636267)'), GeomFromEWKT('SRID=4674;POINT (-39.762033 -2.636276)'))) / (select extract(epoch from '2026-07-22 16:17:56'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.76207 -2.636273)', '2026-07-22 16:18:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762033 -2.636276)'), GeomFromEWKT('SRID=4674;POINT (-39.76207 -2.636273)'))) / (select extract(epoch from '2026-07-22 16:18:08'::timestamp) - extract(epoch from '2026-07-22 16:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762033 -2.636276)'), GeomFromEWKT('SRID=4674;POINT (-39.76207 -2.636273)'))) / (select extract(epoch from '2026-07-22 16:18:08'::timestamp) - extract(epoch from '2026-07-22 16:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762155 -2.636249)', '2026-07-22 16:18:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76207 -2.636273)'), GeomFromEWKT('SRID=4674;POINT (-39.762155 -2.636249)'))) / (select extract(epoch from '2026-07-22 16:18:18'::timestamp) - extract(epoch from '2026-07-22 16:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76207 -2.636273)'), GeomFromEWKT('SRID=4674;POINT (-39.762155 -2.636249)'))) / (select extract(epoch from '2026-07-22 16:18:18'::timestamp) - extract(epoch from '2026-07-22 16:18: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'), 47870, 'SRID=4674;POINT (-39.76223 -2.63624)', '2026-07-22 16:18:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762155 -2.636249)'), GeomFromEWKT('SRID=4674;POINT (-39.76223 -2.63624)'))) / (select extract(epoch from '2026-07-22 16:18:27'::timestamp) - extract(epoch from '2026-07-22 16:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762155 -2.636249)'), GeomFromEWKT('SRID=4674;POINT (-39.76223 -2.63624)'))) / (select extract(epoch from '2026-07-22 16:18:27'::timestamp) - extract(epoch from '2026-07-22 16:18: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'), 47870, 'SRID=4674;POINT (-39.762245 -2.636235)', '2026-07-22 16:18:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76223 -2.63624)'), GeomFromEWKT('SRID=4674;POINT (-39.762245 -2.636235)'))) / (select extract(epoch from '2026-07-22 16:18:29'::timestamp) - extract(epoch from '2026-07-22 16:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76223 -2.63624)'), GeomFromEWKT('SRID=4674;POINT (-39.762245 -2.636235)'))) / (select extract(epoch from '2026-07-22 16:18:29'::timestamp) - extract(epoch from '2026-07-22 16:18: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'), 47870, 'SRID=4674;POINT (-39.762346 -2.636214)', '2026-07-22 16:18:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762245 -2.636235)'), GeomFromEWKT('SRID=4674;POINT (-39.762346 -2.636214)'))) / (select extract(epoch from '2026-07-22 16:18:43'::timestamp) - extract(epoch from '2026-07-22 16:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762245 -2.636235)'), GeomFromEWKT('SRID=4674;POINT (-39.762346 -2.636214)'))) / (select extract(epoch from '2026-07-22 16:18:43'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762423 -2.636203)', '2026-07-22 16:18:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762346 -2.636214)'), GeomFromEWKT('SRID=4674;POINT (-39.762423 -2.636203)'))) / (select extract(epoch from '2026-07-22 16:18:54'::timestamp) - extract(epoch from '2026-07-22 16:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762346 -2.636214)'), GeomFromEWKT('SRID=4674;POINT (-39.762423 -2.636203)'))) / (select extract(epoch from '2026-07-22 16:18:54'::timestamp) - extract(epoch from '2026-07-22 16:18: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'), 47870, 'SRID=4674;POINT (-39.762487 -2.636201)', '2026-07-22 16:19:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762423 -2.636203)'), GeomFromEWKT('SRID=4674;POINT (-39.762487 -2.636201)'))) / (select extract(epoch from '2026-07-22 16:19:05'::timestamp) - extract(epoch from '2026-07-22 16:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762423 -2.636203)'), GeomFromEWKT('SRID=4674;POINT (-39.762487 -2.636201)'))) / (select extract(epoch from '2026-07-22 16:19:05'::timestamp) - extract(epoch from '2026-07-22 16:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76255 -2.636194)', '2026-07-22 16:19:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762487 -2.636201)'), GeomFromEWKT('SRID=4674;POINT (-39.76255 -2.636194)'))) / (select extract(epoch from '2026-07-22 16:19:18'::timestamp) - extract(epoch from '2026-07-22 16:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762487 -2.636201)'), GeomFromEWKT('SRID=4674;POINT (-39.76255 -2.636194)'))) / (select extract(epoch from '2026-07-22 16:19:18'::timestamp) - extract(epoch from '2026-07-22 16:19: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'), 47870, 'SRID=4674;POINT (-39.76261 -2.636181)', '2026-07-22 16:19:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76255 -2.636194)'), GeomFromEWKT('SRID=4674;POINT (-39.76261 -2.636181)'))) / (select extract(epoch from '2026-07-22 16:19:28'::timestamp) - extract(epoch from '2026-07-22 16:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76255 -2.636194)'), GeomFromEWKT('SRID=4674;POINT (-39.76261 -2.636181)'))) / (select extract(epoch from '2026-07-22 16:19:28'::timestamp) - extract(epoch from '2026-07-22 16:19: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'), 47870, 'SRID=4674;POINT (-39.762643 -2.636175)', '2026-07-22 16:19:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76261 -2.636181)'), GeomFromEWKT('SRID=4674;POINT (-39.762643 -2.636175)'))) / (select extract(epoch from '2026-07-22 16:19:33'::timestamp) - extract(epoch from '2026-07-22 16:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76261 -2.636181)'), GeomFromEWKT('SRID=4674;POINT (-39.762643 -2.636175)'))) / (select extract(epoch from '2026-07-22 16:19:33'::timestamp) - extract(epoch from '2026-07-22 16:19: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'), 47870, 'SRID=4674;POINT (-39.762697 -2.636198)', '2026-07-22 16:19:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762643 -2.636175)'), GeomFromEWKT('SRID=4674;POINT (-39.762697 -2.636198)'))) / (select extract(epoch from '2026-07-22 16:19:42'::timestamp) - extract(epoch from '2026-07-22 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762643 -2.636175)'), GeomFromEWKT('SRID=4674;POINT (-39.762697 -2.636198)'))) / (select extract(epoch from '2026-07-22 16:19:42'::timestamp) - extract(epoch from '2026-07-22 16:19: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'), 47870, 'SRID=4674;POINT (-39.76269 -2.636282)', '2026-07-22 16:19:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762697 -2.636198)'), GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.636282)'))) / (select extract(epoch from '2026-07-22 16:19:52'::timestamp) - extract(epoch from '2026-07-22 16:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762697 -2.636198)'), GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.636282)'))) / (select extract(epoch from '2026-07-22 16:19:52'::timestamp) - extract(epoch from '2026-07-22 16:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762687 -2.636354)', '2026-07-22 16:19:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.636282)'), GeomFromEWKT('SRID=4674;POINT (-39.762687 -2.636354)'))) / (select extract(epoch from '2026-07-22 16:19:57'::timestamp) - extract(epoch from '2026-07-22 16:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76269 -2.636282)'), GeomFromEWKT('SRID=4674;POINT (-39.762687 -2.636354)'))) / (select extract(epoch from '2026-07-22 16:19:57'::timestamp) - extract(epoch from '2026-07-22 16:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762682 -2.636467)', '2026-07-22 16:20:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762687 -2.636354)'), GeomFromEWKT('SRID=4674;POINT (-39.762682 -2.636467)'))) / (select extract(epoch from '2026-07-22 16:20:03'::timestamp) - extract(epoch from '2026-07-22 16:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762687 -2.636354)'), GeomFromEWKT('SRID=4674;POINT (-39.762682 -2.636467)'))) / (select extract(epoch from '2026-07-22 16:20:03'::timestamp) - extract(epoch from '2026-07-22 16:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762671 -2.636578)', '2026-07-22 16:20:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762682 -2.636467)'), GeomFromEWKT('SRID=4674;POINT (-39.762671 -2.636578)'))) / (select extract(epoch from '2026-07-22 16:20:09'::timestamp) - extract(epoch from '2026-07-22 16:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762682 -2.636467)'), GeomFromEWKT('SRID=4674;POINT (-39.762671 -2.636578)'))) / (select extract(epoch from '2026-07-22 16:20:09'::timestamp) - extract(epoch from '2026-07-22 16:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762675 -2.636698)', '2026-07-22 16:20:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762671 -2.636578)'), GeomFromEWKT('SRID=4674;POINT (-39.762675 -2.636698)'))) / (select extract(epoch from '2026-07-22 16:20:15'::timestamp) - extract(epoch from '2026-07-22 16:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762671 -2.636578)'), GeomFromEWKT('SRID=4674;POINT (-39.762675 -2.636698)'))) / (select extract(epoch from '2026-07-22 16:20:15'::timestamp) - extract(epoch from '2026-07-22 16:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762655 -2.63685)', '2026-07-22 16:20:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762675 -2.636698)'), GeomFromEWKT('SRID=4674;POINT (-39.762655 -2.63685)'))) / (select extract(epoch from '2026-07-22 16:20:22'::timestamp) - extract(epoch from '2026-07-22 16:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762675 -2.636698)'), GeomFromEWKT('SRID=4674;POINT (-39.762655 -2.63685)'))) / (select extract(epoch from '2026-07-22 16:20:22'::timestamp) - extract(epoch from '2026-07-22 16:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762662 -2.636982)', '2026-07-22 16:20:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762655 -2.63685)'), GeomFromEWKT('SRID=4674;POINT (-39.762662 -2.636982)'))) / (select extract(epoch from '2026-07-22 16:20:28'::timestamp) - extract(epoch from '2026-07-22 16:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762655 -2.63685)'), GeomFromEWKT('SRID=4674;POINT (-39.762662 -2.636982)'))) / (select extract(epoch from '2026-07-22 16:20:28'::timestamp) - extract(epoch from '2026-07-22 16:20: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'), 47870, 'SRID=4674;POINT (-39.762684 -2.637108)', '2026-07-22 16:20:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762662 -2.636982)'), GeomFromEWKT('SRID=4674;POINT (-39.762684 -2.637108)'))) / (select extract(epoch from '2026-07-22 16:20:34'::timestamp) - extract(epoch from '2026-07-22 16:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762662 -2.636982)'), GeomFromEWKT('SRID=4674;POINT (-39.762684 -2.637108)'))) / (select extract(epoch from '2026-07-22 16:20:34'::timestamp) - extract(epoch from '2026-07-22 16:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762699 -2.637247)', '2026-07-22 16:20:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762684 -2.637108)'), GeomFromEWKT('SRID=4674;POINT (-39.762699 -2.637247)'))) / (select extract(epoch from '2026-07-22 16:20:41'::timestamp) - extract(epoch from '2026-07-22 16:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762684 -2.637108)'), GeomFromEWKT('SRID=4674;POINT (-39.762699 -2.637247)'))) / (select extract(epoch from '2026-07-22 16:20:41'::timestamp) - extract(epoch from '2026-07-22 16:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762713 -2.637348)', '2026-07-22 16:20:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762699 -2.637247)'), GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.637348)'))) / (select extract(epoch from '2026-07-22 16:20:46'::timestamp) - extract(epoch from '2026-07-22 16:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762699 -2.637247)'), GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.637348)'))) / (select extract(epoch from '2026-07-22 16:20:46'::timestamp) - extract(epoch from '2026-07-22 16:20: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'), 47870, 'SRID=4674;POINT (-39.762742 -2.637446)', '2026-07-22 16:20:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.637348)'), GeomFromEWKT('SRID=4674;POINT (-39.762742 -2.637446)'))) / (select extract(epoch from '2026-07-22 16:20:51'::timestamp) - extract(epoch from '2026-07-22 16:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762713 -2.637348)'), GeomFromEWKT('SRID=4674;POINT (-39.762742 -2.637446)'))) / (select extract(epoch from '2026-07-22 16:20:51'::timestamp) - extract(epoch from '2026-07-22 16:20: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'), 47870, 'SRID=4674;POINT (-39.762768 -2.637584)', '2026-07-22 16:20:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762742 -2.637446)'), GeomFromEWKT('SRID=4674;POINT (-39.762768 -2.637584)'))) / (select extract(epoch from '2026-07-22 16:20:57'::timestamp) - extract(epoch from '2026-07-22 16:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762742 -2.637446)'), GeomFromEWKT('SRID=4674;POINT (-39.762768 -2.637584)'))) / (select extract(epoch from '2026-07-22 16:20:57'::timestamp) - extract(epoch from '2026-07-22 16:20: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'), 47870, 'SRID=4674;POINT (-39.762794 -2.637717)', '2026-07-22 16:21:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762768 -2.637584)'), GeomFromEWKT('SRID=4674;POINT (-39.762794 -2.637717)'))) / (select extract(epoch from '2026-07-22 16:21:03'::timestamp) - extract(epoch from '2026-07-22 16:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762768 -2.637584)'), GeomFromEWKT('SRID=4674;POINT (-39.762794 -2.637717)'))) / (select extract(epoch from '2026-07-22 16:21:03'::timestamp) - extract(epoch from '2026-07-22 16:20: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'), 47870, 'SRID=4674;POINT (-39.762799 -2.637738)', '2026-07-22 16:21:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762794 -2.637717)'), GeomFromEWKT('SRID=4674;POINT (-39.762799 -2.637738)'))) / (select extract(epoch from '2026-07-22 16:21:04'::timestamp) - extract(epoch from '2026-07-22 16:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762794 -2.637717)'), GeomFromEWKT('SRID=4674;POINT (-39.762799 -2.637738)'))) / (select extract(epoch from '2026-07-22 16:21:04'::timestamp) - extract(epoch from '2026-07-22 16:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762811 -2.637796)', '2026-07-22 16:21:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762799 -2.637738)'), GeomFromEWKT('SRID=4674;POINT (-39.762811 -2.637796)'))) / (select extract(epoch from '2026-07-22 16:21:07'::timestamp) - extract(epoch from '2026-07-22 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762799 -2.637738)'), GeomFromEWKT('SRID=4674;POINT (-39.762811 -2.637796)'))) / (select extract(epoch from '2026-07-22 16:21:07'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.762833 -2.637912)', '2026-07-22 16:21:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762811 -2.637796)'), GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.637912)'))) / (select extract(epoch from '2026-07-22 16:21:13'::timestamp) - extract(epoch from '2026-07-22 16:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762811 -2.637796)'), GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.637912)'))) / (select extract(epoch from '2026-07-22 16:21:13'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.76284 -2.638029)', '2026-07-22 16:21:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.637912)'), GeomFromEWKT('SRID=4674;POINT (-39.76284 -2.638029)'))) / (select extract(epoch from '2026-07-22 16:21:19'::timestamp) - extract(epoch from '2026-07-22 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762833 -2.637912)'), GeomFromEWKT('SRID=4674;POINT (-39.76284 -2.638029)'))) / (select extract(epoch from '2026-07-22 16:21:19'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.762862 -2.638134)', '2026-07-22 16:21:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76284 -2.638029)'), GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.638134)'))) / (select extract(epoch from '2026-07-22 16:21:24'::timestamp) - extract(epoch from '2026-07-22 16:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76284 -2.638029)'), GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.638134)'))) / (select extract(epoch from '2026-07-22 16:21:24'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.762866 -2.638273)', '2026-07-22 16:21:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.638134)'), GeomFromEWKT('SRID=4674;POINT (-39.762866 -2.638273)'))) / (select extract(epoch from '2026-07-22 16:21:31'::timestamp) - extract(epoch from '2026-07-22 16:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762862 -2.638134)'), GeomFromEWKT('SRID=4674;POINT (-39.762866 -2.638273)'))) / (select extract(epoch from '2026-07-22 16:21:31'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.76287 -2.638383)', '2026-07-22 16:21:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762866 -2.638273)'), GeomFromEWKT('SRID=4674;POINT (-39.76287 -2.638383)'))) / (select extract(epoch from '2026-07-22 16:21:36'::timestamp) - extract(epoch from '2026-07-22 16:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762866 -2.638273)'), GeomFromEWKT('SRID=4674;POINT (-39.76287 -2.638383)'))) / (select extract(epoch from '2026-07-22 16:21:36'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.762879 -2.638506)', '2026-07-22 16:21:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76287 -2.638383)'), GeomFromEWKT('SRID=4674;POINT (-39.762879 -2.638506)'))) / (select extract(epoch from '2026-07-22 16:21:42'::timestamp) - extract(epoch from '2026-07-22 16:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76287 -2.638383)'), GeomFromEWKT('SRID=4674;POINT (-39.762879 -2.638506)'))) / (select extract(epoch from '2026-07-22 16:21:42'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.762882 -2.638611)', '2026-07-22 16:21:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762879 -2.638506)'), GeomFromEWKT('SRID=4674;POINT (-39.762882 -2.638611)'))) / (select extract(epoch from '2026-07-22 16:21:47'::timestamp) - extract(epoch from '2026-07-22 16:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762879 -2.638506)'), GeomFromEWKT('SRID=4674;POINT (-39.762882 -2.638611)'))) / (select extract(epoch from '2026-07-22 16:21:47'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762884 -2.638732)', '2026-07-22 16:21:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762882 -2.638611)'), GeomFromEWKT('SRID=4674;POINT (-39.762884 -2.638732)'))) / (select extract(epoch from '2026-07-22 16:21:53'::timestamp) - extract(epoch from '2026-07-22 16:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762882 -2.638611)'), GeomFromEWKT('SRID=4674;POINT (-39.762884 -2.638732)'))) / (select extract(epoch from '2026-07-22 16:21:53'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.762894 -2.638848)', '2026-07-22 16:21:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762884 -2.638732)'), GeomFromEWKT('SRID=4674;POINT (-39.762894 -2.638848)'))) / (select extract(epoch from '2026-07-22 16:21:59'::timestamp) - extract(epoch from '2026-07-22 16:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762884 -2.638732)'), GeomFromEWKT('SRID=4674;POINT (-39.762894 -2.638848)'))) / (select extract(epoch from '2026-07-22 16:21:59'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.762906 -2.638987)', '2026-07-22 16:22:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762894 -2.638848)'), GeomFromEWKT('SRID=4674;POINT (-39.762906 -2.638987)'))) / (select extract(epoch from '2026-07-22 16:22:06'::timestamp) - extract(epoch from '2026-07-22 16:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762894 -2.638848)'), GeomFromEWKT('SRID=4674;POINT (-39.762906 -2.638987)'))) / (select extract(epoch from '2026-07-22 16:22:06'::timestamp) - extract(epoch from '2026-07-22 16:21: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'), 47870, 'SRID=4674;POINT (-39.76292 -2.63911)', '2026-07-22 16:22:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762906 -2.638987)'), GeomFromEWKT('SRID=4674;POINT (-39.76292 -2.63911)'))) / (select extract(epoch from '2026-07-22 16:22:12'::timestamp) - extract(epoch from '2026-07-22 16:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762906 -2.638987)'), GeomFromEWKT('SRID=4674;POINT (-39.76292 -2.63911)'))) / (select extract(epoch from '2026-07-22 16:22:12'::timestamp) - extract(epoch from '2026-07-22 16:22: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'), 47870, 'SRID=4674;POINT (-39.762946 -2.639263)', '2026-07-22 16:22:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76292 -2.63911)'), GeomFromEWKT('SRID=4674;POINT (-39.762946 -2.639263)'))) / (select extract(epoch from '2026-07-22 16:22:19'::timestamp) - extract(epoch from '2026-07-22 16:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76292 -2.63911)'), GeomFromEWKT('SRID=4674;POINT (-39.762946 -2.639263)'))) / (select extract(epoch from '2026-07-22 16:22:19'::timestamp) - extract(epoch from '2026-07-22 16:22: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'), 47870, 'SRID=4674;POINT (-39.762974 -2.639393)', '2026-07-22 16:22:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762946 -2.639263)'), GeomFromEWKT('SRID=4674;POINT (-39.762974 -2.639393)'))) / (select extract(epoch from '2026-07-22 16:22:25'::timestamp) - extract(epoch from '2026-07-22 16:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762946 -2.639263)'), GeomFromEWKT('SRID=4674;POINT (-39.762974 -2.639393)'))) / (select extract(epoch from '2026-07-22 16:22:25'::timestamp) - extract(epoch from '2026-07-22 16:22: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'), 47870, 'SRID=4674;POINT (-39.762986 -2.639498)', '2026-07-22 16:22:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762974 -2.639393)'), GeomFromEWKT('SRID=4674;POINT (-39.762986 -2.639498)'))) / (select extract(epoch from '2026-07-22 16:22:30'::timestamp) - extract(epoch from '2026-07-22 16:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762974 -2.639393)'), GeomFromEWKT('SRID=4674;POINT (-39.762986 -2.639498)'))) / (select extract(epoch from '2026-07-22 16:22:30'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.763006 -2.639621)', '2026-07-22 16:22:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762986 -2.639498)'), GeomFromEWKT('SRID=4674;POINT (-39.763006 -2.639621)'))) / (select extract(epoch from '2026-07-22 16:22:36'::timestamp) - extract(epoch from '2026-07-22 16:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762986 -2.639498)'), GeomFromEWKT('SRID=4674;POINT (-39.763006 -2.639621)'))) / (select extract(epoch from '2026-07-22 16:22:36'::timestamp) - extract(epoch from '2026-07-22 16:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763038 -2.639749)', '2026-07-22 16:22:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763006 -2.639621)'), GeomFromEWKT('SRID=4674;POINT (-39.763038 -2.639749)'))) / (select extract(epoch from '2026-07-22 16:22:42'::timestamp) - extract(epoch from '2026-07-22 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763006 -2.639621)'), GeomFromEWKT('SRID=4674;POINT (-39.763038 -2.639749)'))) / (select extract(epoch from '2026-07-22 16:22:42'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.763061 -2.639908)', '2026-07-22 16:22:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763038 -2.639749)'), GeomFromEWKT('SRID=4674;POINT (-39.763061 -2.639908)'))) / (select extract(epoch from '2026-07-22 16:22:49'::timestamp) - extract(epoch from '2026-07-22 16:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763038 -2.639749)'), GeomFromEWKT('SRID=4674;POINT (-39.763061 -2.639908)'))) / (select extract(epoch from '2026-07-22 16:22:49'::timestamp) - extract(epoch from '2026-07-22 16:22: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'), 47870, 'SRID=4674;POINT (-39.763088 -2.640013)', '2026-07-22 16:22:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763061 -2.639908)'), GeomFromEWKT('SRID=4674;POINT (-39.763088 -2.640013)'))) / (select extract(epoch from '2026-07-22 16:22:54'::timestamp) - extract(epoch from '2026-07-22 16:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763061 -2.639908)'), GeomFromEWKT('SRID=4674;POINT (-39.763088 -2.640013)'))) / (select extract(epoch from '2026-07-22 16:22:54'::timestamp) - extract(epoch from '2026-07-22 16:22: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'), 47870, 'SRID=4674;POINT (-39.763137 -2.640139)', '2026-07-22 16:23:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763088 -2.640013)'), GeomFromEWKT('SRID=4674;POINT (-39.763137 -2.640139)'))) / (select extract(epoch from '2026-07-22 16:23:00'::timestamp) - extract(epoch from '2026-07-22 16:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763088 -2.640013)'), GeomFromEWKT('SRID=4674;POINT (-39.763137 -2.640139)'))) / (select extract(epoch from '2026-07-22 16:23:00'::timestamp) - extract(epoch from '2026-07-22 16:22: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'), 47870, 'SRID=4674;POINT (-39.763161 -2.640247)', '2026-07-22 16:23:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763137 -2.640139)'), GeomFromEWKT('SRID=4674;POINT (-39.763161 -2.640247)'))) / (select extract(epoch from '2026-07-22 16:23:05'::timestamp) - extract(epoch from '2026-07-22 16:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763137 -2.640139)'), GeomFromEWKT('SRID=4674;POINT (-39.763161 -2.640247)'))) / (select extract(epoch from '2026-07-22 16:23:05'::timestamp) - extract(epoch from '2026-07-22 16:23: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'), 47870, 'SRID=4674;POINT (-39.763219 -2.640391)', '2026-07-22 16:23:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763161 -2.640247)'), GeomFromEWKT('SRID=4674;POINT (-39.763219 -2.640391)'))) / (select extract(epoch from '2026-07-22 16:23:12'::timestamp) - extract(epoch from '2026-07-22 16:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763161 -2.640247)'), GeomFromEWKT('SRID=4674;POINT (-39.763219 -2.640391)'))) / (select extract(epoch from '2026-07-22 16:23:12'::timestamp) - extract(epoch from '2026-07-22 16:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763225 -2.640409)', '2026-07-22 16:23:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763219 -2.640391)'), GeomFromEWKT('SRID=4674;POINT (-39.763225 -2.640409)'))) / (select extract(epoch from '2026-07-22 16:23:13'::timestamp) - extract(epoch from '2026-07-22 16:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763219 -2.640391)'), GeomFromEWKT('SRID=4674;POINT (-39.763225 -2.640409)'))) / (select extract(epoch from '2026-07-22 16:23:13'::timestamp) - extract(epoch from '2026-07-22 16:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763224 -2.640488)', '2026-07-22 16:23:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763225 -2.640409)'), GeomFromEWKT('SRID=4674;POINT (-39.763224 -2.640488)'))) / (select extract(epoch from '2026-07-22 16:23:17'::timestamp) - extract(epoch from '2026-07-22 16:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763225 -2.640409)'), GeomFromEWKT('SRID=4674;POINT (-39.763224 -2.640488)'))) / (select extract(epoch from '2026-07-22 16:23:17'::timestamp) - extract(epoch from '2026-07-22 16:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76324 -2.640608)', '2026-07-22 16:23:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763224 -2.640488)'), GeomFromEWKT('SRID=4674;POINT (-39.76324 -2.640608)'))) / (select extract(epoch from '2026-07-22 16:23:23'::timestamp) - extract(epoch from '2026-07-22 16:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763224 -2.640488)'), GeomFromEWKT('SRID=4674;POINT (-39.76324 -2.640608)'))) / (select extract(epoch from '2026-07-22 16:23:23'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.763244 -2.640628)', '2026-07-22 16:23:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76324 -2.640608)'), GeomFromEWKT('SRID=4674;POINT (-39.763244 -2.640628)'))) / (select extract(epoch from '2026-07-22 16:23:24'::timestamp) - extract(epoch from '2026-07-22 16:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76324 -2.640608)'), GeomFromEWKT('SRID=4674;POINT (-39.763244 -2.640628)'))) / (select extract(epoch from '2026-07-22 16:23:24'::timestamp) - extract(epoch from '2026-07-22 16:23: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'), 47870, 'SRID=4674;POINT (-39.76325 -2.640687)', '2026-07-22 16:23:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763244 -2.640628)'), GeomFromEWKT('SRID=4674;POINT (-39.76325 -2.640687)'))) / (select extract(epoch from '2026-07-22 16:23:27'::timestamp) - extract(epoch from '2026-07-22 16:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763244 -2.640628)'), GeomFromEWKT('SRID=4674;POINT (-39.76325 -2.640687)'))) / (select extract(epoch from '2026-07-22 16:23:27'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.763259 -2.640708)', '2026-07-22 16:23:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76325 -2.640687)'), GeomFromEWKT('SRID=4674;POINT (-39.763259 -2.640708)'))) / (select extract(epoch from '2026-07-22 16:23:28'::timestamp) - extract(epoch from '2026-07-22 16:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76325 -2.640687)'), GeomFromEWKT('SRID=4674;POINT (-39.763259 -2.640708)'))) / (select extract(epoch from '2026-07-22 16:23:28'::timestamp) - extract(epoch from '2026-07-22 16:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763286 -2.640824)', '2026-07-22 16:23:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763259 -2.640708)'), GeomFromEWKT('SRID=4674;POINT (-39.763286 -2.640824)'))) / (select extract(epoch from '2026-07-22 16:23:33'::timestamp) - extract(epoch from '2026-07-22 16:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763259 -2.640708)'), GeomFromEWKT('SRID=4674;POINT (-39.763286 -2.640824)'))) / (select extract(epoch from '2026-07-22 16:23:33'::timestamp) - extract(epoch from '2026-07-22 16:23: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'), 47870, 'SRID=4674;POINT (-39.763329 -2.640945)', '2026-07-22 16:23:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763286 -2.640824)'), GeomFromEWKT('SRID=4674;POINT (-39.763329 -2.640945)'))) / (select extract(epoch from '2026-07-22 16:23:39'::timestamp) - extract(epoch from '2026-07-22 16:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763286 -2.640824)'), GeomFromEWKT('SRID=4674;POINT (-39.763329 -2.640945)'))) / (select extract(epoch from '2026-07-22 16:23:39'::timestamp) - extract(epoch from '2026-07-22 16:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763356 -2.641072)', '2026-07-22 16:23:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763329 -2.640945)'), GeomFromEWKT('SRID=4674;POINT (-39.763356 -2.641072)'))) / (select extract(epoch from '2026-07-22 16:23:45'::timestamp) - extract(epoch from '2026-07-22 16:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763329 -2.640945)'), GeomFromEWKT('SRID=4674;POINT (-39.763356 -2.641072)'))) / (select extract(epoch from '2026-07-22 16:23:45'::timestamp) - extract(epoch from '2026-07-22 16:23: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'), 47870, 'SRID=4674;POINT (-39.763352 -2.6412)', '2026-07-22 16:23:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763356 -2.641072)'), GeomFromEWKT('SRID=4674;POINT (-39.763352 -2.6412)'))) / (select extract(epoch from '2026-07-22 16:23:51'::timestamp) - extract(epoch from '2026-07-22 16:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763356 -2.641072)'), GeomFromEWKT('SRID=4674;POINT (-39.763352 -2.6412)'))) / (select extract(epoch from '2026-07-22 16:23:51'::timestamp) - extract(epoch from '2026-07-22 16:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763319 -2.641307)', '2026-07-22 16:23:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763352 -2.6412)'), GeomFromEWKT('SRID=4674;POINT (-39.763319 -2.641307)'))) / (select extract(epoch from '2026-07-22 16:23:57'::timestamp) - extract(epoch from '2026-07-22 16:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763352 -2.6412)'), GeomFromEWKT('SRID=4674;POINT (-39.763319 -2.641307)'))) / (select extract(epoch from '2026-07-22 16:23:57'::timestamp) - extract(epoch from '2026-07-22 16:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763256 -2.64144)', '2026-07-22 16:24:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763319 -2.641307)'), GeomFromEWKT('SRID=4674;POINT (-39.763256 -2.64144)'))) / (select extract(epoch from '2026-07-22 16:24:04'::timestamp) - extract(epoch from '2026-07-22 16:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763319 -2.641307)'), GeomFromEWKT('SRID=4674;POINT (-39.763256 -2.64144)'))) / (select extract(epoch from '2026-07-22 16:24:04'::timestamp) - extract(epoch from '2026-07-22 16:23: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'), 47870, 'SRID=4674;POINT (-39.763196 -2.64159)', '2026-07-22 16:24:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763256 -2.64144)'), GeomFromEWKT('SRID=4674;POINT (-39.763196 -2.64159)'))) / (select extract(epoch from '2026-07-22 16:24:12'::timestamp) - extract(epoch from '2026-07-22 16:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763256 -2.64144)'), GeomFromEWKT('SRID=4674;POINT (-39.763196 -2.64159)'))) / (select extract(epoch from '2026-07-22 16:24:12'::timestamp) - extract(epoch from '2026-07-22 16:24: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'), 47870, 'SRID=4674;POINT (-39.763169 -2.641751)', '2026-07-22 16:24:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763196 -2.64159)'), GeomFromEWKT('SRID=4674;POINT (-39.763169 -2.641751)'))) / (select extract(epoch from '2026-07-22 16:24:20'::timestamp) - extract(epoch from '2026-07-22 16:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763196 -2.64159)'), GeomFromEWKT('SRID=4674;POINT (-39.763169 -2.641751)'))) / (select extract(epoch from '2026-07-22 16:24:20'::timestamp) - extract(epoch from '2026-07-22 16:24: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'), 47870, 'SRID=4674;POINT (-39.763194 -2.641848)', '2026-07-22 16:24:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763169 -2.641751)'), GeomFromEWKT('SRID=4674;POINT (-39.763194 -2.641848)'))) / (select extract(epoch from '2026-07-22 16:24:25'::timestamp) - extract(epoch from '2026-07-22 16:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763169 -2.641751)'), GeomFromEWKT('SRID=4674;POINT (-39.763194 -2.641848)'))) / (select extract(epoch from '2026-07-22 16:24:25'::timestamp) - extract(epoch from '2026-07-22 16:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763208 -2.641954)', '2026-07-22 16:24:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763194 -2.641848)'), GeomFromEWKT('SRID=4674;POINT (-39.763208 -2.641954)'))) / (select extract(epoch from '2026-07-22 16:24:30'::timestamp) - extract(epoch from '2026-07-22 16:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763194 -2.641848)'), GeomFromEWKT('SRID=4674;POINT (-39.763208 -2.641954)'))) / (select extract(epoch from '2026-07-22 16:24:30'::timestamp) - extract(epoch from '2026-07-22 16:24: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'), 47870, 'SRID=4674;POINT (-39.763209 -2.642076)', '2026-07-22 16:24:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763208 -2.641954)'), GeomFromEWKT('SRID=4674;POINT (-39.763209 -2.642076)'))) / (select extract(epoch from '2026-07-22 16:24:36'::timestamp) - extract(epoch from '2026-07-22 16:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763208 -2.641954)'), GeomFromEWKT('SRID=4674;POINT (-39.763209 -2.642076)'))) / (select extract(epoch from '2026-07-22 16:24:36'::timestamp) - extract(epoch from '2026-07-22 16:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763205 -2.642204)', '2026-07-22 16:24:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763209 -2.642076)'), GeomFromEWKT('SRID=4674;POINT (-39.763205 -2.642204)'))) / (select extract(epoch from '2026-07-22 16:24:42'::timestamp) - extract(epoch from '2026-07-22 16:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763209 -2.642076)'), GeomFromEWKT('SRID=4674;POINT (-39.763205 -2.642204)'))) / (select extract(epoch from '2026-07-22 16:24:42'::timestamp) - extract(epoch from '2026-07-22 16:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763207 -2.642302)', '2026-07-22 16:24:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763205 -2.642204)'), GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642302)'))) / (select extract(epoch from '2026-07-22 16:24:47'::timestamp) - extract(epoch from '2026-07-22 16:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763205 -2.642204)'), GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642302)'))) / (select extract(epoch from '2026-07-22 16:24:47'::timestamp) - extract(epoch from '2026-07-22 16:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763207 -2.642391)', '2026-07-22 16:24:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642302)'), GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642391)'))) / (select extract(epoch from '2026-07-22 16:24:52'::timestamp) - extract(epoch from '2026-07-22 16:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642302)'), GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642391)'))) / (select extract(epoch from '2026-07-22 16:24:52'::timestamp) - extract(epoch from '2026-07-22 16:24: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'), 47870, 'SRID=4674;POINT (-39.763147 -2.642472)', '2026-07-22 16:24:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642391)'), GeomFromEWKT('SRID=4674;POINT (-39.763147 -2.642472)'))) / (select extract(epoch from '2026-07-22 16:24:58'::timestamp) - extract(epoch from '2026-07-22 16:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763207 -2.642391)'), GeomFromEWKT('SRID=4674;POINT (-39.763147 -2.642472)'))) / (select extract(epoch from '2026-07-22 16:24:58'::timestamp) - extract(epoch from '2026-07-22 16:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763071 -2.642587)', '2026-07-22 16:25:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763147 -2.642472)'), GeomFromEWKT('SRID=4674;POINT (-39.763071 -2.642587)'))) / (select extract(epoch from '2026-07-22 16:25:06'::timestamp) - extract(epoch from '2026-07-22 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763147 -2.642472)'), GeomFromEWKT('SRID=4674;POINT (-39.763071 -2.642587)'))) / (select extract(epoch from '2026-07-22 16:25:06'::timestamp) - extract(epoch from '2026-07-22 16:24: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'), 47870, 'SRID=4674;POINT (-39.762994 -2.642705)', '2026-07-22 16:25:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763071 -2.642587)'), GeomFromEWKT('SRID=4674;POINT (-39.762994 -2.642705)'))) / (select extract(epoch from '2026-07-22 16:25:14'::timestamp) - extract(epoch from '2026-07-22 16:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763071 -2.642587)'), GeomFromEWKT('SRID=4674;POINT (-39.762994 -2.642705)'))) / (select extract(epoch from '2026-07-22 16:25:14'::timestamp) - extract(epoch from '2026-07-22 16:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762929 -2.642762)', '2026-07-22 16:25:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762994 -2.642705)'), GeomFromEWKT('SRID=4674;POINT (-39.762929 -2.642762)'))) / (select extract(epoch from '2026-07-22 16:25:19'::timestamp) - extract(epoch from '2026-07-22 16:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762994 -2.642705)'), GeomFromEWKT('SRID=4674;POINT (-39.762929 -2.642762)'))) / (select extract(epoch from '2026-07-22 16:25:19'::timestamp) - extract(epoch from '2026-07-22 16:25: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'), 47870, 'SRID=4674;POINT (-39.762865 -2.642864)', '2026-07-22 16:25:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762929 -2.642762)'), GeomFromEWKT('SRID=4674;POINT (-39.762865 -2.642864)'))) / (select extract(epoch from '2026-07-22 16:25:26'::timestamp) - extract(epoch from '2026-07-22 16:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762929 -2.642762)'), GeomFromEWKT('SRID=4674;POINT (-39.762865 -2.642864)'))) / (select extract(epoch from '2026-07-22 16:25:26'::timestamp) - extract(epoch from '2026-07-22 16:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762809 -2.642988)', '2026-07-22 16:25:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762865 -2.642864)'), GeomFromEWKT('SRID=4674;POINT (-39.762809 -2.642988)'))) / (select extract(epoch from '2026-07-22 16:25:33'::timestamp) - extract(epoch from '2026-07-22 16:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762865 -2.642864)'), GeomFromEWKT('SRID=4674;POINT (-39.762809 -2.642988)'))) / (select extract(epoch from '2026-07-22 16:25:33'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762757 -2.643146)', '2026-07-22 16:25:41', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762809 -2.642988)'), GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.643146)'))) / (select extract(epoch from '2026-07-22 16:25:41'::timestamp) - extract(epoch from '2026-07-22 16:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762809 -2.642988)'), GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.643146)'))) / (select extract(epoch from '2026-07-22 16:25:41'::timestamp) - extract(epoch from '2026-07-22 16:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762726 -2.643315)', '2026-07-22 16:25:49', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.643146)'), GeomFromEWKT('SRID=4674;POINT (-39.762726 -2.643315)'))) / (select extract(epoch from '2026-07-22 16:25:49'::timestamp) - extract(epoch from '2026-07-22 16:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762757 -2.643146)'), GeomFromEWKT('SRID=4674;POINT (-39.762726 -2.643315)'))) / (select extract(epoch from '2026-07-22 16:25:49'::timestamp) - extract(epoch from '2026-07-22 16:25: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'), 47870, 'SRID=4674;POINT (-39.762704 -2.643438)', '2026-07-22 16:25:55', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762726 -2.643315)'), GeomFromEWKT('SRID=4674;POINT (-39.762704 -2.643438)'))) / (select extract(epoch from '2026-07-22 16:25:55'::timestamp) - extract(epoch from '2026-07-22 16:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762726 -2.643315)'), GeomFromEWKT('SRID=4674;POINT (-39.762704 -2.643438)'))) / (select extract(epoch from '2026-07-22 16:25:55'::timestamp) - extract(epoch from '2026-07-22 16:25: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'), 47870, 'SRID=4674;POINT (-39.762656 -2.643531)', '2026-07-22 16:26:00', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762704 -2.643438)'), GeomFromEWKT('SRID=4674;POINT (-39.762656 -2.643531)'))) / (select extract(epoch from '2026-07-22 16:26:00'::timestamp) - extract(epoch from '2026-07-22 16:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762704 -2.643438)'), GeomFromEWKT('SRID=4674;POINT (-39.762656 -2.643531)'))) / (select extract(epoch from '2026-07-22 16:26:00'::timestamp) - extract(epoch from '2026-07-22 16:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762601 -2.643614)', '2026-07-22 16:26:05', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762656 -2.643531)'), GeomFromEWKT('SRID=4674;POINT (-39.762601 -2.643614)'))) / (select extract(epoch from '2026-07-22 16:26:05'::timestamp) - extract(epoch from '2026-07-22 16:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762656 -2.643531)'), GeomFromEWKT('SRID=4674;POINT (-39.762601 -2.643614)'))) / (select extract(epoch from '2026-07-22 16:26:05'::timestamp) - extract(epoch from '2026-07-22 16:26: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'), 47870, 'SRID=4674;POINT (-39.762548 -2.643703)', '2026-07-22 16:26:11', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762601 -2.643614)'), GeomFromEWKT('SRID=4674;POINT (-39.762548 -2.643703)'))) / (select extract(epoch from '2026-07-22 16:26:11'::timestamp) - extract(epoch from '2026-07-22 16:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762601 -2.643614)'), GeomFromEWKT('SRID=4674;POINT (-39.762548 -2.643703)'))) / (select extract(epoch from '2026-07-22 16:26:11'::timestamp) - extract(epoch from '2026-07-22 16:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762507 -2.643781)', '2026-07-22 16:26:16', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762548 -2.643703)'), GeomFromEWKT('SRID=4674;POINT (-39.762507 -2.643781)'))) / (select extract(epoch from '2026-07-22 16:26:16'::timestamp) - extract(epoch from '2026-07-22 16:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762548 -2.643703)'), GeomFromEWKT('SRID=4674;POINT (-39.762507 -2.643781)'))) / (select extract(epoch from '2026-07-22 16:26:16'::timestamp) - extract(epoch from '2026-07-22 16:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762478 -2.64392)', '2026-07-22 16:26:24', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762507 -2.643781)'), GeomFromEWKT('SRID=4674;POINT (-39.762478 -2.64392)'))) / (select extract(epoch from '2026-07-22 16:26:24'::timestamp) - extract(epoch from '2026-07-22 16:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762507 -2.643781)'), GeomFromEWKT('SRID=4674;POINT (-39.762478 -2.64392)'))) / (select extract(epoch from '2026-07-22 16:26:24'::timestamp) - extract(epoch from '2026-07-22 16:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76249 -2.644033)', '2026-07-22 16:26:30', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762478 -2.64392)'), GeomFromEWKT('SRID=4674;POINT (-39.76249 -2.644033)'))) / (select extract(epoch from '2026-07-22 16:26:30'::timestamp) - extract(epoch from '2026-07-22 16:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762478 -2.64392)'), GeomFromEWKT('SRID=4674;POINT (-39.76249 -2.644033)'))) / (select extract(epoch from '2026-07-22 16:26:30'::timestamp) - extract(epoch from '2026-07-22 16:26: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'), 47870, 'SRID=4674;POINT (-39.762468 -2.644193)', '2026-07-22 16:26:38', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76249 -2.644033)'), GeomFromEWKT('SRID=4674;POINT (-39.762468 -2.644193)'))) / (select extract(epoch from '2026-07-22 16:26:38'::timestamp) - extract(epoch from '2026-07-22 16:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76249 -2.644033)'), GeomFromEWKT('SRID=4674;POINT (-39.762468 -2.644193)'))) / (select extract(epoch from '2026-07-22 16:26:38'::timestamp) - extract(epoch from '2026-07-22 16:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762465 -2.644338)', '2026-07-22 16:26:45', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762468 -2.644193)'), GeomFromEWKT('SRID=4674;POINT (-39.762465 -2.644338)'))) / (select extract(epoch from '2026-07-22 16:26:45'::timestamp) - extract(epoch from '2026-07-22 16:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762468 -2.644193)'), GeomFromEWKT('SRID=4674;POINT (-39.762465 -2.644338)'))) / (select extract(epoch from '2026-07-22 16:26:45'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.762387 -2.644492)', '2026-07-22 16:26:53', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762465 -2.644338)'), GeomFromEWKT('SRID=4674;POINT (-39.762387 -2.644492)'))) / (select extract(epoch from '2026-07-22 16:26:53'::timestamp) - extract(epoch from '2026-07-22 16:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762465 -2.644338)'), GeomFromEWKT('SRID=4674;POINT (-39.762387 -2.644492)'))) / (select extract(epoch from '2026-07-22 16:26:53'::timestamp) - extract(epoch from '2026-07-22 16:26: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'), 47870, 'SRID=4674;POINT (-39.762269 -2.644635)', '2026-07-22 16:27:02', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762387 -2.644492)'), GeomFromEWKT('SRID=4674;POINT (-39.762269 -2.644635)'))) / (select extract(epoch from '2026-07-22 16:27:02'::timestamp) - extract(epoch from '2026-07-22 16:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762387 -2.644492)'), GeomFromEWKT('SRID=4674;POINT (-39.762269 -2.644635)'))) / (select extract(epoch from '2026-07-22 16:27:02'::timestamp) - extract(epoch from '2026-07-22 16:26: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'), 47870, 'SRID=4674;POINT (-39.762183 -2.644756)', '2026-07-22 16:27:09', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762269 -2.644635)'), GeomFromEWKT('SRID=4674;POINT (-39.762183 -2.644756)'))) / (select extract(epoch from '2026-07-22 16:27:09'::timestamp) - extract(epoch from '2026-07-22 16:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762269 -2.644635)'), GeomFromEWKT('SRID=4674;POINT (-39.762183 -2.644756)'))) / (select extract(epoch from '2026-07-22 16:27:09'::timestamp) - extract(epoch from '2026-07-22 16:27: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'), 47870, 'SRID=4674;POINT (-39.762136 -2.64488)', '2026-07-22 16:27:15', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762183 -2.644756)'), GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.64488)'))) / (select extract(epoch from '2026-07-22 16:27:15'::timestamp) - extract(epoch from '2026-07-22 16:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762183 -2.644756)'), GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.64488)'))) / (select extract(epoch from '2026-07-22 16:27:15'::timestamp) - extract(epoch from '2026-07-22 16:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762095 -2.645039)', '2026-07-22 16:27:23', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.64488)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.645039)'))) / (select extract(epoch from '2026-07-22 16:27:23'::timestamp) - extract(epoch from '2026-07-22 16:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762136 -2.64488)'), GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.645039)'))) / (select extract(epoch from '2026-07-22 16:27:23'::timestamp) - extract(epoch from '2026-07-22 16:27: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'), 47870, 'SRID=4674;POINT (-39.762068 -2.645133)', '2026-07-22 16:27:29', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.645039)'), GeomFromEWKT('SRID=4674;POINT (-39.762068 -2.645133)'))) / (select extract(epoch from '2026-07-22 16:27:29'::timestamp) - extract(epoch from '2026-07-22 16:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762095 -2.645039)'), GeomFromEWKT('SRID=4674;POINT (-39.762068 -2.645133)'))) / (select extract(epoch from '2026-07-22 16:27:29'::timestamp) - extract(epoch from '2026-07-22 16:27: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'), 47870, 'SRID=4674;POINT (-39.761981 -2.645261)', '2026-07-22 16:27:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762068 -2.645133)'), GeomFromEWKT('SRID=4674;POINT (-39.761981 -2.645261)'))) / (select extract(epoch from '2026-07-22 16:27:38'::timestamp) - extract(epoch from '2026-07-22 16:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762068 -2.645133)'), GeomFromEWKT('SRID=4674;POINT (-39.761981 -2.645261)'))) / (select extract(epoch from '2026-07-22 16:27:38'::timestamp) - extract(epoch from '2026-07-22 16:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761915 -2.645343)', '2026-07-22 16:27:44', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761981 -2.645261)'), GeomFromEWKT('SRID=4674;POINT (-39.761915 -2.645343)'))) / (select extract(epoch from '2026-07-22 16:27:44'::timestamp) - extract(epoch from '2026-07-22 16:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761981 -2.645261)'), GeomFromEWKT('SRID=4674;POINT (-39.761915 -2.645343)'))) / (select extract(epoch from '2026-07-22 16:27:44'::timestamp) - extract(epoch from '2026-07-22 16:27: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'), 47870, 'SRID=4674;POINT (-39.761828 -2.645431)', '2026-07-22 16:27:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761915 -2.645343)'), GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.645431)'))) / (select extract(epoch from '2026-07-22 16:27:51'::timestamp) - extract(epoch from '2026-07-22 16:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761915 -2.645343)'), GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.645431)'))) / (select extract(epoch from '2026-07-22 16:27:51'::timestamp) - extract(epoch from '2026-07-22 16:27: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'), 47870, 'SRID=4674;POINT (-39.761766 -2.645484)', '2026-07-22 16:27:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.645431)'), GeomFromEWKT('SRID=4674;POINT (-39.761766 -2.645484)'))) / (select extract(epoch from '2026-07-22 16:27:56'::timestamp) - extract(epoch from '2026-07-22 16:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761828 -2.645431)'), GeomFromEWKT('SRID=4674;POINT (-39.761766 -2.645484)'))) / (select extract(epoch from '2026-07-22 16:27:56'::timestamp) - extract(epoch from '2026-07-22 16:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761686 -2.645541)', '2026-07-22 16:28:03', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761766 -2.645484)'), GeomFromEWKT('SRID=4674;POINT (-39.761686 -2.645541)'))) / (select extract(epoch from '2026-07-22 16:28:03'::timestamp) - extract(epoch from '2026-07-22 16:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761766 -2.645484)'), GeomFromEWKT('SRID=4674;POINT (-39.761686 -2.645541)'))) / (select extract(epoch from '2026-07-22 16:28:03'::timestamp) - extract(epoch from '2026-07-22 16:27: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'), 47870, 'SRID=4674;POINT (-39.761596 -2.645604)', '2026-07-22 16:28:10', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761686 -2.645541)'), GeomFromEWKT('SRID=4674;POINT (-39.761596 -2.645604)'))) / (select extract(epoch from '2026-07-22 16:28:10'::timestamp) - extract(epoch from '2026-07-22 16:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761686 -2.645541)'), GeomFromEWKT('SRID=4674;POINT (-39.761596 -2.645604)'))) / (select extract(epoch from '2026-07-22 16:28:10'::timestamp) - extract(epoch from '2026-07-22 16:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761514 -2.645676)', '2026-07-22 16:28:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761596 -2.645604)'), GeomFromEWKT('SRID=4674;POINT (-39.761514 -2.645676)'))) / (select extract(epoch from '2026-07-22 16:28:16'::timestamp) - extract(epoch from '2026-07-22 16:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761596 -2.645604)'), GeomFromEWKT('SRID=4674;POINT (-39.761514 -2.645676)'))) / (select extract(epoch from '2026-07-22 16:28:16'::timestamp) - extract(epoch from '2026-07-22 16:28: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'), 47870, 'SRID=4674;POINT (-39.761477 -2.645717)', '2026-07-22 16:28:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761514 -2.645676)'), GeomFromEWKT('SRID=4674;POINT (-39.761477 -2.645717)'))) / (select extract(epoch from '2026-07-22 16:28:20'::timestamp) - extract(epoch from '2026-07-22 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761514 -2.645676)'), GeomFromEWKT('SRID=4674;POINT (-39.761477 -2.645717)'))) / (select extract(epoch from '2026-07-22 16:28:20'::timestamp) - extract(epoch from '2026-07-22 16:28: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'), 47870, 'SRID=4674;POINT (-39.761459 -2.645737)', '2026-07-22 16:28:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761477 -2.645717)'), GeomFromEWKT('SRID=4674;POINT (-39.761459 -2.645737)'))) / (select extract(epoch from '2026-07-22 16:28:22'::timestamp) - extract(epoch from '2026-07-22 16:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761477 -2.645717)'), GeomFromEWKT('SRID=4674;POINT (-39.761459 -2.645737)'))) / (select extract(epoch from '2026-07-22 16:28:22'::timestamp) - extract(epoch from '2026-07-22 16:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761408 -2.645769)', '2026-07-22 16:28:28', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761459 -2.645737)'), GeomFromEWKT('SRID=4674;POINT (-39.761408 -2.645769)'))) / (select extract(epoch from '2026-07-22 16:28:28'::timestamp) - extract(epoch from '2026-07-22 16:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761459 -2.645737)'), GeomFromEWKT('SRID=4674;POINT (-39.761408 -2.645769)'))) / (select extract(epoch from '2026-07-22 16:28:28'::timestamp) - extract(epoch from '2026-07-22 16:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761314 -2.645807)', '2026-07-22 16:28:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761408 -2.645769)'), GeomFromEWKT('SRID=4674;POINT (-39.761314 -2.645807)'))) / (select extract(epoch from '2026-07-22 16:28:34'::timestamp) - extract(epoch from '2026-07-22 16:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761408 -2.645769)'), GeomFromEWKT('SRID=4674;POINT (-39.761314 -2.645807)'))) / (select extract(epoch from '2026-07-22 16:28:34'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.761191 -2.645859)', '2026-07-22 16:28:42', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761314 -2.645807)'), GeomFromEWKT('SRID=4674;POINT (-39.761191 -2.645859)'))) / (select extract(epoch from '2026-07-22 16:28:42'::timestamp) - extract(epoch from '2026-07-22 16:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761314 -2.645807)'), GeomFromEWKT('SRID=4674;POINT (-39.761191 -2.645859)'))) / (select extract(epoch from '2026-07-22 16:28:42'::timestamp) - extract(epoch from '2026-07-22 16:28: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'), 47870, 'SRID=4674;POINT (-39.761086 -2.645923)', '2026-07-22 16:28:49', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761191 -2.645859)'), GeomFromEWKT('SRID=4674;POINT (-39.761086 -2.645923)'))) / (select extract(epoch from '2026-07-22 16:28:49'::timestamp) - extract(epoch from '2026-07-22 16:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761191 -2.645859)'), GeomFromEWKT('SRID=4674;POINT (-39.761086 -2.645923)'))) / (select extract(epoch from '2026-07-22 16:28:49'::timestamp) - extract(epoch from '2026-07-22 16:28: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'), 47870, 'SRID=4674;POINT (-39.760966 -2.646012)', '2026-07-22 16:28:57', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761086 -2.645923)'), GeomFromEWKT('SRID=4674;POINT (-39.760966 -2.646012)'))) / (select extract(epoch from '2026-07-22 16:28:57'::timestamp) - extract(epoch from '2026-07-22 16:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761086 -2.645923)'), GeomFromEWKT('SRID=4674;POINT (-39.760966 -2.646012)'))) / (select extract(epoch from '2026-07-22 16:28:57'::timestamp) - extract(epoch from '2026-07-22 16:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760874 -2.646096)', '2026-07-22 16:29:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760966 -2.646012)'), GeomFromEWKT('SRID=4674;POINT (-39.760874 -2.646096)'))) / (select extract(epoch from '2026-07-22 16:29:03'::timestamp) - extract(epoch from '2026-07-22 16:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760966 -2.646012)'), GeomFromEWKT('SRID=4674;POINT (-39.760874 -2.646096)'))) / (select extract(epoch from '2026-07-22 16:29:03'::timestamp) - extract(epoch from '2026-07-22 16:28: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'), 47870, 'SRID=4674;POINT (-39.760787 -2.646177)', '2026-07-22 16:29:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760874 -2.646096)'), GeomFromEWKT('SRID=4674;POINT (-39.760787 -2.646177)'))) / (select extract(epoch from '2026-07-22 16:29:09'::timestamp) - extract(epoch from '2026-07-22 16:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760874 -2.646096)'), GeomFromEWKT('SRID=4674;POINT (-39.760787 -2.646177)'))) / (select extract(epoch from '2026-07-22 16:29:09'::timestamp) - extract(epoch from '2026-07-22 16:29: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'), 47870, 'SRID=4674;POINT (-39.760711 -2.646255)', '2026-07-22 16:29:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760787 -2.646177)'), GeomFromEWKT('SRID=4674;POINT (-39.760711 -2.646255)'))) / (select extract(epoch from '2026-07-22 16:29:15'::timestamp) - extract(epoch from '2026-07-22 16:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760787 -2.646177)'), GeomFromEWKT('SRID=4674;POINT (-39.760711 -2.646255)'))) / (select extract(epoch from '2026-07-22 16:29:15'::timestamp) - extract(epoch from '2026-07-22 16:29: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'), 47870, 'SRID=4674;POINT (-39.760637 -2.646329)', '2026-07-22 16:29:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760711 -2.646255)'), GeomFromEWKT('SRID=4674;POINT (-39.760637 -2.646329)'))) / (select extract(epoch from '2026-07-22 16:29:21'::timestamp) - extract(epoch from '2026-07-22 16:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760711 -2.646255)'), GeomFromEWKT('SRID=4674;POINT (-39.760637 -2.646329)'))) / (select extract(epoch from '2026-07-22 16:29:21'::timestamp) - extract(epoch from '2026-07-22 16:29: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'), 47870, 'SRID=4674;POINT (-39.76054 -2.646478)', '2026-07-22 16:29:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760637 -2.646329)'), GeomFromEWKT('SRID=4674;POINT (-39.76054 -2.646478)'))) / (select extract(epoch from '2026-07-22 16:29:30'::timestamp) - extract(epoch from '2026-07-22 16:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760637 -2.646329)'), GeomFromEWKT('SRID=4674;POINT (-39.76054 -2.646478)'))) / (select extract(epoch from '2026-07-22 16:29:30'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.760485 -2.646583)', '2026-07-22 16:29:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76054 -2.646478)'), GeomFromEWKT('SRID=4674;POINT (-39.760485 -2.646583)'))) / (select extract(epoch from '2026-07-22 16:29:36'::timestamp) - extract(epoch from '2026-07-22 16:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76054 -2.646478)'), GeomFromEWKT('SRID=4674;POINT (-39.760485 -2.646583)'))) / (select extract(epoch from '2026-07-22 16:29:36'::timestamp) - extract(epoch from '2026-07-22 16:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760435 -2.646642)', '2026-07-22 16:29:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760485 -2.646583)'), GeomFromEWKT('SRID=4674;POINT (-39.760435 -2.646642)'))) / (select extract(epoch from '2026-07-22 16:29:42'::timestamp) - extract(epoch from '2026-07-22 16:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760485 -2.646583)'), GeomFromEWKT('SRID=4674;POINT (-39.760435 -2.646642)'))) / (select extract(epoch from '2026-07-22 16:29:42'::timestamp) - extract(epoch from '2026-07-22 16:29: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'), 47870, 'SRID=4674;POINT (-39.76042 -2.646679)', '2026-07-22 16:29:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760435 -2.646642)'), GeomFromEWKT('SRID=4674;POINT (-39.76042 -2.646679)'))) / (select extract(epoch from '2026-07-22 16:29:48'::timestamp) - extract(epoch from '2026-07-22 16:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760435 -2.646642)'), GeomFromEWKT('SRID=4674;POINT (-39.76042 -2.646679)'))) / (select extract(epoch from '2026-07-22 16:29:48'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.760425 -2.646683)', '2026-07-22 16:30:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76042 -2.646679)'), GeomFromEWKT('SRID=4674;POINT (-39.760425 -2.646683)'))) / (select extract(epoch from '2026-07-22 16:30:01'::timestamp) - extract(epoch from '2026-07-22 16:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76042 -2.646679)'), GeomFromEWKT('SRID=4674;POINT (-39.760425 -2.646683)'))) / (select extract(epoch from '2026-07-22 16:30:01'::timestamp) - extract(epoch from '2026-07-22 16:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760451 -2.646659)', '2026-07-22 16:30:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760425 -2.646683)'), GeomFromEWKT('SRID=4674;POINT (-39.760451 -2.646659)'))) / (select extract(epoch from '2026-07-22 16:30:09'::timestamp) - extract(epoch from '2026-07-22 16:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760425 -2.646683)'), GeomFromEWKT('SRID=4674;POINT (-39.760451 -2.646659)'))) / (select extract(epoch from '2026-07-22 16:30:09'::timestamp) - extract(epoch from '2026-07-22 16:30: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'), 47870, 'SRID=4674;POINT (-39.760519 -2.64661)', '2026-07-22 16:30:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760451 -2.646659)'), GeomFromEWKT('SRID=4674;POINT (-39.760519 -2.64661)'))) / (select extract(epoch from '2026-07-22 16:30:21'::timestamp) - extract(epoch from '2026-07-22 16:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760451 -2.646659)'), GeomFromEWKT('SRID=4674;POINT (-39.760519 -2.64661)'))) / (select extract(epoch from '2026-07-22 16:30:21'::timestamp) - extract(epoch from '2026-07-22 16:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760582 -2.646554)', '2026-07-22 16:30:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760519 -2.64661)'), GeomFromEWKT('SRID=4674;POINT (-39.760582 -2.646554)'))) / (select extract(epoch from '2026-07-22 16:30:32'::timestamp) - extract(epoch from '2026-07-22 16:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760519 -2.64661)'), GeomFromEWKT('SRID=4674;POINT (-39.760582 -2.646554)'))) / (select extract(epoch from '2026-07-22 16:30:32'::timestamp) - extract(epoch from '2026-07-22 16:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760636 -2.646508)', '2026-07-22 16:30:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760582 -2.646554)'), GeomFromEWKT('SRID=4674;POINT (-39.760636 -2.646508)'))) / (select extract(epoch from '2026-07-22 16:30:42'::timestamp) - extract(epoch from '2026-07-22 16:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760582 -2.646554)'), GeomFromEWKT('SRID=4674;POINT (-39.760636 -2.646508)'))) / (select extract(epoch from '2026-07-22 16:30:42'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47870, 'SRID=4674;POINT (-39.760706 -2.646446)', '2026-07-22 16:30:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760636 -2.646508)'), GeomFromEWKT('SRID=4674;POINT (-39.760706 -2.646446)'))) / (select extract(epoch from '2026-07-22 16:30:54'::timestamp) - extract(epoch from '2026-07-22 16:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760636 -2.646508)'), GeomFromEWKT('SRID=4674;POINT (-39.760706 -2.646446)'))) / (select extract(epoch from '2026-07-22 16:30:54'::timestamp) - extract(epoch from '2026-07-22 16:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
