 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029871 -2.802225)', '2026-07-13 09:36:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029883 -2.802148)'), GeomFromEWKT('SRID=4674;POINT (-40.029871 -2.802225)'))) / (select extract(epoch from '2026-07-13 09:36:22'::timestamp) - extract(epoch from '2026-07-13 09:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029883 -2.802148)'), GeomFromEWKT('SRID=4674;POINT (-40.029871 -2.802225)'))) / (select extract(epoch from '2026-07-13 09:36:22'::timestamp) - extract(epoch from '2026-07-13 09:36: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'), 47628, 'SRID=4674;POINT (-40.029866 -2.802327)', '2026-07-13 09:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029871 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.802327)'))) / (select extract(epoch from '2026-07-13 09:36:28'::timestamp) - extract(epoch from '2026-07-13 09:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029871 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.802327)'))) / (select extract(epoch from '2026-07-13 09:36:28'::timestamp) - extract(epoch from '2026-07-13 09:36: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'), 47628, 'SRID=4674;POINT (-40.029854 -2.802444)', '2026-07-13 09:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.802327)'), GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.802444)'))) / (select extract(epoch from '2026-07-13 09:36:35'::timestamp) - extract(epoch from '2026-07-13 09:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.802327)'), GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.802444)'))) / (select extract(epoch from '2026-07-13 09:36:35'::timestamp) - extract(epoch from '2026-07-13 09:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029837 -2.80253)', '2026-07-13 09:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.80253)'))) / (select extract(epoch from '2026-07-13 09:36:40'::timestamp) - extract(epoch from '2026-07-13 09:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.80253)'))) / (select extract(epoch from '2026-07-13 09:36:40'::timestamp) - extract(epoch from '2026-07-13 09:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029818 -2.802661)', '2026-07-13 09:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.80253)'), GeomFromEWKT('SRID=4674;POINT (-40.029818 -2.802661)'))) / (select extract(epoch from '2026-07-13 09:36:48'::timestamp) - extract(epoch from '2026-07-13 09:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.80253)'), GeomFromEWKT('SRID=4674;POINT (-40.029818 -2.802661)'))) / (select extract(epoch from '2026-07-13 09:36:48'::timestamp) - extract(epoch from '2026-07-13 09:36: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'), 47628, 'SRID=4674;POINT (-40.029793 -2.802744)', '2026-07-13 09:36:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029818 -2.802661)'), GeomFromEWKT('SRID=4674;POINT (-40.029793 -2.802744)'))) / (select extract(epoch from '2026-07-13 09:36:54'::timestamp) - extract(epoch from '2026-07-13 09:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029818 -2.802661)'), GeomFromEWKT('SRID=4674;POINT (-40.029793 -2.802744)'))) / (select extract(epoch from '2026-07-13 09:36:54'::timestamp) - extract(epoch from '2026-07-13 09:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029766 -2.802868)', '2026-07-13 09:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029793 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.029766 -2.802868)'))) / (select extract(epoch from '2026-07-13 09:37:02'::timestamp) - extract(epoch from '2026-07-13 09:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029793 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.029766 -2.802868)'))) / (select extract(epoch from '2026-07-13 09:37:02'::timestamp) - extract(epoch from '2026-07-13 09:36: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'), 47628, 'SRID=4674;POINT (-40.029764 -2.802884)', '2026-07-13 09:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029766 -2.802868)'), GeomFromEWKT('SRID=4674;POINT (-40.029764 -2.802884)'))) / (select extract(epoch from '2026-07-13 09:37:03'::timestamp) - extract(epoch from '2026-07-13 09:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029766 -2.802868)'), GeomFromEWKT('SRID=4674;POINT (-40.029764 -2.802884)'))) / (select extract(epoch from '2026-07-13 09:37:03'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029755 -2.802934)', '2026-07-13 09:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029764 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.802934)'))) / (select extract(epoch from '2026-07-13 09:37:06'::timestamp) - extract(epoch from '2026-07-13 09:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029764 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.802934)'))) / (select extract(epoch from '2026-07-13 09:37:06'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029752 -2.802964)', '2026-07-13 09:37:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.802934)'), GeomFromEWKT('SRID=4674;POINT (-40.029752 -2.802964)'))) / (select extract(epoch from '2026-07-13 09:37:08'::timestamp) - extract(epoch from '2026-07-13 09:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.802934)'), GeomFromEWKT('SRID=4674;POINT (-40.029752 -2.802964)'))) / (select extract(epoch from '2026-07-13 09:37:08'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029745 -2.802994)', '2026-07-13 09:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029752 -2.802964)'), GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.802994)'))) / (select extract(epoch from '2026-07-13 09:37:10'::timestamp) - extract(epoch from '2026-07-13 09:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029752 -2.802964)'), GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.802994)'))) / (select extract(epoch from '2026-07-13 09:37:10'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.029739 -2.803008)', '2026-07-13 09:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.802994)'), GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803008)'))) / (select extract(epoch from '2026-07-13 09:37:11'::timestamp) - extract(epoch from '2026-07-13 09:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.802994)'), GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803008)'))) / (select extract(epoch from '2026-07-13 09:37:11'::timestamp) - extract(epoch from '2026-07-13 09:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02973 -2.803037)', '2026-07-13 09:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803008)'), GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803037)'))) / (select extract(epoch from '2026-07-13 09:37:13'::timestamp) - extract(epoch from '2026-07-13 09:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803008)'), GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803037)'))) / (select extract(epoch from '2026-07-13 09:37:13'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029719 -2.803065)', '2026-07-13 09:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.803065)'))) / (select extract(epoch from '2026-07-13 09:37:15'::timestamp) - extract(epoch from '2026-07-13 09:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.803065)'))) / (select extract(epoch from '2026-07-13 09:37:15'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029653 -2.803153)', '2026-07-13 09:37:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.803065)'), GeomFromEWKT('SRID=4674;POINT (-40.029653 -2.803153)'))) / (select extract(epoch from '2026-07-13 09:37:23'::timestamp) - extract(epoch from '2026-07-13 09:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.803065)'), GeomFromEWKT('SRID=4674;POINT (-40.029653 -2.803153)'))) / (select extract(epoch from '2026-07-13 09:37:23'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029582 -2.80325)', '2026-07-13 09:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029653 -2.803153)'), GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.80325)'))) / (select extract(epoch from '2026-07-13 09:37:32'::timestamp) - extract(epoch from '2026-07-13 09:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029653 -2.803153)'), GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.80325)'))) / (select extract(epoch from '2026-07-13 09:37:32'::timestamp) - extract(epoch from '2026-07-13 09:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029546 -2.803297)', '2026-07-13 09:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.80325)'), GeomFromEWKT('SRID=4674;POINT (-40.029546 -2.803297)'))) / (select extract(epoch from '2026-07-13 09:37:37'::timestamp) - extract(epoch from '2026-07-13 09:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.80325)'), GeomFromEWKT('SRID=4674;POINT (-40.029546 -2.803297)'))) / (select extract(epoch from '2026-07-13 09:37:37'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029506 -2.80334)', '2026-07-13 09:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029546 -2.803297)'), GeomFromEWKT('SRID=4674;POINT (-40.029506 -2.80334)'))) / (select extract(epoch from '2026-07-13 09:37:42'::timestamp) - extract(epoch from '2026-07-13 09:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029546 -2.803297)'), GeomFromEWKT('SRID=4674;POINT (-40.029506 -2.80334)'))) / (select extract(epoch from '2026-07-13 09:37:42'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029487 -2.803354)', '2026-07-13 09:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029506 -2.80334)'), GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.803354)'))) / (select extract(epoch from '2026-07-13 09:37:44'::timestamp) - extract(epoch from '2026-07-13 09:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029506 -2.80334)'), GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.803354)'))) / (select extract(epoch from '2026-07-13 09:37:44'::timestamp) - extract(epoch from '2026-07-13 09:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029454 -2.803395)', '2026-07-13 09:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803395)'))) / (select extract(epoch from '2026-07-13 09:37:49'::timestamp) - extract(epoch from '2026-07-13 09:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803395)'))) / (select extract(epoch from '2026-07-13 09:37:49'::timestamp) - extract(epoch from '2026-07-13 09:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029453 -2.803406)', '2026-07-13 09:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803395)'), GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.803406)'))) / (select extract(epoch from '2026-07-13 09:37:50'::timestamp) - extract(epoch from '2026-07-13 09:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803395)'), GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.803406)'))) / (select extract(epoch from '2026-07-13 09:37:50'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029417 -2.803454)', '2026-07-13 09:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.803406)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.803454)'))) / (select extract(epoch from '2026-07-13 09:37:57'::timestamp) - extract(epoch from '2026-07-13 09:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029453 -2.803406)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.803454)'))) / (select extract(epoch from '2026-07-13 09:37:57'::timestamp) - extract(epoch from '2026-07-13 09:37: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'), 47628, 'SRID=4674;POINT (-40.029397 -2.803459)', '2026-07-13 09:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.029397 -2.803459)'))) / (select extract(epoch from '2026-07-13 09:38:05'::timestamp) - extract(epoch from '2026-07-13 09:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.029397 -2.803459)'))) / (select extract(epoch from '2026-07-13 09:38:05'::timestamp) - extract(epoch from '2026-07-13 09:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029429 -2.803455)', '2026-07-13 09:38:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029397 -2.803459)'), GeomFromEWKT('SRID=4674;POINT (-40.029429 -2.803455)'))) / (select extract(epoch from '2026-07-13 09:38:15'::timestamp) - extract(epoch from '2026-07-13 09:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029397 -2.803459)'), GeomFromEWKT('SRID=4674;POINT (-40.029429 -2.803455)'))) / (select extract(epoch from '2026-07-13 09:38:15'::timestamp) - extract(epoch from '2026-07-13 09:38: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'), 47628, 'SRID=4674;POINT (-40.029501 -2.803433)', '2026-07-13 09:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029429 -2.803455)'), GeomFromEWKT('SRID=4674;POINT (-40.029501 -2.803433)'))) / (select extract(epoch from '2026-07-13 09:38:37'::timestamp) - extract(epoch from '2026-07-13 09:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029429 -2.803455)'), GeomFromEWKT('SRID=4674;POINT (-40.029501 -2.803433)'))) / (select extract(epoch from '2026-07-13 09:38:37'::timestamp) - extract(epoch from '2026-07-13 09:38: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'), 47628, 'SRID=4674;POINT (-40.029503 -2.803439)', '2026-07-13 09:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029501 -2.803433)'), GeomFromEWKT('SRID=4674;POINT (-40.029503 -2.803439)'))) / (select extract(epoch from '2026-07-13 09:38:55'::timestamp) - extract(epoch from '2026-07-13 09:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029501 -2.803433)'), GeomFromEWKT('SRID=4674;POINT (-40.029503 -2.803439)'))) / (select extract(epoch from '2026-07-13 09:38:55'::timestamp) - extract(epoch from '2026-07-13 09:38: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'), 47628, 'SRID=4674;POINT (-40.029502 -2.803446)', '2026-07-13 09:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029503 -2.803439)'), GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803446)'))) / (select extract(epoch from '2026-07-13 09:39:01'::timestamp) - extract(epoch from '2026-07-13 09:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029503 -2.803439)'), GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803446)'))) / (select extract(epoch from '2026-07-13 09:39:01'::timestamp) - extract(epoch from '2026-07-13 09:38: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'), 47628, 'SRID=4674;POINT (-40.029514 -2.803476)', '2026-07-13 09:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.029514 -2.803476)'))) / (select extract(epoch from '2026-07-13 09:39:22'::timestamp) - extract(epoch from '2026-07-13 09:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.029514 -2.803476)'))) / (select extract(epoch from '2026-07-13 09:39:22'::timestamp) - extract(epoch from '2026-07-13 09:39: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'), 47628, 'SRID=4674;POINT (-40.029489 -2.803484)', '2026-07-13 09:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029514 -2.803476)'), GeomFromEWKT('SRID=4674;POINT (-40.029489 -2.803484)'))) / (select extract(epoch from '2026-07-13 09:39:32'::timestamp) - extract(epoch from '2026-07-13 09:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029514 -2.803476)'), GeomFromEWKT('SRID=4674;POINT (-40.029489 -2.803484)'))) / (select extract(epoch from '2026-07-13 09:39:32'::timestamp) - extract(epoch from '2026-07-13 09:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029411 -2.803475)', '2026-07-13 09:39:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029489 -2.803484)'), GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803475)'))) / (select extract(epoch from '2026-07-13 09:39:42'::timestamp) - extract(epoch from '2026-07-13 09:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029489 -2.803484)'), GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803475)'))) / (select extract(epoch from '2026-07-13 09:39:42'::timestamp) - extract(epoch from '2026-07-13 09:39: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'), 47628, 'SRID=4674;POINT (-40.029378 -2.80346)', '2026-07-13 09:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803475)'), GeomFromEWKT('SRID=4674;POINT (-40.029378 -2.80346)'))) / (select extract(epoch from '2026-07-13 09:39:49'::timestamp) - extract(epoch from '2026-07-13 09:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803475)'), GeomFromEWKT('SRID=4674;POINT (-40.029378 -2.80346)'))) / (select extract(epoch from '2026-07-13 09:39:49'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.029348 -2.803459)', '2026-07-13 09:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029378 -2.80346)'), GeomFromEWKT('SRID=4674;POINT (-40.029348 -2.803459)'))) / (select extract(epoch from '2026-07-13 09:39:56'::timestamp) - extract(epoch from '2026-07-13 09:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029378 -2.80346)'), GeomFromEWKT('SRID=4674;POINT (-40.029348 -2.803459)'))) / (select extract(epoch from '2026-07-13 09:39:56'::timestamp) - extract(epoch from '2026-07-13 09:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029336 -2.803477)', '2026-07-13 09:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029348 -2.803459)'), GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.803477)'))) / (select extract(epoch from '2026-07-13 09:39:59'::timestamp) - extract(epoch from '2026-07-13 09:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029348 -2.803459)'), GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.803477)'))) / (select extract(epoch from '2026-07-13 09:39:59'::timestamp) - extract(epoch from '2026-07-13 09:39: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'), 47628, 'SRID=4674;POINT (-40.029331 -2.803507)', '2026-07-13 09:40:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.029331 -2.803507)'))) / (select extract(epoch from '2026-07-13 09:40:02'::timestamp) - extract(epoch from '2026-07-13 09:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.029331 -2.803507)'))) / (select extract(epoch from '2026-07-13 09:40:02'::timestamp) - extract(epoch from '2026-07-13 09:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029333 -2.803564)', '2026-07-13 09:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029331 -2.803507)'), GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.803564)'))) / (select extract(epoch from '2026-07-13 09:40:06'::timestamp) - extract(epoch from '2026-07-13 09:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029331 -2.803507)'), GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.803564)'))) / (select extract(epoch from '2026-07-13 09:40:06'::timestamp) - extract(epoch from '2026-07-13 09:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029346 -2.803594)', '2026-07-13 09:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.803564)'), GeomFromEWKT('SRID=4674;POINT (-40.029346 -2.803594)'))) / (select extract(epoch from '2026-07-13 09:40:08'::timestamp) - extract(epoch from '2026-07-13 09:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.803564)'), GeomFromEWKT('SRID=4674;POINT (-40.029346 -2.803594)'))) / (select extract(epoch from '2026-07-13 09:40:08'::timestamp) - extract(epoch from '2026-07-13 09:40: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'), 47628, 'SRID=4674;POINT (-40.029411 -2.803703)', '2026-07-13 09:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029346 -2.803594)'), GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803703)'))) / (select extract(epoch from '2026-07-13 09:40:15'::timestamp) - extract(epoch from '2026-07-13 09:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029346 -2.803594)'), GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803703)'))) / (select extract(epoch from '2026-07-13 09:40:15'::timestamp) - extract(epoch from '2026-07-13 09:40: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'), 47628, 'SRID=4674;POINT (-40.029476 -2.803798)', '2026-07-13 09:40:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803703)'), GeomFromEWKT('SRID=4674;POINT (-40.029476 -2.803798)'))) / (select extract(epoch from '2026-07-13 09:40:21'::timestamp) - extract(epoch from '2026-07-13 09:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029411 -2.803703)'), GeomFromEWKT('SRID=4674;POINT (-40.029476 -2.803798)'))) / (select extract(epoch from '2026-07-13 09:40:21'::timestamp) - extract(epoch from '2026-07-13 09:40: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'), 47628, 'SRID=4674;POINT (-40.029523 -2.803884)', '2026-07-13 09:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029476 -2.803798)'), GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.803884)'))) / (select extract(epoch from '2026-07-13 09:40:26'::timestamp) - extract(epoch from '2026-07-13 09:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029476 -2.803798)'), GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.803884)'))) / (select extract(epoch from '2026-07-13 09:40:26'::timestamp) - extract(epoch from '2026-07-13 09:40: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'), 47628, 'SRID=4674;POINT (-40.029587 -2.804021)', '2026-07-13 09:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.803884)'), GeomFromEWKT('SRID=4674;POINT (-40.029587 -2.804021)'))) / (select extract(epoch from '2026-07-13 09:40:34'::timestamp) - extract(epoch from '2026-07-13 09:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.803884)'), GeomFromEWKT('SRID=4674;POINT (-40.029587 -2.804021)'))) / (select extract(epoch from '2026-07-13 09:40:34'::timestamp) - extract(epoch from '2026-07-13 09:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029622 -2.804103)', '2026-07-13 09:40:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029587 -2.804021)'), GeomFromEWKT('SRID=4674;POINT (-40.029622 -2.804103)'))) / (select extract(epoch from '2026-07-13 09:40:39'::timestamp) - extract(epoch from '2026-07-13 09:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029587 -2.804021)'), GeomFromEWKT('SRID=4674;POINT (-40.029622 -2.804103)'))) / (select extract(epoch from '2026-07-13 09:40:39'::timestamp) - extract(epoch from '2026-07-13 09:40: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'), 47628, 'SRID=4674;POINT (-40.029636 -2.804117)', '2026-07-13 09:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029622 -2.804103)'), GeomFromEWKT('SRID=4674;POINT (-40.029636 -2.804117)'))) / (select extract(epoch from '2026-07-13 09:40:40'::timestamp) - extract(epoch from '2026-07-13 09:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029622 -2.804103)'), GeomFromEWKT('SRID=4674;POINT (-40.029636 -2.804117)'))) / (select extract(epoch from '2026-07-13 09:40:40'::timestamp) - extract(epoch from '2026-07-13 09:40: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'), 47628, 'SRID=4674;POINT (-40.029734 -2.804177)', '2026-07-13 09:40:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029636 -2.804117)'), GeomFromEWKT('SRID=4674;POINT (-40.029734 -2.804177)'))) / (select extract(epoch from '2026-07-13 09:40:46'::timestamp) - extract(epoch from '2026-07-13 09:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029636 -2.804117)'), GeomFromEWKT('SRID=4674;POINT (-40.029734 -2.804177)'))) / (select extract(epoch from '2026-07-13 09:40:46'::timestamp) - extract(epoch from '2026-07-13 09:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029835 -2.804214)', '2026-07-13 09:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029734 -2.804177)'), GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804214)'))) / (select extract(epoch from '2026-07-13 09:40:52'::timestamp) - extract(epoch from '2026-07-13 09:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029734 -2.804177)'), GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804214)'))) / (select extract(epoch from '2026-07-13 09:40:52'::timestamp) - extract(epoch from '2026-07-13 09:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029918 -2.804297)', '2026-07-13 09:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804214)'), GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804297)'))) / (select extract(epoch from '2026-07-13 09:41:00'::timestamp) - extract(epoch from '2026-07-13 09:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804214)'), GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804297)'))) / (select extract(epoch from '2026-07-13 09:41:00'::timestamp) - extract(epoch from '2026-07-13 09:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029922 -2.804327)', '2026-07-13 09:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804297)'), GeomFromEWKT('SRID=4674;POINT (-40.029922 -2.804327)'))) / (select extract(epoch from '2026-07-13 09:41:02'::timestamp) - extract(epoch from '2026-07-13 09:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804297)'), GeomFromEWKT('SRID=4674;POINT (-40.029922 -2.804327)'))) / (select extract(epoch from '2026-07-13 09:41:02'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.029918 -2.804378)', '2026-07-13 09:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029922 -2.804327)'), GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804378)'))) / (select extract(epoch from '2026-07-13 09:41:06'::timestamp) - extract(epoch from '2026-07-13 09:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029922 -2.804327)'), GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804378)'))) / (select extract(epoch from '2026-07-13 09:41:06'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.029913 -2.804395)', '2026-07-13 09:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.029913 -2.804395)'))) / (select extract(epoch from '2026-07-13 09:41:08'::timestamp) - extract(epoch from '2026-07-13 09:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029918 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.029913 -2.804395)'))) / (select extract(epoch from '2026-07-13 09:41:08'::timestamp) - extract(epoch from '2026-07-13 09:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029904 -2.804414)', '2026-07-13 09:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029913 -2.804395)'), GeomFromEWKT('SRID=4674;POINT (-40.029904 -2.804414)'))) / (select extract(epoch from '2026-07-13 09:41:10'::timestamp) - extract(epoch from '2026-07-13 09:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029913 -2.804395)'), GeomFromEWKT('SRID=4674;POINT (-40.029904 -2.804414)'))) / (select extract(epoch from '2026-07-13 09:41:10'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.029906 -2.804436)', '2026-07-13 09:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029904 -2.804414)'), GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.804436)'))) / (select extract(epoch from '2026-07-13 09:41:12'::timestamp) - extract(epoch from '2026-07-13 09:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029904 -2.804414)'), GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.804436)'))) / (select extract(epoch from '2026-07-13 09:41:12'::timestamp) - extract(epoch from '2026-07-13 09:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029934 -2.804469)', '2026-07-13 09:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.804436)'), GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804469)'))) / (select extract(epoch from '2026-07-13 09:41:15'::timestamp) - extract(epoch from '2026-07-13 09:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.804436)'), GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804469)'))) / (select extract(epoch from '2026-07-13 09:41:15'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.030012 -2.804484)', '2026-07-13 09:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804469)'), GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804484)'))) / (select extract(epoch from '2026-07-13 09:41:20'::timestamp) - extract(epoch from '2026-07-13 09:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804469)'), GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804484)'))) / (select extract(epoch from '2026-07-13 09:41:20'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.030067 -2.804446)', '2026-07-13 09:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804484)'), GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804446)'))) / (select extract(epoch from '2026-07-13 09:41:24'::timestamp) - extract(epoch from '2026-07-13 09:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030012 -2.804484)'), GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804446)'))) / (select extract(epoch from '2026-07-13 09:41:24'::timestamp) - extract(epoch from '2026-07-13 09:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030081 -2.804419)', '2026-07-13 09:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804446)'), GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.804419)'))) / (select extract(epoch from '2026-07-13 09:41:26'::timestamp) - extract(epoch from '2026-07-13 09:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804446)'), GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.804419)'))) / (select extract(epoch from '2026-07-13 09:41:26'::timestamp) - extract(epoch from '2026-07-13 09:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030086 -2.80439)', '2026-07-13 09:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.804419)'), GeomFromEWKT('SRID=4674;POINT (-40.030086 -2.80439)'))) / (select extract(epoch from '2026-07-13 09:41:28'::timestamp) - extract(epoch from '2026-07-13 09:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.804419)'), GeomFromEWKT('SRID=4674;POINT (-40.030086 -2.80439)'))) / (select extract(epoch from '2026-07-13 09:41:28'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.030074 -2.804338)', '2026-07-13 09:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030086 -2.80439)'), GeomFromEWKT('SRID=4674;POINT (-40.030074 -2.804338)'))) / (select extract(epoch from '2026-07-13 09:41:32'::timestamp) - extract(epoch from '2026-07-13 09:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030086 -2.80439)'), GeomFromEWKT('SRID=4674;POINT (-40.030074 -2.804338)'))) / (select extract(epoch from '2026-07-13 09:41:32'::timestamp) - extract(epoch from '2026-07-13 09:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030037 -2.804319)', '2026-07-13 09:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030074 -2.804338)'), GeomFromEWKT('SRID=4674;POINT (-40.030037 -2.804319)'))) / (select extract(epoch from '2026-07-13 09:41:37'::timestamp) - extract(epoch from '2026-07-13 09:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030074 -2.804338)'), GeomFromEWKT('SRID=4674;POINT (-40.030037 -2.804319)'))) / (select extract(epoch from '2026-07-13 09:41:37'::timestamp) - extract(epoch from '2026-07-13 09:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030027 -2.804322)', '2026-07-13 09:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030037 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804322)'))) / (select extract(epoch from '2026-07-13 09:41:38'::timestamp) - extract(epoch from '2026-07-13 09:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030037 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804322)'))) / (select extract(epoch from '2026-07-13 09:41:38'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.029984 -2.804346)', '2026-07-13 09:41:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804322)'), GeomFromEWKT('SRID=4674;POINT (-40.029984 -2.804346)'))) / (select extract(epoch from '2026-07-13 09:41:43'::timestamp) - extract(epoch from '2026-07-13 09:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804322)'), GeomFromEWKT('SRID=4674;POINT (-40.029984 -2.804346)'))) / (select extract(epoch from '2026-07-13 09:41:43'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.029977 -2.804355)', '2026-07-13 09:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029984 -2.804346)'), GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.804355)'))) / (select extract(epoch from '2026-07-13 09:41:44'::timestamp) - extract(epoch from '2026-07-13 09:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029984 -2.804346)'), GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.804355)'))) / (select extract(epoch from '2026-07-13 09:41:44'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.029942 -2.804416)', '2026-07-13 09:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.804355)'), GeomFromEWKT('SRID=4674;POINT (-40.029942 -2.804416)'))) / (select extract(epoch from '2026-07-13 09:41:49'::timestamp) - extract(epoch from '2026-07-13 09:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.804355)'), GeomFromEWKT('SRID=4674;POINT (-40.029942 -2.804416)'))) / (select extract(epoch from '2026-07-13 09:41:49'::timestamp) - extract(epoch from '2026-07-13 09:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029937 -2.804423)', '2026-07-13 09:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029942 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.029937 -2.804423)'))) / (select extract(epoch from '2026-07-13 09:41:50'::timestamp) - extract(epoch from '2026-07-13 09:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029942 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.029937 -2.804423)'))) / (select extract(epoch from '2026-07-13 09:41:50'::timestamp) - extract(epoch from '2026-07-13 09:41: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'), 47628, 'SRID=4674;POINT (-40.029934 -2.804438)', '2026-07-13 09:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029937 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804438)'))) / (select extract(epoch from '2026-07-13 09:41:54'::timestamp) - extract(epoch from '2026-07-13 09:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029937 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804438)'))) / (select extract(epoch from '2026-07-13 09:41:54'::timestamp) - extract(epoch from '2026-07-13 09:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029954 -2.804437)', '2026-07-13 09:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.029954 -2.804437)'))) / (select extract(epoch from '2026-07-13 09:42:07'::timestamp) - extract(epoch from '2026-07-13 09:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.029954 -2.804437)'))) / (select extract(epoch from '2026-07-13 09:42:07'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030046 -2.804398)', '2026-07-13 09:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029954 -2.804437)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804398)'))) / (select extract(epoch from '2026-07-13 09:42:31'::timestamp) - extract(epoch from '2026-07-13 09:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029954 -2.804437)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804398)'))) / (select extract(epoch from '2026-07-13 09:42:31'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030055 -2.8044)', '2026-07-13 09:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804398)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.8044)'))) / (select extract(epoch from '2026-07-13 09:42:47'::timestamp) - extract(epoch from '2026-07-13 09:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804398)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.8044)'))) / (select extract(epoch from '2026-07-13 09:42:47'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47628, 'SRID=4674;POINT (-40.030055 -2.804408)', '2026-07-13 09:43:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.8044)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804408)'))) / (select extract(epoch from '2026-07-13 09:43:09'::timestamp) - extract(epoch from '2026-07-13 09:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.8044)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804408)'))) / (select extract(epoch from '2026-07-13 09:43:09'::timestamp) - extract(epoch from '2026-07-13 09:42: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'), 47628, 'SRID=4674;POINT (-40.030048 -2.804406)', '2026-07-13 09:43:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804408)'), GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804406)'))) / (select extract(epoch from '2026-07-13 09:43:20'::timestamp) - extract(epoch from '2026-07-13 09:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804408)'), GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804406)'))) / (select extract(epoch from '2026-07-13 09:43:20'::timestamp) - extract(epoch from '2026-07-13 09:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030052 -2.804386)', '2026-07-13 09:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804406)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804386)'))) / (select extract(epoch from '2026-07-13 09:43:33'::timestamp) - extract(epoch from '2026-07-13 09:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804406)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804386)'))) / (select extract(epoch from '2026-07-13 09:43:33'::timestamp) - extract(epoch from '2026-07-13 09:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030049 -2.804393)', '2026-07-13 09:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804386)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804393)'))) / (select extract(epoch from '2026-07-13 09:43:54'::timestamp) - extract(epoch from '2026-07-13 09:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804386)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804393)'))) / (select extract(epoch from '2026-07-13 09:43:54'::timestamp) - extract(epoch from '2026-07-13 09:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030058 -2.804405)', '2026-07-13 09:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804393)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804405)'))) / (select extract(epoch from '2026-07-13 09:44:06'::timestamp) - extract(epoch from '2026-07-13 09:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804393)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804405)'))) / (select extract(epoch from '2026-07-13 09:44:06'::timestamp) - extract(epoch from '2026-07-13 09:43: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'), 47628, 'SRID=4674;POINT (-40.030058 -2.804423)', '2026-07-13 09:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804405)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804423)'))) / (select extract(epoch from '2026-07-13 09:44:22'::timestamp) - extract(epoch from '2026-07-13 09:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804405)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804423)'))) / (select extract(epoch from '2026-07-13 09:44:22'::timestamp) - extract(epoch from '2026-07-13 09:44: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'), 47628, 'SRID=4674;POINT (-40.030057 -2.804416)', '2026-07-13 09:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.804416)'))) / (select extract(epoch from '2026-07-13 09:44:49'::timestamp) - extract(epoch from '2026-07-13 09:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.804416)'))) / (select extract(epoch from '2026-07-13 09:44:49'::timestamp) - extract(epoch from '2026-07-13 09:44: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'), 47628, 'SRID=4674;POINT (-40.030063 -2.804406)', '2026-07-13 09:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.804406)'))) / (select extract(epoch from '2026-07-13 09:45:16'::timestamp) - extract(epoch from '2026-07-13 09:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.804406)'))) / (select extract(epoch from '2026-07-13 09:45:16'::timestamp) - extract(epoch from '2026-07-13 09:44: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'), 47628, 'SRID=4674;POINT (-40.030066 -2.804424)', '2026-07-13 09:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.804406)'), GeomFromEWKT('SRID=4674;POINT (-40.030066 -2.804424)'))) / (select extract(epoch from '2026-07-13 09:45:30'::timestamp) - extract(epoch from '2026-07-13 09:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.804406)'), GeomFromEWKT('SRID=4674;POINT (-40.030066 -2.804424)'))) / (select extract(epoch from '2026-07-13 09:45:30'::timestamp) - extract(epoch from '2026-07-13 09:45: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'), 47628, 'SRID=4674;POINT (-40.030061 -2.804423)', '2026-07-13 09:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030066 -2.804424)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804423)'))) / (select extract(epoch from '2026-07-13 09:46:19'::timestamp) - extract(epoch from '2026-07-13 09:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030066 -2.804424)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804423)'))) / (select extract(epoch from '2026-07-13 09:46:19'::timestamp) - extract(epoch from '2026-07-13 09:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.03006 -2.80442)', '2026-07-13 09:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.03006 -2.80442)'))) / (select extract(epoch from '2026-07-13 09:47:05'::timestamp) - extract(epoch from '2026-07-13 09:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.03006 -2.80442)'))) / (select extract(epoch from '2026-07-13 09:47:05'::timestamp) - extract(epoch from '2026-07-13 09:46: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'), 47628, 'SRID=4674;POINT (-40.030054 -2.804392)', '2026-07-13 09:47:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03006 -2.80442)'), GeomFromEWKT('SRID=4674;POINT (-40.030054 -2.804392)'))) / (select extract(epoch from '2026-07-13 09:47:28'::timestamp) - extract(epoch from '2026-07-13 09:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03006 -2.80442)'), GeomFromEWKT('SRID=4674;POINT (-40.030054 -2.804392)'))) / (select extract(epoch from '2026-07-13 09:47:28'::timestamp) - extract(epoch from '2026-07-13 09:47: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'), 47628, 'SRID=4674;POINT (-40.030061 -2.804407)', '2026-07-13 09:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030054 -2.804392)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804407)'))) / (select extract(epoch from '2026-07-13 09:47:47'::timestamp) - extract(epoch from '2026-07-13 09:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030054 -2.804392)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804407)'))) / (select extract(epoch from '2026-07-13 09:47:47'::timestamp) - extract(epoch from '2026-07-13 09:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030058 -2.804409)', '2026-07-13 09:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804407)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804409)'))) / (select extract(epoch from '2026-07-13 09:48:14'::timestamp) - extract(epoch from '2026-07-13 09:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804407)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804409)'))) / (select extract(epoch from '2026-07-13 09:48:14'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030055 -2.804419)', '2026-07-13 09:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804409)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804419)'))) / (select extract(epoch from '2026-07-13 09:48:44'::timestamp) - extract(epoch from '2026-07-13 09:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804409)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804419)'))) / (select extract(epoch from '2026-07-13 09:48:44'::timestamp) - extract(epoch from '2026-07-13 09:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030052 -2.804402)', '2026-07-13 09:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804419)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804402)'))) / (select extract(epoch from '2026-07-13 09:49:10'::timestamp) - extract(epoch from '2026-07-13 09:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804419)'), GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804402)'))) / (select extract(epoch from '2026-07-13 09:49:10'::timestamp) - extract(epoch from '2026-07-13 09:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030056 -2.804425)', '2026-07-13 09:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804402)'), GeomFromEWKT('SRID=4674;POINT (-40.030056 -2.804425)'))) / (select extract(epoch from '2026-07-13 09:49:31'::timestamp) - extract(epoch from '2026-07-13 09:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030052 -2.804402)'), GeomFromEWKT('SRID=4674;POINT (-40.030056 -2.804425)'))) / (select extract(epoch from '2026-07-13 09:49:31'::timestamp) - extract(epoch from '2026-07-13 09:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030057 -2.80441)', '2026-07-13 09:49:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030056 -2.804425)'), GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.80441)'))) / (select extract(epoch from '2026-07-13 09:49:53'::timestamp) - extract(epoch from '2026-07-13 09:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030056 -2.804425)'), GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.80441)'))) / (select extract(epoch from '2026-07-13 09:49:53'::timestamp) - extract(epoch from '2026-07-13 09:49: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'), 47628, 'SRID=4674;POINT (-40.030061 -2.8044)', '2026-07-13 09:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.80441)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.8044)'))) / (select extract(epoch from '2026-07-13 09:50:21'::timestamp) - extract(epoch from '2026-07-13 09:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030057 -2.80441)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.8044)'))) / (select extract(epoch from '2026-07-13 09:50:21'::timestamp) - extract(epoch from '2026-07-13 09:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030068 -2.804419)', '2026-07-13 09:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.8044)'), GeomFromEWKT('SRID=4674;POINT (-40.030068 -2.804419)'))) / (select extract(epoch from '2026-07-13 09:50:55'::timestamp) - extract(epoch from '2026-07-13 09:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.8044)'), GeomFromEWKT('SRID=4674;POINT (-40.030068 -2.804419)'))) / (select extract(epoch from '2026-07-13 09:50:55'::timestamp) - extract(epoch from '2026-07-13 09:50: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'), 47628, 'SRID=4674;POINT (-40.030061 -2.804403)', '2026-07-13 09:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030068 -2.804419)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804403)'))) / (select extract(epoch from '2026-07-13 09:51:03'::timestamp) - extract(epoch from '2026-07-13 09:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030068 -2.804419)'), GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804403)'))) / (select extract(epoch from '2026-07-13 09:51:03'::timestamp) - extract(epoch from '2026-07-13 09:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030036 -2.804394)', '2026-07-13 09:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804403)'), GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804394)'))) / (select extract(epoch from '2026-07-13 09:51:09'::timestamp) - extract(epoch from '2026-07-13 09:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030061 -2.804403)'), GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804394)'))) / (select extract(epoch from '2026-07-13 09:51:09'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47628, 'SRID=4674;POINT (-40.029962 -2.804415)', '2026-07-13 09:51:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804394)'), GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.804415)'))) / (select extract(epoch from '2026-07-13 09:51:17'::timestamp) - extract(epoch from '2026-07-13 09:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804394)'), GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.804415)'))) / (select extract(epoch from '2026-07-13 09:51:17'::timestamp) - extract(epoch from '2026-07-13 09:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029912 -2.804422)', '2026-07-13 09:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.804415)'), GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.804422)'))) / (select extract(epoch from '2026-07-13 09:51:23'::timestamp) - extract(epoch from '2026-07-13 09:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.804415)'), GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.804422)'))) / (select extract(epoch from '2026-07-13 09:51:23'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47628, 'SRID=4674;POINT (-40.029866 -2.804416)', '2026-07-13 09:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.804422)'), GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.804416)'))) / (select extract(epoch from '2026-07-13 09:51:33'::timestamp) - extract(epoch from '2026-07-13 09:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029912 -2.804422)'), GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.804416)'))) / (select extract(epoch from '2026-07-13 09:51:33'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47628, 'SRID=4674;POINT (-40.029837 -2.804455)', '2026-07-13 09:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804455)'))) / (select extract(epoch from '2026-07-13 09:51:40'::timestamp) - extract(epoch from '2026-07-13 09:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029866 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804455)'))) / (select extract(epoch from '2026-07-13 09:51:40'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.029837 -2.804467)', '2026-07-13 09:51:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804455)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804467)'))) / (select extract(epoch from '2026-07-13 09:51:41'::timestamp) - extract(epoch from '2026-07-13 09:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804455)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804467)'))) / (select extract(epoch from '2026-07-13 09:51:41'::timestamp) - extract(epoch from '2026-07-13 09:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02986 -2.804542)', '2026-07-13 09:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804467)'), GeomFromEWKT('SRID=4674;POINT (-40.02986 -2.804542)'))) / (select extract(epoch from '2026-07-13 09:51:46'::timestamp) - extract(epoch from '2026-07-13 09:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804467)'), GeomFromEWKT('SRID=4674;POINT (-40.02986 -2.804542)'))) / (select extract(epoch from '2026-07-13 09:51:46'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47628, 'SRID=4674;POINT (-40.029902 -2.804648)', '2026-07-13 09:51:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02986 -2.804542)'), GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804648)'))) / (select extract(epoch from '2026-07-13 09:51:52'::timestamp) - extract(epoch from '2026-07-13 09:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02986 -2.804542)'), GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804648)'))) / (select extract(epoch from '2026-07-13 09:51:52'::timestamp) - extract(epoch from '2026-07-13 09:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029971 -2.804811)', '2026-07-13 09:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804648)'), GeomFromEWKT('SRID=4674;POINT (-40.029971 -2.804811)'))) / (select extract(epoch from '2026-07-13 09:52:01'::timestamp) - extract(epoch from '2026-07-13 09:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804648)'), GeomFromEWKT('SRID=4674;POINT (-40.029971 -2.804811)'))) / (select extract(epoch from '2026-07-13 09:52:01'::timestamp) - extract(epoch from '2026-07-13 09:51: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'), 47628, 'SRID=4674;POINT (-40.030008 -2.804918)', '2026-07-13 09:52:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029971 -2.804811)'), GeomFromEWKT('SRID=4674;POINT (-40.030008 -2.804918)'))) / (select extract(epoch from '2026-07-13 09:52:07'::timestamp) - extract(epoch from '2026-07-13 09:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029971 -2.804811)'), GeomFromEWKT('SRID=4674;POINT (-40.030008 -2.804918)'))) / (select extract(epoch from '2026-07-13 09:52:07'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030016 -2.804954)', '2026-07-13 09:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030008 -2.804918)'), GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804954)'))) / (select extract(epoch from '2026-07-13 09:52:09'::timestamp) - extract(epoch from '2026-07-13 09:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030008 -2.804918)'), GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804954)'))) / (select extract(epoch from '2026-07-13 09:52:09'::timestamp) - extract(epoch from '2026-07-13 09:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030027 -2.804991)', '2026-07-13 09:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804991)'))) / (select extract(epoch from '2026-07-13 09:52:11'::timestamp) - extract(epoch from '2026-07-13 09:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804991)'))) / (select extract(epoch from '2026-07-13 09:52:11'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030059 -2.805103)', '2026-07-13 09:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804991)'), GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.805103)'))) / (select extract(epoch from '2026-07-13 09:52:17'::timestamp) - extract(epoch from '2026-07-13 09:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804991)'), GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.805103)'))) / (select extract(epoch from '2026-07-13 09:52:17'::timestamp) - extract(epoch from '2026-07-13 09:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030063 -2.805136)', '2026-07-13 09:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.805103)'), GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.805136)'))) / (select extract(epoch from '2026-07-13 09:52:19'::timestamp) - extract(epoch from '2026-07-13 09:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030059 -2.805103)'), GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.805136)'))) / (select extract(epoch from '2026-07-13 09:52:19'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030067 -2.805174)', '2026-07-13 09:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.805136)'), GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.805174)'))) / (select extract(epoch from '2026-07-13 09:52:21'::timestamp) - extract(epoch from '2026-07-13 09:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030063 -2.805136)'), GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.805174)'))) / (select extract(epoch from '2026-07-13 09:52:21'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030071 -2.805226)', '2026-07-13 09:52:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.805174)'), GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.805226)'))) / (select extract(epoch from '2026-07-13 09:52:24'::timestamp) - extract(epoch from '2026-07-13 09:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.805174)'), GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.805226)'))) / (select extract(epoch from '2026-07-13 09:52:24'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030085 -2.805259)', '2026-07-13 09:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.030085 -2.805259)'))) / (select extract(epoch from '2026-07-13 09:52:26'::timestamp) - extract(epoch from '2026-07-13 09:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.030085 -2.805259)'))) / (select extract(epoch from '2026-07-13 09:52:26'::timestamp) - extract(epoch from '2026-07-13 09:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030103 -2.805289)', '2026-07-13 09:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030085 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.805289)'))) / (select extract(epoch from '2026-07-13 09:52:28'::timestamp) - extract(epoch from '2026-07-13 09:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030085 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.805289)'))) / (select extract(epoch from '2026-07-13 09:52:28'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030145 -2.805312)', '2026-07-13 09:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.805289)'), GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:52:31'::timestamp) - extract(epoch from '2026-07-13 09:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.805289)'), GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:52:31'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.03023 -2.805294)', '2026-07-13 09:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.03023 -2.805294)'))) / (select extract(epoch from '2026-07-13 09:52:37'::timestamp) - extract(epoch from '2026-07-13 09:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.03023 -2.805294)'))) / (select extract(epoch from '2026-07-13 09:52:37'::timestamp) - extract(epoch from '2026-07-13 09:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030267 -2.805206)', '2026-07-13 09:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03023 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.030267 -2.805206)'))) / (select extract(epoch from '2026-07-13 09:52:44'::timestamp) - extract(epoch from '2026-07-13 09:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03023 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.030267 -2.805206)'))) / (select extract(epoch from '2026-07-13 09:52:44'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030234 -2.805159)', '2026-07-13 09:52:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030267 -2.805206)'), GeomFromEWKT('SRID=4674;POINT (-40.030234 -2.805159)'))) / (select extract(epoch from '2026-07-13 09:52:50'::timestamp) - extract(epoch from '2026-07-13 09:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030267 -2.805206)'), GeomFromEWKT('SRID=4674;POINT (-40.030234 -2.805159)'))) / (select extract(epoch from '2026-07-13 09:52:50'::timestamp) - extract(epoch from '2026-07-13 09:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030202 -2.805174)', '2026-07-13 09:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030234 -2.805159)'), GeomFromEWKT('SRID=4674;POINT (-40.030202 -2.805174)'))) / (select extract(epoch from '2026-07-13 09:52:54'::timestamp) - extract(epoch from '2026-07-13 09:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030234 -2.805159)'), GeomFromEWKT('SRID=4674;POINT (-40.030202 -2.805174)'))) / (select extract(epoch from '2026-07-13 09:52:54'::timestamp) - extract(epoch from '2026-07-13 09:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030197 -2.805182)', '2026-07-13 09:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030202 -2.805174)'), GeomFromEWKT('SRID=4674;POINT (-40.030197 -2.805182)'))) / (select extract(epoch from '2026-07-13 09:52:55'::timestamp) - extract(epoch from '2026-07-13 09:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030202 -2.805174)'), GeomFromEWKT('SRID=4674;POINT (-40.030197 -2.805182)'))) / (select extract(epoch from '2026-07-13 09:52:55'::timestamp) - extract(epoch from '2026-07-13 09:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030194 -2.805193)', '2026-07-13 09:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030197 -2.805182)'), GeomFromEWKT('SRID=4674;POINT (-40.030194 -2.805193)'))) / (select extract(epoch from '2026-07-13 09:52:56'::timestamp) - extract(epoch from '2026-07-13 09:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030197 -2.805182)'), GeomFromEWKT('SRID=4674;POINT (-40.030194 -2.805193)'))) / (select extract(epoch from '2026-07-13 09:52:56'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030189 -2.805221)', '2026-07-13 09:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030194 -2.805193)'), GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805221)'))) / (select extract(epoch from '2026-07-13 09:52:58'::timestamp) - extract(epoch from '2026-07-13 09:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030194 -2.805193)'), GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805221)'))) / (select extract(epoch from '2026-07-13 09:52:58'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030189 -2.805235)', '2026-07-13 09:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805221)'), GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805235)'))) / (select extract(epoch from '2026-07-13 09:52:59'::timestamp) - extract(epoch from '2026-07-13 09:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805221)'), GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805235)'))) / (select extract(epoch from '2026-07-13 09:52:59'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030156 -2.805307)', '2026-07-13 09:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805235)'), GeomFromEWKT('SRID=4674;POINT (-40.030156 -2.805307)'))) / (select extract(epoch from '2026-07-13 09:53:05'::timestamp) - extract(epoch from '2026-07-13 09:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030189 -2.805235)'), GeomFromEWKT('SRID=4674;POINT (-40.030156 -2.805307)'))) / (select extract(epoch from '2026-07-13 09:53:05'::timestamp) - extract(epoch from '2026-07-13 09:52: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'), 47628, 'SRID=4674;POINT (-40.030113 -2.805331)', '2026-07-13 09:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030156 -2.805307)'), GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805331)'))) / (select extract(epoch from '2026-07-13 09:53:09'::timestamp) - extract(epoch from '2026-07-13 09:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030156 -2.805307)'), GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805331)'))) / (select extract(epoch from '2026-07-13 09:53:09'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030089 -2.805336)', '2026-07-13 09:53:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.030089 -2.805336)'))) / (select extract(epoch from '2026-07-13 09:53:11'::timestamp) - extract(epoch from '2026-07-13 09:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.030089 -2.805336)'))) / (select extract(epoch from '2026-07-13 09:53:11'::timestamp) - extract(epoch from '2026-07-13 09:53: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'), 47628, 'SRID=4674;POINT (-40.030013 -2.805342)', '2026-07-13 09:53:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030089 -2.805336)'), GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.805342)'))) / (select extract(epoch from '2026-07-13 09:53:17'::timestamp) - extract(epoch from '2026-07-13 09:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030089 -2.805336)'), GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.805342)'))) / (select extract(epoch from '2026-07-13 09:53:17'::timestamp) - extract(epoch from '2026-07-13 09:53: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'), 47628, 'SRID=4674;POINT (-40.029962 -2.805326)', '2026-07-13 09:53:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.805342)'), GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.805326)'))) / (select extract(epoch from '2026-07-13 09:53:21'::timestamp) - extract(epoch from '2026-07-13 09:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.805342)'), GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.805326)'))) / (select extract(epoch from '2026-07-13 09:53:21'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.029921 -2.805303)', '2026-07-13 09:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.029921 -2.805303)'))) / (select extract(epoch from '2026-07-13 09:53:30'::timestamp) - extract(epoch from '2026-07-13 09:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.029921 -2.805303)'))) / (select extract(epoch from '2026-07-13 09:53:30'::timestamp) - extract(epoch from '2026-07-13 09:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029934 -2.805276)', '2026-07-13 09:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029921 -2.805303)'), GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.805276)'))) / (select extract(epoch from '2026-07-13 09:53:39'::timestamp) - extract(epoch from '2026-07-13 09:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029921 -2.805303)'), GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.805276)'))) / (select extract(epoch from '2026-07-13 09:53:39'::timestamp) - extract(epoch from '2026-07-13 09:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030024 -2.805268)', '2026-07-13 09:53:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.805268)'))) / (select extract(epoch from '2026-07-13 09:53:58'::timestamp) - extract(epoch from '2026-07-13 09:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029934 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.805268)'))) / (select extract(epoch from '2026-07-13 09:53:58'::timestamp) - extract(epoch from '2026-07-13 09:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030106 -2.805256)', '2026-07-13 09:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.805256)'))) / (select extract(epoch from '2026-07-13 09:54:17'::timestamp) - extract(epoch from '2026-07-13 09:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.805256)'))) / (select extract(epoch from '2026-07-13 09:54:17'::timestamp) - extract(epoch from '2026-07-13 09:53: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'), 47628, 'SRID=4674;POINT (-40.030113 -2.805278)', '2026-07-13 09:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805278)'))) / (select extract(epoch from '2026-07-13 09:54:32'::timestamp) - extract(epoch from '2026-07-13 09:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805278)'))) / (select extract(epoch from '2026-07-13 09:54:32'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47628, 'SRID=4674;POINT (-40.030104 -2.805279)', '2026-07-13 09:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.030104 -2.805279)'))) / (select extract(epoch from '2026-07-13 09:54:55'::timestamp) - extract(epoch from '2026-07-13 09:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030113 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.030104 -2.805279)'))) / (select extract(epoch from '2026-07-13 09:54:55'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47628, 'SRID=4674;POINT (-40.030111 -2.80531)', '2026-07-13 09:55:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030104 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.80531)'))) / (select extract(epoch from '2026-07-13 09:55:17'::timestamp) - extract(epoch from '2026-07-13 09:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030104 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.80531)'))) / (select extract(epoch from '2026-07-13 09:55:17'::timestamp) - extract(epoch from '2026-07-13 09:54: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'), 47628, 'SRID=4674;POINT (-40.030121 -2.805311)', '2026-07-13 09:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.805311)'))) / (select extract(epoch from '2026-07-13 09:55:34'::timestamp) - extract(epoch from '2026-07-13 09:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.805311)'))) / (select extract(epoch from '2026-07-13 09:55:34'::timestamp) - extract(epoch from '2026-07-13 09:55: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'), 47628, 'SRID=4674;POINT (-40.030115 -2.805308)', '2026-07-13 09:55:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.805311)'), GeomFromEWKT('SRID=4674;POINT (-40.030115 -2.805308)'))) / (select extract(epoch from '2026-07-13 09:55:49'::timestamp) - extract(epoch from '2026-07-13 09:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030121 -2.805311)'), GeomFromEWKT('SRID=4674;POINT (-40.030115 -2.805308)'))) / (select extract(epoch from '2026-07-13 09:55:49'::timestamp) - extract(epoch from '2026-07-13 09:55: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'), 47628, 'SRID=4674;POINT (-40.030116 -2.805276)', '2026-07-13 09:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030115 -2.805308)'), GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805276)'))) / (select extract(epoch from '2026-07-13 09:56:02'::timestamp) - extract(epoch from '2026-07-13 09:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030115 -2.805308)'), GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805276)'))) / (select extract(epoch from '2026-07-13 09:56:02'::timestamp) - extract(epoch from '2026-07-13 09:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030124 -2.805261)', '2026-07-13 09:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.030124 -2.805261)'))) / (select extract(epoch from '2026-07-13 09:56:13'::timestamp) - extract(epoch from '2026-07-13 09:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.030124 -2.805261)'))) / (select extract(epoch from '2026-07-13 09:56:13'::timestamp) - extract(epoch from '2026-07-13 09:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030116 -2.805287)', '2026-07-13 09:56:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030124 -2.805261)'), GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805287)'))) / (select extract(epoch from '2026-07-13 09:56:25'::timestamp) - extract(epoch from '2026-07-13 09:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030124 -2.805261)'), GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805287)'))) / (select extract(epoch from '2026-07-13 09:56:25'::timestamp) - extract(epoch from '2026-07-13 09:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030065 -2.805318)', '2026-07-13 09:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805287)'), GeomFromEWKT('SRID=4674;POINT (-40.030065 -2.805318)'))) / (select extract(epoch from '2026-07-13 09:56:33'::timestamp) - extract(epoch from '2026-07-13 09:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030116 -2.805287)'), GeomFromEWKT('SRID=4674;POINT (-40.030065 -2.805318)'))) / (select extract(epoch from '2026-07-13 09:56:33'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.029985 -2.805312)', '2026-07-13 09:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030065 -2.805318)'), GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:56:42'::timestamp) - extract(epoch from '2026-07-13 09:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030065 -2.805318)'), GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:56:42'::timestamp) - extract(epoch from '2026-07-13 09:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029977 -2.80531)', '2026-07-13 09:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.80531)'))) / (select extract(epoch from '2026-07-13 09:56:43'::timestamp) - extract(epoch from '2026-07-13 09:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.80531)'))) / (select extract(epoch from '2026-07-13 09:56:43'::timestamp) - extract(epoch from '2026-07-13 09:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029936 -2.805294)', '2026-07-13 09:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.805294)'))) / (select extract(epoch from '2026-07-13 09:56:49'::timestamp) - extract(epoch from '2026-07-13 09:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029977 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.805294)'))) / (select extract(epoch from '2026-07-13 09:56:49'::timestamp) - extract(epoch from '2026-07-13 09:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029911 -2.805268)', '2026-07-13 09:56:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.029911 -2.805268)'))) / (select extract(epoch from '2026-07-13 09:56:58'::timestamp) - extract(epoch from '2026-07-13 09:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.029911 -2.805268)'))) / (select extract(epoch from '2026-07-13 09:56:58'::timestamp) - extract(epoch from '2026-07-13 09:56: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'), 47628, 'SRID=4674;POINT (-40.029889 -2.805284)', '2026-07-13 09:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029911 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.805284)'))) / (select extract(epoch from '2026-07-13 09:57:06'::timestamp) - extract(epoch from '2026-07-13 09:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029911 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.805284)'))) / (select extract(epoch from '2026-07-13 09:57:06'::timestamp) - extract(epoch from '2026-07-13 09:56:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029889 -2.8053)', '2026-07-13 09:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.805284)'), GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.8053)'))) / (select extract(epoch from '2026-07-13 09:57:08'::timestamp) - extract(epoch from '2026-07-13 09:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.805284)'), GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.8053)'))) / (select extract(epoch from '2026-07-13 09:57:08'::timestamp) - extract(epoch from '2026-07-13 09:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029895 -2.805341)', '2026-07-13 09:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.8053)'), GeomFromEWKT('SRID=4674;POINT (-40.029895 -2.805341)'))) / (select extract(epoch from '2026-07-13 09:57:11'::timestamp) - extract(epoch from '2026-07-13 09:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029889 -2.8053)'), GeomFromEWKT('SRID=4674;POINT (-40.029895 -2.805341)'))) / (select extract(epoch from '2026-07-13 09:57:11'::timestamp) - extract(epoch from '2026-07-13 09:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029945 -2.805426)', '2026-07-13 09:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029895 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.029945 -2.805426)'))) / (select extract(epoch from '2026-07-13 09:57:17'::timestamp) - extract(epoch from '2026-07-13 09:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029895 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.029945 -2.805426)'))) / (select extract(epoch from '2026-07-13 09:57:17'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030048 -2.805488)', '2026-07-13 09:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029945 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.805488)'))) / (select extract(epoch from '2026-07-13 09:57:23'::timestamp) - extract(epoch from '2026-07-13 09:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029945 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.805488)'))) / (select extract(epoch from '2026-07-13 09:57:23'::timestamp) - extract(epoch from '2026-07-13 09:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030187 -2.80548)', '2026-07-13 09:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.805488)'), GeomFromEWKT('SRID=4674;POINT (-40.030187 -2.80548)'))) / (select extract(epoch from '2026-07-13 09:57:30'::timestamp) - extract(epoch from '2026-07-13 09:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.805488)'), GeomFromEWKT('SRID=4674;POINT (-40.030187 -2.80548)'))) / (select extract(epoch from '2026-07-13 09:57:30'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47628, 'SRID=4674;POINT (-40.030359 -2.805441)', '2026-07-13 09:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030187 -2.80548)'), GeomFromEWKT('SRID=4674;POINT (-40.030359 -2.805441)'))) / (select extract(epoch from '2026-07-13 09:57:38'::timestamp) - extract(epoch from '2026-07-13 09:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030187 -2.80548)'), GeomFromEWKT('SRID=4674;POINT (-40.030359 -2.805441)'))) / (select extract(epoch from '2026-07-13 09:57:38'::timestamp) - extract(epoch from '2026-07-13 09:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030492 -2.805423)', '2026-07-13 09:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030359 -2.805441)'), GeomFromEWKT('SRID=4674;POINT (-40.030492 -2.805423)'))) / (select extract(epoch from '2026-07-13 09:57:44'::timestamp) - extract(epoch from '2026-07-13 09:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030359 -2.805441)'), GeomFromEWKT('SRID=4674;POINT (-40.030492 -2.805423)'))) / (select extract(epoch from '2026-07-13 09:57:44'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47628, 'SRID=4674;POINT (-40.0306 -2.805416)', '2026-07-13 09:57:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030492 -2.805423)'), GeomFromEWKT('SRID=4674;POINT (-40.0306 -2.805416)'))) / (select extract(epoch from '2026-07-13 09:57:49'::timestamp) - extract(epoch from '2026-07-13 09:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030492 -2.805423)'), GeomFromEWKT('SRID=4674;POINT (-40.0306 -2.805416)'))) / (select extract(epoch from '2026-07-13 09:57:49'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.030752 -2.805401)', '2026-07-13 09:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0306 -2.805416)'), GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.805401)'))) / (select extract(epoch from '2026-07-13 09:57:56'::timestamp) - extract(epoch from '2026-07-13 09:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0306 -2.805416)'), GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.805401)'))) / (select extract(epoch from '2026-07-13 09:57:56'::timestamp) - extract(epoch from '2026-07-13 09:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.030903 -2.80537)', '2026-07-13 09:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.805401)'), GeomFromEWKT('SRID=4674;POINT (-40.030903 -2.80537)'))) / (select extract(epoch from '2026-07-13 09:58:03'::timestamp) - extract(epoch from '2026-07-13 09:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.805401)'), GeomFromEWKT('SRID=4674;POINT (-40.030903 -2.80537)'))) / (select extract(epoch from '2026-07-13 09:58:03'::timestamp) - extract(epoch from '2026-07-13 09:57: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'), 47628, 'SRID=4674;POINT (-40.031059 -2.805346)', '2026-07-13 09:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030903 -2.80537)'), GeomFromEWKT('SRID=4674;POINT (-40.031059 -2.805346)'))) / (select extract(epoch from '2026-07-13 09:58:10'::timestamp) - extract(epoch from '2026-07-13 09:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030903 -2.80537)'), GeomFromEWKT('SRID=4674;POINT (-40.031059 -2.805346)'))) / (select extract(epoch from '2026-07-13 09:58:10'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47628, 'SRID=4674;POINT (-40.031209 -2.805353)', '2026-07-13 09:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031059 -2.805346)'), GeomFromEWKT('SRID=4674;POINT (-40.031209 -2.805353)'))) / (select extract(epoch from '2026-07-13 09:58:17'::timestamp) - extract(epoch from '2026-07-13 09:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031059 -2.805346)'), GeomFromEWKT('SRID=4674;POINT (-40.031209 -2.805353)'))) / (select extract(epoch from '2026-07-13 09:58:17'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47628, 'SRID=4674;POINT (-40.031358 -2.805387)', '2026-07-13 09:58:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031209 -2.805353)'), GeomFromEWKT('SRID=4674;POINT (-40.031358 -2.805387)'))) / (select extract(epoch from '2026-07-13 09:58:24'::timestamp) - extract(epoch from '2026-07-13 09:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031209 -2.805353)'), GeomFromEWKT('SRID=4674;POINT (-40.031358 -2.805387)'))) / (select extract(epoch from '2026-07-13 09:58:24'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47628, 'SRID=4674;POINT (-40.031508 -2.805394)', '2026-07-13 09:58:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031358 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.031508 -2.805394)'))) / (select extract(epoch from '2026-07-13 09:58:31'::timestamp) - extract(epoch from '2026-07-13 09:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031358 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.031508 -2.805394)'))) / (select extract(epoch from '2026-07-13 09:58:31'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47628, 'SRID=4674;POINT (-40.031661 -2.805393)', '2026-07-13 09:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031508 -2.805394)'), GeomFromEWKT('SRID=4674;POINT (-40.031661 -2.805393)'))) / (select extract(epoch from '2026-07-13 09:58:38'::timestamp) - extract(epoch from '2026-07-13 09:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031508 -2.805394)'), GeomFromEWKT('SRID=4674;POINT (-40.031661 -2.805393)'))) / (select extract(epoch from '2026-07-13 09:58:38'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47628, 'SRID=4674;POINT (-40.031813 -2.805393)', '2026-07-13 09:58:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031661 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.031813 -2.805393)'))) / (select extract(epoch from '2026-07-13 09:58:45'::timestamp) - extract(epoch from '2026-07-13 09:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031661 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.031813 -2.805393)'))) / (select extract(epoch from '2026-07-13 09:58:45'::timestamp) - extract(epoch from '2026-07-13 09:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.031991 -2.805379)', '2026-07-13 09:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031813 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.031991 -2.805379)'))) / (select extract(epoch from '2026-07-13 09:58:53'::timestamp) - extract(epoch from '2026-07-13 09:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031813 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.031991 -2.805379)'))) / (select extract(epoch from '2026-07-13 09:58:53'::timestamp) - extract(epoch from '2026-07-13 09:58: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'), 47628, 'SRID=4674;POINT (-40.032165 -2.80536)', '2026-07-13 09:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031991 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.032165 -2.80536)'))) / (select extract(epoch from '2026-07-13 09:59:01'::timestamp) - extract(epoch from '2026-07-13 09:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031991 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.032165 -2.80536)'))) / (select extract(epoch from '2026-07-13 09:59:01'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.032367 -2.805329)', '2026-07-13 09:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032165 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.032367 -2.805329)'))) / (select extract(epoch from '2026-07-13 09:59:10'::timestamp) - extract(epoch from '2026-07-13 09:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032165 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.032367 -2.805329)'))) / (select extract(epoch from '2026-07-13 09:59:10'::timestamp) - extract(epoch from '2026-07-13 09:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.032553 -2.805312)', '2026-07-13 09:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032367 -2.805329)'), GeomFromEWKT('SRID=4674;POINT (-40.032553 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:59:18'::timestamp) - extract(epoch from '2026-07-13 09:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032367 -2.805329)'), GeomFromEWKT('SRID=4674;POINT (-40.032553 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:59:18'::timestamp) - extract(epoch from '2026-07-13 09:59: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'), 47628, 'SRID=4674;POINT (-40.032706 -2.805316)', '2026-07-13 09:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032553 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.805316)'))) / (select extract(epoch from '2026-07-13 09:59:25'::timestamp) - extract(epoch from '2026-07-13 09:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032553 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.805316)'))) / (select extract(epoch from '2026-07-13 09:59:25'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.03286 -2.805312)', '2026-07-13 09:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.03286 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:59:32'::timestamp) - extract(epoch from '2026-07-13 09:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.03286 -2.805312)'))) / (select extract(epoch from '2026-07-13 09:59:32'::timestamp) - extract(epoch from '2026-07-13 09:59: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'), 47628, 'SRID=4674;POINT (-40.033006 -2.805328)', '2026-07-13 09:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03286 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.033006 -2.805328)'))) / (select extract(epoch from '2026-07-13 09:59:39'::timestamp) - extract(epoch from '2026-07-13 09:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03286 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.033006 -2.805328)'))) / (select extract(epoch from '2026-07-13 09:59:39'::timestamp) - extract(epoch from '2026-07-13 09:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.033177 -2.805341)', '2026-07-13 09:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033006 -2.805328)'), GeomFromEWKT('SRID=4674;POINT (-40.033177 -2.805341)'))) / (select extract(epoch from '2026-07-13 09:59:47'::timestamp) - extract(epoch from '2026-07-13 09:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033006 -2.805328)'), GeomFromEWKT('SRID=4674;POINT (-40.033177 -2.805341)'))) / (select extract(epoch from '2026-07-13 09:59:47'::timestamp) - extract(epoch from '2026-07-13 09:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.033283 -2.805352)', '2026-07-13 09:59:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033177 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.033283 -2.805352)'))) / (select extract(epoch from '2026-07-13 09:59:52'::timestamp) - extract(epoch from '2026-07-13 09:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033177 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.033283 -2.805352)'))) / (select extract(epoch from '2026-07-13 09:59:52'::timestamp) - extract(epoch from '2026-07-13 09:59: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'), 47628, 'SRID=4674;POINT (-40.033455 -2.80537)', '2026-07-13 10:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033283 -2.805352)'), GeomFromEWKT('SRID=4674;POINT (-40.033455 -2.80537)'))) / (select extract(epoch from '2026-07-13 10:00:00'::timestamp) - extract(epoch from '2026-07-13 09:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033283 -2.805352)'), GeomFromEWKT('SRID=4674;POINT (-40.033455 -2.80537)'))) / (select extract(epoch from '2026-07-13 10:00:00'::timestamp) - extract(epoch from '2026-07-13 09:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.03353 -2.805382)', '2026-07-13 10:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033455 -2.80537)'), GeomFromEWKT('SRID=4674;POINT (-40.03353 -2.805382)'))) / (select extract(epoch from '2026-07-13 10:00:04'::timestamp) - extract(epoch from '2026-07-13 10:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033455 -2.80537)'), GeomFromEWKT('SRID=4674;POINT (-40.03353 -2.805382)'))) / (select extract(epoch from '2026-07-13 10:00:04'::timestamp) - extract(epoch from '2026-07-13 10:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.033549 -2.805383)', '2026-07-13 10:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03353 -2.805382)'), GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.805383)'))) / (select extract(epoch from '2026-07-13 10:00:05'::timestamp) - extract(epoch from '2026-07-13 10:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03353 -2.805382)'), GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.805383)'))) / (select extract(epoch from '2026-07-13 10:00:05'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47628, 'SRID=4674;POINT (-40.033704 -2.805408)', '2026-07-13 10:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.805383)'), GeomFromEWKT('SRID=4674;POINT (-40.033704 -2.805408)'))) / (select extract(epoch from '2026-07-13 10:00:13'::timestamp) - extract(epoch from '2026-07-13 10:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033549 -2.805383)'), GeomFromEWKT('SRID=4674;POINT (-40.033704 -2.805408)'))) / (select extract(epoch from '2026-07-13 10:00:13'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47628, 'SRID=4674;POINT (-40.033875 -2.805431)', '2026-07-13 10:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033704 -2.805408)'), GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.805431)'))) / (select extract(epoch from '2026-07-13 10:00:21'::timestamp) - extract(epoch from '2026-07-13 10:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033704 -2.805408)'), GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.805431)'))) / (select extract(epoch from '2026-07-13 10:00:21'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47628, 'SRID=4674;POINT (-40.034031 -2.805405)', '2026-07-13 10:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.805431)'), GeomFromEWKT('SRID=4674;POINT (-40.034031 -2.805405)'))) / (select extract(epoch from '2026-07-13 10:00:28'::timestamp) - extract(epoch from '2026-07-13 10:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033875 -2.805431)'), GeomFromEWKT('SRID=4674;POINT (-40.034031 -2.805405)'))) / (select extract(epoch from '2026-07-13 10:00:28'::timestamp) - extract(epoch from '2026-07-13 10:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.034211 -2.805382)', '2026-07-13 10:00:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034031 -2.805405)'), GeomFromEWKT('SRID=4674;POINT (-40.034211 -2.805382)'))) / (select extract(epoch from '2026-07-13 10:00:36'::timestamp) - extract(epoch from '2026-07-13 10:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034031 -2.805405)'), GeomFromEWKT('SRID=4674;POINT (-40.034211 -2.805382)'))) / (select extract(epoch from '2026-07-13 10:00:36'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47628, 'SRID=4674;POINT (-40.034363 -2.805378)', '2026-07-13 10:00:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034211 -2.805382)'), GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.805378)'))) / (select extract(epoch from '2026-07-13 10:00:43'::timestamp) - extract(epoch from '2026-07-13 10:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034211 -2.805382)'), GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.805378)'))) / (select extract(epoch from '2026-07-13 10:00:43'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47628, 'SRID=4674;POINT (-40.034516 -2.805391)', '2026-07-13 10:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.805378)'), GeomFromEWKT('SRID=4674;POINT (-40.034516 -2.805391)'))) / (select extract(epoch from '2026-07-13 10:00:50'::timestamp) - extract(epoch from '2026-07-13 10:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034363 -2.805378)'), GeomFromEWKT('SRID=4674;POINT (-40.034516 -2.805391)'))) / (select extract(epoch from '2026-07-13 10:00:50'::timestamp) - extract(epoch from '2026-07-13 10:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.034684 -2.805427)', '2026-07-13 10:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034516 -2.805391)'), GeomFromEWKT('SRID=4674;POINT (-40.034684 -2.805427)'))) / (select extract(epoch from '2026-07-13 10:00:58'::timestamp) - extract(epoch from '2026-07-13 10:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034516 -2.805391)'), GeomFromEWKT('SRID=4674;POINT (-40.034684 -2.805427)'))) / (select extract(epoch from '2026-07-13 10:00:58'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47628, 'SRID=4674;POINT (-40.034812 -2.805459)', '2026-07-13 10:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034684 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.034812 -2.805459)'))) / (select extract(epoch from '2026-07-13 10:01:04'::timestamp) - extract(epoch from '2026-07-13 10:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034684 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.034812 -2.805459)'))) / (select extract(epoch from '2026-07-13 10:01:04'::timestamp) - extract(epoch from '2026-07-13 10:00: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'), 47628, 'SRID=4674;POINT (-40.034986 -2.805471)', '2026-07-13 10:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034812 -2.805459)'), GeomFromEWKT('SRID=4674;POINT (-40.034986 -2.805471)'))) / (select extract(epoch from '2026-07-13 10:01:12'::timestamp) - extract(epoch from '2026-07-13 10:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034812 -2.805459)'), GeomFromEWKT('SRID=4674;POINT (-40.034986 -2.805471)'))) / (select extract(epoch from '2026-07-13 10:01:12'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47628, 'SRID=4674;POINT (-40.035185 -2.805458)', '2026-07-13 10:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034986 -2.805471)'), GeomFromEWKT('SRID=4674;POINT (-40.035185 -2.805458)'))) / (select extract(epoch from '2026-07-13 10:01:21'::timestamp) - extract(epoch from '2026-07-13 10:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034986 -2.805471)'), GeomFromEWKT('SRID=4674;POINT (-40.035185 -2.805458)'))) / (select extract(epoch from '2026-07-13 10:01:21'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47628, 'SRID=4674;POINT (-40.035362 -2.805464)', '2026-07-13 10:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035185 -2.805458)'), GeomFromEWKT('SRID=4674;POINT (-40.035362 -2.805464)'))) / (select extract(epoch from '2026-07-13 10:01:29'::timestamp) - extract(epoch from '2026-07-13 10:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035185 -2.805458)'), GeomFromEWKT('SRID=4674;POINT (-40.035362 -2.805464)'))) / (select extract(epoch from '2026-07-13 10:01:29'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.035533 -2.805481)', '2026-07-13 10:01:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035362 -2.805464)'), GeomFromEWKT('SRID=4674;POINT (-40.035533 -2.805481)'))) / (select extract(epoch from '2026-07-13 10:01:37'::timestamp) - extract(epoch from '2026-07-13 10:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035362 -2.805464)'), GeomFromEWKT('SRID=4674;POINT (-40.035533 -2.805481)'))) / (select extract(epoch from '2026-07-13 10:01:37'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47628, 'SRID=4674;POINT (-40.035704 -2.805499)', '2026-07-13 10:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035533 -2.805481)'), GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.805499)'))) / (select extract(epoch from '2026-07-13 10:01:45'::timestamp) - extract(epoch from '2026-07-13 10:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035533 -2.805481)'), GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.805499)'))) / (select extract(epoch from '2026-07-13 10:01:45'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47628, 'SRID=4674;POINT (-40.035832 -2.805497)', '2026-07-13 10:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.805499)'), GeomFromEWKT('SRID=4674;POINT (-40.035832 -2.805497)'))) / (select extract(epoch from '2026-07-13 10:01:51'::timestamp) - extract(epoch from '2026-07-13 10:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035704 -2.805499)'), GeomFromEWKT('SRID=4674;POINT (-40.035832 -2.805497)'))) / (select extract(epoch from '2026-07-13 10:01:51'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47628, 'SRID=4674;POINT (-40.035984 -2.805489)', '2026-07-13 10:01:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035832 -2.805497)'), GeomFromEWKT('SRID=4674;POINT (-40.035984 -2.805489)'))) / (select extract(epoch from '2026-07-13 10:01:58'::timestamp) - extract(epoch from '2026-07-13 10:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035832 -2.805497)'), GeomFromEWKT('SRID=4674;POINT (-40.035984 -2.805489)'))) / (select extract(epoch from '2026-07-13 10:01:58'::timestamp) - extract(epoch from '2026-07-13 10:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.0361 -2.805493)', '2026-07-13 10:02:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035984 -2.805489)'), GeomFromEWKT('SRID=4674;POINT (-40.0361 -2.805493)'))) / (select extract(epoch from '2026-07-13 10:02:03'::timestamp) - extract(epoch from '2026-07-13 10:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035984 -2.805489)'), GeomFromEWKT('SRID=4674;POINT (-40.0361 -2.805493)'))) / (select extract(epoch from '2026-07-13 10:02:03'::timestamp) - extract(epoch from '2026-07-13 10:01: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'), 47628, 'SRID=4674;POINT (-40.036142 -2.8055)', '2026-07-13 10:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0361 -2.805493)'), GeomFromEWKT('SRID=4674;POINT (-40.036142 -2.8055)'))) / (select extract(epoch from '2026-07-13 10:02:05'::timestamp) - extract(epoch from '2026-07-13 10:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0361 -2.805493)'), GeomFromEWKT('SRID=4674;POINT (-40.036142 -2.8055)'))) / (select extract(epoch from '2026-07-13 10:02:05'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47628, 'SRID=4674;POINT (-40.036268 -2.805547)', '2026-07-13 10:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036142 -2.8055)'), GeomFromEWKT('SRID=4674;POINT (-40.036268 -2.805547)'))) / (select extract(epoch from '2026-07-13 10:02:11'::timestamp) - extract(epoch from '2026-07-13 10:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036142 -2.8055)'), GeomFromEWKT('SRID=4674;POINT (-40.036268 -2.805547)'))) / (select extract(epoch from '2026-07-13 10:02:11'::timestamp) - extract(epoch from '2026-07-13 10:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.036361 -2.805594)', '2026-07-13 10:02:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036268 -2.805547)'), GeomFromEWKT('SRID=4674;POINT (-40.036361 -2.805594)'))) / (select extract(epoch from '2026-07-13 10:02:16'::timestamp) - extract(epoch from '2026-07-13 10:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036268 -2.805547)'), GeomFromEWKT('SRID=4674;POINT (-40.036361 -2.805594)'))) / (select extract(epoch from '2026-07-13 10:02:16'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.036454 -2.805638)', '2026-07-13 10:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036361 -2.805594)'), GeomFromEWKT('SRID=4674;POINT (-40.036454 -2.805638)'))) / (select extract(epoch from '2026-07-13 10:02:21'::timestamp) - extract(epoch from '2026-07-13 10:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036361 -2.805594)'), GeomFromEWKT('SRID=4674;POINT (-40.036454 -2.805638)'))) / (select extract(epoch from '2026-07-13 10:02:21'::timestamp) - extract(epoch from '2026-07-13 10:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.03659 -2.805698)', '2026-07-13 10:02:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036454 -2.805638)'), GeomFromEWKT('SRID=4674;POINT (-40.03659 -2.805698)'))) / (select extract(epoch from '2026-07-13 10:02:28'::timestamp) - extract(epoch from '2026-07-13 10:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036454 -2.805638)'), GeomFromEWKT('SRID=4674;POINT (-40.03659 -2.805698)'))) / (select extract(epoch from '2026-07-13 10:02:28'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.036701 -2.805746)', '2026-07-13 10:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03659 -2.805698)'), GeomFromEWKT('SRID=4674;POINT (-40.036701 -2.805746)'))) / (select extract(epoch from '2026-07-13 10:02:34'::timestamp) - extract(epoch from '2026-07-13 10:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03659 -2.805698)'), GeomFromEWKT('SRID=4674;POINT (-40.036701 -2.805746)'))) / (select extract(epoch from '2026-07-13 10:02:34'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.036844 -2.805782)', '2026-07-13 10:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036701 -2.805746)'), GeomFromEWKT('SRID=4674;POINT (-40.036844 -2.805782)'))) / (select extract(epoch from '2026-07-13 10:02:42'::timestamp) - extract(epoch from '2026-07-13 10:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036701 -2.805746)'), GeomFromEWKT('SRID=4674;POINT (-40.036844 -2.805782)'))) / (select extract(epoch from '2026-07-13 10:02:42'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47628, 'SRID=4674;POINT (-40.036939 -2.805757)', '2026-07-13 10:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036844 -2.805782)'), GeomFromEWKT('SRID=4674;POINT (-40.036939 -2.805757)'))) / (select extract(epoch from '2026-07-13 10:02:48'::timestamp) - extract(epoch from '2026-07-13 10:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036844 -2.805782)'), GeomFromEWKT('SRID=4674;POINT (-40.036939 -2.805757)'))) / (select extract(epoch from '2026-07-13 10:02:48'::timestamp) - extract(epoch from '2026-07-13 10:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037036 -2.805743)', '2026-07-13 10:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036939 -2.805757)'), GeomFromEWKT('SRID=4674;POINT (-40.037036 -2.805743)'))) / (select extract(epoch from '2026-07-13 10:02:54'::timestamp) - extract(epoch from '2026-07-13 10:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036939 -2.805757)'), GeomFromEWKT('SRID=4674;POINT (-40.037036 -2.805743)'))) / (select extract(epoch from '2026-07-13 10:02:54'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47628, 'SRID=4674;POINT (-40.037079 -2.805805)', '2026-07-13 10:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037036 -2.805743)'), GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805805)'))) / (select extract(epoch from '2026-07-13 10:03:00'::timestamp) - extract(epoch from '2026-07-13 10:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037036 -2.805743)'), GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805805)'))) / (select extract(epoch from '2026-07-13 10:03:00'::timestamp) - extract(epoch from '2026-07-13 10:02: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'), 47628, 'SRID=4674;POINT (-40.037076 -2.805827)', '2026-07-13 10:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805805)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.805827)'))) / (select extract(epoch from '2026-07-13 10:03:02'::timestamp) - extract(epoch from '2026-07-13 10:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805805)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.805827)'))) / (select extract(epoch from '2026-07-13 10:03:02'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.037053 -2.805848)', '2026-07-13 10:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.805827)'), GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.805848)'))) / (select extract(epoch from '2026-07-13 10:03:05'::timestamp) - extract(epoch from '2026-07-13 10:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.805827)'), GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.805848)'))) / (select extract(epoch from '2026-07-13 10:03:05'::timestamp) - extract(epoch from '2026-07-13 10:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037003 -2.805873)', '2026-07-13 10:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.805848)'), GeomFromEWKT('SRID=4674;POINT (-40.037003 -2.805873)'))) / (select extract(epoch from '2026-07-13 10:03:11'::timestamp) - extract(epoch from '2026-07-13 10:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.805848)'), GeomFromEWKT('SRID=4674;POINT (-40.037003 -2.805873)'))) / (select extract(epoch from '2026-07-13 10:03:11'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.03699 -2.805888)', '2026-07-13 10:03:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037003 -2.805873)'), GeomFromEWKT('SRID=4674;POINT (-40.03699 -2.805888)'))) / (select extract(epoch from '2026-07-13 10:03:13'::timestamp) - extract(epoch from '2026-07-13 10:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037003 -2.805873)'), GeomFromEWKT('SRID=4674;POINT (-40.03699 -2.805888)'))) / (select extract(epoch from '2026-07-13 10:03:13'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.037 -2.805967)', '2026-07-13 10:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03699 -2.805888)'), GeomFromEWKT('SRID=4674;POINT (-40.037 -2.805967)'))) / (select extract(epoch from '2026-07-13 10:03:19'::timestamp) - extract(epoch from '2026-07-13 10:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03699 -2.805888)'), GeomFromEWKT('SRID=4674;POINT (-40.037 -2.805967)'))) / (select extract(epoch from '2026-07-13 10:03:19'::timestamp) - extract(epoch from '2026-07-13 10:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037013 -2.805978)', '2026-07-13 10:03:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.037013 -2.805978)'))) / (select extract(epoch from '2026-07-13 10:03:20'::timestamp) - extract(epoch from '2026-07-13 10:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.037013 -2.805978)'))) / (select extract(epoch from '2026-07-13 10:03:20'::timestamp) - extract(epoch from '2026-07-13 10:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.03708 -2.805992)', '2026-07-13 10:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037013 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805992)'))) / (select extract(epoch from '2026-07-13 10:03:24'::timestamp) - extract(epoch from '2026-07-13 10:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037013 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805992)'))) / (select extract(epoch from '2026-07-13 10:03:24'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.037136 -2.806002)', '2026-07-13 10:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.037136 -2.806002)'))) / (select extract(epoch from '2026-07-13 10:03:28'::timestamp) - extract(epoch from '2026-07-13 10:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.037136 -2.806002)'))) / (select extract(epoch from '2026-07-13 10:03:28'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.037146 -2.806007)', '2026-07-13 10:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037136 -2.806002)'), GeomFromEWKT('SRID=4674;POINT (-40.037146 -2.806007)'))) / (select extract(epoch from '2026-07-13 10:03:29'::timestamp) - extract(epoch from '2026-07-13 10:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037136 -2.806002)'), GeomFromEWKT('SRID=4674;POINT (-40.037146 -2.806007)'))) / (select extract(epoch from '2026-07-13 10:03:29'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.037184 -2.806023)', '2026-07-13 10:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037146 -2.806007)'), GeomFromEWKT('SRID=4674;POINT (-40.037184 -2.806023)'))) / (select extract(epoch from '2026-07-13 10:03:32'::timestamp) - extract(epoch from '2026-07-13 10:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037146 -2.806007)'), GeomFromEWKT('SRID=4674;POINT (-40.037184 -2.806023)'))) / (select extract(epoch from '2026-07-13 10:03:32'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.03719 -2.806028)', '2026-07-13 10:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037184 -2.806023)'), GeomFromEWKT('SRID=4674;POINT (-40.03719 -2.806028)'))) / (select extract(epoch from '2026-07-13 10:03:33'::timestamp) - extract(epoch from '2026-07-13 10:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037184 -2.806023)'), GeomFromEWKT('SRID=4674;POINT (-40.03719 -2.806028)'))) / (select extract(epoch from '2026-07-13 10:03:33'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.037234 -2.806057)', '2026-07-13 10:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03719 -2.806028)'), GeomFromEWKT('SRID=4674;POINT (-40.037234 -2.806057)'))) / (select extract(epoch from '2026-07-13 10:03:43'::timestamp) - extract(epoch from '2026-07-13 10:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03719 -2.806028)'), GeomFromEWKT('SRID=4674;POINT (-40.037234 -2.806057)'))) / (select extract(epoch from '2026-07-13 10:03:43'::timestamp) - extract(epoch from '2026-07-13 10:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.03728 -2.806073)', '2026-07-13 10:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037234 -2.806057)'), GeomFromEWKT('SRID=4674;POINT (-40.03728 -2.806073)'))) / (select extract(epoch from '2026-07-13 10:04:00'::timestamp) - extract(epoch from '2026-07-13 10:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037234 -2.806057)'), GeomFromEWKT('SRID=4674;POINT (-40.03728 -2.806073)'))) / (select extract(epoch from '2026-07-13 10:04:00'::timestamp) - extract(epoch from '2026-07-13 10:03: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'), 47628, 'SRID=4674;POINT (-40.037282 -2.806054)', '2026-07-13 10:04:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03728 -2.806073)'), GeomFromEWKT('SRID=4674;POINT (-40.037282 -2.806054)'))) / (select extract(epoch from '2026-07-13 10:04:18'::timestamp) - extract(epoch from '2026-07-13 10:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03728 -2.806073)'), GeomFromEWKT('SRID=4674;POINT (-40.037282 -2.806054)'))) / (select extract(epoch from '2026-07-13 10:04:18'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47628, 'SRID=4674;POINT (-40.037277 -2.80601)', '2026-07-13 10:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037282 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.037277 -2.80601)'))) / (select extract(epoch from '2026-07-13 10:04:37'::timestamp) - extract(epoch from '2026-07-13 10:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037282 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.037277 -2.80601)'))) / (select extract(epoch from '2026-07-13 10:04:37'::timestamp) - extract(epoch from '2026-07-13 10:04: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'), 47628, 'SRID=4674;POINT (-40.037285 -2.806033)', '2026-07-13 10:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037277 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806033)'))) / (select extract(epoch from '2026-07-13 10:04:52'::timestamp) - extract(epoch from '2026-07-13 10:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037277 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806033)'))) / (select extract(epoch from '2026-07-13 10:04:52'::timestamp) - extract(epoch from '2026-07-13 10:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037286 -2.806047)', '2026-07-13 10:05:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806033)'), GeomFromEWKT('SRID=4674;POINT (-40.037286 -2.806047)'))) / (select extract(epoch from '2026-07-13 10:05:07'::timestamp) - extract(epoch from '2026-07-13 10:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806033)'), GeomFromEWKT('SRID=4674;POINT (-40.037286 -2.806047)'))) / (select extract(epoch from '2026-07-13 10:05:07'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.037283 -2.806006)', '2026-07-13 10:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037286 -2.806047)'), GeomFromEWKT('SRID=4674;POINT (-40.037283 -2.806006)'))) / (select extract(epoch from '2026-07-13 10:05:24'::timestamp) - extract(epoch from '2026-07-13 10:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037286 -2.806047)'), GeomFromEWKT('SRID=4674;POINT (-40.037283 -2.806006)'))) / (select extract(epoch from '2026-07-13 10:05:24'::timestamp) - extract(epoch from '2026-07-13 10:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037288 -2.805998)', '2026-07-13 10:05:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037283 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.037288 -2.805998)'))) / (select extract(epoch from '2026-07-13 10:05:39'::timestamp) - extract(epoch from '2026-07-13 10:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037283 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.037288 -2.805998)'))) / (select extract(epoch from '2026-07-13 10:05:39'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.037285 -2.806016)', '2026-07-13 10:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037288 -2.805998)'), GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806016)'))) / (select extract(epoch from '2026-07-13 10:06:01'::timestamp) - extract(epoch from '2026-07-13 10:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037288 -2.805998)'), GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806016)'))) / (select extract(epoch from '2026-07-13 10:06:01'::timestamp) - extract(epoch from '2026-07-13 10:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037273 -2.806023)', '2026-07-13 10:06:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806016)'), GeomFromEWKT('SRID=4674;POINT (-40.037273 -2.806023)'))) / (select extract(epoch from '2026-07-13 10:06:07'::timestamp) - extract(epoch from '2026-07-13 10:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037285 -2.806016)'), GeomFromEWKT('SRID=4674;POINT (-40.037273 -2.806023)'))) / (select extract(epoch from '2026-07-13 10:06:07'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.037235 -2.806041)', '2026-07-13 10:06:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037273 -2.806023)'), GeomFromEWKT('SRID=4674;POINT (-40.037235 -2.806041)'))) / (select extract(epoch from '2026-07-13 10:06:14'::timestamp) - extract(epoch from '2026-07-13 10:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037273 -2.806023)'), GeomFromEWKT('SRID=4674;POINT (-40.037235 -2.806041)'))) / (select extract(epoch from '2026-07-13 10:06:14'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47628, 'SRID=4674;POINT (-40.037154 -2.806066)', '2026-07-13 10:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037235 -2.806041)'), GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.806066)'))) / (select extract(epoch from '2026-07-13 10:06:23'::timestamp) - extract(epoch from '2026-07-13 10:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037235 -2.806041)'), GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.806066)'))) / (select extract(epoch from '2026-07-13 10:06:23'::timestamp) - extract(epoch from '2026-07-13 10:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037127 -2.806054)', '2026-07-13 10:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.806066)'), GeomFromEWKT('SRID=4674;POINT (-40.037127 -2.806054)'))) / (select extract(epoch from '2026-07-13 10:06:33'::timestamp) - extract(epoch from '2026-07-13 10:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.806066)'), GeomFromEWKT('SRID=4674;POINT (-40.037127 -2.806054)'))) / (select extract(epoch from '2026-07-13 10:06:33'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47628, 'SRID=4674;POINT (-40.037148 -2.80601)', '2026-07-13 10:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037127 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.037148 -2.80601)'))) / (select extract(epoch from '2026-07-13 10:06:40'::timestamp) - extract(epoch from '2026-07-13 10:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037127 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.037148 -2.80601)'))) / (select extract(epoch from '2026-07-13 10:06:40'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47628, 'SRID=4674;POINT (-40.037156 -2.806002)', '2026-07-13 10:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037148 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037156 -2.806002)'))) / (select extract(epoch from '2026-07-13 10:06:41'::timestamp) - extract(epoch from '2026-07-13 10:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037148 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037156 -2.806002)'))) / (select extract(epoch from '2026-07-13 10:06:41'::timestamp) - extract(epoch from '2026-07-13 10:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037177 -2.805986)', '2026-07-13 10:06:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037156 -2.806002)'), GeomFromEWKT('SRID=4674;POINT (-40.037177 -2.805986)'))) / (select extract(epoch from '2026-07-13 10:06:43'::timestamp) - extract(epoch from '2026-07-13 10:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037156 -2.806002)'), GeomFromEWKT('SRID=4674;POINT (-40.037177 -2.805986)'))) / (select extract(epoch from '2026-07-13 10:06:43'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47628, 'SRID=4674;POINT (-40.037228 -2.805975)', '2026-07-13 10:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037177 -2.805986)'), GeomFromEWKT('SRID=4674;POINT (-40.037228 -2.805975)'))) / (select extract(epoch from '2026-07-13 10:06:47'::timestamp) - extract(epoch from '2026-07-13 10:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037177 -2.805986)'), GeomFromEWKT('SRID=4674;POINT (-40.037228 -2.805975)'))) / (select extract(epoch from '2026-07-13 10:06:47'::timestamp) - extract(epoch from '2026-07-13 10:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037332 -2.805995)', '2026-07-13 10:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037228 -2.805975)'), GeomFromEWKT('SRID=4674;POINT (-40.037332 -2.805995)'))) / (select extract(epoch from '2026-07-13 10:06:54'::timestamp) - extract(epoch from '2026-07-13 10:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037228 -2.805975)'), GeomFromEWKT('SRID=4674;POINT (-40.037332 -2.805995)'))) / (select extract(epoch from '2026-07-13 10:06:54'::timestamp) - extract(epoch from '2026-07-13 10:06: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'), 47628, 'SRID=4674;POINT (-40.037397 -2.806023)', '2026-07-13 10:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037332 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.037397 -2.806023)'))) / (select extract(epoch from '2026-07-13 10:06:59'::timestamp) - extract(epoch from '2026-07-13 10:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037332 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.037397 -2.806023)'))) / (select extract(epoch from '2026-07-13 10:06:59'::timestamp) - extract(epoch from '2026-07-13 10:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037423 -2.806047)', '2026-07-13 10:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037397 -2.806023)'), GeomFromEWKT('SRID=4674;POINT (-40.037423 -2.806047)'))) / (select extract(epoch from '2026-07-13 10:07:02'::timestamp) - extract(epoch from '2026-07-13 10:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037397 -2.806023)'), GeomFromEWKT('SRID=4674;POINT (-40.037423 -2.806047)'))) / (select extract(epoch from '2026-07-13 10:07:02'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.037453 -2.806107)', '2026-07-13 10:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037423 -2.806047)'), GeomFromEWKT('SRID=4674;POINT (-40.037453 -2.806107)'))) / (select extract(epoch from '2026-07-13 10:07:08'::timestamp) - extract(epoch from '2026-07-13 10:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037423 -2.806047)'), GeomFromEWKT('SRID=4674;POINT (-40.037453 -2.806107)'))) / (select extract(epoch from '2026-07-13 10:07:08'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47628, 'SRID=4674;POINT (-40.037472 -2.806134)', '2026-07-13 10:07:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037453 -2.806107)'), GeomFromEWKT('SRID=4674;POINT (-40.037472 -2.806134)'))) / (select extract(epoch from '2026-07-13 10:07:11'::timestamp) - extract(epoch from '2026-07-13 10:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037453 -2.806107)'), GeomFromEWKT('SRID=4674;POINT (-40.037472 -2.806134)'))) / (select extract(epoch from '2026-07-13 10:07:11'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47628, 'SRID=4674;POINT (-40.037505 -2.80617)', '2026-07-13 10:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037472 -2.806134)'), GeomFromEWKT('SRID=4674;POINT (-40.037505 -2.80617)'))) / (select extract(epoch from '2026-07-13 10:07:15'::timestamp) - extract(epoch from '2026-07-13 10:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037472 -2.806134)'), GeomFromEWKT('SRID=4674;POINT (-40.037505 -2.80617)'))) / (select extract(epoch from '2026-07-13 10:07:15'::timestamp) - extract(epoch from '2026-07-13 10:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037605 -2.806222)', '2026-07-13 10:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037505 -2.80617)'), GeomFromEWKT('SRID=4674;POINT (-40.037605 -2.806222)'))) / (select extract(epoch from '2026-07-13 10:07:23'::timestamp) - extract(epoch from '2026-07-13 10:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037505 -2.80617)'), GeomFromEWKT('SRID=4674;POINT (-40.037605 -2.806222)'))) / (select extract(epoch from '2026-07-13 10:07:23'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47628, 'SRID=4674;POINT (-40.037722 -2.806263)', '2026-07-13 10:07:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037605 -2.806222)'), GeomFromEWKT('SRID=4674;POINT (-40.037722 -2.806263)'))) / (select extract(epoch from '2026-07-13 10:07:29'::timestamp) - extract(epoch from '2026-07-13 10:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037605 -2.806222)'), GeomFromEWKT('SRID=4674;POINT (-40.037722 -2.806263)'))) / (select extract(epoch from '2026-07-13 10:07:29'::timestamp) - extract(epoch from '2026-07-13 10:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.037866 -2.806344)', '2026-07-13 10:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037722 -2.806263)'), GeomFromEWKT('SRID=4674;POINT (-40.037866 -2.806344)'))) / (select extract(epoch from '2026-07-13 10:07:37'::timestamp) - extract(epoch from '2026-07-13 10:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037722 -2.806263)'), GeomFromEWKT('SRID=4674;POINT (-40.037866 -2.806344)'))) / (select extract(epoch from '2026-07-13 10:07:37'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47628, 'SRID=4674;POINT (-40.038002 -2.806442)', '2026-07-13 10:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037866 -2.806344)'), GeomFromEWKT('SRID=4674;POINT (-40.038002 -2.806442)'))) / (select extract(epoch from '2026-07-13 10:07:45'::timestamp) - extract(epoch from '2026-07-13 10:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037866 -2.806344)'), GeomFromEWKT('SRID=4674;POINT (-40.038002 -2.806442)'))) / (select extract(epoch from '2026-07-13 10:07:45'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47628, 'SRID=4674;POINT (-40.038095 -2.806492)', '2026-07-13 10:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038002 -2.806442)'), GeomFromEWKT('SRID=4674;POINT (-40.038095 -2.806492)'))) / (select extract(epoch from '2026-07-13 10:07:50'::timestamp) - extract(epoch from '2026-07-13 10:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038002 -2.806442)'), GeomFromEWKT('SRID=4674;POINT (-40.038095 -2.806492)'))) / (select extract(epoch from '2026-07-13 10:07:50'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47628, 'SRID=4674;POINT (-40.038243 -2.806525)', '2026-07-13 10:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038095 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.038243 -2.806525)'))) / (select extract(epoch from '2026-07-13 10:07:57'::timestamp) - extract(epoch from '2026-07-13 10:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038095 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.038243 -2.806525)'))) / (select extract(epoch from '2026-07-13 10:07:57'::timestamp) - extract(epoch from '2026-07-13 10:07: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'), 47628, 'SRID=4674;POINT (-40.038376 -2.806541)', '2026-07-13 10:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038243 -2.806525)'), GeomFromEWKT('SRID=4674;POINT (-40.038376 -2.806541)'))) / (select extract(epoch from '2026-07-13 10:08:04'::timestamp) - extract(epoch from '2026-07-13 10:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038243 -2.806525)'), GeomFromEWKT('SRID=4674;POINT (-40.038376 -2.806541)'))) / (select extract(epoch from '2026-07-13 10:08:04'::timestamp) - extract(epoch from '2026-07-13 10:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.038496 -2.806554)', '2026-07-13 10:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038376 -2.806541)'), GeomFromEWKT('SRID=4674;POINT (-40.038496 -2.806554)'))) / (select extract(epoch from '2026-07-13 10:08:11'::timestamp) - extract(epoch from '2026-07-13 10:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038376 -2.806541)'), GeomFromEWKT('SRID=4674;POINT (-40.038496 -2.806554)'))) / (select extract(epoch from '2026-07-13 10:08:11'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.038604 -2.806554)', '2026-07-13 10:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038496 -2.806554)'), GeomFromEWKT('SRID=4674;POINT (-40.038604 -2.806554)'))) / (select extract(epoch from '2026-07-13 10:08:17'::timestamp) - extract(epoch from '2026-07-13 10:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038496 -2.806554)'), GeomFromEWKT('SRID=4674;POINT (-40.038604 -2.806554)'))) / (select extract(epoch from '2026-07-13 10:08:17'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038621 -2.806555)', '2026-07-13 10:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038604 -2.806554)'), GeomFromEWKT('SRID=4674;POINT (-40.038621 -2.806555)'))) / (select extract(epoch from '2026-07-13 10:08:18'::timestamp) - extract(epoch from '2026-07-13 10:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038604 -2.806554)'), GeomFromEWKT('SRID=4674;POINT (-40.038621 -2.806555)'))) / (select extract(epoch from '2026-07-13 10:08:18'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038722 -2.806519)', '2026-07-13 10:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038621 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.806519)'))) / (select extract(epoch from '2026-07-13 10:08:24'::timestamp) - extract(epoch from '2026-07-13 10:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038621 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.806519)'))) / (select extract(epoch from '2026-07-13 10:08:24'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038735 -2.806509)', '2026-07-13 10:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.806519)'), GeomFromEWKT('SRID=4674;POINT (-40.038735 -2.806509)'))) / (select extract(epoch from '2026-07-13 10:08:25'::timestamp) - extract(epoch from '2026-07-13 10:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.806519)'), GeomFromEWKT('SRID=4674;POINT (-40.038735 -2.806509)'))) / (select extract(epoch from '2026-07-13 10:08:25'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038816 -2.806436)', '2026-07-13 10:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038735 -2.806509)'), GeomFromEWKT('SRID=4674;POINT (-40.038816 -2.806436)'))) / (select extract(epoch from '2026-07-13 10:08:32'::timestamp) - extract(epoch from '2026-07-13 10:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038735 -2.806509)'), GeomFromEWKT('SRID=4674;POINT (-40.038816 -2.806436)'))) / (select extract(epoch from '2026-07-13 10:08:32'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038845 -2.806381)', '2026-07-13 10:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038816 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.038845 -2.806381)'))) / (select extract(epoch from '2026-07-13 10:08:37'::timestamp) - extract(epoch from '2026-07-13 10:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038816 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.038845 -2.806381)'))) / (select extract(epoch from '2026-07-13 10:08:37'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038852 -2.80635)', '2026-07-13 10:08:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038845 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.038852 -2.80635)'))) / (select extract(epoch from '2026-07-13 10:08:40'::timestamp) - extract(epoch from '2026-07-13 10:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038845 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.038852 -2.80635)'))) / (select extract(epoch from '2026-07-13 10:08:40'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038855 -2.806331)', '2026-07-13 10:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038852 -2.80635)'), GeomFromEWKT('SRID=4674;POINT (-40.038855 -2.806331)'))) / (select extract(epoch from '2026-07-13 10:08:42'::timestamp) - extract(epoch from '2026-07-13 10:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038852 -2.80635)'), GeomFromEWKT('SRID=4674;POINT (-40.038855 -2.806331)'))) / (select extract(epoch from '2026-07-13 10:08:42'::timestamp) - extract(epoch from '2026-07-13 10:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.038868 -2.806271)', '2026-07-13 10:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038855 -2.806331)'), GeomFromEWKT('SRID=4674;POINT (-40.038868 -2.806271)'))) / (select extract(epoch from '2026-07-13 10:08:48'::timestamp) - extract(epoch from '2026-07-13 10:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038855 -2.806331)'), GeomFromEWKT('SRID=4674;POINT (-40.038868 -2.806271)'))) / (select extract(epoch from '2026-07-13 10:08:48'::timestamp) - extract(epoch from '2026-07-13 10:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.038857 -2.806193)', '2026-07-13 10:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038868 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.038857 -2.806193)'))) / (select extract(epoch from '2026-07-13 10:08:54'::timestamp) - extract(epoch from '2026-07-13 10:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038868 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.038857 -2.806193)'))) / (select extract(epoch from '2026-07-13 10:08:54'::timestamp) - extract(epoch from '2026-07-13 10:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.038847 -2.80606)', '2026-07-13 10:09:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038857 -2.806193)'), GeomFromEWKT('SRID=4674;POINT (-40.038847 -2.80606)'))) / (select extract(epoch from '2026-07-13 10:09:02'::timestamp) - extract(epoch from '2026-07-13 10:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038857 -2.806193)'), GeomFromEWKT('SRID=4674;POINT (-40.038847 -2.80606)'))) / (select extract(epoch from '2026-07-13 10:09:02'::timestamp) - extract(epoch from '2026-07-13 10:08: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'), 47628, 'SRID=4674;POINT (-40.038864 -2.805932)', '2026-07-13 10:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038847 -2.80606)'), GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.805932)'))) / (select extract(epoch from '2026-07-13 10:09:09'::timestamp) - extract(epoch from '2026-07-13 10:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038847 -2.80606)'), GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.805932)'))) / (select extract(epoch from '2026-07-13 10:09:09'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47628, 'SRID=4674;POINT (-40.038882 -2.805841)', '2026-07-13 10:09:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.805932)'), GeomFromEWKT('SRID=4674;POINT (-40.038882 -2.805841)'))) / (select extract(epoch from '2026-07-13 10:09:14'::timestamp) - extract(epoch from '2026-07-13 10:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.805932)'), GeomFromEWKT('SRID=4674;POINT (-40.038882 -2.805841)'))) / (select extract(epoch from '2026-07-13 10:09:14'::timestamp) - extract(epoch from '2026-07-13 10:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.038888 -2.805803)', '2026-07-13 10:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038882 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.038888 -2.805803)'))) / (select extract(epoch from '2026-07-13 10:09:16'::timestamp) - extract(epoch from '2026-07-13 10:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038882 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.038888 -2.805803)'))) / (select extract(epoch from '2026-07-13 10:09:16'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.038895 -2.805764)', '2026-07-13 10:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038888 -2.805803)'), GeomFromEWKT('SRID=4674;POINT (-40.038895 -2.805764)'))) / (select extract(epoch from '2026-07-13 10:09:18'::timestamp) - extract(epoch from '2026-07-13 10:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038888 -2.805803)'), GeomFromEWKT('SRID=4674;POINT (-40.038895 -2.805764)'))) / (select extract(epoch from '2026-07-13 10:09:18'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47628, 'SRID=4674;POINT (-40.038953 -2.805617)', '2026-07-13 10:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038895 -2.805764)'), GeomFromEWKT('SRID=4674;POINT (-40.038953 -2.805617)'))) / (select extract(epoch from '2026-07-13 10:09:26'::timestamp) - extract(epoch from '2026-07-13 10:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038895 -2.805764)'), GeomFromEWKT('SRID=4674;POINT (-40.038953 -2.805617)'))) / (select extract(epoch from '2026-07-13 10:09:26'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47628, 'SRID=4674;POINT (-40.039018 -2.805513)', '2026-07-13 10:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038953 -2.805617)'), GeomFromEWKT('SRID=4674;POINT (-40.039018 -2.805513)'))) / (select extract(epoch from '2026-07-13 10:09:32'::timestamp) - extract(epoch from '2026-07-13 10:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038953 -2.805617)'), GeomFromEWKT('SRID=4674;POINT (-40.039018 -2.805513)'))) / (select extract(epoch from '2026-07-13 10:09:32'::timestamp) - extract(epoch from '2026-07-13 10:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.039067 -2.805449)', '2026-07-13 10:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039018 -2.805513)'), GeomFromEWKT('SRID=4674;POINT (-40.039067 -2.805449)'))) / (select extract(epoch from '2026-07-13 10:09:36'::timestamp) - extract(epoch from '2026-07-13 10:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039018 -2.805513)'), GeomFromEWKT('SRID=4674;POINT (-40.039067 -2.805449)'))) / (select extract(epoch from '2026-07-13 10:09:36'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47628, 'SRID=4674;POINT (-40.039135 -2.805349)', '2026-07-13 10:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039067 -2.805449)'), GeomFromEWKT('SRID=4674;POINT (-40.039135 -2.805349)'))) / (select extract(epoch from '2026-07-13 10:09:42'::timestamp) - extract(epoch from '2026-07-13 10:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039067 -2.805449)'), GeomFromEWKT('SRID=4674;POINT (-40.039135 -2.805349)'))) / (select extract(epoch from '2026-07-13 10:09:42'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47628, 'SRID=4674;POINT (-40.039195 -2.805227)', '2026-07-13 10:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039135 -2.805349)'), GeomFromEWKT('SRID=4674;POINT (-40.039195 -2.805227)'))) / (select extract(epoch from '2026-07-13 10:09:49'::timestamp) - extract(epoch from '2026-07-13 10:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039135 -2.805349)'), GeomFromEWKT('SRID=4674;POINT (-40.039195 -2.805227)'))) / (select extract(epoch from '2026-07-13 10:09:49'::timestamp) - extract(epoch from '2026-07-13 10:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.039237 -2.80508)', '2026-07-13 10:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039195 -2.805227)'), GeomFromEWKT('SRID=4674;POINT (-40.039237 -2.80508)'))) / (select extract(epoch from '2026-07-13 10:09:57'::timestamp) - extract(epoch from '2026-07-13 10:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039195 -2.805227)'), GeomFromEWKT('SRID=4674;POINT (-40.039237 -2.80508)'))) / (select extract(epoch from '2026-07-13 10:09:57'::timestamp) - extract(epoch from '2026-07-13 10:09: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'), 47628, 'SRID=4674;POINT (-40.039278 -2.804955)', '2026-07-13 10:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039237 -2.80508)'), GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.804955)'))) / (select extract(epoch from '2026-07-13 10:10:04'::timestamp) - extract(epoch from '2026-07-13 10:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039237 -2.80508)'), GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.804955)'))) / (select extract(epoch from '2026-07-13 10:10:04'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.039329 -2.804829)', '2026-07-13 10:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.804955)'), GeomFromEWKT('SRID=4674;POINT (-40.039329 -2.804829)'))) / (select extract(epoch from '2026-07-13 10:10:11'::timestamp) - extract(epoch from '2026-07-13 10:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039278 -2.804955)'), GeomFromEWKT('SRID=4674;POINT (-40.039329 -2.804829)'))) / (select extract(epoch from '2026-07-13 10:10:11'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.039394 -2.804688)', '2026-07-13 10:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039329 -2.804829)'), GeomFromEWKT('SRID=4674;POINT (-40.039394 -2.804688)'))) / (select extract(epoch from '2026-07-13 10:10:19'::timestamp) - extract(epoch from '2026-07-13 10:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039329 -2.804829)'), GeomFromEWKT('SRID=4674;POINT (-40.039394 -2.804688)'))) / (select extract(epoch from '2026-07-13 10:10:19'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.039481 -2.804581)', '2026-07-13 10:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039394 -2.804688)'), GeomFromEWKT('SRID=4674;POINT (-40.039481 -2.804581)'))) / (select extract(epoch from '2026-07-13 10:10:26'::timestamp) - extract(epoch from '2026-07-13 10:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039394 -2.804688)'), GeomFromEWKT('SRID=4674;POINT (-40.039481 -2.804581)'))) / (select extract(epoch from '2026-07-13 10:10:26'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.039603 -2.804464)', '2026-07-13 10:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039481 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.804464)'))) / (select extract(epoch from '2026-07-13 10:10:34'::timestamp) - extract(epoch from '2026-07-13 10:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039481 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.804464)'))) / (select extract(epoch from '2026-07-13 10:10:34'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.039699 -2.804358)', '2026-07-13 10:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.804464)'), GeomFromEWKT('SRID=4674;POINT (-40.039699 -2.804358)'))) / (select extract(epoch from '2026-07-13 10:10:41'::timestamp) - extract(epoch from '2026-07-13 10:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.804464)'), GeomFromEWKT('SRID=4674;POINT (-40.039699 -2.804358)'))) / (select extract(epoch from '2026-07-13 10:10:41'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.039787 -2.804307)', '2026-07-13 10:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039699 -2.804358)'), GeomFromEWKT('SRID=4674;POINT (-40.039787 -2.804307)'))) / (select extract(epoch from '2026-07-13 10:10:46'::timestamp) - extract(epoch from '2026-07-13 10:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039699 -2.804358)'), GeomFromEWKT('SRID=4674;POINT (-40.039787 -2.804307)'))) / (select extract(epoch from '2026-07-13 10:10:46'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.039912 -2.804295)', '2026-07-13 10:10:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039787 -2.804307)'), GeomFromEWKT('SRID=4674;POINT (-40.039912 -2.804295)'))) / (select extract(epoch from '2026-07-13 10:10:53'::timestamp) - extract(epoch from '2026-07-13 10:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039787 -2.804307)'), GeomFromEWKT('SRID=4674;POINT (-40.039912 -2.804295)'))) / (select extract(epoch from '2026-07-13 10:10:53'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.039971 -2.804261)', '2026-07-13 10:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039912 -2.804295)'), GeomFromEWKT('SRID=4674;POINT (-40.039971 -2.804261)'))) / (select extract(epoch from '2026-07-13 10:10:57'::timestamp) - extract(epoch from '2026-07-13 10:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039912 -2.804295)'), GeomFromEWKT('SRID=4674;POINT (-40.039971 -2.804261)'))) / (select extract(epoch from '2026-07-13 10:10:57'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.03999 -2.80423)', '2026-07-13 10:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039971 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.03999 -2.80423)'))) / (select extract(epoch from '2026-07-13 10:10:59'::timestamp) - extract(epoch from '2026-07-13 10:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039971 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.03999 -2.80423)'))) / (select extract(epoch from '2026-07-13 10:10:59'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.040035 -2.804149)', '2026-07-13 10:11:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03999 -2.80423)'), GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.804149)'))) / (select extract(epoch from '2026-07-13 10:11:04'::timestamp) - extract(epoch from '2026-07-13 10:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03999 -2.80423)'), GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.804149)'))) / (select extract(epoch from '2026-07-13 10:11:04'::timestamp) - extract(epoch from '2026-07-13 10:10: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'), 47628, 'SRID=4674;POINT (-40.040109 -2.804096)', '2026-07-13 10:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.040109 -2.804096)'))) / (select extract(epoch from '2026-07-13 10:11:09'::timestamp) - extract(epoch from '2026-07-13 10:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.040109 -2.804096)'))) / (select extract(epoch from '2026-07-13 10:11:09'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47628, 'SRID=4674;POINT (-40.040208 -2.804101)', '2026-07-13 10:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040109 -2.804096)'), GeomFromEWKT('SRID=4674;POINT (-40.040208 -2.804101)'))) / (select extract(epoch from '2026-07-13 10:11:15'::timestamp) - extract(epoch from '2026-07-13 10:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040109 -2.804096)'), GeomFromEWKT('SRID=4674;POINT (-40.040208 -2.804101)'))) / (select extract(epoch from '2026-07-13 10:11:15'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.040267 -2.8041)', '2026-07-13 10:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040208 -2.804101)'), GeomFromEWKT('SRID=4674;POINT (-40.040267 -2.8041)'))) / (select extract(epoch from '2026-07-13 10:11:19'::timestamp) - extract(epoch from '2026-07-13 10:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040208 -2.804101)'), GeomFromEWKT('SRID=4674;POINT (-40.040267 -2.8041)'))) / (select extract(epoch from '2026-07-13 10:11:19'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47628, 'SRID=4674;POINT (-40.040291 -2.80409)', '2026-07-13 10:11:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040267 -2.8041)'), GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.80409)'))) / (select extract(epoch from '2026-07-13 10:11:21'::timestamp) - extract(epoch from '2026-07-13 10:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040267 -2.8041)'), GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.80409)'))) / (select extract(epoch from '2026-07-13 10:11:21'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.040307 -2.804075)', '2026-07-13 10:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.80409)'), GeomFromEWKT('SRID=4674;POINT (-40.040307 -2.804075)'))) / (select extract(epoch from '2026-07-13 10:11:23'::timestamp) - extract(epoch from '2026-07-13 10:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.80409)'), GeomFromEWKT('SRID=4674;POINT (-40.040307 -2.804075)'))) / (select extract(epoch from '2026-07-13 10:11:23'::timestamp) - extract(epoch from '2026-07-13 10:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040323 -2.804061)', '2026-07-13 10:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040307 -2.804075)'), GeomFromEWKT('SRID=4674;POINT (-40.040323 -2.804061)'))) / (select extract(epoch from '2026-07-13 10:11:25'::timestamp) - extract(epoch from '2026-07-13 10:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040307 -2.804075)'), GeomFromEWKT('SRID=4674;POINT (-40.040323 -2.804061)'))) / (select extract(epoch from '2026-07-13 10:11:25'::timestamp) - extract(epoch from '2026-07-13 10:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040331 -2.804056)', '2026-07-13 10:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040323 -2.804061)'), GeomFromEWKT('SRID=4674;POINT (-40.040331 -2.804056)'))) / (select extract(epoch from '2026-07-13 10:11:26'::timestamp) - extract(epoch from '2026-07-13 10:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040323 -2.804061)'), GeomFromEWKT('SRID=4674;POINT (-40.040331 -2.804056)'))) / (select extract(epoch from '2026-07-13 10:11:26'::timestamp) - extract(epoch from '2026-07-13 10:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040349 -2.804043)', '2026-07-13 10:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040331 -2.804056)'), GeomFromEWKT('SRID=4674;POINT (-40.040349 -2.804043)'))) / (select extract(epoch from '2026-07-13 10:11:29'::timestamp) - extract(epoch from '2026-07-13 10:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040331 -2.804056)'), GeomFromEWKT('SRID=4674;POINT (-40.040349 -2.804043)'))) / (select extract(epoch from '2026-07-13 10:11:29'::timestamp) - extract(epoch from '2026-07-13 10:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040386 -2.804031)', '2026-07-13 10:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040349 -2.804043)'), GeomFromEWKT('SRID=4674;POINT (-40.040386 -2.804031)'))) / (select extract(epoch from '2026-07-13 10:11:36'::timestamp) - extract(epoch from '2026-07-13 10:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040349 -2.804043)'), GeomFromEWKT('SRID=4674;POINT (-40.040386 -2.804031)'))) / (select extract(epoch from '2026-07-13 10:11:36'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47628, 'SRID=4674;POINT (-40.040414 -2.804034)', '2026-07-13 10:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040386 -2.804031)'), GeomFromEWKT('SRID=4674;POINT (-40.040414 -2.804034)'))) / (select extract(epoch from '2026-07-13 10:11:43'::timestamp) - extract(epoch from '2026-07-13 10:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040386 -2.804031)'), GeomFromEWKT('SRID=4674;POINT (-40.040414 -2.804034)'))) / (select extract(epoch from '2026-07-13 10:11:43'::timestamp) - extract(epoch from '2026-07-13 10:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040445 -2.804025)', '2026-07-13 10:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040414 -2.804034)'), GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804025)'))) / (select extract(epoch from '2026-07-13 10:11:59'::timestamp) - extract(epoch from '2026-07-13 10:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040414 -2.804034)'), GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804025)'))) / (select extract(epoch from '2026-07-13 10:11:59'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47628, 'SRID=4674;POINT (-40.040443 -2.804036)', '2026-07-13 10:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804025)'), GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804036)'))) / (select extract(epoch from '2026-07-13 10:12:16'::timestamp) - extract(epoch from '2026-07-13 10:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804025)'), GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804036)'))) / (select extract(epoch from '2026-07-13 10:12:16'::timestamp) - extract(epoch from '2026-07-13 10:11: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'), 47628, 'SRID=4674;POINT (-40.040447 -2.804048)', '2026-07-13 10:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804036)'), GeomFromEWKT('SRID=4674;POINT (-40.040447 -2.804048)'))) / (select extract(epoch from '2026-07-13 10:12:27'::timestamp) - extract(epoch from '2026-07-13 10:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804036)'), GeomFromEWKT('SRID=4674;POINT (-40.040447 -2.804048)'))) / (select extract(epoch from '2026-07-13 10:12:27'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47628, 'SRID=4674;POINT (-40.040443 -2.804017)', '2026-07-13 10:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040447 -2.804048)'), GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804017)'))) / (select extract(epoch from '2026-07-13 10:12:53'::timestamp) - extract(epoch from '2026-07-13 10:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040447 -2.804048)'), GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804017)'))) / (select extract(epoch from '2026-07-13 10:12:53'::timestamp) - extract(epoch from '2026-07-13 10:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040446 -2.804051)', '2026-07-13 10:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804017)'), GeomFromEWKT('SRID=4674;POINT (-40.040446 -2.804051)'))) / (select extract(epoch from '2026-07-13 10:13:10'::timestamp) - extract(epoch from '2026-07-13 10:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040443 -2.804017)'), GeomFromEWKT('SRID=4674;POINT (-40.040446 -2.804051)'))) / (select extract(epoch from '2026-07-13 10:13:10'::timestamp) - extract(epoch from '2026-07-13 10:12: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'), 47628, 'SRID=4674;POINT (-40.040445 -2.804045)', '2026-07-13 10:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040446 -2.804051)'), GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804045)'))) / (select extract(epoch from '2026-07-13 10:13:32'::timestamp) - extract(epoch from '2026-07-13 10:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040446 -2.804051)'), GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804045)'))) / (select extract(epoch from '2026-07-13 10:13:32'::timestamp) - extract(epoch from '2026-07-13 10:13: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'), 47628, 'SRID=4674;POINT (-40.04046 -2.804037)', '2026-07-13 10:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804045)'), GeomFromEWKT('SRID=4674;POINT (-40.04046 -2.804037)'))) / (select extract(epoch from '2026-07-13 10:13:55'::timestamp) - extract(epoch from '2026-07-13 10:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040445 -2.804045)'), GeomFromEWKT('SRID=4674;POINT (-40.04046 -2.804037)'))) / (select extract(epoch from '2026-07-13 10:13:55'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.040466 -2.80403)', '2026-07-13 10:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04046 -2.804037)'), GeomFromEWKT('SRID=4674;POINT (-40.040466 -2.80403)'))) / (select extract(epoch from '2026-07-13 10:14:09'::timestamp) - extract(epoch from '2026-07-13 10:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04046 -2.804037)'), GeomFromEWKT('SRID=4674;POINT (-40.040466 -2.80403)'))) / (select extract(epoch from '2026-07-13 10:14:09'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.040437 -2.804004)', '2026-07-13 10:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040466 -2.80403)'), GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.804004)'))) / (select extract(epoch from '2026-07-13 10:14:23'::timestamp) - extract(epoch from '2026-07-13 10:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040466 -2.80403)'), GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.804004)'))) / (select extract(epoch from '2026-07-13 10:14:23'::timestamp) - extract(epoch from '2026-07-13 10:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040371 -2.803984)', '2026-07-13 10:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.804004)'), GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.803984)'))) / (select extract(epoch from '2026-07-13 10:14:30'::timestamp) - extract(epoch from '2026-07-13 10:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.804004)'), GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.803984)'))) / (select extract(epoch from '2026-07-13 10:14:30'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47628, 'SRID=4674;POINT (-40.040355 -2.803991)', '2026-07-13 10:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.040355 -2.803991)'))) / (select extract(epoch from '2026-07-13 10:14:32'::timestamp) - extract(epoch from '2026-07-13 10:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.040355 -2.803991)'))) / (select extract(epoch from '2026-07-13 10:14:32'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.04034 -2.804023)', '2026-07-13 10:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040355 -2.803991)'), GeomFromEWKT('SRID=4674;POINT (-40.04034 -2.804023)'))) / (select extract(epoch from '2026-07-13 10:14:37'::timestamp) - extract(epoch from '2026-07-13 10:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040355 -2.803991)'), GeomFromEWKT('SRID=4674;POINT (-40.04034 -2.804023)'))) / (select extract(epoch from '2026-07-13 10:14:37'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47628, 'SRID=4674;POINT (-40.040317 -2.804054)', '2026-07-13 10:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04034 -2.804023)'), GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.804054)'))) / (select extract(epoch from '2026-07-13 10:14:44'::timestamp) - extract(epoch from '2026-07-13 10:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04034 -2.804023)'), GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.804054)'))) / (select extract(epoch from '2026-07-13 10:14:44'::timestamp) - extract(epoch from '2026-07-13 10:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.04029 -2.804099)', '2026-07-13 10:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.804054)'), GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804099)'))) / (select extract(epoch from '2026-07-13 10:14:52'::timestamp) - extract(epoch from '2026-07-13 10:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.804054)'), GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804099)'))) / (select extract(epoch from '2026-07-13 10:14:52'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47628, 'SRID=4674;POINT (-40.040291 -2.804113)', '2026-07-13 10:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804099)'), GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.804113)'))) / (select extract(epoch from '2026-07-13 10:14:53'::timestamp) - extract(epoch from '2026-07-13 10:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804099)'), GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.804113)'))) / (select extract(epoch from '2026-07-13 10:14:53'::timestamp) - extract(epoch from '2026-07-13 10:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.04029 -2.804141)', '2026-07-13 10:14:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.804113)'), GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804141)'))) / (select extract(epoch from '2026-07-13 10:14:55'::timestamp) - extract(epoch from '2026-07-13 10:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040291 -2.804113)'), GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804141)'))) / (select extract(epoch from '2026-07-13 10:14:55'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47628, 'SRID=4674;POINT (-40.040311 -2.804188)', '2026-07-13 10:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804141)'), GeomFromEWKT('SRID=4674;POINT (-40.040311 -2.804188)'))) / (select extract(epoch from '2026-07-13 10:14:58'::timestamp) - extract(epoch from '2026-07-13 10:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04029 -2.804141)'), GeomFromEWKT('SRID=4674;POINT (-40.040311 -2.804188)'))) / (select extract(epoch from '2026-07-13 10:14:58'::timestamp) - extract(epoch from '2026-07-13 10:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040397 -2.804258)', '2026-07-13 10:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040311 -2.804188)'), GeomFromEWKT('SRID=4674;POINT (-40.040397 -2.804258)'))) / (select extract(epoch from '2026-07-13 10:15:04'::timestamp) - extract(epoch from '2026-07-13 10:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040311 -2.804188)'), GeomFromEWKT('SRID=4674;POINT (-40.040397 -2.804258)'))) / (select extract(epoch from '2026-07-13 10:15:04'::timestamp) - extract(epoch from '2026-07-13 10:14: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'), 47628, 'SRID=4674;POINT (-40.04051 -2.804297)', '2026-07-13 10:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040397 -2.804258)'), GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.804297)'))) / (select extract(epoch from '2026-07-13 10:15:10'::timestamp) - extract(epoch from '2026-07-13 10:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040397 -2.804258)'), GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.804297)'))) / (select extract(epoch from '2026-07-13 10:15:10'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47628, 'SRID=4674;POINT (-40.04058 -2.804353)', '2026-07-13 10:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.804297)'), GeomFromEWKT('SRID=4674;POINT (-40.04058 -2.804353)'))) / (select extract(epoch from '2026-07-13 10:15:15'::timestamp) - extract(epoch from '2026-07-13 10:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04051 -2.804297)'), GeomFromEWKT('SRID=4674;POINT (-40.04058 -2.804353)'))) / (select extract(epoch from '2026-07-13 10:15:15'::timestamp) - extract(epoch from '2026-07-13 10:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040656 -2.804424)', '2026-07-13 10:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04058 -2.804353)'), GeomFromEWKT('SRID=4674;POINT (-40.040656 -2.804424)'))) / (select extract(epoch from '2026-07-13 10:15:22'::timestamp) - extract(epoch from '2026-07-13 10:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04058 -2.804353)'), GeomFromEWKT('SRID=4674;POINT (-40.040656 -2.804424)'))) / (select extract(epoch from '2026-07-13 10:15:22'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47628, 'SRID=4674;POINT (-40.040754 -2.804477)', '2026-07-13 10:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040656 -2.804424)'), GeomFromEWKT('SRID=4674;POINT (-40.040754 -2.804477)'))) / (select extract(epoch from '2026-07-13 10:15:30'::timestamp) - extract(epoch from '2026-07-13 10:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040656 -2.804424)'), GeomFromEWKT('SRID=4674;POINT (-40.040754 -2.804477)'))) / (select extract(epoch from '2026-07-13 10:15:30'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47628, 'SRID=4674;POINT (-40.040786 -2.804539)', '2026-07-13 10:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040754 -2.804477)'), GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.804539)'))) / (select extract(epoch from '2026-07-13 10:15:38'::timestamp) - extract(epoch from '2026-07-13 10:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040754 -2.804477)'), GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.804539)'))) / (select extract(epoch from '2026-07-13 10:15:38'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47628, 'SRID=4674;POINT (-40.040783 -2.804571)', '2026-07-13 10:15:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.804539)'), GeomFromEWKT('SRID=4674;POINT (-40.040783 -2.804571)'))) / (select extract(epoch from '2026-07-13 10:15:41'::timestamp) - extract(epoch from '2026-07-13 10:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.804539)'), GeomFromEWKT('SRID=4674;POINT (-40.040783 -2.804571)'))) / (select extract(epoch from '2026-07-13 10:15:41'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47628, 'SRID=4674;POINT (-40.040757 -2.804598)', '2026-07-13 10:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040783 -2.804571)'), GeomFromEWKT('SRID=4674;POINT (-40.040757 -2.804598)'))) / (select extract(epoch from '2026-07-13 10:15:45'::timestamp) - extract(epoch from '2026-07-13 10:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040783 -2.804571)'), GeomFromEWKT('SRID=4674;POINT (-40.040757 -2.804598)'))) / (select extract(epoch from '2026-07-13 10:15:45'::timestamp) - extract(epoch from '2026-07-13 10:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.04073 -2.804655)', '2026-07-13 10:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040757 -2.804598)'), GeomFromEWKT('SRID=4674;POINT (-40.04073 -2.804655)'))) / (select extract(epoch from '2026-07-13 10:15:51'::timestamp) - extract(epoch from '2026-07-13 10:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040757 -2.804598)'), GeomFromEWKT('SRID=4674;POINT (-40.04073 -2.804655)'))) / (select extract(epoch from '2026-07-13 10:15:51'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47628, 'SRID=4674;POINT (-40.040716 -2.804792)', '2026-07-13 10:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04073 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.040716 -2.804792)'))) / (select extract(epoch from '2026-07-13 10:16:00'::timestamp) - extract(epoch from '2026-07-13 10:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04073 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.040716 -2.804792)'))) / (select extract(epoch from '2026-07-13 10:16:00'::timestamp) - extract(epoch from '2026-07-13 10:15: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'), 47628, 'SRID=4674;POINT (-40.040769 -2.804895)', '2026-07-13 10:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040716 -2.804792)'), GeomFromEWKT('SRID=4674;POINT (-40.040769 -2.804895)'))) / (select extract(epoch from '2026-07-13 10:16:06'::timestamp) - extract(epoch from '2026-07-13 10:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040716 -2.804792)'), GeomFromEWKT('SRID=4674;POINT (-40.040769 -2.804895)'))) / (select extract(epoch from '2026-07-13 10:16:06'::timestamp) - extract(epoch from '2026-07-13 10:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.040826 -2.805038)', '2026-07-13 10:16:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040769 -2.804895)'), GeomFromEWKT('SRID=4674;POINT (-40.040826 -2.805038)'))) / (select extract(epoch from '2026-07-13 10:16:14'::timestamp) - extract(epoch from '2026-07-13 10:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040769 -2.804895)'), GeomFromEWKT('SRID=4674;POINT (-40.040826 -2.805038)'))) / (select extract(epoch from '2026-07-13 10:16:14'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47628, 'SRID=4674;POINT (-40.040868 -2.805182)', '2026-07-13 10:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040826 -2.805038)'), GeomFromEWKT('SRID=4674;POINT (-40.040868 -2.805182)'))) / (select extract(epoch from '2026-07-13 10:16:22'::timestamp) - extract(epoch from '2026-07-13 10:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040826 -2.805038)'), GeomFromEWKT('SRID=4674;POINT (-40.040868 -2.805182)'))) / (select extract(epoch from '2026-07-13 10:16:22'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47628, 'SRID=4674;POINT (-40.040901 -2.805278)', '2026-07-13 10:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040868 -2.805182)'), GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.805278)'))) / (select extract(epoch from '2026-07-13 10:16:28'::timestamp) - extract(epoch from '2026-07-13 10:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040868 -2.805182)'), GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.805278)'))) / (select extract(epoch from '2026-07-13 10:16:28'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.040968 -2.805327)', '2026-07-13 10:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.040968 -2.805327)'))) / (select extract(epoch from '2026-07-13 10:16:34'::timestamp) - extract(epoch from '2026-07-13 10:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.040968 -2.805327)'))) / (select extract(epoch from '2026-07-13 10:16:34'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47628, 'SRID=4674;POINT (-40.040982 -2.805325)', '2026-07-13 10:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040968 -2.805327)'), GeomFromEWKT('SRID=4674;POINT (-40.040982 -2.805325)'))) / (select extract(epoch from '2026-07-13 10:16:35'::timestamp) - extract(epoch from '2026-07-13 10:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040968 -2.805327)'), GeomFromEWKT('SRID=4674;POINT (-40.040982 -2.805325)'))) / (select extract(epoch from '2026-07-13 10:16:35'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041032 -2.80532)', '2026-07-13 10:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040982 -2.805325)'), GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.80532)'))) / (select extract(epoch from '2026-07-13 10:16:39'::timestamp) - extract(epoch from '2026-07-13 10:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040982 -2.805325)'), GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.80532)'))) / (select extract(epoch from '2026-07-13 10:16:39'::timestamp) - extract(epoch from '2026-07-13 10:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041079 -2.805338)', '2026-07-13 10:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.80532)'), GeomFromEWKT('SRID=4674;POINT (-40.041079 -2.805338)'))) / (select extract(epoch from '2026-07-13 10:16:44'::timestamp) - extract(epoch from '2026-07-13 10:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.80532)'), GeomFromEWKT('SRID=4674;POINT (-40.041079 -2.805338)'))) / (select extract(epoch from '2026-07-13 10:16:44'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041135 -2.80535)', '2026-07-13 10:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041079 -2.805338)'), GeomFromEWKT('SRID=4674;POINT (-40.041135 -2.80535)'))) / (select extract(epoch from '2026-07-13 10:16:53'::timestamp) - extract(epoch from '2026-07-13 10:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041079 -2.805338)'), GeomFromEWKT('SRID=4674;POINT (-40.041135 -2.80535)'))) / (select extract(epoch from '2026-07-13 10:16:53'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47628, 'SRID=4674;POINT (-40.041148 -2.80536)', '2026-07-13 10:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041135 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.041148 -2.80536)'))) / (select extract(epoch from '2026-07-13 10:16:58'::timestamp) - extract(epoch from '2026-07-13 10:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041135 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.041148 -2.80536)'))) / (select extract(epoch from '2026-07-13 10:16:58'::timestamp) - extract(epoch from '2026-07-13 10:16: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'), 47628, 'SRID=4674;POINT (-40.041159 -2.805371)', '2026-07-13 10:17:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041148 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.041159 -2.805371)'))) / (select extract(epoch from '2026-07-13 10:17:06'::timestamp) - extract(epoch from '2026-07-13 10:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041148 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.041159 -2.805371)'))) / (select extract(epoch from '2026-07-13 10:17:06'::timestamp) - extract(epoch from '2026-07-13 10:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.04116 -2.805363)', '2026-07-13 10:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041159 -2.805371)'), GeomFromEWKT('SRID=4674;POINT (-40.04116 -2.805363)'))) / (select extract(epoch from '2026-07-13 10:17:24'::timestamp) - extract(epoch from '2026-07-13 10:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041159 -2.805371)'), GeomFromEWKT('SRID=4674;POINT (-40.04116 -2.805363)'))) / (select extract(epoch from '2026-07-13 10:17:24'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47628, 'SRID=4674;POINT (-40.041156 -2.805393)', '2026-07-13 10:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04116 -2.805363)'), GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805393)'))) / (select extract(epoch from '2026-07-13 10:17:41'::timestamp) - extract(epoch from '2026-07-13 10:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04116 -2.805363)'), GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805393)'))) / (select extract(epoch from '2026-07-13 10:17:41'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47628, 'SRID=4674;POINT (-40.041157 -2.805372)', '2026-07-13 10:17:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805372)'))) / (select extract(epoch from '2026-07-13 10:17:57'::timestamp) - extract(epoch from '2026-07-13 10:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805372)'))) / (select extract(epoch from '2026-07-13 10:17:57'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47628, 'SRID=4674;POINT (-40.041157 -2.805351)', '2026-07-13 10:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805372)'), GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805351)'))) / (select extract(epoch from '2026-07-13 10:18:15'::timestamp) - extract(epoch from '2026-07-13 10:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805372)'), GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805351)'))) / (select extract(epoch from '2026-07-13 10:18:15'::timestamp) - extract(epoch from '2026-07-13 10:17: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'), 47628, 'SRID=4674;POINT (-40.041158 -2.805376)', '2026-07-13 10:18:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805351)'), GeomFromEWKT('SRID=4674;POINT (-40.041158 -2.805376)'))) / (select extract(epoch from '2026-07-13 10:18:25'::timestamp) - extract(epoch from '2026-07-13 10:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805351)'), GeomFromEWKT('SRID=4674;POINT (-40.041158 -2.805376)'))) / (select extract(epoch from '2026-07-13 10:18:25'::timestamp) - extract(epoch from '2026-07-13 10:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041156 -2.805373)', '2026-07-13 10:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041158 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805373)'))) / (select extract(epoch from '2026-07-13 10:18:41'::timestamp) - extract(epoch from '2026-07-13 10:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041158 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805373)'))) / (select extract(epoch from '2026-07-13 10:18:41'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47628, 'SRID=4674;POINT (-40.041172 -2.805345)', '2026-07-13 10:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805373)'), GeomFromEWKT('SRID=4674;POINT (-40.041172 -2.805345)'))) / (select extract(epoch from '2026-07-13 10:19:00'::timestamp) - extract(epoch from '2026-07-13 10:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041156 -2.805373)'), GeomFromEWKT('SRID=4674;POINT (-40.041172 -2.805345)'))) / (select extract(epoch from '2026-07-13 10:19:00'::timestamp) - extract(epoch from '2026-07-13 10:18: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'), 47628, 'SRID=4674;POINT (-40.041171 -2.805373)', '2026-07-13 10:19:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041172 -2.805345)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805373)'))) / (select extract(epoch from '2026-07-13 10:19:13'::timestamp) - extract(epoch from '2026-07-13 10:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041172 -2.805345)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805373)'))) / (select extract(epoch from '2026-07-13 10:19:13'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47628, 'SRID=4674;POINT (-40.041169 -2.80536)', '2026-07-13 10:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805373)'), GeomFromEWKT('SRID=4674;POINT (-40.041169 -2.80536)'))) / (select extract(epoch from '2026-07-13 10:19:30'::timestamp) - extract(epoch from '2026-07-13 10:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805373)'), GeomFromEWKT('SRID=4674;POINT (-40.041169 -2.80536)'))) / (select extract(epoch from '2026-07-13 10:19:30'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47628, 'SRID=4674;POINT (-40.041174 -2.805363)', '2026-07-13 10:19:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041169 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.041174 -2.805363)'))) / (select extract(epoch from '2026-07-13 10:19:49'::timestamp) - extract(epoch from '2026-07-13 10:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041169 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.041174 -2.805363)'))) / (select extract(epoch from '2026-07-13 10:19:49'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47628, 'SRID=4674;POINT (-40.041165 -2.805381)', '2026-07-13 10:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041174 -2.805363)'), GeomFromEWKT('SRID=4674;POINT (-40.041165 -2.805381)'))) / (select extract(epoch from '2026-07-13 10:20:14'::timestamp) - extract(epoch from '2026-07-13 10:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041174 -2.805363)'), GeomFromEWKT('SRID=4674;POINT (-40.041165 -2.805381)'))) / (select extract(epoch from '2026-07-13 10:20:14'::timestamp) - extract(epoch from '2026-07-13 10:19: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'), 47628, 'SRID=4674;POINT (-40.041176 -2.805347)', '2026-07-13 10:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041165 -2.805381)'), GeomFromEWKT('SRID=4674;POINT (-40.041176 -2.805347)'))) / (select extract(epoch from '2026-07-13 10:20:28'::timestamp) - extract(epoch from '2026-07-13 10:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041165 -2.805381)'), GeomFromEWKT('SRID=4674;POINT (-40.041176 -2.805347)'))) / (select extract(epoch from '2026-07-13 10:20:28'::timestamp) - extract(epoch from '2026-07-13 10:20: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'), 47628, 'SRID=4674;POINT (-40.041168 -2.80536)', '2026-07-13 10:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041176 -2.805347)'), GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.80536)'))) / (select extract(epoch from '2026-07-13 10:20:42'::timestamp) - extract(epoch from '2026-07-13 10:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041176 -2.805347)'), GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.80536)'))) / (select extract(epoch from '2026-07-13 10:20:42'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041181 -2.805372)', '2026-07-13 10:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.805372)'))) / (select extract(epoch from '2026-07-13 10:20:55'::timestamp) - extract(epoch from '2026-07-13 10:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041168 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.805372)'))) / (select extract(epoch from '2026-07-13 10:20:55'::timestamp) - extract(epoch from '2026-07-13 10:20: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'), 47628, 'SRID=4674;POINT (-40.041188 -2.805367)', '2026-07-13 10:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.805372)'), GeomFromEWKT('SRID=4674;POINT (-40.041188 -2.805367)'))) / (select extract(epoch from '2026-07-13 10:21:08'::timestamp) - extract(epoch from '2026-07-13 10:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.805372)'), GeomFromEWKT('SRID=4674;POINT (-40.041188 -2.805367)'))) / (select extract(epoch from '2026-07-13 10:21:08'::timestamp) - extract(epoch from '2026-07-13 10:20: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'), 47628, 'SRID=4674;POINT (-40.041177 -2.805366)', '2026-07-13 10:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041188 -2.805367)'), GeomFromEWKT('SRID=4674;POINT (-40.041177 -2.805366)'))) / (select extract(epoch from '2026-07-13 10:21:16'::timestamp) - extract(epoch from '2026-07-13 10:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041188 -2.805367)'), GeomFromEWKT('SRID=4674;POINT (-40.041177 -2.805366)'))) / (select extract(epoch from '2026-07-13 10:21:16'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47628, 'SRID=4674;POINT (-40.04113 -2.805405)', '2026-07-13 10:21:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041177 -2.805366)'), GeomFromEWKT('SRID=4674;POINT (-40.04113 -2.805405)'))) / (select extract(epoch from '2026-07-13 10:21:25'::timestamp) - extract(epoch from '2026-07-13 10:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041177 -2.805366)'), GeomFromEWKT('SRID=4674;POINT (-40.04113 -2.805405)'))) / (select extract(epoch from '2026-07-13 10:21:25'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47628, 'SRID=4674;POINT (-40.041082 -2.805396)', '2026-07-13 10:21:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04113 -2.805405)'), GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.805396)'))) / (select extract(epoch from '2026-07-13 10:21:32'::timestamp) - extract(epoch from '2026-07-13 10:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04113 -2.805405)'), GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.805396)'))) / (select extract(epoch from '2026-07-13 10:21:32'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47628, 'SRID=4674;POINT (-40.041076 -2.805365)', '2026-07-13 10:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.805396)'), GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805365)'))) / (select extract(epoch from '2026-07-13 10:21:38'::timestamp) - extract(epoch from '2026-07-13 10:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041082 -2.805396)'), GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805365)'))) / (select extract(epoch from '2026-07-13 10:21:38'::timestamp) - extract(epoch from '2026-07-13 10:21:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041093 -2.805329)', '2026-07-13 10:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.041093 -2.805329)'))) / (select extract(epoch from '2026-07-13 10:21:46'::timestamp) - extract(epoch from '2026-07-13 10:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.041093 -2.805329)'))) / (select extract(epoch from '2026-07-13 10:21:46'::timestamp) - extract(epoch from '2026-07-13 10:21: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'), 47628, 'SRID=4674;POINT (-40.041121 -2.80531)', '2026-07-13 10:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041093 -2.805329)'), GeomFromEWKT('SRID=4674;POINT (-40.041121 -2.80531)'))) / (select extract(epoch from '2026-07-13 10:21:57'::timestamp) - extract(epoch from '2026-07-13 10:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041093 -2.805329)'), GeomFromEWKT('SRID=4674;POINT (-40.041121 -2.80531)'))) / (select extract(epoch from '2026-07-13 10:21:57'::timestamp) - extract(epoch from '2026-07-13 10:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041139 -2.805341)', '2026-07-13 10:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041121 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.041139 -2.805341)'))) / (select extract(epoch from '2026-07-13 10:22:06'::timestamp) - extract(epoch from '2026-07-13 10:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041121 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.041139 -2.805341)'))) / (select extract(epoch from '2026-07-13 10:22:06'::timestamp) - extract(epoch from '2026-07-13 10:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041157 -2.805366)', '2026-07-13 10:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041139 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805366)'))) / (select extract(epoch from '2026-07-13 10:22:09'::timestamp) - extract(epoch from '2026-07-13 10:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041139 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805366)'))) / (select extract(epoch from '2026-07-13 10:22:09'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041181 -2.8054)', '2026-07-13 10:22:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805366)'), GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.8054)'))) / (select extract(epoch from '2026-07-13 10:22:12'::timestamp) - extract(epoch from '2026-07-13 10:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041157 -2.805366)'), GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.8054)'))) / (select extract(epoch from '2026-07-13 10:22:12'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041202 -2.805425)', '2026-07-13 10:22:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.8054)'), GeomFromEWKT('SRID=4674;POINT (-40.041202 -2.805425)'))) / (select extract(epoch from '2026-07-13 10:22:14'::timestamp) - extract(epoch from '2026-07-13 10:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041181 -2.8054)'), GeomFromEWKT('SRID=4674;POINT (-40.041202 -2.805425)'))) / (select extract(epoch from '2026-07-13 10:22:14'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041234 -2.805468)', '2026-07-13 10:22:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041202 -2.805425)'), GeomFromEWKT('SRID=4674;POINT (-40.041234 -2.805468)'))) / (select extract(epoch from '2026-07-13 10:22:17'::timestamp) - extract(epoch from '2026-07-13 10:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041202 -2.805425)'), GeomFromEWKT('SRID=4674;POINT (-40.041234 -2.805468)'))) / (select extract(epoch from '2026-07-13 10:22:17'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041253 -2.805519)', '2026-07-13 10:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041234 -2.805468)'), GeomFromEWKT('SRID=4674;POINT (-40.041253 -2.805519)'))) / (select extract(epoch from '2026-07-13 10:22:20'::timestamp) - extract(epoch from '2026-07-13 10:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041234 -2.805468)'), GeomFromEWKT('SRID=4674;POINT (-40.041253 -2.805519)'))) / (select extract(epoch from '2026-07-13 10:22:20'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041267 -2.805549)', '2026-07-13 10:22:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041253 -2.805519)'), GeomFromEWKT('SRID=4674;POINT (-40.041267 -2.805549)'))) / (select extract(epoch from '2026-07-13 10:22:22'::timestamp) - extract(epoch from '2026-07-13 10:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041253 -2.805519)'), GeomFromEWKT('SRID=4674;POINT (-40.041267 -2.805549)'))) / (select extract(epoch from '2026-07-13 10:22:22'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041287 -2.80562)', '2026-07-13 10:22:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041267 -2.805549)'), GeomFromEWKT('SRID=4674;POINT (-40.041287 -2.80562)'))) / (select extract(epoch from '2026-07-13 10:22:26'::timestamp) - extract(epoch from '2026-07-13 10:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041267 -2.805549)'), GeomFromEWKT('SRID=4674;POINT (-40.041287 -2.80562)'))) / (select extract(epoch from '2026-07-13 10:22:26'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041291 -2.805656)', '2026-07-13 10:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041287 -2.80562)'), GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.805656)'))) / (select extract(epoch from '2026-07-13 10:22:28'::timestamp) - extract(epoch from '2026-07-13 10:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041287 -2.80562)'), GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.805656)'))) / (select extract(epoch from '2026-07-13 10:22:28'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041293 -2.805693)', '2026-07-13 10:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.805656)'), GeomFromEWKT('SRID=4674;POINT (-40.041293 -2.805693)'))) / (select extract(epoch from '2026-07-13 10:22:30'::timestamp) - extract(epoch from '2026-07-13 10:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041291 -2.805656)'), GeomFromEWKT('SRID=4674;POINT (-40.041293 -2.805693)'))) / (select extract(epoch from '2026-07-13 10:22:30'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041297 -2.805762)', '2026-07-13 10:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041293 -2.805693)'), GeomFromEWKT('SRID=4674;POINT (-40.041297 -2.805762)'))) / (select extract(epoch from '2026-07-13 10:22:34'::timestamp) - extract(epoch from '2026-07-13 10:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041293 -2.805693)'), GeomFromEWKT('SRID=4674;POINT (-40.041297 -2.805762)'))) / (select extract(epoch from '2026-07-13 10:22:34'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041301 -2.805781)', '2026-07-13 10:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041297 -2.805762)'), GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805781)'))) / (select extract(epoch from '2026-07-13 10:22:35'::timestamp) - extract(epoch from '2026-07-13 10:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041297 -2.805762)'), GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805781)'))) / (select extract(epoch from '2026-07-13 10:22:35'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041305 -2.805799)', '2026-07-13 10:22:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805781)'), GeomFromEWKT('SRID=4674;POINT (-40.041305 -2.805799)'))) / (select extract(epoch from '2026-07-13 10:22:36'::timestamp) - extract(epoch from '2026-07-13 10:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805781)'), GeomFromEWKT('SRID=4674;POINT (-40.041305 -2.805799)'))) / (select extract(epoch from '2026-07-13 10:22:36'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041321 -2.805852)', '2026-07-13 10:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041305 -2.805799)'), GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.805852)'))) / (select extract(epoch from '2026-07-13 10:22:39'::timestamp) - extract(epoch from '2026-07-13 10:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041305 -2.805799)'), GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.805852)'))) / (select extract(epoch from '2026-07-13 10:22:39'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041347 -2.805943)', '2026-07-13 10:22:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.805852)'), GeomFromEWKT('SRID=4674;POINT (-40.041347 -2.805943)'))) / (select extract(epoch from '2026-07-13 10:22:44'::timestamp) - extract(epoch from '2026-07-13 10:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041321 -2.805852)'), GeomFromEWKT('SRID=4674;POINT (-40.041347 -2.805943)'))) / (select extract(epoch from '2026-07-13 10:22:44'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041352 -2.80596)', '2026-07-13 10:22:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041347 -2.805943)'), GeomFromEWKT('SRID=4674;POINT (-40.041352 -2.80596)'))) / (select extract(epoch from '2026-07-13 10:22:45'::timestamp) - extract(epoch from '2026-07-13 10:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041347 -2.805943)'), GeomFromEWKT('SRID=4674;POINT (-40.041352 -2.80596)'))) / (select extract(epoch from '2026-07-13 10:22:45'::timestamp) - extract(epoch from '2026-07-13 10:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041371 -2.80603)', '2026-07-13 10:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041352 -2.80596)'), GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.80603)'))) / (select extract(epoch from '2026-07-13 10:22:49'::timestamp) - extract(epoch from '2026-07-13 10:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041352 -2.80596)'), GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.80603)'))) / (select extract(epoch from '2026-07-13 10:22:49'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041394 -2.806156)', '2026-07-13 10:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.80603)'), GeomFromEWKT('SRID=4674;POINT (-40.041394 -2.806156)'))) / (select extract(epoch from '2026-07-13 10:22:56'::timestamp) - extract(epoch from '2026-07-13 10:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.80603)'), GeomFromEWKT('SRID=4674;POINT (-40.041394 -2.806156)'))) / (select extract(epoch from '2026-07-13 10:22:56'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041419 -2.806242)', '2026-07-13 10:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041394 -2.806156)'), GeomFromEWKT('SRID=4674;POINT (-40.041419 -2.806242)'))) / (select extract(epoch from '2026-07-13 10:23:01'::timestamp) - extract(epoch from '2026-07-13 10:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041394 -2.806156)'), GeomFromEWKT('SRID=4674;POINT (-40.041419 -2.806242)'))) / (select extract(epoch from '2026-07-13 10:23:01'::timestamp) - extract(epoch from '2026-07-13 10:22: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'), 47628, 'SRID=4674;POINT (-40.041449 -2.806348)', '2026-07-13 10:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041419 -2.806242)'), GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.806348)'))) / (select extract(epoch from '2026-07-13 10:23:07'::timestamp) - extract(epoch from '2026-07-13 10:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041419 -2.806242)'), GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.806348)'))) / (select extract(epoch from '2026-07-13 10:23:07'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47628, 'SRID=4674;POINT (-40.041485 -2.806477)', '2026-07-13 10:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.806348)'), GeomFromEWKT('SRID=4674;POINT (-40.041485 -2.806477)'))) / (select extract(epoch from '2026-07-13 10:23:14'::timestamp) - extract(epoch from '2026-07-13 10:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.806348)'), GeomFromEWKT('SRID=4674;POINT (-40.041485 -2.806477)'))) / (select extract(epoch from '2026-07-13 10:23:14'::timestamp) - extract(epoch from '2026-07-13 10:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.041475 -2.806596)', '2026-07-13 10:23:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041485 -2.806477)'), GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.806596)'))) / (select extract(epoch from '2026-07-13 10:23:21'::timestamp) - extract(epoch from '2026-07-13 10:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041485 -2.806477)'), GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.806596)'))) / (select extract(epoch from '2026-07-13 10:23:21'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47628, 'SRID=4674;POINT (-40.041508 -2.806704)', '2026-07-13 10:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.806596)'), GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.806704)'))) / (select extract(epoch from '2026-07-13 10:23:27'::timestamp) - extract(epoch from '2026-07-13 10:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.806596)'), GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.806704)'))) / (select extract(epoch from '2026-07-13 10:23:27'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47628, 'SRID=4674;POINT (-40.041514 -2.806721)', '2026-07-13 10:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.806704)'), GeomFromEWKT('SRID=4674;POINT (-40.041514 -2.806721)'))) / (select extract(epoch from '2026-07-13 10:23:28'::timestamp) - extract(epoch from '2026-07-13 10:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.806704)'), GeomFromEWKT('SRID=4674;POINT (-40.041514 -2.806721)'))) / (select extract(epoch from '2026-07-13 10:23:28'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.04153 -2.806771)', '2026-07-13 10:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041514 -2.806721)'), GeomFromEWKT('SRID=4674;POINT (-40.04153 -2.806771)'))) / (select extract(epoch from '2026-07-13 10:23:31'::timestamp) - extract(epoch from '2026-07-13 10:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041514 -2.806721)'), GeomFromEWKT('SRID=4674;POINT (-40.04153 -2.806771)'))) / (select extract(epoch from '2026-07-13 10:23:31'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041535 -2.806804)', '2026-07-13 10:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04153 -2.806771)'), GeomFromEWKT('SRID=4674;POINT (-40.041535 -2.806804)'))) / (select extract(epoch from '2026-07-13 10:23:33'::timestamp) - extract(epoch from '2026-07-13 10:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04153 -2.806771)'), GeomFromEWKT('SRID=4674;POINT (-40.041535 -2.806804)'))) / (select extract(epoch from '2026-07-13 10:23:33'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47628, 'SRID=4674;POINT (-40.04154 -2.806852)', '2026-07-13 10:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041535 -2.806804)'), GeomFromEWKT('SRID=4674;POINT (-40.04154 -2.806852)'))) / (select extract(epoch from '2026-07-13 10:23:36'::timestamp) - extract(epoch from '2026-07-13 10:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041535 -2.806804)'), GeomFromEWKT('SRID=4674;POINT (-40.04154 -2.806852)'))) / (select extract(epoch from '2026-07-13 10:23:36'::timestamp) - extract(epoch from '2026-07-13 10: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'), 47628, 'SRID=4674;POINT (-40.041543 -2.806869)', '2026-07-13 10:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04154 -2.806852)'), GeomFromEWKT('SRID=4674;POINT (-40.041543 -2.806869)'))) / (select extract(epoch from '2026-07-13 10:23:37'::timestamp) - extract(epoch from '2026-07-13 10:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04154 -2.806852)'), GeomFromEWKT('SRID=4674;POINT (-40.041543 -2.806869)'))) / (select extract(epoch from '2026-07-13 10:23:37'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47628, 'SRID=4674;POINT (-40.041558 -2.806917)', '2026-07-13 10:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041543 -2.806869)'), GeomFromEWKT('SRID=4674;POINT (-40.041558 -2.806917)'))) / (select extract(epoch from '2026-07-13 10:23:40'::timestamp) - extract(epoch from '2026-07-13 10:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041543 -2.806869)'), GeomFromEWKT('SRID=4674;POINT (-40.041558 -2.806917)'))) / (select extract(epoch from '2026-07-13 10:23:40'::timestamp) - extract(epoch from '2026-07-13 10:23: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'), 47628, 'SRID=4674;POINT (-40.041574 -2.806963)', '2026-07-13 10:23:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041558 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.041574 -2.806963)'))) / (select extract(epoch from '2026-07-13 10:23:44'::timestamp) - extract(epoch from '2026-07-13 10:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041558 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.041574 -2.806963)'))) / (select extract(epoch from '2026-07-13 10:23:44'::timestamp) - extract(epoch from '2026-07-13 10:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
