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'), 46945, 'SRID=4674;POINT (-40.04346 -2.843625)', '2026-06-15 07:06:16', 0, 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'), 46945, 'SRID=4674;POINT (-40.043437 -2.843623)', '2026-06-15 07:06:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.843625)'), GeomFromEWKT('SRID=4674;POINT (-40.043437 -2.843623)'))) / (select extract(epoch from '2026-06-15 07:06:18'::timestamp) - extract(epoch from '2026-06-15 07:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.843625)'), GeomFromEWKT('SRID=4674;POINT (-40.043437 -2.843623)'))) / (select extract(epoch from '2026-06-15 07:06:18'::timestamp) - extract(epoch from '2026-06-15 07:06: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'), 46945, 'SRID=4674;POINT (-40.043373 -2.843576)', '2026-06-15 07:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043437 -2.843623)'), GeomFromEWKT('SRID=4674;POINT (-40.043373 -2.843576)'))) / (select extract(epoch from '2026-06-15 07:06:26'::timestamp) - extract(epoch from '2026-06-15 07:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043437 -2.843623)'), GeomFromEWKT('SRID=4674;POINT (-40.043373 -2.843576)'))) / (select extract(epoch from '2026-06-15 07:06:26'::timestamp) - extract(epoch from '2026-06-15 07:06: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'), 46945, 'SRID=4674;POINT (-40.043497 -2.843405)', '2026-06-15 07:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043373 -2.843576)'), GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.843405)'))) / (select extract(epoch from '2026-06-15 07:06:37'::timestamp) - extract(epoch from '2026-06-15 07:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043373 -2.843576)'), GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.843405)'))) / (select extract(epoch from '2026-06-15 07:06:37'::timestamp) - extract(epoch from '2026-06-15 07:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043419 -2.843327)', '2026-06-15 07:06:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.843405)'), GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.843327)'))) / (select extract(epoch from '2026-06-15 07:06:46'::timestamp) - extract(epoch from '2026-06-15 07:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.843405)'), GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.843327)'))) / (select extract(epoch from '2026-06-15 07:06:46'::timestamp) - extract(epoch from '2026-06-15 07:06: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'), 46945, 'SRID=4674;POINT (-40.043225 -2.843226)', '2026-06-15 07:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.843327)'), GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.843226)'))) / (select extract(epoch from '2026-06-15 07:06:57'::timestamp) - extract(epoch from '2026-06-15 07:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.843327)'), GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.843226)'))) / (select extract(epoch from '2026-06-15 07:06:57'::timestamp) - extract(epoch from '2026-06-15 07:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042906 -2.843146)', '2026-06-15 07:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.843226)'), GeomFromEWKT('SRID=4674;POINT (-40.042906 -2.843146)'))) / (select extract(epoch from '2026-06-15 07:07:15'::timestamp) - extract(epoch from '2026-06-15 07:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.843226)'), GeomFromEWKT('SRID=4674;POINT (-40.042906 -2.843146)'))) / (select extract(epoch from '2026-06-15 07:07:15'::timestamp) - extract(epoch from '2026-06-15 07:06: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'), 46945, 'SRID=4674;POINT (-40.042656 -2.843039)', '2026-06-15 07:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042906 -2.843146)'), GeomFromEWKT('SRID=4674;POINT (-40.042656 -2.843039)'))) / (select extract(epoch from '2026-06-15 07:07:27'::timestamp) - extract(epoch from '2026-06-15 07:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042906 -2.843146)'), GeomFromEWKT('SRID=4674;POINT (-40.042656 -2.843039)'))) / (select extract(epoch from '2026-06-15 07:07:27'::timestamp) - extract(epoch from '2026-06-15 07:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042563 -2.842914)', '2026-06-15 07:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042656 -2.843039)'), GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842914)'))) / (select extract(epoch from '2026-06-15 07:07:35'::timestamp) - extract(epoch from '2026-06-15 07:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042656 -2.843039)'), GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842914)'))) / (select extract(epoch from '2026-06-15 07:07:35'::timestamp) - extract(epoch from '2026-06-15 07:07: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'), 46945, 'SRID=4674;POINT (-40.042563 -2.842753)', '2026-06-15 07:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842914)'), GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842753)'))) / (select extract(epoch from '2026-06-15 07:07:43'::timestamp) - extract(epoch from '2026-06-15 07:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842914)'), GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842753)'))) / (select extract(epoch from '2026-06-15 07:07:43'::timestamp) - extract(epoch from '2026-06-15 07:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042617 -2.842478)', '2026-06-15 07:07:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842753)'), GeomFromEWKT('SRID=4674;POINT (-40.042617 -2.842478)'))) / (select extract(epoch from '2026-06-15 07:07:56'::timestamp) - extract(epoch from '2026-06-15 07:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042563 -2.842753)'), GeomFromEWKT('SRID=4674;POINT (-40.042617 -2.842478)'))) / (select extract(epoch from '2026-06-15 07:07:56'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.042634 -2.842154)', '2026-06-15 07:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042617 -2.842478)'), GeomFromEWKT('SRID=4674;POINT (-40.042634 -2.842154)'))) / (select extract(epoch from '2026-06-15 07:08:10'::timestamp) - extract(epoch from '2026-06-15 07:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042617 -2.842478)'), GeomFromEWKT('SRID=4674;POINT (-40.042634 -2.842154)'))) / (select extract(epoch from '2026-06-15 07:08:10'::timestamp) - extract(epoch from '2026-06-15 07:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042652 -2.841888)', '2026-06-15 07:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042634 -2.842154)'), GeomFromEWKT('SRID=4674;POINT (-40.042652 -2.841888)'))) / (select extract(epoch from '2026-06-15 07:08:21'::timestamp) - extract(epoch from '2026-06-15 07:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042634 -2.842154)'), GeomFromEWKT('SRID=4674;POINT (-40.042652 -2.841888)'))) / (select extract(epoch from '2026-06-15 07:08:21'::timestamp) - extract(epoch from '2026-06-15 07:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042733 -2.841621)', '2026-06-15 07:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042652 -2.841888)'), GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.841621)'))) / (select extract(epoch from '2026-06-15 07:08:32'::timestamp) - extract(epoch from '2026-06-15 07:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042652 -2.841888)'), GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.841621)'))) / (select extract(epoch from '2026-06-15 07:08:32'::timestamp) - extract(epoch from '2026-06-15 07:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042829 -2.84134)', '2026-06-15 07:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.841621)'), GeomFromEWKT('SRID=4674;POINT (-40.042829 -2.84134)'))) / (select extract(epoch from '2026-06-15 07:08:44'::timestamp) - extract(epoch from '2026-06-15 07:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042733 -2.841621)'), GeomFromEWKT('SRID=4674;POINT (-40.042829 -2.84134)'))) / (select extract(epoch from '2026-06-15 07:08:44'::timestamp) - extract(epoch from '2026-06-15 07:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042956 -2.841069)', '2026-06-15 07:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042829 -2.84134)'), GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.841069)'))) / (select extract(epoch from '2026-06-15 07:08:56'::timestamp) - extract(epoch from '2026-06-15 07:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042829 -2.84134)'), GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.841069)'))) / (select extract(epoch from '2026-06-15 07:08:56'::timestamp) - extract(epoch from '2026-06-15 07:08: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'), 46945, 'SRID=4674;POINT (-40.043042 -2.840845)', '2026-06-15 07:09:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.841069)'), GeomFromEWKT('SRID=4674;POINT (-40.043042 -2.840845)'))) / (select extract(epoch from '2026-06-15 07:09:06'::timestamp) - extract(epoch from '2026-06-15 07:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042956 -2.841069)'), GeomFromEWKT('SRID=4674;POINT (-40.043042 -2.840845)'))) / (select extract(epoch from '2026-06-15 07:09:06'::timestamp) - extract(epoch from '2026-06-15 07:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043074 -2.840723)', '2026-06-15 07:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043042 -2.840845)'), GeomFromEWKT('SRID=4674;POINT (-40.043074 -2.840723)'))) / (select extract(epoch from '2026-06-15 07:09:11'::timestamp) - extract(epoch from '2026-06-15 07:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043042 -2.840845)'), GeomFromEWKT('SRID=4674;POINT (-40.043074 -2.840723)'))) / (select extract(epoch from '2026-06-15 07:09:11'::timestamp) - extract(epoch from '2026-06-15 07:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043129 -2.840532)', '2026-06-15 07:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043074 -2.840723)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840532)'))) / (select extract(epoch from '2026-06-15 07:09:19'::timestamp) - extract(epoch from '2026-06-15 07:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043074 -2.840723)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840532)'))) / (select extract(epoch from '2026-06-15 07:09:19'::timestamp) - extract(epoch from '2026-06-15 07:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043161 -2.840386)', '2026-06-15 07:09:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840532)'), GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.840386)'))) / (select extract(epoch from '2026-06-15 07:09:25'::timestamp) - extract(epoch from '2026-06-15 07:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840532)'), GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.840386)'))) / (select extract(epoch from '2026-06-15 07:09:25'::timestamp) - extract(epoch from '2026-06-15 07:09: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'), 46945, 'SRID=4674;POINT (-40.043168 -2.840311)', '2026-06-15 07:09:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.840386)'), GeomFromEWKT('SRID=4674;POINT (-40.043168 -2.840311)'))) / (select extract(epoch from '2026-06-15 07:09:28'::timestamp) - extract(epoch from '2026-06-15 07:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.840386)'), GeomFromEWKT('SRID=4674;POINT (-40.043168 -2.840311)'))) / (select extract(epoch from '2026-06-15 07:09:28'::timestamp) - extract(epoch from '2026-06-15 07:09: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'), 46945, 'SRID=4674;POINT (-40.043161 -2.84026)', '2026-06-15 07:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043168 -2.840311)'), GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.84026)'))) / (select extract(epoch from '2026-06-15 07:09:30'::timestamp) - extract(epoch from '2026-06-15 07:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043168 -2.840311)'), GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.84026)'))) / (select extract(epoch from '2026-06-15 07:09:30'::timestamp) - extract(epoch from '2026-06-15 07:09: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'), 46945, 'SRID=4674;POINT (-40.043139 -2.840129)', '2026-06-15 07:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.84026)'), GeomFromEWKT('SRID=4674;POINT (-40.043139 -2.840129)'))) / (select extract(epoch from '2026-06-15 07:09:35'::timestamp) - extract(epoch from '2026-06-15 07:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043161 -2.84026)'), GeomFromEWKT('SRID=4674;POINT (-40.043139 -2.840129)'))) / (select extract(epoch from '2026-06-15 07:09:35'::timestamp) - extract(epoch from '2026-06-15 07:09: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'), 46945, 'SRID=4674;POINT (-40.043106 -2.839967)', '2026-06-15 07:09:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043139 -2.840129)'), GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.839967)'))) / (select extract(epoch from '2026-06-15 07:09:41'::timestamp) - extract(epoch from '2026-06-15 07:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043139 -2.840129)'), GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.839967)'))) / (select extract(epoch from '2026-06-15 07:09:41'::timestamp) - extract(epoch from '2026-06-15 07:09: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'), 46945, 'SRID=4674;POINT (-40.043045 -2.839735)', '2026-06-15 07:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.839967)'), GeomFromEWKT('SRID=4674;POINT (-40.043045 -2.839735)'))) / (select extract(epoch from '2026-06-15 07:09:50'::timestamp) - extract(epoch from '2026-06-15 07:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.839967)'), GeomFromEWKT('SRID=4674;POINT (-40.043045 -2.839735)'))) / (select extract(epoch from '2026-06-15 07:09:50'::timestamp) - extract(epoch from '2026-06-15 07:09:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042993 -2.839535)', '2026-06-15 07:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043045 -2.839735)'), GeomFromEWKT('SRID=4674;POINT (-40.042993 -2.839535)'))) / (select extract(epoch from '2026-06-15 07:09:57'::timestamp) - extract(epoch from '2026-06-15 07:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043045 -2.839735)'), GeomFromEWKT('SRID=4674;POINT (-40.042993 -2.839535)'))) / (select extract(epoch from '2026-06-15 07:09:57'::timestamp) - extract(epoch from '2026-06-15 07:09: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'), 46945, 'SRID=4674;POINT (-40.042934 -2.839422)', '2026-06-15 07:10:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042993 -2.839535)'), GeomFromEWKT('SRID=4674;POINT (-40.042934 -2.839422)'))) / (select extract(epoch from '2026-06-15 07:10:02'::timestamp) - extract(epoch from '2026-06-15 07:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042993 -2.839535)'), GeomFromEWKT('SRID=4674;POINT (-40.042934 -2.839422)'))) / (select extract(epoch from '2026-06-15 07:10:02'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.042874 -2.839329)', '2026-06-15 07:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042934 -2.839422)'), GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.839329)'))) / (select extract(epoch from '2026-06-15 07:10:06'::timestamp) - extract(epoch from '2026-06-15 07:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042934 -2.839422)'), GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.839329)'))) / (select extract(epoch from '2026-06-15 07:10:06'::timestamp) - extract(epoch from '2026-06-15 07:10: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'), 46945, 'SRID=4674;POINT (-40.042846 -2.839207)', '2026-06-15 07:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.839329)'), GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839207)'))) / (select extract(epoch from '2026-06-15 07:10:11'::timestamp) - extract(epoch from '2026-06-15 07:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042874 -2.839329)'), GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839207)'))) / (select extract(epoch from '2026-06-15 07:10:11'::timestamp) - extract(epoch from '2026-06-15 07:10: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'), 46945, 'SRID=4674;POINT (-40.042846 -2.839062)', '2026-06-15 07:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839207)'), GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839062)'))) / (select extract(epoch from '2026-06-15 07:10:17'::timestamp) - extract(epoch from '2026-06-15 07:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839207)'), GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839062)'))) / (select extract(epoch from '2026-06-15 07:10:17'::timestamp) - extract(epoch from '2026-06-15 07:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042871 -2.838997)', '2026-06-15 07:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839062)'), GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.838997)'))) / (select extract(epoch from '2026-06-15 07:10:20'::timestamp) - extract(epoch from '2026-06-15 07:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042846 -2.839062)'), GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.838997)'))) / (select extract(epoch from '2026-06-15 07:10:20'::timestamp) - extract(epoch from '2026-06-15 07:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042885 -2.838978)', '2026-06-15 07:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.838997)'), GeomFromEWKT('SRID=4674;POINT (-40.042885 -2.838978)'))) / (select extract(epoch from '2026-06-15 07:10:21'::timestamp) - extract(epoch from '2026-06-15 07:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042871 -2.838997)'), GeomFromEWKT('SRID=4674;POINT (-40.042885 -2.838978)'))) / (select extract(epoch from '2026-06-15 07:10:21'::timestamp) - extract(epoch from '2026-06-15 07:10: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'), 46945, 'SRID=4674;POINT (-40.042919 -2.838874)', '2026-06-15 07:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042885 -2.838978)'), GeomFromEWKT('SRID=4674;POINT (-40.042919 -2.838874)'))) / (select extract(epoch from '2026-06-15 07:10:25'::timestamp) - extract(epoch from '2026-06-15 07:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042885 -2.838978)'), GeomFromEWKT('SRID=4674;POINT (-40.042919 -2.838874)'))) / (select extract(epoch from '2026-06-15 07:10:25'::timestamp) - extract(epoch from '2026-06-15 07:10: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'), 46945, 'SRID=4674;POINT (-40.042918 -2.838767)', '2026-06-15 07:10:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042919 -2.838874)'), GeomFromEWKT('SRID=4674;POINT (-40.042918 -2.838767)'))) / (select extract(epoch from '2026-06-15 07:10:29'::timestamp) - extract(epoch from '2026-06-15 07:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042919 -2.838874)'), GeomFromEWKT('SRID=4674;POINT (-40.042918 -2.838767)'))) / (select extract(epoch from '2026-06-15 07:10:29'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.04288 -2.838666)', '2026-06-15 07:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042918 -2.838767)'), GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.838666)'))) / (select extract(epoch from '2026-06-15 07:10:34'::timestamp) - extract(epoch from '2026-06-15 07:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042918 -2.838767)'), GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.838666)'))) / (select extract(epoch from '2026-06-15 07:10:34'::timestamp) - extract(epoch from '2026-06-15 07:10: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'), 46945, 'SRID=4674;POINT (-40.042784 -2.838508)', '2026-06-15 07:10:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.838666)'), GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.838508)'))) / (select extract(epoch from '2026-06-15 07:10:42'::timestamp) - extract(epoch from '2026-06-15 07:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04288 -2.838666)'), GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.838508)'))) / (select extract(epoch from '2026-06-15 07:10:42'::timestamp) - extract(epoch from '2026-06-15 07:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042676 -2.83834)', '2026-06-15 07:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.838508)'), GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.83834)'))) / (select extract(epoch from '2026-06-15 07:10:51'::timestamp) - extract(epoch from '2026-06-15 07:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042784 -2.838508)'), GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.83834)'))) / (select extract(epoch from '2026-06-15 07:10:51'::timestamp) - extract(epoch from '2026-06-15 07:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042527 -2.83816)', '2026-06-15 07:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.83834)'), GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.83816)'))) / (select extract(epoch from '2026-06-15 07:11:02'::timestamp) - extract(epoch from '2026-06-15 07:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042676 -2.83834)'), GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.83816)'))) / (select extract(epoch from '2026-06-15 07:11:02'::timestamp) - extract(epoch from '2026-06-15 07:10: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'), 46945, 'SRID=4674;POINT (-40.042413 -2.837975)', '2026-06-15 07:11:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.83816)'), GeomFromEWKT('SRID=4674;POINT (-40.042413 -2.837975)'))) / (select extract(epoch from '2026-06-15 07:11:12'::timestamp) - extract(epoch from '2026-06-15 07:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.83816)'), GeomFromEWKT('SRID=4674;POINT (-40.042413 -2.837975)'))) / (select extract(epoch from '2026-06-15 07:11:12'::timestamp) - extract(epoch from '2026-06-15 07:11: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'), 46945, 'SRID=4674;POINT (-40.04233 -2.837848)', '2026-06-15 07:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042413 -2.837975)'), GeomFromEWKT('SRID=4674;POINT (-40.04233 -2.837848)'))) / (select extract(epoch from '2026-06-15 07:11:19'::timestamp) - extract(epoch from '2026-06-15 07:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042413 -2.837975)'), GeomFromEWKT('SRID=4674;POINT (-40.04233 -2.837848)'))) / (select extract(epoch from '2026-06-15 07:11:19'::timestamp) - extract(epoch from '2026-06-15 07:11: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'), 46945, 'SRID=4674;POINT (-40.042127 -2.83757)', '2026-06-15 07:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04233 -2.837848)'), GeomFromEWKT('SRID=4674;POINT (-40.042127 -2.83757)'))) / (select extract(epoch from '2026-06-15 07:11:36'::timestamp) - extract(epoch from '2026-06-15 07:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04233 -2.837848)'), GeomFromEWKT('SRID=4674;POINT (-40.042127 -2.83757)'))) / (select extract(epoch from '2026-06-15 07:11:36'::timestamp) - extract(epoch from '2026-06-15 07:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042055 -2.837403)', '2026-06-15 07:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042127 -2.83757)'), GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.837403)'))) / (select extract(epoch from '2026-06-15 07:11:45'::timestamp) - extract(epoch from '2026-06-15 07:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042127 -2.83757)'), GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.837403)'))) / (select extract(epoch from '2026-06-15 07:11:45'::timestamp) - extract(epoch from '2026-06-15 07:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.04202 -2.837175)', '2026-06-15 07:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.837403)'), GeomFromEWKT('SRID=4674;POINT (-40.04202 -2.837175)'))) / (select extract(epoch from '2026-06-15 07:11:56'::timestamp) - extract(epoch from '2026-06-15 07:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.837403)'), GeomFromEWKT('SRID=4674;POINT (-40.04202 -2.837175)'))) / (select extract(epoch from '2026-06-15 07:11:56'::timestamp) - extract(epoch from '2026-06-15 07:11: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'), 46945, 'SRID=4674;POINT (-40.041976 -2.836838)', '2026-06-15 07:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04202 -2.837175)'), GeomFromEWKT('SRID=4674;POINT (-40.041976 -2.836838)'))) / (select extract(epoch from '2026-06-15 07:12:12'::timestamp) - extract(epoch from '2026-06-15 07:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04202 -2.837175)'), GeomFromEWKT('SRID=4674;POINT (-40.041976 -2.836838)'))) / (select extract(epoch from '2026-06-15 07:12:12'::timestamp) - extract(epoch from '2026-06-15 07:11: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'), 46945, 'SRID=4674;POINT (-40.041963 -2.836619)', '2026-06-15 07:12:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041976 -2.836838)'), GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.836619)'))) / (select extract(epoch from '2026-06-15 07:12:22'::timestamp) - extract(epoch from '2026-06-15 07:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041976 -2.836838)'), GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.836619)'))) / (select extract(epoch from '2026-06-15 07:12:22'::timestamp) - extract(epoch from '2026-06-15 07:12: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'), 46945, 'SRID=4674;POINT (-40.041931 -2.836378)', '2026-06-15 07:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.836619)'), GeomFromEWKT('SRID=4674;POINT (-40.041931 -2.836378)'))) / (select extract(epoch from '2026-06-15 07:12:33'::timestamp) - extract(epoch from '2026-06-15 07:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.836619)'), GeomFromEWKT('SRID=4674;POINT (-40.041931 -2.836378)'))) / (select extract(epoch from '2026-06-15 07:12:33'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041909 -2.836145)', '2026-06-15 07:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041931 -2.836378)'), GeomFromEWKT('SRID=4674;POINT (-40.041909 -2.836145)'))) / (select extract(epoch from '2026-06-15 07:12:43'::timestamp) - extract(epoch from '2026-06-15 07:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041931 -2.836378)'), GeomFromEWKT('SRID=4674;POINT (-40.041909 -2.836145)'))) / (select extract(epoch from '2026-06-15 07:12:43'::timestamp) - extract(epoch from '2026-06-15 07:12: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'), 46945, 'SRID=4674;POINT (-40.041924 -2.835925)', '2026-06-15 07:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041909 -2.836145)'), GeomFromEWKT('SRID=4674;POINT (-40.041924 -2.835925)'))) / (select extract(epoch from '2026-06-15 07:12:53'::timestamp) - extract(epoch from '2026-06-15 07:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041909 -2.836145)'), GeomFromEWKT('SRID=4674;POINT (-40.041924 -2.835925)'))) / (select extract(epoch from '2026-06-15 07:12:53'::timestamp) - extract(epoch from '2026-06-15 07:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041862 -2.835808)', '2026-06-15 07:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041924 -2.835925)'), GeomFromEWKT('SRID=4674;POINT (-40.041862 -2.835808)'))) / (select extract(epoch from '2026-06-15 07:13:00'::timestamp) - extract(epoch from '2026-06-15 07:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041924 -2.835925)'), GeomFromEWKT('SRID=4674;POINT (-40.041862 -2.835808)'))) / (select extract(epoch from '2026-06-15 07:13:00'::timestamp) - extract(epoch from '2026-06-15 07:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.04174 -2.835667)', '2026-06-15 07:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041862 -2.835808)'), GeomFromEWKT('SRID=4674;POINT (-40.04174 -2.835667)'))) / (select extract(epoch from '2026-06-15 07:13:09'::timestamp) - extract(epoch from '2026-06-15 07:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041862 -2.835808)'), GeomFromEWKT('SRID=4674;POINT (-40.04174 -2.835667)'))) / (select extract(epoch from '2026-06-15 07:13:09'::timestamp) - extract(epoch from '2026-06-15 07:13: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'), 46945, 'SRID=4674;POINT (-40.041689 -2.835497)', '2026-06-15 07:13:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04174 -2.835667)'), GeomFromEWKT('SRID=4674;POINT (-40.041689 -2.835497)'))) / (select extract(epoch from '2026-06-15 07:13:17'::timestamp) - extract(epoch from '2026-06-15 07:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04174 -2.835667)'), GeomFromEWKT('SRID=4674;POINT (-40.041689 -2.835497)'))) / (select extract(epoch from '2026-06-15 07:13:17'::timestamp) - extract(epoch from '2026-06-15 07:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041645 -2.83536)', '2026-06-15 07:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041689 -2.835497)'), GeomFromEWKT('SRID=4674;POINT (-40.041645 -2.83536)'))) / (select extract(epoch from '2026-06-15 07:13:24'::timestamp) - extract(epoch from '2026-06-15 07:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041689 -2.835497)'), GeomFromEWKT('SRID=4674;POINT (-40.041645 -2.83536)'))) / (select extract(epoch from '2026-06-15 07:13:24'::timestamp) - extract(epoch from '2026-06-15 07:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041579 -2.835167)', '2026-06-15 07:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041645 -2.83536)'), GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.835167)'))) / (select extract(epoch from '2026-06-15 07:13:34'::timestamp) - extract(epoch from '2026-06-15 07:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041645 -2.83536)'), GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.835167)'))) / (select extract(epoch from '2026-06-15 07:13:34'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041557 -2.835001)', '2026-06-15 07:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.835167)'), GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.835001)'))) / (select extract(epoch from '2026-06-15 07:13:42'::timestamp) - extract(epoch from '2026-06-15 07:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041579 -2.835167)'), GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.835001)'))) / (select extract(epoch from '2026-06-15 07:13:42'::timestamp) - extract(epoch from '2026-06-15 07:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041536 -2.834827)', '2026-06-15 07:13:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.835001)'), GeomFromEWKT('SRID=4674;POINT (-40.041536 -2.834827)'))) / (select extract(epoch from '2026-06-15 07:13:50'::timestamp) - extract(epoch from '2026-06-15 07:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041557 -2.835001)'), GeomFromEWKT('SRID=4674;POINT (-40.041536 -2.834827)'))) / (select extract(epoch from '2026-06-15 07:13:50'::timestamp) - extract(epoch from '2026-06-15 07:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041533 -2.834649)', '2026-06-15 07:13:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041536 -2.834827)'), GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.834649)'))) / (select extract(epoch from '2026-06-15 07:13:58'::timestamp) - extract(epoch from '2026-06-15 07:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041536 -2.834827)'), GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.834649)'))) / (select extract(epoch from '2026-06-15 07:13:58'::timestamp) - extract(epoch from '2026-06-15 07:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041544 -2.83448)', '2026-06-15 07:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.834649)'), GeomFromEWKT('SRID=4674;POINT (-40.041544 -2.83448)'))) / (select extract(epoch from '2026-06-15 07:14:06'::timestamp) - extract(epoch from '2026-06-15 07:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.834649)'), GeomFromEWKT('SRID=4674;POINT (-40.041544 -2.83448)'))) / (select extract(epoch from '2026-06-15 07:14:06'::timestamp) - extract(epoch from '2026-06-15 07:13: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'), 46945, 'SRID=4674;POINT (-40.041539 -2.834243)', '2026-06-15 07:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041544 -2.83448)'), GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.834243)'))) / (select extract(epoch from '2026-06-15 07:14:17'::timestamp) - extract(epoch from '2026-06-15 07:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041544 -2.83448)'), GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.834243)'))) / (select extract(epoch from '2026-06-15 07:14:17'::timestamp) - extract(epoch from '2026-06-15 07:14: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'), 46945, 'SRID=4674;POINT (-40.041508 -2.834019)', '2026-06-15 07:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.834243)'), GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.834019)'))) / (select extract(epoch from '2026-06-15 07:14:28'::timestamp) - extract(epoch from '2026-06-15 07:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.834243)'), GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.834019)'))) / (select extract(epoch from '2026-06-15 07:14:28'::timestamp) - extract(epoch from '2026-06-15 07:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041474 -2.833813)', '2026-06-15 07:14:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.834019)'), GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.833813)'))) / (select extract(epoch from '2026-06-15 07:14:38'::timestamp) - extract(epoch from '2026-06-15 07:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.834019)'), GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.833813)'))) / (select extract(epoch from '2026-06-15 07:14:38'::timestamp) - extract(epoch from '2026-06-15 07:14: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'), 46945, 'SRID=4674;POINT (-40.041487 -2.833613)', '2026-06-15 07:14:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.833813)'), GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.833613)'))) / (select extract(epoch from '2026-06-15 07:14:47'::timestamp) - extract(epoch from '2026-06-15 07:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.833813)'), GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.833613)'))) / (select extract(epoch from '2026-06-15 07:14:47'::timestamp) - extract(epoch from '2026-06-15 07:14: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'), 46945, 'SRID=4674;POINT (-40.041493 -2.833392)', '2026-06-15 07:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.833613)'), GeomFromEWKT('SRID=4674;POINT (-40.041493 -2.833392)'))) / (select extract(epoch from '2026-06-15 07:14:57'::timestamp) - extract(epoch from '2026-06-15 07:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041487 -2.833613)'), GeomFromEWKT('SRID=4674;POINT (-40.041493 -2.833392)'))) / (select extract(epoch from '2026-06-15 07:14:57'::timestamp) - extract(epoch from '2026-06-15 07:14: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'), 46945, 'SRID=4674;POINT (-40.041484 -2.833043)', '2026-06-15 07:15:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041493 -2.833392)'), GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.833043)'))) / (select extract(epoch from '2026-06-15 07:15:13'::timestamp) - extract(epoch from '2026-06-15 07:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041493 -2.833392)'), GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.833043)'))) / (select extract(epoch from '2026-06-15 07:15:13'::timestamp) - extract(epoch from '2026-06-15 07:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041468 -2.832884)', '2026-06-15 07:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.833043)'), GeomFromEWKT('SRID=4674;POINT (-40.041468 -2.832884)'))) / (select extract(epoch from '2026-06-15 07:15:20'::timestamp) - extract(epoch from '2026-06-15 07:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.833043)'), GeomFromEWKT('SRID=4674;POINT (-40.041468 -2.832884)'))) / (select extract(epoch from '2026-06-15 07:15:20'::timestamp) - extract(epoch from '2026-06-15 07:15: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'), 46945, 'SRID=4674;POINT (-40.041478 -2.832572)', '2026-06-15 07:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041468 -2.832884)'), GeomFromEWKT('SRID=4674;POINT (-40.041478 -2.832572)'))) / (select extract(epoch from '2026-06-15 07:15:34'::timestamp) - extract(epoch from '2026-06-15 07:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041468 -2.832884)'), GeomFromEWKT('SRID=4674;POINT (-40.041478 -2.832572)'))) / (select extract(epoch from '2026-06-15 07:15:34'::timestamp) - extract(epoch from '2026-06-15 07:15: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'), 46945, 'SRID=4674;POINT (-40.041484 -2.832324)', '2026-06-15 07:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041478 -2.832572)'), GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.832324)'))) / (select extract(epoch from '2026-06-15 07:15:45'::timestamp) - extract(epoch from '2026-06-15 07:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041478 -2.832572)'), GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.832324)'))) / (select extract(epoch from '2026-06-15 07:15:45'::timestamp) - extract(epoch from '2026-06-15 07:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041473 -2.832077)', '2026-06-15 07:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.832324)'), GeomFromEWKT('SRID=4674;POINT (-40.041473 -2.832077)'))) / (select extract(epoch from '2026-06-15 07:15:56'::timestamp) - extract(epoch from '2026-06-15 07:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041484 -2.832324)'), GeomFromEWKT('SRID=4674;POINT (-40.041473 -2.832077)'))) / (select extract(epoch from '2026-06-15 07:15:56'::timestamp) - extract(epoch from '2026-06-15 07:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041475 -2.831745)', '2026-06-15 07:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041473 -2.832077)'), GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.831745)'))) / (select extract(epoch from '2026-06-15 07:16:11'::timestamp) - extract(epoch from '2026-06-15 07:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041473 -2.832077)'), GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.831745)'))) / (select extract(epoch from '2026-06-15 07:16:11'::timestamp) - extract(epoch from '2026-06-15 07:15: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'), 46945, 'SRID=4674;POINT (-40.041488 -2.831626)', '2026-06-15 07:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.831745)'), GeomFromEWKT('SRID=4674;POINT (-40.041488 -2.831626)'))) / (select extract(epoch from '2026-06-15 07:16:16'::timestamp) - extract(epoch from '2026-06-15 07:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041475 -2.831745)'), GeomFromEWKT('SRID=4674;POINT (-40.041488 -2.831626)'))) / (select extract(epoch from '2026-06-15 07:16:16'::timestamp) - extract(epoch from '2026-06-15 07:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041482 -2.831519)', '2026-06-15 07:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041488 -2.831626)'), GeomFromEWKT('SRID=4674;POINT (-40.041482 -2.831519)'))) / (select extract(epoch from '2026-06-15 07:16:21'::timestamp) - extract(epoch from '2026-06-15 07:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041488 -2.831626)'), GeomFromEWKT('SRID=4674;POINT (-40.041482 -2.831519)'))) / (select extract(epoch from '2026-06-15 07:16:21'::timestamp) - extract(epoch from '2026-06-15 07:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041471 -2.831472)', '2026-06-15 07:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041482 -2.831519)'), GeomFromEWKT('SRID=4674;POINT (-40.041471 -2.831472)'))) / (select extract(epoch from '2026-06-15 07:16:23'::timestamp) - extract(epoch from '2026-06-15 07:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041482 -2.831519)'), GeomFromEWKT('SRID=4674;POINT (-40.041471 -2.831472)'))) / (select extract(epoch from '2026-06-15 07:16:23'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041458 -2.831452)', '2026-06-15 07:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041471 -2.831472)'), GeomFromEWKT('SRID=4674;POINT (-40.041458 -2.831452)'))) / (select extract(epoch from '2026-06-15 07:16:24'::timestamp) - extract(epoch from '2026-06-15 07:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041471 -2.831472)'), GeomFromEWKT('SRID=4674;POINT (-40.041458 -2.831452)'))) / (select extract(epoch from '2026-06-15 07:16:24'::timestamp) - extract(epoch from '2026-06-15 07:16: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'), 46945, 'SRID=4674;POINT (-40.041398 -2.831359)', '2026-06-15 07:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041458 -2.831452)'), GeomFromEWKT('SRID=4674;POINT (-40.041398 -2.831359)'))) / (select extract(epoch from '2026-06-15 07:16:30'::timestamp) - extract(epoch from '2026-06-15 07:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041458 -2.831452)'), GeomFromEWKT('SRID=4674;POINT (-40.041398 -2.831359)'))) / (select extract(epoch from '2026-06-15 07:16:30'::timestamp) - extract(epoch from '2026-06-15 07:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041304 -2.831306)', '2026-06-15 07:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041398 -2.831359)'), GeomFromEWKT('SRID=4674;POINT (-40.041304 -2.831306)'))) / (select extract(epoch from '2026-06-15 07:16:36'::timestamp) - extract(epoch from '2026-06-15 07:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041398 -2.831359)'), GeomFromEWKT('SRID=4674;POINT (-40.041304 -2.831306)'))) / (select extract(epoch from '2026-06-15 07:16:36'::timestamp) - extract(epoch from '2026-06-15 07:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041206 -2.831183)', '2026-06-15 07:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041304 -2.831306)'), GeomFromEWKT('SRID=4674;POINT (-40.041206 -2.831183)'))) / (select extract(epoch from '2026-06-15 07:16:44'::timestamp) - extract(epoch from '2026-06-15 07:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041304 -2.831306)'), GeomFromEWKT('SRID=4674;POINT (-40.041206 -2.831183)'))) / (select extract(epoch from '2026-06-15 07:16:44'::timestamp) - extract(epoch from '2026-06-15 07:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041185 -2.831016)', '2026-06-15 07:16:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041206 -2.831183)'), GeomFromEWKT('SRID=4674;POINT (-40.041185 -2.831016)'))) / (select extract(epoch from '2026-06-15 07:16:52'::timestamp) - extract(epoch from '2026-06-15 07:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041206 -2.831183)'), GeomFromEWKT('SRID=4674;POINT (-40.041185 -2.831016)'))) / (select extract(epoch from '2026-06-15 07:16:52'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041194 -2.830889)', '2026-06-15 07:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041185 -2.831016)'), GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.830889)'))) / (select extract(epoch from '2026-06-15 07:16:58'::timestamp) - extract(epoch from '2026-06-15 07:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041185 -2.831016)'), GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.830889)'))) / (select extract(epoch from '2026-06-15 07:16:58'::timestamp) - extract(epoch from '2026-06-15 07:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.04122 -2.83062)', '2026-06-15 07:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.830889)'), GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.83062)'))) / (select extract(epoch from '2026-06-15 07:17:10'::timestamp) - extract(epoch from '2026-06-15 07:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.830889)'), GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.83062)'))) / (select extract(epoch from '2026-06-15 07:17:10'::timestamp) - extract(epoch from '2026-06-15 07:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041255 -2.830381)', '2026-06-15 07:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.83062)'), GeomFromEWKT('SRID=4674;POINT (-40.041255 -2.830381)'))) / (select extract(epoch from '2026-06-15 07:17:21'::timestamp) - extract(epoch from '2026-06-15 07:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04122 -2.83062)'), GeomFromEWKT('SRID=4674;POINT (-40.041255 -2.830381)'))) / (select extract(epoch from '2026-06-15 07:17:21'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041313 -2.830185)', '2026-06-15 07:17:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041255 -2.830381)'), GeomFromEWKT('SRID=4674;POINT (-40.041313 -2.830185)'))) / (select extract(epoch from '2026-06-15 07:17:30'::timestamp) - extract(epoch from '2026-06-15 07:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041255 -2.830381)'), GeomFromEWKT('SRID=4674;POINT (-40.041313 -2.830185)'))) / (select extract(epoch from '2026-06-15 07:17:30'::timestamp) - extract(epoch from '2026-06-15 07:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041356 -2.83003)', '2026-06-15 07:17:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041313 -2.830185)'), GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.83003)'))) / (select extract(epoch from '2026-06-15 07:17:37'::timestamp) - extract(epoch from '2026-06-15 07:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041313 -2.830185)'), GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.83003)'))) / (select extract(epoch from '2026-06-15 07:17:37'::timestamp) - extract(epoch from '2026-06-15 07:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041428 -2.829804)', '2026-06-15 07:17:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.83003)'), GeomFromEWKT('SRID=4674;POINT (-40.041428 -2.829804)'))) / (select extract(epoch from '2026-06-15 07:17:48'::timestamp) - extract(epoch from '2026-06-15 07:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.83003)'), GeomFromEWKT('SRID=4674;POINT (-40.041428 -2.829804)'))) / (select extract(epoch from '2026-06-15 07:17:48'::timestamp) - extract(epoch from '2026-06-15 07:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041454 -2.829677)', '2026-06-15 07:17:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041428 -2.829804)'), GeomFromEWKT('SRID=4674;POINT (-40.041454 -2.829677)'))) / (select extract(epoch from '2026-06-15 07:17:54'::timestamp) - extract(epoch from '2026-06-15 07:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041428 -2.829804)'), GeomFromEWKT('SRID=4674;POINT (-40.041454 -2.829677)'))) / (select extract(epoch from '2026-06-15 07:17:54'::timestamp) - extract(epoch from '2026-06-15 07:17: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'), 46945, 'SRID=4674;POINT (-40.041512 -2.829445)', '2026-06-15 07:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041454 -2.829677)'), GeomFromEWKT('SRID=4674;POINT (-40.041512 -2.829445)'))) / (select extract(epoch from '2026-06-15 07:18:05'::timestamp) - extract(epoch from '2026-06-15 07:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041454 -2.829677)'), GeomFromEWKT('SRID=4674;POINT (-40.041512 -2.829445)'))) / (select extract(epoch from '2026-06-15 07:18:05'::timestamp) - extract(epoch from '2026-06-15 07:17: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'), 46945, 'SRID=4674;POINT (-40.041529 -2.829344)', '2026-06-15 07:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041512 -2.829445)'), GeomFromEWKT('SRID=4674;POINT (-40.041529 -2.829344)'))) / (select extract(epoch from '2026-06-15 07:18:10'::timestamp) - extract(epoch from '2026-06-15 07:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041512 -2.829445)'), GeomFromEWKT('SRID=4674;POINT (-40.041529 -2.829344)'))) / (select extract(epoch from '2026-06-15 07:18:10'::timestamp) - extract(epoch from '2026-06-15 07:18: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'), 46945, 'SRID=4674;POINT (-40.041533 -2.82918)', '2026-06-15 07:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041529 -2.829344)'), GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.82918)'))) / (select extract(epoch from '2026-06-15 07:18:17'::timestamp) - extract(epoch from '2026-06-15 07:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041529 -2.829344)'), GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.82918)'))) / (select extract(epoch from '2026-06-15 07:18:17'::timestamp) - extract(epoch from '2026-06-15 07:18: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'), 46945, 'SRID=4674;POINT (-40.041526 -2.829097)', '2026-06-15 07:18:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.82918)'), GeomFromEWKT('SRID=4674;POINT (-40.041526 -2.829097)'))) / (select extract(epoch from '2026-06-15 07:18:21'::timestamp) - extract(epoch from '2026-06-15 07:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041533 -2.82918)'), GeomFromEWKT('SRID=4674;POINT (-40.041526 -2.829097)'))) / (select extract(epoch from '2026-06-15 07:18:21'::timestamp) - extract(epoch from '2026-06-15 07:18: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'), 46945, 'SRID=4674;POINT (-40.04152 -2.829076)', '2026-06-15 07:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041526 -2.829097)'), GeomFromEWKT('SRID=4674;POINT (-40.04152 -2.829076)'))) / (select extract(epoch from '2026-06-15 07:18:22'::timestamp) - extract(epoch from '2026-06-15 07:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041526 -2.829097)'), GeomFromEWKT('SRID=4674;POINT (-40.04152 -2.829076)'))) / (select extract(epoch from '2026-06-15 07:18:22'::timestamp) - extract(epoch from '2026-06-15 07:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041497 -2.828906)', '2026-06-15 07:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04152 -2.829076)'), GeomFromEWKT('SRID=4674;POINT (-40.041497 -2.828906)'))) / (select extract(epoch from '2026-06-15 07:18:29'::timestamp) - extract(epoch from '2026-06-15 07:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04152 -2.829076)'), GeomFromEWKT('SRID=4674;POINT (-40.041497 -2.828906)'))) / (select extract(epoch from '2026-06-15 07:18:29'::timestamp) - extract(epoch from '2026-06-15 07:18: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'), 46945, 'SRID=4674;POINT (-40.041521 -2.828695)', '2026-06-15 07:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041497 -2.828906)'), GeomFromEWKT('SRID=4674;POINT (-40.041521 -2.828695)'))) / (select extract(epoch from '2026-06-15 07:18:38'::timestamp) - extract(epoch from '2026-06-15 07:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041497 -2.828906)'), GeomFromEWKT('SRID=4674;POINT (-40.041521 -2.828695)'))) / (select extract(epoch from '2026-06-15 07:18:38'::timestamp) - extract(epoch from '2026-06-15 07:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041537 -2.828554)', '2026-06-15 07:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041521 -2.828695)'), GeomFromEWKT('SRID=4674;POINT (-40.041537 -2.828554)'))) / (select extract(epoch from '2026-06-15 07:18:44'::timestamp) - extract(epoch from '2026-06-15 07:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041521 -2.828695)'), GeomFromEWKT('SRID=4674;POINT (-40.041537 -2.828554)'))) / (select extract(epoch from '2026-06-15 07:18:44'::timestamp) - extract(epoch from '2026-06-15 07:18: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'), 46945, 'SRID=4674;POINT (-40.041531 -2.82836)', '2026-06-15 07:18:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041537 -2.828554)'), GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.82836)'))) / (select extract(epoch from '2026-06-15 07:18:52'::timestamp) - extract(epoch from '2026-06-15 07:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041537 -2.828554)'), GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.82836)'))) / (select extract(epoch from '2026-06-15 07:18:52'::timestamp) - extract(epoch from '2026-06-15 07:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041534 -2.828181)', '2026-06-15 07:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.82836)'), GeomFromEWKT('SRID=4674;POINT (-40.041534 -2.828181)'))) / (select extract(epoch from '2026-06-15 07:19:00'::timestamp) - extract(epoch from '2026-06-15 07:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.82836)'), GeomFromEWKT('SRID=4674;POINT (-40.041534 -2.828181)'))) / (select extract(epoch from '2026-06-15 07:19:00'::timestamp) - extract(epoch from '2026-06-15 07:18: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'), 46945, 'SRID=4674;POINT (-40.04156 -2.827921)', '2026-06-15 07:19:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041534 -2.828181)'), GeomFromEWKT('SRID=4674;POINT (-40.04156 -2.827921)'))) / (select extract(epoch from '2026-06-15 07:19:12'::timestamp) - extract(epoch from '2026-06-15 07:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041534 -2.828181)'), GeomFromEWKT('SRID=4674;POINT (-40.04156 -2.827921)'))) / (select extract(epoch from '2026-06-15 07:19:12'::timestamp) - extract(epoch from '2026-06-15 07:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041581 -2.827679)', '2026-06-15 07:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04156 -2.827921)'), GeomFromEWKT('SRID=4674;POINT (-40.041581 -2.827679)'))) / (select extract(epoch from '2026-06-15 07:19:23'::timestamp) - extract(epoch from '2026-06-15 07:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04156 -2.827921)'), GeomFromEWKT('SRID=4674;POINT (-40.041581 -2.827679)'))) / (select extract(epoch from '2026-06-15 07:19:23'::timestamp) - extract(epoch from '2026-06-15 07:19: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'), 46945, 'SRID=4674;POINT (-40.041602 -2.827435)', '2026-06-15 07:19:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041581 -2.827679)'), GeomFromEWKT('SRID=4674;POINT (-40.041602 -2.827435)'))) / (select extract(epoch from '2026-06-15 07:19:34'::timestamp) - extract(epoch from '2026-06-15 07:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041581 -2.827679)'), GeomFromEWKT('SRID=4674;POINT (-40.041602 -2.827435)'))) / (select extract(epoch from '2026-06-15 07:19:34'::timestamp) - extract(epoch from '2026-06-15 07:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.04163 -2.827153)', '2026-06-15 07:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041602 -2.827435)'), GeomFromEWKT('SRID=4674;POINT (-40.04163 -2.827153)'))) / (select extract(epoch from '2026-06-15 07:19:47'::timestamp) - extract(epoch from '2026-06-15 07:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041602 -2.827435)'), GeomFromEWKT('SRID=4674;POINT (-40.04163 -2.827153)'))) / (select extract(epoch from '2026-06-15 07:19:47'::timestamp) - extract(epoch from '2026-06-15 07:19: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'), 46945, 'SRID=4674;POINT (-40.041649 -2.826973)', '2026-06-15 07:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04163 -2.827153)'), GeomFromEWKT('SRID=4674;POINT (-40.041649 -2.826973)'))) / (select extract(epoch from '2026-06-15 07:19:55'::timestamp) - extract(epoch from '2026-06-15 07:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04163 -2.827153)'), GeomFromEWKT('SRID=4674;POINT (-40.041649 -2.826973)'))) / (select extract(epoch from '2026-06-15 07:19:55'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041672 -2.82671)', '2026-06-15 07:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041649 -2.826973)'), GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.82671)'))) / (select extract(epoch from '2026-06-15 07:20:07'::timestamp) - extract(epoch from '2026-06-15 07:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041649 -2.826973)'), GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.82671)'))) / (select extract(epoch from '2026-06-15 07:20:07'::timestamp) - extract(epoch from '2026-06-15 07:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041676 -2.826512)', '2026-06-15 07:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.82671)'), GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.826512)'))) / (select extract(epoch from '2026-06-15 07:20:16'::timestamp) - extract(epoch from '2026-06-15 07:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041672 -2.82671)'), GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.826512)'))) / (select extract(epoch from '2026-06-15 07:20:16'::timestamp) - extract(epoch from '2026-06-15 07:20: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'), 46945, 'SRID=4674;POINT (-40.041693 -2.826286)', '2026-06-15 07:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.826512)'), GeomFromEWKT('SRID=4674;POINT (-40.041693 -2.826286)'))) / (select extract(epoch from '2026-06-15 07:20:26'::timestamp) - extract(epoch from '2026-06-15 07:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.826512)'), GeomFromEWKT('SRID=4674;POINT (-40.041693 -2.826286)'))) / (select extract(epoch from '2026-06-15 07:20:26'::timestamp) - extract(epoch from '2026-06-15 07:20: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'), 46945, 'SRID=4674;POINT (-40.041721 -2.826059)', '2026-06-15 07:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041693 -2.826286)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.826059)'))) / (select extract(epoch from '2026-06-15 07:20:36'::timestamp) - extract(epoch from '2026-06-15 07:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041693 -2.826286)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.826059)'))) / (select extract(epoch from '2026-06-15 07:20:36'::timestamp) - extract(epoch from '2026-06-15 07:20: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'), 46945, 'SRID=4674;POINT (-40.041759 -2.825851)', '2026-06-15 07:20:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.826059)'), GeomFromEWKT('SRID=4674;POINT (-40.041759 -2.825851)'))) / (select extract(epoch from '2026-06-15 07:20:45'::timestamp) - extract(epoch from '2026-06-15 07:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.826059)'), GeomFromEWKT('SRID=4674;POINT (-40.041759 -2.825851)'))) / (select extract(epoch from '2026-06-15 07:20:45'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041766 -2.825634)', '2026-06-15 07:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041759 -2.825851)'), GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.825634)'))) / (select extract(epoch from '2026-06-15 07:20:55'::timestamp) - extract(epoch from '2026-06-15 07:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041759 -2.825851)'), GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.825634)'))) / (select extract(epoch from '2026-06-15 07:20:55'::timestamp) - extract(epoch from '2026-06-15 07:20: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'), 46945, 'SRID=4674;POINT (-40.041775 -2.82541)', '2026-06-15 07:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.825634)'), GeomFromEWKT('SRID=4674;POINT (-40.041775 -2.82541)'))) / (select extract(epoch from '2026-06-15 07:21:05'::timestamp) - extract(epoch from '2026-06-15 07:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.825634)'), GeomFromEWKT('SRID=4674;POINT (-40.041775 -2.82541)'))) / (select extract(epoch from '2026-06-15 07:21:05'::timestamp) - extract(epoch from '2026-06-15 07:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041803 -2.825234)', '2026-06-15 07:21:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041775 -2.82541)'), GeomFromEWKT('SRID=4674;POINT (-40.041803 -2.825234)'))) / (select extract(epoch from '2026-06-15 07:21:13'::timestamp) - extract(epoch from '2026-06-15 07:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041775 -2.82541)'), GeomFromEWKT('SRID=4674;POINT (-40.041803 -2.825234)'))) / (select extract(epoch from '2026-06-15 07:21:13'::timestamp) - extract(epoch from '2026-06-15 07:21: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'), 46945, 'SRID=4674;POINT (-40.04183 -2.82505)', '2026-06-15 07:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041803 -2.825234)'), GeomFromEWKT('SRID=4674;POINT (-40.04183 -2.82505)'))) / (select extract(epoch from '2026-06-15 07:21:22'::timestamp) - extract(epoch from '2026-06-15 07:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041803 -2.825234)'), GeomFromEWKT('SRID=4674;POINT (-40.04183 -2.82505)'))) / (select extract(epoch from '2026-06-15 07:21:22'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041878 -2.824831)', '2026-06-15 07:21:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04183 -2.82505)'), GeomFromEWKT('SRID=4674;POINT (-40.041878 -2.824831)'))) / (select extract(epoch from '2026-06-15 07:21:32'::timestamp) - extract(epoch from '2026-06-15 07:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04183 -2.82505)'), GeomFromEWKT('SRID=4674;POINT (-40.041878 -2.824831)'))) / (select extract(epoch from '2026-06-15 07:21:32'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.041913 -2.824637)', '2026-06-15 07:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041878 -2.824831)'), GeomFromEWKT('SRID=4674;POINT (-40.041913 -2.824637)'))) / (select extract(epoch from '2026-06-15 07:21:41'::timestamp) - extract(epoch from '2026-06-15 07:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041878 -2.824831)'), GeomFromEWKT('SRID=4674;POINT (-40.041913 -2.824637)'))) / (select extract(epoch from '2026-06-15 07:21:41'::timestamp) - extract(epoch from '2026-06-15 07:21:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.041945 -2.824427)', '2026-06-15 07:21:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041913 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.041945 -2.824427)'))) / (select extract(epoch from '2026-06-15 07:21:50'::timestamp) - extract(epoch from '2026-06-15 07:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041913 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.041945 -2.824427)'))) / (select extract(epoch from '2026-06-15 07:21:50'::timestamp) - extract(epoch from '2026-06-15 07:21: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'), 46945, 'SRID=4674;POINT (-40.041969 -2.824196)', '2026-06-15 07:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041945 -2.824427)'), GeomFromEWKT('SRID=4674;POINT (-40.041969 -2.824196)'))) / (select extract(epoch from '2026-06-15 07:22:01'::timestamp) - extract(epoch from '2026-06-15 07:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041945 -2.824427)'), GeomFromEWKT('SRID=4674;POINT (-40.041969 -2.824196)'))) / (select extract(epoch from '2026-06-15 07:22:01'::timestamp) - extract(epoch from '2026-06-15 07:21: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'), 46945, 'SRID=4674;POINT (-40.041992 -2.823991)', '2026-06-15 07:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041969 -2.824196)'), GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.823991)'))) / (select extract(epoch from '2026-06-15 07:22:10'::timestamp) - extract(epoch from '2026-06-15 07:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041969 -2.824196)'), GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.823991)'))) / (select extract(epoch from '2026-06-15 07:22:10'::timestamp) - extract(epoch from '2026-06-15 07:22: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'), 46945, 'SRID=4674;POINT (-40.042017 -2.823815)', '2026-06-15 07:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.823991)'), GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.823815)'))) / (select extract(epoch from '2026-06-15 07:22:18'::timestamp) - extract(epoch from '2026-06-15 07:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041992 -2.823991)'), GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.823815)'))) / (select extract(epoch from '2026-06-15 07:22:18'::timestamp) - extract(epoch from '2026-06-15 07:22: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'), 46945, 'SRID=4674;POINT (-40.04203 -2.823588)', '2026-06-15 07:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.823815)'), GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.823588)'))) / (select extract(epoch from '2026-06-15 07:22:29'::timestamp) - extract(epoch from '2026-06-15 07:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.823815)'), GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.823588)'))) / (select extract(epoch from '2026-06-15 07:22:29'::timestamp) - extract(epoch from '2026-06-15 07:22: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'), 46945, 'SRID=4674;POINT (-40.042031 -2.82337)', '2026-06-15 07:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.823588)'), GeomFromEWKT('SRID=4674;POINT (-40.042031 -2.82337)'))) / (select extract(epoch from '2026-06-15 07:22:39'::timestamp) - extract(epoch from '2026-06-15 07:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.823588)'), GeomFromEWKT('SRID=4674;POINT (-40.042031 -2.82337)'))) / (select extract(epoch from '2026-06-15 07:22:39'::timestamp) - extract(epoch from '2026-06-15 07:22: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'), 46945, 'SRID=4674;POINT (-40.042038 -2.823142)', '2026-06-15 07:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042031 -2.82337)'), GeomFromEWKT('SRID=4674;POINT (-40.042038 -2.823142)'))) / (select extract(epoch from '2026-06-15 07:22:49'::timestamp) - extract(epoch from '2026-06-15 07:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042031 -2.82337)'), GeomFromEWKT('SRID=4674;POINT (-40.042038 -2.823142)'))) / (select extract(epoch from '2026-06-15 07:22:49'::timestamp) - extract(epoch from '2026-06-15 07:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042024 -2.82287)', '2026-06-15 07:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042038 -2.823142)'), GeomFromEWKT('SRID=4674;POINT (-40.042024 -2.82287)'))) / (select extract(epoch from '2026-06-15 07:23:02'::timestamp) - extract(epoch from '2026-06-15 07:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042038 -2.823142)'), GeomFromEWKT('SRID=4674;POINT (-40.042024 -2.82287)'))) / (select extract(epoch from '2026-06-15 07:23:02'::timestamp) - extract(epoch from '2026-06-15 07:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042001 -2.822704)', '2026-06-15 07:23:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042024 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.822704)'))) / (select extract(epoch from '2026-06-15 07:23:10'::timestamp) - extract(epoch from '2026-06-15 07:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042024 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.822704)'))) / (select extract(epoch from '2026-06-15 07:23:10'::timestamp) - extract(epoch from '2026-06-15 07:23: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'), 46945, 'SRID=4674;POINT (-40.041997 -2.822508)', '2026-06-15 07:23:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.822704)'), GeomFromEWKT('SRID=4674;POINT (-40.041997 -2.822508)'))) / (select extract(epoch from '2026-06-15 07:23:19'::timestamp) - extract(epoch from '2026-06-15 07:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.822704)'), GeomFromEWKT('SRID=4674;POINT (-40.041997 -2.822508)'))) / (select extract(epoch from '2026-06-15 07:23:19'::timestamp) - extract(epoch from '2026-06-15 07:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042 -2.822335)', '2026-06-15 07:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041997 -2.822508)'), GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822335)'))) / (select extract(epoch from '2026-06-15 07:23:27'::timestamp) - extract(epoch from '2026-06-15 07:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041997 -2.822508)'), GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822335)'))) / (select extract(epoch from '2026-06-15 07:23:27'::timestamp) - extract(epoch from '2026-06-15 07:23: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'), 46945, 'SRID=4674;POINT (-40.042011 -2.822107)', '2026-06-15 07:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822335)'), GeomFromEWKT('SRID=4674;POINT (-40.042011 -2.822107)'))) / (select extract(epoch from '2026-06-15 07:23:37'::timestamp) - extract(epoch from '2026-06-15 07:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042 -2.822335)'), GeomFromEWKT('SRID=4674;POINT (-40.042011 -2.822107)'))) / (select extract(epoch from '2026-06-15 07:23:37'::timestamp) - extract(epoch from '2026-06-15 07:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.04203 -2.821887)', '2026-06-15 07:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042011 -2.822107)'), GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.821887)'))) / (select extract(epoch from '2026-06-15 07:23:46'::timestamp) - extract(epoch from '2026-06-15 07:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042011 -2.822107)'), GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.821887)'))) / (select extract(epoch from '2026-06-15 07:23:46'::timestamp) - extract(epoch from '2026-06-15 07:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042048 -2.821682)', '2026-06-15 07:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.821887)'), GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.821682)'))) / (select extract(epoch from '2026-06-15 07:23:55'::timestamp) - extract(epoch from '2026-06-15 07:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04203 -2.821887)'), GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.821682)'))) / (select extract(epoch from '2026-06-15 07:23:55'::timestamp) - extract(epoch from '2026-06-15 07:23: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'), 46945, 'SRID=4674;POINT (-40.042085 -2.821497)', '2026-06-15 07:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.821682)'), GeomFromEWKT('SRID=4674;POINT (-40.042085 -2.821497)'))) / (select extract(epoch from '2026-06-15 07:24:03'::timestamp) - extract(epoch from '2026-06-15 07:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042048 -2.821682)'), GeomFromEWKT('SRID=4674;POINT (-40.042085 -2.821497)'))) / (select extract(epoch from '2026-06-15 07:24:03'::timestamp) - extract(epoch from '2026-06-15 07:23: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'), 46945, 'SRID=4674;POINT (-40.042129 -2.821274)', '2026-06-15 07:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042085 -2.821497)'), GeomFromEWKT('SRID=4674;POINT (-40.042129 -2.821274)'))) / (select extract(epoch from '2026-06-15 07:24:13'::timestamp) - extract(epoch from '2026-06-15 07:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042085 -2.821497)'), GeomFromEWKT('SRID=4674;POINT (-40.042129 -2.821274)'))) / (select extract(epoch from '2026-06-15 07:24:13'::timestamp) - extract(epoch from '2026-06-15 07:24: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'), 46945, 'SRID=4674;POINT (-40.042198 -2.821077)', '2026-06-15 07:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042129 -2.821274)'), GeomFromEWKT('SRID=4674;POINT (-40.042198 -2.821077)'))) / (select extract(epoch from '2026-06-15 07:24:22'::timestamp) - extract(epoch from '2026-06-15 07:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042129 -2.821274)'), GeomFromEWKT('SRID=4674;POINT (-40.042198 -2.821077)'))) / (select extract(epoch from '2026-06-15 07:24:22'::timestamp) - extract(epoch from '2026-06-15 07:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.042276 -2.820896)', '2026-06-15 07:24:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042198 -2.821077)'), GeomFromEWKT('SRID=4674;POINT (-40.042276 -2.820896)'))) / (select extract(epoch from '2026-06-15 07:24:31'::timestamp) - extract(epoch from '2026-06-15 07:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042198 -2.821077)'), GeomFromEWKT('SRID=4674;POINT (-40.042276 -2.820896)'))) / (select extract(epoch from '2026-06-15 07:24:31'::timestamp) - extract(epoch from '2026-06-15 07:24: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'), 46945, 'SRID=4674;POINT (-40.042366 -2.820677)', '2026-06-15 07:24:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042276 -2.820896)'), GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.820677)'))) / (select extract(epoch from '2026-06-15 07:24:41'::timestamp) - extract(epoch from '2026-06-15 07:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042276 -2.820896)'), GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.820677)'))) / (select extract(epoch from '2026-06-15 07:24:41'::timestamp) - extract(epoch from '2026-06-15 07:24: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'), 46945, 'SRID=4674;POINT (-40.042437 -2.820498)', '2026-06-15 07:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.820677)'), GeomFromEWKT('SRID=4674;POINT (-40.042437 -2.820498)'))) / (select extract(epoch from '2026-06-15 07:24:50'::timestamp) - extract(epoch from '2026-06-15 07:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042366 -2.820677)'), GeomFromEWKT('SRID=4674;POINT (-40.042437 -2.820498)'))) / (select extract(epoch from '2026-06-15 07:24:50'::timestamp) - extract(epoch from '2026-06-15 07:24: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'), 46945, 'SRID=4674;POINT (-40.042519 -2.820331)', '2026-06-15 07:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042437 -2.820498)'), GeomFromEWKT('SRID=4674;POINT (-40.042519 -2.820331)'))) / (select extract(epoch from '2026-06-15 07:24:59'::timestamp) - extract(epoch from '2026-06-15 07:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042437 -2.820498)'), GeomFromEWKT('SRID=4674;POINT (-40.042519 -2.820331)'))) / (select extract(epoch from '2026-06-15 07:24:59'::timestamp) - extract(epoch from '2026-06-15 07:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.04262 -2.820169)', '2026-06-15 07:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042519 -2.820331)'), GeomFromEWKT('SRID=4674;POINT (-40.04262 -2.820169)'))) / (select extract(epoch from '2026-06-15 07:25:08'::timestamp) - extract(epoch from '2026-06-15 07:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042519 -2.820331)'), GeomFromEWKT('SRID=4674;POINT (-40.04262 -2.820169)'))) / (select extract(epoch from '2026-06-15 07:25:08'::timestamp) - extract(epoch from '2026-06-15 07:24: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'), 46945, 'SRID=4674;POINT (-40.04274 -2.819989)', '2026-06-15 07:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04262 -2.820169)'), GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.819989)'))) / (select extract(epoch from '2026-06-15 07:25:18'::timestamp) - extract(epoch from '2026-06-15 07:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04262 -2.820169)'), GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.819989)'))) / (select extract(epoch from '2026-06-15 07:25:18'::timestamp) - extract(epoch from '2026-06-15 07:25: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'), 46945, 'SRID=4674;POINT (-40.042856 -2.819833)', '2026-06-15 07:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.819833)'))) / (select extract(epoch from '2026-06-15 07:25:27'::timestamp) - extract(epoch from '2026-06-15 07:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.819833)'))) / (select extract(epoch from '2026-06-15 07:25:27'::timestamp) - extract(epoch from '2026-06-15 07:25: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'), 46945, 'SRID=4674;POINT (-40.042979 -2.819664)', '2026-06-15 07:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.819833)'), GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.819664)'))) / (select extract(epoch from '2026-06-15 07:25:36'::timestamp) - extract(epoch from '2026-06-15 07:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.819833)'), GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.819664)'))) / (select extract(epoch from '2026-06-15 07:25:36'::timestamp) - extract(epoch from '2026-06-15 07:25: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'), 46945, 'SRID=4674;POINT (-40.043086 -2.819499)', '2026-06-15 07:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.819664)'), GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.819499)'))) / (select extract(epoch from '2026-06-15 07:25:45'::timestamp) - extract(epoch from '2026-06-15 07:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.819664)'), GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.819499)'))) / (select extract(epoch from '2026-06-15 07:25:45'::timestamp) - extract(epoch from '2026-06-15 07:25: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'), 46945, 'SRID=4674;POINT (-40.043148 -2.819375)', '2026-06-15 07:25:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.819499)'), GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.819375)'))) / (select extract(epoch from '2026-06-15 07:25:52'::timestamp) - extract(epoch from '2026-06-15 07:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.819499)'), GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.819375)'))) / (select extract(epoch from '2026-06-15 07:25:52'::timestamp) - extract(epoch from '2026-06-15 07:25: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'), 46945, 'SRID=4674;POINT (-40.043215 -2.819217)', '2026-06-15 07:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.819375)'), GeomFromEWKT('SRID=4674;POINT (-40.043215 -2.819217)'))) / (select extract(epoch from '2026-06-15 07:26:00'::timestamp) - extract(epoch from '2026-06-15 07:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043148 -2.819375)'), GeomFromEWKT('SRID=4674;POINT (-40.043215 -2.819217)'))) / (select extract(epoch from '2026-06-15 07:26:00'::timestamp) - extract(epoch from '2026-06-15 07:25: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'), 46945, 'SRID=4674;POINT (-40.043258 -2.819045)', '2026-06-15 07:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043215 -2.819217)'), GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.819045)'))) / (select extract(epoch from '2026-06-15 07:26:08'::timestamp) - extract(epoch from '2026-06-15 07:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043215 -2.819217)'), GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.819045)'))) / (select extract(epoch from '2026-06-15 07:26:08'::timestamp) - extract(epoch from '2026-06-15 07:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043275 -2.818839)', '2026-06-15 07:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.819045)'), GeomFromEWKT('SRID=4674;POINT (-40.043275 -2.818839)'))) / (select extract(epoch from '2026-06-15 07:26:18'::timestamp) - extract(epoch from '2026-06-15 07:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.819045)'), GeomFromEWKT('SRID=4674;POINT (-40.043275 -2.818839)'))) / (select extract(epoch from '2026-06-15 07:26:18'::timestamp) - extract(epoch from '2026-06-15 07:26: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'), 46945, 'SRID=4674;POINT (-40.043266 -2.818666)', '2026-06-15 07:26:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043275 -2.818839)'), GeomFromEWKT('SRID=4674;POINT (-40.043266 -2.818666)'))) / (select extract(epoch from '2026-06-15 07:26:26'::timestamp) - extract(epoch from '2026-06-15 07:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043275 -2.818839)'), GeomFromEWKT('SRID=4674;POINT (-40.043266 -2.818666)'))) / (select extract(epoch from '2026-06-15 07:26:26'::timestamp) - extract(epoch from '2026-06-15 07:26: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'), 46945, 'SRID=4674;POINT (-40.043261 -2.818515)', '2026-06-15 07:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043266 -2.818666)'), GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.818515)'))) / (select extract(epoch from '2026-06-15 07:26:33'::timestamp) - extract(epoch from '2026-06-15 07:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043266 -2.818666)'), GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.818515)'))) / (select extract(epoch from '2026-06-15 07:26:33'::timestamp) - extract(epoch from '2026-06-15 07:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.04326 -2.818342)', '2026-06-15 07:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.818515)'), GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.818342)'))) / (select extract(epoch from '2026-06-15 07:26:41'::timestamp) - extract(epoch from '2026-06-15 07:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.818515)'), GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.818342)'))) / (select extract(epoch from '2026-06-15 07:26:41'::timestamp) - extract(epoch from '2026-06-15 07:26: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'), 46945, 'SRID=4674;POINT (-40.043285 -2.818106)', '2026-06-15 07:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.818342)'), GeomFromEWKT('SRID=4674;POINT (-40.043285 -2.818106)'))) / (select extract(epoch from '2026-06-15 07:26:52'::timestamp) - extract(epoch from '2026-06-15 07:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.818342)'), GeomFromEWKT('SRID=4674;POINT (-40.043285 -2.818106)'))) / (select extract(epoch from '2026-06-15 07:26:52'::timestamp) - extract(epoch from '2026-06-15 07: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'), 46945, 'SRID=4674;POINT (-40.043317 -2.817867)', '2026-06-15 07:27:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043285 -2.818106)'), GeomFromEWKT('SRID=4674;POINT (-40.043317 -2.817867)'))) / (select extract(epoch from '2026-06-15 07:27:03'::timestamp) - extract(epoch from '2026-06-15 07:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043285 -2.818106)'), GeomFromEWKT('SRID=4674;POINT (-40.043317 -2.817867)'))) / (select extract(epoch from '2026-06-15 07:27:03'::timestamp) - extract(epoch from '2026-06-15 07:26: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'), 46945, 'SRID=4674;POINT (-40.043341 -2.817679)', '2026-06-15 07:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043317 -2.817867)'), GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.817679)'))) / (select extract(epoch from '2026-06-15 07:27:12'::timestamp) - extract(epoch from '2026-06-15 07:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043317 -2.817867)'), GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.817679)'))) / (select extract(epoch from '2026-06-15 07:27:12'::timestamp) - extract(epoch from '2026-06-15 07:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043399 -2.817491)', '2026-06-15 07:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.817679)'), GeomFromEWKT('SRID=4674;POINT (-40.043399 -2.817491)'))) / (select extract(epoch from '2026-06-15 07:27:21'::timestamp) - extract(epoch from '2026-06-15 07:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.817679)'), GeomFromEWKT('SRID=4674;POINT (-40.043399 -2.817491)'))) / (select extract(epoch from '2026-06-15 07:27:21'::timestamp) - extract(epoch from '2026-06-15 07:27: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'), 46945, 'SRID=4674;POINT (-40.043448 -2.817306)', '2026-06-15 07:27:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043399 -2.817491)'), GeomFromEWKT('SRID=4674;POINT (-40.043448 -2.817306)'))) / (select extract(epoch from '2026-06-15 07:27:30'::timestamp) - extract(epoch from '2026-06-15 07:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043399 -2.817491)'), GeomFromEWKT('SRID=4674;POINT (-40.043448 -2.817306)'))) / (select extract(epoch from '2026-06-15 07:27:30'::timestamp) - extract(epoch from '2026-06-15 07:27: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'), 46945, 'SRID=4674;POINT (-40.0435 -2.817088)', '2026-06-15 07:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043448 -2.817306)'), GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.817088)'))) / (select extract(epoch from '2026-06-15 07:27:40'::timestamp) - extract(epoch from '2026-06-15 07:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043448 -2.817306)'), GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.817088)'))) / (select extract(epoch from '2026-06-15 07:27:40'::timestamp) - extract(epoch from '2026-06-15 07:27: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'), 46945, 'SRID=4674;POINT (-40.04353 -2.816869)', '2026-06-15 07:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.817088)'), GeomFromEWKT('SRID=4674;POINT (-40.04353 -2.816869)'))) / (select extract(epoch from '2026-06-15 07:27:50'::timestamp) - extract(epoch from '2026-06-15 07:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.817088)'), GeomFromEWKT('SRID=4674;POINT (-40.04353 -2.816869)'))) / (select extract(epoch from '2026-06-15 07:27:50'::timestamp) - extract(epoch from '2026-06-15 07:27: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'), 46945, 'SRID=4674;POINT (-40.043549 -2.816633)', '2026-06-15 07:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04353 -2.816869)'), GeomFromEWKT('SRID=4674;POINT (-40.043549 -2.816633)'))) / (select extract(epoch from '2026-06-15 07:28:01'::timestamp) - extract(epoch from '2026-06-15 07:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04353 -2.816869)'), GeomFromEWKT('SRID=4674;POINT (-40.043549 -2.816633)'))) / (select extract(epoch from '2026-06-15 07:28:01'::timestamp) - extract(epoch from '2026-06-15 07:27: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'), 46945, 'SRID=4674;POINT (-40.043574 -2.816401)', '2026-06-15 07:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043549 -2.816633)'), GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.816401)'))) / (select extract(epoch from '2026-06-15 07:28:11'::timestamp) - extract(epoch from '2026-06-15 07:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043549 -2.816633)'), GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.816401)'))) / (select extract(epoch from '2026-06-15 07:28:11'::timestamp) - extract(epoch from '2026-06-15 07:28: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'), 46945, 'SRID=4674;POINT (-40.043612 -2.816191)', '2026-06-15 07:28:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.816401)'), GeomFromEWKT('SRID=4674;POINT (-40.043612 -2.816191)'))) / (select extract(epoch from '2026-06-15 07:28:20'::timestamp) - extract(epoch from '2026-06-15 07:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.816401)'), GeomFromEWKT('SRID=4674;POINT (-40.043612 -2.816191)'))) / (select extract(epoch from '2026-06-15 07:28:20'::timestamp) - extract(epoch from '2026-06-15 07:28: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'), 46945, 'SRID=4674;POINT (-40.043647 -2.816014)', '2026-06-15 07:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043612 -2.816191)'), GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.816014)'))) / (select extract(epoch from '2026-06-15 07:28:28'::timestamp) - extract(epoch from '2026-06-15 07:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043612 -2.816191)'), GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.816014)'))) / (select extract(epoch from '2026-06-15 07:28:28'::timestamp) - extract(epoch from '2026-06-15 07:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043677 -2.815885)', '2026-06-15 07:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.816014)'), GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.815885)'))) / (select extract(epoch from '2026-06-15 07:28:34'::timestamp) - extract(epoch from '2026-06-15 07:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.816014)'), GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.815885)'))) / (select extract(epoch from '2026-06-15 07:28:34'::timestamp) - extract(epoch from '2026-06-15 07:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043668 -2.815705)', '2026-06-15 07:28:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.815885)'), GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.815705)'))) / (select extract(epoch from '2026-06-15 07:28:42'::timestamp) - extract(epoch from '2026-06-15 07:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043677 -2.815885)'), GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.815705)'))) / (select extract(epoch from '2026-06-15 07:28:42'::timestamp) - extract(epoch from '2026-06-15 07:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46945, 'SRID=4674;POINT (-40.043665 -2.815638)', '2026-06-15 07:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.815705)'), GeomFromEWKT('SRID=4674;POINT (-40.043665 -2.815638)'))) / (select extract(epoch from '2026-06-15 07:28:46'::timestamp) - extract(epoch from '2026-06-15 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.815705)'), GeomFromEWKT('SRID=4674;POINT (-40.043665 -2.815638)'))) / (select extract(epoch from '2026-06-15 07:28:46'::timestamp) - extract(epoch from '2026-06-15 07:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
