BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387822 -2.762389)', '2026-07-04 12:56:08', 10.2, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387842 -2.762378)', '2026-07-04 12:56:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762389)'), GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.762378)'))) / (select extract(epoch from '2026-07-04 12:56:27'::timestamp) - extract(epoch from '2026-07-04 12:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762389)'), GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.762378)'))) / (select extract(epoch from '2026-07-04 12:56:27'::timestamp) - extract(epoch from '2026-07-04 12:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387842 -2.76239)', '2026-07-04 12:56:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.762378)'), GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.76239)'))) / (select extract(epoch from '2026-07-04 12:56:31'::timestamp) - extract(epoch from '2026-07-04 12:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.762378)'), GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.76239)'))) / (select extract(epoch from '2026-07-04 12:56:31'::timestamp) - extract(epoch from '2026-07-04 12:56: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'), 47817, 'SRID=4674;POINT (-40.387837 -2.762409)', '2026-07-04 12:56:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.76239)'), GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762409)'))) / (select extract(epoch from '2026-07-04 12:56:36'::timestamp) - extract(epoch from '2026-07-04 12:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387842 -2.76239)'), GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762409)'))) / (select extract(epoch from '2026-07-04 12:56:36'::timestamp) - extract(epoch from '2026-07-04 12:56: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'), 47817, 'SRID=4674;POINT (-40.387827 -2.762416)', '2026-07-04 12:56:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762409)'), GeomFromEWKT('SRID=4674;POINT (-40.387827 -2.762416)'))) / (select extract(epoch from '2026-07-04 12:56:49'::timestamp) - extract(epoch from '2026-07-04 12:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762409)'), GeomFromEWKT('SRID=4674;POINT (-40.387827 -2.762416)'))) / (select extract(epoch from '2026-07-04 12:56:49'::timestamp) - extract(epoch from '2026-07-04 12:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.38782 -2.762401)', '2026-07-04 12:56:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387827 -2.762416)'), GeomFromEWKT('SRID=4674;POINT (-40.38782 -2.762401)'))) / (select extract(epoch from '2026-07-04 12:56:50'::timestamp) - extract(epoch from '2026-07-04 12:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387827 -2.762416)'), GeomFromEWKT('SRID=4674;POINT (-40.38782 -2.762401)'))) / (select extract(epoch from '2026-07-04 12:56:50'::timestamp) - extract(epoch from '2026-07-04 12: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'), 47817, 'SRID=4674;POINT (-40.387823 -2.762382)', '2026-07-04 12:56:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38782 -2.762401)'), GeomFromEWKT('SRID=4674;POINT (-40.387823 -2.762382)'))) / (select extract(epoch from '2026-07-04 12:56:53'::timestamp) - extract(epoch from '2026-07-04 12:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38782 -2.762401)'), GeomFromEWKT('SRID=4674;POINT (-40.387823 -2.762382)'))) / (select extract(epoch from '2026-07-04 12:56:53'::timestamp) - extract(epoch from '2026-07-04 12:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387834 -2.762369)', '2026-07-04 12:57:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387823 -2.762382)'), GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.762369)'))) / (select extract(epoch from '2026-07-04 12:57:02'::timestamp) - extract(epoch from '2026-07-04 12:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387823 -2.762382)'), GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.762369)'))) / (select extract(epoch from '2026-07-04 12:57:02'::timestamp) - extract(epoch from '2026-07-04 12:56: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'), 47817, 'SRID=4674;POINT (-40.387851 -2.762377)', '2026-07-04 12:57:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.762369)'), GeomFromEWKT('SRID=4674;POINT (-40.387851 -2.762377)'))) / (select extract(epoch from '2026-07-04 12:57:10'::timestamp) - extract(epoch from '2026-07-04 12:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387834 -2.762369)'), GeomFromEWKT('SRID=4674;POINT (-40.387851 -2.762377)'))) / (select extract(epoch from '2026-07-04 12:57:10'::timestamp) - extract(epoch from '2026-07-04 12:57: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'), 47817, 'SRID=4674;POINT (-40.387865 -2.762398)', '2026-07-04 12:57:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387851 -2.762377)'), GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762398)'))) / (select extract(epoch from '2026-07-04 12:57:19'::timestamp) - extract(epoch from '2026-07-04 12:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387851 -2.762377)'), GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762398)'))) / (select extract(epoch from '2026-07-04 12:57:19'::timestamp) - extract(epoch from '2026-07-04 12:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.38784 -2.76244)', '2026-07-04 12:57:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762398)'), GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.76244)'))) / (select extract(epoch from '2026-07-04 12:57:30'::timestamp) - extract(epoch from '2026-07-04 12:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762398)'), GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.76244)'))) / (select extract(epoch from '2026-07-04 12:57:30'::timestamp) - extract(epoch from '2026-07-04 12:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387839 -2.76244)', '2026-07-04 12:57:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.76244)'), GeomFromEWKT('SRID=4674;POINT (-40.387839 -2.76244)'))) / (select extract(epoch from '2026-07-04 12:57:40'::timestamp) - extract(epoch from '2026-07-04 12:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.76244)'), GeomFromEWKT('SRID=4674;POINT (-40.387839 -2.76244)'))) / (select extract(epoch from '2026-07-04 12:57:40'::timestamp) - extract(epoch from '2026-07-04 12: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'), 47817, 'SRID=4674;POINT (-40.387822 -2.762432)', '2026-07-04 12:57:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387839 -2.76244)'), GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762432)'))) / (select extract(epoch from '2026-07-04 12:57:50'::timestamp) - extract(epoch from '2026-07-04 12:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387839 -2.76244)'), GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762432)'))) / (select extract(epoch from '2026-07-04 12:57:50'::timestamp) - extract(epoch from '2026-07-04 12:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387822 -2.762446)', '2026-07-04 12:58:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762446)'))) / (select extract(epoch from '2026-07-04 12:58:00'::timestamp) - extract(epoch from '2026-07-04 12:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762446)'))) / (select extract(epoch from '2026-07-04 12:58:00'::timestamp) - extract(epoch from '2026-07-04 12:57:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387825 -2.762431)', '2026-07-04 12:58:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762446)'), GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762431)'))) / (select extract(epoch from '2026-07-04 12:58:08'::timestamp) - extract(epoch from '2026-07-04 12:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387822 -2.762446)'), GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762431)'))) / (select extract(epoch from '2026-07-04 12:58:08'::timestamp) - extract(epoch from '2026-07-04 12:58: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'), 47817, 'SRID=4674;POINT (-40.387813 -2.762428)', '2026-07-04 12:58:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762431)'), GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.762428)'))) / (select extract(epoch from '2026-07-04 12:58:16'::timestamp) - extract(epoch from '2026-07-04 12:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762431)'), GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.762428)'))) / (select extract(epoch from '2026-07-04 12:58:16'::timestamp) - extract(epoch from '2026-07-04 12:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387789 -2.762434)', '2026-07-04 12:58:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.762428)'), GeomFromEWKT('SRID=4674;POINT (-40.387789 -2.762434)'))) / (select extract(epoch from '2026-07-04 12:58:26'::timestamp) - extract(epoch from '2026-07-04 12:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.762428)'), GeomFromEWKT('SRID=4674;POINT (-40.387789 -2.762434)'))) / (select extract(epoch from '2026-07-04 12:58:26'::timestamp) - extract(epoch from '2026-07-04 12:58: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'), 47817, 'SRID=4674;POINT (-40.387726 -2.762463)', '2026-07-04 12:58:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387789 -2.762434)'), GeomFromEWKT('SRID=4674;POINT (-40.387726 -2.762463)'))) / (select extract(epoch from '2026-07-04 12:58:35'::timestamp) - extract(epoch from '2026-07-04 12:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387789 -2.762434)'), GeomFromEWKT('SRID=4674;POINT (-40.387726 -2.762463)'))) / (select extract(epoch from '2026-07-04 12:58:35'::timestamp) - extract(epoch from '2026-07-04 12:58: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'), 47817, 'SRID=4674;POINT (-40.387671 -2.762495)', '2026-07-04 12:58:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387726 -2.762463)'), GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762495)'))) / (select extract(epoch from '2026-07-04 12:58:43'::timestamp) - extract(epoch from '2026-07-04 12:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387726 -2.762463)'), GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762495)'))) / (select extract(epoch from '2026-07-04 12:58:43'::timestamp) - extract(epoch from '2026-07-04 12:58: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'), 47817, 'SRID=4674;POINT (-40.387614 -2.762505)', '2026-07-04 12:58:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762505)'))) / (select extract(epoch from '2026-07-04 12:58:52'::timestamp) - extract(epoch from '2026-07-04 12:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762505)'))) / (select extract(epoch from '2026-07-04 12:58:52'::timestamp) - extract(epoch from '2026-07-04 12:58: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'), 47817, 'SRID=4674;POINT (-40.387564 -2.762525)', '2026-07-04 12:59:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762505)'), GeomFromEWKT('SRID=4674;POINT (-40.387564 -2.762525)'))) / (select extract(epoch from '2026-07-04 12:59:01'::timestamp) - extract(epoch from '2026-07-04 12:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762505)'), GeomFromEWKT('SRID=4674;POINT (-40.387564 -2.762525)'))) / (select extract(epoch from '2026-07-04 12:59:01'::timestamp) - extract(epoch from '2026-07-04 12:58: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'), 47817, 'SRID=4674;POINT (-40.387502 -2.762543)', '2026-07-04 12:59:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387564 -2.762525)'), GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762543)'))) / (select extract(epoch from '2026-07-04 12:59:10'::timestamp) - extract(epoch from '2026-07-04 12:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387564 -2.762525)'), GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762543)'))) / (select extract(epoch from '2026-07-04 12:59:10'::timestamp) - extract(epoch from '2026-07-04 12: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'), 47817, 'SRID=4674;POINT (-40.387473 -2.762575)', '2026-07-04 12:59:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762543)'), GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.762575)'))) / (select extract(epoch from '2026-07-04 12:59:16'::timestamp) - extract(epoch from '2026-07-04 12:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762543)'), GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.762575)'))) / (select extract(epoch from '2026-07-04 12:59:16'::timestamp) - extract(epoch from '2026-07-04 12: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'), 47817, 'SRID=4674;POINT (-40.387447 -2.76261)', '2026-07-04 12:59:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.762575)'), GeomFromEWKT('SRID=4674;POINT (-40.387447 -2.76261)'))) / (select extract(epoch from '2026-07-04 12:59:25'::timestamp) - extract(epoch from '2026-07-04 12:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.762575)'), GeomFromEWKT('SRID=4674;POINT (-40.387447 -2.76261)'))) / (select extract(epoch from '2026-07-04 12:59:25'::timestamp) - extract(epoch from '2026-07-04 12:59: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'), 47817, 'SRID=4674;POINT (-40.387421 -2.762638)', '2026-07-04 12:59:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387447 -2.76261)'), GeomFromEWKT('SRID=4674;POINT (-40.387421 -2.762638)'))) / (select extract(epoch from '2026-07-04 12:59:34'::timestamp) - extract(epoch from '2026-07-04 12:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387447 -2.76261)'), GeomFromEWKT('SRID=4674;POINT (-40.387421 -2.762638)'))) / (select extract(epoch from '2026-07-04 12:59:34'::timestamp) - extract(epoch from '2026-07-04 12: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'), 47817, 'SRID=4674;POINT (-40.387401 -2.762654)', '2026-07-04 12:59:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387421 -2.762638)'), GeomFromEWKT('SRID=4674;POINT (-40.387401 -2.762654)'))) / (select extract(epoch from '2026-07-04 12:59:43'::timestamp) - extract(epoch from '2026-07-04 12:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387421 -2.762638)'), GeomFromEWKT('SRID=4674;POINT (-40.387401 -2.762654)'))) / (select extract(epoch from '2026-07-04 12:59:43'::timestamp) - extract(epoch from '2026-07-04 12:59: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'), 47817, 'SRID=4674;POINT (-40.387381 -2.76267)', '2026-07-04 12:59:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387401 -2.762654)'), GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.76267)'))) / (select extract(epoch from '2026-07-04 12:59:50'::timestamp) - extract(epoch from '2026-07-04 12:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387401 -2.762654)'), GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.76267)'))) / (select extract(epoch from '2026-07-04 12:59:50'::timestamp) - extract(epoch from '2026-07-04 12:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387373 -2.76268)', '2026-07-04 12:59:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.76267)'), GeomFromEWKT('SRID=4674;POINT (-40.387373 -2.76268)'))) / (select extract(epoch from '2026-07-04 12:59:51'::timestamp) - extract(epoch from '2026-07-04 12:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.76267)'), GeomFromEWKT('SRID=4674;POINT (-40.387373 -2.76268)'))) / (select extract(epoch from '2026-07-04 12:59:51'::timestamp) - extract(epoch from '2026-07-04 12:59: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'), 47817, 'SRID=4674;POINT (-40.387332 -2.762734)', '2026-07-04 12:59:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387373 -2.76268)'), GeomFromEWKT('SRID=4674;POINT (-40.387332 -2.762734)'))) / (select extract(epoch from '2026-07-04 12:59:56'::timestamp) - extract(epoch from '2026-07-04 12:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387373 -2.76268)'), GeomFromEWKT('SRID=4674;POINT (-40.387332 -2.762734)'))) / (select extract(epoch from '2026-07-04 12:59:56'::timestamp) - extract(epoch from '2026-07-04 12:59: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'), 47817, 'SRID=4674;POINT (-40.387325 -2.762736)', '2026-07-04 12:59:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387332 -2.762734)'), GeomFromEWKT('SRID=4674;POINT (-40.387325 -2.762736)'))) / (select extract(epoch from '2026-07-04 12:59:57'::timestamp) - extract(epoch from '2026-07-04 12:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387332 -2.762734)'), GeomFromEWKT('SRID=4674;POINT (-40.387325 -2.762736)'))) / (select extract(epoch from '2026-07-04 12:59:57'::timestamp) - extract(epoch from '2026-07-04 12:59: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'), 47817, 'SRID=4674;POINT (-40.387298 -2.762756)', '2026-07-04 13:00:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387325 -2.762736)'), GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.762756)'))) / (select extract(epoch from '2026-07-04 13:00:00'::timestamp) - extract(epoch from '2026-07-04 12:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387325 -2.762736)'), GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.762756)'))) / (select extract(epoch from '2026-07-04 13:00:00'::timestamp) - extract(epoch from '2026-07-04 12:59: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'), 47817, 'SRID=4674;POINT (-40.387287 -2.762767)', '2026-07-04 13:00:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.762756)'), GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.762767)'))) / (select extract(epoch from '2026-07-04 13:00:01'::timestamp) - extract(epoch from '2026-07-04 13:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.762756)'), GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.762767)'))) / (select extract(epoch from '2026-07-04 13:00:01'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.387261 -2.762859)', '2026-07-04 13:00:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.762767)'), GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.762859)'))) / (select extract(epoch from '2026-07-04 13:00:07'::timestamp) - extract(epoch from '2026-07-04 13:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.762767)'), GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.762859)'))) / (select extract(epoch from '2026-07-04 13:00:07'::timestamp) - extract(epoch from '2026-07-04 13:00: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'), 47817, 'SRID=4674;POINT (-40.387287 -2.763003)', '2026-07-04 13:00:14', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.762859)'), GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.763003)'))) / (select extract(epoch from '2026-07-04 13:00:14'::timestamp) - extract(epoch from '2026-07-04 13:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387261 -2.762859)'), GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.763003)'))) / (select extract(epoch from '2026-07-04 13:00:14'::timestamp) - extract(epoch from '2026-07-04 13:00: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'), 47817, 'SRID=4674;POINT (-40.387402 -2.763203)', '2026-07-04 13:00:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.763003)'), GeomFromEWKT('SRID=4674;POINT (-40.387402 -2.763203)'))) / (select extract(epoch from '2026-07-04 13:00:22'::timestamp) - extract(epoch from '2026-07-04 13:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387287 -2.763003)'), GeomFromEWKT('SRID=4674;POINT (-40.387402 -2.763203)'))) / (select extract(epoch from '2026-07-04 13:00:22'::timestamp) - extract(epoch from '2026-07-04 13:00: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'), 47817, 'SRID=4674;POINT (-40.387507 -2.76331)', '2026-07-04 13:00:28', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387402 -2.763203)'), GeomFromEWKT('SRID=4674;POINT (-40.387507 -2.76331)'))) / (select extract(epoch from '2026-07-04 13:00:28'::timestamp) - extract(epoch from '2026-07-04 13:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387402 -2.763203)'), GeomFromEWKT('SRID=4674;POINT (-40.387507 -2.76331)'))) / (select extract(epoch from '2026-07-04 13:00:28'::timestamp) - extract(epoch from '2026-07-04 13:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387634 -2.763499)', '2026-07-04 13:00:36', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387507 -2.76331)'), GeomFromEWKT('SRID=4674;POINT (-40.387634 -2.763499)'))) / (select extract(epoch from '2026-07-04 13:00:36'::timestamp) - extract(epoch from '2026-07-04 13:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387507 -2.76331)'), GeomFromEWKT('SRID=4674;POINT (-40.387634 -2.763499)'))) / (select extract(epoch from '2026-07-04 13:00:36'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.387661 -2.763621)', '2026-07-04 13:00:43', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387634 -2.763499)'), GeomFromEWKT('SRID=4674;POINT (-40.387661 -2.763621)'))) / (select extract(epoch from '2026-07-04 13:00:43'::timestamp) - extract(epoch from '2026-07-04 13:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387634 -2.763499)'), GeomFromEWKT('SRID=4674;POINT (-40.387661 -2.763621)'))) / (select extract(epoch from '2026-07-04 13:00:43'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.387652 -2.763704)', '2026-07-04 13:00:48', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387661 -2.763621)'), GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.763704)'))) / (select extract(epoch from '2026-07-04 13:00:48'::timestamp) - extract(epoch from '2026-07-04 13:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387661 -2.763621)'), GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.763704)'))) / (select extract(epoch from '2026-07-04 13:00:48'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.387621 -2.763849)', '2026-07-04 13:00:54', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.763704)'), GeomFromEWKT('SRID=4674;POINT (-40.387621 -2.763849)'))) / (select extract(epoch from '2026-07-04 13:00:54'::timestamp) - extract(epoch from '2026-07-04 13:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.763704)'), GeomFromEWKT('SRID=4674;POINT (-40.387621 -2.763849)'))) / (select extract(epoch from '2026-07-04 13:00:54'::timestamp) - extract(epoch from '2026-07-04 13:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387554 -2.763981)', '2026-07-04 13:01:00', -10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387621 -2.763849)'), GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.763981)'))) / (select extract(epoch from '2026-07-04 13:01:00'::timestamp) - extract(epoch from '2026-07-04 13:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387621 -2.763849)'), GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.763981)'))) / (select extract(epoch from '2026-07-04 13:01:00'::timestamp) - extract(epoch from '2026-07-04 13:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387429 -2.764078)', '2026-07-04 13:01:07', -12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.763981)'), GeomFromEWKT('SRID=4674;POINT (-40.387429 -2.764078)'))) / (select extract(epoch from '2026-07-04 13:01:07'::timestamp) - extract(epoch from '2026-07-04 13:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.763981)'), GeomFromEWKT('SRID=4674;POINT (-40.387429 -2.764078)'))) / (select extract(epoch from '2026-07-04 13:01:07'::timestamp) - extract(epoch from '2026-07-04 13:01: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'), 47817, 'SRID=4674;POINT (-40.387259 -2.764124)', '2026-07-04 13:01:14', -13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387429 -2.764078)'), GeomFromEWKT('SRID=4674;POINT (-40.387259 -2.764124)'))) / (select extract(epoch from '2026-07-04 13:01:14'::timestamp) - extract(epoch from '2026-07-04 13:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387429 -2.764078)'), GeomFromEWKT('SRID=4674;POINT (-40.387259 -2.764124)'))) / (select extract(epoch from '2026-07-04 13:01:14'::timestamp) - extract(epoch from '2026-07-04 13:01: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'), 47817, 'SRID=4674;POINT (-40.387124 -2.764151)', '2026-07-04 13:01:21', -14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387259 -2.764124)'), GeomFromEWKT('SRID=4674;POINT (-40.387124 -2.764151)'))) / (select extract(epoch from '2026-07-04 13:01:21'::timestamp) - extract(epoch from '2026-07-04 13:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387259 -2.764124)'), GeomFromEWKT('SRID=4674;POINT (-40.387124 -2.764151)'))) / (select extract(epoch from '2026-07-04 13:01:21'::timestamp) - extract(epoch from '2026-07-04 13:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387052 -2.764277)', '2026-07-04 13:01:28', -14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387124 -2.764151)'), GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.764277)'))) / (select extract(epoch from '2026-07-04 13:01:28'::timestamp) - extract(epoch from '2026-07-04 13:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387124 -2.764151)'), GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.764277)'))) / (select extract(epoch from '2026-07-04 13:01:28'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.38698 -2.764442)', '2026-07-04 13:01:35', -15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.764277)'), GeomFromEWKT('SRID=4674;POINT (-40.38698 -2.764442)'))) / (select extract(epoch from '2026-07-04 13:01:35'::timestamp) - extract(epoch from '2026-07-04 13:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.764277)'), GeomFromEWKT('SRID=4674;POINT (-40.38698 -2.764442)'))) / (select extract(epoch from '2026-07-04 13:01:35'::timestamp) - extract(epoch from '2026-07-04 13:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.386941 -2.764646)', '2026-07-04 13:01:44', -16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38698 -2.764442)'), GeomFromEWKT('SRID=4674;POINT (-40.386941 -2.764646)'))) / (select extract(epoch from '2026-07-04 13:01:44'::timestamp) - extract(epoch from '2026-07-04 13:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38698 -2.764442)'), GeomFromEWKT('SRID=4674;POINT (-40.386941 -2.764646)'))) / (select extract(epoch from '2026-07-04 13:01:44'::timestamp) - extract(epoch from '2026-07-04 13:01: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'), 47817, 'SRID=4674;POINT (-40.386986 -2.764745)', '2026-07-04 13:01:49', -16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386941 -2.764646)'), GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.764745)'))) / (select extract(epoch from '2026-07-04 13:01:49'::timestamp) - extract(epoch from '2026-07-04 13:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386941 -2.764646)'), GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.764745)'))) / (select extract(epoch from '2026-07-04 13:01:49'::timestamp) - extract(epoch from '2026-07-04 13:01: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'), 47817, 'SRID=4674;POINT (-40.387062 -2.764856)', '2026-07-04 13:01:55', -16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.764745)'), GeomFromEWKT('SRID=4674;POINT (-40.387062 -2.764856)'))) / (select extract(epoch from '2026-07-04 13:01:55'::timestamp) - extract(epoch from '2026-07-04 13:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.764745)'), GeomFromEWKT('SRID=4674;POINT (-40.387062 -2.764856)'))) / (select extract(epoch from '2026-07-04 13:01:55'::timestamp) - extract(epoch from '2026-07-04 13:01: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'), 47817, 'SRID=4674;POINT (-40.387139 -2.764962)', '2026-07-04 13:02:00', -16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387062 -2.764856)'), GeomFromEWKT('SRID=4674;POINT (-40.387139 -2.764962)'))) / (select extract(epoch from '2026-07-04 13:02:00'::timestamp) - extract(epoch from '2026-07-04 13:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387062 -2.764856)'), GeomFromEWKT('SRID=4674;POINT (-40.387139 -2.764962)'))) / (select extract(epoch from '2026-07-04 13:02:00'::timestamp) - extract(epoch from '2026-07-04 13:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387196 -2.765058)', '2026-07-04 13:02:05', -17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387139 -2.764962)'), GeomFromEWKT('SRID=4674;POINT (-40.387196 -2.765058)'))) / (select extract(epoch from '2026-07-04 13:02:05'::timestamp) - extract(epoch from '2026-07-04 13:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387139 -2.764962)'), GeomFromEWKT('SRID=4674;POINT (-40.387196 -2.765058)'))) / (select extract(epoch from '2026-07-04 13:02:05'::timestamp) - extract(epoch from '2026-07-04 13:02: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'), 47817, 'SRID=4674;POINT (-40.387227 -2.765139)', '2026-07-04 13:02:11', -19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387196 -2.765058)'), GeomFromEWKT('SRID=4674;POINT (-40.387227 -2.765139)'))) / (select extract(epoch from '2026-07-04 13:02:11'::timestamp) - extract(epoch from '2026-07-04 13:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387196 -2.765058)'), GeomFromEWKT('SRID=4674;POINT (-40.387227 -2.765139)'))) / (select extract(epoch from '2026-07-04 13:02:11'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.387265 -2.765263)', '2026-07-04 13:02:17', -20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387227 -2.765139)'), GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.765263)'))) / (select extract(epoch from '2026-07-04 13:02:17'::timestamp) - extract(epoch from '2026-07-04 13:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387227 -2.765139)'), GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.765263)'))) / (select extract(epoch from '2026-07-04 13:02:17'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.387316 -2.765406)', '2026-07-04 13:02:23', -21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.765263)'), GeomFromEWKT('SRID=4674;POINT (-40.387316 -2.765406)'))) / (select extract(epoch from '2026-07-04 13:02:23'::timestamp) - extract(epoch from '2026-07-04 13:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387265 -2.765263)'), GeomFromEWKT('SRID=4674;POINT (-40.387316 -2.765406)'))) / (select extract(epoch from '2026-07-04 13:02:23'::timestamp) - extract(epoch from '2026-07-04 13:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387446 -2.765576)', '2026-07-04 13:02:30', -21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387316 -2.765406)'), GeomFromEWKT('SRID=4674;POINT (-40.387446 -2.765576)'))) / (select extract(epoch from '2026-07-04 13:02:30'::timestamp) - extract(epoch from '2026-07-04 13:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387316 -2.765406)'), GeomFromEWKT('SRID=4674;POINT (-40.387446 -2.765576)'))) / (select extract(epoch from '2026-07-04 13:02:30'::timestamp) - extract(epoch from '2026-07-04 13:02: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'), 47817, 'SRID=4674;POINT (-40.387602 -2.765759)', '2026-07-04 13:02:39', -22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387446 -2.765576)'), GeomFromEWKT('SRID=4674;POINT (-40.387602 -2.765759)'))) / (select extract(epoch from '2026-07-04 13:02:39'::timestamp) - extract(epoch from '2026-07-04 13:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387446 -2.765576)'), GeomFromEWKT('SRID=4674;POINT (-40.387602 -2.765759)'))) / (select extract(epoch from '2026-07-04 13:02:39'::timestamp) - extract(epoch from '2026-07-04 13:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387651 -2.765866)', '2026-07-04 13:02:45', -24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387602 -2.765759)'), GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.765866)'))) / (select extract(epoch from '2026-07-04 13:02:45'::timestamp) - extract(epoch from '2026-07-04 13:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387602 -2.765759)'), GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.765866)'))) / (select extract(epoch from '2026-07-04 13:02:45'::timestamp) - extract(epoch from '2026-07-04 13:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.387679 -2.765983)', '2026-07-04 13:02:51', -25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.765866)'), GeomFromEWKT('SRID=4674;POINT (-40.387679 -2.765983)'))) / (select extract(epoch from '2026-07-04 13:02:51'::timestamp) - extract(epoch from '2026-07-04 13:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.765866)'), GeomFromEWKT('SRID=4674;POINT (-40.387679 -2.765983)'))) / (select extract(epoch from '2026-07-04 13:02:51'::timestamp) - extract(epoch from '2026-07-04 13:02: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'), 47817, 'SRID=4674;POINT (-40.387707 -2.766138)', '2026-07-04 13:02:58', -26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387679 -2.765983)'), GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.766138)'))) / (select extract(epoch from '2026-07-04 13:02:58'::timestamp) - extract(epoch from '2026-07-04 13:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387679 -2.765983)'), GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.766138)'))) / (select extract(epoch from '2026-07-04 13:02:58'::timestamp) - extract(epoch from '2026-07-04 13:02: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'), 47817, 'SRID=4674;POINT (-40.387748 -2.766296)', '2026-07-04 13:03:05', -28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.766138)'), GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.766296)'))) / (select extract(epoch from '2026-07-04 13:03:05'::timestamp) - extract(epoch from '2026-07-04 13:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.766138)'), GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.766296)'))) / (select extract(epoch from '2026-07-04 13:03:05'::timestamp) - extract(epoch from '2026-07-04 13:02: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'), 47817, 'SRID=4674;POINT (-40.387828 -2.766417)', '2026-07-04 13:03:11', -29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.766296)'), GeomFromEWKT('SRID=4674;POINT (-40.387828 -2.766417)'))) / (select extract(epoch from '2026-07-04 13:03:11'::timestamp) - extract(epoch from '2026-07-04 13:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.766296)'), GeomFromEWKT('SRID=4674;POINT (-40.387828 -2.766417)'))) / (select extract(epoch from '2026-07-04 13:03:11'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.387917 -2.766518)', '2026-07-04 13:03:17', -31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387828 -2.766417)'), GeomFromEWKT('SRID=4674;POINT (-40.387917 -2.766518)'))) / (select extract(epoch from '2026-07-04 13:03:17'::timestamp) - extract(epoch from '2026-07-04 13:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387828 -2.766417)'), GeomFromEWKT('SRID=4674;POINT (-40.387917 -2.766518)'))) / (select extract(epoch from '2026-07-04 13:03:17'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.38798 -2.766669)', '2026-07-04 13:03:23', -33.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387917 -2.766518)'), GeomFromEWKT('SRID=4674;POINT (-40.38798 -2.766669)'))) / (select extract(epoch from '2026-07-04 13:03:23'::timestamp) - extract(epoch from '2026-07-04 13:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387917 -2.766518)'), GeomFromEWKT('SRID=4674;POINT (-40.38798 -2.766669)'))) / (select extract(epoch from '2026-07-04 13:03:23'::timestamp) - extract(epoch from '2026-07-04 13:03: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'), 47817, 'SRID=4674;POINT (-40.388032 -2.766801)', '2026-07-04 13:03:29', -35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38798 -2.766669)'), GeomFromEWKT('SRID=4674;POINT (-40.388032 -2.766801)'))) / (select extract(epoch from '2026-07-04 13:03:29'::timestamp) - extract(epoch from '2026-07-04 13:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38798 -2.766669)'), GeomFromEWKT('SRID=4674;POINT (-40.388032 -2.766801)'))) / (select extract(epoch from '2026-07-04 13:03:29'::timestamp) - extract(epoch from '2026-07-04 13:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.388101 -2.766983)', '2026-07-04 13:03:37', -36.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388032 -2.766801)'), GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.766983)'))) / (select extract(epoch from '2026-07-04 13:03:37'::timestamp) - extract(epoch from '2026-07-04 13:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388032 -2.766801)'), GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.766983)'))) / (select extract(epoch from '2026-07-04 13:03:37'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.388141 -2.767106)', '2026-07-04 13:03:43', -37.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.766983)'), GeomFromEWKT('SRID=4674;POINT (-40.388141 -2.767106)'))) / (select extract(epoch from '2026-07-04 13:03:43'::timestamp) - extract(epoch from '2026-07-04 13:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.766983)'), GeomFromEWKT('SRID=4674;POINT (-40.388141 -2.767106)'))) / (select extract(epoch from '2026-07-04 13:03:43'::timestamp) - extract(epoch from '2026-07-04 13:03: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'), 47817, 'SRID=4674;POINT (-40.388203 -2.767251)', '2026-07-04 13:03:50', -38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388141 -2.767106)'), GeomFromEWKT('SRID=4674;POINT (-40.388203 -2.767251)'))) / (select extract(epoch from '2026-07-04 13:03:50'::timestamp) - extract(epoch from '2026-07-04 13:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388141 -2.767106)'), GeomFromEWKT('SRID=4674;POINT (-40.388203 -2.767251)'))) / (select extract(epoch from '2026-07-04 13:03:50'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.388253 -2.767385)', '2026-07-04 13:03:56', -39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388203 -2.767251)'), GeomFromEWKT('SRID=4674;POINT (-40.388253 -2.767385)'))) / (select extract(epoch from '2026-07-04 13:03:56'::timestamp) - extract(epoch from '2026-07-04 13:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388203 -2.767251)'), GeomFromEWKT('SRID=4674;POINT (-40.388253 -2.767385)'))) / (select extract(epoch from '2026-07-04 13:03:56'::timestamp) - extract(epoch from '2026-07-04 13:03: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'), 47817, 'SRID=4674;POINT (-40.388288 -2.76752)', '2026-07-04 13:04:03', -40.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388253 -2.767385)'), GeomFromEWKT('SRID=4674;POINT (-40.388288 -2.76752)'))) / (select extract(epoch from '2026-07-04 13:04:03'::timestamp) - extract(epoch from '2026-07-04 13:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388253 -2.767385)'), GeomFromEWKT('SRID=4674;POINT (-40.388288 -2.76752)'))) / (select extract(epoch from '2026-07-04 13:04:03'::timestamp) - extract(epoch from '2026-07-04 13:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.388329 -2.767651)', '2026-07-04 13:04:09', -42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388288 -2.76752)'), GeomFromEWKT('SRID=4674;POINT (-40.388329 -2.767651)'))) / (select extract(epoch from '2026-07-04 13:04:09'::timestamp) - extract(epoch from '2026-07-04 13:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388288 -2.76752)'), GeomFromEWKT('SRID=4674;POINT (-40.388329 -2.767651)'))) / (select extract(epoch from '2026-07-04 13:04:09'::timestamp) - extract(epoch from '2026-07-04 13:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.388375 -2.767822)', '2026-07-04 13:04:16', -42.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388329 -2.767651)'), GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.767822)'))) / (select extract(epoch from '2026-07-04 13:04:16'::timestamp) - extract(epoch from '2026-07-04 13:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388329 -2.767651)'), GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.767822)'))) / (select extract(epoch from '2026-07-04 13:04:16'::timestamp) - extract(epoch from '2026-07-04 13:04: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'), 47817, 'SRID=4674;POINT (-40.388477 -2.767988)', '2026-07-04 13:04:24', -43.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.767822)'), GeomFromEWKT('SRID=4674;POINT (-40.388477 -2.767988)'))) / (select extract(epoch from '2026-07-04 13:04:24'::timestamp) - extract(epoch from '2026-07-04 13:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.767822)'), GeomFromEWKT('SRID=4674;POINT (-40.388477 -2.767988)'))) / (select extract(epoch from '2026-07-04 13:04:24'::timestamp) - extract(epoch from '2026-07-04 13:04: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'), 47817, 'SRID=4674;POINT (-40.388602 -2.768143)', '2026-07-04 13:04:31', -40.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388477 -2.767988)'), GeomFromEWKT('SRID=4674;POINT (-40.388602 -2.768143)'))) / (select extract(epoch from '2026-07-04 13:04:31'::timestamp) - extract(epoch from '2026-07-04 13:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388477 -2.767988)'), GeomFromEWKT('SRID=4674;POINT (-40.388602 -2.768143)'))) / (select extract(epoch from '2026-07-04 13:04:31'::timestamp) - extract(epoch from '2026-07-04 13:04: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'), 47817, 'SRID=4674;POINT (-40.388693 -2.768286)', '2026-07-04 13:04:38', -39.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388602 -2.768143)'), GeomFromEWKT('SRID=4674;POINT (-40.388693 -2.768286)'))) / (select extract(epoch from '2026-07-04 13:04:38'::timestamp) - extract(epoch from '2026-07-04 13:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388602 -2.768143)'), GeomFromEWKT('SRID=4674;POINT (-40.388693 -2.768286)'))) / (select extract(epoch from '2026-07-04 13:04:38'::timestamp) - extract(epoch from '2026-07-04 13:04: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'), 47817, 'SRID=4674;POINT (-40.38876 -2.768404)', '2026-07-04 13:04:43', -39.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388693 -2.768286)'), GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.768404)'))) / (select extract(epoch from '2026-07-04 13:04:43'::timestamp) - extract(epoch from '2026-07-04 13:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388693 -2.768286)'), GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.768404)'))) / (select extract(epoch from '2026-07-04 13:04:43'::timestamp) - extract(epoch from '2026-07-04 13:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.388832 -2.768531)', '2026-07-04 13:04:49', -39.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.768404)'), GeomFromEWKT('SRID=4674;POINT (-40.388832 -2.768531)'))) / (select extract(epoch from '2026-07-04 13:04:49'::timestamp) - extract(epoch from '2026-07-04 13:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.768404)'), GeomFromEWKT('SRID=4674;POINT (-40.388832 -2.768531)'))) / (select extract(epoch from '2026-07-04 13:04:49'::timestamp) - extract(epoch from '2026-07-04 13:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.388979 -2.768694)', '2026-07-04 13:04:57', -38.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388832 -2.768531)'), GeomFromEWKT('SRID=4674;POINT (-40.388979 -2.768694)'))) / (select extract(epoch from '2026-07-04 13:04:57'::timestamp) - extract(epoch from '2026-07-04 13:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388832 -2.768531)'), GeomFromEWKT('SRID=4674;POINT (-40.388979 -2.768694)'))) / (select extract(epoch from '2026-07-04 13:04:57'::timestamp) - extract(epoch from '2026-07-04 13:04: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'), 47817, 'SRID=4674;POINT (-40.389132 -2.7689)', '2026-07-04 13:05:05', -34.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388979 -2.768694)'), GeomFromEWKT('SRID=4674;POINT (-40.389132 -2.7689)'))) / (select extract(epoch from '2026-07-04 13:05:05'::timestamp) - extract(epoch from '2026-07-04 13:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388979 -2.768694)'), GeomFromEWKT('SRID=4674;POINT (-40.389132 -2.7689)'))) / (select extract(epoch from '2026-07-04 13:05:05'::timestamp) - extract(epoch from '2026-07-04 13:04: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'), 47817, 'SRID=4674;POINT (-40.389241 -2.769011)', '2026-07-04 13:05:11', -32.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389132 -2.7689)'), GeomFromEWKT('SRID=4674;POINT (-40.389241 -2.769011)'))) / (select extract(epoch from '2026-07-04 13:05:11'::timestamp) - extract(epoch from '2026-07-04 13:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389132 -2.7689)'), GeomFromEWKT('SRID=4674;POINT (-40.389241 -2.769011)'))) / (select extract(epoch from '2026-07-04 13:05:11'::timestamp) - extract(epoch from '2026-07-04 13:05: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'), 47817, 'SRID=4674;POINT (-40.389313 -2.769113)', '2026-07-04 13:05:16', -29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389241 -2.769011)'), GeomFromEWKT('SRID=4674;POINT (-40.389313 -2.769113)'))) / (select extract(epoch from '2026-07-04 13:05:16'::timestamp) - extract(epoch from '2026-07-04 13:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389241 -2.769011)'), GeomFromEWKT('SRID=4674;POINT (-40.389313 -2.769113)'))) / (select extract(epoch from '2026-07-04 13:05:16'::timestamp) - extract(epoch from '2026-07-04 13:05: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'), 47817, 'SRID=4674;POINT (-40.389395 -2.769185)', '2026-07-04 13:05:21', -28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389313 -2.769113)'), GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.769185)'))) / (select extract(epoch from '2026-07-04 13:05:21'::timestamp) - extract(epoch from '2026-07-04 13:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389313 -2.769113)'), GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.769185)'))) / (select extract(epoch from '2026-07-04 13:05:21'::timestamp) - extract(epoch from '2026-07-04 13:05: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'), 47817, 'SRID=4674;POINT (-40.389498 -2.769269)', '2026-07-04 13:05:28', -26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.769185)'), GeomFromEWKT('SRID=4674;POINT (-40.389498 -2.769269)'))) / (select extract(epoch from '2026-07-04 13:05:28'::timestamp) - extract(epoch from '2026-07-04 13:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389395 -2.769185)'), GeomFromEWKT('SRID=4674;POINT (-40.389498 -2.769269)'))) / (select extract(epoch from '2026-07-04 13:05:28'::timestamp) - extract(epoch from '2026-07-04 13:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.389647 -2.769346)', '2026-07-04 13:05:35', -25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389498 -2.769269)'), GeomFromEWKT('SRID=4674;POINT (-40.389647 -2.769346)'))) / (select extract(epoch from '2026-07-04 13:05:35'::timestamp) - extract(epoch from '2026-07-04 13:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389498 -2.769269)'), GeomFromEWKT('SRID=4674;POINT (-40.389647 -2.769346)'))) / (select extract(epoch from '2026-07-04 13:05:35'::timestamp) - extract(epoch from '2026-07-04 13:05: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'), 47817, 'SRID=4674;POINT (-40.389747 -2.769426)', '2026-07-04 13:05:40', -26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389647 -2.769346)'), GeomFromEWKT('SRID=4674;POINT (-40.389747 -2.769426)'))) / (select extract(epoch from '2026-07-04 13:05:40'::timestamp) - extract(epoch from '2026-07-04 13:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389647 -2.769346)'), GeomFromEWKT('SRID=4674;POINT (-40.389747 -2.769426)'))) / (select extract(epoch from '2026-07-04 13:05:40'::timestamp) - extract(epoch from '2026-07-04 13:05: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'), 47817, 'SRID=4674;POINT (-40.389821 -2.769551)', '2026-07-04 13:05:46', -26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389747 -2.769426)'), GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.769551)'))) / (select extract(epoch from '2026-07-04 13:05:46'::timestamp) - extract(epoch from '2026-07-04 13:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389747 -2.769426)'), GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.769551)'))) / (select extract(epoch from '2026-07-04 13:05:46'::timestamp) - extract(epoch from '2026-07-04 13:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.389882 -2.769686)', '2026-07-04 13:05:52', -26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.769551)'), GeomFromEWKT('SRID=4674;POINT (-40.389882 -2.769686)'))) / (select extract(epoch from '2026-07-04 13:05:52'::timestamp) - extract(epoch from '2026-07-04 13:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.769551)'), GeomFromEWKT('SRID=4674;POINT (-40.389882 -2.769686)'))) / (select extract(epoch from '2026-07-04 13:05:52'::timestamp) - extract(epoch from '2026-07-04 13:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.389931 -2.769807)', '2026-07-04 13:05:58', -27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389882 -2.769686)'), GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.769807)'))) / (select extract(epoch from '2026-07-04 13:05:58'::timestamp) - extract(epoch from '2026-07-04 13:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389882 -2.769686)'), GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.769807)'))) / (select extract(epoch from '2026-07-04 13:05:58'::timestamp) - extract(epoch from '2026-07-04 13:05: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'), 47817, 'SRID=4674;POINT (-40.389963 -2.769932)', '2026-07-04 13:06:04', -27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.769807)'), GeomFromEWKT('SRID=4674;POINT (-40.389963 -2.769932)'))) / (select extract(epoch from '2026-07-04 13:06:04'::timestamp) - extract(epoch from '2026-07-04 13:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.769807)'), GeomFromEWKT('SRID=4674;POINT (-40.389963 -2.769932)'))) / (select extract(epoch from '2026-07-04 13:06:04'::timestamp) - extract(epoch from '2026-07-04 13:05: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'), 47817, 'SRID=4674;POINT (-40.390014 -2.7701)', '2026-07-04 13:06:12', -26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389963 -2.769932)'), GeomFromEWKT('SRID=4674;POINT (-40.390014 -2.7701)'))) / (select extract(epoch from '2026-07-04 13:06:12'::timestamp) - extract(epoch from '2026-07-04 13:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389963 -2.769932)'), GeomFromEWKT('SRID=4674;POINT (-40.390014 -2.7701)'))) / (select extract(epoch from '2026-07-04 13:06:12'::timestamp) - extract(epoch from '2026-07-04 13:06: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'), 47817, 'SRID=4674;POINT (-40.390067 -2.770252)', '2026-07-04 13:06:20', -25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390014 -2.7701)'), GeomFromEWKT('SRID=4674;POINT (-40.390067 -2.770252)'))) / (select extract(epoch from '2026-07-04 13:06:20'::timestamp) - extract(epoch from '2026-07-04 13:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390014 -2.7701)'), GeomFromEWKT('SRID=4674;POINT (-40.390067 -2.770252)'))) / (select extract(epoch from '2026-07-04 13:06:20'::timestamp) - extract(epoch from '2026-07-04 13:06: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'), 47817, 'SRID=4674;POINT (-40.390101 -2.770442)', '2026-07-04 13:06:28', -24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390067 -2.770252)'), GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.770442)'))) / (select extract(epoch from '2026-07-04 13:06:28'::timestamp) - extract(epoch from '2026-07-04 13:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390067 -2.770252)'), GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.770442)'))) / (select extract(epoch from '2026-07-04 13:06:28'::timestamp) - extract(epoch from '2026-07-04 13:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.390078 -2.770553)', '2026-07-04 13:06:33', -22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.770442)'), GeomFromEWKT('SRID=4674;POINT (-40.390078 -2.770553)'))) / (select extract(epoch from '2026-07-04 13:06:33'::timestamp) - extract(epoch from '2026-07-04 13:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.770442)'), GeomFromEWKT('SRID=4674;POINT (-40.390078 -2.770553)'))) / (select extract(epoch from '2026-07-04 13:06:33'::timestamp) - extract(epoch from '2026-07-04 13:06: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'), 47817, 'SRID=4674;POINT (-40.390024 -2.770688)', '2026-07-04 13:06:39', -20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390078 -2.770553)'), GeomFromEWKT('SRID=4674;POINT (-40.390024 -2.770688)'))) / (select extract(epoch from '2026-07-04 13:06:39'::timestamp) - extract(epoch from '2026-07-04 13:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390078 -2.770553)'), GeomFromEWKT('SRID=4674;POINT (-40.390024 -2.770688)'))) / (select extract(epoch from '2026-07-04 13:06:39'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.39 -2.77086)', '2026-07-04 13:06:46', -19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390024 -2.770688)'), GeomFromEWKT('SRID=4674;POINT (-40.39 -2.77086)'))) / (select extract(epoch from '2026-07-04 13:06:46'::timestamp) - extract(epoch from '2026-07-04 13:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390024 -2.770688)'), GeomFromEWKT('SRID=4674;POINT (-40.39 -2.77086)'))) / (select extract(epoch from '2026-07-04 13:06:46'::timestamp) - extract(epoch from '2026-07-04 13:06: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'), 47817, 'SRID=4674;POINT (-40.390001 -2.771036)', '2026-07-04 13:06:53', -17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39 -2.77086)'), GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.771036)'))) / (select extract(epoch from '2026-07-04 13:06:53'::timestamp) - extract(epoch from '2026-07-04 13:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39 -2.77086)'), GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.771036)'))) / (select extract(epoch from '2026-07-04 13:06:53'::timestamp) - extract(epoch from '2026-07-04 13:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.390043 -2.771186)', '2026-07-04 13:07:00', -16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.771036)'), GeomFromEWKT('SRID=4674;POINT (-40.390043 -2.771186)'))) / (select extract(epoch from '2026-07-04 13:07:00'::timestamp) - extract(epoch from '2026-07-04 13:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.771036)'), GeomFromEWKT('SRID=4674;POINT (-40.390043 -2.771186)'))) / (select extract(epoch from '2026-07-04 13:07:00'::timestamp) - extract(epoch from '2026-07-04 13:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.390101 -2.771311)', '2026-07-04 13:07:06', -16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390043 -2.771186)'), GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.771311)'))) / (select extract(epoch from '2026-07-04 13:07:06'::timestamp) - extract(epoch from '2026-07-04 13:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390043 -2.771186)'), GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.771311)'))) / (select extract(epoch from '2026-07-04 13:07:06'::timestamp) - extract(epoch from '2026-07-04 13:07: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'), 47817, 'SRID=4674;POINT (-40.390156 -2.771445)', '2026-07-04 13:07:13', -16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.771311)'), GeomFromEWKT('SRID=4674;POINT (-40.390156 -2.771445)'))) / (select extract(epoch from '2026-07-04 13:07:13'::timestamp) - extract(epoch from '2026-07-04 13:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390101 -2.771311)'), GeomFromEWKT('SRID=4674;POINT (-40.390156 -2.771445)'))) / (select extract(epoch from '2026-07-04 13:07:13'::timestamp) - extract(epoch from '2026-07-04 13:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.390219 -2.771576)', '2026-07-04 13:07:19', -16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390156 -2.771445)'), GeomFromEWKT('SRID=4674;POINT (-40.390219 -2.771576)'))) / (select extract(epoch from '2026-07-04 13:07:19'::timestamp) - extract(epoch from '2026-07-04 13:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390156 -2.771445)'), GeomFromEWKT('SRID=4674;POINT (-40.390219 -2.771576)'))) / (select extract(epoch from '2026-07-04 13:07:19'::timestamp) - extract(epoch from '2026-07-04 13:07: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'), 47817, 'SRID=4674;POINT (-40.390298 -2.771718)', '2026-07-04 13:07:26', -16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390219 -2.771576)'), GeomFromEWKT('SRID=4674;POINT (-40.390298 -2.771718)'))) / (select extract(epoch from '2026-07-04 13:07:26'::timestamp) - extract(epoch from '2026-07-04 13:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390219 -2.771576)'), GeomFromEWKT('SRID=4674;POINT (-40.390298 -2.771718)'))) / (select extract(epoch from '2026-07-04 13:07:26'::timestamp) - extract(epoch from '2026-07-04 13:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.390362 -2.771853)', '2026-07-04 13:07:32', -16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390298 -2.771718)'), GeomFromEWKT('SRID=4674;POINT (-40.390362 -2.771853)'))) / (select extract(epoch from '2026-07-04 13:07:32'::timestamp) - extract(epoch from '2026-07-04 13:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390298 -2.771718)'), GeomFromEWKT('SRID=4674;POINT (-40.390362 -2.771853)'))) / (select extract(epoch from '2026-07-04 13:07:32'::timestamp) - extract(epoch from '2026-07-04 13:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.390413 -2.771961)', '2026-07-04 13:07:37', -16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390362 -2.771853)'), GeomFromEWKT('SRID=4674;POINT (-40.390413 -2.771961)'))) / (select extract(epoch from '2026-07-04 13:07:37'::timestamp) - extract(epoch from '2026-07-04 13:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390362 -2.771853)'), GeomFromEWKT('SRID=4674;POINT (-40.390413 -2.771961)'))) / (select extract(epoch from '2026-07-04 13:07:37'::timestamp) - extract(epoch from '2026-07-04 13:07: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'), 47817, 'SRID=4674;POINT (-40.390448 -2.77214)', '2026-07-04 13:07:44', -15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390413 -2.771961)'), GeomFromEWKT('SRID=4674;POINT (-40.390448 -2.77214)'))) / (select extract(epoch from '2026-07-04 13:07:44'::timestamp) - extract(epoch from '2026-07-04 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390413 -2.771961)'), GeomFromEWKT('SRID=4674;POINT (-40.390448 -2.77214)'))) / (select extract(epoch from '2026-07-04 13:07:44'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.390456 -2.772274)', '2026-07-04 13:07:50', -13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390448 -2.77214)'), GeomFromEWKT('SRID=4674;POINT (-40.390456 -2.772274)'))) / (select extract(epoch from '2026-07-04 13:07:50'::timestamp) - extract(epoch from '2026-07-04 13:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390448 -2.77214)'), GeomFromEWKT('SRID=4674;POINT (-40.390456 -2.772274)'))) / (select extract(epoch from '2026-07-04 13:07:50'::timestamp) - extract(epoch from '2026-07-04 13:07: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'), 47817, 'SRID=4674;POINT (-40.390461 -2.772433)', '2026-07-04 13:07:57', -12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390456 -2.772274)'), GeomFromEWKT('SRID=4674;POINT (-40.390461 -2.772433)'))) / (select extract(epoch from '2026-07-04 13:07:57'::timestamp) - extract(epoch from '2026-07-04 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390456 -2.772274)'), GeomFromEWKT('SRID=4674;POINT (-40.390461 -2.772433)'))) / (select extract(epoch from '2026-07-04 13:07:57'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.390466 -2.772632)', '2026-07-04 13:08:06', -12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390461 -2.772433)'), GeomFromEWKT('SRID=4674;POINT (-40.390466 -2.772632)'))) / (select extract(epoch from '2026-07-04 13:08:06'::timestamp) - extract(epoch from '2026-07-04 13:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390461 -2.772433)'), GeomFromEWKT('SRID=4674;POINT (-40.390466 -2.772632)'))) / (select extract(epoch from '2026-07-04 13:08:06'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.390516 -2.772846)', '2026-07-04 13:08:15', -12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390466 -2.772632)'), GeomFromEWKT('SRID=4674;POINT (-40.390516 -2.772846)'))) / (select extract(epoch from '2026-07-04 13:08:15'::timestamp) - extract(epoch from '2026-07-04 13:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390466 -2.772632)'), GeomFromEWKT('SRID=4674;POINT (-40.390516 -2.772846)'))) / (select extract(epoch from '2026-07-04 13:08:15'::timestamp) - extract(epoch from '2026-07-04 13:08: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'), 47817, 'SRID=4674;POINT (-40.390574 -2.773001)', '2026-07-04 13:08:22', -11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390516 -2.772846)'), GeomFromEWKT('SRID=4674;POINT (-40.390574 -2.773001)'))) / (select extract(epoch from '2026-07-04 13:08:22'::timestamp) - extract(epoch from '2026-07-04 13:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390516 -2.772846)'), GeomFromEWKT('SRID=4674;POINT (-40.390574 -2.773001)'))) / (select extract(epoch from '2026-07-04 13:08:22'::timestamp) - extract(epoch from '2026-07-04 13:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39062 -2.773166)', '2026-07-04 13:08:30', -10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390574 -2.773001)'), GeomFromEWKT('SRID=4674;POINT (-40.39062 -2.773166)'))) / (select extract(epoch from '2026-07-04 13:08:30'::timestamp) - extract(epoch from '2026-07-04 13:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390574 -2.773001)'), GeomFromEWKT('SRID=4674;POINT (-40.39062 -2.773166)'))) / (select extract(epoch from '2026-07-04 13:08:30'::timestamp) - extract(epoch from '2026-07-04 13:08: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'), 47817, 'SRID=4674;POINT (-40.390651 -2.773289)', '2026-07-04 13:08:36', -10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39062 -2.773166)'), GeomFromEWKT('SRID=4674;POINT (-40.390651 -2.773289)'))) / (select extract(epoch from '2026-07-04 13:08:36'::timestamp) - extract(epoch from '2026-07-04 13:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39062 -2.773166)'), GeomFromEWKT('SRID=4674;POINT (-40.390651 -2.773289)'))) / (select extract(epoch from '2026-07-04 13:08:36'::timestamp) - extract(epoch from '2026-07-04 13:08: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'), 47817, 'SRID=4674;POINT (-40.390697 -2.77343)', '2026-07-04 13:08:42', -10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390651 -2.773289)'), GeomFromEWKT('SRID=4674;POINT (-40.390697 -2.77343)'))) / (select extract(epoch from '2026-07-04 13:08:42'::timestamp) - extract(epoch from '2026-07-04 13:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390651 -2.773289)'), GeomFromEWKT('SRID=4674;POINT (-40.390697 -2.77343)'))) / (select extract(epoch from '2026-07-04 13:08:42'::timestamp) - extract(epoch from '2026-07-04 13:08: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'), 47817, 'SRID=4674;POINT (-40.390763 -2.773645)', '2026-07-04 13:08:50', -10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390697 -2.77343)'), GeomFromEWKT('SRID=4674;POINT (-40.390763 -2.773645)'))) / (select extract(epoch from '2026-07-04 13:08:50'::timestamp) - extract(epoch from '2026-07-04 13:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390697 -2.77343)'), GeomFromEWKT('SRID=4674;POINT (-40.390763 -2.773645)'))) / (select extract(epoch from '2026-07-04 13:08:50'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.390839 -2.773752)', '2026-07-04 13:08:56', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390763 -2.773645)'), GeomFromEWKT('SRID=4674;POINT (-40.390839 -2.773752)'))) / (select extract(epoch from '2026-07-04 13:08:56'::timestamp) - extract(epoch from '2026-07-04 13:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390763 -2.773645)'), GeomFromEWKT('SRID=4674;POINT (-40.390839 -2.773752)'))) / (select extract(epoch from '2026-07-04 13:08:56'::timestamp) - extract(epoch from '2026-07-04 13:08: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'), 47817, 'SRID=4674;POINT (-40.390949 -2.773891)', '2026-07-04 13:09:04', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390839 -2.773752)'), GeomFromEWKT('SRID=4674;POINT (-40.390949 -2.773891)'))) / (select extract(epoch from '2026-07-04 13:09:04'::timestamp) - extract(epoch from '2026-07-04 13:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390839 -2.773752)'), GeomFromEWKT('SRID=4674;POINT (-40.390949 -2.773891)'))) / (select extract(epoch from '2026-07-04 13:09:04'::timestamp) - extract(epoch from '2026-07-04 13:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391028 -2.774015)', '2026-07-04 13:09:11', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390949 -2.773891)'), GeomFromEWKT('SRID=4674;POINT (-40.391028 -2.774015)'))) / (select extract(epoch from '2026-07-04 13:09:11'::timestamp) - extract(epoch from '2026-07-04 13:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390949 -2.773891)'), GeomFromEWKT('SRID=4674;POINT (-40.391028 -2.774015)'))) / (select extract(epoch from '2026-07-04 13:09:11'::timestamp) - extract(epoch from '2026-07-04 13:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391086 -2.774159)', '2026-07-04 13:09:18', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391028 -2.774015)'), GeomFromEWKT('SRID=4674;POINT (-40.391086 -2.774159)'))) / (select extract(epoch from '2026-07-04 13:09:18'::timestamp) - extract(epoch from '2026-07-04 13:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391028 -2.774015)'), GeomFromEWKT('SRID=4674;POINT (-40.391086 -2.774159)'))) / (select extract(epoch from '2026-07-04 13:09:18'::timestamp) - extract(epoch from '2026-07-04 13:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391175 -2.774353)', '2026-07-04 13:09:27', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391086 -2.774159)'), GeomFromEWKT('SRID=4674;POINT (-40.391175 -2.774353)'))) / (select extract(epoch from '2026-07-04 13:09:27'::timestamp) - extract(epoch from '2026-07-04 13:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391086 -2.774159)'), GeomFromEWKT('SRID=4674;POINT (-40.391175 -2.774353)'))) / (select extract(epoch from '2026-07-04 13:09:27'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.391219 -2.774476)', '2026-07-04 13:09:33', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391175 -2.774353)'), GeomFromEWKT('SRID=4674;POINT (-40.391219 -2.774476)'))) / (select extract(epoch from '2026-07-04 13:09:33'::timestamp) - extract(epoch from '2026-07-04 13:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391175 -2.774353)'), GeomFromEWKT('SRID=4674;POINT (-40.391219 -2.774476)'))) / (select extract(epoch from '2026-07-04 13:09:33'::timestamp) - extract(epoch from '2026-07-04 13:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391273 -2.774662)', '2026-07-04 13:09:41', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391219 -2.774476)'), GeomFromEWKT('SRID=4674;POINT (-40.391273 -2.774662)'))) / (select extract(epoch from '2026-07-04 13:09:41'::timestamp) - extract(epoch from '2026-07-04 13:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391219 -2.774476)'), GeomFromEWKT('SRID=4674;POINT (-40.391273 -2.774662)'))) / (select extract(epoch from '2026-07-04 13:09:41'::timestamp) - extract(epoch from '2026-07-04 13:09: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'), 47817, 'SRID=4674;POINT (-40.391306 -2.774796)', '2026-07-04 13:09:47', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391273 -2.774662)'), GeomFromEWKT('SRID=4674;POINT (-40.391306 -2.774796)'))) / (select extract(epoch from '2026-07-04 13:09:47'::timestamp) - extract(epoch from '2026-07-04 13:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391273 -2.774662)'), GeomFromEWKT('SRID=4674;POINT (-40.391306 -2.774796)'))) / (select extract(epoch from '2026-07-04 13:09:47'::timestamp) - extract(epoch from '2026-07-04 13:09: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'), 47817, 'SRID=4674;POINT (-40.391348 -2.77492)', '2026-07-04 13:09:52', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391306 -2.774796)'), GeomFromEWKT('SRID=4674;POINT (-40.391348 -2.77492)'))) / (select extract(epoch from '2026-07-04 13:09:52'::timestamp) - extract(epoch from '2026-07-04 13:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391306 -2.774796)'), GeomFromEWKT('SRID=4674;POINT (-40.391348 -2.77492)'))) / (select extract(epoch from '2026-07-04 13:09:52'::timestamp) - extract(epoch from '2026-07-04 13:09: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'), 47817, 'SRID=4674;POINT (-40.391391 -2.775028)', '2026-07-04 13:09:57', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391348 -2.77492)'), GeomFromEWKT('SRID=4674;POINT (-40.391391 -2.775028)'))) / (select extract(epoch from '2026-07-04 13:09:57'::timestamp) - extract(epoch from '2026-07-04 13:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391348 -2.77492)'), GeomFromEWKT('SRID=4674;POINT (-40.391391 -2.775028)'))) / (select extract(epoch from '2026-07-04 13:09:57'::timestamp) - extract(epoch from '2026-07-04 13:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391437 -2.775199)', '2026-07-04 13:10:04', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391391 -2.775028)'), GeomFromEWKT('SRID=4674;POINT (-40.391437 -2.775199)'))) / (select extract(epoch from '2026-07-04 13:10:04'::timestamp) - extract(epoch from '2026-07-04 13:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391391 -2.775028)'), GeomFromEWKT('SRID=4674;POINT (-40.391437 -2.775199)'))) / (select extract(epoch from '2026-07-04 13:10:04'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.391456 -2.775371)', '2026-07-04 13:10:12', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391437 -2.775199)'), GeomFromEWKT('SRID=4674;POINT (-40.391456 -2.775371)'))) / (select extract(epoch from '2026-07-04 13:10:12'::timestamp) - extract(epoch from '2026-07-04 13:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391437 -2.775199)'), GeomFromEWKT('SRID=4674;POINT (-40.391456 -2.775371)'))) / (select extract(epoch from '2026-07-04 13:10:12'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.391526 -2.775505)', '2026-07-04 13:10:18', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391456 -2.775371)'), GeomFromEWKT('SRID=4674;POINT (-40.391526 -2.775505)'))) / (select extract(epoch from '2026-07-04 13:10:18'::timestamp) - extract(epoch from '2026-07-04 13:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391456 -2.775371)'), GeomFromEWKT('SRID=4674;POINT (-40.391526 -2.775505)'))) / (select extract(epoch from '2026-07-04 13:10:18'::timestamp) - extract(epoch from '2026-07-04 13:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391676 -2.77567)', '2026-07-04 13:10:27', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391526 -2.775505)'), GeomFromEWKT('SRID=4674;POINT (-40.391676 -2.77567)'))) / (select extract(epoch from '2026-07-04 13:10:27'::timestamp) - extract(epoch from '2026-07-04 13:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391526 -2.775505)'), GeomFromEWKT('SRID=4674;POINT (-40.391676 -2.77567)'))) / (select extract(epoch from '2026-07-04 13:10:27'::timestamp) - extract(epoch from '2026-07-04 13:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391737 -2.775805)', '2026-07-04 13:10:34', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391676 -2.77567)'), GeomFromEWKT('SRID=4674;POINT (-40.391737 -2.775805)'))) / (select extract(epoch from '2026-07-04 13:10:34'::timestamp) - extract(epoch from '2026-07-04 13:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391676 -2.77567)'), GeomFromEWKT('SRID=4674;POINT (-40.391737 -2.775805)'))) / (select extract(epoch from '2026-07-04 13:10:34'::timestamp) - extract(epoch from '2026-07-04 13:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.391806 -2.775969)', '2026-07-04 13:10:42', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391737 -2.775805)'), GeomFromEWKT('SRID=4674;POINT (-40.391806 -2.775969)'))) / (select extract(epoch from '2026-07-04 13:10:42'::timestamp) - extract(epoch from '2026-07-04 13:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391737 -2.775805)'), GeomFromEWKT('SRID=4674;POINT (-40.391806 -2.775969)'))) / (select extract(epoch from '2026-07-04 13:10:42'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.39191 -2.776053)', '2026-07-04 13:10:48', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391806 -2.775969)'), GeomFromEWKT('SRID=4674;POINT (-40.39191 -2.776053)'))) / (select extract(epoch from '2026-07-04 13:10:48'::timestamp) - extract(epoch from '2026-07-04 13:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391806 -2.775969)'), GeomFromEWKT('SRID=4674;POINT (-40.39191 -2.776053)'))) / (select extract(epoch from '2026-07-04 13:10:48'::timestamp) - extract(epoch from '2026-07-04 13:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392075 -2.776127)', '2026-07-04 13:10:55', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39191 -2.776053)'), GeomFromEWKT('SRID=4674;POINT (-40.392075 -2.776127)'))) / (select extract(epoch from '2026-07-04 13:10:55'::timestamp) - extract(epoch from '2026-07-04 13:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39191 -2.776053)'), GeomFromEWKT('SRID=4674;POINT (-40.392075 -2.776127)'))) / (select extract(epoch from '2026-07-04 13:10:55'::timestamp) - extract(epoch from '2026-07-04 13:10: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'), 47817, 'SRID=4674;POINT (-40.392242 -2.77623)', '2026-07-04 13:11:03', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392075 -2.776127)'), GeomFromEWKT('SRID=4674;POINT (-40.392242 -2.77623)'))) / (select extract(epoch from '2026-07-04 13:11:03'::timestamp) - extract(epoch from '2026-07-04 13:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392075 -2.776127)'), GeomFromEWKT('SRID=4674;POINT (-40.392242 -2.77623)'))) / (select extract(epoch from '2026-07-04 13:11:03'::timestamp) - extract(epoch from '2026-07-04 13:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392345 -2.776363)', '2026-07-04 13:11:10', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392242 -2.77623)'), GeomFromEWKT('SRID=4674;POINT (-40.392345 -2.776363)'))) / (select extract(epoch from '2026-07-04 13:11:10'::timestamp) - extract(epoch from '2026-07-04 13:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392242 -2.77623)'), GeomFromEWKT('SRID=4674;POINT (-40.392345 -2.776363)'))) / (select extract(epoch from '2026-07-04 13:11:10'::timestamp) - extract(epoch from '2026-07-04 13:11: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'), 47817, 'SRID=4674;POINT (-40.392421 -2.776516)', '2026-07-04 13:11:17', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392345 -2.776363)'), GeomFromEWKT('SRID=4674;POINT (-40.392421 -2.776516)'))) / (select extract(epoch from '2026-07-04 13:11:17'::timestamp) - extract(epoch from '2026-07-04 13:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392345 -2.776363)'), GeomFromEWKT('SRID=4674;POINT (-40.392421 -2.776516)'))) / (select extract(epoch from '2026-07-04 13:11:17'::timestamp) - extract(epoch from '2026-07-04 13:11: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'), 47817, 'SRID=4674;POINT (-40.392507 -2.776665)', '2026-07-04 13:11:24', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392421 -2.776516)'), GeomFromEWKT('SRID=4674;POINT (-40.392507 -2.776665)'))) / (select extract(epoch from '2026-07-04 13:11:24'::timestamp) - extract(epoch from '2026-07-04 13:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392421 -2.776516)'), GeomFromEWKT('SRID=4674;POINT (-40.392507 -2.776665)'))) / (select extract(epoch from '2026-07-04 13:11:24'::timestamp) - extract(epoch from '2026-07-04 13:11: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'), 47817, 'SRID=4674;POINT (-40.392636 -2.77681)', '2026-07-04 13:11:32', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392507 -2.776665)'), GeomFromEWKT('SRID=4674;POINT (-40.392636 -2.77681)'))) / (select extract(epoch from '2026-07-04 13:11:32'::timestamp) - extract(epoch from '2026-07-04 13:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392507 -2.776665)'), GeomFromEWKT('SRID=4674;POINT (-40.392636 -2.77681)'))) / (select extract(epoch from '2026-07-04 13:11:32'::timestamp) - extract(epoch from '2026-07-04 13:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392693 -2.776933)', '2026-07-04 13:11:38', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392636 -2.77681)'), GeomFromEWKT('SRID=4674;POINT (-40.392693 -2.776933)'))) / (select extract(epoch from '2026-07-04 13:11:38'::timestamp) - extract(epoch from '2026-07-04 13:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392636 -2.77681)'), GeomFromEWKT('SRID=4674;POINT (-40.392693 -2.776933)'))) / (select extract(epoch from '2026-07-04 13:11:38'::timestamp) - extract(epoch from '2026-07-04 13:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392737 -2.777074)', '2026-07-04 13:11:44', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392693 -2.776933)'), GeomFromEWKT('SRID=4674;POINT (-40.392737 -2.777074)'))) / (select extract(epoch from '2026-07-04 13:11:44'::timestamp) - extract(epoch from '2026-07-04 13:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392693 -2.776933)'), GeomFromEWKT('SRID=4674;POINT (-40.392737 -2.777074)'))) / (select extract(epoch from '2026-07-04 13:11:44'::timestamp) - extract(epoch from '2026-07-04 13:11: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'), 47817, 'SRID=4674;POINT (-40.392791 -2.777246)', '2026-07-04 13:11:51', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392737 -2.777074)'), GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.777246)'))) / (select extract(epoch from '2026-07-04 13:11:51'::timestamp) - extract(epoch from '2026-07-04 13:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392737 -2.777074)'), GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.777246)'))) / (select extract(epoch from '2026-07-04 13:11:51'::timestamp) - extract(epoch from '2026-07-04 13:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392888 -2.777382)', '2026-07-04 13:11:58', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.777246)'), GeomFromEWKT('SRID=4674;POINT (-40.392888 -2.777382)'))) / (select extract(epoch from '2026-07-04 13:11:58'::timestamp) - extract(epoch from '2026-07-04 13:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392791 -2.777246)'), GeomFromEWKT('SRID=4674;POINT (-40.392888 -2.777382)'))) / (select extract(epoch from '2026-07-04 13:11:58'::timestamp) - extract(epoch from '2026-07-04 13:11: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'), 47817, 'SRID=4674;POINT (-40.392984 -2.777503)', '2026-07-04 13:12:04', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392888 -2.777382)'), GeomFromEWKT('SRID=4674;POINT (-40.392984 -2.777503)'))) / (select extract(epoch from '2026-07-04 13:12:04'::timestamp) - extract(epoch from '2026-07-04 13:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392888 -2.777382)'), GeomFromEWKT('SRID=4674;POINT (-40.392984 -2.777503)'))) / (select extract(epoch from '2026-07-04 13:12:04'::timestamp) - extract(epoch from '2026-07-04 13:11: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'), 47817, 'SRID=4674;POINT (-40.393069 -2.777617)', '2026-07-04 13:12:10', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392984 -2.777503)'), GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.777617)'))) / (select extract(epoch from '2026-07-04 13:12:10'::timestamp) - extract(epoch from '2026-07-04 13:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392984 -2.777503)'), GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.777617)'))) / (select extract(epoch from '2026-07-04 13:12:10'::timestamp) - extract(epoch from '2026-07-04 13:12: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'), 47817, 'SRID=4674;POINT (-40.393152 -2.777741)', '2026-07-04 13:12:16', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.777617)'), GeomFromEWKT('SRID=4674;POINT (-40.393152 -2.777741)'))) / (select extract(epoch from '2026-07-04 13:12:16'::timestamp) - extract(epoch from '2026-07-04 13:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393069 -2.777617)'), GeomFromEWKT('SRID=4674;POINT (-40.393152 -2.777741)'))) / (select extract(epoch from '2026-07-04 13:12:16'::timestamp) - extract(epoch from '2026-07-04 13:12: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'), 47817, 'SRID=4674;POINT (-40.393251 -2.777886)', '2026-07-04 13:12:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393152 -2.777741)'), GeomFromEWKT('SRID=4674;POINT (-40.393251 -2.777886)'))) / (select extract(epoch from '2026-07-04 13:12:23'::timestamp) - extract(epoch from '2026-07-04 13:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393152 -2.777741)'), GeomFromEWKT('SRID=4674;POINT (-40.393251 -2.777886)'))) / (select extract(epoch from '2026-07-04 13:12:23'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.393314 -2.778031)', '2026-07-04 13:12:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393251 -2.777886)'), GeomFromEWKT('SRID=4674;POINT (-40.393314 -2.778031)'))) / (select extract(epoch from '2026-07-04 13:12:30'::timestamp) - extract(epoch from '2026-07-04 13:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393251 -2.777886)'), GeomFromEWKT('SRID=4674;POINT (-40.393314 -2.778031)'))) / (select extract(epoch from '2026-07-04 13:12:30'::timestamp) - extract(epoch from '2026-07-04 13:12: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'), 47817, 'SRID=4674;POINT (-40.393306 -2.778178)', '2026-07-04 13:12:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393314 -2.778031)'), GeomFromEWKT('SRID=4674;POINT (-40.393306 -2.778178)'))) / (select extract(epoch from '2026-07-04 13:12:37'::timestamp) - extract(epoch from '2026-07-04 13:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393314 -2.778031)'), GeomFromEWKT('SRID=4674;POINT (-40.393306 -2.778178)'))) / (select extract(epoch from '2026-07-04 13:12:37'::timestamp) - extract(epoch from '2026-07-04 13:12: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'), 47817, 'SRID=4674;POINT (-40.393264 -2.77829)', '2026-07-04 13:12:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393306 -2.778178)'), GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.77829)'))) / (select extract(epoch from '2026-07-04 13:12:43'::timestamp) - extract(epoch from '2026-07-04 13:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393306 -2.778178)'), GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.77829)'))) / (select extract(epoch from '2026-07-04 13:12:43'::timestamp) - extract(epoch from '2026-07-04 13:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393264 -2.778476)', '2026-07-04 13:12:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.77829)'), GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.778476)'))) / (select extract(epoch from '2026-07-04 13:12:50'::timestamp) - extract(epoch from '2026-07-04 13:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.77829)'), GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.778476)'))) / (select extract(epoch from '2026-07-04 13:12:50'::timestamp) - extract(epoch from '2026-07-04 13:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393328 -2.778637)', '2026-07-04 13:12:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.778476)'), GeomFromEWKT('SRID=4674;POINT (-40.393328 -2.778637)'))) / (select extract(epoch from '2026-07-04 13:12:57'::timestamp) - extract(epoch from '2026-07-04 13:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.778476)'), GeomFromEWKT('SRID=4674;POINT (-40.393328 -2.778637)'))) / (select extract(epoch from '2026-07-04 13:12:57'::timestamp) - extract(epoch from '2026-07-04 13:12: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'), 47817, 'SRID=4674;POINT (-40.39342 -2.778739)', '2026-07-04 13:13:03', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393328 -2.778637)'), GeomFromEWKT('SRID=4674;POINT (-40.39342 -2.778739)'))) / (select extract(epoch from '2026-07-04 13:13:03'::timestamp) - extract(epoch from '2026-07-04 13:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393328 -2.778637)'), GeomFromEWKT('SRID=4674;POINT (-40.39342 -2.778739)'))) / (select extract(epoch from '2026-07-04 13:13:03'::timestamp) - extract(epoch from '2026-07-04 13:12: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'), 47817, 'SRID=4674;POINT (-40.393478 -2.778836)', '2026-07-04 13:13:08', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39342 -2.778739)'), GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.778836)'))) / (select extract(epoch from '2026-07-04 13:13:08'::timestamp) - extract(epoch from '2026-07-04 13:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39342 -2.778739)'), GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.778836)'))) / (select extract(epoch from '2026-07-04 13:13:08'::timestamp) - extract(epoch from '2026-07-04 13:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393571 -2.778973)', '2026-07-04 13:13:15', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.778836)'), GeomFromEWKT('SRID=4674;POINT (-40.393571 -2.778973)'))) / (select extract(epoch from '2026-07-04 13:13:15'::timestamp) - extract(epoch from '2026-07-04 13:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.778836)'), GeomFromEWKT('SRID=4674;POINT (-40.393571 -2.778973)'))) / (select extract(epoch from '2026-07-04 13:13:15'::timestamp) - extract(epoch from '2026-07-04 13:13: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'), 47817, 'SRID=4674;POINT (-40.393663 -2.779098)', '2026-07-04 13:13:22', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393571 -2.778973)'), GeomFromEWKT('SRID=4674;POINT (-40.393663 -2.779098)'))) / (select extract(epoch from '2026-07-04 13:13:22'::timestamp) - extract(epoch from '2026-07-04 13:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393571 -2.778973)'), GeomFromEWKT('SRID=4674;POINT (-40.393663 -2.779098)'))) / (select extract(epoch from '2026-07-04 13:13:22'::timestamp) - extract(epoch from '2026-07-04 13:13: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'), 47817, 'SRID=4674;POINT (-40.393785 -2.779207)', '2026-07-04 13:13:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393663 -2.779098)'), GeomFromEWKT('SRID=4674;POINT (-40.393785 -2.779207)'))) / (select extract(epoch from '2026-07-04 13:13:29'::timestamp) - extract(epoch from '2026-07-04 13:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393663 -2.779098)'), GeomFromEWKT('SRID=4674;POINT (-40.393785 -2.779207)'))) / (select extract(epoch from '2026-07-04 13:13:29'::timestamp) - extract(epoch from '2026-07-04 13:13: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'), 47817, 'SRID=4674;POINT (-40.393918 -2.779312)', '2026-07-04 13:13:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393785 -2.779207)'), GeomFromEWKT('SRID=4674;POINT (-40.393918 -2.779312)'))) / (select extract(epoch from '2026-07-04 13:13:36'::timestamp) - extract(epoch from '2026-07-04 13:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393785 -2.779207)'), GeomFromEWKT('SRID=4674;POINT (-40.393918 -2.779312)'))) / (select extract(epoch from '2026-07-04 13:13:36'::timestamp) - extract(epoch from '2026-07-04 13:13: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'), 47817, 'SRID=4674;POINT (-40.394 -2.779444)', '2026-07-04 13:13:43', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393918 -2.779312)'), GeomFromEWKT('SRID=4674;POINT (-40.394 -2.779444)'))) / (select extract(epoch from '2026-07-04 13:13:43'::timestamp) - extract(epoch from '2026-07-04 13:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393918 -2.779312)'), GeomFromEWKT('SRID=4674;POINT (-40.394 -2.779444)'))) / (select extract(epoch from '2026-07-04 13:13:43'::timestamp) - extract(epoch from '2026-07-04 13:13: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'), 47817, 'SRID=4674;POINT (-40.394051 -2.779588)', '2026-07-04 13:13:49', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394 -2.779444)'), GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.779588)'))) / (select extract(epoch from '2026-07-04 13:13:49'::timestamp) - extract(epoch from '2026-07-04 13:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394 -2.779444)'), GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.779588)'))) / (select extract(epoch from '2026-07-04 13:13:49'::timestamp) - extract(epoch from '2026-07-04 13:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394163 -2.779745)', '2026-07-04 13:13:56', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.779588)'), GeomFromEWKT('SRID=4674;POINT (-40.394163 -2.779745)'))) / (select extract(epoch from '2026-07-04 13:13:56'::timestamp) - extract(epoch from '2026-07-04 13:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.779588)'), GeomFromEWKT('SRID=4674;POINT (-40.394163 -2.779745)'))) / (select extract(epoch from '2026-07-04 13:13:56'::timestamp) - extract(epoch from '2026-07-04 13:13: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'), 47817, 'SRID=4674;POINT (-40.394295 -2.779827)', '2026-07-04 13:14:02', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394163 -2.779745)'), GeomFromEWKT('SRID=4674;POINT (-40.394295 -2.779827)'))) / (select extract(epoch from '2026-07-04 13:14:02'::timestamp) - extract(epoch from '2026-07-04 13:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394163 -2.779745)'), GeomFromEWKT('SRID=4674;POINT (-40.394295 -2.779827)'))) / (select extract(epoch from '2026-07-04 13:14:02'::timestamp) - extract(epoch from '2026-07-04 13:13: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'), 47817, 'SRID=4674;POINT (-40.394425 -2.779897)', '2026-07-04 13:14:09', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394295 -2.779827)'), GeomFromEWKT('SRID=4674;POINT (-40.394425 -2.779897)'))) / (select extract(epoch from '2026-07-04 13:14:09'::timestamp) - extract(epoch from '2026-07-04 13:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394295 -2.779827)'), GeomFromEWKT('SRID=4674;POINT (-40.394425 -2.779897)'))) / (select extract(epoch from '2026-07-04 13:14:09'::timestamp) - extract(epoch from '2026-07-04 13:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394504 -2.779952)', '2026-07-04 13:14:16', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394425 -2.779897)'), GeomFromEWKT('SRID=4674;POINT (-40.394504 -2.779952)'))) / (select extract(epoch from '2026-07-04 13:14:16'::timestamp) - extract(epoch from '2026-07-04 13:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394425 -2.779897)'), GeomFromEWKT('SRID=4674;POINT (-40.394504 -2.779952)'))) / (select extract(epoch from '2026-07-04 13:14:16'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.39451 -2.780043)', '2026-07-04 13:14:36', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394504 -2.779952)'), GeomFromEWKT('SRID=4674;POINT (-40.39451 -2.780043)'))) / (select extract(epoch from '2026-07-04 13:14:36'::timestamp) - extract(epoch from '2026-07-04 13:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394504 -2.779952)'), GeomFromEWKT('SRID=4674;POINT (-40.39451 -2.780043)'))) / (select extract(epoch from '2026-07-04 13:14:36'::timestamp) - extract(epoch from '2026-07-04 13:14: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'), 47817, 'SRID=4674;POINT (-40.394483 -2.780031)', '2026-07-04 13:14:44', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39451 -2.780043)'), GeomFromEWKT('SRID=4674;POINT (-40.394483 -2.780031)'))) / (select extract(epoch from '2026-07-04 13:14:44'::timestamp) - extract(epoch from '2026-07-04 13:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39451 -2.780043)'), GeomFromEWKT('SRID=4674;POINT (-40.394483 -2.780031)'))) / (select extract(epoch from '2026-07-04 13:14:44'::timestamp) - extract(epoch from '2026-07-04 13:14: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'), 47817, 'SRID=4674;POINT (-40.394479 -2.780001)', '2026-07-04 13:14:49', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394483 -2.780031)'), GeomFromEWKT('SRID=4674;POINT (-40.394479 -2.780001)'))) / (select extract(epoch from '2026-07-04 13:14:49'::timestamp) - extract(epoch from '2026-07-04 13:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394483 -2.780031)'), GeomFromEWKT('SRID=4674;POINT (-40.394479 -2.780001)'))) / (select extract(epoch from '2026-07-04 13:14:49'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.394482 -2.779947)', '2026-07-04 13:14:55', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394479 -2.780001)'), GeomFromEWKT('SRID=4674;POINT (-40.394482 -2.779947)'))) / (select extract(epoch from '2026-07-04 13:14:55'::timestamp) - extract(epoch from '2026-07-04 13:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394479 -2.780001)'), GeomFromEWKT('SRID=4674;POINT (-40.394482 -2.779947)'))) / (select extract(epoch from '2026-07-04 13:14:55'::timestamp) - extract(epoch from '2026-07-04 13:14: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'), 47817, 'SRID=4674;POINT (-40.394486 -2.779939)', '2026-07-04 13:14:56', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394482 -2.779947)'), GeomFromEWKT('SRID=4674;POINT (-40.394486 -2.779939)'))) / (select extract(epoch from '2026-07-04 13:14:56'::timestamp) - extract(epoch from '2026-07-04 13:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394482 -2.779947)'), GeomFromEWKT('SRID=4674;POINT (-40.394486 -2.779939)'))) / (select extract(epoch from '2026-07-04 13:14:56'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.394499 -2.77991)', '2026-07-04 13:15:02', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394486 -2.779939)'), GeomFromEWKT('SRID=4674;POINT (-40.394499 -2.77991)'))) / (select extract(epoch from '2026-07-04 13:15:02'::timestamp) - extract(epoch from '2026-07-04 13:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394486 -2.779939)'), GeomFromEWKT('SRID=4674;POINT (-40.394499 -2.77991)'))) / (select extract(epoch from '2026-07-04 13:15:02'::timestamp) - extract(epoch from '2026-07-04 13:14: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'), 47817, 'SRID=4674;POINT (-40.394484 -2.779871)', '2026-07-04 13:15:10', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394499 -2.77991)'), GeomFromEWKT('SRID=4674;POINT (-40.394484 -2.779871)'))) / (select extract(epoch from '2026-07-04 13:15:10'::timestamp) - extract(epoch from '2026-07-04 13:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394499 -2.77991)'), GeomFromEWKT('SRID=4674;POINT (-40.394484 -2.779871)'))) / (select extract(epoch from '2026-07-04 13:15:10'::timestamp) - extract(epoch from '2026-07-04 13:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394494 -2.779834)', '2026-07-04 13:15:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394484 -2.779871)'), GeomFromEWKT('SRID=4674;POINT (-40.394494 -2.779834)'))) / (select extract(epoch from '2026-07-04 13:15:18'::timestamp) - extract(epoch from '2026-07-04 13:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394484 -2.779871)'), GeomFromEWKT('SRID=4674;POINT (-40.394494 -2.779834)'))) / (select extract(epoch from '2026-07-04 13:15:18'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.394524 -2.779814)', '2026-07-04 13:15:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394494 -2.779834)'), GeomFromEWKT('SRID=4674;POINT (-40.394524 -2.779814)'))) / (select extract(epoch from '2026-07-04 13:15:26'::timestamp) - extract(epoch from '2026-07-04 13:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394494 -2.779834)'), GeomFromEWKT('SRID=4674;POINT (-40.394524 -2.779814)'))) / (select extract(epoch from '2026-07-04 13:15:26'::timestamp) - extract(epoch from '2026-07-04 13:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39456 -2.779779)', '2026-07-04 13:15:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394524 -2.779814)'), GeomFromEWKT('SRID=4674;POINT (-40.39456 -2.779779)'))) / (select extract(epoch from '2026-07-04 13:15:34'::timestamp) - extract(epoch from '2026-07-04 13:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394524 -2.779814)'), GeomFromEWKT('SRID=4674;POINT (-40.39456 -2.779779)'))) / (select extract(epoch from '2026-07-04 13:15:34'::timestamp) - extract(epoch from '2026-07-04 13:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394604 -2.779751)', '2026-07-04 13:15:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39456 -2.779779)'), GeomFromEWKT('SRID=4674;POINT (-40.394604 -2.779751)'))) / (select extract(epoch from '2026-07-04 13:15:43'::timestamp) - extract(epoch from '2026-07-04 13:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39456 -2.779779)'), GeomFromEWKT('SRID=4674;POINT (-40.394604 -2.779751)'))) / (select extract(epoch from '2026-07-04 13:15:43'::timestamp) - extract(epoch from '2026-07-04 13:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394621 -2.779745)', '2026-07-04 13:15:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394604 -2.779751)'), GeomFromEWKT('SRID=4674;POINT (-40.394621 -2.779745)'))) / (select extract(epoch from '2026-07-04 13:15:50'::timestamp) - extract(epoch from '2026-07-04 13:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394604 -2.779751)'), GeomFromEWKT('SRID=4674;POINT (-40.394621 -2.779745)'))) / (select extract(epoch from '2026-07-04 13:15:50'::timestamp) - extract(epoch from '2026-07-04 13:15: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'), 47817, 'SRID=4674;POINT (-40.39464 -2.779737)', '2026-07-04 13:15:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394621 -2.779745)'), GeomFromEWKT('SRID=4674;POINT (-40.39464 -2.779737)'))) / (select extract(epoch from '2026-07-04 13:15:57'::timestamp) - extract(epoch from '2026-07-04 13:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394621 -2.779745)'), GeomFromEWKT('SRID=4674;POINT (-40.39464 -2.779737)'))) / (select extract(epoch from '2026-07-04 13:15:57'::timestamp) - extract(epoch from '2026-07-04 13:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394637 -2.77972)', '2026-07-04 13:16:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39464 -2.779737)'), GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.77972)'))) / (select extract(epoch from '2026-07-04 13:16:05'::timestamp) - extract(epoch from '2026-07-04 13:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39464 -2.779737)'), GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.77972)'))) / (select extract(epoch from '2026-07-04 13:16:05'::timestamp) - extract(epoch from '2026-07-04 13:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394628 -2.779656)', '2026-07-04 13:16:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.77972)'), GeomFromEWKT('SRID=4674;POINT (-40.394628 -2.779656)'))) / (select extract(epoch from '2026-07-04 13:16:15'::timestamp) - extract(epoch from '2026-07-04 13:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.77972)'), GeomFromEWKT('SRID=4674;POINT (-40.394628 -2.779656)'))) / (select extract(epoch from '2026-07-04 13:16:15'::timestamp) - extract(epoch from '2026-07-04 13:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394597 -2.779613)', '2026-07-04 13:16:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394628 -2.779656)'), GeomFromEWKT('SRID=4674;POINT (-40.394597 -2.779613)'))) / (select extract(epoch from '2026-07-04 13:16:24'::timestamp) - extract(epoch from '2026-07-04 13:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394628 -2.779656)'), GeomFromEWKT('SRID=4674;POINT (-40.394597 -2.779613)'))) / (select extract(epoch from '2026-07-04 13:16:24'::timestamp) - extract(epoch from '2026-07-04 13:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39457 -2.779614)', '2026-07-04 13:16:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394597 -2.779613)'), GeomFromEWKT('SRID=4674;POINT (-40.39457 -2.779614)'))) / (select extract(epoch from '2026-07-04 13:16:30'::timestamp) - extract(epoch from '2026-07-04 13:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394597 -2.779613)'), GeomFromEWKT('SRID=4674;POINT (-40.39457 -2.779614)'))) / (select extract(epoch from '2026-07-04 13:16:30'::timestamp) - extract(epoch from '2026-07-04 13:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394522 -2.779623)', '2026-07-04 13:16:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39457 -2.779614)'), GeomFromEWKT('SRID=4674;POINT (-40.394522 -2.779623)'))) / (select extract(epoch from '2026-07-04 13:16:38'::timestamp) - extract(epoch from '2026-07-04 13:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39457 -2.779614)'), GeomFromEWKT('SRID=4674;POINT (-40.394522 -2.779623)'))) / (select extract(epoch from '2026-07-04 13:16:38'::timestamp) - extract(epoch from '2026-07-04 13:16: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'), 47817, 'SRID=4674;POINT (-40.39452 -2.779662)', '2026-07-04 13:16:46', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394522 -2.779623)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.779662)'))) / (select extract(epoch from '2026-07-04 13:16:46'::timestamp) - extract(epoch from '2026-07-04 13:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394522 -2.779623)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.779662)'))) / (select extract(epoch from '2026-07-04 13:16:46'::timestamp) - extract(epoch from '2026-07-04 13:16: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'), 47817, 'SRID=4674;POINT (-40.39454 -2.779684)', '2026-07-04 13:16:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.779662)'), GeomFromEWKT('SRID=4674;POINT (-40.39454 -2.779684)'))) / (select extract(epoch from '2026-07-04 13:16:49'::timestamp) - extract(epoch from '2026-07-04 13:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.779662)'), GeomFromEWKT('SRID=4674;POINT (-40.39454 -2.779684)'))) / (select extract(epoch from '2026-07-04 13:16:49'::timestamp) - extract(epoch from '2026-07-04 13:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394574 -2.779718)', '2026-07-04 13:16:53', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39454 -2.779684)'), GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.779718)'))) / (select extract(epoch from '2026-07-04 13:16:53'::timestamp) - extract(epoch from '2026-07-04 13:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39454 -2.779684)'), GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.779718)'))) / (select extract(epoch from '2026-07-04 13:16:53'::timestamp) - extract(epoch from '2026-07-04 13:16: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'), 47817, 'SRID=4674;POINT (-40.394623 -2.779798)', '2026-07-04 13:17:00', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.779718)'), GeomFromEWKT('SRID=4674;POINT (-40.394623 -2.779798)'))) / (select extract(epoch from '2026-07-04 13:17:00'::timestamp) - extract(epoch from '2026-07-04 13:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394574 -2.779718)'), GeomFromEWKT('SRID=4674;POINT (-40.394623 -2.779798)'))) / (select extract(epoch from '2026-07-04 13:17:00'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.394674 -2.779906)', '2026-07-04 13:17:07', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394623 -2.779798)'), GeomFromEWKT('SRID=4674;POINT (-40.394674 -2.779906)'))) / (select extract(epoch from '2026-07-04 13:17:07'::timestamp) - extract(epoch from '2026-07-04 13:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394623 -2.779798)'), GeomFromEWKT('SRID=4674;POINT (-40.394674 -2.779906)'))) / (select extract(epoch from '2026-07-04 13:17:07'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394685 -2.779926)', '2026-07-04 13:17:09', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394674 -2.779906)'), GeomFromEWKT('SRID=4674;POINT (-40.394685 -2.779926)'))) / (select extract(epoch from '2026-07-04 13:17:09'::timestamp) - extract(epoch from '2026-07-04 13:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394674 -2.779906)'), GeomFromEWKT('SRID=4674;POINT (-40.394685 -2.779926)'))) / (select extract(epoch from '2026-07-04 13:17:09'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394699 -2.779963)', '2026-07-04 13:17:12', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394685 -2.779926)'), GeomFromEWKT('SRID=4674;POINT (-40.394699 -2.779963)'))) / (select extract(epoch from '2026-07-04 13:17:12'::timestamp) - extract(epoch from '2026-07-04 13:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394685 -2.779926)'), GeomFromEWKT('SRID=4674;POINT (-40.394699 -2.779963)'))) / (select extract(epoch from '2026-07-04 13:17:12'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394708 -2.779985)', '2026-07-04 13:17:14', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394699 -2.779963)'), GeomFromEWKT('SRID=4674;POINT (-40.394708 -2.779985)'))) / (select extract(epoch from '2026-07-04 13:17:14'::timestamp) - extract(epoch from '2026-07-04 13:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394699 -2.779963)'), GeomFromEWKT('SRID=4674;POINT (-40.394708 -2.779985)'))) / (select extract(epoch from '2026-07-04 13:17:14'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394736 -2.780043)', '2026-07-04 13:17:18', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394708 -2.779985)'), GeomFromEWKT('SRID=4674;POINT (-40.394736 -2.780043)'))) / (select extract(epoch from '2026-07-04 13:17:18'::timestamp) - extract(epoch from '2026-07-04 13:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394708 -2.779985)'), GeomFromEWKT('SRID=4674;POINT (-40.394736 -2.780043)'))) / (select extract(epoch from '2026-07-04 13:17:18'::timestamp) - extract(epoch from '2026-07-04 13:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39475 -2.780129)', '2026-07-04 13:17:24', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394736 -2.780043)'), GeomFromEWKT('SRID=4674;POINT (-40.39475 -2.780129)'))) / (select extract(epoch from '2026-07-04 13:17:24'::timestamp) - extract(epoch from '2026-07-04 13:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394736 -2.780043)'), GeomFromEWKT('SRID=4674;POINT (-40.39475 -2.780129)'))) / (select extract(epoch from '2026-07-04 13:17:24'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394762 -2.780192)', '2026-07-04 13:17:30', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39475 -2.780129)'), GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780192)'))) / (select extract(epoch from '2026-07-04 13:17:30'::timestamp) - extract(epoch from '2026-07-04 13:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39475 -2.780129)'), GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780192)'))) / (select extract(epoch from '2026-07-04 13:17:30'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.394764 -2.780215)', '2026-07-04 13:17:33', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780192)'), GeomFromEWKT('SRID=4674;POINT (-40.394764 -2.780215)'))) / (select extract(epoch from '2026-07-04 13:17:33'::timestamp) - extract(epoch from '2026-07-04 13:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780192)'), GeomFromEWKT('SRID=4674;POINT (-40.394764 -2.780215)'))) / (select extract(epoch from '2026-07-04 13:17:33'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394762 -2.780234)', '2026-07-04 13:17:37', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394764 -2.780215)'), GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780234)'))) / (select extract(epoch from '2026-07-04 13:17:37'::timestamp) - extract(epoch from '2026-07-04 13:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394764 -2.780215)'), GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780234)'))) / (select extract(epoch from '2026-07-04 13:17:37'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394775 -2.780305)', '2026-07-04 13:17:44', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780234)'), GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.780305)'))) / (select extract(epoch from '2026-07-04 13:17:44'::timestamp) - extract(epoch from '2026-07-04 13:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394762 -2.780234)'), GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.780305)'))) / (select extract(epoch from '2026-07-04 13:17:44'::timestamp) - extract(epoch from '2026-07-04 13:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394808 -2.780341)', '2026-07-04 13:17:52', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.780305)'), GeomFromEWKT('SRID=4674;POINT (-40.394808 -2.780341)'))) / (select extract(epoch from '2026-07-04 13:17:52'::timestamp) - extract(epoch from '2026-07-04 13:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.780305)'), GeomFromEWKT('SRID=4674;POINT (-40.394808 -2.780341)'))) / (select extract(epoch from '2026-07-04 13:17:52'::timestamp) - extract(epoch from '2026-07-04 13:17:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394858 -2.780391)', '2026-07-04 13:18:00', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394808 -2.780341)'), GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.780391)'))) / (select extract(epoch from '2026-07-04 13:18:00'::timestamp) - extract(epoch from '2026-07-04 13:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394808 -2.780341)'), GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.780391)'))) / (select extract(epoch from '2026-07-04 13:18:00'::timestamp) - extract(epoch from '2026-07-04 13:17: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'), 47817, 'SRID=4674;POINT (-40.394916 -2.780427)', '2026-07-04 13:18:07', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.780391)'), GeomFromEWKT('SRID=4674;POINT (-40.394916 -2.780427)'))) / (select extract(epoch from '2026-07-04 13:18:07'::timestamp) - extract(epoch from '2026-07-04 13:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.780391)'), GeomFromEWKT('SRID=4674;POINT (-40.394916 -2.780427)'))) / (select extract(epoch from '2026-07-04 13:18:07'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.394991 -2.780468)', '2026-07-04 13:18:14', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394916 -2.780427)'), GeomFromEWKT('SRID=4674;POINT (-40.394991 -2.780468)'))) / (select extract(epoch from '2026-07-04 13:18:14'::timestamp) - extract(epoch from '2026-07-04 13:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394916 -2.780427)'), GeomFromEWKT('SRID=4674;POINT (-40.394991 -2.780468)'))) / (select extract(epoch from '2026-07-04 13:18:14'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.395051 -2.780491)', '2026-07-04 13:18:19', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394991 -2.780468)'), GeomFromEWKT('SRID=4674;POINT (-40.395051 -2.780491)'))) / (select extract(epoch from '2026-07-04 13:18:19'::timestamp) - extract(epoch from '2026-07-04 13:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394991 -2.780468)'), GeomFromEWKT('SRID=4674;POINT (-40.395051 -2.780491)'))) / (select extract(epoch from '2026-07-04 13:18:19'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.395082 -2.780503)', '2026-07-04 13:18:21', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395051 -2.780491)'), GeomFromEWKT('SRID=4674;POINT (-40.395082 -2.780503)'))) / (select extract(epoch from '2026-07-04 13:18:21'::timestamp) - extract(epoch from '2026-07-04 13:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395051 -2.780491)'), GeomFromEWKT('SRID=4674;POINT (-40.395082 -2.780503)'))) / (select extract(epoch from '2026-07-04 13:18:21'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.395134 -2.780534)', '2026-07-04 13:18:27', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395082 -2.780503)'), GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.780534)'))) / (select extract(epoch from '2026-07-04 13:18:27'::timestamp) - extract(epoch from '2026-07-04 13:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395082 -2.780503)'), GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.780534)'))) / (select extract(epoch from '2026-07-04 13:18:27'::timestamp) - extract(epoch from '2026-07-04 13:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395172 -2.780589)', '2026-07-04 13:18:33', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.780534)'), GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.780589)'))) / (select extract(epoch from '2026-07-04 13:18:33'::timestamp) - extract(epoch from '2026-07-04 13:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.780534)'), GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.780589)'))) / (select extract(epoch from '2026-07-04 13:18:33'::timestamp) - extract(epoch from '2026-07-04 13:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395196 -2.780618)', '2026-07-04 13:18:40', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.780589)'), GeomFromEWKT('SRID=4674;POINT (-40.395196 -2.780618)'))) / (select extract(epoch from '2026-07-04 13:18:40'::timestamp) - extract(epoch from '2026-07-04 13:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395172 -2.780589)'), GeomFromEWKT('SRID=4674;POINT (-40.395196 -2.780618)'))) / (select extract(epoch from '2026-07-04 13:18:40'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.395197 -2.780672)', '2026-07-04 13:18:48', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395196 -2.780618)'), GeomFromEWKT('SRID=4674;POINT (-40.395197 -2.780672)'))) / (select extract(epoch from '2026-07-04 13:18:48'::timestamp) - extract(epoch from '2026-07-04 13:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395196 -2.780618)'), GeomFromEWKT('SRID=4674;POINT (-40.395197 -2.780672)'))) / (select extract(epoch from '2026-07-04 13:18:48'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.395179 -2.780686)', '2026-07-04 13:18:50', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395197 -2.780672)'), GeomFromEWKT('SRID=4674;POINT (-40.395179 -2.780686)'))) / (select extract(epoch from '2026-07-04 13:18:50'::timestamp) - extract(epoch from '2026-07-04 13:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395197 -2.780672)'), GeomFromEWKT('SRID=4674;POINT (-40.395179 -2.780686)'))) / (select extract(epoch from '2026-07-04 13:18:50'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.395121 -2.780691)', '2026-07-04 13:18:55', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395179 -2.780686)'), GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.780691)'))) / (select extract(epoch from '2026-07-04 13:18:55'::timestamp) - extract(epoch from '2026-07-04 13:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395179 -2.780686)'), GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.780691)'))) / (select extract(epoch from '2026-07-04 13:18:55'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.395062 -2.780617)', '2026-07-04 13:19:01', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.780691)'), GeomFromEWKT('SRID=4674;POINT (-40.395062 -2.780617)'))) / (select extract(epoch from '2026-07-04 13:19:01'::timestamp) - extract(epoch from '2026-07-04 13:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.780691)'), GeomFromEWKT('SRID=4674;POINT (-40.395062 -2.780617)'))) / (select extract(epoch from '2026-07-04 13:19:01'::timestamp) - extract(epoch from '2026-07-04 13:18: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'), 47817, 'SRID=4674;POINT (-40.394987 -2.780541)', '2026-07-04 13:19:08', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395062 -2.780617)'), GeomFromEWKT('SRID=4674;POINT (-40.394987 -2.780541)'))) / (select extract(epoch from '2026-07-04 13:19:08'::timestamp) - extract(epoch from '2026-07-04 13:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395062 -2.780617)'), GeomFromEWKT('SRID=4674;POINT (-40.394987 -2.780541)'))) / (select extract(epoch from '2026-07-04 13:19:08'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.394957 -2.78045)', '2026-07-04 13:19:16', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394987 -2.780541)'), GeomFromEWKT('SRID=4674;POINT (-40.394957 -2.78045)'))) / (select extract(epoch from '2026-07-04 13:19:16'::timestamp) - extract(epoch from '2026-07-04 13:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394987 -2.780541)'), GeomFromEWKT('SRID=4674;POINT (-40.394957 -2.78045)'))) / (select extract(epoch from '2026-07-04 13:19:16'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.394968 -2.780439)', '2026-07-04 13:19:19', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394957 -2.78045)'), GeomFromEWKT('SRID=4674;POINT (-40.394968 -2.780439)'))) / (select extract(epoch from '2026-07-04 13:19:19'::timestamp) - extract(epoch from '2026-07-04 13:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394957 -2.78045)'), GeomFromEWKT('SRID=4674;POINT (-40.394968 -2.780439)'))) / (select extract(epoch from '2026-07-04 13:19:19'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.39499 -2.780418)', '2026-07-04 13:19:22', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394968 -2.780439)'), GeomFromEWKT('SRID=4674;POINT (-40.39499 -2.780418)'))) / (select extract(epoch from '2026-07-04 13:19:22'::timestamp) - extract(epoch from '2026-07-04 13:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394968 -2.780439)'), GeomFromEWKT('SRID=4674;POINT (-40.39499 -2.780418)'))) / (select extract(epoch from '2026-07-04 13:19:22'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.394996 -2.780414)', '2026-07-04 13:19:23', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39499 -2.780418)'), GeomFromEWKT('SRID=4674;POINT (-40.394996 -2.780414)'))) / (select extract(epoch from '2026-07-04 13:19:23'::timestamp) - extract(epoch from '2026-07-04 13:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39499 -2.780418)'), GeomFromEWKT('SRID=4674;POINT (-40.394996 -2.780414)'))) / (select extract(epoch from '2026-07-04 13:19:23'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395016 -2.780413)', '2026-07-04 13:19:25', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394996 -2.780414)'), GeomFromEWKT('SRID=4674;POINT (-40.395016 -2.780413)'))) / (select extract(epoch from '2026-07-04 13:19:25'::timestamp) - extract(epoch from '2026-07-04 13:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394996 -2.780414)'), GeomFromEWKT('SRID=4674;POINT (-40.395016 -2.780413)'))) / (select extract(epoch from '2026-07-04 13:19:25'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395044 -2.780395)', '2026-07-04 13:19:29', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395016 -2.780413)'), GeomFromEWKT('SRID=4674;POINT (-40.395044 -2.780395)'))) / (select extract(epoch from '2026-07-04 13:19:29'::timestamp) - extract(epoch from '2026-07-04 13:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395016 -2.780413)'), GeomFromEWKT('SRID=4674;POINT (-40.395044 -2.780395)'))) / (select extract(epoch from '2026-07-04 13:19:29'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.39511 -2.780369)', '2026-07-04 13:19:37', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395044 -2.780395)'), GeomFromEWKT('SRID=4674;POINT (-40.39511 -2.780369)'))) / (select extract(epoch from '2026-07-04 13:19:37'::timestamp) - extract(epoch from '2026-07-04 13:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395044 -2.780395)'), GeomFromEWKT('SRID=4674;POINT (-40.39511 -2.780369)'))) / (select extract(epoch from '2026-07-04 13:19:37'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395166 -2.780346)', '2026-07-04 13:19:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39511 -2.780369)'), GeomFromEWKT('SRID=4674;POINT (-40.395166 -2.780346)'))) / (select extract(epoch from '2026-07-04 13:19:44'::timestamp) - extract(epoch from '2026-07-04 13:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39511 -2.780369)'), GeomFromEWKT('SRID=4674;POINT (-40.395166 -2.780346)'))) / (select extract(epoch from '2026-07-04 13:19:44'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395201 -2.780336)', '2026-07-04 13:19:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395166 -2.780346)'), GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.780336)'))) / (select extract(epoch from '2026-07-04 13:19:49'::timestamp) - extract(epoch from '2026-07-04 13:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395166 -2.780346)'), GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.780336)'))) / (select extract(epoch from '2026-07-04 13:19:49'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395212 -2.780332)', '2026-07-04 13:19:50', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.780336)'), GeomFromEWKT('SRID=4674;POINT (-40.395212 -2.780332)'))) / (select extract(epoch from '2026-07-04 13:19:50'::timestamp) - extract(epoch from '2026-07-04 13:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.780336)'), GeomFromEWKT('SRID=4674;POINT (-40.395212 -2.780332)'))) / (select extract(epoch from '2026-07-04 13:19:50'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.395242 -2.780327)', '2026-07-04 13:19:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395212 -2.780332)'), GeomFromEWKT('SRID=4674;POINT (-40.395242 -2.780327)'))) / (select extract(epoch from '2026-07-04 13:19:53'::timestamp) - extract(epoch from '2026-07-04 13:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395212 -2.780332)'), GeomFromEWKT('SRID=4674;POINT (-40.395242 -2.780327)'))) / (select extract(epoch from '2026-07-04 13:19:53'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395273 -2.780327)', '2026-07-04 13:19:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395242 -2.780327)'), GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780327)'))) / (select extract(epoch from '2026-07-04 13:19:55'::timestamp) - extract(epoch from '2026-07-04 13:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395242 -2.780327)'), GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780327)'))) / (select extract(epoch from '2026-07-04 13:19:55'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395361 -2.78027)', '2026-07-04 13:20:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780327)'), GeomFromEWKT('SRID=4674;POINT (-40.395361 -2.78027)'))) / (select extract(epoch from '2026-07-04 13:20:03'::timestamp) - extract(epoch from '2026-07-04 13:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780327)'), GeomFromEWKT('SRID=4674;POINT (-40.395361 -2.78027)'))) / (select extract(epoch from '2026-07-04 13:20:03'::timestamp) - extract(epoch from '2026-07-04 13:19: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'), 47817, 'SRID=4674;POINT (-40.395362 -2.780169)', '2026-07-04 13:20:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395361 -2.78027)'), GeomFromEWKT('SRID=4674;POINT (-40.395362 -2.780169)'))) / (select extract(epoch from '2026-07-04 13:20:11'::timestamp) - extract(epoch from '2026-07-04 13:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395361 -2.78027)'), GeomFromEWKT('SRID=4674;POINT (-40.395362 -2.780169)'))) / (select extract(epoch from '2026-07-04 13:20:11'::timestamp) - extract(epoch from '2026-07-04 13:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395325 -2.780091)', '2026-07-04 13:20:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395362 -2.780169)'), GeomFromEWKT('SRID=4674;POINT (-40.395325 -2.780091)'))) / (select extract(epoch from '2026-07-04 13:20:17'::timestamp) - extract(epoch from '2026-07-04 13:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395362 -2.780169)'), GeomFromEWKT('SRID=4674;POINT (-40.395325 -2.780091)'))) / (select extract(epoch from '2026-07-04 13:20:17'::timestamp) - extract(epoch from '2026-07-04 13:20: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'), 47817, 'SRID=4674;POINT (-40.395292 -2.780064)', '2026-07-04 13:20:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395325 -2.780091)'), GeomFromEWKT('SRID=4674;POINT (-40.395292 -2.780064)'))) / (select extract(epoch from '2026-07-04 13:20:24'::timestamp) - extract(epoch from '2026-07-04 13:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395325 -2.780091)'), GeomFromEWKT('SRID=4674;POINT (-40.395292 -2.780064)'))) / (select extract(epoch from '2026-07-04 13:20:24'::timestamp) - extract(epoch from '2026-07-04 13:20: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'), 47817, 'SRID=4674;POINT (-40.395273 -2.780084)', '2026-07-04 13:20:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395292 -2.780064)'), GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780084)'))) / (select extract(epoch from '2026-07-04 13:20:31'::timestamp) - extract(epoch from '2026-07-04 13:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395292 -2.780064)'), GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780084)'))) / (select extract(epoch from '2026-07-04 13:20:31'::timestamp) - extract(epoch from '2026-07-04 13:20: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'), 47817, 'SRID=4674;POINT (-40.395257 -2.78016)', '2026-07-04 13:20:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780084)'), GeomFromEWKT('SRID=4674;POINT (-40.395257 -2.78016)'))) / (select extract(epoch from '2026-07-04 13:20:44'::timestamp) - extract(epoch from '2026-07-04 13:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395273 -2.780084)'), GeomFromEWKT('SRID=4674;POINT (-40.395257 -2.78016)'))) / (select extract(epoch from '2026-07-04 13:20:44'::timestamp) - extract(epoch from '2026-07-04 13:20: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'), 47817, 'SRID=4674;POINT (-40.395256 -2.780202)', '2026-07-04 13:20:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395257 -2.78016)'), GeomFromEWKT('SRID=4674;POINT (-40.395256 -2.780202)'))) / (select extract(epoch from '2026-07-04 13:20:51'::timestamp) - extract(epoch from '2026-07-04 13:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395257 -2.78016)'), GeomFromEWKT('SRID=4674;POINT (-40.395256 -2.780202)'))) / (select extract(epoch from '2026-07-04 13:20:51'::timestamp) - extract(epoch from '2026-07-04 13:20: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'), 47817, 'SRID=4674;POINT (-40.395249 -2.780209)', '2026-07-04 13:20:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395256 -2.780202)'), GeomFromEWKT('SRID=4674;POINT (-40.395249 -2.780209)'))) / (select extract(epoch from '2026-07-04 13:20:59'::timestamp) - extract(epoch from '2026-07-04 13:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395256 -2.780202)'), GeomFromEWKT('SRID=4674;POINT (-40.395249 -2.780209)'))) / (select extract(epoch from '2026-07-04 13:20:59'::timestamp) - extract(epoch from '2026-07-04 13:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395219 -2.78021)', '2026-07-04 13:21:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395249 -2.780209)'), GeomFromEWKT('SRID=4674;POINT (-40.395219 -2.78021)'))) / (select extract(epoch from '2026-07-04 13:21:21'::timestamp) - extract(epoch from '2026-07-04 13:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395249 -2.780209)'), GeomFromEWKT('SRID=4674;POINT (-40.395219 -2.78021)'))) / (select extract(epoch from '2026-07-04 13:21:21'::timestamp) - extract(epoch from '2026-07-04 13:20: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'), 47817, 'SRID=4674;POINT (-40.395165 -2.780202)', '2026-07-04 13:21:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395219 -2.78021)'), GeomFromEWKT('SRID=4674;POINT (-40.395165 -2.780202)'))) / (select extract(epoch from '2026-07-04 13:21:28'::timestamp) - extract(epoch from '2026-07-04 13:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395219 -2.78021)'), GeomFromEWKT('SRID=4674;POINT (-40.395165 -2.780202)'))) / (select extract(epoch from '2026-07-04 13:21:28'::timestamp) - extract(epoch from '2026-07-04 13:21: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'), 47817, 'SRID=4674;POINT (-40.395146 -2.780203)', '2026-07-04 13:21:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395165 -2.780202)'), GeomFromEWKT('SRID=4674;POINT (-40.395146 -2.780203)'))) / (select extract(epoch from '2026-07-04 13:21:36'::timestamp) - extract(epoch from '2026-07-04 13:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395165 -2.780202)'), GeomFromEWKT('SRID=4674;POINT (-40.395146 -2.780203)'))) / (select extract(epoch from '2026-07-04 13:21:36'::timestamp) - extract(epoch from '2026-07-04 13:21: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'), 47817, 'SRID=4674;POINT (-40.395147 -2.780198)', '2026-07-04 13:21:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395146 -2.780203)'), GeomFromEWKT('SRID=4674;POINT (-40.395147 -2.780198)'))) / (select extract(epoch from '2026-07-04 13:21:49'::timestamp) - extract(epoch from '2026-07-04 13:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395146 -2.780203)'), GeomFromEWKT('SRID=4674;POINT (-40.395147 -2.780198)'))) / (select extract(epoch from '2026-07-04 13:21:49'::timestamp) - extract(epoch from '2026-07-04 13:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395171 -2.780176)', '2026-07-04 13:21:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395147 -2.780198)'), GeomFromEWKT('SRID=4674;POINT (-40.395171 -2.780176)'))) / (select extract(epoch from '2026-07-04 13:21:55'::timestamp) - extract(epoch from '2026-07-04 13:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395147 -2.780198)'), GeomFromEWKT('SRID=4674;POINT (-40.395171 -2.780176)'))) / (select extract(epoch from '2026-07-04 13:21:55'::timestamp) - extract(epoch from '2026-07-04 13:21: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'), 47817, 'SRID=4674;POINT (-40.395188 -2.780165)', '2026-07-04 13:22:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395171 -2.780176)'), GeomFromEWKT('SRID=4674;POINT (-40.395188 -2.780165)'))) / (select extract(epoch from '2026-07-04 13:22:02'::timestamp) - extract(epoch from '2026-07-04 13:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395171 -2.780176)'), GeomFromEWKT('SRID=4674;POINT (-40.395188 -2.780165)'))) / (select extract(epoch from '2026-07-04 13:22:02'::timestamp) - extract(epoch from '2026-07-04 13:21: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'), 47817, 'SRID=4674;POINT (-40.395209 -2.780143)', '2026-07-04 13:22:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395188 -2.780165)'), GeomFromEWKT('SRID=4674;POINT (-40.395209 -2.780143)'))) / (select extract(epoch from '2026-07-04 13:22:08'::timestamp) - extract(epoch from '2026-07-04 13:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395188 -2.780165)'), GeomFromEWKT('SRID=4674;POINT (-40.395209 -2.780143)'))) / (select extract(epoch from '2026-07-04 13:22:08'::timestamp) - extract(epoch from '2026-07-04 13:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39523 -2.780126)', '2026-07-04 13:22:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395209 -2.780143)'), GeomFromEWKT('SRID=4674;POINT (-40.39523 -2.780126)'))) / (select extract(epoch from '2026-07-04 13:22:15'::timestamp) - extract(epoch from '2026-07-04 13:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395209 -2.780143)'), GeomFromEWKT('SRID=4674;POINT (-40.39523 -2.780126)'))) / (select extract(epoch from '2026-07-04 13:22:15'::timestamp) - extract(epoch from '2026-07-04 13:22: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'), 47817, 'SRID=4674;POINT (-40.395248 -2.780089)', '2026-07-04 13:22:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39523 -2.780126)'), GeomFromEWKT('SRID=4674;POINT (-40.395248 -2.780089)'))) / (select extract(epoch from '2026-07-04 13:22:25'::timestamp) - extract(epoch from '2026-07-04 13:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39523 -2.780126)'), GeomFromEWKT('SRID=4674;POINT (-40.395248 -2.780089)'))) / (select extract(epoch from '2026-07-04 13:22:25'::timestamp) - extract(epoch from '2026-07-04 13:22: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'), 47817, 'SRID=4674;POINT (-40.395286 -2.780008)', '2026-07-04 13:22:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395248 -2.780089)'), GeomFromEWKT('SRID=4674;POINT (-40.395286 -2.780008)'))) / (select extract(epoch from '2026-07-04 13:22:37'::timestamp) - extract(epoch from '2026-07-04 13:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395248 -2.780089)'), GeomFromEWKT('SRID=4674;POINT (-40.395286 -2.780008)'))) / (select extract(epoch from '2026-07-04 13:22:37'::timestamp) - extract(epoch from '2026-07-04 13:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395328 -2.779945)', '2026-07-04 13:22:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395286 -2.780008)'), GeomFromEWKT('SRID=4674;POINT (-40.395328 -2.779945)'))) / (select extract(epoch from '2026-07-04 13:22:51'::timestamp) - extract(epoch from '2026-07-04 13:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395286 -2.780008)'), GeomFromEWKT('SRID=4674;POINT (-40.395328 -2.779945)'))) / (select extract(epoch from '2026-07-04 13:22:51'::timestamp) - extract(epoch from '2026-07-04 13:22: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'), 47817, 'SRID=4674;POINT (-40.39531 -2.779872)', '2026-07-04 13:23:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395328 -2.779945)'), GeomFromEWKT('SRID=4674;POINT (-40.39531 -2.779872)'))) / (select extract(epoch from '2026-07-04 13:23:01'::timestamp) - extract(epoch from '2026-07-04 13:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395328 -2.779945)'), GeomFromEWKT('SRID=4674;POINT (-40.39531 -2.779872)'))) / (select extract(epoch from '2026-07-04 13:23:01'::timestamp) - extract(epoch from '2026-07-04 13:22: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'), 47817, 'SRID=4674;POINT (-40.39528 -2.779783)', '2026-07-04 13:23:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39531 -2.779872)'), GeomFromEWKT('SRID=4674;POINT (-40.39528 -2.779783)'))) / (select extract(epoch from '2026-07-04 13:23:10'::timestamp) - extract(epoch from '2026-07-04 13:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39531 -2.779872)'), GeomFromEWKT('SRID=4674;POINT (-40.39528 -2.779783)'))) / (select extract(epoch from '2026-07-04 13:23:10'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.39522 -2.779788)', '2026-07-04 13:23:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39528 -2.779783)'), GeomFromEWKT('SRID=4674;POINT (-40.39522 -2.779788)'))) / (select extract(epoch from '2026-07-04 13:23:16'::timestamp) - extract(epoch from '2026-07-04 13:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39528 -2.779783)'), GeomFromEWKT('SRID=4674;POINT (-40.39522 -2.779788)'))) / (select extract(epoch from '2026-07-04 13:23:16'::timestamp) - extract(epoch from '2026-07-04 13:23: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'), 47817, 'SRID=4674;POINT (-40.395139 -2.779853)', '2026-07-04 13:23:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39522 -2.779788)'), GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.779853)'))) / (select extract(epoch from '2026-07-04 13:23:23'::timestamp) - extract(epoch from '2026-07-04 13:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39522 -2.779788)'), GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.779853)'))) / (select extract(epoch from '2026-07-04 13:23:23'::timestamp) - extract(epoch from '2026-07-04 13:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395121 -2.779923)', '2026-07-04 13:23:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.779853)'), GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.779923)'))) / (select extract(epoch from '2026-07-04 13:23:28'::timestamp) - extract(epoch from '2026-07-04 13:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.779853)'), GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.779923)'))) / (select extract(epoch from '2026-07-04 13:23:28'::timestamp) - extract(epoch from '2026-07-04 13:23:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395124 -2.779938)', '2026-07-04 13:23:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.779923)'), GeomFromEWKT('SRID=4674;POINT (-40.395124 -2.779938)'))) / (select extract(epoch from '2026-07-04 13:23:29'::timestamp) - extract(epoch from '2026-07-04 13:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.779923)'), GeomFromEWKT('SRID=4674;POINT (-40.395124 -2.779938)'))) / (select extract(epoch from '2026-07-04 13:23:29'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.395177 -2.780039)', '2026-07-04 13:23:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395124 -2.779938)'), GeomFromEWKT('SRID=4674;POINT (-40.395177 -2.780039)'))) / (select extract(epoch from '2026-07-04 13:23:35'::timestamp) - extract(epoch from '2026-07-04 13:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395124 -2.779938)'), GeomFromEWKT('SRID=4674;POINT (-40.395177 -2.780039)'))) / (select extract(epoch from '2026-07-04 13:23:35'::timestamp) - extract(epoch from '2026-07-04 13:23: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'), 47817, 'SRID=4674;POINT (-40.395251 -2.780138)', '2026-07-04 13:23:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395177 -2.780039)'), GeomFromEWKT('SRID=4674;POINT (-40.395251 -2.780138)'))) / (select extract(epoch from '2026-07-04 13:23:41'::timestamp) - extract(epoch from '2026-07-04 13:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395177 -2.780039)'), GeomFromEWKT('SRID=4674;POINT (-40.395251 -2.780138)'))) / (select extract(epoch from '2026-07-04 13:23:41'::timestamp) - extract(epoch from '2026-07-04 13:23: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'), 47817, 'SRID=4674;POINT (-40.395389 -2.780258)', '2026-07-04 13:23:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395251 -2.780138)'), GeomFromEWKT('SRID=4674;POINT (-40.395389 -2.780258)'))) / (select extract(epoch from '2026-07-04 13:23:49'::timestamp) - extract(epoch from '2026-07-04 13:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395251 -2.780138)'), GeomFromEWKT('SRID=4674;POINT (-40.395389 -2.780258)'))) / (select extract(epoch from '2026-07-04 13:23:49'::timestamp) - extract(epoch from '2026-07-04 13:23: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'), 47817, 'SRID=4674;POINT (-40.395539 -2.780369)', '2026-07-04 13:23:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395389 -2.780258)'), GeomFromEWKT('SRID=4674;POINT (-40.395539 -2.780369)'))) / (select extract(epoch from '2026-07-04 13:23:57'::timestamp) - extract(epoch from '2026-07-04 13:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395389 -2.780258)'), GeomFromEWKT('SRID=4674;POINT (-40.395539 -2.780369)'))) / (select extract(epoch from '2026-07-04 13:23:57'::timestamp) - extract(epoch from '2026-07-04 13:23: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'), 47817, 'SRID=4674;POINT (-40.395672 -2.780479)', '2026-07-04 13:24:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395539 -2.780369)'), GeomFromEWKT('SRID=4674;POINT (-40.395672 -2.780479)'))) / (select extract(epoch from '2026-07-04 13:24:05'::timestamp) - extract(epoch from '2026-07-04 13:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395539 -2.780369)'), GeomFromEWKT('SRID=4674;POINT (-40.395672 -2.780479)'))) / (select extract(epoch from '2026-07-04 13:24:05'::timestamp) - extract(epoch from '2026-07-04 13:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395777 -2.780605)', '2026-07-04 13:24:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395672 -2.780479)'), GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.780605)'))) / (select extract(epoch from '2026-07-04 13:24:13'::timestamp) - extract(epoch from '2026-07-04 13:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395672 -2.780479)'), GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.780605)'))) / (select extract(epoch from '2026-07-04 13:24:13'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395786 -2.780741)', '2026-07-04 13:24:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.780605)'), GeomFromEWKT('SRID=4674;POINT (-40.395786 -2.780741)'))) / (select extract(epoch from '2026-07-04 13:24:21'::timestamp) - extract(epoch from '2026-07-04 13:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.780605)'), GeomFromEWKT('SRID=4674;POINT (-40.395786 -2.780741)'))) / (select extract(epoch from '2026-07-04 13:24:21'::timestamp) - extract(epoch from '2026-07-04 13:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395734 -2.780842)', '2026-07-04 13:24:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395786 -2.780741)'), GeomFromEWKT('SRID=4674;POINT (-40.395734 -2.780842)'))) / (select extract(epoch from '2026-07-04 13:24:27'::timestamp) - extract(epoch from '2026-07-04 13:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395786 -2.780741)'), GeomFromEWKT('SRID=4674;POINT (-40.395734 -2.780842)'))) / (select extract(epoch from '2026-07-04 13:24:27'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395695 -2.780959)', '2026-07-04 13:24:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395734 -2.780842)'), GeomFromEWKT('SRID=4674;POINT (-40.395695 -2.780959)'))) / (select extract(epoch from '2026-07-04 13:24:35'::timestamp) - extract(epoch from '2026-07-04 13:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395734 -2.780842)'), GeomFromEWKT('SRID=4674;POINT (-40.395695 -2.780959)'))) / (select extract(epoch from '2026-07-04 13:24:35'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395728 -2.781076)', '2026-07-04 13:24:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395695 -2.780959)'), GeomFromEWKT('SRID=4674;POINT (-40.395728 -2.781076)'))) / (select extract(epoch from '2026-07-04 13:24:43'::timestamp) - extract(epoch from '2026-07-04 13:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395695 -2.780959)'), GeomFromEWKT('SRID=4674;POINT (-40.395728 -2.781076)'))) / (select extract(epoch from '2026-07-04 13:24:43'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395801 -2.781153)', '2026-07-04 13:24:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395728 -2.781076)'), GeomFromEWKT('SRID=4674;POINT (-40.395801 -2.781153)'))) / (select extract(epoch from '2026-07-04 13:24:50'::timestamp) - extract(epoch from '2026-07-04 13:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395728 -2.781076)'), GeomFromEWKT('SRID=4674;POINT (-40.395801 -2.781153)'))) / (select extract(epoch from '2026-07-04 13:24:50'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395828 -2.781214)', '2026-07-04 13:24:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395801 -2.781153)'), GeomFromEWKT('SRID=4674;POINT (-40.395828 -2.781214)'))) / (select extract(epoch from '2026-07-04 13:24:54'::timestamp) - extract(epoch from '2026-07-04 13:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395801 -2.781153)'), GeomFromEWKT('SRID=4674;POINT (-40.395828 -2.781214)'))) / (select extract(epoch from '2026-07-04 13:24:54'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395829 -2.781247)', '2026-07-04 13:24:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395828 -2.781214)'), GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781247)'))) / (select extract(epoch from '2026-07-04 13:24:57'::timestamp) - extract(epoch from '2026-07-04 13:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395828 -2.781214)'), GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781247)'))) / (select extract(epoch from '2026-07-04 13:24:57'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395796 -2.781251)', '2026-07-04 13:25:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781247)'), GeomFromEWKT('SRID=4674;POINT (-40.395796 -2.781251)'))) / (select extract(epoch from '2026-07-04 13:25:04'::timestamp) - extract(epoch from '2026-07-04 13:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781247)'), GeomFromEWKT('SRID=4674;POINT (-40.395796 -2.781251)'))) / (select extract(epoch from '2026-07-04 13:25:04'::timestamp) - extract(epoch from '2026-07-04 13:24: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'), 47817, 'SRID=4674;POINT (-40.395788 -2.781302)', '2026-07-04 13:25:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395796 -2.781251)'), GeomFromEWKT('SRID=4674;POINT (-40.395788 -2.781302)'))) / (select extract(epoch from '2026-07-04 13:25:10'::timestamp) - extract(epoch from '2026-07-04 13:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395796 -2.781251)'), GeomFromEWKT('SRID=4674;POINT (-40.395788 -2.781302)'))) / (select extract(epoch from '2026-07-04 13:25:10'::timestamp) - extract(epoch from '2026-07-04 13:25: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'), 47817, 'SRID=4674;POINT (-40.395799 -2.781328)', '2026-07-04 13:25:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395788 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-40.395799 -2.781328)'))) / (select extract(epoch from '2026-07-04 13:25:13'::timestamp) - extract(epoch from '2026-07-04 13:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395788 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-40.395799 -2.781328)'))) / (select extract(epoch from '2026-07-04 13:25:13'::timestamp) - extract(epoch from '2026-07-04 13:25: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'), 47817, 'SRID=4674;POINT (-40.395821 -2.781341)', '2026-07-04 13:25:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395799 -2.781328)'), GeomFromEWKT('SRID=4674;POINT (-40.395821 -2.781341)'))) / (select extract(epoch from '2026-07-04 13:25:16'::timestamp) - extract(epoch from '2026-07-04 13:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395799 -2.781328)'), GeomFromEWKT('SRID=4674;POINT (-40.395821 -2.781341)'))) / (select extract(epoch from '2026-07-04 13:25:16'::timestamp) - extract(epoch from '2026-07-04 13:25: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'), 47817, 'SRID=4674;POINT (-40.395913 -2.781373)', '2026-07-04 13:25:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395821 -2.781341)'), GeomFromEWKT('SRID=4674;POINT (-40.395913 -2.781373)'))) / (select extract(epoch from '2026-07-04 13:25:23'::timestamp) - extract(epoch from '2026-07-04 13:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395821 -2.781341)'), GeomFromEWKT('SRID=4674;POINT (-40.395913 -2.781373)'))) / (select extract(epoch from '2026-07-04 13:25:23'::timestamp) - extract(epoch from '2026-07-04 13:25: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'), 47817, 'SRID=4674;POINT (-40.396049 -2.781372)', '2026-07-04 13:25:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395913 -2.781373)'), GeomFromEWKT('SRID=4674;POINT (-40.396049 -2.781372)'))) / (select extract(epoch from '2026-07-04 13:25:30'::timestamp) - extract(epoch from '2026-07-04 13:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395913 -2.781373)'), GeomFromEWKT('SRID=4674;POINT (-40.396049 -2.781372)'))) / (select extract(epoch from '2026-07-04 13:25:30'::timestamp) - extract(epoch from '2026-07-04 13:25: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'), 47817, 'SRID=4674;POINT (-40.396146 -2.781303)', '2026-07-04 13:25:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396049 -2.781372)'), GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.781303)'))) / (select extract(epoch from '2026-07-04 13:25:37'::timestamp) - extract(epoch from '2026-07-04 13:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396049 -2.781372)'), GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.781303)'))) / (select extract(epoch from '2026-07-04 13:25:37'::timestamp) - extract(epoch from '2026-07-04 13:25: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'), 47817, 'SRID=4674;POINT (-40.396173 -2.781191)', '2026-07-04 13:25:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.781303)'), GeomFromEWKT('SRID=4674;POINT (-40.396173 -2.781191)'))) / (select extract(epoch from '2026-07-04 13:25:43'::timestamp) - extract(epoch from '2026-07-04 13:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.781303)'), GeomFromEWKT('SRID=4674;POINT (-40.396173 -2.781191)'))) / (select extract(epoch from '2026-07-04 13:25:43'::timestamp) - extract(epoch from '2026-07-04 13:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396121 -2.781111)', '2026-07-04 13:25:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396173 -2.781191)'), GeomFromEWKT('SRID=4674;POINT (-40.396121 -2.781111)'))) / (select extract(epoch from '2026-07-04 13:25:50'::timestamp) - extract(epoch from '2026-07-04 13:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396173 -2.781191)'), GeomFromEWKT('SRID=4674;POINT (-40.396121 -2.781111)'))) / (select extract(epoch from '2026-07-04 13:25:50'::timestamp) - extract(epoch from '2026-07-04 13:25: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'), 47817, 'SRID=4674;POINT (-40.396023 -2.781095)', '2026-07-04 13:25:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396121 -2.781111)'), GeomFromEWKT('SRID=4674;POINT (-40.396023 -2.781095)'))) / (select extract(epoch from '2026-07-04 13:25:57'::timestamp) - extract(epoch from '2026-07-04 13:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396121 -2.781111)'), GeomFromEWKT('SRID=4674;POINT (-40.396023 -2.781095)'))) / (select extract(epoch from '2026-07-04 13:25:57'::timestamp) - extract(epoch from '2026-07-04 13:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395985 -2.781144)', '2026-07-04 13:26:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396023 -2.781095)'), GeomFromEWKT('SRID=4674;POINT (-40.395985 -2.781144)'))) / (select extract(epoch from '2026-07-04 13:26:05'::timestamp) - extract(epoch from '2026-07-04 13:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396023 -2.781095)'), GeomFromEWKT('SRID=4674;POINT (-40.395985 -2.781144)'))) / (select extract(epoch from '2026-07-04 13:26:05'::timestamp) - extract(epoch from '2026-07-04 13:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39594 -2.781226)', '2026-07-04 13:26:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395985 -2.781144)'), GeomFromEWKT('SRID=4674;POINT (-40.39594 -2.781226)'))) / (select extract(epoch from '2026-07-04 13:26:13'::timestamp) - extract(epoch from '2026-07-04 13:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395985 -2.781144)'), GeomFromEWKT('SRID=4674;POINT (-40.39594 -2.781226)'))) / (select extract(epoch from '2026-07-04 13:26:13'::timestamp) - extract(epoch from '2026-07-04 13:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395881 -2.781253)', '2026-07-04 13:26:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39594 -2.781226)'), GeomFromEWKT('SRID=4674;POINT (-40.395881 -2.781253)'))) / (select extract(epoch from '2026-07-04 13:26:19'::timestamp) - extract(epoch from '2026-07-04 13:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39594 -2.781226)'), GeomFromEWKT('SRID=4674;POINT (-40.395881 -2.781253)'))) / (select extract(epoch from '2026-07-04 13:26:19'::timestamp) - extract(epoch from '2026-07-04 13:26: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'), 47817, 'SRID=4674;POINT (-40.395793 -2.78128)', '2026-07-04 13:26:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395881 -2.781253)'), GeomFromEWKT('SRID=4674;POINT (-40.395793 -2.78128)'))) / (select extract(epoch from '2026-07-04 13:26:26'::timestamp) - extract(epoch from '2026-07-04 13:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395881 -2.781253)'), GeomFromEWKT('SRID=4674;POINT (-40.395793 -2.78128)'))) / (select extract(epoch from '2026-07-04 13:26:26'::timestamp) - extract(epoch from '2026-07-04 13:26: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'), 47817, 'SRID=4674;POINT (-40.395723 -2.781288)', '2026-07-04 13:26:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395793 -2.78128)'), GeomFromEWKT('SRID=4674;POINT (-40.395723 -2.781288)'))) / (select extract(epoch from '2026-07-04 13:26:34'::timestamp) - extract(epoch from '2026-07-04 13:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395793 -2.78128)'), GeomFromEWKT('SRID=4674;POINT (-40.395723 -2.781288)'))) / (select extract(epoch from '2026-07-04 13:26:34'::timestamp) - extract(epoch from '2026-07-04 13:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395701 -2.781266)', '2026-07-04 13:26:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395723 -2.781288)'), GeomFromEWKT('SRID=4674;POINT (-40.395701 -2.781266)'))) / (select extract(epoch from '2026-07-04 13:26:40'::timestamp) - extract(epoch from '2026-07-04 13:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395723 -2.781288)'), GeomFromEWKT('SRID=4674;POINT (-40.395701 -2.781266)'))) / (select extract(epoch from '2026-07-04 13:26:40'::timestamp) - extract(epoch from '2026-07-04 13:26: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'), 47817, 'SRID=4674;POINT (-40.395697 -2.78124)', '2026-07-04 13:26:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395701 -2.781266)'), GeomFromEWKT('SRID=4674;POINT (-40.395697 -2.78124)'))) / (select extract(epoch from '2026-07-04 13:26:49'::timestamp) - extract(epoch from '2026-07-04 13:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395701 -2.781266)'), GeomFromEWKT('SRID=4674;POINT (-40.395697 -2.78124)'))) / (select extract(epoch from '2026-07-04 13:26:49'::timestamp) - extract(epoch from '2026-07-04 13:26: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'), 47817, 'SRID=4674;POINT (-40.395687 -2.7812)', '2026-07-04 13:26:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395697 -2.78124)'), GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.7812)'))) / (select extract(epoch from '2026-07-04 13:26:56'::timestamp) - extract(epoch from '2026-07-04 13:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395697 -2.78124)'), GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.7812)'))) / (select extract(epoch from '2026-07-04 13:26:56'::timestamp) - extract(epoch from '2026-07-04 13:26: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'), 47817, 'SRID=4674;POINT (-40.395692 -2.781176)', '2026-07-04 13:27:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.7812)'), GeomFromEWKT('SRID=4674;POINT (-40.395692 -2.781176)'))) / (select extract(epoch from '2026-07-04 13:27:03'::timestamp) - extract(epoch from '2026-07-04 13:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.7812)'), GeomFromEWKT('SRID=4674;POINT (-40.395692 -2.781176)'))) / (select extract(epoch from '2026-07-04 13:27:03'::timestamp) - extract(epoch from '2026-07-04 13:26: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'), 47817, 'SRID=4674;POINT (-40.395718 -2.781163)', '2026-07-04 13:27:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395692 -2.781176)'), GeomFromEWKT('SRID=4674;POINT (-40.395718 -2.781163)'))) / (select extract(epoch from '2026-07-04 13:27:10'::timestamp) - extract(epoch from '2026-07-04 13:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395692 -2.781176)'), GeomFromEWKT('SRID=4674;POINT (-40.395718 -2.781163)'))) / (select extract(epoch from '2026-07-04 13:27:10'::timestamp) - extract(epoch from '2026-07-04 13:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39575 -2.78116)', '2026-07-04 13:27:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395718 -2.781163)'), GeomFromEWKT('SRID=4674;POINT (-40.39575 -2.78116)'))) / (select extract(epoch from '2026-07-04 13:27:17'::timestamp) - extract(epoch from '2026-07-04 13:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395718 -2.781163)'), GeomFromEWKT('SRID=4674;POINT (-40.39575 -2.78116)'))) / (select extract(epoch from '2026-07-04 13:27:17'::timestamp) - extract(epoch from '2026-07-04 13:27: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'), 47817, 'SRID=4674;POINT (-40.395777 -2.781145)', '2026-07-04 13:27:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39575 -2.78116)'), GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.781145)'))) / (select extract(epoch from '2026-07-04 13:27:25'::timestamp) - extract(epoch from '2026-07-04 13:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39575 -2.78116)'), GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.781145)'))) / (select extract(epoch from '2026-07-04 13:27:25'::timestamp) - extract(epoch from '2026-07-04 13:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39576 -2.781091)', '2026-07-04 13:27:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.781145)'), GeomFromEWKT('SRID=4674;POINT (-40.39576 -2.781091)'))) / (select extract(epoch from '2026-07-04 13:27:32'::timestamp) - extract(epoch from '2026-07-04 13:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395777 -2.781145)'), GeomFromEWKT('SRID=4674;POINT (-40.39576 -2.781091)'))) / (select extract(epoch from '2026-07-04 13:27:32'::timestamp) - extract(epoch from '2026-07-04 13:27: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'), 47817, 'SRID=4674;POINT (-40.395714 -2.781059)', '2026-07-04 13:27:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39576 -2.781091)'), GeomFromEWKT('SRID=4674;POINT (-40.395714 -2.781059)'))) / (select extract(epoch from '2026-07-04 13:27:39'::timestamp) - extract(epoch from '2026-07-04 13:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39576 -2.781091)'), GeomFromEWKT('SRID=4674;POINT (-40.395714 -2.781059)'))) / (select extract(epoch from '2026-07-04 13:27:39'::timestamp) - extract(epoch from '2026-07-04 13:27: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'), 47817, 'SRID=4674;POINT (-40.395687 -2.781068)', '2026-07-04 13:27:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395714 -2.781059)'), GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.781068)'))) / (select extract(epoch from '2026-07-04 13:27:46'::timestamp) - extract(epoch from '2026-07-04 13:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395714 -2.781059)'), GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.781068)'))) / (select extract(epoch from '2026-07-04 13:27:46'::timestamp) - extract(epoch from '2026-07-04 13:27: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'), 47817, 'SRID=4674;POINT (-40.395706 -2.781123)', '2026-07-04 13:27:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.781068)'), GeomFromEWKT('SRID=4674;POINT (-40.395706 -2.781123)'))) / (select extract(epoch from '2026-07-04 13:27:54'::timestamp) - extract(epoch from '2026-07-04 13:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395687 -2.781068)'), GeomFromEWKT('SRID=4674;POINT (-40.395706 -2.781123)'))) / (select extract(epoch from '2026-07-04 13:27:54'::timestamp) - extract(epoch from '2026-07-04 13:27: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'), 47817, 'SRID=4674;POINT (-40.395752 -2.781193)', '2026-07-04 13:28:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395706 -2.781123)'), GeomFromEWKT('SRID=4674;POINT (-40.395752 -2.781193)'))) / (select extract(epoch from '2026-07-04 13:28:03'::timestamp) - extract(epoch from '2026-07-04 13:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395706 -2.781123)'), GeomFromEWKT('SRID=4674;POINT (-40.395752 -2.781193)'))) / (select extract(epoch from '2026-07-04 13:28:03'::timestamp) - extract(epoch from '2026-07-04 13:27: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'), 47817, 'SRID=4674;POINT (-40.395775 -2.781234)', '2026-07-04 13:28:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395752 -2.781193)'), GeomFromEWKT('SRID=4674;POINT (-40.395775 -2.781234)'))) / (select extract(epoch from '2026-07-04 13:28:12'::timestamp) - extract(epoch from '2026-07-04 13:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395752 -2.781193)'), GeomFromEWKT('SRID=4674;POINT (-40.395775 -2.781234)'))) / (select extract(epoch from '2026-07-04 13:28:12'::timestamp) - extract(epoch from '2026-07-04 13:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395797 -2.7813)', '2026-07-04 13:28:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395775 -2.781234)'), GeomFromEWKT('SRID=4674;POINT (-40.395797 -2.7813)'))) / (select extract(epoch from '2026-07-04 13:28:20'::timestamp) - extract(epoch from '2026-07-04 13:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395775 -2.781234)'), GeomFromEWKT('SRID=4674;POINT (-40.395797 -2.7813)'))) / (select extract(epoch from '2026-07-04 13:28:20'::timestamp) - extract(epoch from '2026-07-04 13:28: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'), 47817, 'SRID=4674;POINT (-40.395829 -2.781376)', '2026-07-04 13:28:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395797 -2.7813)'), GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781376)'))) / (select extract(epoch from '2026-07-04 13:28:28'::timestamp) - extract(epoch from '2026-07-04 13:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395797 -2.7813)'), GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781376)'))) / (select extract(epoch from '2026-07-04 13:28:28'::timestamp) - extract(epoch from '2026-07-04 13:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395844 -2.78138)', '2026-07-04 13:28:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781376)'), GeomFromEWKT('SRID=4674;POINT (-40.395844 -2.78138)'))) / (select extract(epoch from '2026-07-04 13:28:35'::timestamp) - extract(epoch from '2026-07-04 13:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395829 -2.781376)'), GeomFromEWKT('SRID=4674;POINT (-40.395844 -2.78138)'))) / (select extract(epoch from '2026-07-04 13:28:35'::timestamp) - extract(epoch from '2026-07-04 13:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395878 -2.781363)', '2026-07-04 13:28:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395844 -2.78138)'), GeomFromEWKT('SRID=4674;POINT (-40.395878 -2.781363)'))) / (select extract(epoch from '2026-07-04 13:28:49'::timestamp) - extract(epoch from '2026-07-04 13:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395844 -2.78138)'), GeomFromEWKT('SRID=4674;POINT (-40.395878 -2.781363)'))) / (select extract(epoch from '2026-07-04 13:28:49'::timestamp) - extract(epoch from '2026-07-04 13:28: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'), 47817, 'SRID=4674;POINT (-40.395895 -2.781355)', '2026-07-04 13:28:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395878 -2.781363)'), GeomFromEWKT('SRID=4674;POINT (-40.395895 -2.781355)'))) / (select extract(epoch from '2026-07-04 13:28:57'::timestamp) - extract(epoch from '2026-07-04 13:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395878 -2.781363)'), GeomFromEWKT('SRID=4674;POINT (-40.395895 -2.781355)'))) / (select extract(epoch from '2026-07-04 13:28:57'::timestamp) - extract(epoch from '2026-07-04 13:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395935 -2.781312)', '2026-07-04 13:29:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395895 -2.781355)'), GeomFromEWKT('SRID=4674;POINT (-40.395935 -2.781312)'))) / (select extract(epoch from '2026-07-04 13:29:07'::timestamp) - extract(epoch from '2026-07-04 13:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395895 -2.781355)'), GeomFromEWKT('SRID=4674;POINT (-40.395935 -2.781312)'))) / (select extract(epoch from '2026-07-04 13:29:07'::timestamp) - extract(epoch from '2026-07-04 13:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395969 -2.781301)', '2026-07-04 13:29:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395935 -2.781312)'), GeomFromEWKT('SRID=4674;POINT (-40.395969 -2.781301)'))) / (select extract(epoch from '2026-07-04 13:29:15'::timestamp) - extract(epoch from '2026-07-04 13:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395935 -2.781312)'), GeomFromEWKT('SRID=4674;POINT (-40.395969 -2.781301)'))) / (select extract(epoch from '2026-07-04 13:29:15'::timestamp) - extract(epoch from '2026-07-04 13:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395986 -2.781295)', '2026-07-04 13:29:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395969 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-40.395986 -2.781295)'))) / (select extract(epoch from '2026-07-04 13:29:21'::timestamp) - extract(epoch from '2026-07-04 13:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395969 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-40.395986 -2.781295)'))) / (select extract(epoch from '2026-07-04 13:29:21'::timestamp) - extract(epoch from '2026-07-04 13:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396024 -2.781289)', '2026-07-04 13:29:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395986 -2.781295)'), GeomFromEWKT('SRID=4674;POINT (-40.396024 -2.781289)'))) / (select extract(epoch from '2026-07-04 13:29:28'::timestamp) - extract(epoch from '2026-07-04 13:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395986 -2.781295)'), GeomFromEWKT('SRID=4674;POINT (-40.396024 -2.781289)'))) / (select extract(epoch from '2026-07-04 13:29:28'::timestamp) - extract(epoch from '2026-07-04 13:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396064 -2.781311)', '2026-07-04 13:29:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396024 -2.781289)'), GeomFromEWKT('SRID=4674;POINT (-40.396064 -2.781311)'))) / (select extract(epoch from '2026-07-04 13:29:32'::timestamp) - extract(epoch from '2026-07-04 13:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396024 -2.781289)'), GeomFromEWKT('SRID=4674;POINT (-40.396064 -2.781311)'))) / (select extract(epoch from '2026-07-04 13:29:32'::timestamp) - extract(epoch from '2026-07-04 13:29: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'), 47817, 'SRID=4674;POINT (-40.396084 -2.781354)', '2026-07-04 13:29:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396064 -2.781311)'), GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.781354)'))) / (select extract(epoch from '2026-07-04 13:29:35'::timestamp) - extract(epoch from '2026-07-04 13:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396064 -2.781311)'), GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.781354)'))) / (select extract(epoch from '2026-07-04 13:29:35'::timestamp) - extract(epoch from '2026-07-04 13:29: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'), 47817, 'SRID=4674;POINT (-40.396068 -2.781462)', '2026-07-04 13:29:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.781354)'), GeomFromEWKT('SRID=4674;POINT (-40.396068 -2.781462)'))) / (select extract(epoch from '2026-07-04 13:29:41'::timestamp) - extract(epoch from '2026-07-04 13:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.781354)'), GeomFromEWKT('SRID=4674;POINT (-40.396068 -2.781462)'))) / (select extract(epoch from '2026-07-04 13:29:41'::timestamp) - extract(epoch from '2026-07-04 13:29: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'), 47817, 'SRID=4674;POINT (-40.395967 -2.781556)', '2026-07-04 13:29:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396068 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-40.395967 -2.781556)'))) / (select extract(epoch from '2026-07-04 13:29:49'::timestamp) - extract(epoch from '2026-07-04 13:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396068 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-40.395967 -2.781556)'))) / (select extract(epoch from '2026-07-04 13:29:49'::timestamp) - extract(epoch from '2026-07-04 13:29: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'), 47817, 'SRID=4674;POINT (-40.395897 -2.781622)', '2026-07-04 13:29:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395967 -2.781556)'), GeomFromEWKT('SRID=4674;POINT (-40.395897 -2.781622)'))) / (select extract(epoch from '2026-07-04 13:29:55'::timestamp) - extract(epoch from '2026-07-04 13:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395967 -2.781556)'), GeomFromEWKT('SRID=4674;POINT (-40.395897 -2.781622)'))) / (select extract(epoch from '2026-07-04 13:29:55'::timestamp) - extract(epoch from '2026-07-04 13:29: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'), 47817, 'SRID=4674;POINT (-40.395879 -2.781767)', '2026-07-04 13:30:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395897 -2.781622)'), GeomFromEWKT('SRID=4674;POINT (-40.395879 -2.781767)'))) / (select extract(epoch from '2026-07-04 13:30:01'::timestamp) - extract(epoch from '2026-07-04 13:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395897 -2.781622)'), GeomFromEWKT('SRID=4674;POINT (-40.395879 -2.781767)'))) / (select extract(epoch from '2026-07-04 13:30:01'::timestamp) - extract(epoch from '2026-07-04 13:29: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'), 47817, 'SRID=4674;POINT (-40.395922 -2.781917)', '2026-07-04 13:30:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395879 -2.781767)'), GeomFromEWKT('SRID=4674;POINT (-40.395922 -2.781917)'))) / (select extract(epoch from '2026-07-04 13:30:07'::timestamp) - extract(epoch from '2026-07-04 13:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395879 -2.781767)'), GeomFromEWKT('SRID=4674;POINT (-40.395922 -2.781917)'))) / (select extract(epoch from '2026-07-04 13:30:07'::timestamp) - extract(epoch from '2026-07-04 13:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.395989 -2.782029)', '2026-07-04 13:30:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395922 -2.781917)'), GeomFromEWKT('SRID=4674;POINT (-40.395989 -2.782029)'))) / (select extract(epoch from '2026-07-04 13:30:13'::timestamp) - extract(epoch from '2026-07-04 13:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395922 -2.781917)'), GeomFromEWKT('SRID=4674;POINT (-40.395989 -2.782029)'))) / (select extract(epoch from '2026-07-04 13:30:13'::timestamp) - extract(epoch from '2026-07-04 13:30: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'), 47817, 'SRID=4674;POINT (-40.396048 -2.782154)', '2026-07-04 13:30:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395989 -2.782029)'), GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.782154)'))) / (select extract(epoch from '2026-07-04 13:30:19'::timestamp) - extract(epoch from '2026-07-04 13:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395989 -2.782029)'), GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.782154)'))) / (select extract(epoch from '2026-07-04 13:30:19'::timestamp) - extract(epoch from '2026-07-04 13:30: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'), 47817, 'SRID=4674;POINT (-40.396084 -2.782257)', '2026-07-04 13:30:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.782154)'), GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.782257)'))) / (select extract(epoch from '2026-07-04 13:30:25'::timestamp) - extract(epoch from '2026-07-04 13:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.782154)'), GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.782257)'))) / (select extract(epoch from '2026-07-04 13:30:25'::timestamp) - extract(epoch from '2026-07-04 13:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396134 -2.782344)', '2026-07-04 13:30:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.782257)'), GeomFromEWKT('SRID=4674;POINT (-40.396134 -2.782344)'))) / (select extract(epoch from '2026-07-04 13:30:32'::timestamp) - extract(epoch from '2026-07-04 13:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396084 -2.782257)'), GeomFromEWKT('SRID=4674;POINT (-40.396134 -2.782344)'))) / (select extract(epoch from '2026-07-04 13:30:32'::timestamp) - extract(epoch from '2026-07-04 13:30: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'), 47817, 'SRID=4674;POINT (-40.396227 -2.782388)', '2026-07-04 13:30:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396134 -2.782344)'), GeomFromEWKT('SRID=4674;POINT (-40.396227 -2.782388)'))) / (select extract(epoch from '2026-07-04 13:30:39'::timestamp) - extract(epoch from '2026-07-04 13:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396134 -2.782344)'), GeomFromEWKT('SRID=4674;POINT (-40.396227 -2.782388)'))) / (select extract(epoch from '2026-07-04 13:30:39'::timestamp) - extract(epoch from '2026-07-04 13:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396324 -2.782368)', '2026-07-04 13:30:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396227 -2.782388)'), GeomFromEWKT('SRID=4674;POINT (-40.396324 -2.782368)'))) / (select extract(epoch from '2026-07-04 13:30:47'::timestamp) - extract(epoch from '2026-07-04 13:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396227 -2.782388)'), GeomFromEWKT('SRID=4674;POINT (-40.396324 -2.782368)'))) / (select extract(epoch from '2026-07-04 13:30:47'::timestamp) - extract(epoch from '2026-07-04 13:30: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'), 47817, 'SRID=4674;POINT (-40.396379 -2.782312)', '2026-07-04 13:30:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396324 -2.782368)'), GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.782312)'))) / (select extract(epoch from '2026-07-04 13:30:52'::timestamp) - extract(epoch from '2026-07-04 13:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396324 -2.782368)'), GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.782312)'))) / (select extract(epoch from '2026-07-04 13:30:52'::timestamp) - extract(epoch from '2026-07-04 13:30: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'), 47817, 'SRID=4674;POINT (-40.396408 -2.782227)', '2026-07-04 13:30:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.782312)'), GeomFromEWKT('SRID=4674;POINT (-40.396408 -2.782227)'))) / (select extract(epoch from '2026-07-04 13:30:59'::timestamp) - extract(epoch from '2026-07-04 13:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.782312)'), GeomFromEWKT('SRID=4674;POINT (-40.396408 -2.782227)'))) / (select extract(epoch from '2026-07-04 13:30:59'::timestamp) - extract(epoch from '2026-07-04 13:30: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'), 47817, 'SRID=4674;POINT (-40.396369 -2.782187)', '2026-07-04 13:31:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396408 -2.782227)'), GeomFromEWKT('SRID=4674;POINT (-40.396369 -2.782187)'))) / (select extract(epoch from '2026-07-04 13:31:06'::timestamp) - extract(epoch from '2026-07-04 13:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396408 -2.782227)'), GeomFromEWKT('SRID=4674;POINT (-40.396369 -2.782187)'))) / (select extract(epoch from '2026-07-04 13:31:06'::timestamp) - extract(epoch from '2026-07-04 13:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396331 -2.7822)', '2026-07-04 13:31:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396369 -2.782187)'), GeomFromEWKT('SRID=4674;POINT (-40.396331 -2.7822)'))) / (select extract(epoch from '2026-07-04 13:31:14'::timestamp) - extract(epoch from '2026-07-04 13:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396369 -2.782187)'), GeomFromEWKT('SRID=4674;POINT (-40.396331 -2.7822)'))) / (select extract(epoch from '2026-07-04 13:31:14'::timestamp) - extract(epoch from '2026-07-04 13:31: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'), 47817, 'SRID=4674;POINT (-40.396316 -2.782193)', '2026-07-04 13:31:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396331 -2.7822)'), GeomFromEWKT('SRID=4674;POINT (-40.396316 -2.782193)'))) / (select extract(epoch from '2026-07-04 13:31:25'::timestamp) - extract(epoch from '2026-07-04 13:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396331 -2.7822)'), GeomFromEWKT('SRID=4674;POINT (-40.396316 -2.782193)'))) / (select extract(epoch from '2026-07-04 13:31:25'::timestamp) - extract(epoch from '2026-07-04 13:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396318 -2.782237)', '2026-07-04 13:31:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396316 -2.782193)'), GeomFromEWKT('SRID=4674;POINT (-40.396318 -2.782237)'))) / (select extract(epoch from '2026-07-04 13:31:34'::timestamp) - extract(epoch from '2026-07-04 13:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396316 -2.782193)'), GeomFromEWKT('SRID=4674;POINT (-40.396318 -2.782237)'))) / (select extract(epoch from '2026-07-04 13:31:34'::timestamp) - extract(epoch from '2026-07-04 13:31: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'), 47817, 'SRID=4674;POINT (-40.396308 -2.782258)', '2026-07-04 13:31:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396318 -2.782237)'), GeomFromEWKT('SRID=4674;POINT (-40.396308 -2.782258)'))) / (select extract(epoch from '2026-07-04 13:31:40'::timestamp) - extract(epoch from '2026-07-04 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396318 -2.782237)'), GeomFromEWKT('SRID=4674;POINT (-40.396308 -2.782258)'))) / (select extract(epoch from '2026-07-04 13:31:40'::timestamp) - extract(epoch from '2026-07-04 13:31: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'), 47817, 'SRID=4674;POINT (-40.396307 -2.782314)', '2026-07-04 13:31:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396308 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.396307 -2.782314)'))) / (select extract(epoch from '2026-07-04 13:31:48'::timestamp) - extract(epoch from '2026-07-04 13:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396308 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.396307 -2.782314)'))) / (select extract(epoch from '2026-07-04 13:31:48'::timestamp) - extract(epoch from '2026-07-04 13:31: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'), 47817, 'SRID=4674;POINT (-40.396306 -2.782327)', '2026-07-04 13:31:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396307 -2.782314)'), GeomFromEWKT('SRID=4674;POINT (-40.396306 -2.782327)'))) / (select extract(epoch from '2026-07-04 13:31:57'::timestamp) - extract(epoch from '2026-07-04 13:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396307 -2.782314)'), GeomFromEWKT('SRID=4674;POINT (-40.396306 -2.782327)'))) / (select extract(epoch from '2026-07-04 13:31:57'::timestamp) - extract(epoch from '2026-07-04 13:31: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'), 47817, 'SRID=4674;POINT (-40.396327 -2.782311)', '2026-07-04 13:32:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396306 -2.782327)'), GeomFromEWKT('SRID=4674;POINT (-40.396327 -2.782311)'))) / (select extract(epoch from '2026-07-04 13:32:14'::timestamp) - extract(epoch from '2026-07-04 13:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396306 -2.782327)'), GeomFromEWKT('SRID=4674;POINT (-40.396327 -2.782311)'))) / (select extract(epoch from '2026-07-04 13:32:14'::timestamp) - extract(epoch from '2026-07-04 13:31: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'), 47817, 'SRID=4674;POINT (-40.396366 -2.782313)', '2026-07-04 13:32:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396327 -2.782311)'), GeomFromEWKT('SRID=4674;POINT (-40.396366 -2.782313)'))) / (select extract(epoch from '2026-07-04 13:32:21'::timestamp) - extract(epoch from '2026-07-04 13:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396327 -2.782311)'), GeomFromEWKT('SRID=4674;POINT (-40.396366 -2.782313)'))) / (select extract(epoch from '2026-07-04 13:32:21'::timestamp) - extract(epoch from '2026-07-04 13:32: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'), 47817, 'SRID=4674;POINT (-40.396377 -2.78231)', '2026-07-04 13:32:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396366 -2.782313)'), GeomFromEWKT('SRID=4674;POINT (-40.396377 -2.78231)'))) / (select extract(epoch from '2026-07-04 13:32:28'::timestamp) - extract(epoch from '2026-07-04 13:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396366 -2.782313)'), GeomFromEWKT('SRID=4674;POINT (-40.396377 -2.78231)'))) / (select extract(epoch from '2026-07-04 13:32:28'::timestamp) - extract(epoch from '2026-07-04 13:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396427 -2.782277)', '2026-07-04 13:32:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396377 -2.78231)'), GeomFromEWKT('SRID=4674;POINT (-40.396427 -2.782277)'))) / (select extract(epoch from '2026-07-04 13:32:41'::timestamp) - extract(epoch from '2026-07-04 13:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396377 -2.78231)'), GeomFromEWKT('SRID=4674;POINT (-40.396427 -2.782277)'))) / (select extract(epoch from '2026-07-04 13:32:41'::timestamp) - extract(epoch from '2026-07-04 13:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396448 -2.782218)', '2026-07-04 13:32:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396427 -2.782277)'), GeomFromEWKT('SRID=4674;POINT (-40.396448 -2.782218)'))) / (select extract(epoch from '2026-07-04 13:32:55'::timestamp) - extract(epoch from '2026-07-04 13:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396427 -2.782277)'), GeomFromEWKT('SRID=4674;POINT (-40.396448 -2.782218)'))) / (select extract(epoch from '2026-07-04 13:32:55'::timestamp) - extract(epoch from '2026-07-04 13:32: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'), 47817, 'SRID=4674;POINT (-40.396475 -2.782189)', '2026-07-04 13:33:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396448 -2.782218)'), GeomFromEWKT('SRID=4674;POINT (-40.396475 -2.782189)'))) / (select extract(epoch from '2026-07-04 13:33:02'::timestamp) - extract(epoch from '2026-07-04 13:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396448 -2.782218)'), GeomFromEWKT('SRID=4674;POINT (-40.396475 -2.782189)'))) / (select extract(epoch from '2026-07-04 13:33:02'::timestamp) - extract(epoch from '2026-07-04 13:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396502 -2.782183)', '2026-07-04 13:33:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396475 -2.782189)'), GeomFromEWKT('SRID=4674;POINT (-40.396502 -2.782183)'))) / (select extract(epoch from '2026-07-04 13:33:10'::timestamp) - extract(epoch from '2026-07-04 13:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396475 -2.782189)'), GeomFromEWKT('SRID=4674;POINT (-40.396502 -2.782183)'))) / (select extract(epoch from '2026-07-04 13:33:10'::timestamp) - extract(epoch from '2026-07-04 13:33: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'), 47817, 'SRID=4674;POINT (-40.39654 -2.782176)', '2026-07-04 13:33:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396502 -2.782183)'), GeomFromEWKT('SRID=4674;POINT (-40.39654 -2.782176)'))) / (select extract(epoch from '2026-07-04 13:33:16'::timestamp) - extract(epoch from '2026-07-04 13:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396502 -2.782183)'), GeomFromEWKT('SRID=4674;POINT (-40.39654 -2.782176)'))) / (select extract(epoch from '2026-07-04 13:33:16'::timestamp) - extract(epoch from '2026-07-04 13:33: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'), 47817, 'SRID=4674;POINT (-40.396575 -2.782162)', '2026-07-04 13:33:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39654 -2.782176)'), GeomFromEWKT('SRID=4674;POINT (-40.396575 -2.782162)'))) / (select extract(epoch from '2026-07-04 13:33:24'::timestamp) - extract(epoch from '2026-07-04 13:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39654 -2.782176)'), GeomFromEWKT('SRID=4674;POINT (-40.396575 -2.782162)'))) / (select extract(epoch from '2026-07-04 13:33:24'::timestamp) - extract(epoch from '2026-07-04 13:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396542 -2.782075)', '2026-07-04 13:33:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396575 -2.782162)'), GeomFromEWKT('SRID=4674;POINT (-40.396542 -2.782075)'))) / (select extract(epoch from '2026-07-04 13:33:34'::timestamp) - extract(epoch from '2026-07-04 13:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396575 -2.782162)'), GeomFromEWKT('SRID=4674;POINT (-40.396542 -2.782075)'))) / (select extract(epoch from '2026-07-04 13:33:34'::timestamp) - extract(epoch from '2026-07-04 13:33: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'), 47817, 'SRID=4674;POINT (-40.39658 -2.781898)', '2026-07-04 13:33:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396542 -2.782075)'), GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.781898)'))) / (select extract(epoch from '2026-07-04 13:33:45'::timestamp) - extract(epoch from '2026-07-04 13:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396542 -2.782075)'), GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.781898)'))) / (select extract(epoch from '2026-07-04 13:33:45'::timestamp) - extract(epoch from '2026-07-04 13:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396664 -2.781881)', '2026-07-04 13:33:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-40.396664 -2.781881)'))) / (select extract(epoch from '2026-07-04 13:33:50'::timestamp) - extract(epoch from '2026-07-04 13:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-40.396664 -2.781881)'))) / (select extract(epoch from '2026-07-04 13:33:50'::timestamp) - extract(epoch from '2026-07-04 13:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396796 -2.781914)', '2026-07-04 13:33:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396664 -2.781881)'), GeomFromEWKT('SRID=4674;POINT (-40.396796 -2.781914)'))) / (select extract(epoch from '2026-07-04 13:33:57'::timestamp) - extract(epoch from '2026-07-04 13:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396664 -2.781881)'), GeomFromEWKT('SRID=4674;POINT (-40.396796 -2.781914)'))) / (select extract(epoch from '2026-07-04 13:33:57'::timestamp) - extract(epoch from '2026-07-04 13:33: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'), 47817, 'SRID=4674;POINT (-40.396966 -2.781943)', '2026-07-04 13:34:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396796 -2.781914)'), GeomFromEWKT('SRID=4674;POINT (-40.396966 -2.781943)'))) / (select extract(epoch from '2026-07-04 13:34:05'::timestamp) - extract(epoch from '2026-07-04 13:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396796 -2.781914)'), GeomFromEWKT('SRID=4674;POINT (-40.396966 -2.781943)'))) / (select extract(epoch from '2026-07-04 13:34:05'::timestamp) - extract(epoch from '2026-07-04 13:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.397127 -2.781982)', '2026-07-04 13:34:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396966 -2.781943)'), GeomFromEWKT('SRID=4674;POINT (-40.397127 -2.781982)'))) / (select extract(epoch from '2026-07-04 13:34:12'::timestamp) - extract(epoch from '2026-07-04 13:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396966 -2.781943)'), GeomFromEWKT('SRID=4674;POINT (-40.397127 -2.781982)'))) / (select extract(epoch from '2026-07-04 13:34:12'::timestamp) - extract(epoch from '2026-07-04 13:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39726 -2.782067)', '2026-07-04 13:34:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397127 -2.781982)'), GeomFromEWKT('SRID=4674;POINT (-40.39726 -2.782067)'))) / (select extract(epoch from '2026-07-04 13:34:19'::timestamp) - extract(epoch from '2026-07-04 13:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397127 -2.781982)'), GeomFromEWKT('SRID=4674;POINT (-40.39726 -2.782067)'))) / (select extract(epoch from '2026-07-04 13:34:19'::timestamp) - extract(epoch from '2026-07-04 13:34: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'), 47817, 'SRID=4674;POINT (-40.397416 -2.782164)', '2026-07-04 13:34:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39726 -2.782067)'), GeomFromEWKT('SRID=4674;POINT (-40.397416 -2.782164)'))) / (select extract(epoch from '2026-07-04 13:34:27'::timestamp) - extract(epoch from '2026-07-04 13:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39726 -2.782067)'), GeomFromEWKT('SRID=4674;POINT (-40.397416 -2.782164)'))) / (select extract(epoch from '2026-07-04 13:34:27'::timestamp) - extract(epoch from '2026-07-04 13:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.397602 -2.78222)', '2026-07-04 13:34:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397416 -2.782164)'), GeomFromEWKT('SRID=4674;POINT (-40.397602 -2.78222)'))) / (select extract(epoch from '2026-07-04 13:34:35'::timestamp) - extract(epoch from '2026-07-04 13:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397416 -2.782164)'), GeomFromEWKT('SRID=4674;POINT (-40.397602 -2.78222)'))) / (select extract(epoch from '2026-07-04 13:34:35'::timestamp) - extract(epoch from '2026-07-04 13:34: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'), 47817, 'SRID=4674;POINT (-40.397716 -2.782251)', '2026-07-04 13:34:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397602 -2.78222)'), GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.782251)'))) / (select extract(epoch from '2026-07-04 13:34:41'::timestamp) - extract(epoch from '2026-07-04 13:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397602 -2.78222)'), GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.782251)'))) / (select extract(epoch from '2026-07-04 13:34:41'::timestamp) - extract(epoch from '2026-07-04 13:34: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'), 47817, 'SRID=4674;POINT (-40.397825 -2.782294)', '2026-07-04 13:34:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.782251)'), GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.782294)'))) / (select extract(epoch from '2026-07-04 13:34:48'::timestamp) - extract(epoch from '2026-07-04 13:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397716 -2.782251)'), GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.782294)'))) / (select extract(epoch from '2026-07-04 13:34:48'::timestamp) - extract(epoch from '2026-07-04 13:34: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'), 47817, 'SRID=4674;POINT (-40.39793 -2.782332)', '2026-07-04 13:34:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.782294)'), GeomFromEWKT('SRID=4674;POINT (-40.39793 -2.782332)'))) / (select extract(epoch from '2026-07-04 13:34:56'::timestamp) - extract(epoch from '2026-07-04 13:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.782294)'), GeomFromEWKT('SRID=4674;POINT (-40.39793 -2.782332)'))) / (select extract(epoch from '2026-07-04 13:34:56'::timestamp) - extract(epoch from '2026-07-04 13:34: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'), 47817, 'SRID=4674;POINT (-40.398 -2.78237)', '2026-07-04 13:35:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39793 -2.782332)'), GeomFromEWKT('SRID=4674;POINT (-40.398 -2.78237)'))) / (select extract(epoch from '2026-07-04 13:35:03'::timestamp) - extract(epoch from '2026-07-04 13:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39793 -2.782332)'), GeomFromEWKT('SRID=4674;POINT (-40.398 -2.78237)'))) / (select extract(epoch from '2026-07-04 13:35:03'::timestamp) - extract(epoch from '2026-07-04 13:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398075 -2.782352)', '2026-07-04 13:35:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398 -2.78237)'), GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.782352)'))) / (select extract(epoch from '2026-07-04 13:35:11'::timestamp) - extract(epoch from '2026-07-04 13:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398 -2.78237)'), GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.782352)'))) / (select extract(epoch from '2026-07-04 13:35:11'::timestamp) - extract(epoch from '2026-07-04 13:35: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'), 47817, 'SRID=4674;POINT (-40.398079 -2.782343)', '2026-07-04 13:35:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.782352)'), GeomFromEWKT('SRID=4674;POINT (-40.398079 -2.782343)'))) / (select extract(epoch from '2026-07-04 13:35:12'::timestamp) - extract(epoch from '2026-07-04 13:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.782352)'), GeomFromEWKT('SRID=4674;POINT (-40.398079 -2.782343)'))) / (select extract(epoch from '2026-07-04 13:35:12'::timestamp) - extract(epoch from '2026-07-04 13:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398118 -2.782299)', '2026-07-04 13:35:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398079 -2.782343)'), GeomFromEWKT('SRID=4674;POINT (-40.398118 -2.782299)'))) / (select extract(epoch from '2026-07-04 13:35:18'::timestamp) - extract(epoch from '2026-07-04 13:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398079 -2.782343)'), GeomFromEWKT('SRID=4674;POINT (-40.398118 -2.782299)'))) / (select extract(epoch from '2026-07-04 13:35:18'::timestamp) - extract(epoch from '2026-07-04 13:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398114 -2.782255)', '2026-07-04 13:35:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398118 -2.782299)'), GeomFromEWKT('SRID=4674;POINT (-40.398114 -2.782255)'))) / (select extract(epoch from '2026-07-04 13:35:24'::timestamp) - extract(epoch from '2026-07-04 13:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398118 -2.782299)'), GeomFromEWKT('SRID=4674;POINT (-40.398114 -2.782255)'))) / (select extract(epoch from '2026-07-04 13:35:24'::timestamp) - extract(epoch from '2026-07-04 13:35: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'), 47817, 'SRID=4674;POINT (-40.398087 -2.78221)', '2026-07-04 13:35:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398114 -2.782255)'), GeomFromEWKT('SRID=4674;POINT (-40.398087 -2.78221)'))) / (select extract(epoch from '2026-07-04 13:35:30'::timestamp) - extract(epoch from '2026-07-04 13:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398114 -2.782255)'), GeomFromEWKT('SRID=4674;POINT (-40.398087 -2.78221)'))) / (select extract(epoch from '2026-07-04 13:35:30'::timestamp) - extract(epoch from '2026-07-04 13:35: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'), 47817, 'SRID=4674;POINT (-40.398012 -2.782191)', '2026-07-04 13:35:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398087 -2.78221)'), GeomFromEWKT('SRID=4674;POINT (-40.398012 -2.782191)'))) / (select extract(epoch from '2026-07-04 13:35:37'::timestamp) - extract(epoch from '2026-07-04 13:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398087 -2.78221)'), GeomFromEWKT('SRID=4674;POINT (-40.398012 -2.782191)'))) / (select extract(epoch from '2026-07-04 13:35:37'::timestamp) - extract(epoch from '2026-07-04 13:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.397972 -2.782218)', '2026-07-04 13:35:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398012 -2.782191)'), GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.782218)'))) / (select extract(epoch from '2026-07-04 13:35:45'::timestamp) - extract(epoch from '2026-07-04 13:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398012 -2.782191)'), GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.782218)'))) / (select extract(epoch from '2026-07-04 13:35:45'::timestamp) - extract(epoch from '2026-07-04 13:35: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'), 47817, 'SRID=4674;POINT (-40.397947 -2.782241)', '2026-07-04 13:35:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.782218)'), GeomFromEWKT('SRID=4674;POINT (-40.397947 -2.782241)'))) / (select extract(epoch from '2026-07-04 13:35:53'::timestamp) - extract(epoch from '2026-07-04 13:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.782218)'), GeomFromEWKT('SRID=4674;POINT (-40.397947 -2.782241)'))) / (select extract(epoch from '2026-07-04 13:35:53'::timestamp) - extract(epoch from '2026-07-04 13:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39792 -2.78226)', '2026-07-04 13:36:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397947 -2.782241)'), GeomFromEWKT('SRID=4674;POINT (-40.39792 -2.78226)'))) / (select extract(epoch from '2026-07-04 13:36:00'::timestamp) - extract(epoch from '2026-07-04 13:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397947 -2.782241)'), GeomFromEWKT('SRID=4674;POINT (-40.39792 -2.78226)'))) / (select extract(epoch from '2026-07-04 13:36:00'::timestamp) - extract(epoch from '2026-07-04 13:35: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'), 47817, 'SRID=4674;POINT (-40.397958 -2.782217)', '2026-07-04 13:36:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39792 -2.78226)'), GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.782217)'))) / (select extract(epoch from '2026-07-04 13:36:25'::timestamp) - extract(epoch from '2026-07-04 13:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39792 -2.78226)'), GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.782217)'))) / (select extract(epoch from '2026-07-04 13:36:25'::timestamp) - extract(epoch from '2026-07-04 13:36: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'), 47817, 'SRID=4674;POINT (-40.397987 -2.782202)', '2026-07-04 13:36:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.782217)'), GeomFromEWKT('SRID=4674;POINT (-40.397987 -2.782202)'))) / (select extract(epoch from '2026-07-04 13:36:37'::timestamp) - extract(epoch from '2026-07-04 13:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.782217)'), GeomFromEWKT('SRID=4674;POINT (-40.397987 -2.782202)'))) / (select extract(epoch from '2026-07-04 13:36:37'::timestamp) - extract(epoch from '2026-07-04 13:36: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'), 47817, 'SRID=4674;POINT (-40.398045 -2.782165)', '2026-07-04 13:36:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397987 -2.782202)'), GeomFromEWKT('SRID=4674;POINT (-40.398045 -2.782165)'))) / (select extract(epoch from '2026-07-04 13:36:50'::timestamp) - extract(epoch from '2026-07-04 13:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397987 -2.782202)'), GeomFromEWKT('SRID=4674;POINT (-40.398045 -2.782165)'))) / (select extract(epoch from '2026-07-04 13:36:50'::timestamp) - extract(epoch from '2026-07-04 13:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398069 -2.782146)', '2026-07-04 13:36:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398045 -2.782165)'), GeomFromEWKT('SRID=4674;POINT (-40.398069 -2.782146)'))) / (select extract(epoch from '2026-07-04 13:36:57'::timestamp) - extract(epoch from '2026-07-04 13:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398045 -2.782165)'), GeomFromEWKT('SRID=4674;POINT (-40.398069 -2.782146)'))) / (select extract(epoch from '2026-07-04 13:36:57'::timestamp) - extract(epoch from '2026-07-04 13:36: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'), 47817, 'SRID=4674;POINT (-40.398051 -2.782087)', '2026-07-04 13:37:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398069 -2.782146)'), GeomFromEWKT('SRID=4674;POINT (-40.398051 -2.782087)'))) / (select extract(epoch from '2026-07-04 13:37:03'::timestamp) - extract(epoch from '2026-07-04 13:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398069 -2.782146)'), GeomFromEWKT('SRID=4674;POINT (-40.398051 -2.782087)'))) / (select extract(epoch from '2026-07-04 13:37:03'::timestamp) - extract(epoch from '2026-07-04 13:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398074 -2.781986)', '2026-07-04 13:37:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398051 -2.782087)'), GeomFromEWKT('SRID=4674;POINT (-40.398074 -2.781986)'))) / (select extract(epoch from '2026-07-04 13:37:10'::timestamp) - extract(epoch from '2026-07-04 13:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398051 -2.782087)'), GeomFromEWKT('SRID=4674;POINT (-40.398074 -2.781986)'))) / (select extract(epoch from '2026-07-04 13:37:10'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.398164 -2.781956)', '2026-07-04 13:37:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398074 -2.781986)'), GeomFromEWKT('SRID=4674;POINT (-40.398164 -2.781956)'))) / (select extract(epoch from '2026-07-04 13:37:16'::timestamp) - extract(epoch from '2026-07-04 13:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398074 -2.781986)'), GeomFromEWKT('SRID=4674;POINT (-40.398164 -2.781956)'))) / (select extract(epoch from '2026-07-04 13:37:16'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.398261 -2.782011)', '2026-07-04 13:37:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398164 -2.781956)'), GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.782011)'))) / (select extract(epoch from '2026-07-04 13:37:23'::timestamp) - extract(epoch from '2026-07-04 13:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398164 -2.781956)'), GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.782011)'))) / (select extract(epoch from '2026-07-04 13:37:23'::timestamp) - extract(epoch from '2026-07-04 13:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398346 -2.782103)', '2026-07-04 13:37:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.782011)'), GeomFromEWKT('SRID=4674;POINT (-40.398346 -2.782103)'))) / (select extract(epoch from '2026-07-04 13:37:30'::timestamp) - extract(epoch from '2026-07-04 13:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.782011)'), GeomFromEWKT('SRID=4674;POINT (-40.398346 -2.782103)'))) / (select extract(epoch from '2026-07-04 13:37:30'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.39843 -2.782228)', '2026-07-04 13:37:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398346 -2.782103)'), GeomFromEWKT('SRID=4674;POINT (-40.39843 -2.782228)'))) / (select extract(epoch from '2026-07-04 13:37:37'::timestamp) - extract(epoch from '2026-07-04 13:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398346 -2.782103)'), GeomFromEWKT('SRID=4674;POINT (-40.39843 -2.782228)'))) / (select extract(epoch from '2026-07-04 13:37:37'::timestamp) - extract(epoch from '2026-07-04 13:37: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'), 47817, 'SRID=4674;POINT (-40.398542 -2.782345)', '2026-07-04 13:37:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39843 -2.782228)'), GeomFromEWKT('SRID=4674;POINT (-40.398542 -2.782345)'))) / (select extract(epoch from '2026-07-04 13:37:44'::timestamp) - extract(epoch from '2026-07-04 13:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39843 -2.782228)'), GeomFromEWKT('SRID=4674;POINT (-40.398542 -2.782345)'))) / (select extract(epoch from '2026-07-04 13:37:44'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.398679 -2.782456)', '2026-07-04 13:37:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398542 -2.782345)'), GeomFromEWKT('SRID=4674;POINT (-40.398679 -2.782456)'))) / (select extract(epoch from '2026-07-04 13:37:51'::timestamp) - extract(epoch from '2026-07-04 13:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398542 -2.782345)'), GeomFromEWKT('SRID=4674;POINT (-40.398679 -2.782456)'))) / (select extract(epoch from '2026-07-04 13:37:51'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.398788 -2.782509)', '2026-07-04 13:37:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398679 -2.782456)'), GeomFromEWKT('SRID=4674;POINT (-40.398788 -2.782509)'))) / (select extract(epoch from '2026-07-04 13:37:57'::timestamp) - extract(epoch from '2026-07-04 13:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398679 -2.782456)'), GeomFromEWKT('SRID=4674;POINT (-40.398788 -2.782509)'))) / (select extract(epoch from '2026-07-04 13:37:57'::timestamp) - extract(epoch from '2026-07-04 13:37: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'), 47817, 'SRID=4674;POINT (-40.398923 -2.782516)', '2026-07-04 13:38:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398788 -2.782509)'), GeomFromEWKT('SRID=4674;POINT (-40.398923 -2.782516)'))) / (select extract(epoch from '2026-07-04 13:38:03'::timestamp) - extract(epoch from '2026-07-04 13:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398788 -2.782509)'), GeomFromEWKT('SRID=4674;POINT (-40.398923 -2.782516)'))) / (select extract(epoch from '2026-07-04 13:38:03'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399017 -2.782533)', '2026-07-04 13:38:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398923 -2.782516)'), GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782533)'))) / (select extract(epoch from '2026-07-04 13:38:09'::timestamp) - extract(epoch from '2026-07-04 13:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398923 -2.782516)'), GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782533)'))) / (select extract(epoch from '2026-07-04 13:38:09'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399017 -2.782541)', '2026-07-04 13:38:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782533)'), GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782541)'))) / (select extract(epoch from '2026-07-04 13:38:10'::timestamp) - extract(epoch from '2026-07-04 13:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782533)'), GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782541)'))) / (select extract(epoch from '2026-07-04 13:38:10'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.39902 -2.78258)', '2026-07-04 13:38:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782541)'), GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.78258)'))) / (select extract(epoch from '2026-07-04 13:38:15'::timestamp) - extract(epoch from '2026-07-04 13:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399017 -2.782541)'), GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.78258)'))) / (select extract(epoch from '2026-07-04 13:38:15'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399033 -2.782633)', '2026-07-04 13:38:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.78258)'), GeomFromEWKT('SRID=4674;POINT (-40.399033 -2.782633)'))) / (select extract(epoch from '2026-07-04 13:38:22'::timestamp) - extract(epoch from '2026-07-04 13:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.78258)'), GeomFromEWKT('SRID=4674;POINT (-40.399033 -2.782633)'))) / (select extract(epoch from '2026-07-04 13:38:22'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.39908 -2.782693)', '2026-07-04 13:38:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399033 -2.782633)'), GeomFromEWKT('SRID=4674;POINT (-40.39908 -2.782693)'))) / (select extract(epoch from '2026-07-04 13:38:30'::timestamp) - extract(epoch from '2026-07-04 13:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399033 -2.782633)'), GeomFromEWKT('SRID=4674;POINT (-40.39908 -2.782693)'))) / (select extract(epoch from '2026-07-04 13:38:30'::timestamp) - extract(epoch from '2026-07-04 13:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39912 -2.782741)', '2026-07-04 13:38:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39908 -2.782693)'), GeomFromEWKT('SRID=4674;POINT (-40.39912 -2.782741)'))) / (select extract(epoch from '2026-07-04 13:38:36'::timestamp) - extract(epoch from '2026-07-04 13:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39908 -2.782693)'), GeomFromEWKT('SRID=4674;POINT (-40.39912 -2.782741)'))) / (select extract(epoch from '2026-07-04 13:38:36'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399138 -2.78274)', '2026-07-04 13:38:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39912 -2.782741)'), GeomFromEWKT('SRID=4674;POINT (-40.399138 -2.78274)'))) / (select extract(epoch from '2026-07-04 13:38:38'::timestamp) - extract(epoch from '2026-07-04 13:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39912 -2.782741)'), GeomFromEWKT('SRID=4674;POINT (-40.399138 -2.78274)'))) / (select extract(epoch from '2026-07-04 13:38:38'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399229 -2.782692)', '2026-07-04 13:38:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399138 -2.78274)'), GeomFromEWKT('SRID=4674;POINT (-40.399229 -2.782692)'))) / (select extract(epoch from '2026-07-04 13:38:45'::timestamp) - extract(epoch from '2026-07-04 13:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399138 -2.78274)'), GeomFromEWKT('SRID=4674;POINT (-40.399229 -2.782692)'))) / (select extract(epoch from '2026-07-04 13:38:45'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399243 -2.782595)', '2026-07-04 13:38:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399229 -2.782692)'), GeomFromEWKT('SRID=4674;POINT (-40.399243 -2.782595)'))) / (select extract(epoch from '2026-07-04 13:38:52'::timestamp) - extract(epoch from '2026-07-04 13:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399229 -2.782692)'), GeomFromEWKT('SRID=4674;POINT (-40.399243 -2.782595)'))) / (select extract(epoch from '2026-07-04 13:38:52'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399239 -2.782585)', '2026-07-04 13:38:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399243 -2.782595)'), GeomFromEWKT('SRID=4674;POINT (-40.399239 -2.782585)'))) / (select extract(epoch from '2026-07-04 13:38:53'::timestamp) - extract(epoch from '2026-07-04 13:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399243 -2.782595)'), GeomFromEWKT('SRID=4674;POINT (-40.399239 -2.782585)'))) / (select extract(epoch from '2026-07-04 13:38:53'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399173 -2.78254)', '2026-07-04 13:39:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399239 -2.782585)'), GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.78254)'))) / (select extract(epoch from '2026-07-04 13:39:00'::timestamp) - extract(epoch from '2026-07-04 13:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399239 -2.782585)'), GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.78254)'))) / (select extract(epoch from '2026-07-04 13:39:00'::timestamp) - extract(epoch from '2026-07-04 13:38: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'), 47817, 'SRID=4674;POINT (-40.399116 -2.782548)', '2026-07-04 13:39:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.78254)'), GeomFromEWKT('SRID=4674;POINT (-40.399116 -2.782548)'))) / (select extract(epoch from '2026-07-04 13:39:08'::timestamp) - extract(epoch from '2026-07-04 13:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.78254)'), GeomFromEWKT('SRID=4674;POINT (-40.399116 -2.782548)'))) / (select extract(epoch from '2026-07-04 13:39:08'::timestamp) - extract(epoch from '2026-07-04 13:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399073 -2.782591)', '2026-07-04 13:39:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399116 -2.782548)'), GeomFromEWKT('SRID=4674;POINT (-40.399073 -2.782591)'))) / (select extract(epoch from '2026-07-04 13:39:17'::timestamp) - extract(epoch from '2026-07-04 13:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399116 -2.782548)'), GeomFromEWKT('SRID=4674;POINT (-40.399073 -2.782591)'))) / (select extract(epoch from '2026-07-04 13:39:17'::timestamp) - extract(epoch from '2026-07-04 13:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399045 -2.782606)', '2026-07-04 13:39:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399073 -2.782591)'), GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.782606)'))) / (select extract(epoch from '2026-07-04 13:39:26'::timestamp) - extract(epoch from '2026-07-04 13:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399073 -2.782591)'), GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.782606)'))) / (select extract(epoch from '2026-07-04 13:39:26'::timestamp) - extract(epoch from '2026-07-04 13:39: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'), 47817, 'SRID=4674;POINT (-40.3991 -2.782518)', '2026-07-04 13:39:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.782606)'), GeomFromEWKT('SRID=4674;POINT (-40.3991 -2.782518)'))) / (select extract(epoch from '2026-07-04 13:39:56'::timestamp) - extract(epoch from '2026-07-04 13:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.782606)'), GeomFromEWKT('SRID=4674;POINT (-40.3991 -2.782518)'))) / (select extract(epoch from '2026-07-04 13:39:56'::timestamp) - extract(epoch from '2026-07-04 13:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399079 -2.782442)', '2026-07-04 13:40:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3991 -2.782518)'), GeomFromEWKT('SRID=4674;POINT (-40.399079 -2.782442)'))) / (select extract(epoch from '2026-07-04 13:40:09'::timestamp) - extract(epoch from '2026-07-04 13:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3991 -2.782518)'), GeomFromEWKT('SRID=4674;POINT (-40.399079 -2.782442)'))) / (select extract(epoch from '2026-07-04 13:40:09'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399012 -2.782482)', '2026-07-04 13:40:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399079 -2.782442)'), GeomFromEWKT('SRID=4674;POINT (-40.399012 -2.782482)'))) / (select extract(epoch from '2026-07-04 13:40:18'::timestamp) - extract(epoch from '2026-07-04 13:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399079 -2.782442)'), GeomFromEWKT('SRID=4674;POINT (-40.399012 -2.782482)'))) / (select extract(epoch from '2026-07-04 13:40:18'::timestamp) - extract(epoch from '2026-07-04 13:40: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'), 47817, 'SRID=4674;POINT (-40.39904 -2.78257)', '2026-07-04 13:40:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399012 -2.782482)'), GeomFromEWKT('SRID=4674;POINT (-40.39904 -2.78257)'))) / (select extract(epoch from '2026-07-04 13:40:27'::timestamp) - extract(epoch from '2026-07-04 13:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399012 -2.782482)'), GeomFromEWKT('SRID=4674;POINT (-40.39904 -2.78257)'))) / (select extract(epoch from '2026-07-04 13:40:27'::timestamp) - extract(epoch from '2026-07-04 13:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399133 -2.782642)', '2026-07-04 13:40:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39904 -2.78257)'), GeomFromEWKT('SRID=4674;POINT (-40.399133 -2.782642)'))) / (select extract(epoch from '2026-07-04 13:40:37'::timestamp) - extract(epoch from '2026-07-04 13:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39904 -2.78257)'), GeomFromEWKT('SRID=4674;POINT (-40.399133 -2.782642)'))) / (select extract(epoch from '2026-07-04 13:40:37'::timestamp) - extract(epoch from '2026-07-04 13:40: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'), 47817, 'SRID=4674;POINT (-40.399208 -2.782634)', '2026-07-04 13:40:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399133 -2.782642)'), GeomFromEWKT('SRID=4674;POINT (-40.399208 -2.782634)'))) / (select extract(epoch from '2026-07-04 13:40:47'::timestamp) - extract(epoch from '2026-07-04 13:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399133 -2.782642)'), GeomFromEWKT('SRID=4674;POINT (-40.399208 -2.782634)'))) / (select extract(epoch from '2026-07-04 13:40:47'::timestamp) - extract(epoch from '2026-07-04 13:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399256 -2.782597)', '2026-07-04 13:40:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399208 -2.782634)'), GeomFromEWKT('SRID=4674;POINT (-40.399256 -2.782597)'))) / (select extract(epoch from '2026-07-04 13:40:55'::timestamp) - extract(epoch from '2026-07-04 13:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399208 -2.782634)'), GeomFromEWKT('SRID=4674;POINT (-40.399256 -2.782597)'))) / (select extract(epoch from '2026-07-04 13:40:55'::timestamp) - extract(epoch from '2026-07-04 13:40: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'), 47817, 'SRID=4674;POINT (-40.399302 -2.782553)', '2026-07-04 13:41:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399256 -2.782597)'), GeomFromEWKT('SRID=4674;POINT (-40.399302 -2.782553)'))) / (select extract(epoch from '2026-07-04 13:41:05'::timestamp) - extract(epoch from '2026-07-04 13:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399256 -2.782597)'), GeomFromEWKT('SRID=4674;POINT (-40.399302 -2.782553)'))) / (select extract(epoch from '2026-07-04 13:41:05'::timestamp) - extract(epoch from '2026-07-04 13:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399333 -2.782517)', '2026-07-04 13:41:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399302 -2.782553)'), GeomFromEWKT('SRID=4674;POINT (-40.399333 -2.782517)'))) / (select extract(epoch from '2026-07-04 13:41:13'::timestamp) - extract(epoch from '2026-07-04 13:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399302 -2.782553)'), GeomFromEWKT('SRID=4674;POINT (-40.399333 -2.782517)'))) / (select extract(epoch from '2026-07-04 13:41:13'::timestamp) - extract(epoch from '2026-07-04 13:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399369 -2.782477)', '2026-07-04 13:41:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399333 -2.782517)'), GeomFromEWKT('SRID=4674;POINT (-40.399369 -2.782477)'))) / (select extract(epoch from '2026-07-04 13:41:27'::timestamp) - extract(epoch from '2026-07-04 13:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399333 -2.782517)'), GeomFromEWKT('SRID=4674;POINT (-40.399369 -2.782477)'))) / (select extract(epoch from '2026-07-04 13:41:27'::timestamp) - extract(epoch from '2026-07-04 13:41: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'), 47817, 'SRID=4674;POINT (-40.399426 -2.782462)', '2026-07-04 13:41:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399369 -2.782477)'), GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.782462)'))) / (select extract(epoch from '2026-07-04 13:41:49'::timestamp) - extract(epoch from '2026-07-04 13:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399369 -2.782477)'), GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.782462)'))) / (select extract(epoch from '2026-07-04 13:41:49'::timestamp) - extract(epoch from '2026-07-04 13:41: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'), 47817, 'SRID=4674;POINT (-40.399459 -2.782455)', '2026-07-04 13:41:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.782462)'), GeomFromEWKT('SRID=4674;POINT (-40.399459 -2.782455)'))) / (select extract(epoch from '2026-07-04 13:41:59'::timestamp) - extract(epoch from '2026-07-04 13:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.782462)'), GeomFromEWKT('SRID=4674;POINT (-40.399459 -2.782455)'))) / (select extract(epoch from '2026-07-04 13:41:59'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399497 -2.782426)', '2026-07-04 13:42:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399459 -2.782455)'), GeomFromEWKT('SRID=4674;POINT (-40.399497 -2.782426)'))) / (select extract(epoch from '2026-07-04 13:42:09'::timestamp) - extract(epoch from '2026-07-04 13:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399459 -2.782455)'), GeomFromEWKT('SRID=4674;POINT (-40.399497 -2.782426)'))) / (select extract(epoch from '2026-07-04 13:42:09'::timestamp) - extract(epoch from '2026-07-04 13:41: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'), 47817, 'SRID=4674;POINT (-40.399505 -2.78242)', '2026-07-04 13:42:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399497 -2.782426)'), GeomFromEWKT('SRID=4674;POINT (-40.399505 -2.78242)'))) / (select extract(epoch from '2026-07-04 13:42:23'::timestamp) - extract(epoch from '2026-07-04 13:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399497 -2.782426)'), GeomFromEWKT('SRID=4674;POINT (-40.399505 -2.78242)'))) / (select extract(epoch from '2026-07-04 13:42:23'::timestamp) - extract(epoch from '2026-07-04 13:42: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'), 47817, 'SRID=4674;POINT (-40.399598 -2.782372)', '2026-07-04 13:42:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399505 -2.78242)'), GeomFromEWKT('SRID=4674;POINT (-40.399598 -2.782372)'))) / (select extract(epoch from '2026-07-04 13:42:37'::timestamp) - extract(epoch from '2026-07-04 13:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399505 -2.78242)'), GeomFromEWKT('SRID=4674;POINT (-40.399598 -2.782372)'))) / (select extract(epoch from '2026-07-04 13:42:37'::timestamp) - extract(epoch from '2026-07-04 13:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399634 -2.782346)', '2026-07-04 13:42:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399598 -2.782372)'), GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.782346)'))) / (select extract(epoch from '2026-07-04 13:42:51'::timestamp) - extract(epoch from '2026-07-04 13:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399598 -2.782372)'), GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.782346)'))) / (select extract(epoch from '2026-07-04 13:42:51'::timestamp) - extract(epoch from '2026-07-04 13:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399685 -2.782302)', '2026-07-04 13:43:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.782346)'), GeomFromEWKT('SRID=4674;POINT (-40.399685 -2.782302)'))) / (select extract(epoch from '2026-07-04 13:43:08'::timestamp) - extract(epoch from '2026-07-04 13:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399634 -2.782346)'), GeomFromEWKT('SRID=4674;POINT (-40.399685 -2.782302)'))) / (select extract(epoch from '2026-07-04 13:43:08'::timestamp) - extract(epoch from '2026-07-04 13:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399713 -2.782275)', '2026-07-04 13:43:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399685 -2.782302)'), GeomFromEWKT('SRID=4674;POINT (-40.399713 -2.782275)'))) / (select extract(epoch from '2026-07-04 13:43:19'::timestamp) - extract(epoch from '2026-07-04 13:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399685 -2.782302)'), GeomFromEWKT('SRID=4674;POINT (-40.399713 -2.782275)'))) / (select extract(epoch from '2026-07-04 13:43:19'::timestamp) - extract(epoch from '2026-07-04 13:43: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'), 47817, 'SRID=4674;POINT (-40.399735 -2.782272)', '2026-07-04 13:43:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399713 -2.782275)'), GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.782272)'))) / (select extract(epoch from '2026-07-04 13:43:25'::timestamp) - extract(epoch from '2026-07-04 13:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399713 -2.782275)'), GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.782272)'))) / (select extract(epoch from '2026-07-04 13:43:25'::timestamp) - extract(epoch from '2026-07-04 13:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399762 -2.782258)', '2026-07-04 13:43:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.782272)'), GeomFromEWKT('SRID=4674;POINT (-40.399762 -2.782258)'))) / (select extract(epoch from '2026-07-04 13:43:34'::timestamp) - extract(epoch from '2026-07-04 13:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.782272)'), GeomFromEWKT('SRID=4674;POINT (-40.399762 -2.782258)'))) / (select extract(epoch from '2026-07-04 13:43:34'::timestamp) - extract(epoch from '2026-07-04 13:43: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'), 47817, 'SRID=4674;POINT (-40.399787 -2.782263)', '2026-07-04 13:43:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399762 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.399787 -2.782263)'))) / (select extract(epoch from '2026-07-04 13:43:42'::timestamp) - extract(epoch from '2026-07-04 13:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399762 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.399787 -2.782263)'))) / (select extract(epoch from '2026-07-04 13:43:42'::timestamp) - extract(epoch from '2026-07-04 13:43: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'), 47817, 'SRID=4674;POINT (-40.399811 -2.782244)', '2026-07-04 13:43:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399787 -2.782263)'), GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.782244)'))) / (select extract(epoch from '2026-07-04 13:43:52'::timestamp) - extract(epoch from '2026-07-04 13:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399787 -2.782263)'), GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.782244)'))) / (select extract(epoch from '2026-07-04 13:43:52'::timestamp) - extract(epoch from '2026-07-04 13:43: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'), 47817, 'SRID=4674;POINT (-40.399838 -2.782218)', '2026-07-04 13:44:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.782244)'), GeomFromEWKT('SRID=4674;POINT (-40.399838 -2.782218)'))) / (select extract(epoch from '2026-07-04 13:44:02'::timestamp) - extract(epoch from '2026-07-04 13:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.782244)'), GeomFromEWKT('SRID=4674;POINT (-40.399838 -2.782218)'))) / (select extract(epoch from '2026-07-04 13:44:02'::timestamp) - extract(epoch from '2026-07-04 13:43: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'), 47817, 'SRID=4674;POINT (-40.399878 -2.782127)', '2026-07-04 13:44:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399838 -2.782218)'), GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.782127)'))) / (select extract(epoch from '2026-07-04 13:44:14'::timestamp) - extract(epoch from '2026-07-04 13:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399838 -2.782218)'), GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.782127)'))) / (select extract(epoch from '2026-07-04 13:44:14'::timestamp) - extract(epoch from '2026-07-04 13:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399847 -2.782073)', '2026-07-04 13:44:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.782127)'), GeomFromEWKT('SRID=4674;POINT (-40.399847 -2.782073)'))) / (select extract(epoch from '2026-07-04 13:44:25'::timestamp) - extract(epoch from '2026-07-04 13:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.782127)'), GeomFromEWKT('SRID=4674;POINT (-40.399847 -2.782073)'))) / (select extract(epoch from '2026-07-04 13:44:25'::timestamp) - extract(epoch from '2026-07-04 13:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399745 -2.782088)', '2026-07-04 13:44:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399847 -2.782073)'), GeomFromEWKT('SRID=4674;POINT (-40.399745 -2.782088)'))) / (select extract(epoch from '2026-07-04 13:44:36'::timestamp) - extract(epoch from '2026-07-04 13:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399847 -2.782073)'), GeomFromEWKT('SRID=4674;POINT (-40.399745 -2.782088)'))) / (select extract(epoch from '2026-07-04 13:44:36'::timestamp) - extract(epoch from '2026-07-04 13:44: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'), 47817, 'SRID=4674;POINT (-40.399741 -2.7821)', '2026-07-04 13:44:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399745 -2.782088)'), GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.7821)'))) / (select extract(epoch from '2026-07-04 13:44:37'::timestamp) - extract(epoch from '2026-07-04 13:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399745 -2.782088)'), GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.7821)'))) / (select extract(epoch from '2026-07-04 13:44:37'::timestamp) - extract(epoch from '2026-07-04 13:44:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399741 -2.782201)', '2026-07-04 13:44:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.7821)'), GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.782201)'))) / (select extract(epoch from '2026-07-04 13:44:43'::timestamp) - extract(epoch from '2026-07-04 13:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.7821)'), GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.782201)'))) / (select extract(epoch from '2026-07-04 13:44:43'::timestamp) - extract(epoch from '2026-07-04 13:44: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'), 47817, 'SRID=4674;POINT (-40.399733 -2.782331)', '2026-07-04 13:44:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.782201)'), GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.782331)'))) / (select extract(epoch from '2026-07-04 13:44:51'::timestamp) - extract(epoch from '2026-07-04 13:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399741 -2.782201)'), GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.782331)'))) / (select extract(epoch from '2026-07-04 13:44:51'::timestamp) - extract(epoch from '2026-07-04 13:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399652 -2.782435)', '2026-07-04 13:44:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.782331)'), GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.782435)'))) / (select extract(epoch from '2026-07-04 13:44:59'::timestamp) - extract(epoch from '2026-07-04 13:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.782331)'), GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.782435)'))) / (select extract(epoch from '2026-07-04 13:44:59'::timestamp) - extract(epoch from '2026-07-04 13:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399588 -2.782549)', '2026-07-04 13:45:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.782435)'), GeomFromEWKT('SRID=4674;POINT (-40.399588 -2.782549)'))) / (select extract(epoch from '2026-07-04 13:45:07'::timestamp) - extract(epoch from '2026-07-04 13:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399652 -2.782435)'), GeomFromEWKT('SRID=4674;POINT (-40.399588 -2.782549)'))) / (select extract(epoch from '2026-07-04 13:45:07'::timestamp) - extract(epoch from '2026-07-04 13:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399554 -2.782678)', '2026-07-04 13:45:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399588 -2.782549)'), GeomFromEWKT('SRID=4674;POINT (-40.399554 -2.782678)'))) / (select extract(epoch from '2026-07-04 13:45:14'::timestamp) - extract(epoch from '2026-07-04 13:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399588 -2.782549)'), GeomFromEWKT('SRID=4674;POINT (-40.399554 -2.782678)'))) / (select extract(epoch from '2026-07-04 13:45:14'::timestamp) - extract(epoch from '2026-07-04 13:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399508 -2.782801)', '2026-07-04 13:45:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399554 -2.782678)'), GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.782801)'))) / (select extract(epoch from '2026-07-04 13:45:21'::timestamp) - extract(epoch from '2026-07-04 13:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399554 -2.782678)'), GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.782801)'))) / (select extract(epoch from '2026-07-04 13:45:21'::timestamp) - extract(epoch from '2026-07-04 13:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399404 -2.782879)', '2026-07-04 13:45:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.782801)'), GeomFromEWKT('SRID=4674;POINT (-40.399404 -2.782879)'))) / (select extract(epoch from '2026-07-04 13:45:29'::timestamp) - extract(epoch from '2026-07-04 13:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.782801)'), GeomFromEWKT('SRID=4674;POINT (-40.399404 -2.782879)'))) / (select extract(epoch from '2026-07-04 13:45:29'::timestamp) - extract(epoch from '2026-07-04 13:45: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'), 47817, 'SRID=4674;POINT (-40.399326 -2.782969)', '2026-07-04 13:45:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399404 -2.782879)'), GeomFromEWKT('SRID=4674;POINT (-40.399326 -2.782969)'))) / (select extract(epoch from '2026-07-04 13:45:38'::timestamp) - extract(epoch from '2026-07-04 13:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399404 -2.782879)'), GeomFromEWKT('SRID=4674;POINT (-40.399326 -2.782969)'))) / (select extract(epoch from '2026-07-04 13:45:38'::timestamp) - extract(epoch from '2026-07-04 13:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399251 -2.783083)', '2026-07-04 13:45:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399326 -2.782969)'), GeomFromEWKT('SRID=4674;POINT (-40.399251 -2.783083)'))) / (select extract(epoch from '2026-07-04 13:45:46'::timestamp) - extract(epoch from '2026-07-04 13:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399326 -2.782969)'), GeomFromEWKT('SRID=4674;POINT (-40.399251 -2.783083)'))) / (select extract(epoch from '2026-07-04 13:45:46'::timestamp) - extract(epoch from '2026-07-04 13:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399164 -2.783168)', '2026-07-04 13:45:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399251 -2.783083)'), GeomFromEWKT('SRID=4674;POINT (-40.399164 -2.783168)'))) / (select extract(epoch from '2026-07-04 13:45:53'::timestamp) - extract(epoch from '2026-07-04 13:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399251 -2.783083)'), GeomFromEWKT('SRID=4674;POINT (-40.399164 -2.783168)'))) / (select extract(epoch from '2026-07-04 13:45:53'::timestamp) - extract(epoch from '2026-07-04 13:45: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'), 47817, 'SRID=4674;POINT (-40.399095 -2.783264)', '2026-07-04 13:46:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399164 -2.783168)'), GeomFromEWKT('SRID=4674;POINT (-40.399095 -2.783264)'))) / (select extract(epoch from '2026-07-04 13:46:01'::timestamp) - extract(epoch from '2026-07-04 13:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399164 -2.783168)'), GeomFromEWKT('SRID=4674;POINT (-40.399095 -2.783264)'))) / (select extract(epoch from '2026-07-04 13:46:01'::timestamp) - extract(epoch from '2026-07-04 13:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39902 -2.783351)', '2026-07-04 13:46:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399095 -2.783264)'), GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.783351)'))) / (select extract(epoch from '2026-07-04 13:46:09'::timestamp) - extract(epoch from '2026-07-04 13:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399095 -2.783264)'), GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.783351)'))) / (select extract(epoch from '2026-07-04 13:46:09'::timestamp) - extract(epoch from '2026-07-04 13:46: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'), 47817, 'SRID=4674;POINT (-40.39894 -2.783425)', '2026-07-04 13:46:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783425)'))) / (select extract(epoch from '2026-07-04 13:46:16'::timestamp) - extract(epoch from '2026-07-04 13:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39902 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783425)'))) / (select extract(epoch from '2026-07-04 13:46:16'::timestamp) - extract(epoch from '2026-07-04 13:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398834 -2.783508)', '2026-07-04 13:46:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.398834 -2.783508)'))) / (select extract(epoch from '2026-07-04 13:46:24'::timestamp) - extract(epoch from '2026-07-04 13:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.398834 -2.783508)'))) / (select extract(epoch from '2026-07-04 13:46:24'::timestamp) - extract(epoch from '2026-07-04 13:46: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'), 47817, 'SRID=4674;POINT (-40.398775 -2.783576)', '2026-07-04 13:46:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398834 -2.783508)'), GeomFromEWKT('SRID=4674;POINT (-40.398775 -2.783576)'))) / (select extract(epoch from '2026-07-04 13:46:30'::timestamp) - extract(epoch from '2026-07-04 13:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398834 -2.783508)'), GeomFromEWKT('SRID=4674;POINT (-40.398775 -2.783576)'))) / (select extract(epoch from '2026-07-04 13:46:30'::timestamp) - extract(epoch from '2026-07-04 13:46: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'), 47817, 'SRID=4674;POINT (-40.398739 -2.78367)', '2026-07-04 13:46:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398775 -2.783576)'), GeomFromEWKT('SRID=4674;POINT (-40.398739 -2.78367)'))) / (select extract(epoch from '2026-07-04 13:46:38'::timestamp) - extract(epoch from '2026-07-04 13:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398775 -2.783576)'), GeomFromEWKT('SRID=4674;POINT (-40.398739 -2.78367)'))) / (select extract(epoch from '2026-07-04 13:46:38'::timestamp) - extract(epoch from '2026-07-04 13:46: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'), 47817, 'SRID=4674;POINT (-40.398727 -2.783788)', '2026-07-04 13:46:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398739 -2.78367)'), GeomFromEWKT('SRID=4674;POINT (-40.398727 -2.783788)'))) / (select extract(epoch from '2026-07-04 13:46:46'::timestamp) - extract(epoch from '2026-07-04 13:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398739 -2.78367)'), GeomFromEWKT('SRID=4674;POINT (-40.398727 -2.783788)'))) / (select extract(epoch from '2026-07-04 13:46:46'::timestamp) - extract(epoch from '2026-07-04 13:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398699 -2.783869)', '2026-07-04 13:46:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398727 -2.783788)'), GeomFromEWKT('SRID=4674;POINT (-40.398699 -2.783869)'))) / (select extract(epoch from '2026-07-04 13:46:53'::timestamp) - extract(epoch from '2026-07-04 13:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398727 -2.783788)'), GeomFromEWKT('SRID=4674;POINT (-40.398699 -2.783869)'))) / (select extract(epoch from '2026-07-04 13:46:53'::timestamp) - extract(epoch from '2026-07-04 13:46: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'), 47817, 'SRID=4674;POINT (-40.398717 -2.78392)', '2026-07-04 13:47:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398699 -2.783869)'), GeomFromEWKT('SRID=4674;POINT (-40.398717 -2.78392)'))) / (select extract(epoch from '2026-07-04 13:47:00'::timestamp) - extract(epoch from '2026-07-04 13:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398699 -2.783869)'), GeomFromEWKT('SRID=4674;POINT (-40.398717 -2.78392)'))) / (select extract(epoch from '2026-07-04 13:47:00'::timestamp) - extract(epoch from '2026-07-04 13:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398781 -2.783964)', '2026-07-04 13:47:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398717 -2.78392)'), GeomFromEWKT('SRID=4674;POINT (-40.398781 -2.783964)'))) / (select extract(epoch from '2026-07-04 13:47:07'::timestamp) - extract(epoch from '2026-07-04 13:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398717 -2.78392)'), GeomFromEWKT('SRID=4674;POINT (-40.398781 -2.783964)'))) / (select extract(epoch from '2026-07-04 13:47:07'::timestamp) - extract(epoch from '2026-07-04 13:47:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398854 -2.783941)', '2026-07-04 13:47:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398781 -2.783964)'), GeomFromEWKT('SRID=4674;POINT (-40.398854 -2.783941)'))) / (select extract(epoch from '2026-07-04 13:47:14'::timestamp) - extract(epoch from '2026-07-04 13:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398781 -2.783964)'), GeomFromEWKT('SRID=4674;POINT (-40.398854 -2.783941)'))) / (select extract(epoch from '2026-07-04 13:47:14'::timestamp) - extract(epoch from '2026-07-04 13:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398889 -2.783875)', '2026-07-04 13:47:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398854 -2.783941)'), GeomFromEWKT('SRID=4674;POINT (-40.398889 -2.783875)'))) / (select extract(epoch from '2026-07-04 13:47:21'::timestamp) - extract(epoch from '2026-07-04 13:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398854 -2.783941)'), GeomFromEWKT('SRID=4674;POINT (-40.398889 -2.783875)'))) / (select extract(epoch from '2026-07-04 13:47:21'::timestamp) - extract(epoch from '2026-07-04 13:47: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'), 47817, 'SRID=4674;POINT (-40.398897 -2.783824)', '2026-07-04 13:47:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398889 -2.783875)'), GeomFromEWKT('SRID=4674;POINT (-40.398897 -2.783824)'))) / (select extract(epoch from '2026-07-04 13:47:30'::timestamp) - extract(epoch from '2026-07-04 13:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398889 -2.783875)'), GeomFromEWKT('SRID=4674;POINT (-40.398897 -2.783824)'))) / (select extract(epoch from '2026-07-04 13:47:30'::timestamp) - extract(epoch from '2026-07-04 13:47: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'), 47817, 'SRID=4674;POINT (-40.398837 -2.783745)', '2026-07-04 13:47:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398897 -2.783824)'), GeomFromEWKT('SRID=4674;POINT (-40.398837 -2.783745)'))) / (select extract(epoch from '2026-07-04 13:47:43'::timestamp) - extract(epoch from '2026-07-04 13:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398897 -2.783824)'), GeomFromEWKT('SRID=4674;POINT (-40.398837 -2.783745)'))) / (select extract(epoch from '2026-07-04 13:47:43'::timestamp) - extract(epoch from '2026-07-04 13:47: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'), 47817, 'SRID=4674;POINT (-40.398754 -2.783756)', '2026-07-04 13:47:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398837 -2.783745)'), GeomFromEWKT('SRID=4674;POINT (-40.398754 -2.783756)'))) / (select extract(epoch from '2026-07-04 13:47:53'::timestamp) - extract(epoch from '2026-07-04 13:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398837 -2.783745)'), GeomFromEWKT('SRID=4674;POINT (-40.398754 -2.783756)'))) / (select extract(epoch from '2026-07-04 13:47:53'::timestamp) - extract(epoch from '2026-07-04 13:47: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'), 47817, 'SRID=4674;POINT (-40.398681 -2.783767)', '2026-07-04 13:48:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398754 -2.783756)'), GeomFromEWKT('SRID=4674;POINT (-40.398681 -2.783767)'))) / (select extract(epoch from '2026-07-04 13:48:06'::timestamp) - extract(epoch from '2026-07-04 13:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398754 -2.783756)'), GeomFromEWKT('SRID=4674;POINT (-40.398681 -2.783767)'))) / (select extract(epoch from '2026-07-04 13:48:06'::timestamp) - extract(epoch from '2026-07-04 13:47: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'), 47817, 'SRID=4674;POINT (-40.398659 -2.783814)', '2026-07-04 13:48:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398681 -2.783767)'), GeomFromEWKT('SRID=4674;POINT (-40.398659 -2.783814)'))) / (select extract(epoch from '2026-07-04 13:48:16'::timestamp) - extract(epoch from '2026-07-04 13:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398681 -2.783767)'), GeomFromEWKT('SRID=4674;POINT (-40.398659 -2.783814)'))) / (select extract(epoch from '2026-07-04 13:48:16'::timestamp) - extract(epoch from '2026-07-04 13:48: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'), 47817, 'SRID=4674;POINT (-40.398704 -2.783903)', '2026-07-04 13:48:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398659 -2.783814)'), GeomFromEWKT('SRID=4674;POINT (-40.398704 -2.783903)'))) / (select extract(epoch from '2026-07-04 13:48:27'::timestamp) - extract(epoch from '2026-07-04 13:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398659 -2.783814)'), GeomFromEWKT('SRID=4674;POINT (-40.398704 -2.783903)'))) / (select extract(epoch from '2026-07-04 13:48:27'::timestamp) - extract(epoch from '2026-07-04 13:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398809 -2.78396)', '2026-07-04 13:48:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398704 -2.783903)'), GeomFromEWKT('SRID=4674;POINT (-40.398809 -2.78396)'))) / (select extract(epoch from '2026-07-04 13:48:39'::timestamp) - extract(epoch from '2026-07-04 13:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398704 -2.783903)'), GeomFromEWKT('SRID=4674;POINT (-40.398809 -2.78396)'))) / (select extract(epoch from '2026-07-04 13:48:39'::timestamp) - extract(epoch from '2026-07-04 13:48: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'), 47817, 'SRID=4674;POINT (-40.39894 -2.783933)', '2026-07-04 13:48:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398809 -2.78396)'), GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783933)'))) / (select extract(epoch from '2026-07-04 13:48:52'::timestamp) - extract(epoch from '2026-07-04 13:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398809 -2.78396)'), GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783933)'))) / (select extract(epoch from '2026-07-04 13:48:52'::timestamp) - extract(epoch from '2026-07-04 13:48: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'), 47817, 'SRID=4674;POINT (-40.398955 -2.783913)', '2026-07-04 13:48:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783933)'), GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783913)'))) / (select extract(epoch from '2026-07-04 13:48:54'::timestamp) - extract(epoch from '2026-07-04 13:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39894 -2.783933)'), GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783913)'))) / (select extract(epoch from '2026-07-04 13:48:54'::timestamp) - extract(epoch from '2026-07-04 13:48: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'), 47817, 'SRID=4674;POINT (-40.398955 -2.783866)', '2026-07-04 13:48:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783913)'), GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783866)'))) / (select extract(epoch from '2026-07-04 13:48:58'::timestamp) - extract(epoch from '2026-07-04 13:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783913)'), GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783866)'))) / (select extract(epoch from '2026-07-04 13:48:58'::timestamp) - extract(epoch from '2026-07-04 13:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398924 -2.78381)', '2026-07-04 13:49:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783866)'), GeomFromEWKT('SRID=4674;POINT (-40.398924 -2.78381)'))) / (select extract(epoch from '2026-07-04 13:49:05'::timestamp) - extract(epoch from '2026-07-04 13:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398955 -2.783866)'), GeomFromEWKT('SRID=4674;POINT (-40.398924 -2.78381)'))) / (select extract(epoch from '2026-07-04 13:49:05'::timestamp) - extract(epoch from '2026-07-04 13:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398884 -2.783778)', '2026-07-04 13:49:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398924 -2.78381)'), GeomFromEWKT('SRID=4674;POINT (-40.398884 -2.783778)'))) / (select extract(epoch from '2026-07-04 13:49:20'::timestamp) - extract(epoch from '2026-07-04 13:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398924 -2.78381)'), GeomFromEWKT('SRID=4674;POINT (-40.398884 -2.783778)'))) / (select extract(epoch from '2026-07-04 13:49:20'::timestamp) - extract(epoch from '2026-07-04 13:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398929 -2.783735)', '2026-07-04 13:50:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398884 -2.783778)'), GeomFromEWKT('SRID=4674;POINT (-40.398929 -2.783735)'))) / (select extract(epoch from '2026-07-04 13:50:03'::timestamp) - extract(epoch from '2026-07-04 13:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398884 -2.783778)'), GeomFromEWKT('SRID=4674;POINT (-40.398929 -2.783735)'))) / (select extract(epoch from '2026-07-04 13:50:03'::timestamp) - extract(epoch from '2026-07-04 13:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398992 -2.7837)', '2026-07-04 13:50:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398929 -2.783735)'), GeomFromEWKT('SRID=4674;POINT (-40.398992 -2.7837)'))) / (select extract(epoch from '2026-07-04 13:50:14'::timestamp) - extract(epoch from '2026-07-04 13:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398929 -2.783735)'), GeomFromEWKT('SRID=4674;POINT (-40.398992 -2.7837)'))) / (select extract(epoch from '2026-07-04 13:50:14'::timestamp) - extract(epoch from '2026-07-04 13:50: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'), 47817, 'SRID=4674;POINT (-40.399043 -2.783668)', '2026-07-04 13:50:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398992 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.399043 -2.783668)'))) / (select extract(epoch from '2026-07-04 13:50:23'::timestamp) - extract(epoch from '2026-07-04 13:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398992 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.399043 -2.783668)'))) / (select extract(epoch from '2026-07-04 13:50:23'::timestamp) - extract(epoch from '2026-07-04 13:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399067 -2.783627)', '2026-07-04 13:50:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399043 -2.783668)'), GeomFromEWKT('SRID=4674;POINT (-40.399067 -2.783627)'))) / (select extract(epoch from '2026-07-04 13:50:31'::timestamp) - extract(epoch from '2026-07-04 13:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399043 -2.783668)'), GeomFromEWKT('SRID=4674;POINT (-40.399067 -2.783627)'))) / (select extract(epoch from '2026-07-04 13:50:31'::timestamp) - extract(epoch from '2026-07-04 13:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399084 -2.78356)', '2026-07-04 13:50:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399067 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.399084 -2.78356)'))) / (select extract(epoch from '2026-07-04 13:50:39'::timestamp) - extract(epoch from '2026-07-04 13:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399067 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.399084 -2.78356)'))) / (select extract(epoch from '2026-07-04 13:50:39'::timestamp) - extract(epoch from '2026-07-04 13:50: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'), 47817, 'SRID=4674;POINT (-40.399037 -2.783512)', '2026-07-04 13:50:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399084 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.399037 -2.783512)'))) / (select extract(epoch from '2026-07-04 13:50:48'::timestamp) - extract(epoch from '2026-07-04 13:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399084 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.399037 -2.783512)'))) / (select extract(epoch from '2026-07-04 13:50:48'::timestamp) - extract(epoch from '2026-07-04 13:50: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'), 47817, 'SRID=4674;POINT (-40.398998 -2.783531)', '2026-07-04 13:50:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399037 -2.783512)'), GeomFromEWKT('SRID=4674;POINT (-40.398998 -2.783531)'))) / (select extract(epoch from '2026-07-04 13:50:54'::timestamp) - extract(epoch from '2026-07-04 13:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399037 -2.783512)'), GeomFromEWKT('SRID=4674;POINT (-40.398998 -2.783531)'))) / (select extract(epoch from '2026-07-04 13:50:54'::timestamp) - extract(epoch from '2026-07-04 13:50: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'), 47817, 'SRID=4674;POINT (-40.398965 -2.783595)', '2026-07-04 13:51:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398998 -2.783531)'), GeomFromEWKT('SRID=4674;POINT (-40.398965 -2.783595)'))) / (select extract(epoch from '2026-07-04 13:51:00'::timestamp) - extract(epoch from '2026-07-04 13:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398998 -2.783531)'), GeomFromEWKT('SRID=4674;POINT (-40.398965 -2.783595)'))) / (select extract(epoch from '2026-07-04 13:51:00'::timestamp) - extract(epoch from '2026-07-04 13:50: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'), 47817, 'SRID=4674;POINT (-40.398969 -2.783627)', '2026-07-04 13:51:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398965 -2.783595)'), GeomFromEWKT('SRID=4674;POINT (-40.398969 -2.783627)'))) / (select extract(epoch from '2026-07-04 13:51:02'::timestamp) - extract(epoch from '2026-07-04 13:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398965 -2.783595)'), GeomFromEWKT('SRID=4674;POINT (-40.398969 -2.783627)'))) / (select extract(epoch from '2026-07-04 13:51:02'::timestamp) - extract(epoch from '2026-07-04 13:51: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'), 47817, 'SRID=4674;POINT (-40.399014 -2.783755)', '2026-07-04 13:51:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398969 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.399014 -2.783755)'))) / (select extract(epoch from '2026-07-04 13:51:10'::timestamp) - extract(epoch from '2026-07-04 13:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398969 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.399014 -2.783755)'))) / (select extract(epoch from '2026-07-04 13:51:10'::timestamp) - extract(epoch from '2026-07-04 13:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399144 -2.78388)', '2026-07-04 13:51:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399014 -2.783755)'), GeomFromEWKT('SRID=4674;POINT (-40.399144 -2.78388)'))) / (select extract(epoch from '2026-07-04 13:51:17'::timestamp) - extract(epoch from '2026-07-04 13:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399014 -2.783755)'), GeomFromEWKT('SRID=4674;POINT (-40.399144 -2.78388)'))) / (select extract(epoch from '2026-07-04 13:51:17'::timestamp) - extract(epoch from '2026-07-04 13:51: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'), 47817, 'SRID=4674;POINT (-40.399244 -2.783957)', '2026-07-04 13:51:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399144 -2.78388)'), GeomFromEWKT('SRID=4674;POINT (-40.399244 -2.783957)'))) / (select extract(epoch from '2026-07-04 13:51:23'::timestamp) - extract(epoch from '2026-07-04 13:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399144 -2.78388)'), GeomFromEWKT('SRID=4674;POINT (-40.399244 -2.783957)'))) / (select extract(epoch from '2026-07-04 13:51:23'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399299 -2.784043)', '2026-07-04 13:51:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399244 -2.783957)'), GeomFromEWKT('SRID=4674;POINT (-40.399299 -2.784043)'))) / (select extract(epoch from '2026-07-04 13:51:30'::timestamp) - extract(epoch from '2026-07-04 13:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399244 -2.783957)'), GeomFromEWKT('SRID=4674;POINT (-40.399299 -2.784043)'))) / (select extract(epoch from '2026-07-04 13:51:30'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399349 -2.784163)', '2026-07-04 13:51:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399299 -2.784043)'), GeomFromEWKT('SRID=4674;POINT (-40.399349 -2.784163)'))) / (select extract(epoch from '2026-07-04 13:51:38'::timestamp) - extract(epoch from '2026-07-04 13:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399299 -2.784043)'), GeomFromEWKT('SRID=4674;POINT (-40.399349 -2.784163)'))) / (select extract(epoch from '2026-07-04 13:51:38'::timestamp) - extract(epoch from '2026-07-04 13:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399426 -2.784304)', '2026-07-04 13:51:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399349 -2.784163)'), GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.784304)'))) / (select extract(epoch from '2026-07-04 13:51:47'::timestamp) - extract(epoch from '2026-07-04 13:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399349 -2.784163)'), GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.784304)'))) / (select extract(epoch from '2026-07-04 13:51:47'::timestamp) - extract(epoch from '2026-07-04 13:51: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'), 47817, 'SRID=4674;POINT (-40.399457 -2.784385)', '2026-07-04 13:51:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.399457 -2.784385)'))) / (select extract(epoch from '2026-07-04 13:51:53'::timestamp) - extract(epoch from '2026-07-04 13:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399426 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.399457 -2.784385)'))) / (select extract(epoch from '2026-07-04 13:51:53'::timestamp) - extract(epoch from '2026-07-04 13:51: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'), 47817, 'SRID=4674;POINT (-40.399452 -2.784496)', '2026-07-04 13:52:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399457 -2.784385)'), GeomFromEWKT('SRID=4674;POINT (-40.399452 -2.784496)'))) / (select extract(epoch from '2026-07-04 13:52:00'::timestamp) - extract(epoch from '2026-07-04 13:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399457 -2.784385)'), GeomFromEWKT('SRID=4674;POINT (-40.399452 -2.784496)'))) / (select extract(epoch from '2026-07-04 13:52:00'::timestamp) - extract(epoch from '2026-07-04 13:51: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'), 47817, 'SRID=4674;POINT (-40.399453 -2.784596)', '2026-07-04 13:52:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399452 -2.784496)'), GeomFromEWKT('SRID=4674;POINT (-40.399453 -2.784596)'))) / (select extract(epoch from '2026-07-04 13:52:07'::timestamp) - extract(epoch from '2026-07-04 13:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399452 -2.784496)'), GeomFromEWKT('SRID=4674;POINT (-40.399453 -2.784596)'))) / (select extract(epoch from '2026-07-04 13:52:07'::timestamp) - extract(epoch from '2026-07-04 13:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399455 -2.784687)', '2026-07-04 13:52:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399453 -2.784596)'), GeomFromEWKT('SRID=4674;POINT (-40.399455 -2.784687)'))) / (select extract(epoch from '2026-07-04 13:52:15'::timestamp) - extract(epoch from '2026-07-04 13:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399453 -2.784596)'), GeomFromEWKT('SRID=4674;POINT (-40.399455 -2.784687)'))) / (select extract(epoch from '2026-07-04 13:52:15'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399436 -2.784749)', '2026-07-04 13:52:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399455 -2.784687)'), GeomFromEWKT('SRID=4674;POINT (-40.399436 -2.784749)'))) / (select extract(epoch from '2026-07-04 13:52:27'::timestamp) - extract(epoch from '2026-07-04 13:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399455 -2.784687)'), GeomFromEWKT('SRID=4674;POINT (-40.399436 -2.784749)'))) / (select extract(epoch from '2026-07-04 13:52:27'::timestamp) - extract(epoch from '2026-07-04 13:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399417 -2.784819)', '2026-07-04 13:52:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399436 -2.784749)'), GeomFromEWKT('SRID=4674;POINT (-40.399417 -2.784819)'))) / (select extract(epoch from '2026-07-04 13:52:41'::timestamp) - extract(epoch from '2026-07-04 13:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399436 -2.784749)'), GeomFromEWKT('SRID=4674;POINT (-40.399417 -2.784819)'))) / (select extract(epoch from '2026-07-04 13:52:41'::timestamp) - extract(epoch from '2026-07-04 13:52: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'), 47817, 'SRID=4674;POINT (-40.399508 -2.784893)', '2026-07-04 13:52:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399417 -2.784819)'), GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.784893)'))) / (select extract(epoch from '2026-07-04 13:52:52'::timestamp) - extract(epoch from '2026-07-04 13:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399417 -2.784819)'), GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.784893)'))) / (select extract(epoch from '2026-07-04 13:52:52'::timestamp) - extract(epoch from '2026-07-04 13:52: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'), 47817, 'SRID=4674;POINT (-40.399597 -2.784861)', '2026-07-04 13:53:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.784893)'), GeomFromEWKT('SRID=4674;POINT (-40.399597 -2.784861)'))) / (select extract(epoch from '2026-07-04 13:53:04'::timestamp) - extract(epoch from '2026-07-04 13:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399508 -2.784893)'), GeomFromEWKT('SRID=4674;POINT (-40.399597 -2.784861)'))) / (select extract(epoch from '2026-07-04 13:53:04'::timestamp) - extract(epoch from '2026-07-04 13:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399617 -2.784767)', '2026-07-04 13:53:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399597 -2.784861)'), GeomFromEWKT('SRID=4674;POINT (-40.399617 -2.784767)'))) / (select extract(epoch from '2026-07-04 13:53:13'::timestamp) - extract(epoch from '2026-07-04 13:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399597 -2.784861)'), GeomFromEWKT('SRID=4674;POINT (-40.399617 -2.784767)'))) / (select extract(epoch from '2026-07-04 13:53:13'::timestamp) - extract(epoch from '2026-07-04 13:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399596 -2.784708)', '2026-07-04 13:53:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399617 -2.784767)'), GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.784708)'))) / (select extract(epoch from '2026-07-04 13:53:25'::timestamp) - extract(epoch from '2026-07-04 13:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399617 -2.784767)'), GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.784708)'))) / (select extract(epoch from '2026-07-04 13:53:25'::timestamp) - extract(epoch from '2026-07-04 13:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399603 -2.784691)', '2026-07-04 13:53:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.784708)'), GeomFromEWKT('SRID=4674;POINT (-40.399603 -2.784691)'))) / (select extract(epoch from '2026-07-04 13:53:34'::timestamp) - extract(epoch from '2026-07-04 13:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.784708)'), GeomFromEWKT('SRID=4674;POINT (-40.399603 -2.784691)'))) / (select extract(epoch from '2026-07-04 13:53:34'::timestamp) - extract(epoch from '2026-07-04 13:53: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'), 47817, 'SRID=4674;POINT (-40.399672 -2.784627)', '2026-07-04 13:53:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399603 -2.784691)'), GeomFromEWKT('SRID=4674;POINT (-40.399672 -2.784627)'))) / (select extract(epoch from '2026-07-04 13:53:59'::timestamp) - extract(epoch from '2026-07-04 13:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399603 -2.784691)'), GeomFromEWKT('SRID=4674;POINT (-40.399672 -2.784627)'))) / (select extract(epoch from '2026-07-04 13:53:59'::timestamp) - extract(epoch from '2026-07-04 13:53: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'), 47817, 'SRID=4674;POINT (-40.399702 -2.784631)', '2026-07-04 13:54:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399672 -2.784627)'), GeomFromEWKT('SRID=4674;POINT (-40.399702 -2.784631)'))) / (select extract(epoch from '2026-07-04 13:54:05'::timestamp) - extract(epoch from '2026-07-04 13:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399672 -2.784627)'), GeomFromEWKT('SRID=4674;POINT (-40.399702 -2.784631)'))) / (select extract(epoch from '2026-07-04 13:54:05'::timestamp) - extract(epoch from '2026-07-04 13:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399736 -2.784617)', '2026-07-04 13:54:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399702 -2.784631)'), GeomFromEWKT('SRID=4674;POINT (-40.399736 -2.784617)'))) / (select extract(epoch from '2026-07-04 13:54:12'::timestamp) - extract(epoch from '2026-07-04 13:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399702 -2.784631)'), GeomFromEWKT('SRID=4674;POINT (-40.399736 -2.784617)'))) / (select extract(epoch from '2026-07-04 13:54:12'::timestamp) - extract(epoch from '2026-07-04 13:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399764 -2.784597)', '2026-07-04 13:54:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399736 -2.784617)'), GeomFromEWKT('SRID=4674;POINT (-40.399764 -2.784597)'))) / (select extract(epoch from '2026-07-04 13:54:21'::timestamp) - extract(epoch from '2026-07-04 13:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399736 -2.784617)'), GeomFromEWKT('SRID=4674;POINT (-40.399764 -2.784597)'))) / (select extract(epoch from '2026-07-04 13:54:21'::timestamp) - extract(epoch from '2026-07-04 13:54: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'), 47817, 'SRID=4674;POINT (-40.399799 -2.784535)', '2026-07-04 13:54:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399764 -2.784597)'), GeomFromEWKT('SRID=4674;POINT (-40.399799 -2.784535)'))) / (select extract(epoch from '2026-07-04 13:54:29'::timestamp) - extract(epoch from '2026-07-04 13:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399764 -2.784597)'), GeomFromEWKT('SRID=4674;POINT (-40.399799 -2.784535)'))) / (select extract(epoch from '2026-07-04 13:54:29'::timestamp) - extract(epoch from '2026-07-04 13:54: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'), 47817, 'SRID=4674;POINT (-40.399798 -2.784523)', '2026-07-04 13:54:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399799 -2.784535)'), GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.784523)'))) / (select extract(epoch from '2026-07-04 13:54:30'::timestamp) - extract(epoch from '2026-07-04 13:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399799 -2.784535)'), GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.784523)'))) / (select extract(epoch from '2026-07-04 13:54:30'::timestamp) - extract(epoch from '2026-07-04 13:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399775 -2.784479)', '2026-07-04 13:54:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.784523)'), GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.784479)'))) / (select extract(epoch from '2026-07-04 13:54:36'::timestamp) - extract(epoch from '2026-07-04 13:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399798 -2.784523)'), GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.784479)'))) / (select extract(epoch from '2026-07-04 13:54:36'::timestamp) - extract(epoch from '2026-07-04 13:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39977 -2.784476)', '2026-07-04 13:54:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.784479)'), GeomFromEWKT('SRID=4674;POINT (-40.39977 -2.784476)'))) / (select extract(epoch from '2026-07-04 13:54:37'::timestamp) - extract(epoch from '2026-07-04 13:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.784479)'), GeomFromEWKT('SRID=4674;POINT (-40.39977 -2.784476)'))) / (select extract(epoch from '2026-07-04 13:54:37'::timestamp) - extract(epoch from '2026-07-04 13:54: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'), 47817, 'SRID=4674;POINT (-40.399709 -2.78446)', '2026-07-04 13:54:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39977 -2.784476)'), GeomFromEWKT('SRID=4674;POINT (-40.399709 -2.78446)'))) / (select extract(epoch from '2026-07-04 13:54:43'::timestamp) - extract(epoch from '2026-07-04 13:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39977 -2.784476)'), GeomFromEWKT('SRID=4674;POINT (-40.399709 -2.78446)'))) / (select extract(epoch from '2026-07-04 13:54:43'::timestamp) - extract(epoch from '2026-07-04 13:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399642 -2.78449)', '2026-07-04 13:54:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399709 -2.78446)'), GeomFromEWKT('SRID=4674;POINT (-40.399642 -2.78449)'))) / (select extract(epoch from '2026-07-04 13:54:49'::timestamp) - extract(epoch from '2026-07-04 13:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399709 -2.78446)'), GeomFromEWKT('SRID=4674;POINT (-40.399642 -2.78449)'))) / (select extract(epoch from '2026-07-04 13:54:49'::timestamp) - extract(epoch from '2026-07-04 13:54: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'), 47817, 'SRID=4674;POINT (-40.399632 -2.784516)', '2026-07-04 13:54:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399642 -2.78449)'), GeomFromEWKT('SRID=4674;POINT (-40.399632 -2.784516)'))) / (select extract(epoch from '2026-07-04 13:54:51'::timestamp) - extract(epoch from '2026-07-04 13:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399642 -2.78449)'), GeomFromEWKT('SRID=4674;POINT (-40.399632 -2.784516)'))) / (select extract(epoch from '2026-07-04 13:54:51'::timestamp) - extract(epoch from '2026-07-04 13:54: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'), 47817, 'SRID=4674;POINT (-40.399653 -2.784611)', '2026-07-04 13:54:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399632 -2.784516)'), GeomFromEWKT('SRID=4674;POINT (-40.399653 -2.784611)'))) / (select extract(epoch from '2026-07-04 13:54:58'::timestamp) - extract(epoch from '2026-07-04 13:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399632 -2.784516)'), GeomFromEWKT('SRID=4674;POINT (-40.399653 -2.784611)'))) / (select extract(epoch from '2026-07-04 13:54:58'::timestamp) - extract(epoch from '2026-07-04 13:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
