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'), 47437, 'SRID=4674;POINT (-39.04072 -3.411251)', '2026-07-29 05:29:29', 4.4, 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'), 47437, 'SRID=4674;POINT (-39.040751 -3.41125)', '2026-07-29 05:29:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04072 -3.411251)'), GeomFromEWKT('SRID=4674;POINT (-39.040751 -3.41125)'))) / (select extract(epoch from '2026-07-29 05:29:32'::timestamp) - extract(epoch from '2026-07-29 05:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04072 -3.411251)'), GeomFromEWKT('SRID=4674;POINT (-39.040751 -3.41125)'))) / (select extract(epoch from '2026-07-29 05:29:32'::timestamp) - extract(epoch from '2026-07-29 05:29: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'), 47437, 'SRID=4674;POINT (-39.040795 -3.411235)', '2026-07-29 05:29:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040751 -3.41125)'), GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.411235)'))) / (select extract(epoch from '2026-07-29 05:29:36'::timestamp) - extract(epoch from '2026-07-29 05:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040751 -3.41125)'), GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.411235)'))) / (select extract(epoch from '2026-07-29 05:29:36'::timestamp) - extract(epoch from '2026-07-29 05:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040856 -3.411217)', '2026-07-29 05:29:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.411235)'), GeomFromEWKT('SRID=4674;POINT (-39.040856 -3.411217)'))) / (select extract(epoch from '2026-07-29 05:29:42'::timestamp) - extract(epoch from '2026-07-29 05:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.411235)'), GeomFromEWKT('SRID=4674;POINT (-39.040856 -3.411217)'))) / (select extract(epoch from '2026-07-29 05:29:42'::timestamp) - extract(epoch from '2026-07-29 05:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.0409 -3.4112)', '2026-07-29 05:29:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040856 -3.411217)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.4112)'))) / (select extract(epoch from '2026-07-29 05:29:47'::timestamp) - extract(epoch from '2026-07-29 05:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040856 -3.411217)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.4112)'))) / (select extract(epoch from '2026-07-29 05:29:47'::timestamp) - extract(epoch from '2026-07-29 05:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040919 -3.411188)', '2026-07-29 05:29:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.4112)'), GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.411188)'))) / (select extract(epoch from '2026-07-29 05:29:49'::timestamp) - extract(epoch from '2026-07-29 05:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.4112)'), GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.411188)'))) / (select extract(epoch from '2026-07-29 05:29:49'::timestamp) - extract(epoch from '2026-07-29 05:29: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'), 47437, 'SRID=4674;POINT (-39.04094 -3.411176)', '2026-07-29 05:29:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.411188)'), GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.411176)'))) / (select extract(epoch from '2026-07-29 05:29:51'::timestamp) - extract(epoch from '2026-07-29 05:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040919 -3.411188)'), GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.411176)'))) / (select extract(epoch from '2026-07-29 05:29:51'::timestamp) - extract(epoch from '2026-07-29 05:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040981 -3.411165)', '2026-07-29 05:29:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.411176)'), GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.411165)'))) / (select extract(epoch from '2026-07-29 05:29:55'::timestamp) - extract(epoch from '2026-07-29 05:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04094 -3.411176)'), GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.411165)'))) / (select extract(epoch from '2026-07-29 05:29:55'::timestamp) - extract(epoch from '2026-07-29 05:29: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'), 47437, 'SRID=4674;POINT (-39.041077 -3.411132)', '2026-07-29 05:30:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.411165)'), GeomFromEWKT('SRID=4674;POINT (-39.041077 -3.411132)'))) / (select extract(epoch from '2026-07-29 05:30:04'::timestamp) - extract(epoch from '2026-07-29 05:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.411165)'), GeomFromEWKT('SRID=4674;POINT (-39.041077 -3.411132)'))) / (select extract(epoch from '2026-07-29 05:30:04'::timestamp) - extract(epoch from '2026-07-29 05:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041145 -3.411105)', '2026-07-29 05:30:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041077 -3.411132)'), GeomFromEWKT('SRID=4674;POINT (-39.041145 -3.411105)'))) / (select extract(epoch from '2026-07-29 05:30:11'::timestamp) - extract(epoch from '2026-07-29 05:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041077 -3.411132)'), GeomFromEWKT('SRID=4674;POINT (-39.041145 -3.411105)'))) / (select extract(epoch from '2026-07-29 05:30:11'::timestamp) - extract(epoch from '2026-07-29 05:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041235 -3.411074)', '2026-07-29 05:30:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041145 -3.411105)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.411074)'))) / (select extract(epoch from '2026-07-29 05:30:20'::timestamp) - extract(epoch from '2026-07-29 05:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041145 -3.411105)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.411074)'))) / (select extract(epoch from '2026-07-29 05:30:20'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47437, 'SRID=4674;POINT (-39.041314 -3.411048)', '2026-07-29 05:30:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.411074)'), GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411048)'))) / (select extract(epoch from '2026-07-29 05:30:29'::timestamp) - extract(epoch from '2026-07-29 05:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.411074)'), GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411048)'))) / (select extract(epoch from '2026-07-29 05:30:29'::timestamp) - extract(epoch from '2026-07-29 05:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041328 -3.41104)', '2026-07-29 05:30:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411048)'), GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.41104)'))) / (select extract(epoch from '2026-07-29 05:30:31'::timestamp) - extract(epoch from '2026-07-29 05:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041314 -3.411048)'), GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.41104)'))) / (select extract(epoch from '2026-07-29 05:30:31'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47437, 'SRID=4674;POINT (-39.041354 -3.411014)', '2026-07-29 05:30:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.41104)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411014)'))) / (select extract(epoch from '2026-07-29 05:30:35'::timestamp) - extract(epoch from '2026-07-29 05:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.41104)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411014)'))) / (select extract(epoch from '2026-07-29 05:30:35'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47437, 'SRID=4674;POINT (-39.041382 -3.410981)', '2026-07-29 05:30:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411014)'), GeomFromEWKT('SRID=4674;POINT (-39.041382 -3.410981)'))) / (select extract(epoch from '2026-07-29 05:30:43'::timestamp) - extract(epoch from '2026-07-29 05:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.411014)'), GeomFromEWKT('SRID=4674;POINT (-39.041382 -3.410981)'))) / (select extract(epoch from '2026-07-29 05:30:43'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47437, 'SRID=4674;POINT (-39.041368 -3.410979)', '2026-07-29 05:30:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041382 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.041368 -3.410979)'))) / (select extract(epoch from '2026-07-29 05:30:56'::timestamp) - extract(epoch from '2026-07-29 05:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041382 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.041368 -3.410979)'))) / (select extract(epoch from '2026-07-29 05:30:56'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47437, 'SRID=4674;POINT (-39.041318 -3.410968)', '2026-07-29 05:31:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041368 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.041318 -3.410968)'))) / (select extract(epoch from '2026-07-29 05:31:09'::timestamp) - extract(epoch from '2026-07-29 05:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041368 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.041318 -3.410968)'))) / (select extract(epoch from '2026-07-29 05:31:09'::timestamp) - extract(epoch from '2026-07-29 05:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041276 -3.410961)', '2026-07-29 05:31:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041318 -3.410968)'), GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410961)'))) / (select extract(epoch from '2026-07-29 05:31:24'::timestamp) - extract(epoch from '2026-07-29 05:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041318 -3.410968)'), GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410961)'))) / (select extract(epoch from '2026-07-29 05:31:24'::timestamp) - extract(epoch from '2026-07-29 05:31: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'), 47437, 'SRID=4674;POINT (-39.041229 -3.410953)', '2026-07-29 05:31:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-39.041229 -3.410953)'))) / (select extract(epoch from '2026-07-29 05:31:35'::timestamp) - extract(epoch from '2026-07-29 05:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-39.041229 -3.410953)'))) / (select extract(epoch from '2026-07-29 05:31:35'::timestamp) - extract(epoch from '2026-07-29 05:31: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'), 47437, 'SRID=4674;POINT (-39.04116 -3.410954)', '2026-07-29 05:31:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041229 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.04116 -3.410954)'))) / (select extract(epoch from '2026-07-29 05:31:51'::timestamp) - extract(epoch from '2026-07-29 05:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041229 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.04116 -3.410954)'))) / (select extract(epoch from '2026-07-29 05:31:51'::timestamp) - extract(epoch from '2026-07-29 05:31: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'), 47437, 'SRID=4674;POINT (-39.041126 -3.410957)', '2026-07-29 05:32:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04116 -3.410954)'), GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410957)'))) / (select extract(epoch from '2026-07-29 05:32:03'::timestamp) - extract(epoch from '2026-07-29 05:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04116 -3.410954)'), GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410957)'))) / (select extract(epoch from '2026-07-29 05:32:03'::timestamp) - extract(epoch from '2026-07-29 05:31: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'), 47437, 'SRID=4674;POINT (-39.041146 -3.410976)', '2026-07-29 05:32:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.041146 -3.410976)'))) / (select extract(epoch from '2026-07-29 05:32:16'::timestamp) - extract(epoch from '2026-07-29 05:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.041146 -3.410976)'))) / (select extract(epoch from '2026-07-29 05:32:16'::timestamp) - extract(epoch from '2026-07-29 05:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041189 -3.410983)', '2026-07-29 05:32:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041146 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410983)'))) / (select extract(epoch from '2026-07-29 05:32:33'::timestamp) - extract(epoch from '2026-07-29 05:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041146 -3.410976)'), GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410983)'))) / (select extract(epoch from '2026-07-29 05:32:33'::timestamp) - extract(epoch from '2026-07-29 05:32: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'), 47437, 'SRID=4674;POINT (-39.041233 -3.410979)', '2026-07-29 05:32:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410983)'), GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410979)'))) / (select extract(epoch from '2026-07-29 05:32:52'::timestamp) - extract(epoch from '2026-07-29 05:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410983)'), GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410979)'))) / (select extract(epoch from '2026-07-29 05:32:52'::timestamp) - extract(epoch from '2026-07-29 05:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041265 -3.410982)', '2026-07-29 05:33:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.041265 -3.410982)'))) / (select extract(epoch from '2026-07-29 05:33:11'::timestamp) - extract(epoch from '2026-07-29 05:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.041265 -3.410982)'))) / (select extract(epoch from '2026-07-29 05:33:11'::timestamp) - extract(epoch from '2026-07-29 05:32: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'), 47437, 'SRID=4674;POINT (-39.041302 -3.410982)', '2026-07-29 05:33:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041265 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.041302 -3.410982)'))) / (select extract(epoch from '2026-07-29 05:33:35'::timestamp) - extract(epoch from '2026-07-29 05:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041265 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.041302 -3.410982)'))) / (select extract(epoch from '2026-07-29 05:33:35'::timestamp) - extract(epoch from '2026-07-29 05:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041337 -3.410991)', '2026-07-29 05:34:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041302 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.410991)'))) / (select extract(epoch from '2026-07-29 05:34:04'::timestamp) - extract(epoch from '2026-07-29 05:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041302 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.410991)'))) / (select extract(epoch from '2026-07-29 05:34:04'::timestamp) - extract(epoch from '2026-07-29 05:33: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'), 47437, 'SRID=4674;POINT (-39.041353 -3.410997)', '2026-07-29 05:34:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.410991)'), GeomFromEWKT('SRID=4674;POINT (-39.041353 -3.410997)'))) / (select extract(epoch from '2026-07-29 05:34:19'::timestamp) - extract(epoch from '2026-07-29 05:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.410991)'), GeomFromEWKT('SRID=4674;POINT (-39.041353 -3.410997)'))) / (select extract(epoch from '2026-07-29 05:34:19'::timestamp) - extract(epoch from '2026-07-29 05:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04138 -3.410996)', '2026-07-29 05:34:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041353 -3.410997)'), GeomFromEWKT('SRID=4674;POINT (-39.04138 -3.410996)'))) / (select extract(epoch from '2026-07-29 05:34:38'::timestamp) - extract(epoch from '2026-07-29 05:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041353 -3.410997)'), GeomFromEWKT('SRID=4674;POINT (-39.04138 -3.410996)'))) / (select extract(epoch from '2026-07-29 05:34:38'::timestamp) - extract(epoch from '2026-07-29 05:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041401 -3.410986)', '2026-07-29 05:34:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04138 -3.410996)'), GeomFromEWKT('SRID=4674;POINT (-39.041401 -3.410986)'))) / (select extract(epoch from '2026-07-29 05:34:57'::timestamp) - extract(epoch from '2026-07-29 05:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04138 -3.410996)'), GeomFromEWKT('SRID=4674;POINT (-39.041401 -3.410986)'))) / (select extract(epoch from '2026-07-29 05:34:57'::timestamp) - extract(epoch from '2026-07-29 05:34: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'), 47437, 'SRID=4674;POINT (-39.041397 -3.410985)', '2026-07-29 05:35:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041401 -3.410986)'), GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.410985)'))) / (select extract(epoch from '2026-07-29 05:35:08'::timestamp) - extract(epoch from '2026-07-29 05:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041401 -3.410986)'), GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.410985)'))) / (select extract(epoch from '2026-07-29 05:35:08'::timestamp) - extract(epoch from '2026-07-29 05:34: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'), 47437, 'SRID=4674;POINT (-39.041386 -3.410979)', '2026-07-29 05:35:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.041386 -3.410979)'))) / (select extract(epoch from '2026-07-29 05:35:10'::timestamp) - extract(epoch from '2026-07-29 05:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.041386 -3.410979)'))) / (select extract(epoch from '2026-07-29 05:35:10'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.041384 -3.410955)', '2026-07-29 05:35:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041386 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410955)'))) / (select extract(epoch from '2026-07-29 05:35:15'::timestamp) - extract(epoch from '2026-07-29 05:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041386 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410955)'))) / (select extract(epoch from '2026-07-29 05:35:15'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.041399 -3.410905)', '2026-07-29 05:35:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.041399 -3.410905)'))) / (select extract(epoch from '2026-07-29 05:35:22'::timestamp) - extract(epoch from '2026-07-29 05:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.041399 -3.410905)'))) / (select extract(epoch from '2026-07-29 05:35:22'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.041417 -3.410865)', '2026-07-29 05:35:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041399 -3.410905)'), GeomFromEWKT('SRID=4674;POINT (-39.041417 -3.410865)'))) / (select extract(epoch from '2026-07-29 05:35:28'::timestamp) - extract(epoch from '2026-07-29 05:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041399 -3.410905)'), GeomFromEWKT('SRID=4674;POINT (-39.041417 -3.410865)'))) / (select extract(epoch from '2026-07-29 05:35:28'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.041451 -3.410811)', '2026-07-29 05:35:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041417 -3.410865)'), GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.410811)'))) / (select extract(epoch from '2026-07-29 05:35:38'::timestamp) - extract(epoch from '2026-07-29 05:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041417 -3.410865)'), GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.410811)'))) / (select extract(epoch from '2026-07-29 05:35:38'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.041457 -3.410789)', '2026-07-29 05:35:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.410811)'), GeomFromEWKT('SRID=4674;POINT (-39.041457 -3.410789)'))) / (select extract(epoch from '2026-07-29 05:35:47'::timestamp) - extract(epoch from '2026-07-29 05:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.410811)'), GeomFromEWKT('SRID=4674;POINT (-39.041457 -3.410789)'))) / (select extract(epoch from '2026-07-29 05:35:47'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.04143 -3.410799)', '2026-07-29 05:35:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041457 -3.410789)'), GeomFromEWKT('SRID=4674;POINT (-39.04143 -3.410799)'))) / (select extract(epoch from '2026-07-29 05:35:56'::timestamp) - extract(epoch from '2026-07-29 05:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041457 -3.410789)'), GeomFromEWKT('SRID=4674;POINT (-39.04143 -3.410799)'))) / (select extract(epoch from '2026-07-29 05:35:56'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.041409 -3.410801)', '2026-07-29 05:36:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04143 -3.410799)'), GeomFromEWKT('SRID=4674;POINT (-39.041409 -3.410801)'))) / (select extract(epoch from '2026-07-29 05:36:03'::timestamp) - extract(epoch from '2026-07-29 05:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04143 -3.410799)'), GeomFromEWKT('SRID=4674;POINT (-39.041409 -3.410801)'))) / (select extract(epoch from '2026-07-29 05:36:03'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47437, 'SRID=4674;POINT (-39.041406 -3.410802)', '2026-07-29 05:36:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041409 -3.410801)'), GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410802)'))) / (select extract(epoch from '2026-07-29 05:36:10'::timestamp) - extract(epoch from '2026-07-29 05:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041409 -3.410801)'), GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410802)'))) / (select extract(epoch from '2026-07-29 05:36:10'::timestamp) - extract(epoch from '2026-07-29 05:36: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'), 47437, 'SRID=4674;POINT (-39.041389 -3.410815)', '2026-07-29 05:36:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410802)'), GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410815)'))) / (select extract(epoch from '2026-07-29 05:36:19'::timestamp) - extract(epoch from '2026-07-29 05:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410802)'), GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410815)'))) / (select extract(epoch from '2026-07-29 05:36:19'::timestamp) - extract(epoch from '2026-07-29 05:36: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'), 47437, 'SRID=4674;POINT (-39.041363 -3.410808)', '2026-07-29 05:36:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410815)'), GeomFromEWKT('SRID=4674;POINT (-39.041363 -3.410808)'))) / (select extract(epoch from '2026-07-29 05:36:28'::timestamp) - extract(epoch from '2026-07-29 05:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410815)'), GeomFromEWKT('SRID=4674;POINT (-39.041363 -3.410808)'))) / (select extract(epoch from '2026-07-29 05:36:28'::timestamp) - extract(epoch from '2026-07-29 05:36: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'), 47437, 'SRID=4674;POINT (-39.041328 -3.410794)', '2026-07-29 05:36:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041363 -3.410808)'), GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.410794)'))) / (select extract(epoch from '2026-07-29 05:36:36'::timestamp) - extract(epoch from '2026-07-29 05:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041363 -3.410808)'), GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.410794)'))) / (select extract(epoch from '2026-07-29 05:36:36'::timestamp) - extract(epoch from '2026-07-29 05:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041269 -3.410781)', '2026-07-29 05:36:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.410794)'), GeomFromEWKT('SRID=4674;POINT (-39.041269 -3.410781)'))) / (select extract(epoch from '2026-07-29 05:36:48'::timestamp) - extract(epoch from '2026-07-29 05:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041328 -3.410794)'), GeomFromEWKT('SRID=4674;POINT (-39.041269 -3.410781)'))) / (select extract(epoch from '2026-07-29 05:36:48'::timestamp) - extract(epoch from '2026-07-29 05:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041206 -3.410761)', '2026-07-29 05:37:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041269 -3.410781)'), GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.410761)'))) / (select extract(epoch from '2026-07-29 05:37:02'::timestamp) - extract(epoch from '2026-07-29 05:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041269 -3.410781)'), GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.410761)'))) / (select extract(epoch from '2026-07-29 05:37:02'::timestamp) - extract(epoch from '2026-07-29 05:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041187 -3.410749)', '2026-07-29 05:37:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.410761)'), GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410749)'))) / (select extract(epoch from '2026-07-29 05:37:10'::timestamp) - extract(epoch from '2026-07-29 05:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.410761)'), GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410749)'))) / (select extract(epoch from '2026-07-29 05:37:10'::timestamp) - extract(epoch from '2026-07-29 05:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041183 -3.410769)', '2026-07-29 05:37:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410749)'), GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.410769)'))) / (select extract(epoch from '2026-07-29 05:37:17'::timestamp) - extract(epoch from '2026-07-29 05:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410749)'), GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.410769)'))) / (select extract(epoch from '2026-07-29 05:37:17'::timestamp) - extract(epoch from '2026-07-29 05:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041235 -3.410798)', '2026-07-29 05:37:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.410769)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410798)'))) / (select extract(epoch from '2026-07-29 05:37:25'::timestamp) - extract(epoch from '2026-07-29 05:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.410769)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410798)'))) / (select extract(epoch from '2026-07-29 05:37:25'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47437, 'SRID=4674;POINT (-39.04126 -3.410806)', '2026-07-29 05:37:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410798)'), GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410806)'))) / (select extract(epoch from '2026-07-29 05:37:28'::timestamp) - extract(epoch from '2026-07-29 05:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410798)'), GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410806)'))) / (select extract(epoch from '2026-07-29 05:37:28'::timestamp) - extract(epoch from '2026-07-29 05:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041288 -3.410816)', '2026-07-29 05:37:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410806)'), GeomFromEWKT('SRID=4674;POINT (-39.041288 -3.410816)'))) / (select extract(epoch from '2026-07-29 05:37:31'::timestamp) - extract(epoch from '2026-07-29 05:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410806)'), GeomFromEWKT('SRID=4674;POINT (-39.041288 -3.410816)'))) / (select extract(epoch from '2026-07-29 05:37:31'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47437, 'SRID=4674;POINT (-39.041365 -3.410832)', '2026-07-29 05:37:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041288 -3.410816)'), GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410832)'))) / (select extract(epoch from '2026-07-29 05:37:39'::timestamp) - extract(epoch from '2026-07-29 05:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041288 -3.410816)'), GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410832)'))) / (select extract(epoch from '2026-07-29 05:37:39'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47437, 'SRID=4674;POINT (-39.041406 -3.410842)', '2026-07-29 05:37:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410832)'), GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410842)'))) / (select extract(epoch from '2026-07-29 05:37:43'::timestamp) - extract(epoch from '2026-07-29 05:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410832)'), GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410842)'))) / (select extract(epoch from '2026-07-29 05:37:43'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47437, 'SRID=4674;POINT (-39.041435 -3.410848)', '2026-07-29 05:37:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410842)'), GeomFromEWKT('SRID=4674;POINT (-39.041435 -3.410848)'))) / (select extract(epoch from '2026-07-29 05:37:46'::timestamp) - extract(epoch from '2026-07-29 05:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.410842)'), GeomFromEWKT('SRID=4674;POINT (-39.041435 -3.410848)'))) / (select extract(epoch from '2026-07-29 05:37:46'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47437, 'SRID=4674;POINT (-39.041519 -3.410864)', '2026-07-29 05:37:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041435 -3.410848)'), GeomFromEWKT('SRID=4674;POINT (-39.041519 -3.410864)'))) / (select extract(epoch from '2026-07-29 05:37:55'::timestamp) - extract(epoch from '2026-07-29 05:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041435 -3.410848)'), GeomFromEWKT('SRID=4674;POINT (-39.041519 -3.410864)'))) / (select extract(epoch from '2026-07-29 05:37:55'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47437, 'SRID=4674;POINT (-39.041581 -3.410879)', '2026-07-29 05:38:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041519 -3.410864)'), GeomFromEWKT('SRID=4674;POINT (-39.041581 -3.410879)'))) / (select extract(epoch from '2026-07-29 05:38:01'::timestamp) - extract(epoch from '2026-07-29 05:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041519 -3.410864)'), GeomFromEWKT('SRID=4674;POINT (-39.041581 -3.410879)'))) / (select extract(epoch from '2026-07-29 05:38:01'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47437, 'SRID=4674;POINT (-39.041659 -3.410905)', '2026-07-29 05:38:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041581 -3.410879)'), GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.410905)'))) / (select extract(epoch from '2026-07-29 05:38:09'::timestamp) - extract(epoch from '2026-07-29 05:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041581 -3.410879)'), GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.410905)'))) / (select extract(epoch from '2026-07-29 05:38:09'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.041736 -3.410936)', '2026-07-29 05:38:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.410905)'), GeomFromEWKT('SRID=4674;POINT (-39.041736 -3.410936)'))) / (select extract(epoch from '2026-07-29 05:38:17'::timestamp) - extract(epoch from '2026-07-29 05:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041659 -3.410905)'), GeomFromEWKT('SRID=4674;POINT (-39.041736 -3.410936)'))) / (select extract(epoch from '2026-07-29 05:38:17'::timestamp) - extract(epoch from '2026-07-29 05:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041794 -3.410951)', '2026-07-29 05:38:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041736 -3.410936)'), GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.410951)'))) / (select extract(epoch from '2026-07-29 05:38:24'::timestamp) - extract(epoch from '2026-07-29 05:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041736 -3.410936)'), GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.410951)'))) / (select extract(epoch from '2026-07-29 05:38:24'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.041804 -3.410955)', '2026-07-29 05:38:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410955)'))) / (select extract(epoch from '2026-07-29 05:38:25'::timestamp) - extract(epoch from '2026-07-29 05:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410955)'))) / (select extract(epoch from '2026-07-29 05:38:25'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.041823 -3.410964)', '2026-07-29 05:38:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.410964)'))) / (select extract(epoch from '2026-07-29 05:38:27'::timestamp) - extract(epoch from '2026-07-29 05:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410955)'), GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.410964)'))) / (select extract(epoch from '2026-07-29 05:38:27'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.04184 -3.410964)', '2026-07-29 05:38:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410964)'))) / (select extract(epoch from '2026-07-29 05:38:29'::timestamp) - extract(epoch from '2026-07-29 05:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041823 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410964)'))) / (select extract(epoch from '2026-07-29 05:38:29'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.041911 -3.410985)', '2026-07-29 05:38:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.410985)'))) / (select extract(epoch from '2026-07-29 05:38:36'::timestamp) - extract(epoch from '2026-07-29 05:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.410985)'))) / (select extract(epoch from '2026-07-29 05:38:36'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.041969 -3.410994)', '2026-07-29 05:38:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.041969 -3.410994)'))) / (select extract(epoch from '2026-07-29 05:38:43'::timestamp) - extract(epoch from '2026-07-29 05:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.041969 -3.410994)'))) / (select extract(epoch from '2026-07-29 05:38:43'::timestamp) - extract(epoch from '2026-07-29 05:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042046 -3.411005)', '2026-07-29 05:38:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041969 -3.410994)'), GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411005)'))) / (select extract(epoch from '2026-07-29 05:38:51'::timestamp) - extract(epoch from '2026-07-29 05:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041969 -3.410994)'), GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411005)'))) / (select extract(epoch from '2026-07-29 05:38:51'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.042109 -3.411018)', '2026-07-29 05:38:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411018)'))) / (select extract(epoch from '2026-07-29 05:38:58'::timestamp) - extract(epoch from '2026-07-29 05:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411018)'))) / (select extract(epoch from '2026-07-29 05:38:58'::timestamp) - extract(epoch from '2026-07-29 05:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042159 -3.411019)', '2026-07-29 05:39:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411018)'), GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.411019)'))) / (select extract(epoch from '2026-07-29 05:39:03'::timestamp) - extract(epoch from '2026-07-29 05:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411018)'), GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.411019)'))) / (select extract(epoch from '2026-07-29 05:39:03'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47437, 'SRID=4674;POINT (-39.042177 -3.411017)', '2026-07-29 05:39:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.411019)'), GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.411017)'))) / (select extract(epoch from '2026-07-29 05:39:05'::timestamp) - extract(epoch from '2026-07-29 05:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.411019)'), GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.411017)'))) / (select extract(epoch from '2026-07-29 05:39:05'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47437, 'SRID=4674;POINT (-39.042242 -3.411022)', '2026-07-29 05:39:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.411017)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411022)'))) / (select extract(epoch from '2026-07-29 05:39:13'::timestamp) - extract(epoch from '2026-07-29 05:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.411017)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411022)'))) / (select extract(epoch from '2026-07-29 05:39:13'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47437, 'SRID=4674;POINT (-39.042279 -3.411037)', '2026-07-29 05:39:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.042279 -3.411037)'))) / (select extract(epoch from '2026-07-29 05:39:21'::timestamp) - extract(epoch from '2026-07-29 05:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.042279 -3.411037)'))) / (select extract(epoch from '2026-07-29 05:39:21'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47437, 'SRID=4674;POINT (-39.042275 -3.41106)', '2026-07-29 05:39:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042279 -3.411037)'), GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.41106)'))) / (select extract(epoch from '2026-07-29 05:39:30'::timestamp) - extract(epoch from '2026-07-29 05:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042279 -3.411037)'), GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.41106)'))) / (select extract(epoch from '2026-07-29 05:39:30'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47437, 'SRID=4674;POINT (-39.042277 -3.411066)', '2026-07-29 05:39:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.41106)'), GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411066)'))) / (select extract(epoch from '2026-07-29 05:39:45'::timestamp) - extract(epoch from '2026-07-29 05:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042275 -3.41106)'), GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411066)'))) / (select extract(epoch from '2026-07-29 05:39:45'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47437, 'SRID=4674;POINT (-39.042264 -3.411051)', '2026-07-29 05:39:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411066)'), GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411051)'))) / (select extract(epoch from '2026-07-29 05:39:59'::timestamp) - extract(epoch from '2026-07-29 05:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.411066)'), GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411051)'))) / (select extract(epoch from '2026-07-29 05:39:59'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47437, 'SRID=4674;POINT (-39.042261 -3.411047)', '2026-07-29 05:40:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411051)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'))) / (select extract(epoch from '2026-07-29 05:40:10'::timestamp) - extract(epoch from '2026-07-29 05:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411051)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'))) / (select extract(epoch from '2026-07-29 05:40:10'::timestamp) - extract(epoch from '2026-07-29 05:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042252 -3.411047)', '2026-07-29 05:40:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.411047)'))) / (select extract(epoch from '2026-07-29 05:40:18'::timestamp) - extract(epoch from '2026-07-29 05:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.411047)'))) / (select extract(epoch from '2026-07-29 05:40:18'::timestamp) - extract(epoch from '2026-07-29 05:40: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'), 47437, 'SRID=4674;POINT (-39.042237 -3.411057)', '2026-07-29 05:40:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411057)'))) / (select extract(epoch from '2026-07-29 05:40:23'::timestamp) - extract(epoch from '2026-07-29 05:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042252 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411057)'))) / (select extract(epoch from '2026-07-29 05:40:23'::timestamp) - extract(epoch from '2026-07-29 05:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042201 -3.411048)', '2026-07-29 05:40:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411057)'), GeomFromEWKT('SRID=4674;POINT (-39.042201 -3.411048)'))) / (select extract(epoch from '2026-07-29 05:40:32'::timestamp) - extract(epoch from '2026-07-29 05:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411057)'), GeomFromEWKT('SRID=4674;POINT (-39.042201 -3.411048)'))) / (select extract(epoch from '2026-07-29 05:40:32'::timestamp) - extract(epoch from '2026-07-29 05:40: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'), 47437, 'SRID=4674;POINT (-39.042155 -3.411028)', '2026-07-29 05:40:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042201 -3.411048)'), GeomFromEWKT('SRID=4674;POINT (-39.042155 -3.411028)'))) / (select extract(epoch from '2026-07-29 05:40:43'::timestamp) - extract(epoch from '2026-07-29 05:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042201 -3.411048)'), GeomFromEWKT('SRID=4674;POINT (-39.042155 -3.411028)'))) / (select extract(epoch from '2026-07-29 05:40:43'::timestamp) - extract(epoch from '2026-07-29 05:40: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'), 47437, 'SRID=4674;POINT (-39.042131 -3.411019)', '2026-07-29 05:40:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042155 -3.411028)'), GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411019)'))) / (select extract(epoch from '2026-07-29 05:40:55'::timestamp) - extract(epoch from '2026-07-29 05:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042155 -3.411028)'), GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411019)'))) / (select extract(epoch from '2026-07-29 05:40:55'::timestamp) - extract(epoch from '2026-07-29 05:40: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'), 47437, 'SRID=4674;POINT (-39.042119 -3.41101)', '2026-07-29 05:41:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411019)'), GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.41101)'))) / (select extract(epoch from '2026-07-29 05:41:10'::timestamp) - extract(epoch from '2026-07-29 05:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411019)'), GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.41101)'))) / (select extract(epoch from '2026-07-29 05:41:10'::timestamp) - extract(epoch from '2026-07-29 05:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042128 -3.411015)', '2026-07-29 05:41:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.41101)'), GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.411015)'))) / (select extract(epoch from '2026-07-29 05:41:22'::timestamp) - extract(epoch from '2026-07-29 05:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042119 -3.41101)'), GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.411015)'))) / (select extract(epoch from '2026-07-29 05:41:22'::timestamp) - extract(epoch from '2026-07-29 05:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042132 -3.411009)', '2026-07-29 05:41:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.411015)'), GeomFromEWKT('SRID=4674;POINT (-39.042132 -3.411009)'))) / (select extract(epoch from '2026-07-29 05:41:34'::timestamp) - extract(epoch from '2026-07-29 05:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.411015)'), GeomFromEWKT('SRID=4674;POINT (-39.042132 -3.411009)'))) / (select extract(epoch from '2026-07-29 05:41:34'::timestamp) - extract(epoch from '2026-07-29 05:41: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'), 47437, 'SRID=4674;POINT (-39.04213 -3.411019)', '2026-07-29 05:41:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042132 -3.411009)'), GeomFromEWKT('SRID=4674;POINT (-39.04213 -3.411019)'))) / (select extract(epoch from '2026-07-29 05:41:44'::timestamp) - extract(epoch from '2026-07-29 05:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042132 -3.411009)'), GeomFromEWKT('SRID=4674;POINT (-39.04213 -3.411019)'))) / (select extract(epoch from '2026-07-29 05:41:44'::timestamp) - extract(epoch from '2026-07-29 05:41: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'), 47437, 'SRID=4674;POINT (-39.042115 -3.411023)', '2026-07-29 05:41:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04213 -3.411019)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.411023)'))) / (select extract(epoch from '2026-07-29 05:41:51'::timestamp) - extract(epoch from '2026-07-29 05:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04213 -3.411019)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.411023)'))) / (select extract(epoch from '2026-07-29 05:41:51'::timestamp) - extract(epoch from '2026-07-29 05:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04207 -3.411002)', '2026-07-29 05:42:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.411023)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411002)'))) / (select extract(epoch from '2026-07-29 05:42:01'::timestamp) - extract(epoch from '2026-07-29 05:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.411023)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411002)'))) / (select extract(epoch from '2026-07-29 05:42:01'::timestamp) - extract(epoch from '2026-07-29 05:41: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'), 47437, 'SRID=4674;POINT (-39.042038 -3.410987)', '2026-07-29 05:42:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411002)'), GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410987)'))) / (select extract(epoch from '2026-07-29 05:42:09'::timestamp) - extract(epoch from '2026-07-29 05:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411002)'), GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410987)'))) / (select extract(epoch from '2026-07-29 05:42:09'::timestamp) - extract(epoch from '2026-07-29 05:42: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'), 47437, 'SRID=4674;POINT (-39.042011 -3.410967)', '2026-07-29 05:42:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410967)'))) / (select extract(epoch from '2026-07-29 05:42:19'::timestamp) - extract(epoch from '2026-07-29 05:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410967)'))) / (select extract(epoch from '2026-07-29 05:42:19'::timestamp) - extract(epoch from '2026-07-29 05:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042001 -3.410956)', '2026-07-29 05:42:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410967)'), GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410956)'))) / (select extract(epoch from '2026-07-29 05:42:30'::timestamp) - extract(epoch from '2026-07-29 05:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410967)'), GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410956)'))) / (select extract(epoch from '2026-07-29 05:42:30'::timestamp) - extract(epoch from '2026-07-29 05:42: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'), 47437, 'SRID=4674;POINT (-39.042025 -3.41095)', '2026-07-29 05:42:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042025 -3.41095)'))) / (select extract(epoch from '2026-07-29 05:42:42'::timestamp) - extract(epoch from '2026-07-29 05:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042025 -3.41095)'))) / (select extract(epoch from '2026-07-29 05:42:42'::timestamp) - extract(epoch from '2026-07-29 05:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042066 -3.41095)', '2026-07-29 05:43:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042025 -3.41095)'), GeomFromEWKT('SRID=4674;POINT (-39.042066 -3.41095)'))) / (select extract(epoch from '2026-07-29 05:43:00'::timestamp) - extract(epoch from '2026-07-29 05:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042025 -3.41095)'), GeomFromEWKT('SRID=4674;POINT (-39.042066 -3.41095)'))) / (select extract(epoch from '2026-07-29 05:43:00'::timestamp) - extract(epoch from '2026-07-29 05:42: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'), 47437, 'SRID=4674;POINT (-39.042098 -3.410948)', '2026-07-29 05:43:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042066 -3.41095)'), GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.410948)'))) / (select extract(epoch from '2026-07-29 05:43:13'::timestamp) - extract(epoch from '2026-07-29 05:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042066 -3.41095)'), GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.410948)'))) / (select extract(epoch from '2026-07-29 05:43:13'::timestamp) - extract(epoch from '2026-07-29 05:43: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'), 47437, 'SRID=4674;POINT (-39.042114 -3.410948)', '2026-07-29 05:43:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410948)'))) / (select extract(epoch from '2026-07-29 05:43:22'::timestamp) - extract(epoch from '2026-07-29 05:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410948)'))) / (select extract(epoch from '2026-07-29 05:43:22'::timestamp) - extract(epoch from '2026-07-29 05:43: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'), 47437, 'SRID=4674;POINT (-39.042127 -3.410948)', '2026-07-29 05:43:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042127 -3.410948)'))) / (select extract(epoch from '2026-07-29 05:43:30'::timestamp) - extract(epoch from '2026-07-29 05:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042127 -3.410948)'))) / (select extract(epoch from '2026-07-29 05:43:30'::timestamp) - extract(epoch from '2026-07-29 05:43: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'), 47437, 'SRID=4674;POINT (-39.042144 -3.410946)', '2026-07-29 05:43:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042127 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.410946)'))) / (select extract(epoch from '2026-07-29 05:43:39'::timestamp) - extract(epoch from '2026-07-29 05:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042127 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.410946)'))) / (select extract(epoch from '2026-07-29 05:43:39'::timestamp) - extract(epoch from '2026-07-29 05:43: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'), 47437, 'SRID=4674;POINT (-39.042167 -3.410944)', '2026-07-29 05:43:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.410946)'), GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.410944)'))) / (select extract(epoch from '2026-07-29 05:43:54'::timestamp) - extract(epoch from '2026-07-29 05:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.410946)'), GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.410944)'))) / (select extract(epoch from '2026-07-29 05:43:54'::timestamp) - extract(epoch from '2026-07-29 05:43:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042205 -3.410942)', '2026-07-29 05:44:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.410944)'), GeomFromEWKT('SRID=4674;POINT (-39.042205 -3.410942)'))) / (select extract(epoch from '2026-07-29 05:44:15'::timestamp) - extract(epoch from '2026-07-29 05:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.410944)'), GeomFromEWKT('SRID=4674;POINT (-39.042205 -3.410942)'))) / (select extract(epoch from '2026-07-29 05:44:15'::timestamp) - extract(epoch from '2026-07-29 05:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042227 -3.410942)', '2026-07-29 05:44:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042205 -3.410942)'), GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.410942)'))) / (select extract(epoch from '2026-07-29 05:44:33'::timestamp) - extract(epoch from '2026-07-29 05:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042205 -3.410942)'), GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.410942)'))) / (select extract(epoch from '2026-07-29 05:44:33'::timestamp) - extract(epoch from '2026-07-29 05:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042249 -3.410947)', '2026-07-29 05:44:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.410942)'), GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410947)'))) / (select extract(epoch from '2026-07-29 05:44:50'::timestamp) - extract(epoch from '2026-07-29 05:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.410942)'), GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410947)'))) / (select extract(epoch from '2026-07-29 05:44:50'::timestamp) - extract(epoch from '2026-07-29 05:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042277 -3.410951)', '2026-07-29 05:45:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410947)'), GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.410951)'))) / (select extract(epoch from '2026-07-29 05:45:06'::timestamp) - extract(epoch from '2026-07-29 05:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.410947)'), GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.410951)'))) / (select extract(epoch from '2026-07-29 05:45:06'::timestamp) - extract(epoch from '2026-07-29 05:44: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'), 47437, 'SRID=4674;POINT (-39.042295 -3.41096)', '2026-07-29 05:45:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.41096)'))) / (select extract(epoch from '2026-07-29 05:45:22'::timestamp) - extract(epoch from '2026-07-29 05:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042277 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.41096)'))) / (select extract(epoch from '2026-07-29 05:45:22'::timestamp) - extract(epoch from '2026-07-29 05:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042294 -3.411003)', '2026-07-29 05:45:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.41096)'), GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.411003)'))) / (select extract(epoch from '2026-07-29 05:45:38'::timestamp) - extract(epoch from '2026-07-29 05:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042295 -3.41096)'), GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.411003)'))) / (select extract(epoch from '2026-07-29 05:45:38'::timestamp) - extract(epoch from '2026-07-29 05:45: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'), 47437, 'SRID=4674;POINT (-39.04228 -3.41106)', '2026-07-29 05:45:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.411003)'), GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.41106)'))) / (select extract(epoch from '2026-07-29 05:45:46'::timestamp) - extract(epoch from '2026-07-29 05:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.411003)'), GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.41106)'))) / (select extract(epoch from '2026-07-29 05:45:46'::timestamp) - extract(epoch from '2026-07-29 05:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042274 -3.411112)', '2026-07-29 05:45:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.41106)'), GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.411112)'))) / (select extract(epoch from '2026-07-29 05:45:53'::timestamp) - extract(epoch from '2026-07-29 05:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.41106)'), GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.411112)'))) / (select extract(epoch from '2026-07-29 05:45:53'::timestamp) - extract(epoch from '2026-07-29 05:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042255 -3.411177)', '2026-07-29 05:46:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.411112)'), GeomFromEWKT('SRID=4674;POINT (-39.042255 -3.411177)'))) / (select extract(epoch from '2026-07-29 05:46:01'::timestamp) - extract(epoch from '2026-07-29 05:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.411112)'), GeomFromEWKT('SRID=4674;POINT (-39.042255 -3.411177)'))) / (select extract(epoch from '2026-07-29 05:46:01'::timestamp) - extract(epoch from '2026-07-29 05:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042251 -3.411183)', '2026-07-29 05:46:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042255 -3.411177)'), GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.411183)'))) / (select extract(epoch from '2026-07-29 05:46:02'::timestamp) - extract(epoch from '2026-07-29 05:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042255 -3.411177)'), GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.411183)'))) / (select extract(epoch from '2026-07-29 05:46:02'::timestamp) - extract(epoch from '2026-07-29 05:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04224 -3.411217)', '2026-07-29 05:46:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.411183)'), GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.411217)'))) / (select extract(epoch from '2026-07-29 05:46:07'::timestamp) - extract(epoch from '2026-07-29 05:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042251 -3.411183)'), GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.411217)'))) / (select extract(epoch from '2026-07-29 05:46:07'::timestamp) - extract(epoch from '2026-07-29 05:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04223 -3.41126)', '2026-07-29 05:46:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.411217)'), GeomFromEWKT('SRID=4674;POINT (-39.04223 -3.41126)'))) / (select extract(epoch from '2026-07-29 05:46:13'::timestamp) - extract(epoch from '2026-07-29 05:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.411217)'), GeomFromEWKT('SRID=4674;POINT (-39.04223 -3.41126)'))) / (select extract(epoch from '2026-07-29 05:46:13'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47437, 'SRID=4674;POINT (-39.042241 -3.411291)', '2026-07-29 05:46:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04223 -3.41126)'), GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411291)'))) / (select extract(epoch from '2026-07-29 05:46:21'::timestamp) - extract(epoch from '2026-07-29 05:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04223 -3.41126)'), GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411291)'))) / (select extract(epoch from '2026-07-29 05:46:21'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47437, 'SRID=4674;POINT (-39.042253 -3.411325)', '2026-07-29 05:46:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411291)'), GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411325)'))) / (select extract(epoch from '2026-07-29 05:46:34'::timestamp) - extract(epoch from '2026-07-29 05:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042241 -3.411291)'), GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411325)'))) / (select extract(epoch from '2026-07-29 05:46:34'::timestamp) - extract(epoch from '2026-07-29 05:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042237 -3.411325)', '2026-07-29 05:46:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411325)'), GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411325)'))) / (select extract(epoch from '2026-07-29 05:46:41'::timestamp) - extract(epoch from '2026-07-29 05:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042253 -3.411325)'), GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411325)'))) / (select extract(epoch from '2026-07-29 05:46:41'::timestamp) - extract(epoch from '2026-07-29 05:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042202 -3.41131)', '2026-07-29 05:46:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411325)'), GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.41131)'))) / (select extract(epoch from '2026-07-29 05:46:49'::timestamp) - extract(epoch from '2026-07-29 05:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042237 -3.411325)'), GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.41131)'))) / (select extract(epoch from '2026-07-29 05:46:49'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47437, 'SRID=4674;POINT (-39.042156 -3.411288)', '2026-07-29 05:46:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.41131)'), GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.411288)'))) / (select extract(epoch from '2026-07-29 05:46:59'::timestamp) - extract(epoch from '2026-07-29 05:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.41131)'), GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.411288)'))) / (select extract(epoch from '2026-07-29 05:46:59'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47437, 'SRID=4674;POINT (-39.042113 -3.411258)', '2026-07-29 05:47:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.411288)'), GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.411258)'))) / (select extract(epoch from '2026-07-29 05:47:10'::timestamp) - extract(epoch from '2026-07-29 05:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.411288)'), GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.411258)'))) / (select extract(epoch from '2026-07-29 05:47:10'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47437, 'SRID=4674;POINT (-39.042084 -3.411253)', '2026-07-29 05:47:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.411258)'), GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411253)'))) / (select extract(epoch from '2026-07-29 05:47:17'::timestamp) - extract(epoch from '2026-07-29 05:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.411258)'), GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411253)'))) / (select extract(epoch from '2026-07-29 05:47:17'::timestamp) - extract(epoch from '2026-07-29 05:47: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'), 47437, 'SRID=4674;POINT (-39.042054 -3.411245)', '2026-07-29 05:47:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411253)'), GeomFromEWKT('SRID=4674;POINT (-39.042054 -3.411245)'))) / (select extract(epoch from '2026-07-29 05:47:23'::timestamp) - extract(epoch from '2026-07-29 05:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411253)'), GeomFromEWKT('SRID=4674;POINT (-39.042054 -3.411245)'))) / (select extract(epoch from '2026-07-29 05:47:23'::timestamp) - extract(epoch from '2026-07-29 05:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042022 -3.411202)', '2026-07-29 05:47:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042054 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.411202)'))) / (select extract(epoch from '2026-07-29 05:47:36'::timestamp) - extract(epoch from '2026-07-29 05:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042054 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.411202)'))) / (select extract(epoch from '2026-07-29 05:47:36'::timestamp) - extract(epoch from '2026-07-29 05:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04203 -3.411199)', '2026-07-29 05:47:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.411202)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.411199)'))) / (select extract(epoch from '2026-07-29 05:47:50'::timestamp) - extract(epoch from '2026-07-29 05:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042022 -3.411202)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.411199)'))) / (select extract(epoch from '2026-07-29 05:47:50'::timestamp) - extract(epoch from '2026-07-29 05:47: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'), 47437, 'SRID=4674;POINT (-39.042061 -3.411221)', '2026-07-29 05:48:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042061 -3.411221)'))) / (select extract(epoch from '2026-07-29 05:48:07'::timestamp) - extract(epoch from '2026-07-29 05:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042061 -3.411221)'))) / (select extract(epoch from '2026-07-29 05:48:07'::timestamp) - extract(epoch from '2026-07-29 05:47: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'), 47437, 'SRID=4674;POINT (-39.04207 -3.411206)', '2026-07-29 05:48:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042061 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411206)'))) / (select extract(epoch from '2026-07-29 05:48:12'::timestamp) - extract(epoch from '2026-07-29 05:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042061 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411206)'))) / (select extract(epoch from '2026-07-29 05:48:12'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47437, 'SRID=4674;POINT (-39.042081 -3.411207)', '2026-07-29 05:48:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411206)'), GeomFromEWKT('SRID=4674;POINT (-39.042081 -3.411207)'))) / (select extract(epoch from '2026-07-29 05:48:19'::timestamp) - extract(epoch from '2026-07-29 05:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.411206)'), GeomFromEWKT('SRID=4674;POINT (-39.042081 -3.411207)'))) / (select extract(epoch from '2026-07-29 05:48:19'::timestamp) - extract(epoch from '2026-07-29 05:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042093 -3.411204)', '2026-07-29 05:48:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042081 -3.411207)'), GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.411204)'))) / (select extract(epoch from '2026-07-29 05:48:28'::timestamp) - extract(epoch from '2026-07-29 05:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042081 -3.411207)'), GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.411204)'))) / (select extract(epoch from '2026-07-29 05:48:28'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47437, 'SRID=4674;POINT (-39.042123 -3.411222)', '2026-07-29 05:48:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.411204)'), GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.411222)'))) / (select extract(epoch from '2026-07-29 05:48:40'::timestamp) - extract(epoch from '2026-07-29 05:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.411204)'), GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.411222)'))) / (select extract(epoch from '2026-07-29 05:48:40'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47437, 'SRID=4674;POINT (-39.042129 -3.411221)', '2026-07-29 05:48:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.411222)'), GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.411221)'))) / (select extract(epoch from '2026-07-29 05:48:47'::timestamp) - extract(epoch from '2026-07-29 05:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042123 -3.411222)'), GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.411221)'))) / (select extract(epoch from '2026-07-29 05:48:47'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47437, 'SRID=4674;POINT (-39.042141 -3.411226)', '2026-07-29 05:48:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411226)'))) / (select extract(epoch from '2026-07-29 05:48:57'::timestamp) - extract(epoch from '2026-07-29 05:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042129 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411226)'))) / (select extract(epoch from '2026-07-29 05:48:57'::timestamp) - extract(epoch from '2026-07-29 05:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042153 -3.411227)', '2026-07-29 05:49:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042153 -3.411227)'))) / (select extract(epoch from '2026-07-29 05:49:08'::timestamp) - extract(epoch from '2026-07-29 05:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042141 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042153 -3.411227)'))) / (select extract(epoch from '2026-07-29 05:49:08'::timestamp) - extract(epoch from '2026-07-29 05:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042166 -3.411233)', '2026-07-29 05:49:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042153 -3.411227)'), GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.411233)'))) / (select extract(epoch from '2026-07-29 05:49:19'::timestamp) - extract(epoch from '2026-07-29 05:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042153 -3.411227)'), GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.411233)'))) / (select extract(epoch from '2026-07-29 05:49:19'::timestamp) - extract(epoch from '2026-07-29 05:49: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'), 47437, 'SRID=4674;POINT (-39.042189 -3.411232)', '2026-07-29 05:49:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.411233)'), GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411232)'))) / (select extract(epoch from '2026-07-29 05:49:35'::timestamp) - extract(epoch from '2026-07-29 05:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.411233)'), GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411232)'))) / (select extract(epoch from '2026-07-29 05:49:35'::timestamp) - extract(epoch from '2026-07-29 05:49: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'), 47437, 'SRID=4674;POINT (-39.042211 -3.411237)', '2026-07-29 05:49:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411232)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.411237)'))) / (select extract(epoch from '2026-07-29 05:49:54'::timestamp) - extract(epoch from '2026-07-29 05:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411232)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.411237)'))) / (select extract(epoch from '2026-07-29 05:49:54'::timestamp) - extract(epoch from '2026-07-29 05:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042223 -3.411233)', '2026-07-29 05:50:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.411237)'), GeomFromEWKT('SRID=4674;POINT (-39.042223 -3.411233)'))) / (select extract(epoch from '2026-07-29 05:50:10'::timestamp) - extract(epoch from '2026-07-29 05:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.411237)'), GeomFromEWKT('SRID=4674;POINT (-39.042223 -3.411233)'))) / (select extract(epoch from '2026-07-29 05:50:10'::timestamp) - extract(epoch from '2026-07-29 05:49: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'), 47437, 'SRID=4674;POINT (-39.042259 -3.411232)', '2026-07-29 05:50:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042223 -3.411233)'), GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411232)'))) / (select extract(epoch from '2026-07-29 05:50:32'::timestamp) - extract(epoch from '2026-07-29 05:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042223 -3.411233)'), GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411232)'))) / (select extract(epoch from '2026-07-29 05:50:32'::timestamp) - extract(epoch from '2026-07-29 05:50: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'), 47437, 'SRID=4674;POINT (-39.04228 -3.411241)', '2026-07-29 05:50:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411232)'), GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.411241)'))) / (select extract(epoch from '2026-07-29 05:50:48'::timestamp) - extract(epoch from '2026-07-29 05:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411232)'), GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.411241)'))) / (select extract(epoch from '2026-07-29 05:50:48'::timestamp) - extract(epoch from '2026-07-29 05:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042304 -3.411245)', '2026-07-29 05:51:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.411241)'), GeomFromEWKT('SRID=4674;POINT (-39.042304 -3.411245)'))) / (select extract(epoch from '2026-07-29 05:51:01'::timestamp) - extract(epoch from '2026-07-29 05:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04228 -3.411241)'), GeomFromEWKT('SRID=4674;POINT (-39.042304 -3.411245)'))) / (select extract(epoch from '2026-07-29 05:51:01'::timestamp) - extract(epoch from '2026-07-29 05:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042315 -3.411247)', '2026-07-29 05:51:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042304 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042315 -3.411247)'))) / (select extract(epoch from '2026-07-29 05:51:16'::timestamp) - extract(epoch from '2026-07-29 05:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042304 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042315 -3.411247)'))) / (select extract(epoch from '2026-07-29 05:51:16'::timestamp) - extract(epoch from '2026-07-29 05:51: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'), 47437, 'SRID=4674;POINT (-39.04233 -3.411255)', '2026-07-29 05:51:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042315 -3.411247)'), GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.411255)'))) / (select extract(epoch from '2026-07-29 05:51:35'::timestamp) - extract(epoch from '2026-07-29 05:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042315 -3.411247)'), GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.411255)'))) / (select extract(epoch from '2026-07-29 05:51:35'::timestamp) - extract(epoch from '2026-07-29 05:51: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'), 47437, 'SRID=4674;POINT (-39.042329 -3.411226)', '2026-07-29 05:51:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.411255)'), GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.411226)'))) / (select extract(epoch from '2026-07-29 05:51:43'::timestamp) - extract(epoch from '2026-07-29 05:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.411255)'), GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.411226)'))) / (select extract(epoch from '2026-07-29 05:51:43'::timestamp) - extract(epoch from '2026-07-29 05:51: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'), 47437, 'SRID=4674;POINT (-39.042332 -3.411176)', '2026-07-29 05:51:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411176)'))) / (select extract(epoch from '2026-07-29 05:51:49'::timestamp) - extract(epoch from '2026-07-29 05:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411176)'))) / (select extract(epoch from '2026-07-29 05:51:49'::timestamp) - extract(epoch from '2026-07-29 05:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042333 -3.411116)', '2026-07-29 05:51:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411176)'), GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.411116)'))) / (select extract(epoch from '2026-07-29 05:51:55'::timestamp) - extract(epoch from '2026-07-29 05:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411176)'), GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.411116)'))) / (select extract(epoch from '2026-07-29 05:51:55'::timestamp) - extract(epoch from '2026-07-29 05:51: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'), 47437, 'SRID=4674;POINT (-39.042332 -3.411056)', '2026-07-29 05:52:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.411116)'), GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411056)'))) / (select extract(epoch from '2026-07-29 05:52:01'::timestamp) - extract(epoch from '2026-07-29 05:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.411116)'), GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411056)'))) / (select extract(epoch from '2026-07-29 05:52:01'::timestamp) - extract(epoch from '2026-07-29 05:51: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'), 47437, 'SRID=4674;POINT (-39.04235 -3.410989)', '2026-07-29 05:52:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411056)'), GeomFromEWKT('SRID=4674;POINT (-39.04235 -3.410989)'))) / (select extract(epoch from '2026-07-29 05:52:08'::timestamp) - extract(epoch from '2026-07-29 05:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042332 -3.411056)'), GeomFromEWKT('SRID=4674;POINT (-39.04235 -3.410989)'))) / (select extract(epoch from '2026-07-29 05:52:08'::timestamp) - extract(epoch from '2026-07-29 05:52:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042352 -3.41098)', '2026-07-29 05:52:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04235 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41098)'))) / (select extract(epoch from '2026-07-29 05:52:09'::timestamp) - extract(epoch from '2026-07-29 05:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04235 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41098)'))) / (select extract(epoch from '2026-07-29 05:52:09'::timestamp) - extract(epoch from '2026-07-29 05:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042357 -3.410943)', '2026-07-29 05:52:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.410943)'))) / (select extract(epoch from '2026-07-29 05:52:14'::timestamp) - extract(epoch from '2026-07-29 05:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41098)'), GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.410943)'))) / (select extract(epoch from '2026-07-29 05:52:14'::timestamp) - extract(epoch from '2026-07-29 05:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042356 -3.410882)', '2026-07-29 05:52:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.410943)'), GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410882)'))) / (select extract(epoch from '2026-07-29 05:52:20'::timestamp) - extract(epoch from '2026-07-29 05:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.410943)'), GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410882)'))) / (select extract(epoch from '2026-07-29 05:52:20'::timestamp) - extract(epoch from '2026-07-29 05:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042355 -3.410817)', '2026-07-29 05:52:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410882)'), GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.410817)'))) / (select extract(epoch from '2026-07-29 05:52:27'::timestamp) - extract(epoch from '2026-07-29 05:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410882)'), GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.410817)'))) / (select extract(epoch from '2026-07-29 05:52:27'::timestamp) - extract(epoch from '2026-07-29 05:52: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'), 47437, 'SRID=4674;POINT (-39.042341 -3.410738)', '2026-07-29 05:52:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.410817)'), GeomFromEWKT('SRID=4674;POINT (-39.042341 -3.410738)'))) / (select extract(epoch from '2026-07-29 05:52:36'::timestamp) - extract(epoch from '2026-07-29 05:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.410817)'), GeomFromEWKT('SRID=4674;POINT (-39.042341 -3.410738)'))) / (select extract(epoch from '2026-07-29 05:52:36'::timestamp) - extract(epoch from '2026-07-29 05:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04233 -3.410671)', '2026-07-29 05:52:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042341 -3.410738)'), GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.410671)'))) / (select extract(epoch from '2026-07-29 05:52:44'::timestamp) - extract(epoch from '2026-07-29 05:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042341 -3.410738)'), GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.410671)'))) / (select extract(epoch from '2026-07-29 05:52:44'::timestamp) - extract(epoch from '2026-07-29 05:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042333 -3.410619)', '2026-07-29 05:52:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.410671)'), GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410619)'))) / (select extract(epoch from '2026-07-29 05:52:50'::timestamp) - extract(epoch from '2026-07-29 05:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04233 -3.410671)'), GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410619)'))) / (select extract(epoch from '2026-07-29 05:52:50'::timestamp) - extract(epoch from '2026-07-29 05:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042337 -3.410556)', '2026-07-29 05:52:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410619)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.410556)'))) / (select extract(epoch from '2026-07-29 05:52:58'::timestamp) - extract(epoch from '2026-07-29 05:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410619)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.410556)'))) / (select extract(epoch from '2026-07-29 05:52:58'::timestamp) - extract(epoch from '2026-07-29 05:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042353 -3.410511)', '2026-07-29 05:53:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.410556)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.410511)'))) / (select extract(epoch from '2026-07-29 05:53:05'::timestamp) - extract(epoch from '2026-07-29 05:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.410556)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.410511)'))) / (select extract(epoch from '2026-07-29 05:53:05'::timestamp) - extract(epoch from '2026-07-29 05:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042352 -3.410502)', '2026-07-29 05:53:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.410511)'), GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.410502)'))) / (select extract(epoch from '2026-07-29 05:53:06'::timestamp) - extract(epoch from '2026-07-29 05:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.410511)'), GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.410502)'))) / (select extract(epoch from '2026-07-29 05:53:06'::timestamp) - extract(epoch from '2026-07-29 05:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042352 -3.41044)', '2026-07-29 05:53:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.410502)'), GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41044)'))) / (select extract(epoch from '2026-07-29 05:53:13'::timestamp) - extract(epoch from '2026-07-29 05:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.410502)'), GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41044)'))) / (select extract(epoch from '2026-07-29 05:53:13'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042348 -3.410395)', '2026-07-29 05:53:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41044)'), GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410395)'))) / (select extract(epoch from '2026-07-29 05:53:18'::timestamp) - extract(epoch from '2026-07-29 05:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042352 -3.41044)'), GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410395)'))) / (select extract(epoch from '2026-07-29 05:53:18'::timestamp) - extract(epoch from '2026-07-29 05:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042351 -3.410387)', '2026-07-29 05:53:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410395)'), GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.410387)'))) / (select extract(epoch from '2026-07-29 05:53:19'::timestamp) - extract(epoch from '2026-07-29 05:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042348 -3.410395)'), GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.410387)'))) / (select extract(epoch from '2026-07-29 05:53:19'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042386 -3.410331)', '2026-07-29 05:53:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.410387)'), GeomFromEWKT('SRID=4674;POINT (-39.042386 -3.410331)'))) / (select extract(epoch from '2026-07-29 05:53:26'::timestamp) - extract(epoch from '2026-07-29 05:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.410387)'), GeomFromEWKT('SRID=4674;POINT (-39.042386 -3.410331)'))) / (select extract(epoch from '2026-07-29 05:53:26'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042396 -3.41031)', '2026-07-29 05:53:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042386 -3.410331)'), GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.41031)'))) / (select extract(epoch from '2026-07-29 05:53:28'::timestamp) - extract(epoch from '2026-07-29 05:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042386 -3.410331)'), GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.41031)'))) / (select extract(epoch from '2026-07-29 05:53:28'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042421 -3.410279)', '2026-07-29 05:53:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.41031)'), GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.410279)'))) / (select extract(epoch from '2026-07-29 05:53:32'::timestamp) - extract(epoch from '2026-07-29 05:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.41031)'), GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.410279)'))) / (select extract(epoch from '2026-07-29 05:53:32'::timestamp) - extract(epoch from '2026-07-29 05:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042476 -3.41022)', '2026-07-29 05:53:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.410279)'), GeomFromEWKT('SRID=4674;POINT (-39.042476 -3.41022)'))) / (select extract(epoch from '2026-07-29 05:53:40'::timestamp) - extract(epoch from '2026-07-29 05:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.410279)'), GeomFromEWKT('SRID=4674;POINT (-39.042476 -3.41022)'))) / (select extract(epoch from '2026-07-29 05:53:40'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042501 -3.410178)', '2026-07-29 05:53:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042476 -3.41022)'), GeomFromEWKT('SRID=4674;POINT (-39.042501 -3.410178)'))) / (select extract(epoch from '2026-07-29 05:53:45'::timestamp) - extract(epoch from '2026-07-29 05:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042476 -3.41022)'), GeomFromEWKT('SRID=4674;POINT (-39.042501 -3.410178)'))) / (select extract(epoch from '2026-07-29 05:53:45'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042511 -3.410173)', '2026-07-29 05:53:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042501 -3.410178)'), GeomFromEWKT('SRID=4674;POINT (-39.042511 -3.410173)'))) / (select extract(epoch from '2026-07-29 05:53:46'::timestamp) - extract(epoch from '2026-07-29 05:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042501 -3.410178)'), GeomFromEWKT('SRID=4674;POINT (-39.042511 -3.410173)'))) / (select extract(epoch from '2026-07-29 05:53:46'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042528 -3.410162)', '2026-07-29 05:53:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042511 -3.410173)'), GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.410162)'))) / (select extract(epoch from '2026-07-29 05:53:48'::timestamp) - extract(epoch from '2026-07-29 05:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042511 -3.410173)'), GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.410162)'))) / (select extract(epoch from '2026-07-29 05:53:48'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042559 -3.41013)', '2026-07-29 05:53:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.410162)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.41013)'))) / (select extract(epoch from '2026-07-29 05:53:52'::timestamp) - extract(epoch from '2026-07-29 05:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.410162)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.41013)'))) / (select extract(epoch from '2026-07-29 05:53:52'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042608 -3.410085)', '2026-07-29 05:53:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.41013)'), GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.410085)'))) / (select extract(epoch from '2026-07-29 05:53:59'::timestamp) - extract(epoch from '2026-07-29 05:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.41013)'), GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.410085)'))) / (select extract(epoch from '2026-07-29 05:53:59'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47437, 'SRID=4674;POINT (-39.042618 -3.410069)', '2026-07-29 05:54:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.410085)'), GeomFromEWKT('SRID=4674;POINT (-39.042618 -3.410069)'))) / (select extract(epoch from '2026-07-29 05:54:01'::timestamp) - extract(epoch from '2026-07-29 05:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.410085)'), GeomFromEWKT('SRID=4674;POINT (-39.042618 -3.410069)'))) / (select extract(epoch from '2026-07-29 05:54:01'::timestamp) - extract(epoch from '2026-07-29 05:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04264 -3.410041)', '2026-07-29 05:54:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042618 -3.410069)'), GeomFromEWKT('SRID=4674;POINT (-39.04264 -3.410041)'))) / (select extract(epoch from '2026-07-29 05:54:05'::timestamp) - extract(epoch from '2026-07-29 05:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042618 -3.410069)'), GeomFromEWKT('SRID=4674;POINT (-39.04264 -3.410041)'))) / (select extract(epoch from '2026-07-29 05:54:05'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042695 -3.409975)', '2026-07-29 05:54:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04264 -3.410041)'), GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409975)'))) / (select extract(epoch from '2026-07-29 05:54:13'::timestamp) - extract(epoch from '2026-07-29 05:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04264 -3.410041)'), GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409975)'))) / (select extract(epoch from '2026-07-29 05:54:13'::timestamp) - extract(epoch from '2026-07-29 05:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042704 -3.409955)', '2026-07-29 05:54:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409975)'), GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.409955)'))) / (select extract(epoch from '2026-07-29 05:54:15'::timestamp) - extract(epoch from '2026-07-29 05:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409975)'), GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.409955)'))) / (select extract(epoch from '2026-07-29 05:54:15'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.04273 -3.409936)', '2026-07-29 05:54:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.409955)'), GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.409936)'))) / (select extract(epoch from '2026-07-29 05:54:18'::timestamp) - extract(epoch from '2026-07-29 05:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.409955)'), GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.409936)'))) / (select extract(epoch from '2026-07-29 05:54:18'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.04276 -3.409891)', '2026-07-29 05:54:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.409936)'), GeomFromEWKT('SRID=4674;POINT (-39.04276 -3.409891)'))) / (select extract(epoch from '2026-07-29 05:54:24'::timestamp) - extract(epoch from '2026-07-29 05:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.409936)'), GeomFromEWKT('SRID=4674;POINT (-39.04276 -3.409891)'))) / (select extract(epoch from '2026-07-29 05:54:24'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042792 -3.409823)', '2026-07-29 05:54:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04276 -3.409891)'), GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409823)'))) / (select extract(epoch from '2026-07-29 05:54:31'::timestamp) - extract(epoch from '2026-07-29 05:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04276 -3.409891)'), GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409823)'))) / (select extract(epoch from '2026-07-29 05:54:31'::timestamp) - extract(epoch from '2026-07-29 05:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042831 -3.409768)', '2026-07-29 05:54:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409823)'), GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409768)'))) / (select extract(epoch from '2026-07-29 05:54:38'::timestamp) - extract(epoch from '2026-07-29 05:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409823)'), GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409768)'))) / (select extract(epoch from '2026-07-29 05:54:38'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042848 -3.409739)', '2026-07-29 05:54:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409768)'), GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.409739)'))) / (select extract(epoch from '2026-07-29 05:54:41'::timestamp) - extract(epoch from '2026-07-29 05:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409768)'), GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.409739)'))) / (select extract(epoch from '2026-07-29 05:54:41'::timestamp) - extract(epoch from '2026-07-29 05:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042864 -3.409709)', '2026-07-29 05:54:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.409739)'), GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409709)'))) / (select extract(epoch from '2026-07-29 05:54:44'::timestamp) - extract(epoch from '2026-07-29 05:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042848 -3.409739)'), GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409709)'))) / (select extract(epoch from '2026-07-29 05:54:44'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042882 -3.409679)', '2026-07-29 05:54:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409709)'), GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.409679)'))) / (select extract(epoch from '2026-07-29 05:54:48'::timestamp) - extract(epoch from '2026-07-29 05:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042864 -3.409709)'), GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.409679)'))) / (select extract(epoch from '2026-07-29 05:54:48'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042899 -3.40966)', '2026-07-29 05:54:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.409679)'), GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.40966)'))) / (select extract(epoch from '2026-07-29 05:54:51'::timestamp) - extract(epoch from '2026-07-29 05:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042882 -3.409679)'), GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.40966)'))) / (select extract(epoch from '2026-07-29 05:54:51'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042919 -3.409631)', '2026-07-29 05:54:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.40966)'), GeomFromEWKT('SRID=4674;POINT (-39.042919 -3.409631)'))) / (select extract(epoch from '2026-07-29 05:54:55'::timestamp) - extract(epoch from '2026-07-29 05:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042899 -3.40966)'), GeomFromEWKT('SRID=4674;POINT (-39.042919 -3.409631)'))) / (select extract(epoch from '2026-07-29 05:54:55'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042927 -3.409616)', '2026-07-29 05:54:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042919 -3.409631)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409616)'))) / (select extract(epoch from '2026-07-29 05:54:57'::timestamp) - extract(epoch from '2026-07-29 05:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042919 -3.409631)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409616)'))) / (select extract(epoch from '2026-07-29 05:54:57'::timestamp) - extract(epoch from '2026-07-29 05:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042931 -3.40961)', '2026-07-29 05:54:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409616)'), GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.40961)'))) / (select extract(epoch from '2026-07-29 05:54:58'::timestamp) - extract(epoch from '2026-07-29 05:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409616)'), GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.40961)'))) / (select extract(epoch from '2026-07-29 05:54:58'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042953 -3.409561)', '2026-07-29 05:55:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.40961)'), GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.409561)'))) / (select extract(epoch from '2026-07-29 05:55:04'::timestamp) - extract(epoch from '2026-07-29 05:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042931 -3.40961)'), GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.409561)'))) / (select extract(epoch from '2026-07-29 05:55:04'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47437, 'SRID=4674;POINT (-39.042959 -3.409554)', '2026-07-29 05:55:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.409561)'), GeomFromEWKT('SRID=4674;POINT (-39.042959 -3.409554)'))) / (select extract(epoch from '2026-07-29 05:55:05'::timestamp) - extract(epoch from '2026-07-29 05:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.409561)'), GeomFromEWKT('SRID=4674;POINT (-39.042959 -3.409554)'))) / (select extract(epoch from '2026-07-29 05:55:05'::timestamp) - extract(epoch from '2026-07-29 05:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042975 -3.409525)', '2026-07-29 05:55:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042959 -3.409554)'), GeomFromEWKT('SRID=4674;POINT (-39.042975 -3.409525)'))) / (select extract(epoch from '2026-07-29 05:55:09'::timestamp) - extract(epoch from '2026-07-29 05:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042959 -3.409554)'), GeomFromEWKT('SRID=4674;POINT (-39.042975 -3.409525)'))) / (select extract(epoch from '2026-07-29 05:55:09'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.04299 -3.409473)', '2026-07-29 05:55:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042975 -3.409525)'), GeomFromEWKT('SRID=4674;POINT (-39.04299 -3.409473)'))) / (select extract(epoch from '2026-07-29 05:55:16'::timestamp) - extract(epoch from '2026-07-29 05:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042975 -3.409525)'), GeomFromEWKT('SRID=4674;POINT (-39.04299 -3.409473)'))) / (select extract(epoch from '2026-07-29 05:55:16'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.042985 -3.409423)', '2026-07-29 05:55:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04299 -3.409473)'), GeomFromEWKT('SRID=4674;POINT (-39.042985 -3.409423)'))) / (select extract(epoch from '2026-07-29 05:55:23'::timestamp) - extract(epoch from '2026-07-29 05:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04299 -3.409473)'), GeomFromEWKT('SRID=4674;POINT (-39.042985 -3.409423)'))) / (select extract(epoch from '2026-07-29 05:55:23'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.042968 -3.409407)', '2026-07-29 05:55:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042985 -3.409423)'), GeomFromEWKT('SRID=4674;POINT (-39.042968 -3.409407)'))) / (select extract(epoch from '2026-07-29 05:55:31'::timestamp) - extract(epoch from '2026-07-29 05:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042985 -3.409423)'), GeomFromEWKT('SRID=4674;POINT (-39.042968 -3.409407)'))) / (select extract(epoch from '2026-07-29 05:55:31'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.042951 -3.409424)', '2026-07-29 05:55:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042968 -3.409407)'), GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.409424)'))) / (select extract(epoch from '2026-07-29 05:55:39'::timestamp) - extract(epoch from '2026-07-29 05:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042968 -3.409407)'), GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.409424)'))) / (select extract(epoch from '2026-07-29 05:55:39'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.042932 -3.409431)', '2026-07-29 05:55:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.409424)'), GeomFromEWKT('SRID=4674;POINT (-39.042932 -3.409431)'))) / (select extract(epoch from '2026-07-29 05:55:47'::timestamp) - extract(epoch from '2026-07-29 05:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.409424)'), GeomFromEWKT('SRID=4674;POINT (-39.042932 -3.409431)'))) / (select extract(epoch from '2026-07-29 05:55:47'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.042923 -3.409437)', '2026-07-29 05:55:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042932 -3.409431)'), GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.409437)'))) / (select extract(epoch from '2026-07-29 05:55:56'::timestamp) - extract(epoch from '2026-07-29 05:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042932 -3.409431)'), GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.409437)'))) / (select extract(epoch from '2026-07-29 05:55:56'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.042884 -3.409442)', '2026-07-29 05:56:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.409437)'), GeomFromEWKT('SRID=4674;POINT (-39.042884 -3.409442)'))) / (select extract(epoch from '2026-07-29 05:56:08'::timestamp) - extract(epoch from '2026-07-29 05:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.409437)'), GeomFromEWKT('SRID=4674;POINT (-39.042884 -3.409442)'))) / (select extract(epoch from '2026-07-29 05:56:08'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47437, 'SRID=4674;POINT (-39.042815 -3.409444)', '2026-07-29 05:56:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042884 -3.409442)'), GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.409444)'))) / (select extract(epoch from '2026-07-29 05:56:27'::timestamp) - extract(epoch from '2026-07-29 05:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042884 -3.409442)'), GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.409444)'))) / (select extract(epoch from '2026-07-29 05:56:27'::timestamp) - extract(epoch from '2026-07-29 05:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.0428 -3.409453)', '2026-07-29 05:56:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.409444)'), GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409453)'))) / (select extract(epoch from '2026-07-29 05:56:34'::timestamp) - extract(epoch from '2026-07-29 05:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.409444)'), GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409453)'))) / (select extract(epoch from '2026-07-29 05:56:34'::timestamp) - extract(epoch from '2026-07-29 05:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042786 -3.409461)', '2026-07-29 05:56:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409453)'), GeomFromEWKT('SRID=4674;POINT (-39.042786 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:56:46'::timestamp) - extract(epoch from '2026-07-29 05:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409453)'), GeomFromEWKT('SRID=4674;POINT (-39.042786 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:56:46'::timestamp) - extract(epoch from '2026-07-29 05:56: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'), 47437, 'SRID=4674;POINT (-39.042771 -3.409461)', '2026-07-29 05:56:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042786 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:56:59'::timestamp) - extract(epoch from '2026-07-29 05:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042786 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:56:59'::timestamp) - extract(epoch from '2026-07-29 05:56: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'), 47437, 'SRID=4674;POINT (-39.042747 -3.409461)', '2026-07-29 05:57:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:57:07'::timestamp) - extract(epoch from '2026-07-29 05:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042771 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:57:07'::timestamp) - extract(epoch from '2026-07-29 05:56: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'), 47437, 'SRID=4674;POINT (-39.042737 -3.40946)', '2026-07-29 05:57:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.40946)'))) / (select extract(epoch from '2026-07-29 05:57:14'::timestamp) - extract(epoch from '2026-07-29 05:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.40946)'))) / (select extract(epoch from '2026-07-29 05:57:14'::timestamp) - extract(epoch from '2026-07-29 05:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042724 -3.409457)', '2026-07-29 05:57:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.40946)'), GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.409457)'))) / (select extract(epoch from '2026-07-29 05:57:21'::timestamp) - extract(epoch from '2026-07-29 05:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.40946)'), GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.409457)'))) / (select extract(epoch from '2026-07-29 05:57:21'::timestamp) - extract(epoch from '2026-07-29 05:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042696 -3.409467)', '2026-07-29 05:57:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.409457)'), GeomFromEWKT('SRID=4674;POINT (-39.042696 -3.409467)'))) / (select extract(epoch from '2026-07-29 05:57:38'::timestamp) - extract(epoch from '2026-07-29 05:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.409457)'), GeomFromEWKT('SRID=4674;POINT (-39.042696 -3.409467)'))) / (select extract(epoch from '2026-07-29 05:57:38'::timestamp) - extract(epoch from '2026-07-29 05:57: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'), 47437, 'SRID=4674;POINT (-39.042667 -3.409464)', '2026-07-29 05:57:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042696 -3.409467)'), GeomFromEWKT('SRID=4674;POINT (-39.042667 -3.409464)'))) / (select extract(epoch from '2026-07-29 05:57:47'::timestamp) - extract(epoch from '2026-07-29 05:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042696 -3.409467)'), GeomFromEWKT('SRID=4674;POINT (-39.042667 -3.409464)'))) / (select extract(epoch from '2026-07-29 05:57:47'::timestamp) - extract(epoch from '2026-07-29 05:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042651 -3.409464)', '2026-07-29 05:57:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042667 -3.409464)'), GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.409464)'))) / (select extract(epoch from '2026-07-29 05:57:55'::timestamp) - extract(epoch from '2026-07-29 05:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042667 -3.409464)'), GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.409464)'))) / (select extract(epoch from '2026-07-29 05:57:55'::timestamp) - extract(epoch from '2026-07-29 05:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042642 -3.409466)', '2026-07-29 05:58:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.409464)'), GeomFromEWKT('SRID=4674;POINT (-39.042642 -3.409466)'))) / (select extract(epoch from '2026-07-29 05:58:00'::timestamp) - extract(epoch from '2026-07-29 05:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.409464)'), GeomFromEWKT('SRID=4674;POINT (-39.042642 -3.409466)'))) / (select extract(epoch from '2026-07-29 05:58:00'::timestamp) - extract(epoch from '2026-07-29 05:57: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'), 47437, 'SRID=4674;POINT (-39.042619 -3.409465)', '2026-07-29 05:58:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042642 -3.409466)'), GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.409465)'))) / (select extract(epoch from '2026-07-29 05:58:14'::timestamp) - extract(epoch from '2026-07-29 05:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042642 -3.409466)'), GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.409465)'))) / (select extract(epoch from '2026-07-29 05:58:14'::timestamp) - extract(epoch from '2026-07-29 05:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042599 -3.40947)', '2026-07-29 05:58:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.409465)'), GeomFromEWKT('SRID=4674;POINT (-39.042599 -3.40947)'))) / (select extract(epoch from '2026-07-29 05:58:21'::timestamp) - extract(epoch from '2026-07-29 05:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.409465)'), GeomFromEWKT('SRID=4674;POINT (-39.042599 -3.40947)'))) / (select extract(epoch from '2026-07-29 05:58:21'::timestamp) - extract(epoch from '2026-07-29 05:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042569 -3.40947)', '2026-07-29 05:58:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042599 -3.40947)'), GeomFromEWKT('SRID=4674;POINT (-39.042569 -3.40947)'))) / (select extract(epoch from '2026-07-29 05:58:28'::timestamp) - extract(epoch from '2026-07-29 05:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042599 -3.40947)'), GeomFromEWKT('SRID=4674;POINT (-39.042569 -3.40947)'))) / (select extract(epoch from '2026-07-29 05:58:28'::timestamp) - extract(epoch from '2026-07-29 05:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042543 -3.409465)', '2026-07-29 05:58:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042569 -3.40947)'), GeomFromEWKT('SRID=4674;POINT (-39.042543 -3.409465)'))) / (select extract(epoch from '2026-07-29 05:58:35'::timestamp) - extract(epoch from '2026-07-29 05:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042569 -3.40947)'), GeomFromEWKT('SRID=4674;POINT (-39.042543 -3.409465)'))) / (select extract(epoch from '2026-07-29 05:58:35'::timestamp) - extract(epoch from '2026-07-29 05:58: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'), 47437, 'SRID=4674;POINT (-39.042519 -3.409461)', '2026-07-29 05:58:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042543 -3.409465)'), GeomFromEWKT('SRID=4674;POINT (-39.042519 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:58:42'::timestamp) - extract(epoch from '2026-07-29 05:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042543 -3.409465)'), GeomFromEWKT('SRID=4674;POINT (-39.042519 -3.409461)'))) / (select extract(epoch from '2026-07-29 05:58:42'::timestamp) - extract(epoch from '2026-07-29 05:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042499 -3.409462)', '2026-07-29 05:58:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042519 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042499 -3.409462)'))) / (select extract(epoch from '2026-07-29 05:58:51'::timestamp) - extract(epoch from '2026-07-29 05:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042519 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.042499 -3.409462)'))) / (select extract(epoch from '2026-07-29 05:58:51'::timestamp) - extract(epoch from '2026-07-29 05:58: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'), 47437, 'SRID=4674;POINT (-39.042489 -3.409462)', '2026-07-29 05:59:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042499 -3.409462)'), GeomFromEWKT('SRID=4674;POINT (-39.042489 -3.409462)'))) / (select extract(epoch from '2026-07-29 05:59:00'::timestamp) - extract(epoch from '2026-07-29 05:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042499 -3.409462)'), GeomFromEWKT('SRID=4674;POINT (-39.042489 -3.409462)'))) / (select extract(epoch from '2026-07-29 05:59:00'::timestamp) - extract(epoch from '2026-07-29 05:58: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'), 47437, 'SRID=4674;POINT (-39.042477 -3.409464)', '2026-07-29 05:59:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042489 -3.409462)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409464)'))) / (select extract(epoch from '2026-07-29 05:59:08'::timestamp) - extract(epoch from '2026-07-29 05:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042489 -3.409462)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409464)'))) / (select extract(epoch from '2026-07-29 05:59:08'::timestamp) - extract(epoch from '2026-07-29 05:59: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'), 47437, 'SRID=4674;POINT (-39.042447 -3.409473)', '2026-07-29 05:59:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409464)'), GeomFromEWKT('SRID=4674;POINT (-39.042447 -3.409473)'))) / (select extract(epoch from '2026-07-29 05:59:21'::timestamp) - extract(epoch from '2026-07-29 05:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409464)'), GeomFromEWKT('SRID=4674;POINT (-39.042447 -3.409473)'))) / (select extract(epoch from '2026-07-29 05:59:21'::timestamp) - extract(epoch from '2026-07-29 05:59: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'), 47437, 'SRID=4674;POINT (-39.04242 -3.409468)', '2026-07-29 05:59:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042447 -3.409473)'), GeomFromEWKT('SRID=4674;POINT (-39.04242 -3.409468)'))) / (select extract(epoch from '2026-07-29 05:59:34'::timestamp) - extract(epoch from '2026-07-29 05:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042447 -3.409473)'), GeomFromEWKT('SRID=4674;POINT (-39.04242 -3.409468)'))) / (select extract(epoch from '2026-07-29 05:59:34'::timestamp) - extract(epoch from '2026-07-29 05:59: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'), 47437, 'SRID=4674;POINT (-39.042382 -3.409479)', '2026-07-29 05:59:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04242 -3.409468)'), GeomFromEWKT('SRID=4674;POINT (-39.042382 -3.409479)'))) / (select extract(epoch from '2026-07-29 05:59:51'::timestamp) - extract(epoch from '2026-07-29 05:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04242 -3.409468)'), GeomFromEWKT('SRID=4674;POINT (-39.042382 -3.409479)'))) / (select extract(epoch from '2026-07-29 05:59:51'::timestamp) - extract(epoch from '2026-07-29 05:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042358 -3.409476)', '2026-07-29 06:00:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042382 -3.409479)'), GeomFromEWKT('SRID=4674;POINT (-39.042358 -3.409476)'))) / (select extract(epoch from '2026-07-29 06:00:15'::timestamp) - extract(epoch from '2026-07-29 05:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042382 -3.409479)'), GeomFromEWKT('SRID=4674;POINT (-39.042358 -3.409476)'))) / (select extract(epoch from '2026-07-29 06:00:15'::timestamp) - extract(epoch from '2026-07-29 05:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042329 -3.409473)', '2026-07-29 06:00:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042358 -3.409476)'), GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.409473)'))) / (select extract(epoch from '2026-07-29 06:00:26'::timestamp) - extract(epoch from '2026-07-29 06:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042358 -3.409476)'), GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.409473)'))) / (select extract(epoch from '2026-07-29 06:00:26'::timestamp) - extract(epoch from '2026-07-29 06:00: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'), 47437, 'SRID=4674;POINT (-39.0423 -3.409481)', '2026-07-29 06:00:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.409473)'), GeomFromEWKT('SRID=4674;POINT (-39.0423 -3.409481)'))) / (select extract(epoch from '2026-07-29 06:00:43'::timestamp) - extract(epoch from '2026-07-29 06:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042329 -3.409473)'), GeomFromEWKT('SRID=4674;POINT (-39.0423 -3.409481)'))) / (select extract(epoch from '2026-07-29 06:00:43'::timestamp) - extract(epoch from '2026-07-29 06:00: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'), 47437, 'SRID=4674;POINT (-39.042281 -3.409481)', '2026-07-29 06:00:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0423 -3.409481)'), GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.409481)'))) / (select extract(epoch from '2026-07-29 06:00:56'::timestamp) - extract(epoch from '2026-07-29 06:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0423 -3.409481)'), GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.409481)'))) / (select extract(epoch from '2026-07-29 06:00:56'::timestamp) - extract(epoch from '2026-07-29 06:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042249 -3.40948)', '2026-07-29 06:01:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.409481)'), GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.40948)'))) / (select extract(epoch from '2026-07-29 06:01:14'::timestamp) - extract(epoch from '2026-07-29 06:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.409481)'), GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.40948)'))) / (select extract(epoch from '2026-07-29 06:01:14'::timestamp) - extract(epoch from '2026-07-29 06:00: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'), 47437, 'SRID=4674;POINT (-39.042245 -3.409474)', '2026-07-29 06:01:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.40948)'), GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.409474)'))) / (select extract(epoch from '2026-07-29 06:01:32'::timestamp) - extract(epoch from '2026-07-29 06:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042249 -3.40948)'), GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.409474)'))) / (select extract(epoch from '2026-07-29 06:01:32'::timestamp) - extract(epoch from '2026-07-29 06:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042224 -3.409482)', '2026-07-29 06:01:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.409474)'), GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.409482)'))) / (select extract(epoch from '2026-07-29 06:01:48'::timestamp) - extract(epoch from '2026-07-29 06:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.409474)'), GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.409482)'))) / (select extract(epoch from '2026-07-29 06:01:48'::timestamp) - extract(epoch from '2026-07-29 06:01: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'), 47437, 'SRID=4674;POINT (-39.042211 -3.40948)', '2026-07-29 06:01:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.409482)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.40948)'))) / (select extract(epoch from '2026-07-29 06:01:56'::timestamp) - extract(epoch from '2026-07-29 06:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.409482)'), GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.40948)'))) / (select extract(epoch from '2026-07-29 06:01:56'::timestamp) - extract(epoch from '2026-07-29 06:01: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'), 47437, 'SRID=4674;POINT (-39.042188 -3.409479)', '2026-07-29 06:02:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.40948)'), GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.409479)'))) / (select extract(epoch from '2026-07-29 06:02:06'::timestamp) - extract(epoch from '2026-07-29 06:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042211 -3.40948)'), GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.409479)'))) / (select extract(epoch from '2026-07-29 06:02:06'::timestamp) - extract(epoch from '2026-07-29 06:01: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'), 47437, 'SRID=4674;POINT (-39.042159 -3.409476)', '2026-07-29 06:02:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.409479)'), GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.409476)'))) / (select extract(epoch from '2026-07-29 06:02:12'::timestamp) - extract(epoch from '2026-07-29 06:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042188 -3.409479)'), GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.409476)'))) / (select extract(epoch from '2026-07-29 06:02:12'::timestamp) - extract(epoch from '2026-07-29 06:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.042113 -3.409479)', '2026-07-29 06:02:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.409476)'), GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.409479)'))) / (select extract(epoch from '2026-07-29 06:02:27'::timestamp) - extract(epoch from '2026-07-29 06:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042159 -3.409476)'), GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.409479)'))) / (select extract(epoch from '2026-07-29 06:02:27'::timestamp) - extract(epoch from '2026-07-29 06:02: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'), 47437, 'SRID=4674;POINT (-39.042079 -3.409485)', '2026-07-29 06:02:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.409479)'), GeomFromEWKT('SRID=4674;POINT (-39.042079 -3.409485)'))) / (select extract(epoch from '2026-07-29 06:02:43'::timestamp) - extract(epoch from '2026-07-29 06:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042113 -3.409479)'), GeomFromEWKT('SRID=4674;POINT (-39.042079 -3.409485)'))) / (select extract(epoch from '2026-07-29 06:02:43'::timestamp) - extract(epoch from '2026-07-29 06:02: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'), 47437, 'SRID=4674;POINT (-39.042057 -3.409484)', '2026-07-29 06:02:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042079 -3.409485)'), GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409484)'))) / (select extract(epoch from '2026-07-29 06:02:57'::timestamp) - extract(epoch from '2026-07-29 06:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042079 -3.409485)'), GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409484)'))) / (select extract(epoch from '2026-07-29 06:02:57'::timestamp) - extract(epoch from '2026-07-29 06:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04202 -3.409478)', '2026-07-29 06:03:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409484)'), GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409478)'))) / (select extract(epoch from '2026-07-29 06:03:09'::timestamp) - extract(epoch from '2026-07-29 06:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409484)'), GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409478)'))) / (select extract(epoch from '2026-07-29 06:03:09'::timestamp) - extract(epoch from '2026-07-29 06:02: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'), 47437, 'SRID=4674;POINT (-39.041967 -3.40948)', '2026-07-29 06:03:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409478)'), GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.40948)'))) / (select extract(epoch from '2026-07-29 06:03:22'::timestamp) - extract(epoch from '2026-07-29 06:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409478)'), GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.40948)'))) / (select extract(epoch from '2026-07-29 06:03:22'::timestamp) - extract(epoch from '2026-07-29 06:03: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'), 47437, 'SRID=4674;POINT (-39.041912 -3.409487)', '2026-07-29 06:03:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.40948)'), GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.409487)'))) / (select extract(epoch from '2026-07-29 06:03:38'::timestamp) - extract(epoch from '2026-07-29 06:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.40948)'), GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.409487)'))) / (select extract(epoch from '2026-07-29 06:03:38'::timestamp) - extract(epoch from '2026-07-29 06:03: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'), 47437, 'SRID=4674;POINT (-39.041882 -3.409497)', '2026-07-29 06:03:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.409487)'), GeomFromEWKT('SRID=4674;POINT (-39.041882 -3.409497)'))) / (select extract(epoch from '2026-07-29 06:03:55'::timestamp) - extract(epoch from '2026-07-29 06:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.409487)'), GeomFromEWKT('SRID=4674;POINT (-39.041882 -3.409497)'))) / (select extract(epoch from '2026-07-29 06:03:55'::timestamp) - extract(epoch from '2026-07-29 06:03: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'), 47437, 'SRID=4674;POINT (-39.041872 -3.409496)', '2026-07-29 06:04:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041882 -3.409497)'), GeomFromEWKT('SRID=4674;POINT (-39.041872 -3.409496)'))) / (select extract(epoch from '2026-07-29 06:04:08'::timestamp) - extract(epoch from '2026-07-29 06:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041882 -3.409497)'), GeomFromEWKT('SRID=4674;POINT (-39.041872 -3.409496)'))) / (select extract(epoch from '2026-07-29 06:04:08'::timestamp) - extract(epoch from '2026-07-29 06:03: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'), 47437, 'SRID=4674;POINT (-39.041819 -3.40949)', '2026-07-29 06:04:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041872 -3.409496)'), GeomFromEWKT('SRID=4674;POINT (-39.041819 -3.40949)'))) / (select extract(epoch from '2026-07-29 06:04:27'::timestamp) - extract(epoch from '2026-07-29 06:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041872 -3.409496)'), GeomFromEWKT('SRID=4674;POINT (-39.041819 -3.40949)'))) / (select extract(epoch from '2026-07-29 06:04:27'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47437, 'SRID=4674;POINT (-39.041754 -3.409478)', '2026-07-29 06:04:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041819 -3.40949)'), GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.409478)'))) / (select extract(epoch from '2026-07-29 06:04:47'::timestamp) - extract(epoch from '2026-07-29 06:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041819 -3.40949)'), GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.409478)'))) / (select extract(epoch from '2026-07-29 06:04:47'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47437, 'SRID=4674;POINT (-39.041715 -3.409474)', '2026-07-29 06:04:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.409478)'), GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409474)'))) / (select extract(epoch from '2026-07-29 06:04:58'::timestamp) - extract(epoch from '2026-07-29 06:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041754 -3.409478)'), GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409474)'))) / (select extract(epoch from '2026-07-29 06:04:58'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47437, 'SRID=4674;POINT (-39.041665 -3.409491)', '2026-07-29 06:05:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409474)'), GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.409491)'))) / (select extract(epoch from '2026-07-29 06:05:11'::timestamp) - extract(epoch from '2026-07-29 06:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409474)'), GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.409491)'))) / (select extract(epoch from '2026-07-29 06:05:11'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47437, 'SRID=4674;POINT (-39.041625 -3.409504)', '2026-07-29 06:05:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.409491)'), GeomFromEWKT('SRID=4674;POINT (-39.041625 -3.409504)'))) / (select extract(epoch from '2026-07-29 06:05:24'::timestamp) - extract(epoch from '2026-07-29 06:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041665 -3.409491)'), GeomFromEWKT('SRID=4674;POINT (-39.041625 -3.409504)'))) / (select extract(epoch from '2026-07-29 06:05:24'::timestamp) - extract(epoch from '2026-07-29 06:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041601 -3.409494)', '2026-07-29 06:05:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041625 -3.409504)'), GeomFromEWKT('SRID=4674;POINT (-39.041601 -3.409494)'))) / (select extract(epoch from '2026-07-29 06:05:38'::timestamp) - extract(epoch from '2026-07-29 06:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041625 -3.409504)'), GeomFromEWKT('SRID=4674;POINT (-39.041601 -3.409494)'))) / (select extract(epoch from '2026-07-29 06:05:38'::timestamp) - extract(epoch from '2026-07-29 06:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041569 -3.409488)', '2026-07-29 06:05:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041601 -3.409494)'), GeomFromEWKT('SRID=4674;POINT (-39.041569 -3.409488)'))) / (select extract(epoch from '2026-07-29 06:05:50'::timestamp) - extract(epoch from '2026-07-29 06:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041601 -3.409494)'), GeomFromEWKT('SRID=4674;POINT (-39.041569 -3.409488)'))) / (select extract(epoch from '2026-07-29 06:05:50'::timestamp) - extract(epoch from '2026-07-29 06:05: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'), 47437, 'SRID=4674;POINT (-39.041541 -3.409486)', '2026-07-29 06:05:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041569 -3.409488)'), GeomFromEWKT('SRID=4674;POINT (-39.041541 -3.409486)'))) / (select extract(epoch from '2026-07-29 06:05:57'::timestamp) - extract(epoch from '2026-07-29 06:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041569 -3.409488)'), GeomFromEWKT('SRID=4674;POINT (-39.041541 -3.409486)'))) / (select extract(epoch from '2026-07-29 06:05:57'::timestamp) - extract(epoch from '2026-07-29 06:05: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'), 47437, 'SRID=4674;POINT (-39.041516 -3.409488)', '2026-07-29 06:06:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041541 -3.409486)'), GeomFromEWKT('SRID=4674;POINT (-39.041516 -3.409488)'))) / (select extract(epoch from '2026-07-29 06:06:05'::timestamp) - extract(epoch from '2026-07-29 06:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041541 -3.409486)'), GeomFromEWKT('SRID=4674;POINT (-39.041516 -3.409488)'))) / (select extract(epoch from '2026-07-29 06:06:05'::timestamp) - extract(epoch from '2026-07-29 06:05: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'), 47437, 'SRID=4674;POINT (-39.041488 -3.40949)', '2026-07-29 06:06:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041516 -3.409488)'), GeomFromEWKT('SRID=4674;POINT (-39.041488 -3.40949)'))) / (select extract(epoch from '2026-07-29 06:06:13'::timestamp) - extract(epoch from '2026-07-29 06:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041516 -3.409488)'), GeomFromEWKT('SRID=4674;POINT (-39.041488 -3.40949)'))) / (select extract(epoch from '2026-07-29 06:06:13'::timestamp) - extract(epoch from '2026-07-29 06:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041456 -3.409495)', '2026-07-29 06:06:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041488 -3.40949)'), GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.409495)'))) / (select extract(epoch from '2026-07-29 06:06:23'::timestamp) - extract(epoch from '2026-07-29 06:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041488 -3.40949)'), GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.409495)'))) / (select extract(epoch from '2026-07-29 06:06:23'::timestamp) - extract(epoch from '2026-07-29 06:06: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'), 47437, 'SRID=4674;POINT (-39.041408 -3.409495)', '2026-07-29 06:06:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.409495)'), GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.409495)'))) / (select extract(epoch from '2026-07-29 06:06:36'::timestamp) - extract(epoch from '2026-07-29 06:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041456 -3.409495)'), GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.409495)'))) / (select extract(epoch from '2026-07-29 06:06:36'::timestamp) - extract(epoch from '2026-07-29 06:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041379 -3.409505)', '2026-07-29 06:06:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.409495)'), GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.409505)'))) / (select extract(epoch from '2026-07-29 06:06:46'::timestamp) - extract(epoch from '2026-07-29 06:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.409495)'), GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.409505)'))) / (select extract(epoch from '2026-07-29 06:06:46'::timestamp) - extract(epoch from '2026-07-29 06:06: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'), 47437, 'SRID=4674;POINT (-39.04133 -3.409507)', '2026-07-29 06:07:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.409505)'), GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.409507)'))) / (select extract(epoch from '2026-07-29 06:07:03'::timestamp) - extract(epoch from '2026-07-29 06:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.409505)'), GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.409507)'))) / (select extract(epoch from '2026-07-29 06:07:03'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47437, 'SRID=4674;POINT (-39.041303 -3.409495)', '2026-07-29 06:07:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.409507)'), GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409495)'))) / (select extract(epoch from '2026-07-29 06:07:13'::timestamp) - extract(epoch from '2026-07-29 06:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.409507)'), GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409495)'))) / (select extract(epoch from '2026-07-29 06:07:13'::timestamp) - extract(epoch from '2026-07-29 06:07: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'), 47437, 'SRID=4674;POINT (-39.041286 -3.409503)', '2026-07-29 06:07:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409495)'), GeomFromEWKT('SRID=4674;POINT (-39.041286 -3.409503)'))) / (select extract(epoch from '2026-07-29 06:07:20'::timestamp) - extract(epoch from '2026-07-29 06:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409495)'), GeomFromEWKT('SRID=4674;POINT (-39.041286 -3.409503)'))) / (select extract(epoch from '2026-07-29 06:07:20'::timestamp) - extract(epoch from '2026-07-29 06:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041263 -3.409511)', '2026-07-29 06:07:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041286 -3.409503)'), GeomFromEWKT('SRID=4674;POINT (-39.041263 -3.409511)'))) / (select extract(epoch from '2026-07-29 06:07:28'::timestamp) - extract(epoch from '2026-07-29 06:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041286 -3.409503)'), GeomFromEWKT('SRID=4674;POINT (-39.041263 -3.409511)'))) / (select extract(epoch from '2026-07-29 06:07:28'::timestamp) - extract(epoch from '2026-07-29 06:07: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'), 47437, 'SRID=4674;POINT (-39.041242 -3.409508)', '2026-07-29 06:07:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041263 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.041242 -3.409508)'))) / (select extract(epoch from '2026-07-29 06:07:37'::timestamp) - extract(epoch from '2026-07-29 06:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041263 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.041242 -3.409508)'))) / (select extract(epoch from '2026-07-29 06:07:37'::timestamp) - extract(epoch from '2026-07-29 06:07: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'), 47437, 'SRID=4674;POINT (-39.041198 -3.409501)', '2026-07-29 06:07:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041242 -3.409508)'), GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.409501)'))) / (select extract(epoch from '2026-07-29 06:07:49'::timestamp) - extract(epoch from '2026-07-29 06:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041242 -3.409508)'), GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.409501)'))) / (select extract(epoch from '2026-07-29 06:07:49'::timestamp) - extract(epoch from '2026-07-29 06:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041152 -3.409501)', '2026-07-29 06:08:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.409501)'), GeomFromEWKT('SRID=4674;POINT (-39.041152 -3.409501)'))) / (select extract(epoch from '2026-07-29 06:08:02'::timestamp) - extract(epoch from '2026-07-29 06:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.409501)'), GeomFromEWKT('SRID=4674;POINT (-39.041152 -3.409501)'))) / (select extract(epoch from '2026-07-29 06:08:02'::timestamp) - extract(epoch from '2026-07-29 06:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041101 -3.409503)', '2026-07-29 06:08:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041152 -3.409501)'), GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.409503)'))) / (select extract(epoch from '2026-07-29 06:08:15'::timestamp) - extract(epoch from '2026-07-29 06:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041152 -3.409501)'), GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.409503)'))) / (select extract(epoch from '2026-07-29 06:08:15'::timestamp) - extract(epoch from '2026-07-29 06:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.041044 -3.409505)', '2026-07-29 06:08:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.409503)'), GeomFromEWKT('SRID=4674;POINT (-39.041044 -3.409505)'))) / (select extract(epoch from '2026-07-29 06:08:30'::timestamp) - extract(epoch from '2026-07-29 06:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041101 -3.409503)'), GeomFromEWKT('SRID=4674;POINT (-39.041044 -3.409505)'))) / (select extract(epoch from '2026-07-29 06:08:30'::timestamp) - extract(epoch from '2026-07-29 06:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040999 -3.409508)', '2026-07-29 06:08:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041044 -3.409505)'), GeomFromEWKT('SRID=4674;POINT (-39.040999 -3.409508)'))) / (select extract(epoch from '2026-07-29 06:08:45'::timestamp) - extract(epoch from '2026-07-29 06:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041044 -3.409505)'), GeomFromEWKT('SRID=4674;POINT (-39.040999 -3.409508)'))) / (select extract(epoch from '2026-07-29 06:08:45'::timestamp) - extract(epoch from '2026-07-29 06:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040952 -3.409516)', '2026-07-29 06:09:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040999 -3.409508)'), GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409516)'))) / (select extract(epoch from '2026-07-29 06:09:01'::timestamp) - extract(epoch from '2026-07-29 06:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040999 -3.409508)'), GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409516)'))) / (select extract(epoch from '2026-07-29 06:09:01'::timestamp) - extract(epoch from '2026-07-29 06:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040935 -3.409501)', '2026-07-29 06:09:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409516)'), GeomFromEWKT('SRID=4674;POINT (-39.040935 -3.409501)'))) / (select extract(epoch from '2026-07-29 06:09:14'::timestamp) - extract(epoch from '2026-07-29 06:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409516)'), GeomFromEWKT('SRID=4674;POINT (-39.040935 -3.409501)'))) / (select extract(epoch from '2026-07-29 06:09:14'::timestamp) - extract(epoch from '2026-07-29 06:09: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'), 47437, 'SRID=4674;POINT (-39.040872 -3.409512)', '2026-07-29 06:09:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040935 -3.409501)'), GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.409512)'))) / (select extract(epoch from '2026-07-29 06:09:31'::timestamp) - extract(epoch from '2026-07-29 06:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040935 -3.409501)'), GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.409512)'))) / (select extract(epoch from '2026-07-29 06:09:31'::timestamp) - extract(epoch from '2026-07-29 06:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040841 -3.409511)', '2026-07-29 06:09:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.409512)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409511)'))) / (select extract(epoch from '2026-07-29 06:09:42'::timestamp) - extract(epoch from '2026-07-29 06:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.409512)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409511)'))) / (select extract(epoch from '2026-07-29 06:09:42'::timestamp) - extract(epoch from '2026-07-29 06:09: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'), 47437, 'SRID=4674;POINT (-39.040842 -3.409491)', '2026-07-29 06:09:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409491)'))) / (select extract(epoch from '2026-07-29 06:09:57'::timestamp) - extract(epoch from '2026-07-29 06:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409491)'))) / (select extract(epoch from '2026-07-29 06:09:57'::timestamp) - extract(epoch from '2026-07-29 06:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04084 -3.409475)', '2026-07-29 06:10:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409491)'), GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.409475)'))) / (select extract(epoch from '2026-07-29 06:10:11'::timestamp) - extract(epoch from '2026-07-29 06:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409491)'), GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.409475)'))) / (select extract(epoch from '2026-07-29 06:10:11'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47437, 'SRID=4674;POINT (-39.040841 -3.409466)', '2026-07-29 06:10:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409466)'))) / (select extract(epoch from '2026-07-29 06:10:31'::timestamp) - extract(epoch from '2026-07-29 06:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409466)'))) / (select extract(epoch from '2026-07-29 06:10:31'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47437, 'SRID=4674;POINT (-39.040839 -3.409445)', '2026-07-29 06:10:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409466)'), GeomFromEWKT('SRID=4674;POINT (-39.040839 -3.409445)'))) / (select extract(epoch from '2026-07-29 06:10:59'::timestamp) - extract(epoch from '2026-07-29 06:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409466)'), GeomFromEWKT('SRID=4674;POINT (-39.040839 -3.409445)'))) / (select extract(epoch from '2026-07-29 06:10:59'::timestamp) - extract(epoch from '2026-07-29 06:10: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'), 47437, 'SRID=4674;POINT (-39.040813 -3.409443)', '2026-07-29 06:11:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040839 -3.409445)'), GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.409443)'))) / (select extract(epoch from '2026-07-29 06:11:14'::timestamp) - extract(epoch from '2026-07-29 06:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040839 -3.409445)'), GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.409443)'))) / (select extract(epoch from '2026-07-29 06:11:14'::timestamp) - extract(epoch from '2026-07-29 06:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040818 -3.409424)', '2026-07-29 06:11:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.409443)'), GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.409424)'))) / (select extract(epoch from '2026-07-29 06:11:31'::timestamp) - extract(epoch from '2026-07-29 06:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.409443)'), GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.409424)'))) / (select extract(epoch from '2026-07-29 06:11:31'::timestamp) - extract(epoch from '2026-07-29 06:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040838 -3.409429)', '2026-07-29 06:11:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.409424)'), GeomFromEWKT('SRID=4674;POINT (-39.040838 -3.409429)'))) / (select extract(epoch from '2026-07-29 06:11:48'::timestamp) - extract(epoch from '2026-07-29 06:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.409424)'), GeomFromEWKT('SRID=4674;POINT (-39.040838 -3.409429)'))) / (select extract(epoch from '2026-07-29 06:11:48'::timestamp) - extract(epoch from '2026-07-29 06:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040841 -3.409414)', '2026-07-29 06:12:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040838 -3.409429)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409414)'))) / (select extract(epoch from '2026-07-29 06:12:13'::timestamp) - extract(epoch from '2026-07-29 06:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040838 -3.409429)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409414)'))) / (select extract(epoch from '2026-07-29 06:12:13'::timestamp) - extract(epoch from '2026-07-29 06:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040811 -3.409429)', '2026-07-29 06:12:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409414)'), GeomFromEWKT('SRID=4674;POINT (-39.040811 -3.409429)'))) / (select extract(epoch from '2026-07-29 06:12:30'::timestamp) - extract(epoch from '2026-07-29 06:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.409414)'), GeomFromEWKT('SRID=4674;POINT (-39.040811 -3.409429)'))) / (select extract(epoch from '2026-07-29 06:12:30'::timestamp) - extract(epoch from '2026-07-29 06:12: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'), 47437, 'SRID=4674;POINT (-39.040789 -3.409437)', '2026-07-29 06:12:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040811 -3.409429)'), GeomFromEWKT('SRID=4674;POINT (-39.040789 -3.409437)'))) / (select extract(epoch from '2026-07-29 06:12:41'::timestamp) - extract(epoch from '2026-07-29 06:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040811 -3.409429)'), GeomFromEWKT('SRID=4674;POINT (-39.040789 -3.409437)'))) / (select extract(epoch from '2026-07-29 06:12:41'::timestamp) - extract(epoch from '2026-07-29 06:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040808 -3.409422)', '2026-07-29 06:13:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040789 -3.409437)'), GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409422)'))) / (select extract(epoch from '2026-07-29 06:13:05'::timestamp) - extract(epoch from '2026-07-29 06:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040789 -3.409437)'), GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409422)'))) / (select extract(epoch from '2026-07-29 06:13:05'::timestamp) - extract(epoch from '2026-07-29 06:12: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'), 47437, 'SRID=4674;POINT (-39.040771 -3.409446)', '2026-07-29 06:13:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409422)'), GeomFromEWKT('SRID=4674;POINT (-39.040771 -3.409446)'))) / (select extract(epoch from '2026-07-29 06:13:27'::timestamp) - extract(epoch from '2026-07-29 06:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409422)'), GeomFromEWKT('SRID=4674;POINT (-39.040771 -3.409446)'))) / (select extract(epoch from '2026-07-29 06:13:27'::timestamp) - extract(epoch from '2026-07-29 06:13: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'), 47437, 'SRID=4674;POINT (-39.040701 -3.409456)', '2026-07-29 06:13:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040771 -3.409446)'), GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.409456)'))) / (select extract(epoch from '2026-07-29 06:13:39'::timestamp) - extract(epoch from '2026-07-29 06:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040771 -3.409446)'), GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.409456)'))) / (select extract(epoch from '2026-07-29 06:13:39'::timestamp) - extract(epoch from '2026-07-29 06:13: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'), 47437, 'SRID=4674;POINT (-39.04067 -3.409475)', '2026-07-29 06:13:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.409456)'), GeomFromEWKT('SRID=4674;POINT (-39.04067 -3.409475)'))) / (select extract(epoch from '2026-07-29 06:13:46'::timestamp) - extract(epoch from '2026-07-29 06:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.409456)'), GeomFromEWKT('SRID=4674;POINT (-39.04067 -3.409475)'))) / (select extract(epoch from '2026-07-29 06:13:46'::timestamp) - extract(epoch from '2026-07-29 06:13: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'), 47437, 'SRID=4674;POINT (-39.040647 -3.409494)', '2026-07-29 06:13:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04067 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.040647 -3.409494)'))) / (select extract(epoch from '2026-07-29 06:13:53'::timestamp) - extract(epoch from '2026-07-29 06:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04067 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.040647 -3.409494)'))) / (select extract(epoch from '2026-07-29 06:13:53'::timestamp) - extract(epoch from '2026-07-29 06:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04063 -3.409514)', '2026-07-29 06:13:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040647 -3.409494)'), GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.409514)'))) / (select extract(epoch from '2026-07-29 06:13:59'::timestamp) - extract(epoch from '2026-07-29 06:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040647 -3.409494)'), GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.409514)'))) / (select extract(epoch from '2026-07-29 06:13:59'::timestamp) - extract(epoch from '2026-07-29 06:13:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040616 -3.409529)', '2026-07-29 06:14:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.409514)'), GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409529)'))) / (select extract(epoch from '2026-07-29 06:14:09'::timestamp) - extract(epoch from '2026-07-29 06:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.409514)'), GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409529)'))) / (select extract(epoch from '2026-07-29 06:14:09'::timestamp) - extract(epoch from '2026-07-29 06:13: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'), 47437, 'SRID=4674;POINT (-39.040638 -3.409512)', '2026-07-29 06:14:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409529)'), GeomFromEWKT('SRID=4674;POINT (-39.040638 -3.409512)'))) / (select extract(epoch from '2026-07-29 06:14:24'::timestamp) - extract(epoch from '2026-07-29 06:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409529)'), GeomFromEWKT('SRID=4674;POINT (-39.040638 -3.409512)'))) / (select extract(epoch from '2026-07-29 06:14:24'::timestamp) - extract(epoch from '2026-07-29 06:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040659 -3.409487)', '2026-07-29 06:14:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040638 -3.409512)'), GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.409487)'))) / (select extract(epoch from '2026-07-29 06:14:34'::timestamp) - extract(epoch from '2026-07-29 06:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040638 -3.409512)'), GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.409487)'))) / (select extract(epoch from '2026-07-29 06:14:34'::timestamp) - extract(epoch from '2026-07-29 06:14: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'), 47437, 'SRID=4674;POINT (-39.040722 -3.409452)', '2026-07-29 06:14:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.409487)'), GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.409452)'))) / (select extract(epoch from '2026-07-29 06:14:58'::timestamp) - extract(epoch from '2026-07-29 06:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.409487)'), GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.409452)'))) / (select extract(epoch from '2026-07-29 06:14:58'::timestamp) - extract(epoch from '2026-07-29 06:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040761 -3.409424)', '2026-07-29 06:15:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.409452)'), GeomFromEWKT('SRID=4674;POINT (-39.040761 -3.409424)'))) / (select extract(epoch from '2026-07-29 06:15:13'::timestamp) - extract(epoch from '2026-07-29 06:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040722 -3.409452)'), GeomFromEWKT('SRID=4674;POINT (-39.040761 -3.409424)'))) / (select extract(epoch from '2026-07-29 06:15:13'::timestamp) - extract(epoch from '2026-07-29 06:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040783 -3.409419)', '2026-07-29 06:15:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040761 -3.409424)'), GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.409419)'))) / (select extract(epoch from '2026-07-29 06:15:21'::timestamp) - extract(epoch from '2026-07-29 06:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040761 -3.409424)'), GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.409419)'))) / (select extract(epoch from '2026-07-29 06:15:21'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47437, 'SRID=4674;POINT (-39.040785 -3.409396)', '2026-07-29 06:15:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.409419)'), GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.409396)'))) / (select extract(epoch from '2026-07-29 06:15:28'::timestamp) - extract(epoch from '2026-07-29 06:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.409419)'), GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.409396)'))) / (select extract(epoch from '2026-07-29 06:15:28'::timestamp) - extract(epoch from '2026-07-29 06:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040782 -3.409425)', '2026-07-29 06:15:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.409396)'), GeomFromEWKT('SRID=4674;POINT (-39.040782 -3.409425)'))) / (select extract(epoch from '2026-07-29 06:15:36'::timestamp) - extract(epoch from '2026-07-29 06:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.409396)'), GeomFromEWKT('SRID=4674;POINT (-39.040782 -3.409425)'))) / (select extract(epoch from '2026-07-29 06:15:36'::timestamp) - extract(epoch from '2026-07-29 06:15: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'), 47437, 'SRID=4674;POINT (-39.04079 -3.409475)', '2026-07-29 06:15:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040782 -3.409425)'), GeomFromEWKT('SRID=4674;POINT (-39.04079 -3.409475)'))) / (select extract(epoch from '2026-07-29 06:15:44'::timestamp) - extract(epoch from '2026-07-29 06:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040782 -3.409425)'), GeomFromEWKT('SRID=4674;POINT (-39.04079 -3.409475)'))) / (select extract(epoch from '2026-07-29 06:15:44'::timestamp) - extract(epoch from '2026-07-29 06:15: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'), 47437, 'SRID=4674;POINT (-39.040793 -3.409555)', '2026-07-29 06:15:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04079 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.040793 -3.409555)'))) / (select extract(epoch from '2026-07-29 06:15:56'::timestamp) - extract(epoch from '2026-07-29 06:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04079 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.040793 -3.409555)'))) / (select extract(epoch from '2026-07-29 06:15:56'::timestamp) - extract(epoch from '2026-07-29 06:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040795 -3.409613)', '2026-07-29 06:16:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040793 -3.409555)'), GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.409613)'))) / (select extract(epoch from '2026-07-29 06:16:03'::timestamp) - extract(epoch from '2026-07-29 06:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040793 -3.409555)'), GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.409613)'))) / (select extract(epoch from '2026-07-29 06:16:03'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47437, 'SRID=4674;POINT (-39.040798 -3.40967)', '2026-07-29 06:16:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.409613)'), GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.40967)'))) / (select extract(epoch from '2026-07-29 06:16:09'::timestamp) - extract(epoch from '2026-07-29 06:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040795 -3.409613)'), GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.40967)'))) / (select extract(epoch from '2026-07-29 06:16:09'::timestamp) - extract(epoch from '2026-07-29 06:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040804 -3.409751)', '2026-07-29 06:16:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.40967)'), GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.409751)'))) / (select extract(epoch from '2026-07-29 06:16:20'::timestamp) - extract(epoch from '2026-07-29 06:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.40967)'), GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.409751)'))) / (select extract(epoch from '2026-07-29 06:16:20'::timestamp) - extract(epoch from '2026-07-29 06:16: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'), 47437, 'SRID=4674;POINT (-39.040808 -3.409812)', '2026-07-29 06:16:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.409751)'), GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409812)'))) / (select extract(epoch from '2026-07-29 06:16:28'::timestamp) - extract(epoch from '2026-07-29 06:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040804 -3.409751)'), GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409812)'))) / (select extract(epoch from '2026-07-29 06:16:28'::timestamp) - extract(epoch from '2026-07-29 06:16: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'), 47437, 'SRID=4674;POINT (-39.040829 -3.409857)', '2026-07-29 06:16:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409812)'), GeomFromEWKT('SRID=4674;POINT (-39.040829 -3.409857)'))) / (select extract(epoch from '2026-07-29 06:16:34'::timestamp) - extract(epoch from '2026-07-29 06:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040808 -3.409812)'), GeomFromEWKT('SRID=4674;POINT (-39.040829 -3.409857)'))) / (select extract(epoch from '2026-07-29 06:16:34'::timestamp) - extract(epoch from '2026-07-29 06:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040852 -3.409916)', '2026-07-29 06:16:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040829 -3.409857)'), GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.409916)'))) / (select extract(epoch from '2026-07-29 06:16:42'::timestamp) - extract(epoch from '2026-07-29 06:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040829 -3.409857)'), GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.409916)'))) / (select extract(epoch from '2026-07-29 06:16:42'::timestamp) - extract(epoch from '2026-07-29 06:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040881 -3.409969)', '2026-07-29 06:16:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.040881 -3.409969)'))) / (select extract(epoch from '2026-07-29 06:16:49'::timestamp) - extract(epoch from '2026-07-29 06:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.040881 -3.409969)'))) / (select extract(epoch from '2026-07-29 06:16:49'::timestamp) - extract(epoch from '2026-07-29 06:16: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'), 47437, 'SRID=4674;POINT (-39.0409 -3.410007)', '2026-07-29 06:16:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040881 -3.409969)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410007)'))) / (select extract(epoch from '2026-07-29 06:16:54'::timestamp) - extract(epoch from '2026-07-29 06:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040881 -3.409969)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410007)'))) / (select extract(epoch from '2026-07-29 06:16:54'::timestamp) - extract(epoch from '2026-07-29 06:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.0409 -3.410015)', '2026-07-29 06:16:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410007)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410015)'))) / (select extract(epoch from '2026-07-29 06:16:55'::timestamp) - extract(epoch from '2026-07-29 06:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410007)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410015)'))) / (select extract(epoch from '2026-07-29 06:16:55'::timestamp) - extract(epoch from '2026-07-29 06:16: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'), 47437, 'SRID=4674;POINT (-39.040899 -3.410073)', '2026-07-29 06:17:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410015)'), GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.410073)'))) / (select extract(epoch from '2026-07-29 06:17:03'::timestamp) - extract(epoch from '2026-07-29 06:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.410015)'), GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.410073)'))) / (select extract(epoch from '2026-07-29 06:17:03'::timestamp) - extract(epoch from '2026-07-29 06:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040896 -3.410114)', '2026-07-29 06:17:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.410073)'), GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.410114)'))) / (select extract(epoch from '2026-07-29 06:17:09'::timestamp) - extract(epoch from '2026-07-29 06:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.410073)'), GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.410114)'))) / (select extract(epoch from '2026-07-29 06:17:09'::timestamp) - extract(epoch from '2026-07-29 06:17: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'), 47437, 'SRID=4674;POINT (-39.040891 -3.410179)', '2026-07-29 06:17:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.410114)'), GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410179)'))) / (select extract(epoch from '2026-07-29 06:17:17'::timestamp) - extract(epoch from '2026-07-29 06:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.410114)'), GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410179)'))) / (select extract(epoch from '2026-07-29 06:17:17'::timestamp) - extract(epoch from '2026-07-29 06:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04087 -3.410247)', '2026-07-29 06:17:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410179)'), GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410247)'))) / (select extract(epoch from '2026-07-29 06:17:26'::timestamp) - extract(epoch from '2026-07-29 06:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410179)'), GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410247)'))) / (select extract(epoch from '2026-07-29 06:17:26'::timestamp) - extract(epoch from '2026-07-29 06:17: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'), 47437, 'SRID=4674;POINT (-39.04086 -3.410313)', '2026-07-29 06:17:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410247)'), GeomFromEWKT('SRID=4674;POINT (-39.04086 -3.410313)'))) / (select extract(epoch from '2026-07-29 06:17:34'::timestamp) - extract(epoch from '2026-07-29 06:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04087 -3.410247)'), GeomFromEWKT('SRID=4674;POINT (-39.04086 -3.410313)'))) / (select extract(epoch from '2026-07-29 06:17:34'::timestamp) - extract(epoch from '2026-07-29 06:17: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'), 47437, 'SRID=4674;POINT (-39.040859 -3.410395)', '2026-07-29 06:17:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04086 -3.410313)'), GeomFromEWKT('SRID=4674;POINT (-39.040859 -3.410395)'))) / (select extract(epoch from '2026-07-29 06:17:43'::timestamp) - extract(epoch from '2026-07-29 06:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04086 -3.410313)'), GeomFromEWKT('SRID=4674;POINT (-39.040859 -3.410395)'))) / (select extract(epoch from '2026-07-29 06:17:43'::timestamp) - extract(epoch from '2026-07-29 06:17: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'), 47437, 'SRID=4674;POINT (-39.040849 -3.410453)', '2026-07-29 06:17:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040859 -3.410395)'), GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410453)'))) / (select extract(epoch from '2026-07-29 06:17:50'::timestamp) - extract(epoch from '2026-07-29 06:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040859 -3.410395)'), GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410453)'))) / (select extract(epoch from '2026-07-29 06:17:50'::timestamp) - extract(epoch from '2026-07-29 06:17: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'), 47437, 'SRID=4674;POINT (-39.04084 -3.410506)', '2026-07-29 06:17:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410453)'), GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.410506)'))) / (select extract(epoch from '2026-07-29 06:17:57'::timestamp) - extract(epoch from '2026-07-29 06:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410453)'), GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.410506)'))) / (select extract(epoch from '2026-07-29 06:17:57'::timestamp) - extract(epoch from '2026-07-29 06:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040827 -3.410583)', '2026-07-29 06:18:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.410506)'), GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410583)'))) / (select extract(epoch from '2026-07-29 06:18:07'::timestamp) - extract(epoch from '2026-07-29 06:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.410506)'), GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410583)'))) / (select extract(epoch from '2026-07-29 06:18:07'::timestamp) - extract(epoch from '2026-07-29 06:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040807 -3.410647)', '2026-07-29 06:18:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410583)'), GeomFromEWKT('SRID=4674;POINT (-39.040807 -3.410647)'))) / (select extract(epoch from '2026-07-29 06:18:16'::timestamp) - extract(epoch from '2026-07-29 06:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410583)'), GeomFromEWKT('SRID=4674;POINT (-39.040807 -3.410647)'))) / (select extract(epoch from '2026-07-29 06:18:16'::timestamp) - extract(epoch from '2026-07-29 06:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040796 -3.410709)', '2026-07-29 06:18:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040807 -3.410647)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.410709)'))) / (select extract(epoch from '2026-07-29 06:18:23'::timestamp) - extract(epoch from '2026-07-29 06:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040807 -3.410647)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.410709)'))) / (select extract(epoch from '2026-07-29 06:18:23'::timestamp) - extract(epoch from '2026-07-29 06:18: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'), 47437, 'SRID=4674;POINT (-39.040786 -3.410765)', '2026-07-29 06:18:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.410709)'), GeomFromEWKT('SRID=4674;POINT (-39.040786 -3.410765)'))) / (select extract(epoch from '2026-07-29 06:18:31'::timestamp) - extract(epoch from '2026-07-29 06:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.410709)'), GeomFromEWKT('SRID=4674;POINT (-39.040786 -3.410765)'))) / (select extract(epoch from '2026-07-29 06:18:31'::timestamp) - extract(epoch from '2026-07-29 06:18: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'), 47437, 'SRID=4674;POINT (-39.040785 -3.410834)', '2026-07-29 06:18:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040786 -3.410765)'), GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410834)'))) / (select extract(epoch from '2026-07-29 06:18:40'::timestamp) - extract(epoch from '2026-07-29 06:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040786 -3.410765)'), GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410834)'))) / (select extract(epoch from '2026-07-29 06:18:40'::timestamp) - extract(epoch from '2026-07-29 06:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040783 -3.410917)', '2026-07-29 06:18:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.410917)'))) / (select extract(epoch from '2026-07-29 06:18:50'::timestamp) - extract(epoch from '2026-07-29 06:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.410917)'))) / (select extract(epoch from '2026-07-29 06:18:50'::timestamp) - extract(epoch from '2026-07-29 06:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040778 -3.410979)', '2026-07-29 06:18:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.410917)'), GeomFromEWKT('SRID=4674;POINT (-39.040778 -3.410979)'))) / (select extract(epoch from '2026-07-29 06:18:58'::timestamp) - extract(epoch from '2026-07-29 06:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040783 -3.410917)'), GeomFromEWKT('SRID=4674;POINT (-39.040778 -3.410979)'))) / (select extract(epoch from '2026-07-29 06:18:58'::timestamp) - extract(epoch from '2026-07-29 06:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040765 -3.411029)', '2026-07-29 06:19:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040778 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.040765 -3.411029)'))) / (select extract(epoch from '2026-07-29 06:19:05'::timestamp) - extract(epoch from '2026-07-29 06:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040778 -3.410979)'), GeomFromEWKT('SRID=4674;POINT (-39.040765 -3.411029)'))) / (select extract(epoch from '2026-07-29 06:19:05'::timestamp) - extract(epoch from '2026-07-29 06:18: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'), 47437, 'SRID=4674;POINT (-39.040741 -3.411079)', '2026-07-29 06:19:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040765 -3.411029)'), GeomFromEWKT('SRID=4674;POINT (-39.040741 -3.411079)'))) / (select extract(epoch from '2026-07-29 06:19:12'::timestamp) - extract(epoch from '2026-07-29 06:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040765 -3.411029)'), GeomFromEWKT('SRID=4674;POINT (-39.040741 -3.411079)'))) / (select extract(epoch from '2026-07-29 06:19:12'::timestamp) - extract(epoch from '2026-07-29 06:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.04072 -3.411122)', '2026-07-29 06:19:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040741 -3.411079)'), GeomFromEWKT('SRID=4674;POINT (-39.04072 -3.411122)'))) / (select extract(epoch from '2026-07-29 06:19:18'::timestamp) - extract(epoch from '2026-07-29 06:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040741 -3.411079)'), GeomFromEWKT('SRID=4674;POINT (-39.04072 -3.411122)'))) / (select extract(epoch from '2026-07-29 06:19:18'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47437, 'SRID=4674;POINT (-39.040701 -3.411156)', '2026-07-29 06:19:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04072 -3.411122)'), GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.411156)'))) / (select extract(epoch from '2026-07-29 06:19:21'::timestamp) - extract(epoch from '2026-07-29 06:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04072 -3.411122)'), GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.411156)'))) / (select extract(epoch from '2026-07-29 06:19:21'::timestamp) - extract(epoch from '2026-07-29 06:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47437, 'SRID=4674;POINT (-39.040687 -3.411168)', '2026-07-29 06:19:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.411156)'), GeomFromEWKT('SRID=4674;POINT (-39.040687 -3.411168)'))) / (select extract(epoch from '2026-07-29 06:19:23'::timestamp) - extract(epoch from '2026-07-29 06:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.411156)'), GeomFromEWKT('SRID=4674;POINT (-39.040687 -3.411168)'))) / (select extract(epoch from '2026-07-29 06:19:23'::timestamp) - extract(epoch from '2026-07-29 06:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
