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'), 46719, 'SRID=4674;POINT (-40.358518 -2.805574)', '2026-06-22 02:43:33', 10.8, 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'), 46719, 'SRID=4674;POINT (-40.358678 -2.805466)', '2026-06-22 02:43:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358518 -2.805574)'), GeomFromEWKT('SRID=4674;POINT (-40.358678 -2.805466)'))) / (select extract(epoch from '2026-06-22 02:43:42'::timestamp) - extract(epoch from '2026-06-22 02:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358518 -2.805574)'), GeomFromEWKT('SRID=4674;POINT (-40.358678 -2.805466)'))) / (select extract(epoch from '2026-06-22 02:43:42'::timestamp) - extract(epoch from '2026-06-22 02:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.358825 -2.805346)', '2026-06-22 02:43:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358678 -2.805466)'), GeomFromEWKT('SRID=4674;POINT (-40.358825 -2.805346)'))) / (select extract(epoch from '2026-06-22 02:43:51'::timestamp) - extract(epoch from '2026-06-22 02:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358678 -2.805466)'), GeomFromEWKT('SRID=4674;POINT (-40.358825 -2.805346)'))) / (select extract(epoch from '2026-06-22 02:43:51'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.358958 -2.80525)', '2026-06-22 02:43:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358825 -2.805346)'), GeomFromEWKT('SRID=4674;POINT (-40.358958 -2.80525)'))) / (select extract(epoch from '2026-06-22 02:43:58'::timestamp) - extract(epoch from '2026-06-22 02:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358825 -2.805346)'), GeomFromEWKT('SRID=4674;POINT (-40.358958 -2.80525)'))) / (select extract(epoch from '2026-06-22 02:43:58'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46719, 'SRID=4674;POINT (-40.359075 -2.805166)', '2026-06-22 02:44:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358958 -2.80525)'), GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.805166)'))) / (select extract(epoch from '2026-06-22 02:44:05'::timestamp) - extract(epoch from '2026-06-22 02:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358958 -2.80525)'), GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.805166)'))) / (select extract(epoch from '2026-06-22 02:44:05'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46719, 'SRID=4674;POINT (-40.359243 -2.805039)', '2026-06-22 02:44:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.805166)'), GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.805039)'))) / (select extract(epoch from '2026-06-22 02:44:15'::timestamp) - extract(epoch from '2026-06-22 02:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359075 -2.805166)'), GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.805039)'))) / (select extract(epoch from '2026-06-22 02:44:15'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46719, 'SRID=4674;POINT (-40.359376 -2.804939)', '2026-06-22 02:44:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.805039)'), GeomFromEWKT('SRID=4674;POINT (-40.359376 -2.804939)'))) / (select extract(epoch from '2026-06-22 02:44:23'::timestamp) - extract(epoch from '2026-06-22 02:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359243 -2.805039)'), GeomFromEWKT('SRID=4674;POINT (-40.359376 -2.804939)'))) / (select extract(epoch from '2026-06-22 02:44:23'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46719, 'SRID=4674;POINT (-40.359553 -2.804833)', '2026-06-22 02:44:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359376 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.359553 -2.804833)'))) / (select extract(epoch from '2026-06-22 02:44:33'::timestamp) - extract(epoch from '2026-06-22 02:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359376 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.359553 -2.804833)'))) / (select extract(epoch from '2026-06-22 02:44:33'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46719, 'SRID=4674;POINT (-40.359707 -2.804789)', '2026-06-22 02:44:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359553 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.359707 -2.804789)'))) / (select extract(epoch from '2026-06-22 02:44:40'::timestamp) - extract(epoch from '2026-06-22 02:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359553 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.359707 -2.804789)'))) / (select extract(epoch from '2026-06-22 02:44:40'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46719, 'SRID=4674;POINT (-40.359865 -2.804737)', '2026-06-22 02:44:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359707 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.359865 -2.804737)'))) / (select extract(epoch from '2026-06-22 02:44:47'::timestamp) - extract(epoch from '2026-06-22 02:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359707 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.359865 -2.804737)'))) / (select extract(epoch from '2026-06-22 02:44:47'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46719, 'SRID=4674;POINT (-40.360004 -2.804673)', '2026-06-22 02:44:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359865 -2.804737)'), GeomFromEWKT('SRID=4674;POINT (-40.360004 -2.804673)'))) / (select extract(epoch from '2026-06-22 02:44:54'::timestamp) - extract(epoch from '2026-06-22 02:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359865 -2.804737)'), GeomFromEWKT('SRID=4674;POINT (-40.360004 -2.804673)'))) / (select extract(epoch from '2026-06-22 02:44:54'::timestamp) - extract(epoch from '2026-06-22 02:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.360173 -2.804602)', '2026-06-22 02:45:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360004 -2.804673)'), GeomFromEWKT('SRID=4674;POINT (-40.360173 -2.804602)'))) / (select extract(epoch from '2026-06-22 02:45:02'::timestamp) - extract(epoch from '2026-06-22 02:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360004 -2.804673)'), GeomFromEWKT('SRID=4674;POINT (-40.360173 -2.804602)'))) / (select extract(epoch from '2026-06-22 02:45:02'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46719, 'SRID=4674;POINT (-40.360338 -2.804537)', '2026-06-22 02:45:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360173 -2.804602)'), GeomFromEWKT('SRID=4674;POINT (-40.360338 -2.804537)'))) / (select extract(epoch from '2026-06-22 02:45:10'::timestamp) - extract(epoch from '2026-06-22 02:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360173 -2.804602)'), GeomFromEWKT('SRID=4674;POINT (-40.360338 -2.804537)'))) / (select extract(epoch from '2026-06-22 02:45:10'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46719, 'SRID=4674;POINT (-40.360476 -2.804485)', '2026-06-22 02:45:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360338 -2.804537)'), GeomFromEWKT('SRID=4674;POINT (-40.360476 -2.804485)'))) / (select extract(epoch from '2026-06-22 02:45:17'::timestamp) - extract(epoch from '2026-06-22 02:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360338 -2.804537)'), GeomFromEWKT('SRID=4674;POINT (-40.360476 -2.804485)'))) / (select extract(epoch from '2026-06-22 02:45:17'::timestamp) - extract(epoch from '2026-06-22 02:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.360636 -2.804397)', '2026-06-22 02:45:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360476 -2.804485)'), GeomFromEWKT('SRID=4674;POINT (-40.360636 -2.804397)'))) / (select extract(epoch from '2026-06-22 02:45:26'::timestamp) - extract(epoch from '2026-06-22 02:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360476 -2.804485)'), GeomFromEWKT('SRID=4674;POINT (-40.360636 -2.804397)'))) / (select extract(epoch from '2026-06-22 02:45:26'::timestamp) - extract(epoch from '2026-06-22 02:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.360768 -2.804342)', '2026-06-22 02:45:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360636 -2.804397)'), GeomFromEWKT('SRID=4674;POINT (-40.360768 -2.804342)'))) / (select extract(epoch from '2026-06-22 02:45:33'::timestamp) - extract(epoch from '2026-06-22 02:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360636 -2.804397)'), GeomFromEWKT('SRID=4674;POINT (-40.360768 -2.804342)'))) / (select extract(epoch from '2026-06-22 02:45:33'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46719, 'SRID=4674;POINT (-40.360882 -2.804307)', '2026-06-22 02:45:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360768 -2.804342)'), GeomFromEWKT('SRID=4674;POINT (-40.360882 -2.804307)'))) / (select extract(epoch from '2026-06-22 02:45:39'::timestamp) - extract(epoch from '2026-06-22 02:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360768 -2.804342)'), GeomFromEWKT('SRID=4674;POINT (-40.360882 -2.804307)'))) / (select extract(epoch from '2026-06-22 02:45:39'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46719, 'SRID=4674;POINT (-40.361039 -2.804237)', '2026-06-22 02:45:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360882 -2.804307)'), GeomFromEWKT('SRID=4674;POINT (-40.361039 -2.804237)'))) / (select extract(epoch from '2026-06-22 02:45:47'::timestamp) - extract(epoch from '2026-06-22 02:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360882 -2.804307)'), GeomFromEWKT('SRID=4674;POINT (-40.361039 -2.804237)'))) / (select extract(epoch from '2026-06-22 02:45:47'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46719, 'SRID=4674;POINT (-40.361169 -2.804189)', '2026-06-22 02:45:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361039 -2.804237)'), GeomFromEWKT('SRID=4674;POINT (-40.361169 -2.804189)'))) / (select extract(epoch from '2026-06-22 02:45:53'::timestamp) - extract(epoch from '2026-06-22 02:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361039 -2.804237)'), GeomFromEWKT('SRID=4674;POINT (-40.361169 -2.804189)'))) / (select extract(epoch from '2026-06-22 02:45:53'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46719, 'SRID=4674;POINT (-40.361345 -2.804115)', '2026-06-22 02:46:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361169 -2.804189)'), GeomFromEWKT('SRID=4674;POINT (-40.361345 -2.804115)'))) / (select extract(epoch from '2026-06-22 02:46:02'::timestamp) - extract(epoch from '2026-06-22 02:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361169 -2.804189)'), GeomFromEWKT('SRID=4674;POINT (-40.361345 -2.804115)'))) / (select extract(epoch from '2026-06-22 02:46:02'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.361521 -2.804023)', '2026-06-22 02:46:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361345 -2.804115)'), GeomFromEWKT('SRID=4674;POINT (-40.361521 -2.804023)'))) / (select extract(epoch from '2026-06-22 02:46:11'::timestamp) - extract(epoch from '2026-06-22 02:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361345 -2.804115)'), GeomFromEWKT('SRID=4674;POINT (-40.361521 -2.804023)'))) / (select extract(epoch from '2026-06-22 02:46:11'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46719, 'SRID=4674;POINT (-40.361678 -2.803945)', '2026-06-22 02:46:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361521 -2.804023)'), GeomFromEWKT('SRID=4674;POINT (-40.361678 -2.803945)'))) / (select extract(epoch from '2026-06-22 02:46:19'::timestamp) - extract(epoch from '2026-06-22 02:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361521 -2.804023)'), GeomFromEWKT('SRID=4674;POINT (-40.361678 -2.803945)'))) / (select extract(epoch from '2026-06-22 02:46:19'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46719, 'SRID=4674;POINT (-40.361834 -2.803876)', '2026-06-22 02:46:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361678 -2.803945)'), GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.803876)'))) / (select extract(epoch from '2026-06-22 02:46:27'::timestamp) - extract(epoch from '2026-06-22 02:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361678 -2.803945)'), GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.803876)'))) / (select extract(epoch from '2026-06-22 02:46:27'::timestamp) - extract(epoch from '2026-06-22 02:46:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.361975 -2.803817)', '2026-06-22 02:46:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.803876)'), GeomFromEWKT('SRID=4674;POINT (-40.361975 -2.803817)'))) / (select extract(epoch from '2026-06-22 02:46:34'::timestamp) - extract(epoch from '2026-06-22 02:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361834 -2.803876)'), GeomFromEWKT('SRID=4674;POINT (-40.361975 -2.803817)'))) / (select extract(epoch from '2026-06-22 02:46:34'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46719, 'SRID=4674;POINT (-40.362137 -2.803761)', '2026-06-22 02:46:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361975 -2.803817)'), GeomFromEWKT('SRID=4674;POINT (-40.362137 -2.803761)'))) / (select extract(epoch from '2026-06-22 02:46:42'::timestamp) - extract(epoch from '2026-06-22 02:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361975 -2.803817)'), GeomFromEWKT('SRID=4674;POINT (-40.362137 -2.803761)'))) / (select extract(epoch from '2026-06-22 02:46:42'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46719, 'SRID=4674;POINT (-40.362316 -2.803699)', '2026-06-22 02:46:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362137 -2.803761)'), GeomFromEWKT('SRID=4674;POINT (-40.362316 -2.803699)'))) / (select extract(epoch from '2026-06-22 02:46:51'::timestamp) - extract(epoch from '2026-06-22 02:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362137 -2.803761)'), GeomFromEWKT('SRID=4674;POINT (-40.362316 -2.803699)'))) / (select extract(epoch from '2026-06-22 02:46:51'::timestamp) - extract(epoch from '2026-06-22 02:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.362502 -2.803635)', '2026-06-22 02:47:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362316 -2.803699)'), GeomFromEWKT('SRID=4674;POINT (-40.362502 -2.803635)'))) / (select extract(epoch from '2026-06-22 02:47:00'::timestamp) - extract(epoch from '2026-06-22 02:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362316 -2.803699)'), GeomFromEWKT('SRID=4674;POINT (-40.362502 -2.803635)'))) / (select extract(epoch from '2026-06-22 02:47:00'::timestamp) - extract(epoch from '2026-06-22 02:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.362674 -2.803559)', '2026-06-22 02:47:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362502 -2.803635)'), GeomFromEWKT('SRID=4674;POINT (-40.362674 -2.803559)'))) / (select extract(epoch from '2026-06-22 02:47:09'::timestamp) - extract(epoch from '2026-06-22 02:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362502 -2.803635)'), GeomFromEWKT('SRID=4674;POINT (-40.362674 -2.803559)'))) / (select extract(epoch from '2026-06-22 02:47:09'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.362833 -2.803487)', '2026-06-22 02:47:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362674 -2.803559)'), GeomFromEWKT('SRID=4674;POINT (-40.362833 -2.803487)'))) / (select extract(epoch from '2026-06-22 02:47:17'::timestamp) - extract(epoch from '2026-06-22 02:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362674 -2.803559)'), GeomFromEWKT('SRID=4674;POINT (-40.362833 -2.803487)'))) / (select extract(epoch from '2026-06-22 02:47:17'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46719, 'SRID=4674;POINT (-40.362945 -2.80343)', '2026-06-22 02:47:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362833 -2.803487)'), GeomFromEWKT('SRID=4674;POINT (-40.362945 -2.80343)'))) / (select extract(epoch from '2026-06-22 02:47:23'::timestamp) - extract(epoch from '2026-06-22 02:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362833 -2.803487)'), GeomFromEWKT('SRID=4674;POINT (-40.362945 -2.80343)'))) / (select extract(epoch from '2026-06-22 02:47:23'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46719, 'SRID=4674;POINT (-40.363078 -2.80335)', '2026-06-22 02:47:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362945 -2.80343)'), GeomFromEWKT('SRID=4674;POINT (-40.363078 -2.80335)'))) / (select extract(epoch from '2026-06-22 02:47:30'::timestamp) - extract(epoch from '2026-06-22 02:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362945 -2.80343)'), GeomFromEWKT('SRID=4674;POINT (-40.363078 -2.80335)'))) / (select extract(epoch from '2026-06-22 02:47:30'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46719, 'SRID=4674;POINT (-40.363214 -2.80327)', '2026-06-22 02:47:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363078 -2.80335)'), GeomFromEWKT('SRID=4674;POINT (-40.363214 -2.80327)'))) / (select extract(epoch from '2026-06-22 02:47:37'::timestamp) - extract(epoch from '2026-06-22 02:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363078 -2.80335)'), GeomFromEWKT('SRID=4674;POINT (-40.363214 -2.80327)'))) / (select extract(epoch from '2026-06-22 02:47:37'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.363326 -2.803212)', '2026-06-22 02:47:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363214 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.363326 -2.803212)'))) / (select extract(epoch from '2026-06-22 02:47:43'::timestamp) - extract(epoch from '2026-06-22 02:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363214 -2.80327)'), GeomFromEWKT('SRID=4674;POINT (-40.363326 -2.803212)'))) / (select extract(epoch from '2026-06-22 02:47:43'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46719, 'SRID=4674;POINT (-40.363489 -2.803107)', '2026-06-22 02:47:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363326 -2.803212)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.803107)'))) / (select extract(epoch from '2026-06-22 02:47:52'::timestamp) - extract(epoch from '2026-06-22 02:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363326 -2.803212)'), GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.803107)'))) / (select extract(epoch from '2026-06-22 02:47:52'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.363615 -2.803039)', '2026-06-22 02:47:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.803107)'), GeomFromEWKT('SRID=4674;POINT (-40.363615 -2.803039)'))) / (select extract(epoch from '2026-06-22 02:47:59'::timestamp) - extract(epoch from '2026-06-22 02:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363489 -2.803107)'), GeomFromEWKT('SRID=4674;POINT (-40.363615 -2.803039)'))) / (select extract(epoch from '2026-06-22 02:47:59'::timestamp) - extract(epoch from '2026-06-22 02:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.363738 -2.802995)', '2026-06-22 02:48:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363615 -2.803039)'), GeomFromEWKT('SRID=4674;POINT (-40.363738 -2.802995)'))) / (select extract(epoch from '2026-06-22 02:48:05'::timestamp) - extract(epoch from '2026-06-22 02:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363615 -2.803039)'), GeomFromEWKT('SRID=4674;POINT (-40.363738 -2.802995)'))) / (select extract(epoch from '2026-06-22 02:48:05'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46719, 'SRID=4674;POINT (-40.363884 -2.802953)', '2026-06-22 02:48:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363738 -2.802995)'), GeomFromEWKT('SRID=4674;POINT (-40.363884 -2.802953)'))) / (select extract(epoch from '2026-06-22 02:48:12'::timestamp) - extract(epoch from '2026-06-22 02:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363738 -2.802995)'), GeomFromEWKT('SRID=4674;POINT (-40.363884 -2.802953)'))) / (select extract(epoch from '2026-06-22 02:48:12'::timestamp) - extract(epoch from '2026-06-22 02:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.364049 -2.802905)', '2026-06-22 02:48:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363884 -2.802953)'), GeomFromEWKT('SRID=4674;POINT (-40.364049 -2.802905)'))) / (select extract(epoch from '2026-06-22 02:48:20'::timestamp) - extract(epoch from '2026-06-22 02:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363884 -2.802953)'), GeomFromEWKT('SRID=4674;POINT (-40.364049 -2.802905)'))) / (select extract(epoch from '2026-06-22 02:48:20'::timestamp) - extract(epoch from '2026-06-22 02:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.364226 -2.802834)', '2026-06-22 02:48:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364049 -2.802905)'), GeomFromEWKT('SRID=4674;POINT (-40.364226 -2.802834)'))) / (select extract(epoch from '2026-06-22 02:48:29'::timestamp) - extract(epoch from '2026-06-22 02:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364049 -2.802905)'), GeomFromEWKT('SRID=4674;POINT (-40.364226 -2.802834)'))) / (select extract(epoch from '2026-06-22 02:48:29'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46719, 'SRID=4674;POINT (-40.36439 -2.80278)', '2026-06-22 02:48:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364226 -2.802834)'), GeomFromEWKT('SRID=4674;POINT (-40.36439 -2.80278)'))) / (select extract(epoch from '2026-06-22 02:48:37'::timestamp) - extract(epoch from '2026-06-22 02:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364226 -2.802834)'), GeomFromEWKT('SRID=4674;POINT (-40.36439 -2.80278)'))) / (select extract(epoch from '2026-06-22 02:48:37'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46719, 'SRID=4674;POINT (-40.364495 -2.802748)', '2026-06-22 02:48:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36439 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802748)'))) / (select extract(epoch from '2026-06-22 02:48:42'::timestamp) - extract(epoch from '2026-06-22 02:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36439 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802748)'))) / (select extract(epoch from '2026-06-22 02:48:42'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46719, 'SRID=4674;POINT (-40.364639 -2.802706)', '2026-06-22 02:48:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802748)'), GeomFromEWKT('SRID=4674;POINT (-40.364639 -2.802706)'))) / (select extract(epoch from '2026-06-22 02:48:49'::timestamp) - extract(epoch from '2026-06-22 02:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802748)'), GeomFromEWKT('SRID=4674;POINT (-40.364639 -2.802706)'))) / (select extract(epoch from '2026-06-22 02:48:49'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46719, 'SRID=4674;POINT (-40.364849 -2.802653)', '2026-06-22 02:48:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364639 -2.802706)'), GeomFromEWKT('SRID=4674;POINT (-40.364849 -2.802653)'))) / (select extract(epoch from '2026-06-22 02:48:59'::timestamp) - extract(epoch from '2026-06-22 02:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364639 -2.802706)'), GeomFromEWKT('SRID=4674;POINT (-40.364849 -2.802653)'))) / (select extract(epoch from '2026-06-22 02:48:59'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46719, 'SRID=4674;POINT (-40.364971 -2.802619)', '2026-06-22 02:49:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364849 -2.802653)'), GeomFromEWKT('SRID=4674;POINT (-40.364971 -2.802619)'))) / (select extract(epoch from '2026-06-22 02:49:05'::timestamp) - extract(epoch from '2026-06-22 02:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364849 -2.802653)'), GeomFromEWKT('SRID=4674;POINT (-40.364971 -2.802619)'))) / (select extract(epoch from '2026-06-22 02:49:05'::timestamp) - extract(epoch from '2026-06-22 02:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.365146 -2.8026)', '2026-06-22 02:49:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364971 -2.802619)'), GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.8026)'))) / (select extract(epoch from '2026-06-22 02:49:13'::timestamp) - extract(epoch from '2026-06-22 02:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364971 -2.802619)'), GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.8026)'))) / (select extract(epoch from '2026-06-22 02:49:13'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.365302 -2.802583)', '2026-06-22 02:49:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.8026)'), GeomFromEWKT('SRID=4674;POINT (-40.365302 -2.802583)'))) / (select extract(epoch from '2026-06-22 02:49:20'::timestamp) - extract(epoch from '2026-06-22 02:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.8026)'), GeomFromEWKT('SRID=4674;POINT (-40.365302 -2.802583)'))) / (select extract(epoch from '2026-06-22 02:49:20'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46719, 'SRID=4674;POINT (-40.365361 -2.802573)', '2026-06-22 02:49:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365302 -2.802583)'), GeomFromEWKT('SRID=4674;POINT (-40.365361 -2.802573)'))) / (select extract(epoch from '2026-06-22 02:49:23'::timestamp) - extract(epoch from '2026-06-22 02:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365302 -2.802583)'), GeomFromEWKT('SRID=4674;POINT (-40.365361 -2.802573)'))) / (select extract(epoch from '2026-06-22 02:49:23'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.365384 -2.802574)', '2026-06-22 02:49:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365361 -2.802573)'), GeomFromEWKT('SRID=4674;POINT (-40.365384 -2.802574)'))) / (select extract(epoch from '2026-06-22 02:49:24'::timestamp) - extract(epoch from '2026-06-22 02:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365361 -2.802573)'), GeomFromEWKT('SRID=4674;POINT (-40.365384 -2.802574)'))) / (select extract(epoch from '2026-06-22 02:49:24'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46719, 'SRID=4674;POINT (-40.365537 -2.802559)', '2026-06-22 02:49:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365384 -2.802574)'), GeomFromEWKT('SRID=4674;POINT (-40.365537 -2.802559)'))) / (select extract(epoch from '2026-06-22 02:49:31'::timestamp) - extract(epoch from '2026-06-22 02:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365384 -2.802574)'), GeomFromEWKT('SRID=4674;POINT (-40.365537 -2.802559)'))) / (select extract(epoch from '2026-06-22 02:49:31'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46719, 'SRID=4674;POINT (-40.365681 -2.802586)', '2026-06-22 02:49:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365537 -2.802559)'), GeomFromEWKT('SRID=4674;POINT (-40.365681 -2.802586)'))) / (select extract(epoch from '2026-06-22 02:49:38'::timestamp) - extract(epoch from '2026-06-22 02:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365537 -2.802559)'), GeomFromEWKT('SRID=4674;POINT (-40.365681 -2.802586)'))) / (select extract(epoch from '2026-06-22 02:49:38'::timestamp) - extract(epoch from '2026-06-22 02:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.36584 -2.802642)', '2026-06-22 02:49:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365681 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.36584 -2.802642)'))) / (select extract(epoch from '2026-06-22 02:49:46'::timestamp) - extract(epoch from '2026-06-22 02:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365681 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.36584 -2.802642)'))) / (select extract(epoch from '2026-06-22 02:49:46'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46719, 'SRID=4674;POINT (-40.366007 -2.802671)', '2026-06-22 02:49:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36584 -2.802642)'), GeomFromEWKT('SRID=4674;POINT (-40.366007 -2.802671)'))) / (select extract(epoch from '2026-06-22 02:49:55'::timestamp) - extract(epoch from '2026-06-22 02:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36584 -2.802642)'), GeomFromEWKT('SRID=4674;POINT (-40.366007 -2.802671)'))) / (select extract(epoch from '2026-06-22 02:49:55'::timestamp) - extract(epoch from '2026-06-22 02:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366112 -2.802683)', '2026-06-22 02:50:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366007 -2.802671)'), GeomFromEWKT('SRID=4674;POINT (-40.366112 -2.802683)'))) / (select extract(epoch from '2026-06-22 02:50:01'::timestamp) - extract(epoch from '2026-06-22 02:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366007 -2.802671)'), GeomFromEWKT('SRID=4674;POINT (-40.366112 -2.802683)'))) / (select extract(epoch from '2026-06-22 02:50:01'::timestamp) - extract(epoch from '2026-06-22 02:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366212 -2.802708)', '2026-06-22 02:50:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366112 -2.802683)'), GeomFromEWKT('SRID=4674;POINT (-40.366212 -2.802708)'))) / (select extract(epoch from '2026-06-22 02:50:08'::timestamp) - extract(epoch from '2026-06-22 02:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366112 -2.802683)'), GeomFromEWKT('SRID=4674;POINT (-40.366212 -2.802708)'))) / (select extract(epoch from '2026-06-22 02:50:08'::timestamp) - extract(epoch from '2026-06-22 02:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366303 -2.80273)', '2026-06-22 02:50:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366212 -2.802708)'), GeomFromEWKT('SRID=4674;POINT (-40.366303 -2.80273)'))) / (select extract(epoch from '2026-06-22 02:50:16'::timestamp) - extract(epoch from '2026-06-22 02:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366212 -2.802708)'), GeomFromEWKT('SRID=4674;POINT (-40.366303 -2.80273)'))) / (select extract(epoch from '2026-06-22 02:50:16'::timestamp) - extract(epoch from '2026-06-22 02:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366366 -2.802744)', '2026-06-22 02:50:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366303 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.366366 -2.802744)'))) / (select extract(epoch from '2026-06-22 02:50:24'::timestamp) - extract(epoch from '2026-06-22 02:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366303 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.366366 -2.802744)'))) / (select extract(epoch from '2026-06-22 02:50:24'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46719, 'SRID=4674;POINT (-40.366419 -2.802751)', '2026-06-22 02:50:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366366 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.366419 -2.802751)'))) / (select extract(epoch from '2026-06-22 02:50:32'::timestamp) - extract(epoch from '2026-06-22 02:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366366 -2.802744)'), GeomFromEWKT('SRID=4674;POINT (-40.366419 -2.802751)'))) / (select extract(epoch from '2026-06-22 02:50:32'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46719, 'SRID=4674;POINT (-40.366471 -2.802756)', '2026-06-22 02:50:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366419 -2.802751)'), GeomFromEWKT('SRID=4674;POINT (-40.366471 -2.802756)'))) / (select extract(epoch from '2026-06-22 02:50:40'::timestamp) - extract(epoch from '2026-06-22 02:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366419 -2.802751)'), GeomFromEWKT('SRID=4674;POINT (-40.366471 -2.802756)'))) / (select extract(epoch from '2026-06-22 02:50:40'::timestamp) - extract(epoch from '2026-06-22 02:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366521 -2.802756)', '2026-06-22 02:50:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366471 -2.802756)'), GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802756)'))) / (select extract(epoch from '2026-06-22 02:50:48'::timestamp) - extract(epoch from '2026-06-22 02:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366471 -2.802756)'), GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802756)'))) / (select extract(epoch from '2026-06-22 02:50:48'::timestamp) - extract(epoch from '2026-06-22 02:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366566 -2.802759)', '2026-06-22 02:50:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802756)'), GeomFromEWKT('SRID=4674;POINT (-40.366566 -2.802759)'))) / (select extract(epoch from '2026-06-22 02:50:57'::timestamp) - extract(epoch from '2026-06-22 02:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802756)'), GeomFromEWKT('SRID=4674;POINT (-40.366566 -2.802759)'))) / (select extract(epoch from '2026-06-22 02:50:57'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.366598 -2.802761)', '2026-06-22 02:51:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366566 -2.802759)'), GeomFromEWKT('SRID=4674;POINT (-40.366598 -2.802761)'))) / (select extract(epoch from '2026-06-22 02:51:05'::timestamp) - extract(epoch from '2026-06-22 02:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366566 -2.802759)'), GeomFromEWKT('SRID=4674;POINT (-40.366598 -2.802761)'))) / (select extract(epoch from '2026-06-22 02:51:05'::timestamp) - extract(epoch from '2026-06-22 02:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366637 -2.802767)', '2026-06-22 02:51:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366598 -2.802761)'), GeomFromEWKT('SRID=4674;POINT (-40.366637 -2.802767)'))) / (select extract(epoch from '2026-06-22 02:51:15'::timestamp) - extract(epoch from '2026-06-22 02:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366598 -2.802761)'), GeomFromEWKT('SRID=4674;POINT (-40.366637 -2.802767)'))) / (select extract(epoch from '2026-06-22 02:51:15'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46719, 'SRID=4674;POINT (-40.366682 -2.802772)', '2026-06-22 02:51:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366637 -2.802767)'), GeomFromEWKT('SRID=4674;POINT (-40.366682 -2.802772)'))) / (select extract(epoch from '2026-06-22 02:51:26'::timestamp) - extract(epoch from '2026-06-22 02:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366637 -2.802767)'), GeomFromEWKT('SRID=4674;POINT (-40.366682 -2.802772)'))) / (select extract(epoch from '2026-06-22 02:51:26'::timestamp) - extract(epoch from '2026-06-22 02:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366714 -2.802785)', '2026-06-22 02:51:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366682 -2.802772)'), GeomFromEWKT('SRID=4674;POINT (-40.366714 -2.802785)'))) / (select extract(epoch from '2026-06-22 02:51:40'::timestamp) - extract(epoch from '2026-06-22 02:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366682 -2.802772)'), GeomFromEWKT('SRID=4674;POINT (-40.366714 -2.802785)'))) / (select extract(epoch from '2026-06-22 02:51:40'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46719, 'SRID=4674;POINT (-40.366769 -2.802791)', '2026-06-22 02:51:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366714 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.802791)'))) / (select extract(epoch from '2026-06-22 02:51:56'::timestamp) - extract(epoch from '2026-06-22 02:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366714 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.802791)'))) / (select extract(epoch from '2026-06-22 02:51:56'::timestamp) - extract(epoch from '2026-06-22 02:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366805 -2.8028)', '2026-06-22 02:52:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.802791)'), GeomFromEWKT('SRID=4674;POINT (-40.366805 -2.8028)'))) / (select extract(epoch from '2026-06-22 02:52:08'::timestamp) - extract(epoch from '2026-06-22 02:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366769 -2.802791)'), GeomFromEWKT('SRID=4674;POINT (-40.366805 -2.8028)'))) / (select extract(epoch from '2026-06-22 02:52:08'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46719, 'SRID=4674;POINT (-40.36687 -2.802797)', '2026-06-22 02:52:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366805 -2.8028)'), GeomFromEWKT('SRID=4674;POINT (-40.36687 -2.802797)'))) / (select extract(epoch from '2026-06-22 02:52:32'::timestamp) - extract(epoch from '2026-06-22 02:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366805 -2.8028)'), GeomFromEWKT('SRID=4674;POINT (-40.36687 -2.802797)'))) / (select extract(epoch from '2026-06-22 02:52:32'::timestamp) - extract(epoch from '2026-06-22 02:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.366948 -2.80279)', '2026-06-22 02:52:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36687 -2.802797)'), GeomFromEWKT('SRID=4674;POINT (-40.366948 -2.80279)'))) / (select extract(epoch from '2026-06-22 02:52:58'::timestamp) - extract(epoch from '2026-06-22 02:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36687 -2.802797)'), GeomFromEWKT('SRID=4674;POINT (-40.366948 -2.80279)'))) / (select extract(epoch from '2026-06-22 02:52:58'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46719, 'SRID=4674;POINT (-40.367017 -2.802774)', '2026-06-22 02:53:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366948 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.367017 -2.802774)'))) / (select extract(epoch from '2026-06-22 02:53:28'::timestamp) - extract(epoch from '2026-06-22 02:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366948 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.367017 -2.802774)'))) / (select extract(epoch from '2026-06-22 02:53:28'::timestamp) - extract(epoch from '2026-06-22 02:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.367079 -2.802776)', '2026-06-22 02:53:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367017 -2.802774)'), GeomFromEWKT('SRID=4674;POINT (-40.367079 -2.802776)'))) / (select extract(epoch from '2026-06-22 02:53:55'::timestamp) - extract(epoch from '2026-06-22 02:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367017 -2.802774)'), GeomFromEWKT('SRID=4674;POINT (-40.367079 -2.802776)'))) / (select extract(epoch from '2026-06-22 02:53:55'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46719, 'SRID=4674;POINT (-40.367144 -2.802761)', '2026-06-22 02:54:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367079 -2.802776)'), GeomFromEWKT('SRID=4674;POINT (-40.367144 -2.802761)'))) / (select extract(epoch from '2026-06-22 02:54:22'::timestamp) - extract(epoch from '2026-06-22 02:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367079 -2.802776)'), GeomFromEWKT('SRID=4674;POINT (-40.367144 -2.802761)'))) / (select extract(epoch from '2026-06-22 02:54:22'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46719, 'SRID=4674;POINT (-40.367204 -2.802746)', '2026-06-22 02:54:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367144 -2.802761)'), GeomFromEWKT('SRID=4674;POINT (-40.367204 -2.802746)'))) / (select extract(epoch from '2026-06-22 02:54:46'::timestamp) - extract(epoch from '2026-06-22 02:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367144 -2.802761)'), GeomFromEWKT('SRID=4674;POINT (-40.367204 -2.802746)'))) / (select extract(epoch from '2026-06-22 02:54:46'::timestamp) - extract(epoch from '2026-06-22 02:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.367265 -2.80273)', '2026-06-22 02:55:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367204 -2.802746)'), GeomFromEWKT('SRID=4674;POINT (-40.367265 -2.80273)'))) / (select extract(epoch from '2026-06-22 02:55:10'::timestamp) - extract(epoch from '2026-06-22 02:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367204 -2.802746)'), GeomFromEWKT('SRID=4674;POINT (-40.367265 -2.80273)'))) / (select extract(epoch from '2026-06-22 02:55:10'::timestamp) - extract(epoch from '2026-06-22 02:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.367334 -2.802698)', '2026-06-22 02:55:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367265 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.802698)'))) / (select extract(epoch from '2026-06-22 02:55:38'::timestamp) - extract(epoch from '2026-06-22 02:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367265 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.802698)'))) / (select extract(epoch from '2026-06-22 02:55:38'::timestamp) - extract(epoch from '2026-06-22 02:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.367402 -2.802687)', '2026-06-22 02:56:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.802698)'), GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.802687)'))) / (select extract(epoch from '2026-06-22 02:56:07'::timestamp) - extract(epoch from '2026-06-22 02:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.802698)'), GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.802687)'))) / (select extract(epoch from '2026-06-22 02:56:07'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46719, 'SRID=4674;POINT (-40.367472 -2.80266)', '2026-06-22 02:56:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.802687)'), GeomFromEWKT('SRID=4674;POINT (-40.367472 -2.80266)'))) / (select extract(epoch from '2026-06-22 02:56:39'::timestamp) - extract(epoch from '2026-06-22 02:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367402 -2.802687)'), GeomFromEWKT('SRID=4674;POINT (-40.367472 -2.80266)'))) / (select extract(epoch from '2026-06-22 02:56:39'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46719, 'SRID=4674;POINT (-40.367555 -2.802642)', '2026-06-22 02:57:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367472 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.802642)'))) / (select extract(epoch from '2026-06-22 02:57:07'::timestamp) - extract(epoch from '2026-06-22 02:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367472 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.802642)'))) / (select extract(epoch from '2026-06-22 02:57:07'::timestamp) - extract(epoch from '2026-06-22 02:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.36761 -2.802622)', '2026-06-22 02:57:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.802642)'), GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.802622)'))) / (select extract(epoch from '2026-06-22 02:57:30'::timestamp) - extract(epoch from '2026-06-22 02:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.802642)'), GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.802622)'))) / (select extract(epoch from '2026-06-22 02:57:30'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46719, 'SRID=4674;POINT (-40.367659 -2.802606)', '2026-06-22 02:57:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.367659 -2.802606)'))) / (select extract(epoch from '2026-06-22 02:57:52'::timestamp) - extract(epoch from '2026-06-22 02:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.367659 -2.802606)'))) / (select extract(epoch from '2026-06-22 02:57:52'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46719, 'SRID=4674;POINT (-40.367746 -2.802561)', '2026-06-22 02:58:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367659 -2.802606)'), GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.802561)'))) / (select extract(epoch from '2026-06-22 02:58:30'::timestamp) - extract(epoch from '2026-06-22 02:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367659 -2.802606)'), GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.802561)'))) / (select extract(epoch from '2026-06-22 02:58:30'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46719, 'SRID=4674;POINT (-40.36779 -2.802547)', '2026-06-22 02:58:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.802561)'), GeomFromEWKT('SRID=4674;POINT (-40.36779 -2.802547)'))) / (select extract(epoch from '2026-06-22 02:58:46'::timestamp) - extract(epoch from '2026-06-22 02:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.802561)'), GeomFromEWKT('SRID=4674;POINT (-40.36779 -2.802547)'))) / (select extract(epoch from '2026-06-22 02:58:46'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46719, 'SRID=4674;POINT (-40.367853 -2.802528)', '2026-06-22 02:59:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36779 -2.802547)'), GeomFromEWKT('SRID=4674;POINT (-40.367853 -2.802528)'))) / (select extract(epoch from '2026-06-22 02:59:11'::timestamp) - extract(epoch from '2026-06-22 02:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36779 -2.802547)'), GeomFromEWKT('SRID=4674;POINT (-40.367853 -2.802528)'))) / (select extract(epoch from '2026-06-22 02:59:11'::timestamp) - extract(epoch from '2026-06-22 02:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.367875 -2.802517)', '2026-06-22 02:59:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367853 -2.802528)'), GeomFromEWKT('SRID=4674;POINT (-40.367875 -2.802517)'))) / (select extract(epoch from '2026-06-22 02:59:23'::timestamp) - extract(epoch from '2026-06-22 02:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367853 -2.802528)'), GeomFromEWKT('SRID=4674;POINT (-40.367875 -2.802517)'))) / (select extract(epoch from '2026-06-22 02:59:23'::timestamp) - extract(epoch from '2026-06-22 02:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.367926 -2.802498)', '2026-06-22 02:59:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367875 -2.802517)'), GeomFromEWKT('SRID=4674;POINT (-40.367926 -2.802498)'))) / (select extract(epoch from '2026-06-22 02:59:47'::timestamp) - extract(epoch from '2026-06-22 02:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367875 -2.802517)'), GeomFromEWKT('SRID=4674;POINT (-40.367926 -2.802498)'))) / (select extract(epoch from '2026-06-22 02:59:47'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46719, 'SRID=4674;POINT (-40.367983 -2.802469)', '2026-06-22 03:00:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367926 -2.802498)'), GeomFromEWKT('SRID=4674;POINT (-40.367983 -2.802469)'))) / (select extract(epoch from '2026-06-22 03:00:16'::timestamp) - extract(epoch from '2026-06-22 02:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367926 -2.802498)'), GeomFromEWKT('SRID=4674;POINT (-40.367983 -2.802469)'))) / (select extract(epoch from '2026-06-22 03:00:16'::timestamp) - extract(epoch from '2026-06-22 02:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368068 -2.802445)', '2026-06-22 03:00:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367983 -2.802469)'), GeomFromEWKT('SRID=4674;POINT (-40.368068 -2.802445)'))) / (select extract(epoch from '2026-06-22 03:00:45'::timestamp) - extract(epoch from '2026-06-22 03:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367983 -2.802469)'), GeomFromEWKT('SRID=4674;POINT (-40.368068 -2.802445)'))) / (select extract(epoch from '2026-06-22 03:00:45'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46719, 'SRID=4674;POINT (-40.368132 -2.802425)', '2026-06-22 03:01:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368068 -2.802445)'), GeomFromEWKT('SRID=4674;POINT (-40.368132 -2.802425)'))) / (select extract(epoch from '2026-06-22 03:01:10'::timestamp) - extract(epoch from '2026-06-22 03:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368068 -2.802445)'), GeomFromEWKT('SRID=4674;POINT (-40.368132 -2.802425)'))) / (select extract(epoch from '2026-06-22 03:01:10'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46719, 'SRID=4674;POINT (-40.368216 -2.802399)', '2026-06-22 03:01:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368132 -2.802425)'), GeomFromEWKT('SRID=4674;POINT (-40.368216 -2.802399)'))) / (select extract(epoch from '2026-06-22 03:01:38'::timestamp) - extract(epoch from '2026-06-22 03:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368132 -2.802425)'), GeomFromEWKT('SRID=4674;POINT (-40.368216 -2.802399)'))) / (select extract(epoch from '2026-06-22 03:01:38'::timestamp) - extract(epoch from '2026-06-22 03:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368296 -2.80239)', '2026-06-22 03:02:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368216 -2.802399)'), GeomFromEWKT('SRID=4674;POINT (-40.368296 -2.80239)'))) / (select extract(epoch from '2026-06-22 03:02:06'::timestamp) - extract(epoch from '2026-06-22 03:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368216 -2.802399)'), GeomFromEWKT('SRID=4674;POINT (-40.368296 -2.80239)'))) / (select extract(epoch from '2026-06-22 03:02:06'::timestamp) - extract(epoch from '2026-06-22 03:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368386 -2.8024)', '2026-06-22 03:02:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368296 -2.80239)'), GeomFromEWKT('SRID=4674;POINT (-40.368386 -2.8024)'))) / (select extract(epoch from '2026-06-22 03:02:41'::timestamp) - extract(epoch from '2026-06-22 03:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368296 -2.80239)'), GeomFromEWKT('SRID=4674;POINT (-40.368386 -2.8024)'))) / (select extract(epoch from '2026-06-22 03:02:41'::timestamp) - extract(epoch from '2026-06-22 03:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368491 -2.802375)', '2026-06-22 03:03:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368386 -2.8024)'), GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.802375)'))) / (select extract(epoch from '2026-06-22 03:03:13'::timestamp) - extract(epoch from '2026-06-22 03:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368386 -2.8024)'), GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.802375)'))) / (select extract(epoch from '2026-06-22 03:03:13'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46719, 'SRID=4674;POINT (-40.36858 -2.802357)', '2026-06-22 03:03:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.802375)'), GeomFromEWKT('SRID=4674;POINT (-40.36858 -2.802357)'))) / (select extract(epoch from '2026-06-22 03:03:33'::timestamp) - extract(epoch from '2026-06-22 03:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368491 -2.802375)'), GeomFromEWKT('SRID=4674;POINT (-40.36858 -2.802357)'))) / (select extract(epoch from '2026-06-22 03:03:33'::timestamp) - extract(epoch from '2026-06-22 03:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368684 -2.802335)', '2026-06-22 03:03:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36858 -2.802357)'), GeomFromEWKT('SRID=4674;POINT (-40.368684 -2.802335)'))) / (select extract(epoch from '2026-06-22 03:03:52'::timestamp) - extract(epoch from '2026-06-22 03:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36858 -2.802357)'), GeomFromEWKT('SRID=4674;POINT (-40.368684 -2.802335)'))) / (select extract(epoch from '2026-06-22 03:03:52'::timestamp) - extract(epoch from '2026-06-22 03:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368753 -2.80234)', '2026-06-22 03:04:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368684 -2.802335)'), GeomFromEWKT('SRID=4674;POINT (-40.368753 -2.80234)'))) / (select extract(epoch from '2026-06-22 03:04:04'::timestamp) - extract(epoch from '2026-06-22 03:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368684 -2.802335)'), GeomFromEWKT('SRID=4674;POINT (-40.368753 -2.80234)'))) / (select extract(epoch from '2026-06-22 03:04:04'::timestamp) - extract(epoch from '2026-06-22 03:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368811 -2.80234)', '2026-06-22 03:04:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368753 -2.80234)'), GeomFromEWKT('SRID=4674;POINT (-40.368811 -2.80234)'))) / (select extract(epoch from '2026-06-22 03:04:14'::timestamp) - extract(epoch from '2026-06-22 03:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368753 -2.80234)'), GeomFromEWKT('SRID=4674;POINT (-40.368811 -2.80234)'))) / (select extract(epoch from '2026-06-22 03:04:14'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46719, 'SRID=4674;POINT (-40.368878 -2.802331)', '2026-06-22 03:04:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368811 -2.80234)'), GeomFromEWKT('SRID=4674;POINT (-40.368878 -2.802331)'))) / (select extract(epoch from '2026-06-22 03:04:25'::timestamp) - extract(epoch from '2026-06-22 03:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368811 -2.80234)'), GeomFromEWKT('SRID=4674;POINT (-40.368878 -2.802331)'))) / (select extract(epoch from '2026-06-22 03:04:25'::timestamp) - extract(epoch from '2026-06-22 03:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.368955 -2.80232)', '2026-06-22 03:04:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368878 -2.802331)'), GeomFromEWKT('SRID=4674;POINT (-40.368955 -2.80232)'))) / (select extract(epoch from '2026-06-22 03:04:38'::timestamp) - extract(epoch from '2026-06-22 03:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368878 -2.802331)'), GeomFromEWKT('SRID=4674;POINT (-40.368955 -2.80232)'))) / (select extract(epoch from '2026-06-22 03:04:38'::timestamp) - extract(epoch from '2026-06-22 03:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.369025 -2.802318)', '2026-06-22 03:04:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368955 -2.80232)'), GeomFromEWKT('SRID=4674;POINT (-40.369025 -2.802318)'))) / (select extract(epoch from '2026-06-22 03:04:50'::timestamp) - extract(epoch from '2026-06-22 03:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368955 -2.80232)'), GeomFromEWKT('SRID=4674;POINT (-40.369025 -2.802318)'))) / (select extract(epoch from '2026-06-22 03:04:50'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.369102 -2.802304)', '2026-06-22 03:05:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369025 -2.802318)'), GeomFromEWKT('SRID=4674;POINT (-40.369102 -2.802304)'))) / (select extract(epoch from '2026-06-22 03:05:03'::timestamp) - extract(epoch from '2026-06-22 03:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369025 -2.802318)'), GeomFromEWKT('SRID=4674;POINT (-40.369102 -2.802304)'))) / (select extract(epoch from '2026-06-22 03:05:03'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46719, 'SRID=4674;POINT (-40.369172 -2.802298)', '2026-06-22 03:05:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369102 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.369172 -2.802298)'))) / (select extract(epoch from '2026-06-22 03:05:15'::timestamp) - extract(epoch from '2026-06-22 03:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369102 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.369172 -2.802298)'))) / (select extract(epoch from '2026-06-22 03:05:15'::timestamp) - extract(epoch from '2026-06-22 03:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.369242 -2.802296)', '2026-06-22 03:05:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369172 -2.802298)'), GeomFromEWKT('SRID=4674;POINT (-40.369242 -2.802296)'))) / (select extract(epoch from '2026-06-22 03:05:26'::timestamp) - extract(epoch from '2026-06-22 03:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369172 -2.802298)'), GeomFromEWKT('SRID=4674;POINT (-40.369242 -2.802296)'))) / (select extract(epoch from '2026-06-22 03:05:26'::timestamp) - extract(epoch from '2026-06-22 03:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.36931 -2.802292)', '2026-06-22 03:05:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369242 -2.802296)'), GeomFromEWKT('SRID=4674;POINT (-40.36931 -2.802292)'))) / (select extract(epoch from '2026-06-22 03:05:37'::timestamp) - extract(epoch from '2026-06-22 03:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369242 -2.802296)'), GeomFromEWKT('SRID=4674;POINT (-40.36931 -2.802292)'))) / (select extract(epoch from '2026-06-22 03:05:37'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46719, 'SRID=4674;POINT (-40.369363 -2.802295)', '2026-06-22 03:05:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36931 -2.802292)'), GeomFromEWKT('SRID=4674;POINT (-40.369363 -2.802295)'))) / (select extract(epoch from '2026-06-22 03:05:46'::timestamp) - extract(epoch from '2026-06-22 03:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36931 -2.802292)'), GeomFromEWKT('SRID=4674;POINT (-40.369363 -2.802295)'))) / (select extract(epoch from '2026-06-22 03:05:46'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46719, 'SRID=4674;POINT (-40.369433 -2.802293)', '2026-06-22 03:05:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369363 -2.802295)'), GeomFromEWKT('SRID=4674;POINT (-40.369433 -2.802293)'))) / (select extract(epoch from '2026-06-22 03:05:58'::timestamp) - extract(epoch from '2026-06-22 03:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369363 -2.802295)'), GeomFromEWKT('SRID=4674;POINT (-40.369433 -2.802293)'))) / (select extract(epoch from '2026-06-22 03:05:58'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.369506 -2.802299)', '2026-06-22 03:06:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369433 -2.802293)'), GeomFromEWKT('SRID=4674;POINT (-40.369506 -2.802299)'))) / (select extract(epoch from '2026-06-22 03:06:09'::timestamp) - extract(epoch from '2026-06-22 03:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369433 -2.802293)'), GeomFromEWKT('SRID=4674;POINT (-40.369506 -2.802299)'))) / (select extract(epoch from '2026-06-22 03:06:09'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.369556 -2.8023)', '2026-06-22 03:06:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369506 -2.802299)'), GeomFromEWKT('SRID=4674;POINT (-40.369556 -2.8023)'))) / (select extract(epoch from '2026-06-22 03:06:17'::timestamp) - extract(epoch from '2026-06-22 03:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369506 -2.802299)'), GeomFromEWKT('SRID=4674;POINT (-40.369556 -2.8023)'))) / (select extract(epoch from '2026-06-22 03:06:17'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46719, 'SRID=4674;POINT (-40.369628 -2.802295)', '2026-06-22 03:06:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369556 -2.8023)'), GeomFromEWKT('SRID=4674;POINT (-40.369628 -2.802295)'))) / (select extract(epoch from '2026-06-22 03:06:28'::timestamp) - extract(epoch from '2026-06-22 03:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369556 -2.8023)'), GeomFromEWKT('SRID=4674;POINT (-40.369628 -2.802295)'))) / (select extract(epoch from '2026-06-22 03:06:28'::timestamp) - extract(epoch from '2026-06-22 03:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.36971 -2.80229)', '2026-06-22 03:06:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369628 -2.802295)'), GeomFromEWKT('SRID=4674;POINT (-40.36971 -2.80229)'))) / (select extract(epoch from '2026-06-22 03:06:40'::timestamp) - extract(epoch from '2026-06-22 03:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369628 -2.802295)'), GeomFromEWKT('SRID=4674;POINT (-40.36971 -2.80229)'))) / (select extract(epoch from '2026-06-22 03:06:40'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.369811 -2.802286)', '2026-06-22 03:06:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36971 -2.80229)'), GeomFromEWKT('SRID=4674;POINT (-40.369811 -2.802286)'))) / (select extract(epoch from '2026-06-22 03:06:55'::timestamp) - extract(epoch from '2026-06-22 03:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36971 -2.80229)'), GeomFromEWKT('SRID=4674;POINT (-40.369811 -2.802286)'))) / (select extract(epoch from '2026-06-22 03:06:55'::timestamp) - extract(epoch from '2026-06-22 03:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.369931 -2.802286)', '2026-06-22 03:07:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369811 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.369931 -2.802286)'))) / (select extract(epoch from '2026-06-22 03:07:12'::timestamp) - extract(epoch from '2026-06-22 03:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369811 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.369931 -2.802286)'))) / (select extract(epoch from '2026-06-22 03:07:12'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46719, 'SRID=4674;POINT (-40.370003 -2.802284)', '2026-06-22 03:07:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369931 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.370003 -2.802284)'))) / (select extract(epoch from '2026-06-22 03:07:23'::timestamp) - extract(epoch from '2026-06-22 03:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369931 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.370003 -2.802284)'))) / (select extract(epoch from '2026-06-22 03:07:23'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46719, 'SRID=4674;POINT (-40.370065 -2.802283)', '2026-06-22 03:07:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370003 -2.802284)'), GeomFromEWKT('SRID=4674;POINT (-40.370065 -2.802283)'))) / (select extract(epoch from '2026-06-22 03:07:34'::timestamp) - extract(epoch from '2026-06-22 03:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370003 -2.802284)'), GeomFromEWKT('SRID=4674;POINT (-40.370065 -2.802283)'))) / (select extract(epoch from '2026-06-22 03:07:34'::timestamp) - extract(epoch from '2026-06-22 03:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.370117 -2.80228)', '2026-06-22 03:07:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370065 -2.802283)'), GeomFromEWKT('SRID=4674;POINT (-40.370117 -2.80228)'))) / (select extract(epoch from '2026-06-22 03:07:43'::timestamp) - extract(epoch from '2026-06-22 03:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370065 -2.802283)'), GeomFromEWKT('SRID=4674;POINT (-40.370117 -2.80228)'))) / (select extract(epoch from '2026-06-22 03:07:43'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46719, 'SRID=4674;POINT (-40.370169 -2.802278)', '2026-06-22 03:07:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370117 -2.80228)'), GeomFromEWKT('SRID=4674;POINT (-40.370169 -2.802278)'))) / (select extract(epoch from '2026-06-22 03:07:54'::timestamp) - extract(epoch from '2026-06-22 03:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370117 -2.80228)'), GeomFromEWKT('SRID=4674;POINT (-40.370169 -2.802278)'))) / (select extract(epoch from '2026-06-22 03:07:54'::timestamp) - extract(epoch from '2026-06-22 03:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.370246 -2.802277)', '2026-06-22 03:08:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370169 -2.802278)'), GeomFromEWKT('SRID=4674;POINT (-40.370246 -2.802277)'))) / (select extract(epoch from '2026-06-22 03:08:12'::timestamp) - extract(epoch from '2026-06-22 03:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370169 -2.802278)'), GeomFromEWKT('SRID=4674;POINT (-40.370246 -2.802277)'))) / (select extract(epoch from '2026-06-22 03:08:12'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46719, 'SRID=4674;POINT (-40.370338 -2.802269)', '2026-06-22 03:08:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370246 -2.802277)'), GeomFromEWKT('SRID=4674;POINT (-40.370338 -2.802269)'))) / (select extract(epoch from '2026-06-22 03:08:33'::timestamp) - extract(epoch from '2026-06-22 03:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370246 -2.802277)'), GeomFromEWKT('SRID=4674;POINT (-40.370338 -2.802269)'))) / (select extract(epoch from '2026-06-22 03:08:33'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46719, 'SRID=4674;POINT (-40.370413 -2.802264)', '2026-06-22 03:08:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370338 -2.802269)'), GeomFromEWKT('SRID=4674;POINT (-40.370413 -2.802264)'))) / (select extract(epoch from '2026-06-22 03:08:52'::timestamp) - extract(epoch from '2026-06-22 03:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370338 -2.802269)'), GeomFromEWKT('SRID=4674;POINT (-40.370413 -2.802264)'))) / (select extract(epoch from '2026-06-22 03:08:52'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46719, 'SRID=4674;POINT (-40.370506 -2.802242)', '2026-06-22 03:09:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370413 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.370506 -2.802242)'))) / (select extract(epoch from '2026-06-22 03:09:12'::timestamp) - extract(epoch from '2026-06-22 03:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370413 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.370506 -2.802242)'))) / (select extract(epoch from '2026-06-22 03:09:12'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46719, 'SRID=4674;POINT (-40.370598 -2.802234)', '2026-06-22 03:09:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370506 -2.802242)'), GeomFromEWKT('SRID=4674;POINT (-40.370598 -2.802234)'))) / (select extract(epoch from '2026-06-22 03:09:34'::timestamp) - extract(epoch from '2026-06-22 03:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370506 -2.802242)'), GeomFromEWKT('SRID=4674;POINT (-40.370598 -2.802234)'))) / (select extract(epoch from '2026-06-22 03:09:34'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46719, 'SRID=4674;POINT (-40.370642 -2.802234)', '2026-06-22 03:09:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370598 -2.802234)'), GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.802234)'))) / (select extract(epoch from '2026-06-22 03:09:44'::timestamp) - extract(epoch from '2026-06-22 03:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370598 -2.802234)'), GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.802234)'))) / (select extract(epoch from '2026-06-22 03:09:44'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46719, 'SRID=4674;POINT (-40.370695 -2.802229)', '2026-06-22 03:09:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.802234)'), GeomFromEWKT('SRID=4674;POINT (-40.370695 -2.802229)'))) / (select extract(epoch from '2026-06-22 03:09:57'::timestamp) - extract(epoch from '2026-06-22 03:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.802234)'), GeomFromEWKT('SRID=4674;POINT (-40.370695 -2.802229)'))) / (select extract(epoch from '2026-06-22 03:09:57'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46719, 'SRID=4674;POINT (-40.37075 -2.802222)', '2026-06-22 03:10:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370695 -2.802229)'), GeomFromEWKT('SRID=4674;POINT (-40.37075 -2.802222)'))) / (select extract(epoch from '2026-06-22 03:10:12'::timestamp) - extract(epoch from '2026-06-22 03:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370695 -2.802229)'), GeomFromEWKT('SRID=4674;POINT (-40.37075 -2.802222)'))) / (select extract(epoch from '2026-06-22 03:10:12'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.370845 -2.802206)', '2026-06-22 03:10:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37075 -2.802222)'), GeomFromEWKT('SRID=4674;POINT (-40.370845 -2.802206)'))) / (select extract(epoch from '2026-06-22 03:10:36'::timestamp) - extract(epoch from '2026-06-22 03:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37075 -2.802222)'), GeomFromEWKT('SRID=4674;POINT (-40.370845 -2.802206)'))) / (select extract(epoch from '2026-06-22 03:10:36'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.370927 -2.80219)', '2026-06-22 03:10:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370845 -2.802206)'), GeomFromEWKT('SRID=4674;POINT (-40.370927 -2.80219)'))) / (select extract(epoch from '2026-06-22 03:10:55'::timestamp) - extract(epoch from '2026-06-22 03:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370845 -2.802206)'), GeomFromEWKT('SRID=4674;POINT (-40.370927 -2.80219)'))) / (select extract(epoch from '2026-06-22 03:10:55'::timestamp) - extract(epoch from '2026-06-22 03:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.371074 -2.802157)', '2026-06-22 03:11:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370927 -2.80219)'), GeomFromEWKT('SRID=4674;POINT (-40.371074 -2.802157)'))) / (select extract(epoch from '2026-06-22 03:11:29'::timestamp) - extract(epoch from '2026-06-22 03:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370927 -2.80219)'), GeomFromEWKT('SRID=4674;POINT (-40.371074 -2.802157)'))) / (select extract(epoch from '2026-06-22 03:11:29'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.371147 -2.802145)', '2026-06-22 03:11:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371074 -2.802157)'), GeomFromEWKT('SRID=4674;POINT (-40.371147 -2.802145)'))) / (select extract(epoch from '2026-06-22 03:11:47'::timestamp) - extract(epoch from '2026-06-22 03:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371074 -2.802157)'), GeomFromEWKT('SRID=4674;POINT (-40.371147 -2.802145)'))) / (select extract(epoch from '2026-06-22 03:11:47'::timestamp) - extract(epoch from '2026-06-22 03:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.371231 -2.802132)', '2026-06-22 03:12:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371147 -2.802145)'), GeomFromEWKT('SRID=4674;POINT (-40.371231 -2.802132)'))) / (select extract(epoch from '2026-06-22 03:12:05'::timestamp) - extract(epoch from '2026-06-22 03:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371147 -2.802145)'), GeomFromEWKT('SRID=4674;POINT (-40.371231 -2.802132)'))) / (select extract(epoch from '2026-06-22 03:12:05'::timestamp) - extract(epoch from '2026-06-22 03:11: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'), 46719, 'SRID=4674;POINT (-40.371326 -2.802132)', '2026-06-22 03:12:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371231 -2.802132)'), GeomFromEWKT('SRID=4674;POINT (-40.371326 -2.802132)'))) / (select extract(epoch from '2026-06-22 03:12:27'::timestamp) - extract(epoch from '2026-06-22 03:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371231 -2.802132)'), GeomFromEWKT('SRID=4674;POINT (-40.371326 -2.802132)'))) / (select extract(epoch from '2026-06-22 03:12:27'::timestamp) - extract(epoch from '2026-06-22 03:12: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'), 46719, 'SRID=4674;POINT (-40.371397 -2.802126)', '2026-06-22 03:12:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371326 -2.802132)'), GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.802126)'))) / (select extract(epoch from '2026-06-22 03:12:46'::timestamp) - extract(epoch from '2026-06-22 03:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371326 -2.802132)'), GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.802126)'))) / (select extract(epoch from '2026-06-22 03:12:46'::timestamp) - extract(epoch from '2026-06-22 03:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.371488 -2.802096)', '2026-06-22 03:13:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.802126)'), GeomFromEWKT('SRID=4674;POINT (-40.371488 -2.802096)'))) / (select extract(epoch from '2026-06-22 03:13:15'::timestamp) - extract(epoch from '2026-06-22 03:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371397 -2.802126)'), GeomFromEWKT('SRID=4674;POINT (-40.371488 -2.802096)'))) / (select extract(epoch from '2026-06-22 03:13:15'::timestamp) - extract(epoch from '2026-06-22 03:12: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'), 46719, 'SRID=4674;POINT (-40.371545 -2.80208)', '2026-06-22 03:13:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371488 -2.802096)'), GeomFromEWKT('SRID=4674;POINT (-40.371545 -2.80208)'))) / (select extract(epoch from '2026-06-22 03:13:32'::timestamp) - extract(epoch from '2026-06-22 03:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371488 -2.802096)'), GeomFromEWKT('SRID=4674;POINT (-40.371545 -2.80208)'))) / (select extract(epoch from '2026-06-22 03:13:32'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.371626 -2.802068)', '2026-06-22 03:13:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371545 -2.80208)'), GeomFromEWKT('SRID=4674;POINT (-40.371626 -2.802068)'))) / (select extract(epoch from '2026-06-22 03:13:52'::timestamp) - extract(epoch from '2026-06-22 03:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371545 -2.80208)'), GeomFromEWKT('SRID=4674;POINT (-40.371626 -2.802068)'))) / (select extract(epoch from '2026-06-22 03:13:52'::timestamp) - extract(epoch from '2026-06-22 03:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.371737 -2.802052)', '2026-06-22 03:14:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371626 -2.802068)'), GeomFromEWKT('SRID=4674;POINT (-40.371737 -2.802052)'))) / (select extract(epoch from '2026-06-22 03:14:14'::timestamp) - extract(epoch from '2026-06-22 03:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371626 -2.802068)'), GeomFromEWKT('SRID=4674;POINT (-40.371737 -2.802052)'))) / (select extract(epoch from '2026-06-22 03:14:14'::timestamp) - extract(epoch from '2026-06-22 03:13: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'), 46719, 'SRID=4674;POINT (-40.371806 -2.802054)', '2026-06-22 03:14:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371737 -2.802052)'), GeomFromEWKT('SRID=4674;POINT (-40.371806 -2.802054)'))) / (select extract(epoch from '2026-06-22 03:14:26'::timestamp) - extract(epoch from '2026-06-22 03:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371737 -2.802052)'), GeomFromEWKT('SRID=4674;POINT (-40.371806 -2.802054)'))) / (select extract(epoch from '2026-06-22 03:14:26'::timestamp) - extract(epoch from '2026-06-22 03:14: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'), 46719, 'SRID=4674;POINT (-40.371856 -2.802053)', '2026-06-22 03:14:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371806 -2.802054)'), GeomFromEWKT('SRID=4674;POINT (-40.371856 -2.802053)'))) / (select extract(epoch from '2026-06-22 03:14:34'::timestamp) - extract(epoch from '2026-06-22 03:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371806 -2.802054)'), GeomFromEWKT('SRID=4674;POINT (-40.371856 -2.802053)'))) / (select extract(epoch from '2026-06-22 03:14:34'::timestamp) - extract(epoch from '2026-06-22 03:14: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'), 46719, 'SRID=4674;POINT (-40.371924 -2.802052)', '2026-06-22 03:14:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371856 -2.802053)'), GeomFromEWKT('SRID=4674;POINT (-40.371924 -2.802052)'))) / (select extract(epoch from '2026-06-22 03:14:45'::timestamp) - extract(epoch from '2026-06-22 03:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371856 -2.802053)'), GeomFromEWKT('SRID=4674;POINT (-40.371924 -2.802052)'))) / (select extract(epoch from '2026-06-22 03:14:45'::timestamp) - extract(epoch from '2026-06-22 03:14: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'), 46719, 'SRID=4674;POINT (-40.372002 -2.802048)', '2026-06-22 03:14:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371924 -2.802052)'), GeomFromEWKT('SRID=4674;POINT (-40.372002 -2.802048)'))) / (select extract(epoch from '2026-06-22 03:14:56'::timestamp) - extract(epoch from '2026-06-22 03:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371924 -2.802052)'), GeomFromEWKT('SRID=4674;POINT (-40.372002 -2.802048)'))) / (select extract(epoch from '2026-06-22 03:14:56'::timestamp) - extract(epoch from '2026-06-22 03:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.372085 -2.802046)', '2026-06-22 03:15:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372002 -2.802048)'), GeomFromEWKT('SRID=4674;POINT (-40.372085 -2.802046)'))) / (select extract(epoch from '2026-06-22 03:15:07'::timestamp) - extract(epoch from '2026-06-22 03:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372002 -2.802048)'), GeomFromEWKT('SRID=4674;POINT (-40.372085 -2.802046)'))) / (select extract(epoch from '2026-06-22 03:15:07'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.372149 -2.802049)', '2026-06-22 03:15:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372085 -2.802046)'), GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.802049)'))) / (select extract(epoch from '2026-06-22 03:15:16'::timestamp) - extract(epoch from '2026-06-22 03:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372085 -2.802046)'), GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.802049)'))) / (select extract(epoch from '2026-06-22 03:15:16'::timestamp) - extract(epoch from '2026-06-22 03:15: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'), 46719, 'SRID=4674;POINT (-40.372222 -2.802043)', '2026-06-22 03:15:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.802049)'), GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.802043)'))) / (select extract(epoch from '2026-06-22 03:15:26'::timestamp) - extract(epoch from '2026-06-22 03:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372149 -2.802049)'), GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.802043)'))) / (select extract(epoch from '2026-06-22 03:15:26'::timestamp) - extract(epoch from '2026-06-22 03:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.372303 -2.802042)', '2026-06-22 03:15:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.802043)'), GeomFromEWKT('SRID=4674;POINT (-40.372303 -2.802042)'))) / (select extract(epoch from '2026-06-22 03:15:37'::timestamp) - extract(epoch from '2026-06-22 03:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.802043)'), GeomFromEWKT('SRID=4674;POINT (-40.372303 -2.802042)'))) / (select extract(epoch from '2026-06-22 03:15:37'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.372376 -2.802044)', '2026-06-22 03:15:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372303 -2.802042)'), GeomFromEWKT('SRID=4674;POINT (-40.372376 -2.802044)'))) / (select extract(epoch from '2026-06-22 03:15:48'::timestamp) - extract(epoch from '2026-06-22 03:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372303 -2.802042)'), GeomFromEWKT('SRID=4674;POINT (-40.372376 -2.802044)'))) / (select extract(epoch from '2026-06-22 03:15:48'::timestamp) - extract(epoch from '2026-06-22 03:15: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'), 46719, 'SRID=4674;POINT (-40.372479 -2.802028)', '2026-06-22 03:16:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372376 -2.802044)'), GeomFromEWKT('SRID=4674;POINT (-40.372479 -2.802028)'))) / (select extract(epoch from '2026-06-22 03:16:03'::timestamp) - extract(epoch from '2026-06-22 03:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372376 -2.802044)'), GeomFromEWKT('SRID=4674;POINT (-40.372479 -2.802028)'))) / (select extract(epoch from '2026-06-22 03:16:03'::timestamp) - extract(epoch from '2026-06-22 03:15: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'), 46719, 'SRID=4674;POINT (-40.372537 -2.802022)', '2026-06-22 03:16:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372479 -2.802028)'), GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.802022)'))) / (select extract(epoch from '2026-06-22 03:16:12'::timestamp) - extract(epoch from '2026-06-22 03:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372479 -2.802028)'), GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.802022)'))) / (select extract(epoch from '2026-06-22 03:16:12'::timestamp) - extract(epoch from '2026-06-22 03:16: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'), 46719, 'SRID=4674;POINT (-40.372595 -2.802029)', '2026-06-22 03:16:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.802022)'), GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.802029)'))) / (select extract(epoch from '2026-06-22 03:16:21'::timestamp) - extract(epoch from '2026-06-22 03:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.802022)'), GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.802029)'))) / (select extract(epoch from '2026-06-22 03:16:21'::timestamp) - extract(epoch from '2026-06-22 03:16: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'), 46719, 'SRID=4674;POINT (-40.372673 -2.802023)', '2026-06-22 03:16:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.802029)'), GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802023)'))) / (select extract(epoch from '2026-06-22 03:16:33'::timestamp) - extract(epoch from '2026-06-22 03:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.802029)'), GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802023)'))) / (select extract(epoch from '2026-06-22 03:16:33'::timestamp) - extract(epoch from '2026-06-22 03:16: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'), 46719, 'SRID=4674;POINT (-40.37274 -2.802017)', '2026-06-22 03:16:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802023)'), GeomFromEWKT('SRID=4674;POINT (-40.37274 -2.802017)'))) / (select extract(epoch from '2026-06-22 03:16:44'::timestamp) - extract(epoch from '2026-06-22 03:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802023)'), GeomFromEWKT('SRID=4674;POINT (-40.37274 -2.802017)'))) / (select extract(epoch from '2026-06-22 03:16:44'::timestamp) - extract(epoch from '2026-06-22 03:16: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'), 46719, 'SRID=4674;POINT (-40.3728 -2.802015)', '2026-06-22 03:16:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37274 -2.802017)'), GeomFromEWKT('SRID=4674;POINT (-40.3728 -2.802015)'))) / (select extract(epoch from '2026-06-22 03:16:55'::timestamp) - extract(epoch from '2026-06-22 03:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37274 -2.802017)'), GeomFromEWKT('SRID=4674;POINT (-40.3728 -2.802015)'))) / (select extract(epoch from '2026-06-22 03:16:55'::timestamp) - extract(epoch from '2026-06-22 03:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.372855 -2.802019)', '2026-06-22 03:17:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3728 -2.802015)'), GeomFromEWKT('SRID=4674;POINT (-40.372855 -2.802019)'))) / (select extract(epoch from '2026-06-22 03:17:05'::timestamp) - extract(epoch from '2026-06-22 03:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3728 -2.802015)'), GeomFromEWKT('SRID=4674;POINT (-40.372855 -2.802019)'))) / (select extract(epoch from '2026-06-22 03:17:05'::timestamp) - extract(epoch from '2026-06-22 03:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.372922 -2.802016)', '2026-06-22 03:17:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372855 -2.802019)'), GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.802016)'))) / (select extract(epoch from '2026-06-22 03:17:16'::timestamp) - extract(epoch from '2026-06-22 03:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372855 -2.802019)'), GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.802016)'))) / (select extract(epoch from '2026-06-22 03:17:16'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46719, 'SRID=4674;POINT (-40.372985 -2.802007)', '2026-06-22 03:17:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.802016)'), GeomFromEWKT('SRID=4674;POINT (-40.372985 -2.802007)'))) / (select extract(epoch from '2026-06-22 03:17:25'::timestamp) - extract(epoch from '2026-06-22 03:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.802016)'), GeomFromEWKT('SRID=4674;POINT (-40.372985 -2.802007)'))) / (select extract(epoch from '2026-06-22 03:17:25'::timestamp) - extract(epoch from '2026-06-22 03:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.373064 -2.802004)', '2026-06-22 03:17:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372985 -2.802007)'), GeomFromEWKT('SRID=4674;POINT (-40.373064 -2.802004)'))) / (select extract(epoch from '2026-06-22 03:17:38'::timestamp) - extract(epoch from '2026-06-22 03:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372985 -2.802007)'), GeomFromEWKT('SRID=4674;POINT (-40.373064 -2.802004)'))) / (select extract(epoch from '2026-06-22 03:17:38'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46719, 'SRID=4674;POINT (-40.373112 -2.802001)', '2026-06-22 03:17:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373064 -2.802004)'), GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.802001)'))) / (select extract(epoch from '2026-06-22 03:17:47'::timestamp) - extract(epoch from '2026-06-22 03:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373064 -2.802004)'), GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.802001)'))) / (select extract(epoch from '2026-06-22 03:17:47'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46719, 'SRID=4674;POINT (-40.373168 -2.802)', '2026-06-22 03:17:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.373168 -2.802)'))) / (select extract(epoch from '2026-06-22 03:17:56'::timestamp) - extract(epoch from '2026-06-22 03:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.373168 -2.802)'))) / (select extract(epoch from '2026-06-22 03:17:56'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46719, 'SRID=4674;POINT (-40.373262 -2.801998)', '2026-06-22 03:18:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373168 -2.802)'), GeomFromEWKT('SRID=4674;POINT (-40.373262 -2.801998)'))) / (select extract(epoch from '2026-06-22 03:18:11'::timestamp) - extract(epoch from '2026-06-22 03:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373168 -2.802)'), GeomFromEWKT('SRID=4674;POINT (-40.373262 -2.801998)'))) / (select extract(epoch from '2026-06-22 03:18:11'::timestamp) - extract(epoch from '2026-06-22 03:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.373313 -2.801999)', '2026-06-22 03:18:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373262 -2.801998)'), GeomFromEWKT('SRID=4674;POINT (-40.373313 -2.801999)'))) / (select extract(epoch from '2026-06-22 03:18:19'::timestamp) - extract(epoch from '2026-06-22 03:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373262 -2.801998)'), GeomFromEWKT('SRID=4674;POINT (-40.373313 -2.801999)'))) / (select extract(epoch from '2026-06-22 03:18:19'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46719, 'SRID=4674;POINT (-40.373392 -2.801987)', '2026-06-22 03:18:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373313 -2.801999)'), GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.801987)'))) / (select extract(epoch from '2026-06-22 03:18:31'::timestamp) - extract(epoch from '2026-06-22 03:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373313 -2.801999)'), GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.801987)'))) / (select extract(epoch from '2026-06-22 03:18:31'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.373465 -2.801981)', '2026-06-22 03:18:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.373465 -2.801981)'))) / (select extract(epoch from '2026-06-22 03:18:43'::timestamp) - extract(epoch from '2026-06-22 03:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.373465 -2.801981)'))) / (select extract(epoch from '2026-06-22 03:18:43'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46719, 'SRID=4674;POINT (-40.373534 -2.801976)', '2026-06-22 03:18:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373465 -2.801981)'), GeomFromEWKT('SRID=4674;POINT (-40.373534 -2.801976)'))) / (select extract(epoch from '2026-06-22 03:18:54'::timestamp) - extract(epoch from '2026-06-22 03:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373465 -2.801981)'), GeomFromEWKT('SRID=4674;POINT (-40.373534 -2.801976)'))) / (select extract(epoch from '2026-06-22 03:18:54'::timestamp) - extract(epoch from '2026-06-22 03:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.373601 -2.801975)', '2026-06-22 03:19:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373534 -2.801976)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.801975)'))) / (select extract(epoch from '2026-06-22 03:19:04'::timestamp) - extract(epoch from '2026-06-22 03:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373534 -2.801976)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.801975)'))) / (select extract(epoch from '2026-06-22 03:19:04'::timestamp) - extract(epoch from '2026-06-22 03:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.373657 -2.801969)', '2026-06-22 03:19:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.373657 -2.801969)'))) / (select extract(epoch from '2026-06-22 03:19:13'::timestamp) - extract(epoch from '2026-06-22 03:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.373657 -2.801969)'))) / (select extract(epoch from '2026-06-22 03:19:13'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46719, 'SRID=4674;POINT (-40.373733 -2.801971)', '2026-06-22 03:19:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373657 -2.801969)'), GeomFromEWKT('SRID=4674;POINT (-40.373733 -2.801971)'))) / (select extract(epoch from '2026-06-22 03:19:27'::timestamp) - extract(epoch from '2026-06-22 03:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373657 -2.801969)'), GeomFromEWKT('SRID=4674;POINT (-40.373733 -2.801971)'))) / (select extract(epoch from '2026-06-22 03:19:27'::timestamp) - extract(epoch from '2026-06-22 03:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.373794 -2.801964)', '2026-06-22 03:19:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373733 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.373794 -2.801964)'))) / (select extract(epoch from '2026-06-22 03:19:37'::timestamp) - extract(epoch from '2026-06-22 03:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373733 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.373794 -2.801964)'))) / (select extract(epoch from '2026-06-22 03:19:37'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46719, 'SRID=4674;POINT (-40.373846 -2.801951)', '2026-06-22 03:19:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373794 -2.801964)'), GeomFromEWKT('SRID=4674;POINT (-40.373846 -2.801951)'))) / (select extract(epoch from '2026-06-22 03:19:46'::timestamp) - extract(epoch from '2026-06-22 03:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373794 -2.801964)'), GeomFromEWKT('SRID=4674;POINT (-40.373846 -2.801951)'))) / (select extract(epoch from '2026-06-22 03:19:46'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.373901 -2.801945)', '2026-06-22 03:19:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373846 -2.801951)'), GeomFromEWKT('SRID=4674;POINT (-40.373901 -2.801945)'))) / (select extract(epoch from '2026-06-22 03:19:57'::timestamp) - extract(epoch from '2026-06-22 03:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373846 -2.801951)'), GeomFromEWKT('SRID=4674;POINT (-40.373901 -2.801945)'))) / (select extract(epoch from '2026-06-22 03:19:57'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46719, 'SRID=4674;POINT (-40.373968 -2.801948)', '2026-06-22 03:20:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373901 -2.801945)'), GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.801948)'))) / (select extract(epoch from '2026-06-22 03:20:09'::timestamp) - extract(epoch from '2026-06-22 03:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373901 -2.801945)'), GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.801948)'))) / (select extract(epoch from '2026-06-22 03:20:09'::timestamp) - extract(epoch from '2026-06-22 03:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374035 -2.801939)', '2026-06-22 03:20:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.374035 -2.801939)'))) / (select extract(epoch from '2026-06-22 03:20:22'::timestamp) - extract(epoch from '2026-06-22 03:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.374035 -2.801939)'))) / (select extract(epoch from '2026-06-22 03:20:22'::timestamp) - extract(epoch from '2026-06-22 03:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374089 -2.801939)', '2026-06-22 03:20:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374035 -2.801939)'), GeomFromEWKT('SRID=4674;POINT (-40.374089 -2.801939)'))) / (select extract(epoch from '2026-06-22 03:20:33'::timestamp) - extract(epoch from '2026-06-22 03:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374035 -2.801939)'), GeomFromEWKT('SRID=4674;POINT (-40.374089 -2.801939)'))) / (select extract(epoch from '2026-06-22 03:20:33'::timestamp) - extract(epoch from '2026-06-22 03:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374152 -2.801941)', '2026-06-22 03:20:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374089 -2.801939)'), GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.801941)'))) / (select extract(epoch from '2026-06-22 03:20:47'::timestamp) - extract(epoch from '2026-06-22 03:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374089 -2.801939)'), GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.801941)'))) / (select extract(epoch from '2026-06-22 03:20:47'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46719, 'SRID=4674;POINT (-40.374219 -2.801934)', '2026-06-22 03:21:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.801941)'), GeomFromEWKT('SRID=4674;POINT (-40.374219 -2.801934)'))) / (select extract(epoch from '2026-06-22 03:21:04'::timestamp) - extract(epoch from '2026-06-22 03:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.801941)'), GeomFromEWKT('SRID=4674;POINT (-40.374219 -2.801934)'))) / (select extract(epoch from '2026-06-22 03:21:04'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46719, 'SRID=4674;POINT (-40.374309 -2.801929)', '2026-06-22 03:21:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374219 -2.801934)'), GeomFromEWKT('SRID=4674;POINT (-40.374309 -2.801929)'))) / (select extract(epoch from '2026-06-22 03:21:22'::timestamp) - extract(epoch from '2026-06-22 03:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374219 -2.801934)'), GeomFromEWKT('SRID=4674;POINT (-40.374309 -2.801929)'))) / (select extract(epoch from '2026-06-22 03:21:22'::timestamp) - extract(epoch from '2026-06-22 03:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374384 -2.801929)', '2026-06-22 03:21:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374309 -2.801929)'), GeomFromEWKT('SRID=4674;POINT (-40.374384 -2.801929)'))) / (select extract(epoch from '2026-06-22 03:21:38'::timestamp) - extract(epoch from '2026-06-22 03:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374309 -2.801929)'), GeomFromEWKT('SRID=4674;POINT (-40.374384 -2.801929)'))) / (select extract(epoch from '2026-06-22 03:21:38'::timestamp) - extract(epoch from '2026-06-22 03:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374462 -2.801931)', '2026-06-22 03:21:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374384 -2.801929)'), GeomFromEWKT('SRID=4674;POINT (-40.374462 -2.801931)'))) / (select extract(epoch from '2026-06-22 03:21:56'::timestamp) - extract(epoch from '2026-06-22 03:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374384 -2.801929)'), GeomFromEWKT('SRID=4674;POINT (-40.374462 -2.801931)'))) / (select extract(epoch from '2026-06-22 03:21:56'::timestamp) - extract(epoch from '2026-06-22 03:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374549 -2.801929)', '2026-06-22 03:22:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374462 -2.801931)'), GeomFromEWKT('SRID=4674;POINT (-40.374549 -2.801929)'))) / (select extract(epoch from '2026-06-22 03:22:16'::timestamp) - extract(epoch from '2026-06-22 03:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374462 -2.801931)'), GeomFromEWKT('SRID=4674;POINT (-40.374549 -2.801929)'))) / (select extract(epoch from '2026-06-22 03:22:16'::timestamp) - extract(epoch from '2026-06-22 03:21: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'), 46719, 'SRID=4674;POINT (-40.374667 -2.801905)', '2026-06-22 03:22:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374549 -2.801929)'), GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.801905)'))) / (select extract(epoch from '2026-06-22 03:22:41'::timestamp) - extract(epoch from '2026-06-22 03:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374549 -2.801929)'), GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.801905)'))) / (select extract(epoch from '2026-06-22 03:22:41'::timestamp) - extract(epoch from '2026-06-22 03:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374747 -2.801899)', '2026-06-22 03:22:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.801905)'), GeomFromEWKT('SRID=4674;POINT (-40.374747 -2.801899)'))) / (select extract(epoch from '2026-06-22 03:22:58'::timestamp) - extract(epoch from '2026-06-22 03:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.801905)'), GeomFromEWKT('SRID=4674;POINT (-40.374747 -2.801899)'))) / (select extract(epoch from '2026-06-22 03:22:58'::timestamp) - extract(epoch from '2026-06-22 03:22: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'), 46719, 'SRID=4674;POINT (-40.374862 -2.801883)', '2026-06-22 03:23:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374747 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.801883)'))) / (select extract(epoch from '2026-06-22 03:23:24'::timestamp) - extract(epoch from '2026-06-22 03:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374747 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.801883)'))) / (select extract(epoch from '2026-06-22 03:23:24'::timestamp) - extract(epoch from '2026-06-22 03:22: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'), 46719, 'SRID=4674;POINT (-40.374924 -2.801867)', '2026-06-22 03:23:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.801883)'), GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.801867)'))) / (select extract(epoch from '2026-06-22 03:23:36'::timestamp) - extract(epoch from '2026-06-22 03:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.801883)'), GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.801867)'))) / (select extract(epoch from '2026-06-22 03:23:36'::timestamp) - extract(epoch from '2026-06-22 03:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.374976 -2.801867)', '2026-06-22 03:23:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.801867)'), GeomFromEWKT('SRID=4674;POINT (-40.374976 -2.801867)'))) / (select extract(epoch from '2026-06-22 03:23:47'::timestamp) - extract(epoch from '2026-06-22 03:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374924 -2.801867)'), GeomFromEWKT('SRID=4674;POINT (-40.374976 -2.801867)'))) / (select extract(epoch from '2026-06-22 03:23:47'::timestamp) - extract(epoch from '2026-06-22 03:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.375065 -2.801867)', '2026-06-22 03:24:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374976 -2.801867)'), GeomFromEWKT('SRID=4674;POINT (-40.375065 -2.801867)'))) / (select extract(epoch from '2026-06-22 03:24:05'::timestamp) - extract(epoch from '2026-06-22 03:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374976 -2.801867)'), GeomFromEWKT('SRID=4674;POINT (-40.375065 -2.801867)'))) / (select extract(epoch from '2026-06-22 03:24:05'::timestamp) - extract(epoch from '2026-06-22 03:23: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'), 46719, 'SRID=4674;POINT (-40.375149 -2.801861)', '2026-06-22 03:24:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375065 -2.801867)'), GeomFromEWKT('SRID=4674;POINT (-40.375149 -2.801861)'))) / (select extract(epoch from '2026-06-22 03:24:21'::timestamp) - extract(epoch from '2026-06-22 03:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375065 -2.801867)'), GeomFromEWKT('SRID=4674;POINT (-40.375149 -2.801861)'))) / (select extract(epoch from '2026-06-22 03:24:21'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.375209 -2.801842)', '2026-06-22 03:24:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375149 -2.801861)'), GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801842)'))) / (select extract(epoch from '2026-06-22 03:24:32'::timestamp) - extract(epoch from '2026-06-22 03:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375149 -2.801861)'), GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801842)'))) / (select extract(epoch from '2026-06-22 03:24:32'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.375268 -2.801828)', '2026-06-22 03:24:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801842)'), GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.801828)'))) / (select extract(epoch from '2026-06-22 03:24:44'::timestamp) - extract(epoch from '2026-06-22 03:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801842)'), GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.801828)'))) / (select extract(epoch from '2026-06-22 03:24:44'::timestamp) - extract(epoch from '2026-06-22 03:24: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'), 46719, 'SRID=4674;POINT (-40.375345 -2.801829)', '2026-06-22 03:25:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.801829)'))) / (select extract(epoch from '2026-06-22 03:25:02'::timestamp) - extract(epoch from '2026-06-22 03:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.801829)'))) / (select extract(epoch from '2026-06-22 03:25:02'::timestamp) - extract(epoch from '2026-06-22 03:24: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'), 46719, 'SRID=4674;POINT (-40.375447 -2.801819)', '2026-06-22 03:25:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.801829)'), GeomFromEWKT('SRID=4674;POINT (-40.375447 -2.801819)'))) / (select extract(epoch from '2026-06-22 03:25:22'::timestamp) - extract(epoch from '2026-06-22 03:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.801829)'), GeomFromEWKT('SRID=4674;POINT (-40.375447 -2.801819)'))) / (select extract(epoch from '2026-06-22 03:25:22'::timestamp) - extract(epoch from '2026-06-22 03:25: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'), 46719, 'SRID=4674;POINT (-40.375523 -2.801819)', '2026-06-22 03:25:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375447 -2.801819)'), GeomFromEWKT('SRID=4674;POINT (-40.375523 -2.801819)'))) / (select extract(epoch from '2026-06-22 03:25:35'::timestamp) - extract(epoch from '2026-06-22 03:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375447 -2.801819)'), GeomFromEWKT('SRID=4674;POINT (-40.375523 -2.801819)'))) / (select extract(epoch from '2026-06-22 03:25:35'::timestamp) - extract(epoch from '2026-06-22 03:25: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'), 46719, 'SRID=4674;POINT (-40.375603 -2.801825)', '2026-06-22 03:25:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375523 -2.801819)'), GeomFromEWKT('SRID=4674;POINT (-40.375603 -2.801825)'))) / (select extract(epoch from '2026-06-22 03:25:50'::timestamp) - extract(epoch from '2026-06-22 03:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375523 -2.801819)'), GeomFromEWKT('SRID=4674;POINT (-40.375603 -2.801825)'))) / (select extract(epoch from '2026-06-22 03:25:50'::timestamp) - extract(epoch from '2026-06-22 03:25: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'), 46719, 'SRID=4674;POINT (-40.375648 -2.801823)', '2026-06-22 03:25:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375603 -2.801825)'), GeomFromEWKT('SRID=4674;POINT (-40.375648 -2.801823)'))) / (select extract(epoch from '2026-06-22 03:25:59'::timestamp) - extract(epoch from '2026-06-22 03:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375603 -2.801825)'), GeomFromEWKT('SRID=4674;POINT (-40.375648 -2.801823)'))) / (select extract(epoch from '2026-06-22 03:25:59'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.375715 -2.801818)', '2026-06-22 03:26:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375648 -2.801823)'), GeomFromEWKT('SRID=4674;POINT (-40.375715 -2.801818)'))) / (select extract(epoch from '2026-06-22 03:26:11'::timestamp) - extract(epoch from '2026-06-22 03:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375648 -2.801823)'), GeomFromEWKT('SRID=4674;POINT (-40.375715 -2.801818)'))) / (select extract(epoch from '2026-06-22 03:26:11'::timestamp) - extract(epoch from '2026-06-22 03:25: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'), 46719, 'SRID=4674;POINT (-40.375812 -2.801813)', '2026-06-22 03:26:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375715 -2.801818)'), GeomFromEWKT('SRID=4674;POINT (-40.375812 -2.801813)'))) / (select extract(epoch from '2026-06-22 03:26:29'::timestamp) - extract(epoch from '2026-06-22 03:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375715 -2.801818)'), GeomFromEWKT('SRID=4674;POINT (-40.375812 -2.801813)'))) / (select extract(epoch from '2026-06-22 03:26:29'::timestamp) - extract(epoch from '2026-06-22 03:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.375872 -2.801811)', '2026-06-22 03:26:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375812 -2.801813)'), GeomFromEWKT('SRID=4674;POINT (-40.375872 -2.801811)'))) / (select extract(epoch from '2026-06-22 03:26:41'::timestamp) - extract(epoch from '2026-06-22 03:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375812 -2.801813)'), GeomFromEWKT('SRID=4674;POINT (-40.375872 -2.801811)'))) / (select extract(epoch from '2026-06-22 03:26:41'::timestamp) - extract(epoch from '2026-06-22 03:26: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'), 46719, 'SRID=4674;POINT (-40.375949 -2.801808)', '2026-06-22 03:26:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375872 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.375949 -2.801808)'))) / (select extract(epoch from '2026-06-22 03:26:56'::timestamp) - extract(epoch from '2026-06-22 03:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375872 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.375949 -2.801808)'))) / (select extract(epoch from '2026-06-22 03:26:56'::timestamp) - extract(epoch from '2026-06-22 03:26: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'), 46719, 'SRID=4674;POINT (-40.376016 -2.801811)', '2026-06-22 03:27:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375949 -2.801808)'), GeomFromEWKT('SRID=4674;POINT (-40.376016 -2.801811)'))) / (select extract(epoch from '2026-06-22 03:27:09'::timestamp) - extract(epoch from '2026-06-22 03:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375949 -2.801808)'), GeomFromEWKT('SRID=4674;POINT (-40.376016 -2.801811)'))) / (select extract(epoch from '2026-06-22 03:27:09'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.376115 -2.801817)', '2026-06-22 03:27:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376016 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.376115 -2.801817)'))) / (select extract(epoch from '2026-06-22 03:27:31'::timestamp) - extract(epoch from '2026-06-22 03:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376016 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.376115 -2.801817)'))) / (select extract(epoch from '2026-06-22 03:27:31'::timestamp) - extract(epoch from '2026-06-22 03:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.376188 -2.801817)', '2026-06-22 03:27:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376115 -2.801817)'), GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.801817)'))) / (select extract(epoch from '2026-06-22 03:27:48'::timestamp) - extract(epoch from '2026-06-22 03:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376115 -2.801817)'), GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.801817)'))) / (select extract(epoch from '2026-06-22 03:27:48'::timestamp) - extract(epoch from '2026-06-22 03:27: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'), 46719, 'SRID=4674;POINT (-40.376266 -2.801814)', '2026-06-22 03:28:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.801817)'), GeomFromEWKT('SRID=4674;POINT (-40.376266 -2.801814)'))) / (select extract(epoch from '2026-06-22 03:28:03'::timestamp) - extract(epoch from '2026-06-22 03:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.801817)'), GeomFromEWKT('SRID=4674;POINT (-40.376266 -2.801814)'))) / (select extract(epoch from '2026-06-22 03:28:03'::timestamp) - extract(epoch from '2026-06-22 03:27: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'), 46719, 'SRID=4674;POINT (-40.376293 -2.801807)', '2026-06-22 03:28:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376266 -2.801814)'), GeomFromEWKT('SRID=4674;POINT (-40.376293 -2.801807)'))) / (select extract(epoch from '2026-06-22 03:28:12'::timestamp) - extract(epoch from '2026-06-22 03:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376266 -2.801814)'), GeomFromEWKT('SRID=4674;POINT (-40.376293 -2.801807)'))) / (select extract(epoch from '2026-06-22 03:28:12'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.376295 -2.801805)', '2026-06-22 03:28:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376293 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.376295 -2.801805)'))) / (select extract(epoch from '2026-06-22 03:28:30'::timestamp) - extract(epoch from '2026-06-22 03:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376293 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.376295 -2.801805)'))) / (select extract(epoch from '2026-06-22 03:28:30'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.376323 -2.80178)', '2026-06-22 03:28:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376295 -2.801805)'), GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.80178)'))) / (select extract(epoch from '2026-06-22 03:28:41'::timestamp) - extract(epoch from '2026-06-22 03:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376295 -2.801805)'), GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.80178)'))) / (select extract(epoch from '2026-06-22 03:28:41'::timestamp) - extract(epoch from '2026-06-22 03:28: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'), 46719, 'SRID=4674;POINT (-40.376363 -2.801759)', '2026-06-22 03:28:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.80178)'), GeomFromEWKT('SRID=4674;POINT (-40.376363 -2.801759)'))) / (select extract(epoch from '2026-06-22 03:28:51'::timestamp) - extract(epoch from '2026-06-22 03:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.80178)'), GeomFromEWKT('SRID=4674;POINT (-40.376363 -2.801759)'))) / (select extract(epoch from '2026-06-22 03:28:51'::timestamp) - extract(epoch from '2026-06-22 03:28: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'), 46719, 'SRID=4674;POINT (-40.376415 -2.801735)', '2026-06-22 03:29:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376363 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.376415 -2.801735)'))) / (select extract(epoch from '2026-06-22 03:29:03'::timestamp) - extract(epoch from '2026-06-22 03:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376363 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.376415 -2.801735)'))) / (select extract(epoch from '2026-06-22 03:29:03'::timestamp) - extract(epoch from '2026-06-22 03:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.376468 -2.801724)', '2026-06-22 03:29:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376415 -2.801735)'), GeomFromEWKT('SRID=4674;POINT (-40.376468 -2.801724)'))) / (select extract(epoch from '2026-06-22 03:29:15'::timestamp) - extract(epoch from '2026-06-22 03:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376415 -2.801735)'), GeomFromEWKT('SRID=4674;POINT (-40.376468 -2.801724)'))) / (select extract(epoch from '2026-06-22 03:29:15'::timestamp) - extract(epoch from '2026-06-22 03:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.376519 -2.801716)', '2026-06-22 03:29:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376468 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.376519 -2.801716)'))) / (select extract(epoch from '2026-06-22 03:29:24'::timestamp) - extract(epoch from '2026-06-22 03:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376468 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.376519 -2.801716)'))) / (select extract(epoch from '2026-06-22 03:29:24'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.376583 -2.801713)', '2026-06-22 03:29:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376519 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.376583 -2.801713)'))) / (select extract(epoch from '2026-06-22 03:29:37'::timestamp) - extract(epoch from '2026-06-22 03:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376519 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.376583 -2.801713)'))) / (select extract(epoch from '2026-06-22 03:29:37'::timestamp) - extract(epoch from '2026-06-22 03:29: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'), 46719, 'SRID=4674;POINT (-40.376651 -2.80172)', '2026-06-22 03:29:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376583 -2.801713)'), GeomFromEWKT('SRID=4674;POINT (-40.376651 -2.80172)'))) / (select extract(epoch from '2026-06-22 03:29:50'::timestamp) - extract(epoch from '2026-06-22 03:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376583 -2.801713)'), GeomFromEWKT('SRID=4674;POINT (-40.376651 -2.80172)'))) / (select extract(epoch from '2026-06-22 03:29:50'::timestamp) - extract(epoch from '2026-06-22 03:29: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'), 46719, 'SRID=4674;POINT (-40.376699 -2.80172)', '2026-06-22 03:30:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376651 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.80172)'))) / (select extract(epoch from '2026-06-22 03:30:00'::timestamp) - extract(epoch from '2026-06-22 03:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376651 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.80172)'))) / (select extract(epoch from '2026-06-22 03:30:00'::timestamp) - extract(epoch from '2026-06-22 03:29: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'), 46719, 'SRID=4674;POINT (-40.376738 -2.80172)', '2026-06-22 03:30:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.376738 -2.80172)'))) / (select extract(epoch from '2026-06-22 03:30:09'::timestamp) - extract(epoch from '2026-06-22 03:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.376738 -2.80172)'))) / (select extract(epoch from '2026-06-22 03:30:09'::timestamp) - extract(epoch from '2026-06-22 03:30: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'), 46719, 'SRID=4674;POINT (-40.376788 -2.801718)', '2026-06-22 03:30:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376738 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.376788 -2.801718)'))) / (select extract(epoch from '2026-06-22 03:30:20'::timestamp) - extract(epoch from '2026-06-22 03:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376738 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.376788 -2.801718)'))) / (select extract(epoch from '2026-06-22 03:30:20'::timestamp) - extract(epoch from '2026-06-22 03:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.376855 -2.801703)', '2026-06-22 03:30:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376788 -2.801718)'), GeomFromEWKT('SRID=4674;POINT (-40.376855 -2.801703)'))) / (select extract(epoch from '2026-06-22 03:30:34'::timestamp) - extract(epoch from '2026-06-22 03:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376788 -2.801718)'), GeomFromEWKT('SRID=4674;POINT (-40.376855 -2.801703)'))) / (select extract(epoch from '2026-06-22 03:30:34'::timestamp) - extract(epoch from '2026-06-22 03:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.376949 -2.801707)', '2026-06-22 03:30:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376855 -2.801703)'), GeomFromEWKT('SRID=4674;POINT (-40.376949 -2.801707)'))) / (select extract(epoch from '2026-06-22 03:30:56'::timestamp) - extract(epoch from '2026-06-22 03:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376855 -2.801703)'), GeomFromEWKT('SRID=4674;POINT (-40.376949 -2.801707)'))) / (select extract(epoch from '2026-06-22 03:30:56'::timestamp) - extract(epoch from '2026-06-22 03:30: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'), 46719, 'SRID=4674;POINT (-40.377032 -2.801708)', '2026-06-22 03:31:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376949 -2.801707)'), GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.801708)'))) / (select extract(epoch from '2026-06-22 03:31:15'::timestamp) - extract(epoch from '2026-06-22 03:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376949 -2.801707)'), GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.801708)'))) / (select extract(epoch from '2026-06-22 03:31:15'::timestamp) - extract(epoch from '2026-06-22 03:30: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'), 46719, 'SRID=4674;POINT (-40.377143 -2.801717)', '2026-06-22 03:31:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.801708)'), GeomFromEWKT('SRID=4674;POINT (-40.377143 -2.801717)'))) / (select extract(epoch from '2026-06-22 03:31:40'::timestamp) - extract(epoch from '2026-06-22 03:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377032 -2.801708)'), GeomFromEWKT('SRID=4674;POINT (-40.377143 -2.801717)'))) / (select extract(epoch from '2026-06-22 03:31:40'::timestamp) - extract(epoch from '2026-06-22 03:31: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'), 46719, 'SRID=4674;POINT (-40.377247 -2.801725)', '2026-06-22 03:32:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377143 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.377247 -2.801725)'))) / (select extract(epoch from '2026-06-22 03:32:03'::timestamp) - extract(epoch from '2026-06-22 03:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377143 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.377247 -2.801725)'))) / (select extract(epoch from '2026-06-22 03:32:03'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.377333 -2.801731)', '2026-06-22 03:32:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377247 -2.801725)'), GeomFromEWKT('SRID=4674;POINT (-40.377333 -2.801731)'))) / (select extract(epoch from '2026-06-22 03:32:20'::timestamp) - extract(epoch from '2026-06-22 03:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377247 -2.801725)'), GeomFromEWKT('SRID=4674;POINT (-40.377333 -2.801731)'))) / (select extract(epoch from '2026-06-22 03:32:20'::timestamp) - extract(epoch from '2026-06-22 03:32: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'), 46719, 'SRID=4674;POINT (-40.377398 -2.80173)', '2026-06-22 03:32:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377333 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.377398 -2.80173)'))) / (select extract(epoch from '2026-06-22 03:32:33'::timestamp) - extract(epoch from '2026-06-22 03:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377333 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.377398 -2.80173)'))) / (select extract(epoch from '2026-06-22 03:32:33'::timestamp) - extract(epoch from '2026-06-22 03:32: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'), 46719, 'SRID=4674;POINT (-40.377466 -2.801724)', '2026-06-22 03:32:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377398 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.377466 -2.801724)'))) / (select extract(epoch from '2026-06-22 03:32:46'::timestamp) - extract(epoch from '2026-06-22 03:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377398 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.377466 -2.801724)'))) / (select extract(epoch from '2026-06-22 03:32:46'::timestamp) - extract(epoch from '2026-06-22 03:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.377521 -2.801725)', '2026-06-22 03:32:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377466 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.377521 -2.801725)'))) / (select extract(epoch from '2026-06-22 03:32:57'::timestamp) - extract(epoch from '2026-06-22 03:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377466 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.377521 -2.801725)'))) / (select extract(epoch from '2026-06-22 03:32:57'::timestamp) - extract(epoch from '2026-06-22 03:32: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'), 46719, 'SRID=4674;POINT (-40.377577 -2.801724)', '2026-06-22 03:33:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377521 -2.801725)'), GeomFromEWKT('SRID=4674;POINT (-40.377577 -2.801724)'))) / (select extract(epoch from '2026-06-22 03:33:09'::timestamp) - extract(epoch from '2026-06-22 03:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377521 -2.801725)'), GeomFromEWKT('SRID=4674;POINT (-40.377577 -2.801724)'))) / (select extract(epoch from '2026-06-22 03:33:09'::timestamp) - extract(epoch from '2026-06-22 03:32: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'), 46719, 'SRID=4674;POINT (-40.377649 -2.801727)', '2026-06-22 03:33:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377577 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.377649 -2.801727)'))) / (select extract(epoch from '2026-06-22 03:33:24'::timestamp) - extract(epoch from '2026-06-22 03:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377577 -2.801724)'), GeomFromEWKT('SRID=4674;POINT (-40.377649 -2.801727)'))) / (select extract(epoch from '2026-06-22 03:33:24'::timestamp) - extract(epoch from '2026-06-22 03:33: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'), 46719, 'SRID=4674;POINT (-40.377713 -2.801736)', '2026-06-22 03:33:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377649 -2.801727)'), GeomFromEWKT('SRID=4674;POINT (-40.377713 -2.801736)'))) / (select extract(epoch from '2026-06-22 03:33:37'::timestamp) - extract(epoch from '2026-06-22 03:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377649 -2.801727)'), GeomFromEWKT('SRID=4674;POINT (-40.377713 -2.801736)'))) / (select extract(epoch from '2026-06-22 03:33:37'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.377756 -2.801741)', '2026-06-22 03:33:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377713 -2.801736)'), GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.801741)'))) / (select extract(epoch from '2026-06-22 03:33:46'::timestamp) - extract(epoch from '2026-06-22 03:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377713 -2.801736)'), GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.801741)'))) / (select extract(epoch from '2026-06-22 03:33:46'::timestamp) - extract(epoch from '2026-06-22 03:33: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'), 46719, 'SRID=4674;POINT (-40.377803 -2.801745)', '2026-06-22 03:33:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.377803 -2.801745)'))) / (select extract(epoch from '2026-06-22 03:33:55'::timestamp) - extract(epoch from '2026-06-22 03:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377756 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.377803 -2.801745)'))) / (select extract(epoch from '2026-06-22 03:33:55'::timestamp) - extract(epoch from '2026-06-22 03:33: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'), 46719, 'SRID=4674;POINT (-40.377848 -2.801745)', '2026-06-22 03:34:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377803 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.377848 -2.801745)'))) / (select extract(epoch from '2026-06-22 03:34:05'::timestamp) - extract(epoch from '2026-06-22 03:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377803 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.377848 -2.801745)'))) / (select extract(epoch from '2026-06-22 03:34:05'::timestamp) - extract(epoch from '2026-06-22 03:33: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'), 46719, 'SRID=4674;POINT (-40.377915 -2.801757)', '2026-06-22 03:34:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377848 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.377915 -2.801757)'))) / (select extract(epoch from '2026-06-22 03:34:20'::timestamp) - extract(epoch from '2026-06-22 03:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377848 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.377915 -2.801757)'))) / (select extract(epoch from '2026-06-22 03:34:20'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.377965 -2.801763)', '2026-06-22 03:34:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377915 -2.801757)'), GeomFromEWKT('SRID=4674;POINT (-40.377965 -2.801763)'))) / (select extract(epoch from '2026-06-22 03:34:31'::timestamp) - extract(epoch from '2026-06-22 03:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377915 -2.801757)'), GeomFromEWKT('SRID=4674;POINT (-40.377965 -2.801763)'))) / (select extract(epoch from '2026-06-22 03:34:31'::timestamp) - extract(epoch from '2026-06-22 03:34: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'), 46719, 'SRID=4674;POINT (-40.378003 -2.801763)', '2026-06-22 03:34:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377965 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.801763)'))) / (select extract(epoch from '2026-06-22 03:34:42'::timestamp) - extract(epoch from '2026-06-22 03:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377965 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.801763)'))) / (select extract(epoch from '2026-06-22 03:34:42'::timestamp) - extract(epoch from '2026-06-22 03:34: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'), 46719, 'SRID=4674;POINT (-40.378039 -2.801761)', '2026-06-22 03:34:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.801761)'))) / (select extract(epoch from '2026-06-22 03:34:51'::timestamp) - extract(epoch from '2026-06-22 03:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.801761)'))) / (select extract(epoch from '2026-06-22 03:34:51'::timestamp) - extract(epoch from '2026-06-22 03:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378088 -2.801763)', '2026-06-22 03:35:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.801761)'), GeomFromEWKT('SRID=4674;POINT (-40.378088 -2.801763)'))) / (select extract(epoch from '2026-06-22 03:35:01'::timestamp) - extract(epoch from '2026-06-22 03:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.801761)'), GeomFromEWKT('SRID=4674;POINT (-40.378088 -2.801763)'))) / (select extract(epoch from '2026-06-22 03:35:01'::timestamp) - extract(epoch from '2026-06-22 03:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378146 -2.801762)', '2026-06-22 03:35:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378088 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.801762)'))) / (select extract(epoch from '2026-06-22 03:35:14'::timestamp) - extract(epoch from '2026-06-22 03:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378088 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.801762)'))) / (select extract(epoch from '2026-06-22 03:35:14'::timestamp) - extract(epoch from '2026-06-22 03:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378188 -2.801769)', '2026-06-22 03:35:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.801762)'), GeomFromEWKT('SRID=4674;POINT (-40.378188 -2.801769)'))) / (select extract(epoch from '2026-06-22 03:35:27'::timestamp) - extract(epoch from '2026-06-22 03:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.801762)'), GeomFromEWKT('SRID=4674;POINT (-40.378188 -2.801769)'))) / (select extract(epoch from '2026-06-22 03:35:27'::timestamp) - extract(epoch from '2026-06-22 03:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378229 -2.801772)', '2026-06-22 03:35:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378188 -2.801769)'), GeomFromEWKT('SRID=4674;POINT (-40.378229 -2.801772)'))) / (select extract(epoch from '2026-06-22 03:35:41'::timestamp) - extract(epoch from '2026-06-22 03:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378188 -2.801769)'), GeomFromEWKT('SRID=4674;POINT (-40.378229 -2.801772)'))) / (select extract(epoch from '2026-06-22 03:35:41'::timestamp) - extract(epoch from '2026-06-22 03:35: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'), 46719, 'SRID=4674;POINT (-40.378265 -2.801772)', '2026-06-22 03:35:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378229 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.378265 -2.801772)'))) / (select extract(epoch from '2026-06-22 03:35:53'::timestamp) - extract(epoch from '2026-06-22 03:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378229 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.378265 -2.801772)'))) / (select extract(epoch from '2026-06-22 03:35:53'::timestamp) - extract(epoch from '2026-06-22 03:35: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'), 46719, 'SRID=4674;POINT (-40.378316 -2.801778)', '2026-06-22 03:36:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378265 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.378316 -2.801778)'))) / (select extract(epoch from '2026-06-22 03:36:07'::timestamp) - extract(epoch from '2026-06-22 03:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378265 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.378316 -2.801778)'))) / (select extract(epoch from '2026-06-22 03:36:07'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.378381 -2.801789)', '2026-06-22 03:36:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378316 -2.801778)'), GeomFromEWKT('SRID=4674;POINT (-40.378381 -2.801789)'))) / (select extract(epoch from '2026-06-22 03:36:22'::timestamp) - extract(epoch from '2026-06-22 03:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378316 -2.801778)'), GeomFromEWKT('SRID=4674;POINT (-40.378381 -2.801789)'))) / (select extract(epoch from '2026-06-22 03:36:22'::timestamp) - extract(epoch from '2026-06-22 03:36: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'), 46719, 'SRID=4674;POINT (-40.378441 -2.801801)', '2026-06-22 03:36:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378381 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.378441 -2.801801)'))) / (select extract(epoch from '2026-06-22 03:36:35'::timestamp) - extract(epoch from '2026-06-22 03:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378381 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.378441 -2.801801)'))) / (select extract(epoch from '2026-06-22 03:36:35'::timestamp) - extract(epoch from '2026-06-22 03:36:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378494 -2.801812)', '2026-06-22 03:36:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378441 -2.801801)'), GeomFromEWKT('SRID=4674;POINT (-40.378494 -2.801812)'))) / (select extract(epoch from '2026-06-22 03:36:45'::timestamp) - extract(epoch from '2026-06-22 03:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378441 -2.801801)'), GeomFromEWKT('SRID=4674;POINT (-40.378494 -2.801812)'))) / (select extract(epoch from '2026-06-22 03:36:45'::timestamp) - extract(epoch from '2026-06-22 03:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378549 -2.801821)', '2026-06-22 03:36:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378494 -2.801812)'), GeomFromEWKT('SRID=4674;POINT (-40.378549 -2.801821)'))) / (select extract(epoch from '2026-06-22 03:36:55'::timestamp) - extract(epoch from '2026-06-22 03:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378494 -2.801812)'), GeomFromEWKT('SRID=4674;POINT (-40.378549 -2.801821)'))) / (select extract(epoch from '2026-06-22 03:36:55'::timestamp) - extract(epoch from '2026-06-22 03:36: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'), 46719, 'SRID=4674;POINT (-40.37861 -2.801837)', '2026-06-22 03:37:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378549 -2.801821)'), GeomFromEWKT('SRID=4674;POINT (-40.37861 -2.801837)'))) / (select extract(epoch from '2026-06-22 03:37:06'::timestamp) - extract(epoch from '2026-06-22 03:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378549 -2.801821)'), GeomFromEWKT('SRID=4674;POINT (-40.37861 -2.801837)'))) / (select extract(epoch from '2026-06-22 03:37:06'::timestamp) - extract(epoch from '2026-06-22 03:36: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'), 46719, 'SRID=4674;POINT (-40.378679 -2.801837)', '2026-06-22 03:37:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37861 -2.801837)'), GeomFromEWKT('SRID=4674;POINT (-40.378679 -2.801837)'))) / (select extract(epoch from '2026-06-22 03:37:18'::timestamp) - extract(epoch from '2026-06-22 03:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37861 -2.801837)'), GeomFromEWKT('SRID=4674;POINT (-40.378679 -2.801837)'))) / (select extract(epoch from '2026-06-22 03:37:18'::timestamp) - extract(epoch from '2026-06-22 03:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378748 -2.80184)', '2026-06-22 03:37:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378679 -2.801837)'), GeomFromEWKT('SRID=4674;POINT (-40.378748 -2.80184)'))) / (select extract(epoch from '2026-06-22 03:37:30'::timestamp) - extract(epoch from '2026-06-22 03:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378679 -2.801837)'), GeomFromEWKT('SRID=4674;POINT (-40.378748 -2.80184)'))) / (select extract(epoch from '2026-06-22 03:37:30'::timestamp) - extract(epoch from '2026-06-22 03:37: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'), 46719, 'SRID=4674;POINT (-40.37882 -2.801847)', '2026-06-22 03:37:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378748 -2.80184)'), GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.801847)'))) / (select extract(epoch from '2026-06-22 03:37:42'::timestamp) - extract(epoch from '2026-06-22 03:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378748 -2.80184)'), GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.801847)'))) / (select extract(epoch from '2026-06-22 03:37:42'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.37888 -2.801855)', '2026-06-22 03:37:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.37888 -2.801855)'))) / (select extract(epoch from '2026-06-22 03:37:52'::timestamp) - extract(epoch from '2026-06-22 03:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.37888 -2.801855)'))) / (select extract(epoch from '2026-06-22 03:37:52'::timestamp) - extract(epoch from '2026-06-22 03:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.378941 -2.801864)', '2026-06-22 03:38:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37888 -2.801855)'), GeomFromEWKT('SRID=4674;POINT (-40.378941 -2.801864)'))) / (select extract(epoch from '2026-06-22 03:38:02'::timestamp) - extract(epoch from '2026-06-22 03:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37888 -2.801855)'), GeomFromEWKT('SRID=4674;POINT (-40.378941 -2.801864)'))) / (select extract(epoch from '2026-06-22 03:38:02'::timestamp) - extract(epoch from '2026-06-22 03:37: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'), 46719, 'SRID=4674;POINT (-40.379022 -2.801866)', '2026-06-22 03:38:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378941 -2.801864)'), GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.801866)'))) / (select extract(epoch from '2026-06-22 03:38:13'::timestamp) - extract(epoch from '2026-06-22 03:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378941 -2.801864)'), GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.801866)'))) / (select extract(epoch from '2026-06-22 03:38:13'::timestamp) - extract(epoch from '2026-06-22 03:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.379083 -2.801885)', '2026-06-22 03:38:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.379083 -2.801885)'))) / (select extract(epoch from '2026-06-22 03:38:26'::timestamp) - extract(epoch from '2026-06-22 03:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379022 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.379083 -2.801885)'))) / (select extract(epoch from '2026-06-22 03:38:26'::timestamp) - extract(epoch from '2026-06-22 03:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.379124 -2.801895)', '2026-06-22 03:38:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379083 -2.801885)'), GeomFromEWKT('SRID=4674;POINT (-40.379124 -2.801895)'))) / (select extract(epoch from '2026-06-22 03:38:36'::timestamp) - extract(epoch from '2026-06-22 03:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379083 -2.801885)'), GeomFromEWKT('SRID=4674;POINT (-40.379124 -2.801895)'))) / (select extract(epoch from '2026-06-22 03:38:36'::timestamp) - extract(epoch from '2026-06-22 03:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.379202 -2.801914)', '2026-06-22 03:38:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379124 -2.801895)'), GeomFromEWKT('SRID=4674;POINT (-40.379202 -2.801914)'))) / (select extract(epoch from '2026-06-22 03:38:51'::timestamp) - extract(epoch from '2026-06-22 03:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379124 -2.801895)'), GeomFromEWKT('SRID=4674;POINT (-40.379202 -2.801914)'))) / (select extract(epoch from '2026-06-22 03:38:51'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.379245 -2.801931)', '2026-06-22 03:39:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379202 -2.801914)'), GeomFromEWKT('SRID=4674;POINT (-40.379245 -2.801931)'))) / (select extract(epoch from '2026-06-22 03:39:02'::timestamp) - extract(epoch from '2026-06-22 03:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379202 -2.801914)'), GeomFromEWKT('SRID=4674;POINT (-40.379245 -2.801931)'))) / (select extract(epoch from '2026-06-22 03:39:02'::timestamp) - extract(epoch from '2026-06-22 03:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.379304 -2.801943)', '2026-06-22 03:39:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379245 -2.801931)'), GeomFromEWKT('SRID=4674;POINT (-40.379304 -2.801943)'))) / (select extract(epoch from '2026-06-22 03:39:12'::timestamp) - extract(epoch from '2026-06-22 03:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379245 -2.801931)'), GeomFromEWKT('SRID=4674;POINT (-40.379304 -2.801943)'))) / (select extract(epoch from '2026-06-22 03:39:12'::timestamp) - extract(epoch from '2026-06-22 03:39: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'), 46719, 'SRID=4674;POINT (-40.37936 -2.801953)', '2026-06-22 03:39:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379304 -2.801943)'), GeomFromEWKT('SRID=4674;POINT (-40.37936 -2.801953)'))) / (select extract(epoch from '2026-06-22 03:39:23'::timestamp) - extract(epoch from '2026-06-22 03:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379304 -2.801943)'), GeomFromEWKT('SRID=4674;POINT (-40.37936 -2.801953)'))) / (select extract(epoch from '2026-06-22 03:39:23'::timestamp) - extract(epoch from '2026-06-22 03:39: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'), 46719, 'SRID=4674;POINT (-40.379405 -2.801963)', '2026-06-22 03:39:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37936 -2.801953)'), GeomFromEWKT('SRID=4674;POINT (-40.379405 -2.801963)'))) / (select extract(epoch from '2026-06-22 03:39:31'::timestamp) - extract(epoch from '2026-06-22 03:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37936 -2.801953)'), GeomFromEWKT('SRID=4674;POINT (-40.379405 -2.801963)'))) / (select extract(epoch from '2026-06-22 03:39:31'::timestamp) - extract(epoch from '2026-06-22 03:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.379502 -2.801976)', '2026-06-22 03:39:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379405 -2.801963)'), GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.801976)'))) / (select extract(epoch from '2026-06-22 03:39:46'::timestamp) - extract(epoch from '2026-06-22 03:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379405 -2.801963)'), GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.801976)'))) / (select extract(epoch from '2026-06-22 03:39:46'::timestamp) - extract(epoch from '2026-06-22 03:39: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'), 46719, 'SRID=4674;POINT (-40.37956 -2.801984)', '2026-06-22 03:39:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.801976)'), GeomFromEWKT('SRID=4674;POINT (-40.37956 -2.801984)'))) / (select extract(epoch from '2026-06-22 03:39:57'::timestamp) - extract(epoch from '2026-06-22 03:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.801976)'), GeomFromEWKT('SRID=4674;POINT (-40.37956 -2.801984)'))) / (select extract(epoch from '2026-06-22 03:39:57'::timestamp) - extract(epoch from '2026-06-22 03:39: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'), 46719, 'SRID=4674;POINT (-40.379633 -2.801992)', '2026-06-22 03:40:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37956 -2.801984)'), GeomFromEWKT('SRID=4674;POINT (-40.379633 -2.801992)'))) / (select extract(epoch from '2026-06-22 03:40:09'::timestamp) - extract(epoch from '2026-06-22 03:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37956 -2.801984)'), GeomFromEWKT('SRID=4674;POINT (-40.379633 -2.801992)'))) / (select extract(epoch from '2026-06-22 03:40:09'::timestamp) - extract(epoch from '2026-06-22 03:39: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'), 46719, 'SRID=4674;POINT (-40.379718 -2.801997)', '2026-06-22 03:40:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379633 -2.801992)'), GeomFromEWKT('SRID=4674;POINT (-40.379718 -2.801997)'))) / (select extract(epoch from '2026-06-22 03:40:22'::timestamp) - extract(epoch from '2026-06-22 03:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379633 -2.801992)'), GeomFromEWKT('SRID=4674;POINT (-40.379718 -2.801997)'))) / (select extract(epoch from '2026-06-22 03:40:22'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.379812 -2.802001)', '2026-06-22 03:40:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379718 -2.801997)'), GeomFromEWKT('SRID=4674;POINT (-40.379812 -2.802001)'))) / (select extract(epoch from '2026-06-22 03:40:36'::timestamp) - extract(epoch from '2026-06-22 03:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379718 -2.801997)'), GeomFromEWKT('SRID=4674;POINT (-40.379812 -2.802001)'))) / (select extract(epoch from '2026-06-22 03:40:36'::timestamp) - extract(epoch from '2026-06-22 03:40: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'), 46719, 'SRID=4674;POINT (-40.379891 -2.802011)', '2026-06-22 03:40:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379812 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.379891 -2.802011)'))) / (select extract(epoch from '2026-06-22 03:40:49'::timestamp) - extract(epoch from '2026-06-22 03:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379812 -2.802001)'), GeomFromEWKT('SRID=4674;POINT (-40.379891 -2.802011)'))) / (select extract(epoch from '2026-06-22 03:40:49'::timestamp) - extract(epoch from '2026-06-22 03:40: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'), 46719, 'SRID=4674;POINT (-40.379945 -2.802015)', '2026-06-22 03:40:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379891 -2.802011)'), GeomFromEWKT('SRID=4674;POINT (-40.379945 -2.802015)'))) / (select extract(epoch from '2026-06-22 03:40:59'::timestamp) - extract(epoch from '2026-06-22 03:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379891 -2.802011)'), GeomFromEWKT('SRID=4674;POINT (-40.379945 -2.802015)'))) / (select extract(epoch from '2026-06-22 03:40:59'::timestamp) - extract(epoch from '2026-06-22 03:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38 -2.802018)', '2026-06-22 03:41:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379945 -2.802015)'), GeomFromEWKT('SRID=4674;POINT (-40.38 -2.802018)'))) / (select extract(epoch from '2026-06-22 03:41:10'::timestamp) - extract(epoch from '2026-06-22 03:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379945 -2.802015)'), GeomFromEWKT('SRID=4674;POINT (-40.38 -2.802018)'))) / (select extract(epoch from '2026-06-22 03:41:10'::timestamp) - extract(epoch from '2026-06-22 03:40: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'), 46719, 'SRID=4674;POINT (-40.380044 -2.80203)', '2026-06-22 03:41:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38 -2.802018)'), GeomFromEWKT('SRID=4674;POINT (-40.380044 -2.80203)'))) / (select extract(epoch from '2026-06-22 03:41:21'::timestamp) - extract(epoch from '2026-06-22 03:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38 -2.802018)'), GeomFromEWKT('SRID=4674;POINT (-40.380044 -2.80203)'))) / (select extract(epoch from '2026-06-22 03:41:21'::timestamp) - extract(epoch from '2026-06-22 03:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.380097 -2.802034)', '2026-06-22 03:41:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380044 -2.80203)'), GeomFromEWKT('SRID=4674;POINT (-40.380097 -2.802034)'))) / (select extract(epoch from '2026-06-22 03:41:33'::timestamp) - extract(epoch from '2026-06-22 03:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380044 -2.80203)'), GeomFromEWKT('SRID=4674;POINT (-40.380097 -2.802034)'))) / (select extract(epoch from '2026-06-22 03:41:33'::timestamp) - extract(epoch from '2026-06-22 03:41: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'), 46719, 'SRID=4674;POINT (-40.380157 -2.802032)', '2026-06-22 03:41:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380097 -2.802034)'), GeomFromEWKT('SRID=4674;POINT (-40.380157 -2.802032)'))) / (select extract(epoch from '2026-06-22 03:41:44'::timestamp) - extract(epoch from '2026-06-22 03:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380097 -2.802034)'), GeomFromEWKT('SRID=4674;POINT (-40.380157 -2.802032)'))) / (select extract(epoch from '2026-06-22 03:41:44'::timestamp) - extract(epoch from '2026-06-22 03:41: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'), 46719, 'SRID=4674;POINT (-40.380204 -2.80204)', '2026-06-22 03:41:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380157 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.380204 -2.80204)'))) / (select extract(epoch from '2026-06-22 03:41:53'::timestamp) - extract(epoch from '2026-06-22 03:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380157 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.380204 -2.80204)'))) / (select extract(epoch from '2026-06-22 03:41:53'::timestamp) - extract(epoch from '2026-06-22 03:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.380262 -2.802047)', '2026-06-22 03:42:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380204 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.380262 -2.802047)'))) / (select extract(epoch from '2026-06-22 03:42:05'::timestamp) - extract(epoch from '2026-06-22 03:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380204 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.380262 -2.802047)'))) / (select extract(epoch from '2026-06-22 03:42:05'::timestamp) - extract(epoch from '2026-06-22 03:41: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'), 46719, 'SRID=4674;POINT (-40.38032 -2.802059)', '2026-06-22 03:42:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380262 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.802059)'))) / (select extract(epoch from '2026-06-22 03:42:17'::timestamp) - extract(epoch from '2026-06-22 03:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380262 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.802059)'))) / (select extract(epoch from '2026-06-22 03:42:17'::timestamp) - extract(epoch from '2026-06-22 03:42: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'), 46719, 'SRID=4674;POINT (-40.380379 -2.802065)', '2026-06-22 03:42:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.802059)'), GeomFromEWKT('SRID=4674;POINT (-40.380379 -2.802065)'))) / (select extract(epoch from '2026-06-22 03:42:28'::timestamp) - extract(epoch from '2026-06-22 03:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.802059)'), GeomFromEWKT('SRID=4674;POINT (-40.380379 -2.802065)'))) / (select extract(epoch from '2026-06-22 03:42:28'::timestamp) - extract(epoch from '2026-06-22 03:42: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'), 46719, 'SRID=4674;POINT (-40.380433 -2.802076)', '2026-06-22 03:42:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380379 -2.802065)'), GeomFromEWKT('SRID=4674;POINT (-40.380433 -2.802076)'))) / (select extract(epoch from '2026-06-22 03:42:39'::timestamp) - extract(epoch from '2026-06-22 03:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380379 -2.802065)'), GeomFromEWKT('SRID=4674;POINT (-40.380433 -2.802076)'))) / (select extract(epoch from '2026-06-22 03:42:39'::timestamp) - extract(epoch from '2026-06-22 03:42: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'), 46719, 'SRID=4674;POINT (-40.380499 -2.802082)', '2026-06-22 03:42:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380433 -2.802076)'), GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.802082)'))) / (select extract(epoch from '2026-06-22 03:42:51'::timestamp) - extract(epoch from '2026-06-22 03:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380433 -2.802076)'), GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.802082)'))) / (select extract(epoch from '2026-06-22 03:42:51'::timestamp) - extract(epoch from '2026-06-22 03:42: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'), 46719, 'SRID=4674;POINT (-40.380561 -2.802092)', '2026-06-22 03:43:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.802082)'), GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.802092)'))) / (select extract(epoch from '2026-06-22 03:43:02'::timestamp) - extract(epoch from '2026-06-22 03:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380499 -2.802082)'), GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.802092)'))) / (select extract(epoch from '2026-06-22 03:43:02'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.380649 -2.802093)', '2026-06-22 03:43:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.802092)'), GeomFromEWKT('SRID=4674;POINT (-40.380649 -2.802093)'))) / (select extract(epoch from '2026-06-22 03:43:17'::timestamp) - extract(epoch from '2026-06-22 03:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.802092)'), GeomFromEWKT('SRID=4674;POINT (-40.380649 -2.802093)'))) / (select extract(epoch from '2026-06-22 03:43:17'::timestamp) - extract(epoch from '2026-06-22 03:43: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'), 46719, 'SRID=4674;POINT (-40.380719 -2.802094)', '2026-06-22 03:43:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380649 -2.802093)'), GeomFromEWKT('SRID=4674;POINT (-40.380719 -2.802094)'))) / (select extract(epoch from '2026-06-22 03:43:28'::timestamp) - extract(epoch from '2026-06-22 03:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380649 -2.802093)'), GeomFromEWKT('SRID=4674;POINT (-40.380719 -2.802094)'))) / (select extract(epoch from '2026-06-22 03:43:28'::timestamp) - extract(epoch from '2026-06-22 03:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.380806 -2.802103)', '2026-06-22 03:43:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380719 -2.802094)'), GeomFromEWKT('SRID=4674;POINT (-40.380806 -2.802103)'))) / (select extract(epoch from '2026-06-22 03:43:42'::timestamp) - extract(epoch from '2026-06-22 03:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380719 -2.802094)'), GeomFromEWKT('SRID=4674;POINT (-40.380806 -2.802103)'))) / (select extract(epoch from '2026-06-22 03:43:42'::timestamp) - extract(epoch from '2026-06-22 03:43: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'), 46719, 'SRID=4674;POINT (-40.380868 -2.80211)', '2026-06-22 03:43:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380806 -2.802103)'), GeomFromEWKT('SRID=4674;POINT (-40.380868 -2.80211)'))) / (select extract(epoch from '2026-06-22 03:43:51'::timestamp) - extract(epoch from '2026-06-22 03:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380806 -2.802103)'), GeomFromEWKT('SRID=4674;POINT (-40.380868 -2.80211)'))) / (select extract(epoch from '2026-06-22 03:43:51'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.380943 -2.802117)', '2026-06-22 03:44:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380868 -2.80211)'), GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.802117)'))) / (select extract(epoch from '2026-06-22 03:44:02'::timestamp) - extract(epoch from '2026-06-22 03:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380868 -2.80211)'), GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.802117)'))) / (select extract(epoch from '2026-06-22 03:44:02'::timestamp) - extract(epoch from '2026-06-22 03:43: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'), 46719, 'SRID=4674;POINT (-40.381009 -2.802126)', '2026-06-22 03:44:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.802117)'), GeomFromEWKT('SRID=4674;POINT (-40.381009 -2.802126)'))) / (select extract(epoch from '2026-06-22 03:44:13'::timestamp) - extract(epoch from '2026-06-22 03:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380943 -2.802117)'), GeomFromEWKT('SRID=4674;POINT (-40.381009 -2.802126)'))) / (select extract(epoch from '2026-06-22 03:44:13'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.381065 -2.802133)', '2026-06-22 03:44:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381009 -2.802126)'), GeomFromEWKT('SRID=4674;POINT (-40.381065 -2.802133)'))) / (select extract(epoch from '2026-06-22 03:44:22'::timestamp) - extract(epoch from '2026-06-22 03:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381009 -2.802126)'), GeomFromEWKT('SRID=4674;POINT (-40.381065 -2.802133)'))) / (select extract(epoch from '2026-06-22 03:44:22'::timestamp) - extract(epoch from '2026-06-22 03:44: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'), 46719, 'SRID=4674;POINT (-40.381148 -2.802143)', '2026-06-22 03:44:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381065 -2.802133)'), GeomFromEWKT('SRID=4674;POINT (-40.381148 -2.802143)'))) / (select extract(epoch from '2026-06-22 03:44:35'::timestamp) - extract(epoch from '2026-06-22 03:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381065 -2.802133)'), GeomFromEWKT('SRID=4674;POINT (-40.381148 -2.802143)'))) / (select extract(epoch from '2026-06-22 03:44:35'::timestamp) - extract(epoch from '2026-06-22 03:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.381226 -2.80214)', '2026-06-22 03:44:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381148 -2.802143)'), GeomFromEWKT('SRID=4674;POINT (-40.381226 -2.80214)'))) / (select extract(epoch from '2026-06-22 03:44:47'::timestamp) - extract(epoch from '2026-06-22 03:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381148 -2.802143)'), GeomFromEWKT('SRID=4674;POINT (-40.381226 -2.80214)'))) / (select extract(epoch from '2026-06-22 03:44:47'::timestamp) - extract(epoch from '2026-06-22 03:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.381289 -2.802142)', '2026-06-22 03:44:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381226 -2.80214)'), GeomFromEWKT('SRID=4674;POINT (-40.381289 -2.802142)'))) / (select extract(epoch from '2026-06-22 03:44:57'::timestamp) - extract(epoch from '2026-06-22 03:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381226 -2.80214)'), GeomFromEWKT('SRID=4674;POINT (-40.381289 -2.802142)'))) / (select extract(epoch from '2026-06-22 03:44:57'::timestamp) - extract(epoch from '2026-06-22 03:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38134 -2.80215)', '2026-06-22 03:45:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381289 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.38134 -2.80215)'))) / (select extract(epoch from '2026-06-22 03:45:06'::timestamp) - extract(epoch from '2026-06-22 03:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381289 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.38134 -2.80215)'))) / (select extract(epoch from '2026-06-22 03:45:06'::timestamp) - extract(epoch from '2026-06-22 03:44: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'), 46719, 'SRID=4674;POINT (-40.381411 -2.802154)', '2026-06-22 03:45:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38134 -2.80215)'), GeomFromEWKT('SRID=4674;POINT (-40.381411 -2.802154)'))) / (select extract(epoch from '2026-06-22 03:45:17'::timestamp) - extract(epoch from '2026-06-22 03:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38134 -2.80215)'), GeomFromEWKT('SRID=4674;POINT (-40.381411 -2.802154)'))) / (select extract(epoch from '2026-06-22 03:45:17'::timestamp) - extract(epoch from '2026-06-22 03:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38148 -2.802162)', '2026-06-22 03:45:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381411 -2.802154)'), GeomFromEWKT('SRID=4674;POINT (-40.38148 -2.802162)'))) / (select extract(epoch from '2026-06-22 03:45:28'::timestamp) - extract(epoch from '2026-06-22 03:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381411 -2.802154)'), GeomFromEWKT('SRID=4674;POINT (-40.38148 -2.802162)'))) / (select extract(epoch from '2026-06-22 03:45:28'::timestamp) - extract(epoch from '2026-06-22 03:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.381552 -2.802174)', '2026-06-22 03:45:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38148 -2.802162)'), GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.802174)'))) / (select extract(epoch from '2026-06-22 03:45:40'::timestamp) - extract(epoch from '2026-06-22 03:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38148 -2.802162)'), GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.802174)'))) / (select extract(epoch from '2026-06-22 03:45:40'::timestamp) - extract(epoch from '2026-06-22 03:45:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38163 -2.802176)', '2026-06-22 03:45:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.802176)'))) / (select extract(epoch from '2026-06-22 03:45:52'::timestamp) - extract(epoch from '2026-06-22 03:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.802176)'))) / (select extract(epoch from '2026-06-22 03:45:52'::timestamp) - extract(epoch from '2026-06-22 03:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.381699 -2.802181)', '2026-06-22 03:46:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.802176)'), GeomFromEWKT('SRID=4674;POINT (-40.381699 -2.802181)'))) / (select extract(epoch from '2026-06-22 03:46:03'::timestamp) - extract(epoch from '2026-06-22 03:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38163 -2.802176)'), GeomFromEWKT('SRID=4674;POINT (-40.381699 -2.802181)'))) / (select extract(epoch from '2026-06-22 03:46:03'::timestamp) - extract(epoch from '2026-06-22 03:45: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'), 46719, 'SRID=4674;POINT (-40.381748 -2.802184)', '2026-06-22 03:46:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381699 -2.802181)'), GeomFromEWKT('SRID=4674;POINT (-40.381748 -2.802184)'))) / (select extract(epoch from '2026-06-22 03:46:11'::timestamp) - extract(epoch from '2026-06-22 03:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381699 -2.802181)'), GeomFromEWKT('SRID=4674;POINT (-40.381748 -2.802184)'))) / (select extract(epoch from '2026-06-22 03:46:11'::timestamp) - extract(epoch from '2026-06-22 03:46: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'), 46719, 'SRID=4674;POINT (-40.381812 -2.802189)', '2026-06-22 03:46:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381748 -2.802184)'), GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.802189)'))) / (select extract(epoch from '2026-06-22 03:46:21'::timestamp) - extract(epoch from '2026-06-22 03:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381748 -2.802184)'), GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.802189)'))) / (select extract(epoch from '2026-06-22 03:46:21'::timestamp) - extract(epoch from '2026-06-22 03:46: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'), 46719, 'SRID=4674;POINT (-40.38187 -2.802193)', '2026-06-22 03:46:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.802189)'), GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.802193)'))) / (select extract(epoch from '2026-06-22 03:46:31'::timestamp) - extract(epoch from '2026-06-22 03:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.802189)'), GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.802193)'))) / (select extract(epoch from '2026-06-22 03:46:31'::timestamp) - extract(epoch from '2026-06-22 03:46: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'), 46719, 'SRID=4674;POINT (-40.381926 -2.802193)', '2026-06-22 03:46:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.381926 -2.802193)'))) / (select extract(epoch from '2026-06-22 03:46:40'::timestamp) - extract(epoch from '2026-06-22 03:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.381926 -2.802193)'))) / (select extract(epoch from '2026-06-22 03:46:40'::timestamp) - extract(epoch from '2026-06-22 03:46: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'), 46719, 'SRID=4674;POINT (-40.381992 -2.802192)', '2026-06-22 03:46:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381926 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.381992 -2.802192)'))) / (select extract(epoch from '2026-06-22 03:46:51'::timestamp) - extract(epoch from '2026-06-22 03:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381926 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.381992 -2.802192)'))) / (select extract(epoch from '2026-06-22 03:46:51'::timestamp) - extract(epoch from '2026-06-22 03:46: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'), 46719, 'SRID=4674;POINT (-40.382043 -2.802194)', '2026-06-22 03:47:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381992 -2.802192)'), GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.802194)'))) / (select extract(epoch from '2026-06-22 03:47:02'::timestamp) - extract(epoch from '2026-06-22 03:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381992 -2.802192)'), GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.802194)'))) / (select extract(epoch from '2026-06-22 03:47:02'::timestamp) - extract(epoch from '2026-06-22 03:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.382112 -2.802189)', '2026-06-22 03:47:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.802194)'), GeomFromEWKT('SRID=4674;POINT (-40.382112 -2.802189)'))) / (select extract(epoch from '2026-06-22 03:47:14'::timestamp) - extract(epoch from '2026-06-22 03:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.802194)'), GeomFromEWKT('SRID=4674;POINT (-40.382112 -2.802189)'))) / (select extract(epoch from '2026-06-22 03:47:14'::timestamp) - extract(epoch from '2026-06-22 03:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.382178 -2.802188)', '2026-06-22 03:47:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382112 -2.802189)'), GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.802188)'))) / (select extract(epoch from '2026-06-22 03:47:25'::timestamp) - extract(epoch from '2026-06-22 03:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382112 -2.802189)'), GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.802188)'))) / (select extract(epoch from '2026-06-22 03:47:25'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.382254 -2.802185)', '2026-06-22 03:47:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.802188)'), GeomFromEWKT('SRID=4674;POINT (-40.382254 -2.802185)'))) / (select extract(epoch from '2026-06-22 03:47:37'::timestamp) - extract(epoch from '2026-06-22 03:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.802188)'), GeomFromEWKT('SRID=4674;POINT (-40.382254 -2.802185)'))) / (select extract(epoch from '2026-06-22 03:47:37'::timestamp) - extract(epoch from '2026-06-22 03:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.382309 -2.802197)', '2026-06-22 03:47:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382254 -2.802185)'), GeomFromEWKT('SRID=4674;POINT (-40.382309 -2.802197)'))) / (select extract(epoch from '2026-06-22 03:47:47'::timestamp) - extract(epoch from '2026-06-22 03:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382254 -2.802185)'), GeomFromEWKT('SRID=4674;POINT (-40.382309 -2.802197)'))) / (select extract(epoch from '2026-06-22 03:47:47'::timestamp) - extract(epoch from '2026-06-22 03:47: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'), 46719, 'SRID=4674;POINT (-40.382377 -2.802199)', '2026-06-22 03:47:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382309 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.382377 -2.802199)'))) / (select extract(epoch from '2026-06-22 03:47:58'::timestamp) - extract(epoch from '2026-06-22 03:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382309 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.382377 -2.802199)'))) / (select extract(epoch from '2026-06-22 03:47:58'::timestamp) - extract(epoch from '2026-06-22 03:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.382449 -2.8022)', '2026-06-22 03:48:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382377 -2.802199)'), GeomFromEWKT('SRID=4674;POINT (-40.382449 -2.8022)'))) / (select extract(epoch from '2026-06-22 03:48:09'::timestamp) - extract(epoch from '2026-06-22 03:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382377 -2.802199)'), GeomFromEWKT('SRID=4674;POINT (-40.382449 -2.8022)'))) / (select extract(epoch from '2026-06-22 03:48:09'::timestamp) - extract(epoch from '2026-06-22 03:47: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'), 46719, 'SRID=4674;POINT (-40.382514 -2.802201)', '2026-06-22 03:48:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382449 -2.8022)'), GeomFromEWKT('SRID=4674;POINT (-40.382514 -2.802201)'))) / (select extract(epoch from '2026-06-22 03:48:21'::timestamp) - extract(epoch from '2026-06-22 03:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382449 -2.8022)'), GeomFromEWKT('SRID=4674;POINT (-40.382514 -2.802201)'))) / (select extract(epoch from '2026-06-22 03:48:21'::timestamp) - extract(epoch from '2026-06-22 03:48: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'), 46719, 'SRID=4674;POINT (-40.382583 -2.802214)', '2026-06-22 03:48:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382514 -2.802201)'), GeomFromEWKT('SRID=4674;POINT (-40.382583 -2.802214)'))) / (select extract(epoch from '2026-06-22 03:48:35'::timestamp) - extract(epoch from '2026-06-22 03:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382514 -2.802201)'), GeomFromEWKT('SRID=4674;POINT (-40.382583 -2.802214)'))) / (select extract(epoch from '2026-06-22 03:48:35'::timestamp) - extract(epoch from '2026-06-22 03:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.382656 -2.802218)', '2026-06-22 03:48:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382583 -2.802214)'), GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.802218)'))) / (select extract(epoch from '2026-06-22 03:48:49'::timestamp) - extract(epoch from '2026-06-22 03:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382583 -2.802214)'), GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.802218)'))) / (select extract(epoch from '2026-06-22 03:48:49'::timestamp) - extract(epoch from '2026-06-22 03:48: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'), 46719, 'SRID=4674;POINT (-40.382723 -2.802215)', '2026-06-22 03:49:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.802218)'), GeomFromEWKT('SRID=4674;POINT (-40.382723 -2.802215)'))) / (select extract(epoch from '2026-06-22 03:49:01'::timestamp) - extract(epoch from '2026-06-22 03:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.802218)'), GeomFromEWKT('SRID=4674;POINT (-40.382723 -2.802215)'))) / (select extract(epoch from '2026-06-22 03:49:01'::timestamp) - extract(epoch from '2026-06-22 03:48: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'), 46719, 'SRID=4674;POINT (-40.382779 -2.802221)', '2026-06-22 03:49:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382723 -2.802215)'), GeomFromEWKT('SRID=4674;POINT (-40.382779 -2.802221)'))) / (select extract(epoch from '2026-06-22 03:49:14'::timestamp) - extract(epoch from '2026-06-22 03:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382723 -2.802215)'), GeomFromEWKT('SRID=4674;POINT (-40.382779 -2.802221)'))) / (select extract(epoch from '2026-06-22 03:49:14'::timestamp) - extract(epoch from '2026-06-22 03:49: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'), 46719, 'SRID=4674;POINT (-40.382842 -2.802232)', '2026-06-22 03:49:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382779 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.382842 -2.802232)'))) / (select extract(epoch from '2026-06-22 03:49:26'::timestamp) - extract(epoch from '2026-06-22 03:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382779 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.382842 -2.802232)'))) / (select extract(epoch from '2026-06-22 03:49:26'::timestamp) - extract(epoch from '2026-06-22 03:49: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'), 46719, 'SRID=4674;POINT (-40.382897 -2.802237)', '2026-06-22 03:49:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382842 -2.802232)'), GeomFromEWKT('SRID=4674;POINT (-40.382897 -2.802237)'))) / (select extract(epoch from '2026-06-22 03:49:35'::timestamp) - extract(epoch from '2026-06-22 03:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382842 -2.802232)'), GeomFromEWKT('SRID=4674;POINT (-40.382897 -2.802237)'))) / (select extract(epoch from '2026-06-22 03:49:35'::timestamp) - extract(epoch from '2026-06-22 03:49: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'), 46719, 'SRID=4674;POINT (-40.382967 -2.802239)', '2026-06-22 03:49:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382897 -2.802237)'), GeomFromEWKT('SRID=4674;POINT (-40.382967 -2.802239)'))) / (select extract(epoch from '2026-06-22 03:49:46'::timestamp) - extract(epoch from '2026-06-22 03:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382897 -2.802237)'), GeomFromEWKT('SRID=4674;POINT (-40.382967 -2.802239)'))) / (select extract(epoch from '2026-06-22 03:49:46'::timestamp) - extract(epoch from '2026-06-22 03:49: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'), 46719, 'SRID=4674;POINT (-40.383048 -2.802247)', '2026-06-22 03:49:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382967 -2.802239)'), GeomFromEWKT('SRID=4674;POINT (-40.383048 -2.802247)'))) / (select extract(epoch from '2026-06-22 03:49:59'::timestamp) - extract(epoch from '2026-06-22 03:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382967 -2.802239)'), GeomFromEWKT('SRID=4674;POINT (-40.383048 -2.802247)'))) / (select extract(epoch from '2026-06-22 03:49:59'::timestamp) - extract(epoch from '2026-06-22 03:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38311 -2.802256)', '2026-06-22 03:50:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383048 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.802256)'))) / (select extract(epoch from '2026-06-22 03:50:09'::timestamp) - extract(epoch from '2026-06-22 03:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383048 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.802256)'))) / (select extract(epoch from '2026-06-22 03:50:09'::timestamp) - extract(epoch from '2026-06-22 03:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38313 -2.802266)', '2026-06-22 03:50:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.802256)'), GeomFromEWKT('SRID=4674;POINT (-40.38313 -2.802266)'))) / (select extract(epoch from '2026-06-22 03:50:18'::timestamp) - extract(epoch from '2026-06-22 03:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.802256)'), GeomFromEWKT('SRID=4674;POINT (-40.38313 -2.802266)'))) / (select extract(epoch from '2026-06-22 03:50:18'::timestamp) - extract(epoch from '2026-06-22 03:50: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'), 46719, 'SRID=4674;POINT (-40.383171 -2.802276)', '2026-06-22 03:50:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38313 -2.802266)'), GeomFromEWKT('SRID=4674;POINT (-40.383171 -2.802276)'))) / (select extract(epoch from '2026-06-22 03:50:30'::timestamp) - extract(epoch from '2026-06-22 03:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38313 -2.802266)'), GeomFromEWKT('SRID=4674;POINT (-40.383171 -2.802276)'))) / (select extract(epoch from '2026-06-22 03:50:30'::timestamp) - extract(epoch from '2026-06-22 03:50: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'), 46719, 'SRID=4674;POINT (-40.383246 -2.802283)', '2026-06-22 03:50:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383171 -2.802276)'), GeomFromEWKT('SRID=4674;POINT (-40.383246 -2.802283)'))) / (select extract(epoch from '2026-06-22 03:50:43'::timestamp) - extract(epoch from '2026-06-22 03:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383171 -2.802276)'), GeomFromEWKT('SRID=4674;POINT (-40.383246 -2.802283)'))) / (select extract(epoch from '2026-06-22 03:50:43'::timestamp) - extract(epoch from '2026-06-22 03:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.383299 -2.802284)', '2026-06-22 03:50:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383246 -2.802283)'), GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.802284)'))) / (select extract(epoch from '2026-06-22 03:50:52'::timestamp) - extract(epoch from '2026-06-22 03:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383246 -2.802283)'), GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.802284)'))) / (select extract(epoch from '2026-06-22 03:50:52'::timestamp) - extract(epoch from '2026-06-22 03:50: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'), 46719, 'SRID=4674;POINT (-40.383377 -2.802304)', '2026-06-22 03:51:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.802284)'), GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.802304)'))) / (select extract(epoch from '2026-06-22 03:51:05'::timestamp) - extract(epoch from '2026-06-22 03:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.802284)'), GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.802304)'))) / (select extract(epoch from '2026-06-22 03:51:05'::timestamp) - extract(epoch from '2026-06-22 03:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.383404 -2.802313)', '2026-06-22 03:51:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.802313)'))) / (select extract(epoch from '2026-06-22 03:51:15'::timestamp) - extract(epoch from '2026-06-22 03:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.802313)'))) / (select extract(epoch from '2026-06-22 03:51:15'::timestamp) - extract(epoch from '2026-06-22 03:51: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'), 46719, 'SRID=4674;POINT (-40.383441 -2.802322)', '2026-06-22 03:51:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.802313)'), GeomFromEWKT('SRID=4674;POINT (-40.383441 -2.802322)'))) / (select extract(epoch from '2026-06-22 03:51:28'::timestamp) - extract(epoch from '2026-06-22 03:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.802313)'), GeomFromEWKT('SRID=4674;POINT (-40.383441 -2.802322)'))) / (select extract(epoch from '2026-06-22 03:51:28'::timestamp) - extract(epoch from '2026-06-22 03:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.383504 -2.802337)', '2026-06-22 03:51:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383441 -2.802322)'), GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.802337)'))) / (select extract(epoch from '2026-06-22 03:51:42'::timestamp) - extract(epoch from '2026-06-22 03:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383441 -2.802322)'), GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.802337)'))) / (select extract(epoch from '2026-06-22 03:51:42'::timestamp) - extract(epoch from '2026-06-22 03:51: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'), 46719, 'SRID=4674;POINT (-40.383573 -2.802342)', '2026-06-22 03:51:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.802337)'), GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.802342)'))) / (select extract(epoch from '2026-06-22 03:51:54'::timestamp) - extract(epoch from '2026-06-22 03:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.802337)'), GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.802342)'))) / (select extract(epoch from '2026-06-22 03:51:54'::timestamp) - extract(epoch from '2026-06-22 03:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.383669 -2.802363)', '2026-06-22 03:52:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.802342)'), GeomFromEWKT('SRID=4674;POINT (-40.383669 -2.802363)'))) / (select extract(epoch from '2026-06-22 03:52:09'::timestamp) - extract(epoch from '2026-06-22 03:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.802342)'), GeomFromEWKT('SRID=4674;POINT (-40.383669 -2.802363)'))) / (select extract(epoch from '2026-06-22 03:52:09'::timestamp) - extract(epoch from '2026-06-22 03:51: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'), 46719, 'SRID=4674;POINT (-40.383761 -2.802388)', '2026-06-22 03:52:24', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383669 -2.802363)'), GeomFromEWKT('SRID=4674;POINT (-40.383761 -2.802388)'))) / (select extract(epoch from '2026-06-22 03:52:24'::timestamp) - extract(epoch from '2026-06-22 03:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383669 -2.802363)'), GeomFromEWKT('SRID=4674;POINT (-40.383761 -2.802388)'))) / (select extract(epoch from '2026-06-22 03:52:24'::timestamp) - extract(epoch from '2026-06-22 03:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.383836 -2.802407)', '2026-06-22 03:52:36', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383761 -2.802388)'), GeomFromEWKT('SRID=4674;POINT (-40.383836 -2.802407)'))) / (select extract(epoch from '2026-06-22 03:52:36'::timestamp) - extract(epoch from '2026-06-22 03:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383761 -2.802388)'), GeomFromEWKT('SRID=4674;POINT (-40.383836 -2.802407)'))) / (select extract(epoch from '2026-06-22 03:52:36'::timestamp) - extract(epoch from '2026-06-22 03:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38392 -2.802424)', '2026-06-22 03:52:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383836 -2.802407)'), GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.802424)'))) / (select extract(epoch from '2026-06-22 03:52:48'::timestamp) - extract(epoch from '2026-06-22 03:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383836 -2.802407)'), GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.802424)'))) / (select extract(epoch from '2026-06-22 03:52:48'::timestamp) - extract(epoch from '2026-06-22 03:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.383983 -2.802439)', '2026-06-22 03:52:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.802424)'), GeomFromEWKT('SRID=4674;POINT (-40.383983 -2.802439)'))) / (select extract(epoch from '2026-06-22 03:52:58'::timestamp) - extract(epoch from '2026-06-22 03:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.802424)'), GeomFromEWKT('SRID=4674;POINT (-40.383983 -2.802439)'))) / (select extract(epoch from '2026-06-22 03:52:58'::timestamp) - extract(epoch from '2026-06-22 03:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38408 -2.80246)', '2026-06-22 03:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383983 -2.802439)'), GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.80246)'))) / (select extract(epoch from '2026-06-22 03:53:12'::timestamp) - extract(epoch from '2026-06-22 03:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383983 -2.802439)'), GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.80246)'))) / (select extract(epoch from '2026-06-22 03:53:12'::timestamp) - extract(epoch from '2026-06-22 03:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.384187 -2.802484)', '2026-06-22 03:53:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.80246)'), GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.802484)'))) / (select extract(epoch from '2026-06-22 03:53:27'::timestamp) - extract(epoch from '2026-06-22 03:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.80246)'), GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.802484)'))) / (select extract(epoch from '2026-06-22 03:53:27'::timestamp) - extract(epoch from '2026-06-22 03:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.384281 -2.8025)', '2026-06-22 03:53:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.802484)'), GeomFromEWKT('SRID=4674;POINT (-40.384281 -2.8025)'))) / (select extract(epoch from '2026-06-22 03:53:44'::timestamp) - extract(epoch from '2026-06-22 03:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.802484)'), GeomFromEWKT('SRID=4674;POINT (-40.384281 -2.8025)'))) / (select extract(epoch from '2026-06-22 03:53:44'::timestamp) - extract(epoch from '2026-06-22 03:53: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'), 46719, 'SRID=4674;POINT (-40.384346 -2.80251)', '2026-06-22 03:53:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384281 -2.8025)'), GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.80251)'))) / (select extract(epoch from '2026-06-22 03:53:56'::timestamp) - extract(epoch from '2026-06-22 03:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384281 -2.8025)'), GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.80251)'))) / (select extract(epoch from '2026-06-22 03:53:56'::timestamp) - extract(epoch from '2026-06-22 03:53: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'), 46719, 'SRID=4674;POINT (-40.384428 -2.80252)', '2026-06-22 03:54:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.80251)'), GeomFromEWKT('SRID=4674;POINT (-40.384428 -2.80252)'))) / (select extract(epoch from '2026-06-22 03:54:10'::timestamp) - extract(epoch from '2026-06-22 03:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.80251)'), GeomFromEWKT('SRID=4674;POINT (-40.384428 -2.80252)'))) / (select extract(epoch from '2026-06-22 03:54:10'::timestamp) - extract(epoch from '2026-06-22 03:53: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'), 46719, 'SRID=4674;POINT (-40.384514 -2.802529)', '2026-06-22 03:54:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384428 -2.80252)'), GeomFromEWKT('SRID=4674;POINT (-40.384514 -2.802529)'))) / (select extract(epoch from '2026-06-22 03:54:24'::timestamp) - extract(epoch from '2026-06-22 03:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384428 -2.80252)'), GeomFromEWKT('SRID=4674;POINT (-40.384514 -2.802529)'))) / (select extract(epoch from '2026-06-22 03:54:24'::timestamp) - extract(epoch from '2026-06-22 03:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.3846 -2.802541)', '2026-06-22 03:54:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384514 -2.802529)'), GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.802541)'))) / (select extract(epoch from '2026-06-22 03:54:38'::timestamp) - extract(epoch from '2026-06-22 03:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384514 -2.802529)'), GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.802541)'))) / (select extract(epoch from '2026-06-22 03:54:38'::timestamp) - extract(epoch from '2026-06-22 03:54: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'), 46719, 'SRID=4674;POINT (-40.384703 -2.802553)', '2026-06-22 03:54:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.802541)'), GeomFromEWKT('SRID=4674;POINT (-40.384703 -2.802553)'))) / (select extract(epoch from '2026-06-22 03:54:53'::timestamp) - extract(epoch from '2026-06-22 03:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.802541)'), GeomFromEWKT('SRID=4674;POINT (-40.384703 -2.802553)'))) / (select extract(epoch from '2026-06-22 03:54:53'::timestamp) - extract(epoch from '2026-06-22 03:54: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'), 46719, 'SRID=4674;POINT (-40.384797 -2.802573)', '2026-06-22 03:55:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384703 -2.802553)'), GeomFromEWKT('SRID=4674;POINT (-40.384797 -2.802573)'))) / (select extract(epoch from '2026-06-22 03:55:07'::timestamp) - extract(epoch from '2026-06-22 03:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384703 -2.802553)'), GeomFromEWKT('SRID=4674;POINT (-40.384797 -2.802573)'))) / (select extract(epoch from '2026-06-22 03:55:07'::timestamp) - extract(epoch from '2026-06-22 03:54: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'), 46719, 'SRID=4674;POINT (-40.38488 -2.802584)', '2026-06-22 03:55:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384797 -2.802573)'), GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.802584)'))) / (select extract(epoch from '2026-06-22 03:55:20'::timestamp) - extract(epoch from '2026-06-22 03:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384797 -2.802573)'), GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.802584)'))) / (select extract(epoch from '2026-06-22 03:55:20'::timestamp) - extract(epoch from '2026-06-22 03:55:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.384959 -2.802588)', '2026-06-22 03:55:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.802584)'), GeomFromEWKT('SRID=4674;POINT (-40.384959 -2.802588)'))) / (select extract(epoch from '2026-06-22 03:55:30'::timestamp) - extract(epoch from '2026-06-22 03:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.802584)'), GeomFromEWKT('SRID=4674;POINT (-40.384959 -2.802588)'))) / (select extract(epoch from '2026-06-22 03:55:30'::timestamp) - extract(epoch from '2026-06-22 03:55: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'), 46719, 'SRID=4674;POINT (-40.38504 -2.8026)', '2026-06-22 03:55:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384959 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.38504 -2.8026)'))) / (select extract(epoch from '2026-06-22 03:55:40'::timestamp) - extract(epoch from '2026-06-22 03:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384959 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.38504 -2.8026)'))) / (select extract(epoch from '2026-06-22 03:55:40'::timestamp) - extract(epoch from '2026-06-22 03:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.385121 -2.802592)', '2026-06-22 03:55:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38504 -2.8026)'), GeomFromEWKT('SRID=4674;POINT (-40.385121 -2.802592)'))) / (select extract(epoch from '2026-06-22 03:55:50'::timestamp) - extract(epoch from '2026-06-22 03:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38504 -2.8026)'), GeomFromEWKT('SRID=4674;POINT (-40.385121 -2.802592)'))) / (select extract(epoch from '2026-06-22 03:55:50'::timestamp) - extract(epoch from '2026-06-22 03:55: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'), 46719, 'SRID=4674;POINT (-40.385189 -2.802587)', '2026-06-22 03:55:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385121 -2.802592)'), GeomFromEWKT('SRID=4674;POINT (-40.385189 -2.802587)'))) / (select extract(epoch from '2026-06-22 03:55:58'::timestamp) - extract(epoch from '2026-06-22 03:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385121 -2.802592)'), GeomFromEWKT('SRID=4674;POINT (-40.385189 -2.802587)'))) / (select extract(epoch from '2026-06-22 03:55:58'::timestamp) - extract(epoch from '2026-06-22 03:55: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'), 46719, 'SRID=4674;POINT (-40.385247 -2.802593)', '2026-06-22 03:56:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385189 -2.802587)'), GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.802593)'))) / (select extract(epoch from '2026-06-22 03:56:06'::timestamp) - extract(epoch from '2026-06-22 03:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385189 -2.802587)'), GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.802593)'))) / (select extract(epoch from '2026-06-22 03:56:06'::timestamp) - extract(epoch from '2026-06-22 03:55: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'), 46719, 'SRID=4674;POINT (-40.385297 -2.802592)', '2026-06-22 03:56:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.802592)'))) / (select extract(epoch from '2026-06-22 03:56:12'::timestamp) - extract(epoch from '2026-06-22 03:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.802592)'))) / (select extract(epoch from '2026-06-22 03:56:12'::timestamp) - extract(epoch from '2026-06-22 03:56: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'), 46719, 'SRID=4674;POINT (-40.385384 -2.802611)', '2026-06-22 03:56:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.802592)'), GeomFromEWKT('SRID=4674;POINT (-40.385384 -2.802611)'))) / (select extract(epoch from '2026-06-22 03:56:24'::timestamp) - extract(epoch from '2026-06-22 03:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.802592)'), GeomFromEWKT('SRID=4674;POINT (-40.385384 -2.802611)'))) / (select extract(epoch from '2026-06-22 03:56:24'::timestamp) - extract(epoch from '2026-06-22 03:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.385463 -2.802631)', '2026-06-22 03:56:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385384 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.385463 -2.802631)'))) / (select extract(epoch from '2026-06-22 03:56:36'::timestamp) - extract(epoch from '2026-06-22 03:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385384 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.385463 -2.802631)'))) / (select extract(epoch from '2026-06-22 03:56:36'::timestamp) - extract(epoch from '2026-06-22 03:56: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'), 46719, 'SRID=4674;POINT (-40.385516 -2.802648)', '2026-06-22 03:56:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385463 -2.802631)'), GeomFromEWKT('SRID=4674;POINT (-40.385516 -2.802648)'))) / (select extract(epoch from '2026-06-22 03:56:45'::timestamp) - extract(epoch from '2026-06-22 03:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385463 -2.802631)'), GeomFromEWKT('SRID=4674;POINT (-40.385516 -2.802648)'))) / (select extract(epoch from '2026-06-22 03:56:45'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.385583 -2.802666)', '2026-06-22 03:56:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385516 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.385583 -2.802666)'))) / (select extract(epoch from '2026-06-22 03:56:57'::timestamp) - extract(epoch from '2026-06-22 03:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385516 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.385583 -2.802666)'))) / (select extract(epoch from '2026-06-22 03:56:57'::timestamp) - extract(epoch from '2026-06-22 03:56: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'), 46719, 'SRID=4674;POINT (-40.385645 -2.802689)', '2026-06-22 03:57:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385583 -2.802666)'), GeomFromEWKT('SRID=4674;POINT (-40.385645 -2.802689)'))) / (select extract(epoch from '2026-06-22 03:57:09'::timestamp) - extract(epoch from '2026-06-22 03:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385583 -2.802666)'), GeomFromEWKT('SRID=4674;POINT (-40.385645 -2.802689)'))) / (select extract(epoch from '2026-06-22 03:57:09'::timestamp) - extract(epoch from '2026-06-22 03:56: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'), 46719, 'SRID=4674;POINT (-40.385715 -2.802697)', '2026-06-22 03:57:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385645 -2.802689)'), GeomFromEWKT('SRID=4674;POINT (-40.385715 -2.802697)'))) / (select extract(epoch from '2026-06-22 03:57:23'::timestamp) - extract(epoch from '2026-06-22 03:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385645 -2.802689)'), GeomFromEWKT('SRID=4674;POINT (-40.385715 -2.802697)'))) / (select extract(epoch from '2026-06-22 03:57:23'::timestamp) - extract(epoch from '2026-06-22 03:57: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'), 46719, 'SRID=4674;POINT (-40.385774 -2.8027)', '2026-06-22 03:57:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385715 -2.802697)'), GeomFromEWKT('SRID=4674;POINT (-40.385774 -2.8027)'))) / (select extract(epoch from '2026-06-22 03:57:34'::timestamp) - extract(epoch from '2026-06-22 03:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385715 -2.802697)'), GeomFromEWKT('SRID=4674;POINT (-40.385774 -2.8027)'))) / (select extract(epoch from '2026-06-22 03:57:34'::timestamp) - extract(epoch from '2026-06-22 03:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.385843 -2.802711)', '2026-06-22 03:57:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385774 -2.8027)'), GeomFromEWKT('SRID=4674;POINT (-40.385843 -2.802711)'))) / (select extract(epoch from '2026-06-22 03:57:47'::timestamp) - extract(epoch from '2026-06-22 03:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385774 -2.8027)'), GeomFromEWKT('SRID=4674;POINT (-40.385843 -2.802711)'))) / (select extract(epoch from '2026-06-22 03:57:47'::timestamp) - extract(epoch from '2026-06-22 03:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.385918 -2.80273)', '2026-06-22 03:58:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385843 -2.802711)'), GeomFromEWKT('SRID=4674;POINT (-40.385918 -2.80273)'))) / (select extract(epoch from '2026-06-22 03:58:00'::timestamp) - extract(epoch from '2026-06-22 03:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385843 -2.802711)'), GeomFromEWKT('SRID=4674;POINT (-40.385918 -2.80273)'))) / (select extract(epoch from '2026-06-22 03:58:00'::timestamp) - extract(epoch from '2026-06-22 03:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.385995 -2.80275)', '2026-06-22 03:58:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385918 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.385995 -2.80275)'))) / (select extract(epoch from '2026-06-22 03:58:12'::timestamp) - extract(epoch from '2026-06-22 03:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385918 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.385995 -2.80275)'))) / (select extract(epoch from '2026-06-22 03:58:12'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.386073 -2.802757)', '2026-06-22 03:58:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385995 -2.80275)'), GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.802757)'))) / (select extract(epoch from '2026-06-22 03:58:23'::timestamp) - extract(epoch from '2026-06-22 03:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385995 -2.80275)'), GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.802757)'))) / (select extract(epoch from '2026-06-22 03:58:23'::timestamp) - extract(epoch from '2026-06-22 03:58: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'), 46719, 'SRID=4674;POINT (-40.386128 -2.802761)', '2026-06-22 03:58:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.802757)'), GeomFromEWKT('SRID=4674;POINT (-40.386128 -2.802761)'))) / (select extract(epoch from '2026-06-22 03:58:33'::timestamp) - extract(epoch from '2026-06-22 03:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.802757)'), GeomFromEWKT('SRID=4674;POINT (-40.386128 -2.802761)'))) / (select extract(epoch from '2026-06-22 03:58:33'::timestamp) - extract(epoch from '2026-06-22 03:58: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'), 46719, 'SRID=4674;POINT (-40.386187 -2.802769)', '2026-06-22 03:58:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386128 -2.802761)'), GeomFromEWKT('SRID=4674;POINT (-40.386187 -2.802769)'))) / (select extract(epoch from '2026-06-22 03:58:44'::timestamp) - extract(epoch from '2026-06-22 03:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386128 -2.802761)'), GeomFromEWKT('SRID=4674;POINT (-40.386187 -2.802769)'))) / (select extract(epoch from '2026-06-22 03:58:44'::timestamp) - extract(epoch from '2026-06-22 03:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386257 -2.802763)', '2026-06-22 03:58:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386187 -2.802769)'), GeomFromEWKT('SRID=4674;POINT (-40.386257 -2.802763)'))) / (select extract(epoch from '2026-06-22 03:58:56'::timestamp) - extract(epoch from '2026-06-22 03:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386187 -2.802769)'), GeomFromEWKT('SRID=4674;POINT (-40.386257 -2.802763)'))) / (select extract(epoch from '2026-06-22 03:58:56'::timestamp) - extract(epoch from '2026-06-22 03:58: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'), 46719, 'SRID=4674;POINT (-40.386308 -2.802765)', '2026-06-22 03:59:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386257 -2.802763)'), GeomFromEWKT('SRID=4674;POINT (-40.386308 -2.802765)'))) / (select extract(epoch from '2026-06-22 03:59:05'::timestamp) - extract(epoch from '2026-06-22 03:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386257 -2.802763)'), GeomFromEWKT('SRID=4674;POINT (-40.386308 -2.802765)'))) / (select extract(epoch from '2026-06-22 03:59:05'::timestamp) - extract(epoch from '2026-06-22 03:58: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'), 46719, 'SRID=4674;POINT (-40.386404 -2.802771)', '2026-06-22 03:59:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386308 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.386404 -2.802771)'))) / (select extract(epoch from '2026-06-22 03:59:20'::timestamp) - extract(epoch from '2026-06-22 03:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386308 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.386404 -2.802771)'))) / (select extract(epoch from '2026-06-22 03:59:20'::timestamp) - extract(epoch from '2026-06-22 03:59: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'), 46719, 'SRID=4674;POINT (-40.386475 -2.802775)', '2026-06-22 03:59:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386404 -2.802771)'), GeomFromEWKT('SRID=4674;POINT (-40.386475 -2.802775)'))) / (select extract(epoch from '2026-06-22 03:59:30'::timestamp) - extract(epoch from '2026-06-22 03:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386404 -2.802771)'), GeomFromEWKT('SRID=4674;POINT (-40.386475 -2.802775)'))) / (select extract(epoch from '2026-06-22 03:59:30'::timestamp) - extract(epoch from '2026-06-22 03:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386528 -2.80278)', '2026-06-22 03:59:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386475 -2.802775)'), GeomFromEWKT('SRID=4674;POINT (-40.386528 -2.80278)'))) / (select extract(epoch from '2026-06-22 03:59:39'::timestamp) - extract(epoch from '2026-06-22 03:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386475 -2.802775)'), GeomFromEWKT('SRID=4674;POINT (-40.386528 -2.80278)'))) / (select extract(epoch from '2026-06-22 03:59:39'::timestamp) - extract(epoch from '2026-06-22 03:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386596 -2.802785)', '2026-06-22 03:59:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386528 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.386596 -2.802785)'))) / (select extract(epoch from '2026-06-22 03:59:51'::timestamp) - extract(epoch from '2026-06-22 03:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386528 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.386596 -2.802785)'))) / (select extract(epoch from '2026-06-22 03:59:51'::timestamp) - extract(epoch from '2026-06-22 03:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386657 -2.802787)', '2026-06-22 04:00:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386596 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.386657 -2.802787)'))) / (select extract(epoch from '2026-06-22 04:00:03'::timestamp) - extract(epoch from '2026-06-22 03:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386596 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.386657 -2.802787)'))) / (select extract(epoch from '2026-06-22 04:00:03'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46719, 'SRID=4674;POINT (-40.386713 -2.802794)', '2026-06-22 04:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386657 -2.802787)'), GeomFromEWKT('SRID=4674;POINT (-40.386713 -2.802794)'))) / (select extract(epoch from '2026-06-22 04:00:13'::timestamp) - extract(epoch from '2026-06-22 04:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386657 -2.802787)'), GeomFromEWKT('SRID=4674;POINT (-40.386713 -2.802794)'))) / (select extract(epoch from '2026-06-22 04:00:13'::timestamp) - extract(epoch from '2026-06-22 04:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386767 -2.802803)', '2026-06-22 04:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386713 -2.802794)'), GeomFromEWKT('SRID=4674;POINT (-40.386767 -2.802803)'))) / (select extract(epoch from '2026-06-22 04:00:23'::timestamp) - extract(epoch from '2026-06-22 04:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386713 -2.802794)'), GeomFromEWKT('SRID=4674;POINT (-40.386767 -2.802803)'))) / (select extract(epoch from '2026-06-22 04:00:23'::timestamp) - extract(epoch from '2026-06-22 04:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386821 -2.802801)', '2026-06-22 04:00:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386767 -2.802803)'), GeomFromEWKT('SRID=4674;POINT (-40.386821 -2.802801)'))) / (select extract(epoch from '2026-06-22 04:00:34'::timestamp) - extract(epoch from '2026-06-22 04:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386767 -2.802803)'), GeomFromEWKT('SRID=4674;POINT (-40.386821 -2.802801)'))) / (select extract(epoch from '2026-06-22 04:00:34'::timestamp) - extract(epoch from '2026-06-22 04:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386886 -2.802808)', '2026-06-22 04:00:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386821 -2.802801)'), GeomFromEWKT('SRID=4674;POINT (-40.386886 -2.802808)'))) / (select extract(epoch from '2026-06-22 04:00:46'::timestamp) - extract(epoch from '2026-06-22 04:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386821 -2.802801)'), GeomFromEWKT('SRID=4674;POINT (-40.386886 -2.802808)'))) / (select extract(epoch from '2026-06-22 04:00:46'::timestamp) - extract(epoch from '2026-06-22 04:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.386949 -2.802816)', '2026-06-22 04:00:59', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386886 -2.802808)'), GeomFromEWKT('SRID=4674;POINT (-40.386949 -2.802816)'))) / (select extract(epoch from '2026-06-22 04:00:59'::timestamp) - extract(epoch from '2026-06-22 04:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386886 -2.802808)'), GeomFromEWKT('SRID=4674;POINT (-40.386949 -2.802816)'))) / (select extract(epoch from '2026-06-22 04:00:59'::timestamp) - extract(epoch from '2026-06-22 04:00: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'), 46719, 'SRID=4674;POINT (-40.387004 -2.802819)', '2026-06-22 04:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386949 -2.802816)'), GeomFromEWKT('SRID=4674;POINT (-40.387004 -2.802819)'))) / (select extract(epoch from '2026-06-22 04:01:12'::timestamp) - extract(epoch from '2026-06-22 04:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386949 -2.802816)'), GeomFromEWKT('SRID=4674;POINT (-40.387004 -2.802819)'))) / (select extract(epoch from '2026-06-22 04:01:12'::timestamp) - extract(epoch from '2026-06-22 04:00: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'), 46719, 'SRID=4674;POINT (-40.387047 -2.802827)', '2026-06-22 04:01:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387004 -2.802819)'), GeomFromEWKT('SRID=4674;POINT (-40.387047 -2.802827)'))) / (select extract(epoch from '2026-06-22 04:01:24'::timestamp) - extract(epoch from '2026-06-22 04:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387004 -2.802819)'), GeomFromEWKT('SRID=4674;POINT (-40.387047 -2.802827)'))) / (select extract(epoch from '2026-06-22 04:01:24'::timestamp) - extract(epoch from '2026-06-22 04:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.387108 -2.802827)', '2026-06-22 04:01:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387047 -2.802827)'), GeomFromEWKT('SRID=4674;POINT (-40.387108 -2.802827)'))) / (select extract(epoch from '2026-06-22 04:01:38'::timestamp) - extract(epoch from '2026-06-22 04:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387047 -2.802827)'), GeomFromEWKT('SRID=4674;POINT (-40.387108 -2.802827)'))) / (select extract(epoch from '2026-06-22 04:01:38'::timestamp) - extract(epoch from '2026-06-22 04:01: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'), 46719, 'SRID=4674;POINT (-40.387166 -2.802822)', '2026-06-22 04:01:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387108 -2.802827)'), GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.802822)'))) / (select extract(epoch from '2026-06-22 04:01:51'::timestamp) - extract(epoch from '2026-06-22 04:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387108 -2.802827)'), GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.802822)'))) / (select extract(epoch from '2026-06-22 04:01:51'::timestamp) - extract(epoch from '2026-06-22 04:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.387238 -2.802834)', '2026-06-22 04:02:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.802822)'), GeomFromEWKT('SRID=4674;POINT (-40.387238 -2.802834)'))) / (select extract(epoch from '2026-06-22 04:02:05'::timestamp) - extract(epoch from '2026-06-22 04:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387166 -2.802822)'), GeomFromEWKT('SRID=4674;POINT (-40.387238 -2.802834)'))) / (select extract(epoch from '2026-06-22 04:02:05'::timestamp) - extract(epoch from '2026-06-22 04:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.387301 -2.802855)', '2026-06-22 04:02:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387238 -2.802834)'), GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.802855)'))) / (select extract(epoch from '2026-06-22 04:02:18'::timestamp) - extract(epoch from '2026-06-22 04:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387238 -2.802834)'), GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.802855)'))) / (select extract(epoch from '2026-06-22 04:02:18'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.387365 -2.802876)', '2026-06-22 04:02:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.802855)'), GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.802876)'))) / (select extract(epoch from '2026-06-22 04:02:30'::timestamp) - extract(epoch from '2026-06-22 04:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.802855)'), GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.802876)'))) / (select extract(epoch from '2026-06-22 04:02:30'::timestamp) - extract(epoch from '2026-06-22 04:02: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'), 46719, 'SRID=4674;POINT (-40.387422 -2.802895)', '2026-06-22 04:02:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.802876)'), GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.802895)'))) / (select extract(epoch from '2026-06-22 04:02:41'::timestamp) - extract(epoch from '2026-06-22 04:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387365 -2.802876)'), GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.802895)'))) / (select extract(epoch from '2026-06-22 04:02:41'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.387487 -2.802918)', '2026-06-22 04:02:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.802895)'), GeomFromEWKT('SRID=4674;POINT (-40.387487 -2.802918)'))) / (select extract(epoch from '2026-06-22 04:02:52'::timestamp) - extract(epoch from '2026-06-22 04:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.802895)'), GeomFromEWKT('SRID=4674;POINT (-40.387487 -2.802918)'))) / (select extract(epoch from '2026-06-22 04:02:52'::timestamp) - extract(epoch from '2026-06-22 04:02: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'), 46719, 'SRID=4674;POINT (-40.387567 -2.802933)', '2026-06-22 04:03:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387487 -2.802918)'), GeomFromEWKT('SRID=4674;POINT (-40.387567 -2.802933)'))) / (select extract(epoch from '2026-06-22 04:03:05'::timestamp) - extract(epoch from '2026-06-22 04:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387487 -2.802918)'), GeomFromEWKT('SRID=4674;POINT (-40.387567 -2.802933)'))) / (select extract(epoch from '2026-06-22 04:03:05'::timestamp) - extract(epoch from '2026-06-22 04:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38764 -2.802954)', '2026-06-22 04:03:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387567 -2.802933)'), GeomFromEWKT('SRID=4674;POINT (-40.38764 -2.802954)'))) / (select extract(epoch from '2026-06-22 04:03:17'::timestamp) - extract(epoch from '2026-06-22 04:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387567 -2.802933)'), GeomFromEWKT('SRID=4674;POINT (-40.38764 -2.802954)'))) / (select extract(epoch from '2026-06-22 04:03:17'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.387715 -2.802985)', '2026-06-22 04:03:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38764 -2.802954)'), GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.802985)'))) / (select extract(epoch from '2026-06-22 04:03:32'::timestamp) - extract(epoch from '2026-06-22 04:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38764 -2.802954)'), GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.802985)'))) / (select extract(epoch from '2026-06-22 04:03:32'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.387808 -2.803002)', '2026-06-22 04:03:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.802985)'), GeomFromEWKT('SRID=4674;POINT (-40.387808 -2.803002)'))) / (select extract(epoch from '2026-06-22 04:03:49'::timestamp) - extract(epoch from '2026-06-22 04:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.802985)'), GeomFromEWKT('SRID=4674;POINT (-40.387808 -2.803002)'))) / (select extract(epoch from '2026-06-22 04:03:49'::timestamp) - extract(epoch from '2026-06-22 04:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.387883 -2.80302)', '2026-06-22 04:04:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387808 -2.803002)'), GeomFromEWKT('SRID=4674;POINT (-40.387883 -2.80302)'))) / (select extract(epoch from '2026-06-22 04:04:03'::timestamp) - extract(epoch from '2026-06-22 04:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387808 -2.803002)'), GeomFromEWKT('SRID=4674;POINT (-40.387883 -2.80302)'))) / (select extract(epoch from '2026-06-22 04:04:03'::timestamp) - extract(epoch from '2026-06-22 04:03: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'), 46719, 'SRID=4674;POINT (-40.387969 -2.803037)', '2026-06-22 04:04:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387883 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.387969 -2.803037)'))) / (select extract(epoch from '2026-06-22 04:04:17'::timestamp) - extract(epoch from '2026-06-22 04:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387883 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.387969 -2.803037)'))) / (select extract(epoch from '2026-06-22 04:04:17'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.38805 -2.803061)', '2026-06-22 04:04:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387969 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.38805 -2.803061)'))) / (select extract(epoch from '2026-06-22 04:04:30'::timestamp) - extract(epoch from '2026-06-22 04:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387969 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.38805 -2.803061)'))) / (select extract(epoch from '2026-06-22 04:04:30'::timestamp) - extract(epoch from '2026-06-22 04:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.388115 -2.803079)', '2026-06-22 04:04:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38805 -2.803061)'), GeomFromEWKT('SRID=4674;POINT (-40.388115 -2.803079)'))) / (select extract(epoch from '2026-06-22 04:04:41'::timestamp) - extract(epoch from '2026-06-22 04:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38805 -2.803061)'), GeomFromEWKT('SRID=4674;POINT (-40.388115 -2.803079)'))) / (select extract(epoch from '2026-06-22 04:04:41'::timestamp) - extract(epoch from '2026-06-22 04:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.388188 -2.803084)', '2026-06-22 04:04:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388115 -2.803079)'), GeomFromEWKT('SRID=4674;POINT (-40.388188 -2.803084)'))) / (select extract(epoch from '2026-06-22 04:04:52'::timestamp) - extract(epoch from '2026-06-22 04:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388115 -2.803079)'), GeomFromEWKT('SRID=4674;POINT (-40.388188 -2.803084)'))) / (select extract(epoch from '2026-06-22 04:04:52'::timestamp) - extract(epoch from '2026-06-22 04:04: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'), 46719, 'SRID=4674;POINT (-40.388265 -2.803091)', '2026-06-22 04:05:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388188 -2.803084)'), GeomFromEWKT('SRID=4674;POINT (-40.388265 -2.803091)'))) / (select extract(epoch from '2026-06-22 04:05:03'::timestamp) - extract(epoch from '2026-06-22 04:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388188 -2.803084)'), GeomFromEWKT('SRID=4674;POINT (-40.388265 -2.803091)'))) / (select extract(epoch from '2026-06-22 04:05:03'::timestamp) - extract(epoch from '2026-06-22 04:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.388363 -2.803109)', '2026-06-22 04:05:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388265 -2.803091)'), GeomFromEWKT('SRID=4674;POINT (-40.388363 -2.803109)'))) / (select extract(epoch from '2026-06-22 04:05:19'::timestamp) - extract(epoch from '2026-06-22 04:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388265 -2.803091)'), GeomFromEWKT('SRID=4674;POINT (-40.388363 -2.803109)'))) / (select extract(epoch from '2026-06-22 04:05:19'::timestamp) - extract(epoch from '2026-06-22 04:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.388418 -2.803124)', '2026-06-22 04:05:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388363 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.388418 -2.803124)'))) / (select extract(epoch from '2026-06-22 04:05:28'::timestamp) - extract(epoch from '2026-06-22 04:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388363 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.388418 -2.803124)'))) / (select extract(epoch from '2026-06-22 04:05:28'::timestamp) - extract(epoch from '2026-06-22 04:05: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'), 46719, 'SRID=4674;POINT (-40.38849 -2.803134)', '2026-06-22 04:05:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388418 -2.803124)'), GeomFromEWKT('SRID=4674;POINT (-40.38849 -2.803134)'))) / (select extract(epoch from '2026-06-22 04:05:39'::timestamp) - extract(epoch from '2026-06-22 04:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388418 -2.803124)'), GeomFromEWKT('SRID=4674;POINT (-40.38849 -2.803134)'))) / (select extract(epoch from '2026-06-22 04:05:39'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.388591 -2.803152)', '2026-06-22 04:05:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38849 -2.803134)'), GeomFromEWKT('SRID=4674;POINT (-40.388591 -2.803152)'))) / (select extract(epoch from '2026-06-22 04:05:54'::timestamp) - extract(epoch from '2026-06-22 04:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38849 -2.803134)'), GeomFromEWKT('SRID=4674;POINT (-40.388591 -2.803152)'))) / (select extract(epoch from '2026-06-22 04:05:54'::timestamp) - extract(epoch from '2026-06-22 04:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.388669 -2.803164)', '2026-06-22 04:06:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388591 -2.803152)'), GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.803164)'))) / (select extract(epoch from '2026-06-22 04:06:05'::timestamp) - extract(epoch from '2026-06-22 04:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388591 -2.803152)'), GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.803164)'))) / (select extract(epoch from '2026-06-22 04:06:05'::timestamp) - extract(epoch from '2026-06-22 04:05: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'), 46719, 'SRID=4674;POINT (-40.38875 -2.803185)', '2026-06-22 04:06:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.803164)'), GeomFromEWKT('SRID=4674;POINT (-40.38875 -2.803185)'))) / (select extract(epoch from '2026-06-22 04:06:17'::timestamp) - extract(epoch from '2026-06-22 04:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388669 -2.803164)'), GeomFromEWKT('SRID=4674;POINT (-40.38875 -2.803185)'))) / (select extract(epoch from '2026-06-22 04:06:17'::timestamp) - extract(epoch from '2026-06-22 04:06: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'), 46719, 'SRID=4674;POINT (-40.388821 -2.803203)', '2026-06-22 04:06:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38875 -2.803185)'), GeomFromEWKT('SRID=4674;POINT (-40.388821 -2.803203)'))) / (select extract(epoch from '2026-06-22 04:06:28'::timestamp) - extract(epoch from '2026-06-22 04:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38875 -2.803185)'), GeomFromEWKT('SRID=4674;POINT (-40.388821 -2.803203)'))) / (select extract(epoch from '2026-06-22 04:06:28'::timestamp) - extract(epoch from '2026-06-22 04:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.388907 -2.803223)', '2026-06-22 04:06:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388821 -2.803203)'), GeomFromEWKT('SRID=4674;POINT (-40.388907 -2.803223)'))) / (select extract(epoch from '2026-06-22 04:06:42'::timestamp) - extract(epoch from '2026-06-22 04:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388821 -2.803203)'), GeomFromEWKT('SRID=4674;POINT (-40.388907 -2.803223)'))) / (select extract(epoch from '2026-06-22 04:06:42'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.388994 -2.803241)', '2026-06-22 04:06:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388907 -2.803223)'), GeomFromEWKT('SRID=4674;POINT (-40.388994 -2.803241)'))) / (select extract(epoch from '2026-06-22 04:06:55'::timestamp) - extract(epoch from '2026-06-22 04:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388907 -2.803223)'), GeomFromEWKT('SRID=4674;POINT (-40.388994 -2.803241)'))) / (select extract(epoch from '2026-06-22 04:06:55'::timestamp) - extract(epoch from '2026-06-22 04:06: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'), 46719, 'SRID=4674;POINT (-40.389089 -2.803263)', '2026-06-22 04:07:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388994 -2.803241)'), GeomFromEWKT('SRID=4674;POINT (-40.389089 -2.803263)'))) / (select extract(epoch from '2026-06-22 04:07:09'::timestamp) - extract(epoch from '2026-06-22 04:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388994 -2.803241)'), GeomFromEWKT('SRID=4674;POINT (-40.389089 -2.803263)'))) / (select extract(epoch from '2026-06-22 04:07:09'::timestamp) - extract(epoch from '2026-06-22 04:06: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'), 46719, 'SRID=4674;POINT (-40.389184 -2.80328)', '2026-06-22 04:07:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389089 -2.803263)'), GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.80328)'))) / (select extract(epoch from '2026-06-22 04:07:23'::timestamp) - extract(epoch from '2026-06-22 04:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389089 -2.803263)'), GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.80328)'))) / (select extract(epoch from '2026-06-22 04:07:23'::timestamp) - extract(epoch from '2026-06-22 04:07: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'), 46719, 'SRID=4674;POINT (-40.389265 -2.8033)', '2026-06-22 04:07:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.80328)'), GeomFromEWKT('SRID=4674;POINT (-40.389265 -2.8033)'))) / (select extract(epoch from '2026-06-22 04:07:34'::timestamp) - extract(epoch from '2026-06-22 04:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389184 -2.80328)'), GeomFromEWKT('SRID=4674;POINT (-40.389265 -2.8033)'))) / (select extract(epoch from '2026-06-22 04:07:34'::timestamp) - extract(epoch from '2026-06-22 04:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.389366 -2.803328)', '2026-06-22 04:07:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389265 -2.8033)'), GeomFromEWKT('SRID=4674;POINT (-40.389366 -2.803328)'))) / (select extract(epoch from '2026-06-22 04:07:47'::timestamp) - extract(epoch from '2026-06-22 04:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389265 -2.8033)'), GeomFromEWKT('SRID=4674;POINT (-40.389366 -2.803328)'))) / (select extract(epoch from '2026-06-22 04:07:47'::timestamp) - extract(epoch from '2026-06-22 04:07: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'), 46719, 'SRID=4674;POINT (-40.38946 -2.803359)', '2026-06-22 04:08:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389366 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.38946 -2.803359)'))) / (select extract(epoch from '2026-06-22 04:08:02'::timestamp) - extract(epoch from '2026-06-22 04:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389366 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.38946 -2.803359)'))) / (select extract(epoch from '2026-06-22 04:08:02'::timestamp) - extract(epoch from '2026-06-22 04:07: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'), 46719, 'SRID=4674;POINT (-40.389533 -2.803378)', '2026-06-22 04:08:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38946 -2.803359)'), GeomFromEWKT('SRID=4674;POINT (-40.389533 -2.803378)'))) / (select extract(epoch from '2026-06-22 04:08:13'::timestamp) - extract(epoch from '2026-06-22 04:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38946 -2.803359)'), GeomFromEWKT('SRID=4674;POINT (-40.389533 -2.803378)'))) / (select extract(epoch from '2026-06-22 04:08:13'::timestamp) - extract(epoch from '2026-06-22 04:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.389607 -2.803397)', '2026-06-22 04:08:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389533 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.389607 -2.803397)'))) / (select extract(epoch from '2026-06-22 04:08:25'::timestamp) - extract(epoch from '2026-06-22 04:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389533 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.389607 -2.803397)'))) / (select extract(epoch from '2026-06-22 04:08:25'::timestamp) - extract(epoch from '2026-06-22 04:08: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'), 46719, 'SRID=4674;POINT (-40.389671 -2.803414)', '2026-06-22 04:08:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389607 -2.803397)'), GeomFromEWKT('SRID=4674;POINT (-40.389671 -2.803414)'))) / (select extract(epoch from '2026-06-22 04:08:35'::timestamp) - extract(epoch from '2026-06-22 04:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389607 -2.803397)'), GeomFromEWKT('SRID=4674;POINT (-40.389671 -2.803414)'))) / (select extract(epoch from '2026-06-22 04:08:35'::timestamp) - extract(epoch from '2026-06-22 04:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.38974 -2.803432)', '2026-06-22 04:08:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389671 -2.803414)'), GeomFromEWKT('SRID=4674;POINT (-40.38974 -2.803432)'))) / (select extract(epoch from '2026-06-22 04:08:45'::timestamp) - extract(epoch from '2026-06-22 04:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389671 -2.803414)'), GeomFromEWKT('SRID=4674;POINT (-40.38974 -2.803432)'))) / (select extract(epoch from '2026-06-22 04:08:45'::timestamp) - extract(epoch from '2026-06-22 04:08: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'), 46719, 'SRID=4674;POINT (-40.389821 -2.80345)', '2026-06-22 04:08:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38974 -2.803432)'), GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.80345)'))) / (select extract(epoch from '2026-06-22 04:08:57'::timestamp) - extract(epoch from '2026-06-22 04:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38974 -2.803432)'), GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.80345)'))) / (select extract(epoch from '2026-06-22 04:08:57'::timestamp) - extract(epoch from '2026-06-22 04:08: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'), 46719, 'SRID=4674;POINT (-40.389901 -2.803459)', '2026-06-22 04:09:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.389901 -2.803459)'))) / (select extract(epoch from '2026-06-22 04:09:09'::timestamp) - extract(epoch from '2026-06-22 04:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389821 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.389901 -2.803459)'))) / (select extract(epoch from '2026-06-22 04:09:09'::timestamp) - extract(epoch from '2026-06-22 04:08: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'), 46719, 'SRID=4674;POINT (-40.38997 -2.803476)', '2026-06-22 04:09:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389901 -2.803459)'), GeomFromEWKT('SRID=4674;POINT (-40.38997 -2.803476)'))) / (select extract(epoch from '2026-06-22 04:09:20'::timestamp) - extract(epoch from '2026-06-22 04:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389901 -2.803459)'), GeomFromEWKT('SRID=4674;POINT (-40.38997 -2.803476)'))) / (select extract(epoch from '2026-06-22 04:09:20'::timestamp) - extract(epoch from '2026-06-22 04:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390051 -2.803491)', '2026-06-22 04:09:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38997 -2.803476)'), GeomFromEWKT('SRID=4674;POINT (-40.390051 -2.803491)'))) / (select extract(epoch from '2026-06-22 04:09:32'::timestamp) - extract(epoch from '2026-06-22 04:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38997 -2.803476)'), GeomFromEWKT('SRID=4674;POINT (-40.390051 -2.803491)'))) / (select extract(epoch from '2026-06-22 04:09:32'::timestamp) - extract(epoch from '2026-06-22 04:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390118 -2.803503)', '2026-06-22 04:09:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390051 -2.803491)'), GeomFromEWKT('SRID=4674;POINT (-40.390118 -2.803503)'))) / (select extract(epoch from '2026-06-22 04:09:43'::timestamp) - extract(epoch from '2026-06-22 04:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390051 -2.803491)'), GeomFromEWKT('SRID=4674;POINT (-40.390118 -2.803503)'))) / (select extract(epoch from '2026-06-22 04:09:43'::timestamp) - extract(epoch from '2026-06-22 04:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390217 -2.803513)', '2026-06-22 04:09:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390118 -2.803503)'), GeomFromEWKT('SRID=4674;POINT (-40.390217 -2.803513)'))) / (select extract(epoch from '2026-06-22 04:09:57'::timestamp) - extract(epoch from '2026-06-22 04:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390118 -2.803503)'), GeomFromEWKT('SRID=4674;POINT (-40.390217 -2.803513)'))) / (select extract(epoch from '2026-06-22 04:09:57'::timestamp) - extract(epoch from '2026-06-22 04:09: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'), 46719, 'SRID=4674;POINT (-40.39033 -2.803537)', '2026-06-22 04:10:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390217 -2.803513)'), GeomFromEWKT('SRID=4674;POINT (-40.39033 -2.803537)'))) / (select extract(epoch from '2026-06-22 04:10:14'::timestamp) - extract(epoch from '2026-06-22 04:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390217 -2.803513)'), GeomFromEWKT('SRID=4674;POINT (-40.39033 -2.803537)'))) / (select extract(epoch from '2026-06-22 04:10:14'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.3904 -2.80354)', '2026-06-22 04:10:25', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39033 -2.803537)'), GeomFromEWKT('SRID=4674;POINT (-40.3904 -2.80354)'))) / (select extract(epoch from '2026-06-22 04:10:25'::timestamp) - extract(epoch from '2026-06-22 04:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39033 -2.803537)'), GeomFromEWKT('SRID=4674;POINT (-40.3904 -2.80354)'))) / (select extract(epoch from '2026-06-22 04:10:25'::timestamp) - extract(epoch from '2026-06-22 04:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390468 -2.803547)', '2026-06-22 04:10:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3904 -2.80354)'), GeomFromEWKT('SRID=4674;POINT (-40.390468 -2.803547)'))) / (select extract(epoch from '2026-06-22 04:10:35'::timestamp) - extract(epoch from '2026-06-22 04:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3904 -2.80354)'), GeomFromEWKT('SRID=4674;POINT (-40.390468 -2.803547)'))) / (select extract(epoch from '2026-06-22 04:10:35'::timestamp) - extract(epoch from '2026-06-22 04:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390537 -2.803545)', '2026-06-22 04:10:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390468 -2.803547)'), GeomFromEWKT('SRID=4674;POINT (-40.390537 -2.803545)'))) / (select extract(epoch from '2026-06-22 04:10:46'::timestamp) - extract(epoch from '2026-06-22 04:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390468 -2.803547)'), GeomFromEWKT('SRID=4674;POINT (-40.390537 -2.803545)'))) / (select extract(epoch from '2026-06-22 04:10:46'::timestamp) - extract(epoch from '2026-06-22 04:10: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'), 46719, 'SRID=4674;POINT (-40.390632 -2.803544)', '2026-06-22 04:11:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390537 -2.803545)'), GeomFromEWKT('SRID=4674;POINT (-40.390632 -2.803544)'))) / (select extract(epoch from '2026-06-22 04:11:00'::timestamp) - extract(epoch from '2026-06-22 04:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390537 -2.803545)'), GeomFromEWKT('SRID=4674;POINT (-40.390632 -2.803544)'))) / (select extract(epoch from '2026-06-22 04:11:00'::timestamp) - extract(epoch from '2026-06-22 04:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390725 -2.803552)', '2026-06-22 04:11:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390632 -2.803544)'), GeomFromEWKT('SRID=4674;POINT (-40.390725 -2.803552)'))) / (select extract(epoch from '2026-06-22 04:11:13'::timestamp) - extract(epoch from '2026-06-22 04:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390632 -2.803544)'), GeomFromEWKT('SRID=4674;POINT (-40.390725 -2.803552)'))) / (select extract(epoch from '2026-06-22 04:11:13'::timestamp) - extract(epoch from '2026-06-22 04:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390793 -2.803564)', '2026-06-22 04:11:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390725 -2.803552)'), GeomFromEWKT('SRID=4674;POINT (-40.390793 -2.803564)'))) / (select extract(epoch from '2026-06-22 04:11:23'::timestamp) - extract(epoch from '2026-06-22 04:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390725 -2.803552)'), GeomFromEWKT('SRID=4674;POINT (-40.390793 -2.803564)'))) / (select extract(epoch from '2026-06-22 04:11:23'::timestamp) - extract(epoch from '2026-06-22 04:11: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'), 46719, 'SRID=4674;POINT (-40.390889 -2.803575)', '2026-06-22 04:11:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390793 -2.803564)'), GeomFromEWKT('SRID=4674;POINT (-40.390889 -2.803575)'))) / (select extract(epoch from '2026-06-22 04:11:38'::timestamp) - extract(epoch from '2026-06-22 04:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390793 -2.803564)'), GeomFromEWKT('SRID=4674;POINT (-40.390889 -2.803575)'))) / (select extract(epoch from '2026-06-22 04:11:38'::timestamp) - extract(epoch from '2026-06-22 04:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.390964 -2.80359)', '2026-06-22 04:11:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390889 -2.803575)'), GeomFromEWKT('SRID=4674;POINT (-40.390964 -2.80359)'))) / (select extract(epoch from '2026-06-22 04:11:50'::timestamp) - extract(epoch from '2026-06-22 04:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390889 -2.803575)'), GeomFromEWKT('SRID=4674;POINT (-40.390964 -2.80359)'))) / (select extract(epoch from '2026-06-22 04:11:50'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.391048 -2.803595)', '2026-06-22 04:12:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390964 -2.80359)'), GeomFromEWKT('SRID=4674;POINT (-40.391048 -2.803595)'))) / (select extract(epoch from '2026-06-22 04:12:01'::timestamp) - extract(epoch from '2026-06-22 04:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390964 -2.80359)'), GeomFromEWKT('SRID=4674;POINT (-40.391048 -2.803595)'))) / (select extract(epoch from '2026-06-22 04:12:01'::timestamp) - extract(epoch from '2026-06-22 04:11: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'), 46719, 'SRID=4674;POINT (-40.391123 -2.803604)', '2026-06-22 04:12:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391048 -2.803595)'), GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.803604)'))) / (select extract(epoch from '2026-06-22 04:12:11'::timestamp) - extract(epoch from '2026-06-22 04:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391048 -2.803595)'), GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.803604)'))) / (select extract(epoch from '2026-06-22 04:12:11'::timestamp) - extract(epoch from '2026-06-22 04:12: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'), 46719, 'SRID=4674;POINT (-40.391193 -2.803613)', '2026-06-22 04:12:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.803604)'), GeomFromEWKT('SRID=4674;POINT (-40.391193 -2.803613)'))) / (select extract(epoch from '2026-06-22 04:12:22'::timestamp) - extract(epoch from '2026-06-22 04:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.803604)'), GeomFromEWKT('SRID=4674;POINT (-40.391193 -2.803613)'))) / (select extract(epoch from '2026-06-22 04:12:22'::timestamp) - extract(epoch from '2026-06-22 04:12: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'), 46719, 'SRID=4674;POINT (-40.391267 -2.803626)', '2026-06-22 04:12:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391193 -2.803613)'), GeomFromEWKT('SRID=4674;POINT (-40.391267 -2.803626)'))) / (select extract(epoch from '2026-06-22 04:12:34'::timestamp) - extract(epoch from '2026-06-22 04:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391193 -2.803613)'), GeomFromEWKT('SRID=4674;POINT (-40.391267 -2.803626)'))) / (select extract(epoch from '2026-06-22 04:12:34'::timestamp) - extract(epoch from '2026-06-22 04:12: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'), 46719, 'SRID=4674;POINT (-40.391352 -2.803638)', '2026-06-22 04:12:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391267 -2.803626)'), GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.803638)'))) / (select extract(epoch from '2026-06-22 04:12:47'::timestamp) - extract(epoch from '2026-06-22 04:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391267 -2.803626)'), GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.803638)'))) / (select extract(epoch from '2026-06-22 04:12:47'::timestamp) - extract(epoch from '2026-06-22 04:12: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'), 46719, 'SRID=4674;POINT (-40.391419 -2.803645)', '2026-06-22 04:12:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.803638)'), GeomFromEWKT('SRID=4674;POINT (-40.391419 -2.803645)'))) / (select extract(epoch from '2026-06-22 04:12:58'::timestamp) - extract(epoch from '2026-06-22 04:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391352 -2.803638)'), GeomFromEWKT('SRID=4674;POINT (-40.391419 -2.803645)'))) / (select extract(epoch from '2026-06-22 04:12:58'::timestamp) - extract(epoch from '2026-06-22 04:12: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'), 46719, 'SRID=4674;POINT (-40.391519 -2.80365)', '2026-06-22 04:13:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391419 -2.803645)'), GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.80365)'))) / (select extract(epoch from '2026-06-22 04:13:13'::timestamp) - extract(epoch from '2026-06-22 04:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391419 -2.803645)'), GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.80365)'))) / (select extract(epoch from '2026-06-22 04:13:13'::timestamp) - extract(epoch from '2026-06-22 04:12: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'), 46719, 'SRID=4674;POINT (-40.391591 -2.803658)', '2026-06-22 04:13:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.80365)'), GeomFromEWKT('SRID=4674;POINT (-40.391591 -2.803658)'))) / (select extract(epoch from '2026-06-22 04:13:24'::timestamp) - extract(epoch from '2026-06-22 04:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391519 -2.80365)'), GeomFromEWKT('SRID=4674;POINT (-40.391591 -2.803658)'))) / (select extract(epoch from '2026-06-22 04:13:24'::timestamp) - extract(epoch from '2026-06-22 04:13: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'), 46719, 'SRID=4674;POINT (-40.39167 -2.803671)', '2026-06-22 04:13:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391591 -2.803658)'), GeomFromEWKT('SRID=4674;POINT (-40.39167 -2.803671)'))) / (select extract(epoch from '2026-06-22 04:13:36'::timestamp) - extract(epoch from '2026-06-22 04:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391591 -2.803658)'), GeomFromEWKT('SRID=4674;POINT (-40.39167 -2.803671)'))) / (select extract(epoch from '2026-06-22 04:13:36'::timestamp) - extract(epoch from '2026-06-22 04:13: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'), 46719, 'SRID=4674;POINT (-40.391736 -2.803682)', '2026-06-22 04:13:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39167 -2.803671)'), GeomFromEWKT('SRID=4674;POINT (-40.391736 -2.803682)'))) / (select extract(epoch from '2026-06-22 04:13:46'::timestamp) - extract(epoch from '2026-06-22 04:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39167 -2.803671)'), GeomFromEWKT('SRID=4674;POINT (-40.391736 -2.803682)'))) / (select extract(epoch from '2026-06-22 04:13:46'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.391813 -2.803691)', '2026-06-22 04:13:57', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391736 -2.803682)'), GeomFromEWKT('SRID=4674;POINT (-40.391813 -2.803691)'))) / (select extract(epoch from '2026-06-22 04:13:57'::timestamp) - extract(epoch from '2026-06-22 04:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391736 -2.803682)'), GeomFromEWKT('SRID=4674;POINT (-40.391813 -2.803691)'))) / (select extract(epoch from '2026-06-22 04:13:57'::timestamp) - extract(epoch from '2026-06-22 04:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.391892 -2.803697)', '2026-06-22 04:14:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391813 -2.803691)'), GeomFromEWKT('SRID=4674;POINT (-40.391892 -2.803697)'))) / (select extract(epoch from '2026-06-22 04:14:08'::timestamp) - extract(epoch from '2026-06-22 04:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391813 -2.803691)'), GeomFromEWKT('SRID=4674;POINT (-40.391892 -2.803697)'))) / (select extract(epoch from '2026-06-22 04:14:08'::timestamp) - extract(epoch from '2026-06-22 04:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.391966 -2.803714)', '2026-06-22 04:14:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391892 -2.803697)'), GeomFromEWKT('SRID=4674;POINT (-40.391966 -2.803714)'))) / (select extract(epoch from '2026-06-22 04:14:19'::timestamp) - extract(epoch from '2026-06-22 04:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391892 -2.803697)'), GeomFromEWKT('SRID=4674;POINT (-40.391966 -2.803714)'))) / (select extract(epoch from '2026-06-22 04:14:19'::timestamp) - extract(epoch from '2026-06-22 04:14: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'), 46719, 'SRID=4674;POINT (-40.392055 -2.803732)', '2026-06-22 04:14:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391966 -2.803714)'), GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.803732)'))) / (select extract(epoch from '2026-06-22 04:14:33'::timestamp) - extract(epoch from '2026-06-22 04:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391966 -2.803714)'), GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.803732)'))) / (select extract(epoch from '2026-06-22 04:14:33'::timestamp) - extract(epoch from '2026-06-22 04:14: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'), 46719, 'SRID=4674;POINT (-40.392123 -2.803743)', '2026-06-22 04:14:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.803732)'), GeomFromEWKT('SRID=4674;POINT (-40.392123 -2.803743)'))) / (select extract(epoch from '2026-06-22 04:14:43'::timestamp) - extract(epoch from '2026-06-22 04:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.803732)'), GeomFromEWKT('SRID=4674;POINT (-40.392123 -2.803743)'))) / (select extract(epoch from '2026-06-22 04:14:43'::timestamp) - extract(epoch from '2026-06-22 04:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.392217 -2.803757)', '2026-06-22 04:14:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392123 -2.803743)'), GeomFromEWKT('SRID=4674;POINT (-40.392217 -2.803757)'))) / (select extract(epoch from '2026-06-22 04:14:56'::timestamp) - extract(epoch from '2026-06-22 04:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392123 -2.803743)'), GeomFromEWKT('SRID=4674;POINT (-40.392217 -2.803757)'))) / (select extract(epoch from '2026-06-22 04:14:56'::timestamp) - extract(epoch from '2026-06-22 04:14: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'), 46719, 'SRID=4674;POINT (-40.392309 -2.803777)', '2026-06-22 04:15:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392217 -2.803757)'), GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.803777)'))) / (select extract(epoch from '2026-06-22 04:15:10'::timestamp) - extract(epoch from '2026-06-22 04:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392217 -2.803757)'), GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.803777)'))) / (select extract(epoch from '2026-06-22 04:15:10'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.392387 -2.803787)', '2026-06-22 04:15:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.803777)'), GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.803787)'))) / (select extract(epoch from '2026-06-22 04:15:21'::timestamp) - extract(epoch from '2026-06-22 04:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392309 -2.803777)'), GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.803787)'))) / (select extract(epoch from '2026-06-22 04:15:21'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.392474 -2.803799)', '2026-06-22 04:15:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.803787)'), GeomFromEWKT('SRID=4674;POINT (-40.392474 -2.803799)'))) / (select extract(epoch from '2026-06-22 04:15:33'::timestamp) - extract(epoch from '2026-06-22 04:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.803787)'), GeomFromEWKT('SRID=4674;POINT (-40.392474 -2.803799)'))) / (select extract(epoch from '2026-06-22 04:15:33'::timestamp) - extract(epoch from '2026-06-22 04:15: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'), 46719, 'SRID=4674;POINT (-40.392539 -2.803804)', '2026-06-22 04:15:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392474 -2.803799)'), GeomFromEWKT('SRID=4674;POINT (-40.392539 -2.803804)'))) / (select extract(epoch from '2026-06-22 04:15:44'::timestamp) - extract(epoch from '2026-06-22 04:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392474 -2.803799)'), GeomFromEWKT('SRID=4674;POINT (-40.392539 -2.803804)'))) / (select extract(epoch from '2026-06-22 04:15:44'::timestamp) - extract(epoch from '2026-06-22 04:15: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'), 46719, 'SRID=4674;POINT (-40.392635 -2.803816)', '2026-06-22 04:15:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392539 -2.803804)'), GeomFromEWKT('SRID=4674;POINT (-40.392635 -2.803816)'))) / (select extract(epoch from '2026-06-22 04:15:59'::timestamp) - extract(epoch from '2026-06-22 04:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392539 -2.803804)'), GeomFromEWKT('SRID=4674;POINT (-40.392635 -2.803816)'))) / (select extract(epoch from '2026-06-22 04:15:59'::timestamp) - extract(epoch from '2026-06-22 04:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.39272 -2.80383)', '2026-06-22 04:16:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392635 -2.803816)'), GeomFromEWKT('SRID=4674;POINT (-40.39272 -2.80383)'))) / (select extract(epoch from '2026-06-22 04:16:13'::timestamp) - extract(epoch from '2026-06-22 04:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392635 -2.803816)'), GeomFromEWKT('SRID=4674;POINT (-40.39272 -2.80383)'))) / (select extract(epoch from '2026-06-22 04:16:13'::timestamp) - extract(epoch from '2026-06-22 04:15: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'), 46719, 'SRID=4674;POINT (-40.392768 -2.803856)', '2026-06-22 04:16:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39272 -2.80383)'), GeomFromEWKT('SRID=4674;POINT (-40.392768 -2.803856)'))) / (select extract(epoch from '2026-06-22 04:16:22'::timestamp) - extract(epoch from '2026-06-22 04:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39272 -2.80383)'), GeomFromEWKT('SRID=4674;POINT (-40.392768 -2.803856)'))) / (select extract(epoch from '2026-06-22 04:16:22'::timestamp) - extract(epoch from '2026-06-22 04:16: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'), 46719, 'SRID=4674;POINT (-40.392873 -2.803881)', '2026-06-22 04:16:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392768 -2.803856)'), GeomFromEWKT('SRID=4674;POINT (-40.392873 -2.803881)'))) / (select extract(epoch from '2026-06-22 04:16:37'::timestamp) - extract(epoch from '2026-06-22 04:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392768 -2.803856)'), GeomFromEWKT('SRID=4674;POINT (-40.392873 -2.803881)'))) / (select extract(epoch from '2026-06-22 04:16:37'::timestamp) - extract(epoch from '2026-06-22 04:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.392948 -2.803903)', '2026-06-22 04:16:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392873 -2.803881)'), GeomFromEWKT('SRID=4674;POINT (-40.392948 -2.803903)'))) / (select extract(epoch from '2026-06-22 04:16:49'::timestamp) - extract(epoch from '2026-06-22 04:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392873 -2.803881)'), GeomFromEWKT('SRID=4674;POINT (-40.392948 -2.803903)'))) / (select extract(epoch from '2026-06-22 04:16:49'::timestamp) - extract(epoch from '2026-06-22 04:16: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'), 46719, 'SRID=4674;POINT (-40.393024 -2.803926)', '2026-06-22 04:17:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392948 -2.803903)'), GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.803926)'))) / (select extract(epoch from '2026-06-22 04:17:01'::timestamp) - extract(epoch from '2026-06-22 04:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392948 -2.803903)'), GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.803926)'))) / (select extract(epoch from '2026-06-22 04:17:01'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.393085 -2.803936)', '2026-06-22 04:17:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.803926)'), GeomFromEWKT('SRID=4674;POINT (-40.393085 -2.803936)'))) / (select extract(epoch from '2026-06-22 04:17:10'::timestamp) - extract(epoch from '2026-06-22 04:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.803926)'), GeomFromEWKT('SRID=4674;POINT (-40.393085 -2.803936)'))) / (select extract(epoch from '2026-06-22 04:17:10'::timestamp) - extract(epoch from '2026-06-22 04:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.393163 -2.803942)', '2026-06-22 04:17:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393085 -2.803936)'), GeomFromEWKT('SRID=4674;POINT (-40.393163 -2.803942)'))) / (select extract(epoch from '2026-06-22 04:17:22'::timestamp) - extract(epoch from '2026-06-22 04:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393085 -2.803936)'), GeomFromEWKT('SRID=4674;POINT (-40.393163 -2.803942)'))) / (select extract(epoch from '2026-06-22 04:17:22'::timestamp) - extract(epoch from '2026-06-22 04:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.393253 -2.803954)', '2026-06-22 04:17:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393163 -2.803942)'), GeomFromEWKT('SRID=4674;POINT (-40.393253 -2.803954)'))) / (select extract(epoch from '2026-06-22 04:17:35'::timestamp) - extract(epoch from '2026-06-22 04:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393163 -2.803942)'), GeomFromEWKT('SRID=4674;POINT (-40.393253 -2.803954)'))) / (select extract(epoch from '2026-06-22 04:17:35'::timestamp) - extract(epoch from '2026-06-22 04:17: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'), 46719, 'SRID=4674;POINT (-40.393362 -2.80397)', '2026-06-22 04:17:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393253 -2.803954)'), GeomFromEWKT('SRID=4674;POINT (-40.393362 -2.80397)'))) / (select extract(epoch from '2026-06-22 04:17:50'::timestamp) - extract(epoch from '2026-06-22 04:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393253 -2.803954)'), GeomFromEWKT('SRID=4674;POINT (-40.393362 -2.80397)'))) / (select extract(epoch from '2026-06-22 04:17:50'::timestamp) - extract(epoch from '2026-06-22 04:17: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'), 46719, 'SRID=4674;POINT (-40.393457 -2.803984)', '2026-06-22 04:18:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393362 -2.80397)'), GeomFromEWKT('SRID=4674;POINT (-40.393457 -2.803984)'))) / (select extract(epoch from '2026-06-22 04:18:03'::timestamp) - extract(epoch from '2026-06-22 04:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393362 -2.80397)'), GeomFromEWKT('SRID=4674;POINT (-40.393457 -2.803984)'))) / (select extract(epoch from '2026-06-22 04:18:03'::timestamp) - extract(epoch from '2026-06-22 04:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.393538 -2.803998)', '2026-06-22 04:18:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393457 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.393538 -2.803998)'))) / (select extract(epoch from '2026-06-22 04:18:15'::timestamp) - extract(epoch from '2026-06-22 04:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393457 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.393538 -2.803998)'))) / (select extract(epoch from '2026-06-22 04:18:15'::timestamp) - extract(epoch from '2026-06-22 04:18: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'), 46719, 'SRID=4674;POINT (-40.393608 -2.804008)', '2026-06-22 04:18:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393538 -2.803998)'), GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.804008)'))) / (select extract(epoch from '2026-06-22 04:18:25'::timestamp) - extract(epoch from '2026-06-22 04:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393538 -2.803998)'), GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.804008)'))) / (select extract(epoch from '2026-06-22 04:18:25'::timestamp) - extract(epoch from '2026-06-22 04:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.393687 -2.804013)', '2026-06-22 04:18:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.804008)'), GeomFromEWKT('SRID=4674;POINT (-40.393687 -2.804013)'))) / (select extract(epoch from '2026-06-22 04:18:36'::timestamp) - extract(epoch from '2026-06-22 04:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.804008)'), GeomFromEWKT('SRID=4674;POINT (-40.393687 -2.804013)'))) / (select extract(epoch from '2026-06-22 04:18:36'::timestamp) - extract(epoch from '2026-06-22 04:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.393768 -2.804016)', '2026-06-22 04:18:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393687 -2.804013)'), GeomFromEWKT('SRID=4674;POINT (-40.393768 -2.804016)'))) / (select extract(epoch from '2026-06-22 04:18:47'::timestamp) - extract(epoch from '2026-06-22 04:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393687 -2.804013)'), GeomFromEWKT('SRID=4674;POINT (-40.393768 -2.804016)'))) / (select extract(epoch from '2026-06-22 04:18:47'::timestamp) - extract(epoch from '2026-06-22 04:18:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.393848 -2.804031)', '2026-06-22 04:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393768 -2.804016)'), GeomFromEWKT('SRID=4674;POINT (-40.393848 -2.804031)'))) / (select extract(epoch from '2026-06-22 04:18:59'::timestamp) - extract(epoch from '2026-06-22 04:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393768 -2.804016)'), GeomFromEWKT('SRID=4674;POINT (-40.393848 -2.804031)'))) / (select extract(epoch from '2026-06-22 04:18:59'::timestamp) - extract(epoch from '2026-06-22 04:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.393923 -2.804047)', '2026-06-22 04:19:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393848 -2.804031)'), GeomFromEWKT('SRID=4674;POINT (-40.393923 -2.804047)'))) / (select extract(epoch from '2026-06-22 04:19:11'::timestamp) - extract(epoch from '2026-06-22 04:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393848 -2.804031)'), GeomFromEWKT('SRID=4674;POINT (-40.393923 -2.804047)'))) / (select extract(epoch from '2026-06-22 04:19:11'::timestamp) - extract(epoch from '2026-06-22 04:18: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'), 46719, 'SRID=4674;POINT (-40.393998 -2.80406)', '2026-06-22 04:19:22', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393923 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.80406)'))) / (select extract(epoch from '2026-06-22 04:19:22'::timestamp) - extract(epoch from '2026-06-22 04:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393923 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.80406)'))) / (select extract(epoch from '2026-06-22 04:19:22'::timestamp) - extract(epoch from '2026-06-22 04:19: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'), 46719, 'SRID=4674;POINT (-40.394082 -2.804072)', '2026-06-22 04:19:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.80406)'), GeomFromEWKT('SRID=4674;POINT (-40.394082 -2.804072)'))) / (select extract(epoch from '2026-06-22 04:19:35'::timestamp) - extract(epoch from '2026-06-22 04:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.80406)'), GeomFromEWKT('SRID=4674;POINT (-40.394082 -2.804072)'))) / (select extract(epoch from '2026-06-22 04:19:35'::timestamp) - extract(epoch from '2026-06-22 04: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'), 46719, 'SRID=4674;POINT (-40.394147 -2.804083)', '2026-06-22 04:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394082 -2.804072)'), GeomFromEWKT('SRID=4674;POINT (-40.394147 -2.804083)'))) / (select extract(epoch from '2026-06-22 04:19:47'::timestamp) - extract(epoch from '2026-06-22 04:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394082 -2.804072)'), GeomFromEWKT('SRID=4674;POINT (-40.394147 -2.804083)'))) / (select extract(epoch from '2026-06-22 04:19:47'::timestamp) - extract(epoch from '2026-06-22 04:19: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'), 46719, 'SRID=4674;POINT (-40.394215 -2.804089)', '2026-06-22 04:19:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394147 -2.804083)'), GeomFromEWKT('SRID=4674;POINT (-40.394215 -2.804089)'))) / (select extract(epoch from '2026-06-22 04:19:58'::timestamp) - extract(epoch from '2026-06-22 04:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394147 -2.804083)'), GeomFromEWKT('SRID=4674;POINT (-40.394215 -2.804089)'))) / (select extract(epoch from '2026-06-22 04:19:58'::timestamp) - extract(epoch from '2026-06-22 04:19: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'), 46719, 'SRID=4674;POINT (-40.39429 -2.804094)', '2026-06-22 04:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394215 -2.804089)'), GeomFromEWKT('SRID=4674;POINT (-40.39429 -2.804094)'))) / (select extract(epoch from '2026-06-22 04:20:10'::timestamp) - extract(epoch from '2026-06-22 04:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394215 -2.804089)'), GeomFromEWKT('SRID=4674;POINT (-40.39429 -2.804094)'))) / (select extract(epoch from '2026-06-22 04:20:10'::timestamp) - extract(epoch from '2026-06-22 04:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.394361 -2.804113)', '2026-06-22 04:20:23', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39429 -2.804094)'), GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.804113)'))) / (select extract(epoch from '2026-06-22 04:20:23'::timestamp) - extract(epoch from '2026-06-22 04:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39429 -2.804094)'), GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.804113)'))) / (select extract(epoch from '2026-06-22 04:20:23'::timestamp) - extract(epoch from '2026-06-22 04:20: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'), 46719, 'SRID=4674;POINT (-40.394395 -2.80413)', '2026-06-22 04:20:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.804113)'), GeomFromEWKT('SRID=4674;POINT (-40.394395 -2.80413)'))) / (select extract(epoch from '2026-06-22 04:20:36'::timestamp) - extract(epoch from '2026-06-22 04:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.804113)'), GeomFromEWKT('SRID=4674;POINT (-40.394395 -2.80413)'))) / (select extract(epoch from '2026-06-22 04:20:36'::timestamp) - extract(epoch from '2026-06-22 04:20: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'), 46719, 'SRID=4674;POINT (-40.394415 -2.804125)', '2026-06-22 04:20:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394395 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.394415 -2.804125)'))) / (select extract(epoch from '2026-06-22 04:20:54'::timestamp) - extract(epoch from '2026-06-22 04:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394395 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.394415 -2.804125)'))) / (select extract(epoch from '2026-06-22 04:20:54'::timestamp) - extract(epoch from '2026-06-22 04:20: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'), 46719, 'SRID=4674;POINT (-40.394436 -2.804109)', '2026-06-22 04:21:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394415 -2.804125)'), GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.804109)'))) / (select extract(epoch from '2026-06-22 04:21:13'::timestamp) - extract(epoch from '2026-06-22 04:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394415 -2.804125)'), GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.804109)'))) / (select extract(epoch from '2026-06-22 04:21:13'::timestamp) - extract(epoch from '2026-06-22 04:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.394507 -2.804091)', '2026-06-22 04:21:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.804109)'), GeomFromEWKT('SRID=4674;POINT (-40.394507 -2.804091)'))) / (select extract(epoch from '2026-06-22 04:21:53'::timestamp) - extract(epoch from '2026-06-22 04:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.804109)'), GeomFromEWKT('SRID=4674;POINT (-40.394507 -2.804091)'))) / (select extract(epoch from '2026-06-22 04:21:53'::timestamp) - extract(epoch from '2026-06-22 04:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.394563 -2.804071)', '2026-06-22 04:22:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394507 -2.804091)'), GeomFromEWKT('SRID=4674;POINT (-40.394563 -2.804071)'))) / (select extract(epoch from '2026-06-22 04:22:27'::timestamp) - extract(epoch from '2026-06-22 04:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394507 -2.804091)'), GeomFromEWKT('SRID=4674;POINT (-40.394563 -2.804071)'))) / (select extract(epoch from '2026-06-22 04:22:27'::timestamp) - extract(epoch from '2026-06-22 04:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.394603 -2.804059)', '2026-06-22 04:22:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394563 -2.804071)'), GeomFromEWKT('SRID=4674;POINT (-40.394603 -2.804059)'))) / (select extract(epoch from '2026-06-22 04:22:55'::timestamp) - extract(epoch from '2026-06-22 04:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394563 -2.804071)'), GeomFromEWKT('SRID=4674;POINT (-40.394603 -2.804059)'))) / (select extract(epoch from '2026-06-22 04:22:55'::timestamp) - extract(epoch from '2026-06-22 04:22: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'), 46719, 'SRID=4674;POINT (-40.394645 -2.804081)', '2026-06-22 04:23:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394603 -2.804059)'), GeomFromEWKT('SRID=4674;POINT (-40.394645 -2.804081)'))) / (select extract(epoch from '2026-06-22 04:23:30'::timestamp) - extract(epoch from '2026-06-22 04:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394603 -2.804059)'), GeomFromEWKT('SRID=4674;POINT (-40.394645 -2.804081)'))) / (select extract(epoch from '2026-06-22 04:23:30'::timestamp) - extract(epoch from '2026-06-22 04:22: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'), 46719, 'SRID=4674;POINT (-40.394637 -2.80409)', '2026-06-22 04:24:09', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394645 -2.804081)'), GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.80409)'))) / (select extract(epoch from '2026-06-22 04:24:09'::timestamp) - extract(epoch from '2026-06-22 04:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394645 -2.804081)'), GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.80409)'))) / (select extract(epoch from '2026-06-22 04:24:09'::timestamp) - extract(epoch from '2026-06-22 04:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.394639 -2.804076)', '2026-06-22 04:24:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.80409)'), GeomFromEWKT('SRID=4674;POINT (-40.394639 -2.804076)'))) / (select extract(epoch from '2026-06-22 04:24:48'::timestamp) - extract(epoch from '2026-06-22 04:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394637 -2.80409)'), GeomFromEWKT('SRID=4674;POINT (-40.394639 -2.804076)'))) / (select extract(epoch from '2026-06-22 04:24:48'::timestamp) - extract(epoch from '2026-06-22 04:24: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'), 46719, 'SRID=4674;POINT (-40.394638 -2.804074)', '2026-06-22 04:25:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394639 -2.804076)'), GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804074)'))) / (select extract(epoch from '2026-06-22 04:25:38'::timestamp) - extract(epoch from '2026-06-22 04:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394639 -2.804076)'), GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804074)'))) / (select extract(epoch from '2026-06-22 04:25:38'::timestamp) - extract(epoch from '2026-06-22 04:24: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'), 46719, 'SRID=4674;POINT (-40.394642 -2.80406)', '2026-06-22 04:26:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804074)'), GeomFromEWKT('SRID=4674;POINT (-40.394642 -2.80406)'))) / (select extract(epoch from '2026-06-22 04:26:17'::timestamp) - extract(epoch from '2026-06-22 04:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804074)'), GeomFromEWKT('SRID=4674;POINT (-40.394642 -2.80406)'))) / (select extract(epoch from '2026-06-22 04:26:17'::timestamp) - extract(epoch from '2026-06-22 04:25: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'), 46719, 'SRID=4674;POINT (-40.394638 -2.804077)', '2026-06-22 04:27:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394642 -2.80406)'), GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804077)'))) / (select extract(epoch from '2026-06-22 04:27:11'::timestamp) - extract(epoch from '2026-06-22 04:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394642 -2.80406)'), GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804077)'))) / (select extract(epoch from '2026-06-22 04:27:11'::timestamp) - extract(epoch from '2026-06-22 04:26: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'), 46719, 'SRID=4674;POINT (-40.394636 -2.804069)', '2026-06-22 04:28:04', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.394636 -2.804069)'))) / (select extract(epoch from '2026-06-22 04:28:04'::timestamp) - extract(epoch from '2026-06-22 04:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394638 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.394636 -2.804069)'))) / (select extract(epoch from '2026-06-22 04:28:04'::timestamp) - extract(epoch from '2026-06-22 04:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.394632 -2.804088)', '2026-06-22 04:28:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394636 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.394632 -2.804088)'))) / (select extract(epoch from '2026-06-22 04:28:51'::timestamp) - extract(epoch from '2026-06-22 04:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394636 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.394632 -2.804088)'))) / (select extract(epoch from '2026-06-22 04:28:51'::timestamp) - extract(epoch from '2026-06-22 04:28: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'), 46719, 'SRID=4674;POINT (-40.394625 -2.804082)', '2026-06-22 04:29:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394632 -2.804088)'), GeomFromEWKT('SRID=4674;POINT (-40.394625 -2.804082)'))) / (select extract(epoch from '2026-06-22 04:29:30'::timestamp) - extract(epoch from '2026-06-22 04:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394632 -2.804088)'), GeomFromEWKT('SRID=4674;POINT (-40.394625 -2.804082)'))) / (select extract(epoch from '2026-06-22 04:29:30'::timestamp) - extract(epoch from '2026-06-22 04:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46719, 'SRID=4674;POINT (-40.394634 -2.804069)', '2026-06-22 04:30:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394625 -2.804082)'), GeomFromEWKT('SRID=4674;POINT (-40.394634 -2.804069)'))) / (select extract(epoch from '2026-06-22 04:30:03'::timestamp) - extract(epoch from '2026-06-22 04:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394625 -2.804082)'), GeomFromEWKT('SRID=4674;POINT (-40.394634 -2.804069)'))) / (select extract(epoch from '2026-06-22 04:30:03'::timestamp) - extract(epoch from '2026-06-22 04:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
