 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430193 -3.661067)', '2026-07-07 07:06:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661069)'), GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.661067)'))) / (select extract(epoch from '2026-07-07 07:06:33'::timestamp) - extract(epoch from '2026-07-07 07:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661069)'), GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.661067)'))) / (select extract(epoch from '2026-07-07 07:06:33'::timestamp) - extract(epoch from '2026-07-07 07:06:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430192 -3.661068)', '2026-07-07 07:06:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.661067)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661068)'))) / (select extract(epoch from '2026-07-07 07:06:38'::timestamp) - extract(epoch from '2026-07-07 07:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.661067)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661068)'))) / (select extract(epoch from '2026-07-07 07:06:38'::timestamp) - extract(epoch from '2026-07-07 07:06:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430192 -3.661067)', '2026-07-07 07:06:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661068)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661067)'))) / (select extract(epoch from '2026-07-07 07:06:43'::timestamp) - extract(epoch from '2026-07-07 07:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661068)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661067)'))) / (select extract(epoch from '2026-07-07 07:06:43'::timestamp) - extract(epoch from '2026-07-07 07:06:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43019 -3.661061)', '2026-07-07 07:06:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661067)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661061)'))) / (select extract(epoch from '2026-07-07 07:06:49'::timestamp) - extract(epoch from '2026-07-07 07:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661067)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661061)'))) / (select extract(epoch from '2026-07-07 07:06:49'::timestamp) - extract(epoch from '2026-07-07 07:06:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430188 -3.661055)', '2026-07-07 07:06:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661061)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661055)'))) / (select extract(epoch from '2026-07-07 07:06:58'::timestamp) - extract(epoch from '2026-07-07 07:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661061)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661055)'))) / (select extract(epoch from '2026-07-07 07:06:58'::timestamp) - extract(epoch from '2026-07-07 07:06:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43018 -3.661052)', '2026-07-07 07:07:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661055)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661052)'))) / (select extract(epoch from '2026-07-07 07:07:07'::timestamp) - extract(epoch from '2026-07-07 07:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661055)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661052)'))) / (select extract(epoch from '2026-07-07 07:07:07'::timestamp) - extract(epoch from '2026-07-07 07:06:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430192 -3.661047)', '2026-07-07 07:07:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661052)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661047)'))) / (select extract(epoch from '2026-07-07 07:07:15'::timestamp) - extract(epoch from '2026-07-07 07:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661052)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661047)'))) / (select extract(epoch from '2026-07-07 07:07:15'::timestamp) - extract(epoch from '2026-07-07 07:07:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430181 -3.661047)', '2026-07-07 07:07:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661047)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.661047)'))) / (select extract(epoch from '2026-07-07 07:07:22'::timestamp) - extract(epoch from '2026-07-07 07:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661047)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.661047)'))) / (select extract(epoch from '2026-07-07 07:07:22'::timestamp) - extract(epoch from '2026-07-07 07:07:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430185 -3.661056)', '2026-07-07 07:07:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.661047)'), GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661056)'))) / (select extract(epoch from '2026-07-07 07:07:28'::timestamp) - extract(epoch from '2026-07-07 07:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.661047)'), GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661056)'))) / (select extract(epoch from '2026-07-07 07:07:28'::timestamp) - extract(epoch from '2026-07-07 07:07:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430188 -3.661057)', '2026-07-07 07:07:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661056)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661057)'))) / (select extract(epoch from '2026-07-07 07:07:35'::timestamp) - extract(epoch from '2026-07-07 07:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661056)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661057)'))) / (select extract(epoch from '2026-07-07 07:07:35'::timestamp) - extract(epoch from '2026-07-07 07:07:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430185 -3.661054)', '2026-07-07 07:07:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661057)'), GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:07:40'::timestamp) - extract(epoch from '2026-07-07 07:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661057)'), GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:07:40'::timestamp) - extract(epoch from '2026-07-07 07:07:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430191 -3.661052)', '2026-07-07 07:07:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661052)'))) / (select extract(epoch from '2026-07-07 07:07:46'::timestamp) - extract(epoch from '2026-07-07 07:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661052)'))) / (select extract(epoch from '2026-07-07 07:07:46'::timestamp) - extract(epoch from '2026-07-07 07:07:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43019 -3.661058)', '2026-07-07 07:07:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661052)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661058)'))) / (select extract(epoch from '2026-07-07 07:07:53'::timestamp) - extract(epoch from '2026-07-07 07:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661052)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661058)'))) / (select extract(epoch from '2026-07-07 07:07:53'::timestamp) - extract(epoch from '2026-07-07 07:07:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.66106)', '2026-07-07 07:07:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661058)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66106)'))) / (select extract(epoch from '2026-07-07 07:07:58'::timestamp) - extract(epoch from '2026-07-07 07:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.661058)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66106)'))) / (select extract(epoch from '2026-07-07 07:07:58'::timestamp) - extract(epoch from '2026-07-07 07:07:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.661062)', '2026-07-07 07:08:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66106)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661062)'))) / (select extract(epoch from '2026-07-07 07:08:04'::timestamp) - extract(epoch from '2026-07-07 07:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66106)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661062)'))) / (select extract(epoch from '2026-07-07 07:08:04'::timestamp) - extract(epoch from '2026-07-07 07:07:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.661059)', '2026-07-07 07:08:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661062)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661059)'))) / (select extract(epoch from '2026-07-07 07:08:11'::timestamp) - extract(epoch from '2026-07-07 07:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661062)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661059)'))) / (select extract(epoch from '2026-07-07 07:08:11'::timestamp) - extract(epoch from '2026-07-07 07:08:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430207 -3.66106)', '2026-07-07 07:08:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661059)'), GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.66106)'))) / (select extract(epoch from '2026-07-07 07:08:19'::timestamp) - extract(epoch from '2026-07-07 07:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661059)'), GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.66106)'))) / (select extract(epoch from '2026-07-07 07:08:19'::timestamp) - extract(epoch from '2026-07-07 07:08:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430201 -3.661061)', '2026-07-07 07:08:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.66106)'), GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661061)'))) / (select extract(epoch from '2026-07-07 07:08:20'::timestamp) - extract(epoch from '2026-07-07 07:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.66106)'), GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661061)'))) / (select extract(epoch from '2026-07-07 07:08:20'::timestamp) - extract(epoch from '2026-07-07 07:08:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.66106)', '2026-07-07 07:08:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661061)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66106)'))) / (select extract(epoch from '2026-07-07 07:08:23'::timestamp) - extract(epoch from '2026-07-07 07:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661061)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66106)'))) / (select extract(epoch from '2026-07-07 07:08:23'::timestamp) - extract(epoch from '2026-07-07 07:08:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.661056)', '2026-07-07 07:08:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66106)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661056)'))) / (select extract(epoch from '2026-07-07 07:08:29'::timestamp) - extract(epoch from '2026-07-07 07:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66106)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661056)'))) / (select extract(epoch from '2026-07-07 07:08:29'::timestamp) - extract(epoch from '2026-07-07 07:08:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430196 -3.661054)', '2026-07-07 07:08:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661056)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:08:35'::timestamp) - extract(epoch from '2026-07-07 07:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661056)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:08:35'::timestamp) - extract(epoch from '2026-07-07 07:08:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.661054)', '2026-07-07 07:08:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:08:42'::timestamp) - extract(epoch from '2026-07-07 07:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:08:42'::timestamp) - extract(epoch from '2026-07-07 07:08:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.661056)', '2026-07-07 07:08:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661056)'))) / (select extract(epoch from '2026-07-07 07:08:45'::timestamp) - extract(epoch from '2026-07-07 07:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661056)'))) / (select extract(epoch from '2026-07-07 07:08:45'::timestamp) - extract(epoch from '2026-07-07 07:08:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430198 -3.661063)', '2026-07-07 07:08:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661056)'), GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661063)'))) / (select extract(epoch from '2026-07-07 07:08:53'::timestamp) - extract(epoch from '2026-07-07 07:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661056)'), GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661063)'))) / (select extract(epoch from '2026-07-07 07:08:53'::timestamp) - extract(epoch from '2026-07-07 07:08:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430192 -3.661049)', '2026-07-07 07:09:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661063)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661049)'))) / (select extract(epoch from '2026-07-07 07:09:05'::timestamp) - extract(epoch from '2026-07-07 07:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661063)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661049)'))) / (select extract(epoch from '2026-07-07 07:09:05'::timestamp) - extract(epoch from '2026-07-07 07:08:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430192 -3.661038)', '2026-07-07 07:09:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661049)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661038)'))) / (select extract(epoch from '2026-07-07 07:09:13'::timestamp) - extract(epoch from '2026-07-07 07:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661049)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661038)'))) / (select extract(epoch from '2026-07-07 07:09:13'::timestamp) - extract(epoch from '2026-07-07 07:09:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43018 -3.661039)', '2026-07-07 07:09:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661038)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661039)'))) / (select extract(epoch from '2026-07-07 07:09:19'::timestamp) - extract(epoch from '2026-07-07 07:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661038)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661039)'))) / (select extract(epoch from '2026-07-07 07:09:19'::timestamp) - extract(epoch from '2026-07-07 07:09:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430176 -3.661031)', '2026-07-07 07:09:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661039)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661031)'))) / (select extract(epoch from '2026-07-07 07:09:27'::timestamp) - extract(epoch from '2026-07-07 07:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661039)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661031)'))) / (select extract(epoch from '2026-07-07 07:09:27'::timestamp) - extract(epoch from '2026-07-07 07:09:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430179 -3.661025)', '2026-07-07 07:09:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661031)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661025)'))) / (select extract(epoch from '2026-07-07 07:09:34'::timestamp) - extract(epoch from '2026-07-07 07:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661031)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661025)'))) / (select extract(epoch from '2026-07-07 07:09:34'::timestamp) - extract(epoch from '2026-07-07 07:09:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430173 -3.661029)', '2026-07-07 07:09:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661025)'), GeomFromEWKT('SRID=4674;POINT (-38.430173 -3.661029)'))) / (select extract(epoch from '2026-07-07 07:09:40'::timestamp) - extract(epoch from '2026-07-07 07:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661025)'), GeomFromEWKT('SRID=4674;POINT (-38.430173 -3.661029)'))) / (select extract(epoch from '2026-07-07 07:09:40'::timestamp) - extract(epoch from '2026-07-07 07:09:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.661026)', '2026-07-07 07:09:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430173 -3.661029)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:09:46'::timestamp) - extract(epoch from '2026-07-07 07:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430173 -3.661029)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:09:46'::timestamp) - extract(epoch from '2026-07-07 07:09:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.661026)', '2026-07-07 07:09:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:09:52'::timestamp) - extract(epoch from '2026-07-07 07:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:09:52'::timestamp) - extract(epoch from '2026-07-07 07:09:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.661025)', '2026-07-07 07:10:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661025)'))) / (select extract(epoch from '2026-07-07 07:10:03'::timestamp) - extract(epoch from '2026-07-07 07:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661025)'))) / (select extract(epoch from '2026-07-07 07:10:03'::timestamp) - extract(epoch from '2026-07-07 07:09:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43018 -3.661022)', '2026-07-07 07:10:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661025)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661022)'))) / (select extract(epoch from '2026-07-07 07:10:09'::timestamp) - extract(epoch from '2026-07-07 07:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661025)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661022)'))) / (select extract(epoch from '2026-07-07 07:10:09'::timestamp) - extract(epoch from '2026-07-07 07:10:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430174 -3.661017)', '2026-07-07 07:10:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661022)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'))) / (select extract(epoch from '2026-07-07 07:10:15'::timestamp) - extract(epoch from '2026-07-07 07:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.661022)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'))) / (select extract(epoch from '2026-07-07 07:10:15'::timestamp) - extract(epoch from '2026-07-07 07:10:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430174 -3.661017)', '2026-07-07 07:10:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'))) / (select extract(epoch from '2026-07-07 07:10:21'::timestamp) - extract(epoch from '2026-07-07 07:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'))) / (select extract(epoch from '2026-07-07 07:10:21'::timestamp) - extract(epoch from '2026-07-07 07:10:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430174 -3.661016)', '2026-07-07 07:10:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661016)'))) / (select extract(epoch from '2026-07-07 07:10:32'::timestamp) - extract(epoch from '2026-07-07 07:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661017)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661016)'))) / (select extract(epoch from '2026-07-07 07:10:32'::timestamp) - extract(epoch from '2026-07-07 07:10:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430174 -3.66102)', '2026-07-07 07:10:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661016)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.66102)'))) / (select extract(epoch from '2026-07-07 07:10:41'::timestamp) - extract(epoch from '2026-07-07 07:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661016)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.66102)'))) / (select extract(epoch from '2026-07-07 07:10:41'::timestamp) - extract(epoch from '2026-07-07 07:10:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430178 -3.661026)', '2026-07-07 07:10:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.66102)'), GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:10:46'::timestamp) - extract(epoch from '2026-07-07 07:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.66102)'), GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:10:46'::timestamp) - extract(epoch from '2026-07-07 07:10:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.661024)', '2026-07-07 07:10:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661024)'))) / (select extract(epoch from '2026-07-07 07:10:52'::timestamp) - extract(epoch from '2026-07-07 07:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661024)'))) / (select extract(epoch from '2026-07-07 07:10:52'::timestamp) - extract(epoch from '2026-07-07 07:10:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430182 -3.661026)', '2026-07-07 07:10:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661024)'), GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:10:58'::timestamp) - extract(epoch from '2026-07-07 07:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661024)'), GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.661026)'))) / (select extract(epoch from '2026-07-07 07:10:58'::timestamp) - extract(epoch from '2026-07-07 07:10:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430169 -3.661025)', '2026-07-07 07:11:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.661025)'))) / (select extract(epoch from '2026-07-07 07:11:10'::timestamp) - extract(epoch from '2026-07-07 07:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.661026)'), GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.661025)'))) / (select extract(epoch from '2026-07-07 07:11:10'::timestamp) - extract(epoch from '2026-07-07 07:10:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430164 -3.661018)', '2026-07-07 07:11:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.661025)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.661018)'))) / (select extract(epoch from '2026-07-07 07:11:16'::timestamp) - extract(epoch from '2026-07-07 07:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.661025)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.661018)'))) / (select extract(epoch from '2026-07-07 07:11:16'::timestamp) - extract(epoch from '2026-07-07 07:11:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430166 -3.661014)', '2026-07-07 07:11:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.661018)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.661014)'))) / (select extract(epoch from '2026-07-07 07:11:22'::timestamp) - extract(epoch from '2026-07-07 07:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.661018)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.661014)'))) / (select extract(epoch from '2026-07-07 07:11:22'::timestamp) - extract(epoch from '2026-07-07 07:11:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430168 -3.661018)', '2026-07-07 07:11:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.661014)'), GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.661018)'))) / (select extract(epoch from '2026-07-07 07:11:30'::timestamp) - extract(epoch from '2026-07-07 07:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.661014)'), GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.661018)'))) / (select extract(epoch from '2026-07-07 07:11:30'::timestamp) - extract(epoch from '2026-07-07 07:11:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430178 -3.661011)', '2026-07-07 07:11:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.661018)'), GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661011)'))) / (select extract(epoch from '2026-07-07 07:11:35'::timestamp) - extract(epoch from '2026-07-07 07:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.661018)'), GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661011)'))) / (select extract(epoch from '2026-07-07 07:11:35'::timestamp) - extract(epoch from '2026-07-07 07:11:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430175 -3.661009)', '2026-07-07 07:11:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661011)'), GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661009)'))) / (select extract(epoch from '2026-07-07 07:11:44'::timestamp) - extract(epoch from '2026-07-07 07:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430178 -3.661011)'), GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661009)'))) / (select extract(epoch from '2026-07-07 07:11:44'::timestamp) - extract(epoch from '2026-07-07 07:11:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430167 -3.661001)', '2026-07-07 07:11:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661009)'), GeomFromEWKT('SRID=4674;POINT (-38.430167 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:11:50'::timestamp) - extract(epoch from '2026-07-07 07:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661009)'), GeomFromEWKT('SRID=4674;POINT (-38.430167 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:11:50'::timestamp) - extract(epoch from '2026-07-07 07:11:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43017 -3.661002)', '2026-07-07 07:11:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430167 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:11:51'::timestamp) - extract(epoch from '2026-07-07 07:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430167 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:11:51'::timestamp) - extract(epoch from '2026-07-07 07:11:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430179 -3.661005)', '2026-07-07 07:11:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:11:54'::timestamp) - extract(epoch from '2026-07-07 07:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:11:54'::timestamp) - extract(epoch from '2026-07-07 07:11:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430169 -3.660995)', '2026-07-07 07:12:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:12:01'::timestamp) - extract(epoch from '2026-07-07 07:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:12:01'::timestamp) - extract(epoch from '2026-07-07 07:11:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430156 -3.660993)', '2026-07-07 07:12:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:12:10'::timestamp) - extract(epoch from '2026-07-07 07:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430169 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:12:10'::timestamp) - extract(epoch from '2026-07-07 07:12:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430156 -3.661001)', '2026-07-07 07:12:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:12:19'::timestamp) - extract(epoch from '2026-07-07 07:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:12:19'::timestamp) - extract(epoch from '2026-07-07 07:12:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430157 -3.660993)', '2026-07-07 07:12:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.430157 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:12:27'::timestamp) - extract(epoch from '2026-07-07 07:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430156 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.430157 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:12:27'::timestamp) - extract(epoch from '2026-07-07 07:12:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430159 -3.660993)', '2026-07-07 07:12:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430157 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:12:40'::timestamp) - extract(epoch from '2026-07-07 07:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430157 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:12:40'::timestamp) - extract(epoch from '2026-07-07 07:12:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430163 -3.660994)', '2026-07-07 07:12:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:12:46'::timestamp) - extract(epoch from '2026-07-07 07:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:12:46'::timestamp) - extract(epoch from '2026-07-07 07:12:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430168 -3.660999)', '2026-07-07 07:12:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:12:54'::timestamp) - extract(epoch from '2026-07-07 07:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:12:54'::timestamp) - extract(epoch from '2026-07-07 07:12:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430166 -3.660996)', '2026-07-07 07:13:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:13:02'::timestamp) - extract(epoch from '2026-07-07 07:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:13:02'::timestamp) - extract(epoch from '2026-07-07 07:12:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430168 -3.660997)', '2026-07-07 07:13:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:13:09'::timestamp) - extract(epoch from '2026-07-07 07:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:13:09'::timestamp) - extract(epoch from '2026-07-07 07:13:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430159 -3.660997)', '2026-07-07 07:13:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:13:17'::timestamp) - extract(epoch from '2026-07-07 07:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430168 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:13:17'::timestamp) - extract(epoch from '2026-07-07 07:13:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430164 -3.660998)', '2026-07-07 07:13:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:13:24'::timestamp) - extract(epoch from '2026-07-07 07:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430159 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:13:24'::timestamp) - extract(epoch from '2026-07-07 07:13:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430162 -3.661002)', '2026-07-07 07:13:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:13:31'::timestamp) - extract(epoch from '2026-07-07 07:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:13:31'::timestamp) - extract(epoch from '2026-07-07 07:13:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430162 -3.661002)', '2026-07-07 07:13:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:13:32'::timestamp) - extract(epoch from '2026-07-07 07:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:13:32'::timestamp) - extract(epoch from '2026-07-07 07:13:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430163 -3.66101)', '2026-07-07 07:13:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:13:36'::timestamp) - extract(epoch from '2026-07-07 07:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430162 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:13:36'::timestamp) - extract(epoch from '2026-07-07 07:13:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.661005)', '2026-07-07 07:13:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:13:45'::timestamp) - extract(epoch from '2026-07-07 07:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430163 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:13:45'::timestamp) - extract(epoch from '2026-07-07 07:13:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430176 -3.661)', '2026-07-07 07:13:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661)'))) / (select extract(epoch from '2026-07-07 07:13:52'::timestamp) - extract(epoch from '2026-07-07 07:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661)'))) / (select extract(epoch from '2026-07-07 07:13:52'::timestamp) - extract(epoch from '2026-07-07 07:13:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430175 -3.661006)', '2026-07-07 07:14:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661006)'))) / (select extract(epoch from '2026-07-07 07:14:02'::timestamp) - extract(epoch from '2026-07-07 07:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661006)'))) / (select extract(epoch from '2026-07-07 07:14:02'::timestamp) - extract(epoch from '2026-07-07 07:13:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.661005)', '2026-07-07 07:14:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661006)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:14:12'::timestamp) - extract(epoch from '2026-07-07 07:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.661006)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:14:12'::timestamp) - extract(epoch from '2026-07-07 07:14:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430176 -3.66101)', '2026-07-07 07:14:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:14:21'::timestamp) - extract(epoch from '2026-07-07 07:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:14:21'::timestamp) - extract(epoch from '2026-07-07 07:14:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.661005)', '2026-07-07 07:14:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:14:27'::timestamp) - extract(epoch from '2026-07-07 07:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:14:27'::timestamp) - extract(epoch from '2026-07-07 07:14:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43017 -3.661008)', '2026-07-07 07:14:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661008)'))) / (select extract(epoch from '2026-07-07 07:14:35'::timestamp) - extract(epoch from '2026-07-07 07:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661008)'))) / (select extract(epoch from '2026-07-07 07:14:35'::timestamp) - extract(epoch from '2026-07-07 07:14:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.661004)', '2026-07-07 07:14:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661008)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:14:43'::timestamp) - extract(epoch from '2026-07-07 07:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.661008)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:14:43'::timestamp) - extract(epoch from '2026-07-07 07:14:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430174 -3.661007)', '2026-07-07 07:14:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:14:49'::timestamp) - extract(epoch from '2026-07-07 07:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:14:49'::timestamp) - extract(epoch from '2026-07-07 07:14:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43018 -3.66101)', '2026-07-07 07:14:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:14:55'::timestamp) - extract(epoch from '2026-07-07 07:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:14:55'::timestamp) - extract(epoch from '2026-07-07 07:14:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430188 -3.661004)', '2026-07-07 07:15:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:15:00'::timestamp) - extract(epoch from '2026-07-07 07:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:15:00'::timestamp) - extract(epoch from '2026-07-07 07:14:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.661012)', '2026-07-07 07:15:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661012)'))) / (select extract(epoch from '2026-07-07 07:15:07'::timestamp) - extract(epoch from '2026-07-07 07:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661012)'))) / (select extract(epoch from '2026-07-07 07:15:07'::timestamp) - extract(epoch from '2026-07-07 07:15:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430179 -3.661007)', '2026-07-07 07:15:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661012)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:15:16'::timestamp) - extract(epoch from '2026-07-07 07:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.661012)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:15:16'::timestamp) - extract(epoch from '2026-07-07 07:15:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430172 -3.660997)', '2026-07-07 07:15:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:15:26'::timestamp) - extract(epoch from '2026-07-07 07:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:15:26'::timestamp) - extract(epoch from '2026-07-07 07:15:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430161 -3.660989)', '2026-07-07 07:15:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430161 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:15:36'::timestamp) - extract(epoch from '2026-07-07 07:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430161 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:15:36'::timestamp) - extract(epoch from '2026-07-07 07:15:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430164 -3.66099)', '2026-07-07 07:15:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430161 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:15:43'::timestamp) - extract(epoch from '2026-07-07 07:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430161 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:15:43'::timestamp) - extract(epoch from '2026-07-07 07:15:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43017 -3.660994)', '2026-07-07 07:15:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:15:55'::timestamp) - extract(epoch from '2026-07-07 07:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:15:55'::timestamp) - extract(epoch from '2026-07-07 07:15:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430165 -3.661)', '2026-07-07 07:16:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430165 -3.661)'))) / (select extract(epoch from '2026-07-07 07:16:02'::timestamp) - extract(epoch from '2026-07-07 07:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43017 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430165 -3.661)'))) / (select extract(epoch from '2026-07-07 07:16:02'::timestamp) - extract(epoch from '2026-07-07 07:15:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430166 -3.660996)', '2026-07-07 07:16:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430165 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:16:09'::timestamp) - extract(epoch from '2026-07-07 07:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430165 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:16:09'::timestamp) - extract(epoch from '2026-07-07 07:16:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430166 -3.660997)', '2026-07-07 07:16:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:16:14'::timestamp) - extract(epoch from '2026-07-07 07:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:16:14'::timestamp) - extract(epoch from '2026-07-07 07:16:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430164 -3.660998)', '2026-07-07 07:16:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:16:15'::timestamp) - extract(epoch from '2026-07-07 07:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430166 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:16:15'::timestamp) - extract(epoch from '2026-07-07 07:16:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430172 -3.661001)', '2026-07-07 07:16:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:16:20'::timestamp) - extract(epoch from '2026-07-07 07:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430164 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:16:20'::timestamp) - extract(epoch from '2026-07-07 07:16:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430176 -3.660997)', '2026-07-07 07:16:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:16:27'::timestamp) - extract(epoch from '2026-07-07 07:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:16:27'::timestamp) - extract(epoch from '2026-07-07 07:16:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430181 -3.660995)', '2026-07-07 07:16:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:16:44'::timestamp) - extract(epoch from '2026-07-07 07:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:16:44'::timestamp) - extract(epoch from '2026-07-07 07:16:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430181 -3.660985)', '2026-07-07 07:16:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:16:51'::timestamp) - extract(epoch from '2026-07-07 07:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:16:51'::timestamp) - extract(epoch from '2026-07-07 07:16:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430175 -3.660993)', '2026-07-07 07:16:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:16:58'::timestamp) - extract(epoch from '2026-07-07 07:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:16:58'::timestamp) - extract(epoch from '2026-07-07 07:16:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430172 -3.660993)', '2026-07-07 07:17:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:17:05'::timestamp) - extract(epoch from '2026-07-07 07:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430175 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:17:05'::timestamp) - extract(epoch from '2026-07-07 07:16:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430182 -3.660998)', '2026-07-07 07:17:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:17:11'::timestamp) - extract(epoch from '2026-07-07 07:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430172 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:17:11'::timestamp) - extract(epoch from '2026-07-07 07:17:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.660997)', '2026-07-07 07:17:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:17:20'::timestamp) - extract(epoch from '2026-07-07 07:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:17:20'::timestamp) - extract(epoch from '2026-07-07 07:17:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.661)', '2026-07-07 07:17:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661)'))) / (select extract(epoch from '2026-07-07 07:17:28'::timestamp) - extract(epoch from '2026-07-07 07:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661)'))) / (select extract(epoch from '2026-07-07 07:17:28'::timestamp) - extract(epoch from '2026-07-07 07:17:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430179 -3.661004)', '2026-07-07 07:17:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:17:32'::timestamp) - extract(epoch from '2026-07-07 07:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:17:32'::timestamp) - extract(epoch from '2026-07-07 07:17:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430191 -3.661004)', '2026-07-07 07:17:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:17:41'::timestamp) - extract(epoch from '2026-07-07 07:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:17:41'::timestamp) - extract(epoch from '2026-07-07 07:17:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.66101)', '2026-07-07 07:17:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:17:48'::timestamp) - extract(epoch from '2026-07-07 07:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:17:48'::timestamp) - extract(epoch from '2026-07-07 07:17:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430189 -3.661005)', '2026-07-07 07:17:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:17:55'::timestamp) - extract(epoch from '2026-07-07 07:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:17:55'::timestamp) - extract(epoch from '2026-07-07 07:17:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.660995)', '2026-07-07 07:18:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:18:04'::timestamp) - extract(epoch from '2026-07-07 07:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:18:04'::timestamp) - extract(epoch from '2026-07-07 07:17:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430187 -3.660997)', '2026-07-07 07:18:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:18:14'::timestamp) - extract(epoch from '2026-07-07 07:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:18:14'::timestamp) - extract(epoch from '2026-07-07 07:18:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430187 -3.661001)', '2026-07-07 07:18:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:18:19'::timestamp) - extract(epoch from '2026-07-07 07:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.661001)'))) / (select extract(epoch from '2026-07-07 07:18:19'::timestamp) - extract(epoch from '2026-07-07 07:18:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430185 -3.661005)', '2026-07-07 07:18:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:18:28'::timestamp) - extract(epoch from '2026-07-07 07:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.661001)'), GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:18:28'::timestamp) - extract(epoch from '2026-07-07 07:18:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430179 -3.661006)', '2026-07-07 07:18:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661006)'))) / (select extract(epoch from '2026-07-07 07:18:35'::timestamp) - extract(epoch from '2026-07-07 07:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430185 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661006)'))) / (select extract(epoch from '2026-07-07 07:18:35'::timestamp) - extract(epoch from '2026-07-07 07:18:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.661003)', '2026-07-07 07:18:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661006)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:18:42'::timestamp) - extract(epoch from '2026-07-07 07:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430179 -3.661006)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:18:42'::timestamp) - extract(epoch from '2026-07-07 07:18:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430176 -3.660998)', '2026-07-07 07:18:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:18:46'::timestamp) - extract(epoch from '2026-07-07 07:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:18:46'::timestamp) - extract(epoch from '2026-07-07 07:18:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.660993)', '2026-07-07 07:18:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:18:51'::timestamp) - extract(epoch from '2026-07-07 07:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430176 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:18:51'::timestamp) - extract(epoch from '2026-07-07 07:18:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430182 -3.660991)', '2026-07-07 07:19:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:19:00'::timestamp) - extract(epoch from '2026-07-07 07:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:19:00'::timestamp) - extract(epoch from '2026-07-07 07:18:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.660984)', '2026-07-07 07:19:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:19:12'::timestamp) - extract(epoch from '2026-07-07 07:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430182 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:19:12'::timestamp) - extract(epoch from '2026-07-07 07:19:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.660995)', '2026-07-07 07:19:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:19:16'::timestamp) - extract(epoch from '2026-07-07 07:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:19:16'::timestamp) - extract(epoch from '2026-07-07 07:19:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430186 -3.660997)', '2026-07-07 07:19:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:19:22'::timestamp) - extract(epoch from '2026-07-07 07:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:19:22'::timestamp) - extract(epoch from '2026-07-07 07:19:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430195 -3.661)', '2026-07-07 07:19:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.661)'))) / (select extract(epoch from '2026-07-07 07:19:30'::timestamp) - extract(epoch from '2026-07-07 07:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.661)'))) / (select extract(epoch from '2026-07-07 07:19:30'::timestamp) - extract(epoch from '2026-07-07 07:19:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430203 -3.661005)', '2026-07-07 07:19:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:19:40'::timestamp) - extract(epoch from '2026-07-07 07:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:19:40'::timestamp) - extract(epoch from '2026-07-07 07:19:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.661002)', '2026-07-07 07:19:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:19:51'::timestamp) - extract(epoch from '2026-07-07 07:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:19:51'::timestamp) - extract(epoch from '2026-07-07 07:19:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.661002)', '2026-07-07 07:20:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:20:00'::timestamp) - extract(epoch from '2026-07-07 07:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:20:00'::timestamp) - extract(epoch from '2026-07-07 07:19:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.661003)', '2026-07-07 07:20:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:20:08'::timestamp) - extract(epoch from '2026-07-07 07:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:20:08'::timestamp) - extract(epoch from '2026-07-07 07:20:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430198 -3.661006)', '2026-07-07 07:20:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661006)'))) / (select extract(epoch from '2026-07-07 07:20:15'::timestamp) - extract(epoch from '2026-07-07 07:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661006)'))) / (select extract(epoch from '2026-07-07 07:20:15'::timestamp) - extract(epoch from '2026-07-07 07:20:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.661005)', '2026-07-07 07:20:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661006)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:20:17'::timestamp) - extract(epoch from '2026-07-07 07:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.661006)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:20:17'::timestamp) - extract(epoch from '2026-07-07 07:20:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430202 -3.661009)', '2026-07-07 07:20:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661009)'))) / (select extract(epoch from '2026-07-07 07:20:25'::timestamp) - extract(epoch from '2026-07-07 07:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661009)'))) / (select extract(epoch from '2026-07-07 07:20:25'::timestamp) - extract(epoch from '2026-07-07 07:20:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430201 -3.661015)', '2026-07-07 07:20:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661009)'), GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661015)'))) / (select extract(epoch from '2026-07-07 07:20:31'::timestamp) - extract(epoch from '2026-07-07 07:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661009)'), GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661015)'))) / (select extract(epoch from '2026-07-07 07:20:31'::timestamp) - extract(epoch from '2026-07-07 07:20:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430192 -3.661009)', '2026-07-07 07:20:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661015)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661009)'))) / (select extract(epoch from '2026-07-07 07:20:40'::timestamp) - extract(epoch from '2026-07-07 07:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.661015)'), GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661009)'))) / (select extract(epoch from '2026-07-07 07:20:40'::timestamp) - extract(epoch from '2026-07-07 07:20:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.66101)', '2026-07-07 07:20:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661009)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:20:41'::timestamp) - extract(epoch from '2026-07-07 07:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430192 -3.661009)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:20:41'::timestamp) - extract(epoch from '2026-07-07 07:20:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430208 -3.661008)', '2026-07-07 07:20:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430208 -3.661008)'))) / (select extract(epoch from '2026-07-07 07:20:44'::timestamp) - extract(epoch from '2026-07-07 07:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430208 -3.661008)'))) / (select extract(epoch from '2026-07-07 07:20:44'::timestamp) - extract(epoch from '2026-07-07 07:20:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430202 -3.661008)', '2026-07-07 07:20:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430208 -3.661008)'), GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661008)'))) / (select extract(epoch from '2026-07-07 07:20:51'::timestamp) - extract(epoch from '2026-07-07 07:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430208 -3.661008)'), GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661008)'))) / (select extract(epoch from '2026-07-07 07:20:51'::timestamp) - extract(epoch from '2026-07-07 07:20:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430203 -3.661004)', '2026-07-07 07:21:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661008)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:21:01'::timestamp) - extract(epoch from '2026-07-07 07:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.661008)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661004)'))) / (select extract(epoch from '2026-07-07 07:21:01'::timestamp) - extract(epoch from '2026-07-07 07:20:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430207 -3.661002)', '2026-07-07 07:21:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:21:13'::timestamp) - extract(epoch from '2026-07-07 07:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.661004)'), GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.661002)'))) / (select extract(epoch from '2026-07-07 07:21:13'::timestamp) - extract(epoch from '2026-07-07 07:21:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430212 -3.661005)', '2026-07-07 07:21:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:21:27'::timestamp) - extract(epoch from '2026-07-07 07:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.661002)'), GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:21:27'::timestamp) - extract(epoch from '2026-07-07 07:21:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430213 -3.661005)', '2026-07-07 07:21:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:21:36'::timestamp) - extract(epoch from '2026-07-07 07:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:21:36'::timestamp) - extract(epoch from '2026-07-07 07:21:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430211 -3.661005)', '2026-07-07 07:21:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:21:45'::timestamp) - extract(epoch from '2026-07-07 07:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:21:45'::timestamp) - extract(epoch from '2026-07-07 07:21:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430205 -3.661007)', '2026-07-07 07:21:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:21:52'::timestamp) - extract(epoch from '2026-07-07 07:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:21:52'::timestamp) - extract(epoch from '2026-07-07 07:21:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430204 -3.660998)', '2026-07-07 07:22:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:22:01'::timestamp) - extract(epoch from '2026-07-07 07:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:22:01'::timestamp) - extract(epoch from '2026-07-07 07:21:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430207 -3.660989)', '2026-07-07 07:22:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:22:07'::timestamp) - extract(epoch from '2026-07-07 07:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:22:07'::timestamp) - extract(epoch from '2026-07-07 07:22:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430203 -3.660994)', '2026-07-07 07:22:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:22:12'::timestamp) - extract(epoch from '2026-07-07 07:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430207 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:22:12'::timestamp) - extract(epoch from '2026-07-07 07:22:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430204 -3.66099)', '2026-07-07 07:22:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:22:18'::timestamp) - extract(epoch from '2026-07-07 07:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:22:18'::timestamp) - extract(epoch from '2026-07-07 07:22:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430204 -3.660986)', '2026-07-07 07:22:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:22:28'::timestamp) - extract(epoch from '2026-07-07 07:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:22:28'::timestamp) - extract(epoch from '2026-07-07 07:22:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430196 -3.660989)', '2026-07-07 07:22:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:22:39'::timestamp) - extract(epoch from '2026-07-07 07:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:22:39'::timestamp) - extract(epoch from '2026-07-07 07:22:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.660982)', '2026-07-07 07:22:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:22:47'::timestamp) - extract(epoch from '2026-07-07 07:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:22:47'::timestamp) - extract(epoch from '2026-07-07 07:22:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430189 -3.660978)', '2026-07-07 07:22:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:22:57'::timestamp) - extract(epoch from '2026-07-07 07:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:22:57'::timestamp) - extract(epoch from '2026-07-07 07:22:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43019 -3.660979)', '2026-07-07 07:23:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:04'::timestamp) - extract(epoch from '2026-07-07 07:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:04'::timestamp) - extract(epoch from '2026-07-07 07:22:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430191 -3.660976)', '2026-07-07 07:23:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'))) / (select extract(epoch from '2026-07-07 07:23:13'::timestamp) - extract(epoch from '2026-07-07 07:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'))) / (select extract(epoch from '2026-07-07 07:23:13'::timestamp) - extract(epoch from '2026-07-07 07:23:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430186 -3.660975)', '2026-07-07 07:23:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:23:20'::timestamp) - extract(epoch from '2026-07-07 07:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:23:20'::timestamp) - extract(epoch from '2026-07-07 07:23:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430188 -3.660975)', '2026-07-07 07:23:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:23:28'::timestamp) - extract(epoch from '2026-07-07 07:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:23:28'::timestamp) - extract(epoch from '2026-07-07 07:23:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430181 -3.660979)', '2026-07-07 07:23:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:34'::timestamp) - extract(epoch from '2026-07-07 07:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430188 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:34'::timestamp) - extract(epoch from '2026-07-07 07:23:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.660979)', '2026-07-07 07:23:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:40'::timestamp) - extract(epoch from '2026-07-07 07:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:40'::timestamp) - extract(epoch from '2026-07-07 07:23:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.660979)', '2026-07-07 07:23:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:43'::timestamp) - extract(epoch from '2026-07-07 07:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:23:43'::timestamp) - extract(epoch from '2026-07-07 07:23:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430191 -3.660976)', '2026-07-07 07:23:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'))) / (select extract(epoch from '2026-07-07 07:23:46'::timestamp) - extract(epoch from '2026-07-07 07:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'))) / (select extract(epoch from '2026-07-07 07:23:46'::timestamp) - extract(epoch from '2026-07-07 07:23:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.660978)', '2026-07-07 07:23:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:23:54'::timestamp) - extract(epoch from '2026-07-07 07:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430191 -3.660976)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:23:54'::timestamp) - extract(epoch from '2026-07-07 07:23:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.660972)', '2026-07-07 07:24:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:24:02'::timestamp) - extract(epoch from '2026-07-07 07:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:24:02'::timestamp) - extract(epoch from '2026-07-07 07:23:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430189 -3.660977)', '2026-07-07 07:24:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660977)'))) / (select extract(epoch from '2026-07-07 07:24:10'::timestamp) - extract(epoch from '2026-07-07 07:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660977)'))) / (select extract(epoch from '2026-07-07 07:24:10'::timestamp) - extract(epoch from '2026-07-07 07:24:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.660972)', '2026-07-07 07:24:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660977)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:24:17'::timestamp) - extract(epoch from '2026-07-07 07:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660977)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:24:17'::timestamp) - extract(epoch from '2026-07-07 07:24:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430186 -3.660975)', '2026-07-07 07:24:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:24:25'::timestamp) - extract(epoch from '2026-07-07 07:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:24:25'::timestamp) - extract(epoch from '2026-07-07 07:24:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430186 -3.66097)', '2026-07-07 07:24:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.66097)'))) / (select extract(epoch from '2026-07-07 07:24:32'::timestamp) - extract(epoch from '2026-07-07 07:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.66097)'))) / (select extract(epoch from '2026-07-07 07:24:32'::timestamp) - extract(epoch from '2026-07-07 07:24:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430184 -3.660965)', '2026-07-07 07:24:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.66097)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660965)'))) / (select extract(epoch from '2026-07-07 07:24:42'::timestamp) - extract(epoch from '2026-07-07 07:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.66097)'), GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660965)'))) / (select extract(epoch from '2026-07-07 07:24:42'::timestamp) - extract(epoch from '2026-07-07 07:24:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430186 -3.660967)', '2026-07-07 07:24:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660965)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660967)'))) / (select extract(epoch from '2026-07-07 07:24:53'::timestamp) - extract(epoch from '2026-07-07 07:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430184 -3.660965)'), GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660967)'))) / (select extract(epoch from '2026-07-07 07:24:53'::timestamp) - extract(epoch from '2026-07-07 07:24:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430189 -3.660966)', '2026-07-07 07:25:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660967)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660966)'))) / (select extract(epoch from '2026-07-07 07:25:00'::timestamp) - extract(epoch from '2026-07-07 07:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430186 -3.660967)'), GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660966)'))) / (select extract(epoch from '2026-07-07 07:25:00'::timestamp) - extract(epoch from '2026-07-07 07:24:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430195 -3.660966)', '2026-07-07 07:25:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660966)'), GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.660966)'))) / (select extract(epoch from '2026-07-07 07:25:08'::timestamp) - extract(epoch from '2026-07-07 07:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430189 -3.660966)'), GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.660966)'))) / (select extract(epoch from '2026-07-07 07:25:08'::timestamp) - extract(epoch from '2026-07-07 07:25:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43019 -3.660951)', '2026-07-07 07:25:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.660966)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:25:19'::timestamp) - extract(epoch from '2026-07-07 07:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430195 -3.660966)'), GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:25:19'::timestamp) - extract(epoch from '2026-07-07 07:25:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430196 -3.660959)', '2026-07-07 07:25:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660959)'))) / (select extract(epoch from '2026-07-07 07:25:28'::timestamp) - extract(epoch from '2026-07-07 07:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43019 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660959)'))) / (select extract(epoch from '2026-07-07 07:25:28'::timestamp) - extract(epoch from '2026-07-07 07:25:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430193 -3.660963)', '2026-07-07 07:25:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660959)'), GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.660963)'))) / (select extract(epoch from '2026-07-07 07:25:34'::timestamp) - extract(epoch from '2026-07-07 07:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660959)'), GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.660963)'))) / (select extract(epoch from '2026-07-07 07:25:34'::timestamp) - extract(epoch from '2026-07-07 07:25:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430194 -3.660961)', '2026-07-07 07:25:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.660963)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'))) / (select extract(epoch from '2026-07-07 07:25:40'::timestamp) - extract(epoch from '2026-07-07 07:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430193 -3.660963)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'))) / (select extract(epoch from '2026-07-07 07:25:40'::timestamp) - extract(epoch from '2026-07-07 07:25:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430187 -3.660956)', '2026-07-07 07:25:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'), GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660956)'))) / (select extract(epoch from '2026-07-07 07:25:51'::timestamp) - extract(epoch from '2026-07-07 07:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'), GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660956)'))) / (select extract(epoch from '2026-07-07 07:25:51'::timestamp) - extract(epoch from '2026-07-07 07:25:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.660957)', '2026-07-07 07:26:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660956)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660957)'))) / (select extract(epoch from '2026-07-07 07:26:01'::timestamp) - extract(epoch from '2026-07-07 07:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430187 -3.660956)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660957)'))) / (select extract(epoch from '2026-07-07 07:26:01'::timestamp) - extract(epoch from '2026-07-07 07:25:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.660957)', '2026-07-07 07:26:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660957)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660957)'))) / (select extract(epoch from '2026-07-07 07:26:06'::timestamp) - extract(epoch from '2026-07-07 07:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660957)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660957)'))) / (select extract(epoch from '2026-07-07 07:26:06'::timestamp) - extract(epoch from '2026-07-07 07:26:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430181 -3.660953)', '2026-07-07 07:26:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660957)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660953)'))) / (select extract(epoch from '2026-07-07 07:26:13'::timestamp) - extract(epoch from '2026-07-07 07:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660957)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660953)'))) / (select extract(epoch from '2026-07-07 07:26:13'::timestamp) - extract(epoch from '2026-07-07 07:26:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430177 -3.660953)', '2026-07-07 07:26:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660953)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660953)'))) / (select extract(epoch from '2026-07-07 07:26:20'::timestamp) - extract(epoch from '2026-07-07 07:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660953)'), GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660953)'))) / (select extract(epoch from '2026-07-07 07:26:20'::timestamp) - extract(epoch from '2026-07-07 07:26:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430174 -3.660955)', '2026-07-07 07:26:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660953)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.660955)'))) / (select extract(epoch from '2026-07-07 07:26:26'::timestamp) - extract(epoch from '2026-07-07 07:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430177 -3.660953)'), GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.660955)'))) / (select extract(epoch from '2026-07-07 07:26:26'::timestamp) - extract(epoch from '2026-07-07 07:26:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43018 -3.660956)', '2026-07-07 07:26:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.660955)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.660956)'))) / (select extract(epoch from '2026-07-07 07:26:32'::timestamp) - extract(epoch from '2026-07-07 07:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430174 -3.660955)'), GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.660956)'))) / (select extract(epoch from '2026-07-07 07:26:32'::timestamp) - extract(epoch from '2026-07-07 07:26:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.660949)', '2026-07-07 07:26:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.660956)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660949)'))) / (select extract(epoch from '2026-07-07 07:26:37'::timestamp) - extract(epoch from '2026-07-07 07:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43018 -3.660956)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660949)'))) / (select extract(epoch from '2026-07-07 07:26:37'::timestamp) - extract(epoch from '2026-07-07 07:26:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.660951)', '2026-07-07 07:26:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660949)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:26:43'::timestamp) - extract(epoch from '2026-07-07 07:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660949)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:26:43'::timestamp) - extract(epoch from '2026-07-07 07:26:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430181 -3.660951)', '2026-07-07 07:26:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:26:50'::timestamp) - extract(epoch from '2026-07-07 07:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:26:50'::timestamp) - extract(epoch from '2026-07-07 07:26:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430197 -3.660951)', '2026-07-07 07:26:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:26:57'::timestamp) - extract(epoch from '2026-07-07 07:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430181 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660951)'))) / (select extract(epoch from '2026-07-07 07:26:57'::timestamp) - extract(epoch from '2026-07-07 07:26:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.660955)', '2026-07-07 07:27:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660955)'))) / (select extract(epoch from '2026-07-07 07:27:06'::timestamp) - extract(epoch from '2026-07-07 07:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430197 -3.660951)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660955)'))) / (select extract(epoch from '2026-07-07 07:27:06'::timestamp) - extract(epoch from '2026-07-07 07:26:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430202 -3.660958)', '2026-07-07 07:27:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660955)'), GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.660958)'))) / (select extract(epoch from '2026-07-07 07:27:12'::timestamp) - extract(epoch from '2026-07-07 07:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660955)'), GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.660958)'))) / (select extract(epoch from '2026-07-07 07:27:12'::timestamp) - extract(epoch from '2026-07-07 07:27:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.660964)', '2026-07-07 07:27:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.660958)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660964)'))) / (select extract(epoch from '2026-07-07 07:27:19'::timestamp) - extract(epoch from '2026-07-07 07:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430202 -3.660958)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660964)'))) / (select extract(epoch from '2026-07-07 07:27:19'::timestamp) - extract(epoch from '2026-07-07 07:27:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430201 -3.660961)', '2026-07-07 07:27:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660964)'), GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.660961)'))) / (select extract(epoch from '2026-07-07 07:27:26'::timestamp) - extract(epoch from '2026-07-07 07:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660964)'), GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.660961)'))) / (select extract(epoch from '2026-07-07 07:27:26'::timestamp) - extract(epoch from '2026-07-07 07:27:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430194 -3.66096)', '2026-07-07 07:27:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.660961)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.66096)'))) / (select extract(epoch from '2026-07-07 07:27:34'::timestamp) - extract(epoch from '2026-07-07 07:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430201 -3.660961)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.66096)'))) / (select extract(epoch from '2026-07-07 07:27:34'::timestamp) - extract(epoch from '2026-07-07 07:27:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430194 -3.660961)', '2026-07-07 07:27:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.66096)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'))) / (select extract(epoch from '2026-07-07 07:27:47'::timestamp) - extract(epoch from '2026-07-07 07:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.66096)'), GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'))) / (select extract(epoch from '2026-07-07 07:27:47'::timestamp) - extract(epoch from '2026-07-07 07:27:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.66096)', '2026-07-07 07:27:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66096)'))) / (select extract(epoch from '2026-07-07 07:27:55'::timestamp) - extract(epoch from '2026-07-07 07:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430194 -3.660961)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66096)'))) / (select extract(epoch from '2026-07-07 07:27:55'::timestamp) - extract(epoch from '2026-07-07 07:27:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.660966)', '2026-07-07 07:28:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66096)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660966)'))) / (select extract(epoch from '2026-07-07 07:28:03'::timestamp) - extract(epoch from '2026-07-07 07:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.66096)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660966)'))) / (select extract(epoch from '2026-07-07 07:28:03'::timestamp) - extract(epoch from '2026-07-07 07:27:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430203 -3.660973)', '2026-07-07 07:28:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660966)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660973)'))) / (select extract(epoch from '2026-07-07 07:28:14'::timestamp) - extract(epoch from '2026-07-07 07:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.660966)'), GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660973)'))) / (select extract(epoch from '2026-07-07 07:28:14'::timestamp) - extract(epoch from '2026-07-07 07:28:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430199 -3.66097)', '2026-07-07 07:28:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660973)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.66097)'))) / (select extract(epoch from '2026-07-07 07:28:20'::timestamp) - extract(epoch from '2026-07-07 07:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430203 -3.660973)'), GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.66097)'))) / (select extract(epoch from '2026-07-07 07:28:20'::timestamp) - extract(epoch from '2026-07-07 07:28:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430196 -3.660972)', '2026-07-07 07:28:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.66097)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:28:25'::timestamp) - extract(epoch from '2026-07-07 07:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430199 -3.66097)'), GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:28:25'::timestamp) - extract(epoch from '2026-07-07 07:28:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430204 -3.660977)', '2026-07-07 07:28:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660977)'))) / (select extract(epoch from '2026-07-07 07:28:30'::timestamp) - extract(epoch from '2026-07-07 07:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430196 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660977)'))) / (select extract(epoch from '2026-07-07 07:28:30'::timestamp) - extract(epoch from '2026-07-07 07:28:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430198 -3.660981)', '2026-07-07 07:28:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660977)'), GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:28:36'::timestamp) - extract(epoch from '2026-07-07 07:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.660977)'), GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:28:36'::timestamp) - extract(epoch from '2026-07-07 07:28:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430205 -3.660982)', '2026-07-07 07:28:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:28:43'::timestamp) - extract(epoch from '2026-07-07 07:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430198 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:28:43'::timestamp) - extract(epoch from '2026-07-07 07:28:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430206 -3.660978)', '2026-07-07 07:28:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:28:53'::timestamp) - extract(epoch from '2026-07-07 07:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:28:53'::timestamp) - extract(epoch from '2026-07-07 07:28:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430213 -3.660983)', '2026-07-07 07:29:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:29:01'::timestamp) - extract(epoch from '2026-07-07 07:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:29:01'::timestamp) - extract(epoch from '2026-07-07 07:28:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430205 -3.660978)', '2026-07-07 07:29:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:29:07'::timestamp) - extract(epoch from '2026-07-07 07:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430213 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:29:07'::timestamp) - extract(epoch from '2026-07-07 07:29:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43021 -3.660974)', '2026-07-07 07:29:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660974)'))) / (select extract(epoch from '2026-07-07 07:29:14'::timestamp) - extract(epoch from '2026-07-07 07:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660974)'))) / (select extract(epoch from '2026-07-07 07:29:14'::timestamp) - extract(epoch from '2026-07-07 07:29:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430205 -3.660967)', '2026-07-07 07:29:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660974)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660967)'))) / (select extract(epoch from '2026-07-07 07:29:19'::timestamp) - extract(epoch from '2026-07-07 07:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660974)'), GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660967)'))) / (select extract(epoch from '2026-07-07 07:29:19'::timestamp) - extract(epoch from '2026-07-07 07:29:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4302 -3.660964)', '2026-07-07 07:29:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660967)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660964)'))) / (select extract(epoch from '2026-07-07 07:29:27'::timestamp) - extract(epoch from '2026-07-07 07:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430205 -3.660967)'), GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660964)'))) / (select extract(epoch from '2026-07-07 07:29:27'::timestamp) - extract(epoch from '2026-07-07 07:29:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430206 -3.660967)', '2026-07-07 07:29:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660964)'), GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660967)'))) / (select extract(epoch from '2026-07-07 07:29:36'::timestamp) - extract(epoch from '2026-07-07 07:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4302 -3.660964)'), GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660967)'))) / (select extract(epoch from '2026-07-07 07:29:36'::timestamp) - extract(epoch from '2026-07-07 07:29:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430212 -3.660972)', '2026-07-07 07:29:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660967)'), GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:29:45'::timestamp) - extract(epoch from '2026-07-07 07:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430206 -3.660967)'), GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:29:45'::timestamp) - extract(epoch from '2026-07-07 07:29:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430212 -3.660972)', '2026-07-07 07:29:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:29:46'::timestamp) - extract(epoch from '2026-07-07 07:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:29:46'::timestamp) - extract(epoch from '2026-07-07 07:29:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430233 -3.660975)', '2026-07-07 07:29:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430233 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:29:50'::timestamp) - extract(epoch from '2026-07-07 07:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430212 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430233 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:29:50'::timestamp) - extract(epoch from '2026-07-07 07:29:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430216 -3.660979)', '2026-07-07 07:29:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430233 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:29:57'::timestamp) - extract(epoch from '2026-07-07 07:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430233 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:29:57'::timestamp) - extract(epoch from '2026-07-07 07:29:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430217 -3.66097)', '2026-07-07 07:30:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.66097)'))) / (select extract(epoch from '2026-07-07 07:30:07'::timestamp) - extract(epoch from '2026-07-07 07:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.66097)'))) / (select extract(epoch from '2026-07-07 07:30:07'::timestamp) - extract(epoch from '2026-07-07 07:29:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430217 -3.660974)', '2026-07-07 07:30:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.66097)'), GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.660974)'))) / (select extract(epoch from '2026-07-07 07:30:09'::timestamp) - extract(epoch from '2026-07-07 07:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.66097)'), GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.660974)'))) / (select extract(epoch from '2026-07-07 07:30:09'::timestamp) - extract(epoch from '2026-07-07 07:30:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430211 -3.660974)', '2026-07-07 07:30:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.660974)'), GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.660974)'))) / (select extract(epoch from '2026-07-07 07:30:12'::timestamp) - extract(epoch from '2026-07-07 07:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430217 -3.660974)'), GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.660974)'))) / (select extract(epoch from '2026-07-07 07:30:12'::timestamp) - extract(epoch from '2026-07-07 07:30:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430216 -3.660973)', '2026-07-07 07:30:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.660974)'), GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660973)'))) / (select extract(epoch from '2026-07-07 07:30:19'::timestamp) - extract(epoch from '2026-07-07 07:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430211 -3.660974)'), GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660973)'))) / (select extract(epoch from '2026-07-07 07:30:19'::timestamp) - extract(epoch from '2026-07-07 07:30:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43021 -3.660971)', '2026-07-07 07:30:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660973)'), GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:30:25'::timestamp) - extract(epoch from '2026-07-07 07:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430216 -3.660973)'), GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:30:25'::timestamp) - extract(epoch from '2026-07-07 07:30:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430227 -3.660971)', '2026-07-07 07:30:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:30:35'::timestamp) - extract(epoch from '2026-07-07 07:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43021 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:30:35'::timestamp) - extract(epoch from '2026-07-07 07:30:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430215 -3.660969)', '2026-07-07 07:30:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430215 -3.660969)'))) / (select extract(epoch from '2026-07-07 07:30:42'::timestamp) - extract(epoch from '2026-07-07 07:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430215 -3.660969)'))) / (select extract(epoch from '2026-07-07 07:30:42'::timestamp) - extract(epoch from '2026-07-07 07:30:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430221 -3.660969)', '2026-07-07 07:30:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430215 -3.660969)'), GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.660969)'))) / (select extract(epoch from '2026-07-07 07:30:49'::timestamp) - extract(epoch from '2026-07-07 07:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430215 -3.660969)'), GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.660969)'))) / (select extract(epoch from '2026-07-07 07:30:49'::timestamp) - extract(epoch from '2026-07-07 07:30:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430218 -3.660971)', '2026-07-07 07:30:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.660969)'), GeomFromEWKT('SRID=4674;POINT (-38.430218 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:30:54'::timestamp) - extract(epoch from '2026-07-07 07:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430221 -3.660969)'), GeomFromEWKT('SRID=4674;POINT (-38.430218 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:30:54'::timestamp) - extract(epoch from '2026-07-07 07:30:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430227 -3.660971)', '2026-07-07 07:31:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430218 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:31:01'::timestamp) - extract(epoch from '2026-07-07 07:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430218 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'))) / (select extract(epoch from '2026-07-07 07:31:01'::timestamp) - extract(epoch from '2026-07-07 07:30:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430219 -3.660975)', '2026-07-07 07:31:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:31:12'::timestamp) - extract(epoch from '2026-07-07 07:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660971)'), GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660975)'))) / (select extract(epoch from '2026-07-07 07:31:12'::timestamp) - extract(epoch from '2026-07-07 07:31:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430226 -3.660981)', '2026-07-07 07:31:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:31:16'::timestamp) - extract(epoch from '2026-07-07 07:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660975)'), GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:31:16'::timestamp) - extract(epoch from '2026-07-07 07:31:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430224 -3.660983)', '2026-07-07 07:31:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430224 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:31:27'::timestamp) - extract(epoch from '2026-07-07 07:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430224 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:31:27'::timestamp) - extract(epoch from '2026-07-07 07:31:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430225 -3.660987)', '2026-07-07 07:31:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430224 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:31:32'::timestamp) - extract(epoch from '2026-07-07 07:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430224 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:31:32'::timestamp) - extract(epoch from '2026-07-07 07:31:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430219 -3.660988)', '2026-07-07 07:31:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:31:38'::timestamp) - extract(epoch from '2026-07-07 07:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:31:38'::timestamp) - extract(epoch from '2026-07-07 07:31:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430231 -3.660981)', '2026-07-07 07:31:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:31:45'::timestamp) - extract(epoch from '2026-07-07 07:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:31:45'::timestamp) - extract(epoch from '2026-07-07 07:31:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430237 -3.660984)', '2026-07-07 07:31:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430237 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:31:51'::timestamp) - extract(epoch from '2026-07-07 07:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430237 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:31:51'::timestamp) - extract(epoch from '2026-07-07 07:31:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430229 -3.660986)', '2026-07-07 07:31:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430237 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:31:56'::timestamp) - extract(epoch from '2026-07-07 07:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430237 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:31:56'::timestamp) - extract(epoch from '2026-07-07 07:31:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430219 -3.66099)', '2026-07-07 07:32:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:32:03'::timestamp) - extract(epoch from '2026-07-07 07:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:32:03'::timestamp) - extract(epoch from '2026-07-07 07:31:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430222 -3.660982)', '2026-07-07 07:32:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430222 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:32:09'::timestamp) - extract(epoch from '2026-07-07 07:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430219 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430222 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:32:09'::timestamp) - extract(epoch from '2026-07-07 07:32:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430227 -3.660983)', '2026-07-07 07:32:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430222 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:32:19'::timestamp) - extract(epoch from '2026-07-07 07:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430222 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:32:19'::timestamp) - extract(epoch from '2026-07-07 07:32:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430223 -3.66098)', '2026-07-07 07:32:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.66098)'))) / (select extract(epoch from '2026-07-07 07:32:25'::timestamp) - extract(epoch from '2026-07-07 07:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430227 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.66098)'))) / (select extract(epoch from '2026-07-07 07:32:25'::timestamp) - extract(epoch from '2026-07-07 07:32:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430226 -3.660977)', '2026-07-07 07:32:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.66098)'), GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660977)'))) / (select extract(epoch from '2026-07-07 07:32:31'::timestamp) - extract(epoch from '2026-07-07 07:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430223 -3.66098)'), GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660977)'))) / (select extract(epoch from '2026-07-07 07:32:31'::timestamp) - extract(epoch from '2026-07-07 07:32:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430226 -3.660972)', '2026-07-07 07:32:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660977)'), GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:32:39'::timestamp) - extract(epoch from '2026-07-07 07:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660977)'), GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:32:39'::timestamp) - extract(epoch from '2026-07-07 07:32:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430225 -3.660972)', '2026-07-07 07:32:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:32:43'::timestamp) - extract(epoch from '2026-07-07 07:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430226 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660972)'))) / (select extract(epoch from '2026-07-07 07:32:43'::timestamp) - extract(epoch from '2026-07-07 07:32:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430228 -3.660976)', '2026-07-07 07:32:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430228 -3.660976)'))) / (select extract(epoch from '2026-07-07 07:32:51'::timestamp) - extract(epoch from '2026-07-07 07:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430225 -3.660972)'), GeomFromEWKT('SRID=4674;POINT (-38.430228 -3.660976)'))) / (select extract(epoch from '2026-07-07 07:32:51'::timestamp) - extract(epoch from '2026-07-07 07:32:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430235 -3.660978)', '2026-07-07 07:33:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430228 -3.660976)'), GeomFromEWKT('SRID=4674;POINT (-38.430235 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:33:01'::timestamp) - extract(epoch from '2026-07-07 07:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430228 -3.660976)'), GeomFromEWKT('SRID=4674;POINT (-38.430235 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:33:01'::timestamp) - extract(epoch from '2026-07-07 07:32:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430229 -3.660981)', '2026-07-07 07:33:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430235 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:33:08'::timestamp) - extract(epoch from '2026-07-07 07:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430235 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:33:08'::timestamp) - extract(epoch from '2026-07-07 07:33:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430232 -3.660979)', '2026-07-07 07:33:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:33:15'::timestamp) - extract(epoch from '2026-07-07 07:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430229 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660979)'))) / (select extract(epoch from '2026-07-07 07:33:15'::timestamp) - extract(epoch from '2026-07-07 07:33:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430234 -3.660985)', '2026-07-07 07:33:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430234 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:33:22'::timestamp) - extract(epoch from '2026-07-07 07:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660979)'), GeomFromEWKT('SRID=4674;POINT (-38.430234 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:33:22'::timestamp) - extract(epoch from '2026-07-07 07:33:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430231 -3.660983)', '2026-07-07 07:33:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430234 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:33:29'::timestamp) - extract(epoch from '2026-07-07 07:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430234 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:33:29'::timestamp) - extract(epoch from '2026-07-07 07:33:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430231 -3.660984)', '2026-07-07 07:33:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:33:36'::timestamp) - extract(epoch from '2026-07-07 07:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:33:36'::timestamp) - extract(epoch from '2026-07-07 07:33:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430232 -3.660982)', '2026-07-07 07:33:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:33:43'::timestamp) - extract(epoch from '2026-07-07 07:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:33:43'::timestamp) - extract(epoch from '2026-07-07 07:33:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430236 -3.660981)', '2026-07-07 07:33:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430236 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:33:51'::timestamp) - extract(epoch from '2026-07-07 07:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430232 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430236 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:33:51'::timestamp) - extract(epoch from '2026-07-07 07:33:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430231 -3.660983)', '2026-07-07 07:34:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430236 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:34:03'::timestamp) - extract(epoch from '2026-07-07 07:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430236 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:34:03'::timestamp) - extract(epoch from '2026-07-07 07:33:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430239 -3.660983)', '2026-07-07 07:34:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430239 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:34:15'::timestamp) - extract(epoch from '2026-07-07 07:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430239 -3.660983)'))) / (select extract(epoch from '2026-07-07 07:34:15'::timestamp) - extract(epoch from '2026-07-07 07:34:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430242 -3.660987)', '2026-07-07 07:34:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430239 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430242 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:34:21'::timestamp) - extract(epoch from '2026-07-07 07:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430239 -3.660983)'), GeomFromEWKT('SRID=4674;POINT (-38.430242 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:34:21'::timestamp) - extract(epoch from '2026-07-07 07:34:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430243 -3.66099)', '2026-07-07 07:34:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430242 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.430243 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:34:25'::timestamp) - extract(epoch from '2026-07-07 07:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430242 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.430243 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:34:25'::timestamp) - extract(epoch from '2026-07-07 07:34:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430255 -3.660993)', '2026-07-07 07:34:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430243 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:34:26'::timestamp) - extract(epoch from '2026-07-07 07:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430243 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:34:26'::timestamp) - extract(epoch from '2026-07-07 07:34:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430244 -3.660987)', '2026-07-07 07:34:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430244 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:34:30'::timestamp) - extract(epoch from '2026-07-07 07:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430244 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:34:30'::timestamp) - extract(epoch from '2026-07-07 07:34:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430245 -3.660984)', '2026-07-07 07:34:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430244 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:34:38'::timestamp) - extract(epoch from '2026-07-07 07:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430244 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:34:38'::timestamp) - extract(epoch from '2026-07-07 07:34:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430246 -3.660985)', '2026-07-07 07:34:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430246 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:34:45'::timestamp) - extract(epoch from '2026-07-07 07:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430246 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:34:45'::timestamp) - extract(epoch from '2026-07-07 07:34:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430247 -3.660988)', '2026-07-07 07:34:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430246 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:34:49'::timestamp) - extract(epoch from '2026-07-07 07:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430246 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:34:49'::timestamp) - extract(epoch from '2026-07-07 07:34:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430245 -3.660988)', '2026-07-07 07:34:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:34:50'::timestamp) - extract(epoch from '2026-07-07 07:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:34:50'::timestamp) - extract(epoch from '2026-07-07 07:34:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430248 -3.661003)', '2026-07-07 07:34:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:34:57'::timestamp) - extract(epoch from '2026-07-07 07:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:34:57'::timestamp) - extract(epoch from '2026-07-07 07:34:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430259 -3.661003)', '2026-07-07 07:35:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:35:02'::timestamp) - extract(epoch from '2026-07-07 07:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430248 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.661003)'))) / (select extract(epoch from '2026-07-07 07:35:02'::timestamp) - extract(epoch from '2026-07-07 07:34:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430264 -3.660996)', '2026-07-07 07:35:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:35:13'::timestamp) - extract(epoch from '2026-07-07 07:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.661003)'), GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:35:13'::timestamp) - extract(epoch from '2026-07-07 07:35:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430257 -3.660996)', '2026-07-07 07:35:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:35:19'::timestamp) - extract(epoch from '2026-07-07 07:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:35:19'::timestamp) - extract(epoch from '2026-07-07 07:35:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430259 -3.660991)', '2026-07-07 07:35:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:35:28'::timestamp) - extract(epoch from '2026-07-07 07:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:35:28'::timestamp) - extract(epoch from '2026-07-07 07:35:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430259 -3.660993)', '2026-07-07 07:35:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:36'::timestamp) - extract(epoch from '2026-07-07 07:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:36'::timestamp) - extract(epoch from '2026-07-07 07:35:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43026 -3.660993)', '2026-07-07 07:35:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:41'::timestamp) - extract(epoch from '2026-07-07 07:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:41'::timestamp) - extract(epoch from '2026-07-07 07:35:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430255 -3.660993)', '2026-07-07 07:35:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:49'::timestamp) - extract(epoch from '2026-07-07 07:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:49'::timestamp) - extract(epoch from '2026-07-07 07:35:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430252 -3.660993)', '2026-07-07 07:35:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:55'::timestamp) - extract(epoch from '2026-07-07 07:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:35:55'::timestamp) - extract(epoch from '2026-07-07 07:35:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43024 -3.660989)', '2026-07-07 07:36:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.43024 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:36:01'::timestamp) - extract(epoch from '2026-07-07 07:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.43024 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:36:01'::timestamp) - extract(epoch from '2026-07-07 07:35:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430245 -3.660986)', '2026-07-07 07:36:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43024 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:36:05'::timestamp) - extract(epoch from '2026-07-07 07:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43024 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:36:05'::timestamp) - extract(epoch from '2026-07-07 07:36:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430252 -3.660991)', '2026-07-07 07:36:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:36:11'::timestamp) - extract(epoch from '2026-07-07 07:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430245 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:36:11'::timestamp) - extract(epoch from '2026-07-07 07:36:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430252 -3.660994)', '2026-07-07 07:36:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:36:19'::timestamp) - extract(epoch from '2026-07-07 07:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:36:19'::timestamp) - extract(epoch from '2026-07-07 07:36:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430256 -3.660996)', '2026-07-07 07:36:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:36:29'::timestamp) - extract(epoch from '2026-07-07 07:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:36:29'::timestamp) - extract(epoch from '2026-07-07 07:36:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430259 -3.660997)', '2026-07-07 07:36:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:36:35'::timestamp) - extract(epoch from '2026-07-07 07:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:36:35'::timestamp) - extract(epoch from '2026-07-07 07:36:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430251 -3.660996)', '2026-07-07 07:36:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:36:42'::timestamp) - extract(epoch from '2026-07-07 07:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:36:42'::timestamp) - extract(epoch from '2026-07-07 07:36:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430254 -3.660985)', '2026-07-07 07:36:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:36:48'::timestamp) - extract(epoch from '2026-07-07 07:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:36:48'::timestamp) - extract(epoch from '2026-07-07 07:36:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430255 -3.660984)', '2026-07-07 07:36:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:36:55'::timestamp) - extract(epoch from '2026-07-07 07:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:36:55'::timestamp) - extract(epoch from '2026-07-07 07:36:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430259 -3.660986)', '2026-07-07 07:37:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:37:04'::timestamp) - extract(epoch from '2026-07-07 07:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:37:04'::timestamp) - extract(epoch from '2026-07-07 07:36:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430255 -3.660991)', '2026-07-07 07:37:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:37:11'::timestamp) - extract(epoch from '2026-07-07 07:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:37:11'::timestamp) - extract(epoch from '2026-07-07 07:37:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430251 -3.660999)', '2026-07-07 07:37:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:37:17'::timestamp) - extract(epoch from '2026-07-07 07:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:37:17'::timestamp) - extract(epoch from '2026-07-07 07:37:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430254 -3.660996)', '2026-07-07 07:37:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:37:24'::timestamp) - extract(epoch from '2026-07-07 07:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430251 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:37:24'::timestamp) - extract(epoch from '2026-07-07 07:37:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430249 -3.660995)', '2026-07-07 07:37:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:37:30'::timestamp) - extract(epoch from '2026-07-07 07:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430254 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:37:30'::timestamp) - extract(epoch from '2026-07-07 07:37:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430256 -3.660997)', '2026-07-07 07:37:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:37:41'::timestamp) - extract(epoch from '2026-07-07 07:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:37:41'::timestamp) - extract(epoch from '2026-07-07 07:37:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430247 -3.66099)', '2026-07-07 07:37:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:37:50'::timestamp) - extract(epoch from '2026-07-07 07:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.66099)'))) / (select extract(epoch from '2026-07-07 07:37:50'::timestamp) - extract(epoch from '2026-07-07 07:37:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430253 -3.660987)', '2026-07-07 07:37:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:37:56'::timestamp) - extract(epoch from '2026-07-07 07:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430247 -3.66099)'), GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.660987)'))) / (select extract(epoch from '2026-07-07 07:37:56'::timestamp) - extract(epoch from '2026-07-07 07:37:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43025 -3.660989)', '2026-07-07 07:38:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.43025 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:38:06'::timestamp) - extract(epoch from '2026-07-07 07:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430253 -3.660987)'), GeomFromEWKT('SRID=4674;POINT (-38.43025 -3.660989)'))) / (select extract(epoch from '2026-07-07 07:38:06'::timestamp) - extract(epoch from '2026-07-07 07:37:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430258 -3.660988)', '2026-07-07 07:38:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43025 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:38:10'::timestamp) - extract(epoch from '2026-07-07 07:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43025 -3.660989)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:38:10'::timestamp) - extract(epoch from '2026-07-07 07:38:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430255 -3.660992)', '2026-07-07 07:38:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:38:17'::timestamp) - extract(epoch from '2026-07-07 07:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:38:17'::timestamp) - extract(epoch from '2026-07-07 07:38:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43026 -3.660992)', '2026-07-07 07:38:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:38:20'::timestamp) - extract(epoch from '2026-07-07 07:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430255 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:38:20'::timestamp) - extract(epoch from '2026-07-07 07:38:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430265 -3.660997)', '2026-07-07 07:38:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:38:23'::timestamp) - extract(epoch from '2026-07-07 07:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:38:23'::timestamp) - extract(epoch from '2026-07-07 07:38:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430264 -3.660992)', '2026-07-07 07:38:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:38:28'::timestamp) - extract(epoch from '2026-07-07 07:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:38:28'::timestamp) - extract(epoch from '2026-07-07 07:38:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430257 -3.660993)', '2026-07-07 07:38:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:38:37'::timestamp) - extract(epoch from '2026-07-07 07:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:38:37'::timestamp) - extract(epoch from '2026-07-07 07:38:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430261 -3.660995)', '2026-07-07 07:38:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:38:44'::timestamp) - extract(epoch from '2026-07-07 07:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:38:44'::timestamp) - extract(epoch from '2026-07-07 07:38:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43027 -3.660991)', '2026-07-07 07:38:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:38:51'::timestamp) - extract(epoch from '2026-07-07 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:38:51'::timestamp) - extract(epoch from '2026-07-07 07:38:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430262 -3.660988)', '2026-07-07 07:38:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:38:59'::timestamp) - extract(epoch from '2026-07-07 07:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660988)'))) / (select extract(epoch from '2026-07-07 07:38:59'::timestamp) - extract(epoch from '2026-07-07 07:38:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430256 -3.660984)', '2026-07-07 07:39:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:39:07'::timestamp) - extract(epoch from '2026-07-07 07:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660988)'), GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660984)'))) / (select extract(epoch from '2026-07-07 07:39:07'::timestamp) - extract(epoch from '2026-07-07 07:38:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430261 -3.660986)', '2026-07-07 07:39:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:39:14'::timestamp) - extract(epoch from '2026-07-07 07:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430256 -3.660984)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:39:14'::timestamp) - extract(epoch from '2026-07-07 07:39:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430264 -3.660992)', '2026-07-07 07:39:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:39:21'::timestamp) - extract(epoch from '2026-07-07 07:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:39:21'::timestamp) - extract(epoch from '2026-07-07 07:39:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430268 -3.660981)', '2026-07-07 07:39:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:39:29'::timestamp) - extract(epoch from '2026-07-07 07:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430264 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:39:29'::timestamp) - extract(epoch from '2026-07-07 07:39:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430262 -3.660986)', '2026-07-07 07:39:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:39:30'::timestamp) - extract(epoch from '2026-07-07 07:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:39:30'::timestamp) - extract(epoch from '2026-07-07 07:39:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430259 -3.660986)', '2026-07-07 07:39:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:39:34'::timestamp) - extract(epoch from '2026-07-07 07:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:39:34'::timestamp) - extract(epoch from '2026-07-07 07:39:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430267 -3.660985)', '2026-07-07 07:39:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:39:42'::timestamp) - extract(epoch from '2026-07-07 07:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:39:42'::timestamp) - extract(epoch from '2026-07-07 07:39:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43026 -3.660991)', '2026-07-07 07:39:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:39:47'::timestamp) - extract(epoch from '2026-07-07 07:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430267 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:39:47'::timestamp) - extract(epoch from '2026-07-07 07:39:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430262 -3.660981)', '2026-07-07 07:39:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:39:58'::timestamp) - extract(epoch from '2026-07-07 07:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43026 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:39:58'::timestamp) - extract(epoch from '2026-07-07 07:39:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430265 -3.660985)', '2026-07-07 07:40:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:40:06'::timestamp) - extract(epoch from '2026-07-07 07:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:40:06'::timestamp) - extract(epoch from '2026-07-07 07:39:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430262 -3.660993)', '2026-07-07 07:40:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:40:11'::timestamp) - extract(epoch from '2026-07-07 07:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:40:11'::timestamp) - extract(epoch from '2026-07-07 07:40:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43027 -3.660982)', '2026-07-07 07:40:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:40:17'::timestamp) - extract(epoch from '2026-07-07 07:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660982)'))) / (select extract(epoch from '2026-07-07 07:40:17'::timestamp) - extract(epoch from '2026-07-07 07:40:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430257 -3.660981)', '2026-07-07 07:40:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:40:25'::timestamp) - extract(epoch from '2026-07-07 07:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43027 -3.660982)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:40:25'::timestamp) - extract(epoch from '2026-07-07 07:40:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430268 -3.660985)', '2026-07-07 07:40:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:40:31'::timestamp) - extract(epoch from '2026-07-07 07:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:40:31'::timestamp) - extract(epoch from '2026-07-07 07:40:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430265 -3.660985)', '2026-07-07 07:40:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:40:38'::timestamp) - extract(epoch from '2026-07-07 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430268 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'))) / (select extract(epoch from '2026-07-07 07:40:38'::timestamp) - extract(epoch from '2026-07-07 07:40:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430262 -3.660986)', '2026-07-07 07:40:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:40:44'::timestamp) - extract(epoch from '2026-07-07 07:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660985)'), GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'))) / (select extract(epoch from '2026-07-07 07:40:44'::timestamp) - extract(epoch from '2026-07-07 07:40:38'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430261 -3.660993)', '2026-07-07 07:40:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:40:49'::timestamp) - extract(epoch from '2026-07-07 07:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430262 -3.660986)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:40:49'::timestamp) - extract(epoch from '2026-07-07 07:40:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430261 -3.660991)', '2026-07-07 07:40:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:40:58'::timestamp) - extract(epoch from '2026-07-07 07:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:40:58'::timestamp) - extract(epoch from '2026-07-07 07:40:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430257 -3.660995)', '2026-07-07 07:41:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:41:04'::timestamp) - extract(epoch from '2026-07-07 07:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430261 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:41:04'::timestamp) - extract(epoch from '2026-07-07 07:40:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430252 -3.660999)', '2026-07-07 07:41:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:41:10'::timestamp) - extract(epoch from '2026-07-07 07:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:41:10'::timestamp) - extract(epoch from '2026-07-07 07:41:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430257 -3.660998)', '2026-07-07 07:41:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:41:14'::timestamp) - extract(epoch from '2026-07-07 07:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430252 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:41:14'::timestamp) - extract(epoch from '2026-07-07 07:41:10'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430258 -3.660993)', '2026-07-07 07:41:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:41:24'::timestamp) - extract(epoch from '2026-07-07 07:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430257 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:41:24'::timestamp) - extract(epoch from '2026-07-07 07:41:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430258 -3.661)', '2026-07-07 07:41:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.661)'))) / (select extract(epoch from '2026-07-07 07:41:29'::timestamp) - extract(epoch from '2026-07-07 07:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.661)'))) / (select extract(epoch from '2026-07-07 07:41:29'::timestamp) - extract(epoch from '2026-07-07 07:41:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430259 -3.660998)', '2026-07-07 07:41:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:41:34'::timestamp) - extract(epoch from '2026-07-07 07:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.661)'), GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:41:34'::timestamp) - extract(epoch from '2026-07-07 07:41:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430258 -3.660994)', '2026-07-07 07:41:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:41:40'::timestamp) - extract(epoch from '2026-07-07 07:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430259 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660994)'))) / (select extract(epoch from '2026-07-07 07:41:40'::timestamp) - extract(epoch from '2026-07-07 07:41:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430265 -3.660997)', '2026-07-07 07:41:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:41:45'::timestamp) - extract(epoch from '2026-07-07 07:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430258 -3.660994)'), GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'))) / (select extract(epoch from '2026-07-07 07:41:45'::timestamp) - extract(epoch from '2026-07-07 07:41:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430271 -3.660993)', '2026-07-07 07:41:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430271 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:41:53'::timestamp) - extract(epoch from '2026-07-07 07:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430265 -3.660997)'), GeomFromEWKT('SRID=4674;POINT (-38.430271 -3.660993)'))) / (select extract(epoch from '2026-07-07 07:41:53'::timestamp) - extract(epoch from '2026-07-07 07:41:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430266 -3.660996)', '2026-07-07 07:41:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430271 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430266 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:41:58'::timestamp) - extract(epoch from '2026-07-07 07:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430271 -3.660993)'), GeomFromEWKT('SRID=4674;POINT (-38.430266 -3.660996)'))) / (select extract(epoch from '2026-07-07 07:41:58'::timestamp) - extract(epoch from '2026-07-07 07:41:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430276 -3.660995)', '2026-07-07 07:42:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430266 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:42:05'::timestamp) - extract(epoch from '2026-07-07 07:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430266 -3.660996)'), GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.660995)'))) / (select extract(epoch from '2026-07-07 07:42:05'::timestamp) - extract(epoch from '2026-07-07 07:41:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430276 -3.661005)', '2026-07-07 07:42:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:42:11'::timestamp) - extract(epoch from '2026-07-07 07:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.660995)'), GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:42:11'::timestamp) - extract(epoch from '2026-07-07 07:42:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430282 -3.660999)', '2026-07-07 07:42:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430282 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:42:20'::timestamp) - extract(epoch from '2026-07-07 07:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430276 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430282 -3.660999)'))) / (select extract(epoch from '2026-07-07 07:42:20'::timestamp) - extract(epoch from '2026-07-07 07:42:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430283 -3.660992)', '2026-07-07 07:42:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430282 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:42:28'::timestamp) - extract(epoch from '2026-07-07 07:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430282 -3.660999)'), GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.660992)'))) / (select extract(epoch from '2026-07-07 07:42:28'::timestamp) - extract(epoch from '2026-07-07 07:42:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430291 -3.660998)', '2026-07-07 07:42:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:42:36'::timestamp) - extract(epoch from '2026-07-07 07:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430283 -3.660992)'), GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:42:36'::timestamp) - extract(epoch from '2026-07-07 07:42:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430295 -3.660998)', '2026-07-07 07:42:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430295 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:42:45'::timestamp) - extract(epoch from '2026-07-07 07:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430295 -3.660998)'))) / (select extract(epoch from '2026-07-07 07:42:45'::timestamp) - extract(epoch from '2026-07-07 07:42:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430301 -3.661005)', '2026-07-07 07:42:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430295 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430301 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:42:53'::timestamp) - extract(epoch from '2026-07-07 07:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430295 -3.660998)'), GeomFromEWKT('SRID=4674;POINT (-38.430301 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:42:53'::timestamp) - extract(epoch from '2026-07-07 07:42:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430299 -3.661015)', '2026-07-07 07:43:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430301 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430299 -3.661015)'))) / (select extract(epoch from '2026-07-07 07:43:02'::timestamp) - extract(epoch from '2026-07-07 07:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430301 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430299 -3.661015)'))) / (select extract(epoch from '2026-07-07 07:43:02'::timestamp) - extract(epoch from '2026-07-07 07:42:53'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430293 -3.661013)', '2026-07-07 07:43:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430299 -3.661015)'), GeomFromEWKT('SRID=4674;POINT (-38.430293 -3.661013)'))) / (select extract(epoch from '2026-07-07 07:43:08'::timestamp) - extract(epoch from '2026-07-07 07:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430299 -3.661015)'), GeomFromEWKT('SRID=4674;POINT (-38.430293 -3.661013)'))) / (select extract(epoch from '2026-07-07 07:43:08'::timestamp) - extract(epoch from '2026-07-07 07:43:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430309 -3.661005)', '2026-07-07 07:43:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430293 -3.661013)'), GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:43:16'::timestamp) - extract(epoch from '2026-07-07 07:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430293 -3.661013)'), GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661005)'))) / (select extract(epoch from '2026-07-07 07:43:16'::timestamp) - extract(epoch from '2026-07-07 07:43:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430314 -3.66101)', '2026-07-07 07:43:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:43:24'::timestamp) - extract(epoch from '2026-07-07 07:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661005)'), GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:43:24'::timestamp) - extract(epoch from '2026-07-07 07:43:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430314 -3.661021)', '2026-07-07 07:43:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661021)'))) / (select extract(epoch from '2026-07-07 07:43:31'::timestamp) - extract(epoch from '2026-07-07 07:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661021)'))) / (select extract(epoch from '2026-07-07 07:43:31'::timestamp) - extract(epoch from '2026-07-07 07:43:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430309 -3.661023)', '2026-07-07 07:43:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661021)'), GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661023)'))) / (select extract(epoch from '2026-07-07 07:43:40'::timestamp) - extract(epoch from '2026-07-07 07:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661021)'), GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661023)'))) / (select extract(epoch from '2026-07-07 07:43:40'::timestamp) - extract(epoch from '2026-07-07 07:43:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430311 -3.66102)', '2026-07-07 07:43:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661023)'), GeomFromEWKT('SRID=4674;POINT (-38.430311 -3.66102)'))) / (select extract(epoch from '2026-07-07 07:43:49'::timestamp) - extract(epoch from '2026-07-07 07:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430309 -3.661023)'), GeomFromEWKT('SRID=4674;POINT (-38.430311 -3.66102)'))) / (select extract(epoch from '2026-07-07 07:43:49'::timestamp) - extract(epoch from '2026-07-07 07:43:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.43031 -3.661027)', '2026-07-07 07:43:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430311 -3.66102)'), GeomFromEWKT('SRID=4674;POINT (-38.43031 -3.661027)'))) / (select extract(epoch from '2026-07-07 07:43:54'::timestamp) - extract(epoch from '2026-07-07 07:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430311 -3.66102)'), GeomFromEWKT('SRID=4674;POINT (-38.43031 -3.661027)'))) / (select extract(epoch from '2026-07-07 07:43:54'::timestamp) - extract(epoch from '2026-07-07 07:43:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430306 -3.661028)', '2026-07-07 07:43:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43031 -3.661027)'), GeomFromEWKT('SRID=4674;POINT (-38.430306 -3.661028)'))) / (select extract(epoch from '2026-07-07 07:43:55'::timestamp) - extract(epoch from '2026-07-07 07:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43031 -3.661027)'), GeomFromEWKT('SRID=4674;POINT (-38.430306 -3.661028)'))) / (select extract(epoch from '2026-07-07 07:43:55'::timestamp) - extract(epoch from '2026-07-07 07:43:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430313 -3.66103)', '2026-07-07 07:43:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430306 -3.661028)'), GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.66103)'))) / (select extract(epoch from '2026-07-07 07:43:57'::timestamp) - extract(epoch from '2026-07-07 07:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430306 -3.661028)'), GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.66103)'))) / (select extract(epoch from '2026-07-07 07:43:57'::timestamp) - extract(epoch from '2026-07-07 07:43:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430314 -3.661036)', '2026-07-07 07:43:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.66103)'), GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661036)'))) / (select extract(epoch from '2026-07-07 07:43:59'::timestamp) - extract(epoch from '2026-07-07 07:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430313 -3.66103)'), GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661036)'))) / (select extract(epoch from '2026-07-07 07:43:59'::timestamp) - extract(epoch from '2026-07-07 07:43:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430304 -3.661049)', '2026-07-07 07:44:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661036)'), GeomFromEWKT('SRID=4674;POINT (-38.430304 -3.661049)'))) / (select extract(epoch from '2026-07-07 07:44:06'::timestamp) - extract(epoch from '2026-07-07 07:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430314 -3.661036)'), GeomFromEWKT('SRID=4674;POINT (-38.430304 -3.661049)'))) / (select extract(epoch from '2026-07-07 07:44:06'::timestamp) - extract(epoch from '2026-07-07 07:43:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430298 -3.66105)', '2026-07-07 07:44:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430304 -3.661049)'), GeomFromEWKT('SRID=4674;POINT (-38.430298 -3.66105)'))) / (select extract(epoch from '2026-07-07 07:44:11'::timestamp) - extract(epoch from '2026-07-07 07:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430304 -3.661049)'), GeomFromEWKT('SRID=4674;POINT (-38.430298 -3.66105)'))) / (select extract(epoch from '2026-07-07 07:44:11'::timestamp) - extract(epoch from '2026-07-07 07:44:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430249 -3.661054)', '2026-07-07 07:44:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430298 -3.66105)'), GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:44:19'::timestamp) - extract(epoch from '2026-07-07 07:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430298 -3.66105)'), GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.661054)'))) / (select extract(epoch from '2026-07-07 07:44:19'::timestamp) - extract(epoch from '2026-07-07 07:44:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430204 -3.661063)', '2026-07-07 07:44:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.661063)'))) / (select extract(epoch from '2026-07-07 07:44:25'::timestamp) - extract(epoch from '2026-07-07 07:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430249 -3.661054)'), GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.661063)'))) / (select extract(epoch from '2026-07-07 07:44:25'::timestamp) - extract(epoch from '2026-07-07 07:44:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430183 -3.66107)', '2026-07-07 07:44:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.661063)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.66107)'))) / (select extract(epoch from '2026-07-07 07:44:28'::timestamp) - extract(epoch from '2026-07-07 07:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430204 -3.661063)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.66107)'))) / (select extract(epoch from '2026-07-07 07:44:28'::timestamp) - extract(epoch from '2026-07-07 07:44:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430139 -3.661092)', '2026-07-07 07:44:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.66107)'), GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.661092)'))) / (select extract(epoch from '2026-07-07 07:44:35'::timestamp) - extract(epoch from '2026-07-07 07:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.66107)'), GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.661092)'))) / (select extract(epoch from '2026-07-07 07:44:35'::timestamp) - extract(epoch from '2026-07-07 07:44:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430103 -3.661129)', '2026-07-07 07:44:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.661092)'), GeomFromEWKT('SRID=4674;POINT (-38.430103 -3.661129)'))) / (select extract(epoch from '2026-07-07 07:44:42'::timestamp) - extract(epoch from '2026-07-07 07:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430139 -3.661092)'), GeomFromEWKT('SRID=4674;POINT (-38.430103 -3.661129)'))) / (select extract(epoch from '2026-07-07 07:44:42'::timestamp) - extract(epoch from '2026-07-07 07:44:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430082 -3.66115)', '2026-07-07 07:44:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430103 -3.661129)'), GeomFromEWKT('SRID=4674;POINT (-38.430082 -3.66115)'))) / (select extract(epoch from '2026-07-07 07:44:48'::timestamp) - extract(epoch from '2026-07-07 07:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430103 -3.661129)'), GeomFromEWKT('SRID=4674;POINT (-38.430082 -3.66115)'))) / (select extract(epoch from '2026-07-07 07:44:48'::timestamp) - extract(epoch from '2026-07-07 07:44:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430068 -3.661167)', '2026-07-07 07:44:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430082 -3.66115)'), GeomFromEWKT('SRID=4674;POINT (-38.430068 -3.661167)'))) / (select extract(epoch from '2026-07-07 07:44:52'::timestamp) - extract(epoch from '2026-07-07 07:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430082 -3.66115)'), GeomFromEWKT('SRID=4674;POINT (-38.430068 -3.661167)'))) / (select extract(epoch from '2026-07-07 07:44:52'::timestamp) - extract(epoch from '2026-07-07 07:44:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430051 -3.661186)', '2026-07-07 07:44:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430068 -3.661167)'), GeomFromEWKT('SRID=4674;POINT (-38.430051 -3.661186)'))) / (select extract(epoch from '2026-07-07 07:44:56'::timestamp) - extract(epoch from '2026-07-07 07:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430068 -3.661167)'), GeomFromEWKT('SRID=4674;POINT (-38.430051 -3.661186)'))) / (select extract(epoch from '2026-07-07 07:44:56'::timestamp) - extract(epoch from '2026-07-07 07:44:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430033 -3.661202)', '2026-07-07 07:44:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430051 -3.661186)'), GeomFromEWKT('SRID=4674;POINT (-38.430033 -3.661202)'))) / (select extract(epoch from '2026-07-07 07:44:59'::timestamp) - extract(epoch from '2026-07-07 07:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430051 -3.661186)'), GeomFromEWKT('SRID=4674;POINT (-38.430033 -3.661202)'))) / (select extract(epoch from '2026-07-07 07:44:59'::timestamp) - extract(epoch from '2026-07-07 07:44:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.430005 -3.66122)', '2026-07-07 07:45:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430033 -3.661202)'), GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.66122)'))) / (select extract(epoch from '2026-07-07 07:45:04'::timestamp) - extract(epoch from '2026-07-07 07:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430033 -3.661202)'), GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.66122)'))) / (select extract(epoch from '2026-07-07 07:45:04'::timestamp) - extract(epoch from '2026-07-07 07:44:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429997 -3.661225)', '2026-07-07 07:45:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.66122)'), GeomFromEWKT('SRID=4674;POINT (-38.429997 -3.661225)'))) / (select extract(epoch from '2026-07-07 07:45:05'::timestamp) - extract(epoch from '2026-07-07 07:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.66122)'), GeomFromEWKT('SRID=4674;POINT (-38.429997 -3.661225)'))) / (select extract(epoch from '2026-07-07 07:45:05'::timestamp) - extract(epoch from '2026-07-07 07:45:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42996 -3.661245)', '2026-07-07 07:45:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429997 -3.661225)'), GeomFromEWKT('SRID=4674;POINT (-38.42996 -3.661245)'))) / (select extract(epoch from '2026-07-07 07:45:12'::timestamp) - extract(epoch from '2026-07-07 07:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429997 -3.661225)'), GeomFromEWKT('SRID=4674;POINT (-38.42996 -3.661245)'))) / (select extract(epoch from '2026-07-07 07:45:12'::timestamp) - extract(epoch from '2026-07-07 07:45:05'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429943 -3.661267)', '2026-07-07 07:45:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42996 -3.661245)'), GeomFromEWKT('SRID=4674;POINT (-38.429943 -3.661267)'))) / (select extract(epoch from '2026-07-07 07:45:18'::timestamp) - extract(epoch from '2026-07-07 07:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42996 -3.661245)'), GeomFromEWKT('SRID=4674;POINT (-38.429943 -3.661267)'))) / (select extract(epoch from '2026-07-07 07:45:18'::timestamp) - extract(epoch from '2026-07-07 07:45:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429927 -3.661282)', '2026-07-07 07:45:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429943 -3.661267)'), GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.661282)'))) / (select extract(epoch from '2026-07-07 07:45:22'::timestamp) - extract(epoch from '2026-07-07 07:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429943 -3.661267)'), GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.661282)'))) / (select extract(epoch from '2026-07-07 07:45:22'::timestamp) - extract(epoch from '2026-07-07 07:45:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429921 -3.661289)', '2026-07-07 07:45:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.661282)'), GeomFromEWKT('SRID=4674;POINT (-38.429921 -3.661289)'))) / (select extract(epoch from '2026-07-07 07:45:23'::timestamp) - extract(epoch from '2026-07-07 07:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429927 -3.661282)'), GeomFromEWKT('SRID=4674;POINT (-38.429921 -3.661289)'))) / (select extract(epoch from '2026-07-07 07:45:23'::timestamp) - extract(epoch from '2026-07-07 07:45:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429878 -3.661311)', '2026-07-07 07:45:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429921 -3.661289)'), GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.661311)'))) / (select extract(epoch from '2026-07-07 07:45:30'::timestamp) - extract(epoch from '2026-07-07 07:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429921 -3.661289)'), GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.661311)'))) / (select extract(epoch from '2026-07-07 07:45:30'::timestamp) - extract(epoch from '2026-07-07 07:45:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429831 -3.661334)', '2026-07-07 07:45:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.661311)'), GeomFromEWKT('SRID=4674;POINT (-38.429831 -3.661334)'))) / (select extract(epoch from '2026-07-07 07:45:37'::timestamp) - extract(epoch from '2026-07-07 07:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429878 -3.661311)'), GeomFromEWKT('SRID=4674;POINT (-38.429831 -3.661334)'))) / (select extract(epoch from '2026-07-07 07:45:37'::timestamp) - extract(epoch from '2026-07-07 07:45:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429788 -3.66136)', '2026-07-07 07:45:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429831 -3.661334)'), GeomFromEWKT('SRID=4674;POINT (-38.429788 -3.66136)'))) / (select extract(epoch from '2026-07-07 07:45:43'::timestamp) - extract(epoch from '2026-07-07 07:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429831 -3.661334)'), GeomFromEWKT('SRID=4674;POINT (-38.429788 -3.66136)'))) / (select extract(epoch from '2026-07-07 07:45:43'::timestamp) - extract(epoch from '2026-07-07 07:45:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429779 -3.661364)', '2026-07-07 07:45:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429788 -3.66136)'), GeomFromEWKT('SRID=4674;POINT (-38.429779 -3.661364)'))) / (select extract(epoch from '2026-07-07 07:45:44'::timestamp) - extract(epoch from '2026-07-07 07:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429788 -3.66136)'), GeomFromEWKT('SRID=4674;POINT (-38.429779 -3.661364)'))) / (select extract(epoch from '2026-07-07 07:45:44'::timestamp) - extract(epoch from '2026-07-07 07:45:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429754 -3.66138)', '2026-07-07 07:45:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429779 -3.661364)'), GeomFromEWKT('SRID=4674;POINT (-38.429754 -3.66138)'))) / (select extract(epoch from '2026-07-07 07:45:47'::timestamp) - extract(epoch from '2026-07-07 07:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429779 -3.661364)'), GeomFromEWKT('SRID=4674;POINT (-38.429754 -3.66138)'))) / (select extract(epoch from '2026-07-07 07:45:47'::timestamp) - extract(epoch from '2026-07-07 07:45:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429747 -3.661402)', '2026-07-07 07:45:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429754 -3.66138)'), GeomFromEWKT('SRID=4674;POINT (-38.429747 -3.661402)'))) / (select extract(epoch from '2026-07-07 07:45:49'::timestamp) - extract(epoch from '2026-07-07 07:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429754 -3.66138)'), GeomFromEWKT('SRID=4674;POINT (-38.429747 -3.661402)'))) / (select extract(epoch from '2026-07-07 07:45:49'::timestamp) - extract(epoch from '2026-07-07 07:45:47'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429709 -3.661428)', '2026-07-07 07:45:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429747 -3.661402)'), GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.661428)'))) / (select extract(epoch from '2026-07-07 07:45:55'::timestamp) - extract(epoch from '2026-07-07 07:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429747 -3.661402)'), GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.661428)'))) / (select extract(epoch from '2026-07-07 07:45:55'::timestamp) - extract(epoch from '2026-07-07 07:45:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429676 -3.661462)', '2026-07-07 07:46:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.661428)'), GeomFromEWKT('SRID=4674;POINT (-38.429676 -3.661462)'))) / (select extract(epoch from '2026-07-07 07:46:02'::timestamp) - extract(epoch from '2026-07-07 07:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429709 -3.661428)'), GeomFromEWKT('SRID=4674;POINT (-38.429676 -3.661462)'))) / (select extract(epoch from '2026-07-07 07:46:02'::timestamp) - extract(epoch from '2026-07-07 07:45:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429648 -3.661484)', '2026-07-07 07:46:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429676 -3.661462)'), GeomFromEWKT('SRID=4674;POINT (-38.429648 -3.661484)'))) / (select extract(epoch from '2026-07-07 07:46:08'::timestamp) - extract(epoch from '2026-07-07 07:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429676 -3.661462)'), GeomFromEWKT('SRID=4674;POINT (-38.429648 -3.661484)'))) / (select extract(epoch from '2026-07-07 07:46:08'::timestamp) - extract(epoch from '2026-07-07 07:46:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429613 -3.661511)', '2026-07-07 07:46:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429648 -3.661484)'), GeomFromEWKT('SRID=4674;POINT (-38.429613 -3.661511)'))) / (select extract(epoch from '2026-07-07 07:46:15'::timestamp) - extract(epoch from '2026-07-07 07:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429648 -3.661484)'), GeomFromEWKT('SRID=4674;POINT (-38.429613 -3.661511)'))) / (select extract(epoch from '2026-07-07 07:46:15'::timestamp) - extract(epoch from '2026-07-07 07:46:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429597 -3.661524)', '2026-07-07 07:46:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429613 -3.661511)'), GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.661524)'))) / (select extract(epoch from '2026-07-07 07:46:18'::timestamp) - extract(epoch from '2026-07-07 07:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429613 -3.661511)'), GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.661524)'))) / (select extract(epoch from '2026-07-07 07:46:18'::timestamp) - extract(epoch from '2026-07-07 07:46:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429579 -3.661543)', '2026-07-07 07:46:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.661524)'), GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.661543)'))) / (select extract(epoch from '2026-07-07 07:46:21'::timestamp) - extract(epoch from '2026-07-07 07:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429597 -3.661524)'), GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.661543)'))) / (select extract(epoch from '2026-07-07 07:46:21'::timestamp) - extract(epoch from '2026-07-07 07:46:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429532 -3.661573)', '2026-07-07 07:46:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.661543)'), GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.661573)'))) / (select extract(epoch from '2026-07-07 07:46:30'::timestamp) - extract(epoch from '2026-07-07 07:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429579 -3.661543)'), GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.661573)'))) / (select extract(epoch from '2026-07-07 07:46:30'::timestamp) - extract(epoch from '2026-07-07 07:46:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429513 -3.661599)', '2026-07-07 07:46:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.661573)'), GeomFromEWKT('SRID=4674;POINT (-38.429513 -3.661599)'))) / (select extract(epoch from '2026-07-07 07:46:36'::timestamp) - extract(epoch from '2026-07-07 07:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429532 -3.661573)'), GeomFromEWKT('SRID=4674;POINT (-38.429513 -3.661599)'))) / (select extract(epoch from '2026-07-07 07:46:36'::timestamp) - extract(epoch from '2026-07-07 07:46:30'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429496 -3.661631)', '2026-07-07 07:46:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429513 -3.661599)'), GeomFromEWKT('SRID=4674;POINT (-38.429496 -3.661631)'))) / (select extract(epoch from '2026-07-07 07:46:43'::timestamp) - extract(epoch from '2026-07-07 07:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429513 -3.661599)'), GeomFromEWKT('SRID=4674;POINT (-38.429496 -3.661631)'))) / (select extract(epoch from '2026-07-07 07:46:43'::timestamp) - extract(epoch from '2026-07-07 07:46:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429478 -3.661656)', '2026-07-07 07:46:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429496 -3.661631)'), GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.661656)'))) / (select extract(epoch from '2026-07-07 07:46:49'::timestamp) - extract(epoch from '2026-07-07 07:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429496 -3.661631)'), GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.661656)'))) / (select extract(epoch from '2026-07-07 07:46:49'::timestamp) - extract(epoch from '2026-07-07 07:46:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429469 -3.66166)', '2026-07-07 07:46:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.661656)'), GeomFromEWKT('SRID=4674;POINT (-38.429469 -3.66166)'))) / (select extract(epoch from '2026-07-07 07:46:51'::timestamp) - extract(epoch from '2026-07-07 07:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429478 -3.661656)'), GeomFromEWKT('SRID=4674;POINT (-38.429469 -3.66166)'))) / (select extract(epoch from '2026-07-07 07:46:51'::timestamp) - extract(epoch from '2026-07-07 07:46:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429456 -3.661662)', '2026-07-07 07:46:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429469 -3.66166)'), GeomFromEWKT('SRID=4674;POINT (-38.429456 -3.661662)'))) / (select extract(epoch from '2026-07-07 07:46:54'::timestamp) - extract(epoch from '2026-07-07 07:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429469 -3.66166)'), GeomFromEWKT('SRID=4674;POINT (-38.429456 -3.661662)'))) / (select extract(epoch from '2026-07-07 07:46:54'::timestamp) - extract(epoch from '2026-07-07 07:46:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429434 -3.661663)', '2026-07-07 07:46:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429456 -3.661662)'), GeomFromEWKT('SRID=4674;POINT (-38.429434 -3.661663)'))) / (select extract(epoch from '2026-07-07 07:46:58'::timestamp) - extract(epoch from '2026-07-07 07:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429456 -3.661662)'), GeomFromEWKT('SRID=4674;POINT (-38.429434 -3.661663)'))) / (select extract(epoch from '2026-07-07 07:46:58'::timestamp) - extract(epoch from '2026-07-07 07:46:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429424 -3.661659)', '2026-07-07 07:47:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429434 -3.661663)'), GeomFromEWKT('SRID=4674;POINT (-38.429424 -3.661659)'))) / (select extract(epoch from '2026-07-07 07:47:00'::timestamp) - extract(epoch from '2026-07-07 07:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429434 -3.661663)'), GeomFromEWKT('SRID=4674;POINT (-38.429424 -3.661659)'))) / (select extract(epoch from '2026-07-07 07:47:00'::timestamp) - extract(epoch from '2026-07-07 07:46:58'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429391 -3.661638)', '2026-07-07 07:47:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429424 -3.661659)'), GeomFromEWKT('SRID=4674;POINT (-38.429391 -3.661638)'))) / (select extract(epoch from '2026-07-07 07:47:07'::timestamp) - extract(epoch from '2026-07-07 07:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429424 -3.661659)'), GeomFromEWKT('SRID=4674;POINT (-38.429391 -3.661638)'))) / (select extract(epoch from '2026-07-07 07:47:07'::timestamp) - extract(epoch from '2026-07-07 07:47:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429384 -3.661628)', '2026-07-07 07:47:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429391 -3.661638)'), GeomFromEWKT('SRID=4674;POINT (-38.429384 -3.661628)'))) / (select extract(epoch from '2026-07-07 07:47:09'::timestamp) - extract(epoch from '2026-07-07 07:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429391 -3.661638)'), GeomFromEWKT('SRID=4674;POINT (-38.429384 -3.661628)'))) / (select extract(epoch from '2026-07-07 07:47:09'::timestamp) - extract(epoch from '2026-07-07 07:47:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429376 -3.661616)', '2026-07-07 07:47:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429384 -3.661628)'), GeomFromEWKT('SRID=4674;POINT (-38.429376 -3.661616)'))) / (select extract(epoch from '2026-07-07 07:47:11'::timestamp) - extract(epoch from '2026-07-07 07:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429384 -3.661628)'), GeomFromEWKT('SRID=4674;POINT (-38.429376 -3.661616)'))) / (select extract(epoch from '2026-07-07 07:47:11'::timestamp) - extract(epoch from '2026-07-07 07:47:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429341 -3.661559)', '2026-07-07 07:47:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429376 -3.661616)'), GeomFromEWKT('SRID=4674;POINT (-38.429341 -3.661559)'))) / (select extract(epoch from '2026-07-07 07:47:18'::timestamp) - extract(epoch from '2026-07-07 07:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429376 -3.661616)'), GeomFromEWKT('SRID=4674;POINT (-38.429341 -3.661559)'))) / (select extract(epoch from '2026-07-07 07:47:18'::timestamp) - extract(epoch from '2026-07-07 07:47:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429334 -3.661547)', '2026-07-07 07:47:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429341 -3.661559)'), GeomFromEWKT('SRID=4674;POINT (-38.429334 -3.661547)'))) / (select extract(epoch from '2026-07-07 07:47:19'::timestamp) - extract(epoch from '2026-07-07 07:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429341 -3.661559)'), GeomFromEWKT('SRID=4674;POINT (-38.429334 -3.661547)'))) / (select extract(epoch from '2026-07-07 07:47:19'::timestamp) - extract(epoch from '2026-07-07 07:47:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429328 -3.661524)', '2026-07-07 07:47:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429334 -3.661547)'), GeomFromEWKT('SRID=4674;POINT (-38.429328 -3.661524)'))) / (select extract(epoch from '2026-07-07 07:47:21'::timestamp) - extract(epoch from '2026-07-07 07:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429334 -3.661547)'), GeomFromEWKT('SRID=4674;POINT (-38.429328 -3.661524)'))) / (select extract(epoch from '2026-07-07 07:47:21'::timestamp) - extract(epoch from '2026-07-07 07:47:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429333 -3.661507)', '2026-07-07 07:47:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429328 -3.661524)'), GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661507)'))) / (select extract(epoch from '2026-07-07 07:47:22'::timestamp) - extract(epoch from '2026-07-07 07:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429328 -3.661524)'), GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661507)'))) / (select extract(epoch from '2026-07-07 07:47:22'::timestamp) - extract(epoch from '2026-07-07 07:47:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429333 -3.661494)', '2026-07-07 07:47:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661507)'), GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661494)'))) / (select extract(epoch from '2026-07-07 07:47:23'::timestamp) - extract(epoch from '2026-07-07 07:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661507)'), GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661494)'))) / (select extract(epoch from '2026-07-07 07:47:23'::timestamp) - extract(epoch from '2026-07-07 07:47:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42932 -3.661469)', '2026-07-07 07:47:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661494)'), GeomFromEWKT('SRID=4674;POINT (-38.42932 -3.661469)'))) / (select extract(epoch from '2026-07-07 07:47:25'::timestamp) - extract(epoch from '2026-07-07 07:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429333 -3.661494)'), GeomFromEWKT('SRID=4674;POINT (-38.42932 -3.661469)'))) / (select extract(epoch from '2026-07-07 07:47:25'::timestamp) - extract(epoch from '2026-07-07 07:47:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429321 -3.661454)', '2026-07-07 07:47:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42932 -3.661469)'), GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.661454)'))) / (select extract(epoch from '2026-07-07 07:47:26'::timestamp) - extract(epoch from '2026-07-07 07:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42932 -3.661469)'), GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.661454)'))) / (select extract(epoch from '2026-07-07 07:47:26'::timestamp) - extract(epoch from '2026-07-07 07:47:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429316 -3.661377)', '2026-07-07 07:47:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.661454)'), GeomFromEWKT('SRID=4674;POINT (-38.429316 -3.661377)'))) / (select extract(epoch from '2026-07-07 07:47:31'::timestamp) - extract(epoch from '2026-07-07 07:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429321 -3.661454)'), GeomFromEWKT('SRID=4674;POINT (-38.429316 -3.661377)'))) / (select extract(epoch from '2026-07-07 07:47:31'::timestamp) - extract(epoch from '2026-07-07 07:47:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429322 -3.661342)', '2026-07-07 07:47:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429316 -3.661377)'), GeomFromEWKT('SRID=4674;POINT (-38.429322 -3.661342)'))) / (select extract(epoch from '2026-07-07 07:47:33'::timestamp) - extract(epoch from '2026-07-07 07:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429316 -3.661377)'), GeomFromEWKT('SRID=4674;POINT (-38.429322 -3.661342)'))) / (select extract(epoch from '2026-07-07 07:47:33'::timestamp) - extract(epoch from '2026-07-07 07:47:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429338 -3.661241)', '2026-07-07 07:47:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429322 -3.661342)'), GeomFromEWKT('SRID=4674;POINT (-38.429338 -3.661241)'))) / (select extract(epoch from '2026-07-07 07:47:39'::timestamp) - extract(epoch from '2026-07-07 07:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429322 -3.661342)'), GeomFromEWKT('SRID=4674;POINT (-38.429338 -3.661241)'))) / (select extract(epoch from '2026-07-07 07:47:39'::timestamp) - extract(epoch from '2026-07-07 07:47:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429326 -3.661131)', '2026-07-07 07:47:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429338 -3.661241)'), GeomFromEWKT('SRID=4674;POINT (-38.429326 -3.661131)'))) / (select extract(epoch from '2026-07-07 07:47:45'::timestamp) - extract(epoch from '2026-07-07 07:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429338 -3.661241)'), GeomFromEWKT('SRID=4674;POINT (-38.429326 -3.661131)'))) / (select extract(epoch from '2026-07-07 07:47:45'::timestamp) - extract(epoch from '2026-07-07 07:47:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429283 -3.661041)', '2026-07-07 07:47:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429326 -3.661131)'), GeomFromEWKT('SRID=4674;POINT (-38.429283 -3.661041)'))) / (select extract(epoch from '2026-07-07 07:47:51'::timestamp) - extract(epoch from '2026-07-07 07:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429326 -3.661131)'), GeomFromEWKT('SRID=4674;POINT (-38.429283 -3.661041)'))) / (select extract(epoch from '2026-07-07 07:47:51'::timestamp) - extract(epoch from '2026-07-07 07:47:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429256 -3.661007)', '2026-07-07 07:47:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429283 -3.661041)'), GeomFromEWKT('SRID=4674;POINT (-38.429256 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:47:54'::timestamp) - extract(epoch from '2026-07-07 07:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429283 -3.661041)'), GeomFromEWKT('SRID=4674;POINT (-38.429256 -3.661007)'))) / (select extract(epoch from '2026-07-07 07:47:54'::timestamp) - extract(epoch from '2026-07-07 07:47:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429237 -3.660991)', '2026-07-07 07:47:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429256 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.429237 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:47:56'::timestamp) - extract(epoch from '2026-07-07 07:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429256 -3.661007)'), GeomFromEWKT('SRID=4674;POINT (-38.429237 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:47:56'::timestamp) - extract(epoch from '2026-07-07 07:47:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429224 -3.660981)', '2026-07-07 07:47:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429237 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.429224 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:47:57'::timestamp) - extract(epoch from '2026-07-07 07:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429237 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.429224 -3.660981)'))) / (select extract(epoch from '2026-07-07 07:47:57'::timestamp) - extract(epoch from '2026-07-07 07:47:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429191 -3.660962)', '2026-07-07 07:48:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429224 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.429191 -3.660962)'))) / (select extract(epoch from '2026-07-07 07:48:00'::timestamp) - extract(epoch from '2026-07-07 07:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429224 -3.660981)'), GeomFromEWKT('SRID=4674;POINT (-38.429191 -3.660962)'))) / (select extract(epoch from '2026-07-07 07:48:00'::timestamp) - extract(epoch from '2026-07-07 07:47:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42914 -3.66095)', '2026-07-07 07:48:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429191 -3.660962)'), GeomFromEWKT('SRID=4674;POINT (-38.42914 -3.66095)'))) / (select extract(epoch from '2026-07-07 07:48:04'::timestamp) - extract(epoch from '2026-07-07 07:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429191 -3.660962)'), GeomFromEWKT('SRID=4674;POINT (-38.42914 -3.66095)'))) / (select extract(epoch from '2026-07-07 07:48:04'::timestamp) - extract(epoch from '2026-07-07 07:48:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429117 -3.660944)', '2026-07-07 07:48:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42914 -3.66095)'), GeomFromEWKT('SRID=4674;POINT (-38.429117 -3.660944)'))) / (select extract(epoch from '2026-07-07 07:48:06'::timestamp) - extract(epoch from '2026-07-07 07:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42914 -3.66095)'), GeomFromEWKT('SRID=4674;POINT (-38.429117 -3.660944)'))) / (select extract(epoch from '2026-07-07 07:48:06'::timestamp) - extract(epoch from '2026-07-07 07:48:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429066 -3.660955)', '2026-07-07 07:48:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429117 -3.660944)'), GeomFromEWKT('SRID=4674;POINT (-38.429066 -3.660955)'))) / (select extract(epoch from '2026-07-07 07:48:11'::timestamp) - extract(epoch from '2026-07-07 07:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429117 -3.660944)'), GeomFromEWKT('SRID=4674;POINT (-38.429066 -3.660955)'))) / (select extract(epoch from '2026-07-07 07:48:11'::timestamp) - extract(epoch from '2026-07-07 07:48:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.429009 -3.660978)', '2026-07-07 07:48:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429066 -3.660955)'), GeomFromEWKT('SRID=4674;POINT (-38.429009 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:48:15'::timestamp) - extract(epoch from '2026-07-07 07:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429066 -3.660955)'), GeomFromEWKT('SRID=4674;POINT (-38.429009 -3.660978)'))) / (select extract(epoch from '2026-07-07 07:48:15'::timestamp) - extract(epoch from '2026-07-07 07:48:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428995 -3.660991)', '2026-07-07 07:48:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429009 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.428995 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:48:17'::timestamp) - extract(epoch from '2026-07-07 07:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429009 -3.660978)'), GeomFromEWKT('SRID=4674;POINT (-38.428995 -3.660991)'))) / (select extract(epoch from '2026-07-07 07:48:17'::timestamp) - extract(epoch from '2026-07-07 07:48:15'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428954 -3.66101)', '2026-07-07 07:48:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428995 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.428954 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:48:20'::timestamp) - extract(epoch from '2026-07-07 07:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428995 -3.660991)'), GeomFromEWKT('SRID=4674;POINT (-38.428954 -3.66101)'))) / (select extract(epoch from '2026-07-07 07:48:20'::timestamp) - extract(epoch from '2026-07-07 07:48:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428888 -3.661043)', '2026-07-07 07:48:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428954 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.428888 -3.661043)'))) / (select extract(epoch from '2026-07-07 07:48:26'::timestamp) - extract(epoch from '2026-07-07 07:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428954 -3.66101)'), GeomFromEWKT('SRID=4674;POINT (-38.428888 -3.661043)'))) / (select extract(epoch from '2026-07-07 07:48:26'::timestamp) - extract(epoch from '2026-07-07 07:48:20'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428833 -3.661089)', '2026-07-07 07:48:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428888 -3.661043)'), GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.661089)'))) / (select extract(epoch from '2026-07-07 07:48:32'::timestamp) - extract(epoch from '2026-07-07 07:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428888 -3.661043)'), GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.661089)'))) / (select extract(epoch from '2026-07-07 07:48:32'::timestamp) - extract(epoch from '2026-07-07 07:48:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428822 -3.661097)', '2026-07-07 07:48:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.661089)'), GeomFromEWKT('SRID=4674;POINT (-38.428822 -3.661097)'))) / (select extract(epoch from '2026-07-07 07:48:33'::timestamp) - extract(epoch from '2026-07-07 07:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.661089)'), GeomFromEWKT('SRID=4674;POINT (-38.428822 -3.661097)'))) / (select extract(epoch from '2026-07-07 07:48:33'::timestamp) - extract(epoch from '2026-07-07 07:48:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428794 -3.661108)', '2026-07-07 07:48:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428822 -3.661097)'), GeomFromEWKT('SRID=4674;POINT (-38.428794 -3.661108)'))) / (select extract(epoch from '2026-07-07 07:48:35'::timestamp) - extract(epoch from '2026-07-07 07:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428822 -3.661097)'), GeomFromEWKT('SRID=4674;POINT (-38.428794 -3.661108)'))) / (select extract(epoch from '2026-07-07 07:48:35'::timestamp) - extract(epoch from '2026-07-07 07:48:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428782 -3.661121)', '2026-07-07 07:48:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428794 -3.661108)'), GeomFromEWKT('SRID=4674;POINT (-38.428782 -3.661121)'))) / (select extract(epoch from '2026-07-07 07:48:36'::timestamp) - extract(epoch from '2026-07-07 07:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428794 -3.661108)'), GeomFromEWKT('SRID=4674;POINT (-38.428782 -3.661121)'))) / (select extract(epoch from '2026-07-07 07:48:36'::timestamp) - extract(epoch from '2026-07-07 07:48:35'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428746 -3.661147)', '2026-07-07 07:48:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428782 -3.661121)'), GeomFromEWKT('SRID=4674;POINT (-38.428746 -3.661147)'))) / (select extract(epoch from '2026-07-07 07:48:39'::timestamp) - extract(epoch from '2026-07-07 07:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428782 -3.661121)'), GeomFromEWKT('SRID=4674;POINT (-38.428746 -3.661147)'))) / (select extract(epoch from '2026-07-07 07:48:39'::timestamp) - extract(epoch from '2026-07-07 07:48:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428724 -3.661167)', '2026-07-07 07:48:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428746 -3.661147)'), GeomFromEWKT('SRID=4674;POINT (-38.428724 -3.661167)'))) / (select extract(epoch from '2026-07-07 07:48:41'::timestamp) - extract(epoch from '2026-07-07 07:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428746 -3.661147)'), GeomFromEWKT('SRID=4674;POINT (-38.428724 -3.661167)'))) / (select extract(epoch from '2026-07-07 07:48:41'::timestamp) - extract(epoch from '2026-07-07 07:48:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428669 -3.661221)', '2026-07-07 07:48:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428724 -3.661167)'), GeomFromEWKT('SRID=4674;POINT (-38.428669 -3.661221)'))) / (select extract(epoch from '2026-07-07 07:48:46'::timestamp) - extract(epoch from '2026-07-07 07:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428724 -3.661167)'), GeomFromEWKT('SRID=4674;POINT (-38.428669 -3.661221)'))) / (select extract(epoch from '2026-07-07 07:48:46'::timestamp) - extract(epoch from '2026-07-07 07:48:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428639 -3.661254)', '2026-07-07 07:48:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428669 -3.661221)'), GeomFromEWKT('SRID=4674;POINT (-38.428639 -3.661254)'))) / (select extract(epoch from '2026-07-07 07:48:49'::timestamp) - extract(epoch from '2026-07-07 07:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428669 -3.661221)'), GeomFromEWKT('SRID=4674;POINT (-38.428639 -3.661254)'))) / (select extract(epoch from '2026-07-07 07:48:49'::timestamp) - extract(epoch from '2026-07-07 07:48:46'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428621 -3.661268)', '2026-07-07 07:48:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428639 -3.661254)'), GeomFromEWKT('SRID=4674;POINT (-38.428621 -3.661268)'))) / (select extract(epoch from '2026-07-07 07:48:51'::timestamp) - extract(epoch from '2026-07-07 07:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428639 -3.661254)'), GeomFromEWKT('SRID=4674;POINT (-38.428621 -3.661268)'))) / (select extract(epoch from '2026-07-07 07:48:51'::timestamp) - extract(epoch from '2026-07-07 07:48:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428568 -3.661322)', '2026-07-07 07:48:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428621 -3.661268)'), GeomFromEWKT('SRID=4674;POINT (-38.428568 -3.661322)'))) / (select extract(epoch from '2026-07-07 07:48:57'::timestamp) - extract(epoch from '2026-07-07 07:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428621 -3.661268)'), GeomFromEWKT('SRID=4674;POINT (-38.428568 -3.661322)'))) / (select extract(epoch from '2026-07-07 07:48:57'::timestamp) - extract(epoch from '2026-07-07 07:48:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428517 -3.661385)', '2026-07-07 07:49:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428568 -3.661322)'), GeomFromEWKT('SRID=4674;POINT (-38.428517 -3.661385)'))) / (select extract(epoch from '2026-07-07 07:49:03'::timestamp) - extract(epoch from '2026-07-07 07:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428568 -3.661322)'), GeomFromEWKT('SRID=4674;POINT (-38.428517 -3.661385)'))) / (select extract(epoch from '2026-07-07 07:49:03'::timestamp) - extract(epoch from '2026-07-07 07:48:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428507 -3.661395)', '2026-07-07 07:49:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428517 -3.661385)'), GeomFromEWKT('SRID=4674;POINT (-38.428507 -3.661395)'))) / (select extract(epoch from '2026-07-07 07:49:04'::timestamp) - extract(epoch from '2026-07-07 07:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428517 -3.661385)'), GeomFromEWKT('SRID=4674;POINT (-38.428507 -3.661395)'))) / (select extract(epoch from '2026-07-07 07:49:04'::timestamp) - extract(epoch from '2026-07-07 07:49:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428474 -3.661428)', '2026-07-07 07:49:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428507 -3.661395)'), GeomFromEWKT('SRID=4674;POINT (-38.428474 -3.661428)'))) / (select extract(epoch from '2026-07-07 07:49:07'::timestamp) - extract(epoch from '2026-07-07 07:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428507 -3.661395)'), GeomFromEWKT('SRID=4674;POINT (-38.428474 -3.661428)'))) / (select extract(epoch from '2026-07-07 07:49:07'::timestamp) - extract(epoch from '2026-07-07 07:49:04'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428425 -3.661509)', '2026-07-07 07:49:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428474 -3.661428)'), GeomFromEWKT('SRID=4674;POINT (-38.428425 -3.661509)'))) / (select extract(epoch from '2026-07-07 07:49:13'::timestamp) - extract(epoch from '2026-07-07 07:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428474 -3.661428)'), GeomFromEWKT('SRID=4674;POINT (-38.428425 -3.661509)'))) / (select extract(epoch from '2026-07-07 07:49:13'::timestamp) - extract(epoch from '2026-07-07 07:49:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428361 -3.66158)', '2026-07-07 07:49:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428425 -3.661509)'), GeomFromEWKT('SRID=4674;POINT (-38.428361 -3.66158)'))) / (select extract(epoch from '2026-07-07 07:49:19'::timestamp) - extract(epoch from '2026-07-07 07:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428425 -3.661509)'), GeomFromEWKT('SRID=4674;POINT (-38.428361 -3.66158)'))) / (select extract(epoch from '2026-07-07 07:49:19'::timestamp) - extract(epoch from '2026-07-07 07:49:13'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428335 -3.661601)', '2026-07-07 07:49:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428361 -3.66158)'), GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.661601)'))) / (select extract(epoch from '2026-07-07 07:49:21'::timestamp) - extract(epoch from '2026-07-07 07:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428361 -3.66158)'), GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.661601)'))) / (select extract(epoch from '2026-07-07 07:49:21'::timestamp) - extract(epoch from '2026-07-07 07:49:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428309 -3.661619)', '2026-07-07 07:49:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.661601)'), GeomFromEWKT('SRID=4674;POINT (-38.428309 -3.661619)'))) / (select extract(epoch from '2026-07-07 07:49:23'::timestamp) - extract(epoch from '2026-07-07 07:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428335 -3.661601)'), GeomFromEWKT('SRID=4674;POINT (-38.428309 -3.661619)'))) / (select extract(epoch from '2026-07-07 07:49:23'::timestamp) - extract(epoch from '2026-07-07 07:49:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428246 -3.661685)', '2026-07-07 07:49:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428309 -3.661619)'), GeomFromEWKT('SRID=4674;POINT (-38.428246 -3.661685)'))) / (select extract(epoch from '2026-07-07 07:49:28'::timestamp) - extract(epoch from '2026-07-07 07:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428309 -3.661619)'), GeomFromEWKT('SRID=4674;POINT (-38.428246 -3.661685)'))) / (select extract(epoch from '2026-07-07 07:49:28'::timestamp) - extract(epoch from '2026-07-07 07:49:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428217 -3.66173)', '2026-07-07 07:49:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428246 -3.661685)'), GeomFromEWKT('SRID=4674;POINT (-38.428217 -3.66173)'))) / (select extract(epoch from '2026-07-07 07:49:31'::timestamp) - extract(epoch from '2026-07-07 07:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428246 -3.661685)'), GeomFromEWKT('SRID=4674;POINT (-38.428217 -3.66173)'))) / (select extract(epoch from '2026-07-07 07:49:31'::timestamp) - extract(epoch from '2026-07-07 07:49:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428188 -3.661753)', '2026-07-07 07:49:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428217 -3.66173)'), GeomFromEWKT('SRID=4674;POINT (-38.428188 -3.661753)'))) / (select extract(epoch from '2026-07-07 07:49:33'::timestamp) - extract(epoch from '2026-07-07 07:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428217 -3.66173)'), GeomFromEWKT('SRID=4674;POINT (-38.428188 -3.661753)'))) / (select extract(epoch from '2026-07-07 07:49:33'::timestamp) - extract(epoch from '2026-07-07 07:49:31'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428106 -3.661845)', '2026-07-07 07:49:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428188 -3.661753)'), GeomFromEWKT('SRID=4674;POINT (-38.428106 -3.661845)'))) / (select extract(epoch from '2026-07-07 07:49:40'::timestamp) - extract(epoch from '2026-07-07 07:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428188 -3.661753)'), GeomFromEWKT('SRID=4674;POINT (-38.428106 -3.661845)'))) / (select extract(epoch from '2026-07-07 07:49:40'::timestamp) - extract(epoch from '2026-07-07 07:49:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428067 -3.661892)', '2026-07-07 07:49:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428106 -3.661845)'), GeomFromEWKT('SRID=4674;POINT (-38.428067 -3.661892)'))) / (select extract(epoch from '2026-07-07 07:49:44'::timestamp) - extract(epoch from '2026-07-07 07:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428106 -3.661845)'), GeomFromEWKT('SRID=4674;POINT (-38.428067 -3.661892)'))) / (select extract(epoch from '2026-07-07 07:49:44'::timestamp) - extract(epoch from '2026-07-07 07:49:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.428011 -3.661942)', '2026-07-07 07:49:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428067 -3.661892)'), GeomFromEWKT('SRID=4674;POINT (-38.428011 -3.661942)'))) / (select extract(epoch from '2026-07-07 07:49:49'::timestamp) - extract(epoch from '2026-07-07 07:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428067 -3.661892)'), GeomFromEWKT('SRID=4674;POINT (-38.428011 -3.661942)'))) / (select extract(epoch from '2026-07-07 07:49:49'::timestamp) - extract(epoch from '2026-07-07 07:49:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427958 -3.661989)', '2026-07-07 07:49:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428011 -3.661942)'), GeomFromEWKT('SRID=4674;POINT (-38.427958 -3.661989)'))) / (select extract(epoch from '2026-07-07 07:49:54'::timestamp) - extract(epoch from '2026-07-07 07:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428011 -3.661942)'), GeomFromEWKT('SRID=4674;POINT (-38.427958 -3.661989)'))) / (select extract(epoch from '2026-07-07 07:49:54'::timestamp) - extract(epoch from '2026-07-07 07:49:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427898 -3.662052)', '2026-07-07 07:50:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427958 -3.661989)'), GeomFromEWKT('SRID=4674;POINT (-38.427898 -3.662052)'))) / (select extract(epoch from '2026-07-07 07:50:00'::timestamp) - extract(epoch from '2026-07-07 07:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427958 -3.661989)'), GeomFromEWKT('SRID=4674;POINT (-38.427898 -3.662052)'))) / (select extract(epoch from '2026-07-07 07:50:00'::timestamp) - extract(epoch from '2026-07-07 07:49:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427839 -3.662125)', '2026-07-07 07:50:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427898 -3.662052)'), GeomFromEWKT('SRID=4674;POINT (-38.427839 -3.662125)'))) / (select extract(epoch from '2026-07-07 07:50:06'::timestamp) - extract(epoch from '2026-07-07 07:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427898 -3.662052)'), GeomFromEWKT('SRID=4674;POINT (-38.427839 -3.662125)'))) / (select extract(epoch from '2026-07-07 07:50:06'::timestamp) - extract(epoch from '2026-07-07 07:50:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427781 -3.662175)', '2026-07-07 07:50:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427839 -3.662125)'), GeomFromEWKT('SRID=4674;POINT (-38.427781 -3.662175)'))) / (select extract(epoch from '2026-07-07 07:50:11'::timestamp) - extract(epoch from '2026-07-07 07:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427839 -3.662125)'), GeomFromEWKT('SRID=4674;POINT (-38.427781 -3.662175)'))) / (select extract(epoch from '2026-07-07 07:50:11'::timestamp) - extract(epoch from '2026-07-07 07:50:06'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427737 -3.662215)', '2026-07-07 07:50:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427781 -3.662175)'), GeomFromEWKT('SRID=4674;POINT (-38.427737 -3.662215)'))) / (select extract(epoch from '2026-07-07 07:50:16'::timestamp) - extract(epoch from '2026-07-07 07:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427781 -3.662175)'), GeomFromEWKT('SRID=4674;POINT (-38.427737 -3.662215)'))) / (select extract(epoch from '2026-07-07 07:50:16'::timestamp) - extract(epoch from '2026-07-07 07:50:11'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427699 -3.66224)', '2026-07-07 07:50:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427737 -3.662215)'), GeomFromEWKT('SRID=4674;POINT (-38.427699 -3.66224)'))) / (select extract(epoch from '2026-07-07 07:50:19'::timestamp) - extract(epoch from '2026-07-07 07:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427737 -3.662215)'), GeomFromEWKT('SRID=4674;POINT (-38.427699 -3.66224)'))) / (select extract(epoch from '2026-07-07 07:50:19'::timestamp) - extract(epoch from '2026-07-07 07:50:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427671 -3.662262)', '2026-07-07 07:50:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427699 -3.66224)'), GeomFromEWKT('SRID=4674;POINT (-38.427671 -3.662262)'))) / (select extract(epoch from '2026-07-07 07:50:21'::timestamp) - extract(epoch from '2026-07-07 07:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427699 -3.66224)'), GeomFromEWKT('SRID=4674;POINT (-38.427671 -3.662262)'))) / (select extract(epoch from '2026-07-07 07:50:21'::timestamp) - extract(epoch from '2026-07-07 07:50:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427611 -3.662303)', '2026-07-07 07:50:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427671 -3.662262)'), GeomFromEWKT('SRID=4674;POINT (-38.427611 -3.662303)'))) / (select extract(epoch from '2026-07-07 07:50:26'::timestamp) - extract(epoch from '2026-07-07 07:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427671 -3.662262)'), GeomFromEWKT('SRID=4674;POINT (-38.427611 -3.662303)'))) / (select extract(epoch from '2026-07-07 07:50:26'::timestamp) - extract(epoch from '2026-07-07 07:50:21'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427538 -3.66236)', '2026-07-07 07:50:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427611 -3.662303)'), GeomFromEWKT('SRID=4674;POINT (-38.427538 -3.66236)'))) / (select extract(epoch from '2026-07-07 07:50:32'::timestamp) - extract(epoch from '2026-07-07 07:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427611 -3.662303)'), GeomFromEWKT('SRID=4674;POINT (-38.427538 -3.66236)'))) / (select extract(epoch from '2026-07-07 07:50:32'::timestamp) - extract(epoch from '2026-07-07 07:50:26'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427483 -3.662428)', '2026-07-07 07:50:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427538 -3.66236)'), GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.662428)'))) / (select extract(epoch from '2026-07-07 07:50:37'::timestamp) - extract(epoch from '2026-07-07 07:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427538 -3.66236)'), GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.662428)'))) / (select extract(epoch from '2026-07-07 07:50:37'::timestamp) - extract(epoch from '2026-07-07 07:50:32'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427451 -3.662472)', '2026-07-07 07:50:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.662428)'), GeomFromEWKT('SRID=4674;POINT (-38.427451 -3.662472)'))) / (select extract(epoch from '2026-07-07 07:50:40'::timestamp) - extract(epoch from '2026-07-07 07:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427483 -3.662428)'), GeomFromEWKT('SRID=4674;POINT (-38.427451 -3.662472)'))) / (select extract(epoch from '2026-07-07 07:50:40'::timestamp) - extract(epoch from '2026-07-07 07:50:37'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42742 -3.662502)', '2026-07-07 07:50:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427451 -3.662472)'), GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.662502)'))) / (select extract(epoch from '2026-07-07 07:50:43'::timestamp) - extract(epoch from '2026-07-07 07:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427451 -3.662472)'), GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.662502)'))) / (select extract(epoch from '2026-07-07 07:50:43'::timestamp) - extract(epoch from '2026-07-07 07:50:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427369 -3.662584)', '2026-07-07 07:50:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.662502)'), GeomFromEWKT('SRID=4674;POINT (-38.427369 -3.662584)'))) / (select extract(epoch from '2026-07-07 07:50:50'::timestamp) - extract(epoch from '2026-07-07 07:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42742 -3.662502)'), GeomFromEWKT('SRID=4674;POINT (-38.427369 -3.662584)'))) / (select extract(epoch from '2026-07-07 07:50:50'::timestamp) - extract(epoch from '2026-07-07 07:50:43'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427295 -3.662681)', '2026-07-07 07:50:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427369 -3.662584)'), GeomFromEWKT('SRID=4674;POINT (-38.427295 -3.662681)'))) / (select extract(epoch from '2026-07-07 07:50:57'::timestamp) - extract(epoch from '2026-07-07 07:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427369 -3.662584)'), GeomFromEWKT('SRID=4674;POINT (-38.427295 -3.662681)'))) / (select extract(epoch from '2026-07-07 07:50:57'::timestamp) - extract(epoch from '2026-07-07 07:50:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427249 -3.662734)', '2026-07-07 07:51:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427295 -3.662681)'), GeomFromEWKT('SRID=4674;POINT (-38.427249 -3.662734)'))) / (select extract(epoch from '2026-07-07 07:51:01'::timestamp) - extract(epoch from '2026-07-07 07:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427295 -3.662681)'), GeomFromEWKT('SRID=4674;POINT (-38.427249 -3.662734)'))) / (select extract(epoch from '2026-07-07 07:51:01'::timestamp) - extract(epoch from '2026-07-07 07:50:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427183 -3.66281)', '2026-07-07 07:51:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427249 -3.662734)'), GeomFromEWKT('SRID=4674;POINT (-38.427183 -3.66281)'))) / (select extract(epoch from '2026-07-07 07:51:07'::timestamp) - extract(epoch from '2026-07-07 07:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427249 -3.662734)'), GeomFromEWKT('SRID=4674;POINT (-38.427183 -3.66281)'))) / (select extract(epoch from '2026-07-07 07:51:07'::timestamp) - extract(epoch from '2026-07-07 07:51:01'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427172 -3.66282)', '2026-07-07 07:51:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427183 -3.66281)'), GeomFromEWKT('SRID=4674;POINT (-38.427172 -3.66282)'))) / (select extract(epoch from '2026-07-07 07:51:08'::timestamp) - extract(epoch from '2026-07-07 07:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427183 -3.66281)'), GeomFromEWKT('SRID=4674;POINT (-38.427172 -3.66282)'))) / (select extract(epoch from '2026-07-07 07:51:08'::timestamp) - extract(epoch from '2026-07-07 07:51:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427124 -3.662873)', '2026-07-07 07:51:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427172 -3.66282)'), GeomFromEWKT('SRID=4674;POINT (-38.427124 -3.662873)'))) / (select extract(epoch from '2026-07-07 07:51:12'::timestamp) - extract(epoch from '2026-07-07 07:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427172 -3.66282)'), GeomFromEWKT('SRID=4674;POINT (-38.427124 -3.662873)'))) / (select extract(epoch from '2026-07-07 07:51:12'::timestamp) - extract(epoch from '2026-07-07 07:51:08'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427073 -3.662918)', '2026-07-07 07:51:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427124 -3.662873)'), GeomFromEWKT('SRID=4674;POINT (-38.427073 -3.662918)'))) / (select extract(epoch from '2026-07-07 07:51:16'::timestamp) - extract(epoch from '2026-07-07 07:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427124 -3.662873)'), GeomFromEWKT('SRID=4674;POINT (-38.427073 -3.662918)'))) / (select extract(epoch from '2026-07-07 07:51:16'::timestamp) - extract(epoch from '2026-07-07 07:51:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427063 -3.662931)', '2026-07-07 07:51:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427073 -3.662918)'), GeomFromEWKT('SRID=4674;POINT (-38.427063 -3.662931)'))) / (select extract(epoch from '2026-07-07 07:51:17'::timestamp) - extract(epoch from '2026-07-07 07:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427073 -3.662918)'), GeomFromEWKT('SRID=4674;POINT (-38.427063 -3.662931)'))) / (select extract(epoch from '2026-07-07 07:51:17'::timestamp) - extract(epoch from '2026-07-07 07:51:16'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.427003 -3.662985)', '2026-07-07 07:51:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427063 -3.662931)'), GeomFromEWKT('SRID=4674;POINT (-38.427003 -3.662985)'))) / (select extract(epoch from '2026-07-07 07:51:22'::timestamp) - extract(epoch from '2026-07-07 07:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427063 -3.662931)'), GeomFromEWKT('SRID=4674;POINT (-38.427003 -3.662985)'))) / (select extract(epoch from '2026-07-07 07:51:22'::timestamp) - extract(epoch from '2026-07-07 07:51:17'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426991 -3.662989)', '2026-07-07 07:51:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427003 -3.662985)'), GeomFromEWKT('SRID=4674;POINT (-38.426991 -3.662989)'))) / (select extract(epoch from '2026-07-07 07:51:23'::timestamp) - extract(epoch from '2026-07-07 07:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427003 -3.662985)'), GeomFromEWKT('SRID=4674;POINT (-38.426991 -3.662989)'))) / (select extract(epoch from '2026-07-07 07:51:23'::timestamp) - extract(epoch from '2026-07-07 07:51:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42694 -3.663042)', '2026-07-07 07:51:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426991 -3.662989)'), GeomFromEWKT('SRID=4674;POINT (-38.42694 -3.663042)'))) / (select extract(epoch from '2026-07-07 07:51:28'::timestamp) - extract(epoch from '2026-07-07 07:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426991 -3.662989)'), GeomFromEWKT('SRID=4674;POINT (-38.42694 -3.663042)'))) / (select extract(epoch from '2026-07-07 07:51:28'::timestamp) - extract(epoch from '2026-07-07 07:51:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426879 -3.663096)', '2026-07-07 07:51:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42694 -3.663042)'), GeomFromEWKT('SRID=4674;POINT (-38.426879 -3.663096)'))) / (select extract(epoch from '2026-07-07 07:51:33'::timestamp) - extract(epoch from '2026-07-07 07:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42694 -3.663042)'), GeomFromEWKT('SRID=4674;POINT (-38.426879 -3.663096)'))) / (select extract(epoch from '2026-07-07 07:51:33'::timestamp) - extract(epoch from '2026-07-07 07:51:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426797 -3.663163)', '2026-07-07 07:51:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426879 -3.663096)'), GeomFromEWKT('SRID=4674;POINT (-38.426797 -3.663163)'))) / (select extract(epoch from '2026-07-07 07:51:39'::timestamp) - extract(epoch from '2026-07-07 07:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426879 -3.663096)'), GeomFromEWKT('SRID=4674;POINT (-38.426797 -3.663163)'))) / (select extract(epoch from '2026-07-07 07:51:39'::timestamp) - extract(epoch from '2026-07-07 07:51:33'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426766 -3.663196)', '2026-07-07 07:51:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426797 -3.663163)'), GeomFromEWKT('SRID=4674;POINT (-38.426766 -3.663196)'))) / (select extract(epoch from '2026-07-07 07:51:42'::timestamp) - extract(epoch from '2026-07-07 07:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426797 -3.663163)'), GeomFromEWKT('SRID=4674;POINT (-38.426766 -3.663196)'))) / (select extract(epoch from '2026-07-07 07:51:42'::timestamp) - extract(epoch from '2026-07-07 07:51:39'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426745 -3.663224)', '2026-07-07 07:51:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426766 -3.663196)'), GeomFromEWKT('SRID=4674;POINT (-38.426745 -3.663224)'))) / (select extract(epoch from '2026-07-07 07:51:44'::timestamp) - extract(epoch from '2026-07-07 07:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426766 -3.663196)'), GeomFromEWKT('SRID=4674;POINT (-38.426745 -3.663224)'))) / (select extract(epoch from '2026-07-07 07:51:44'::timestamp) - extract(epoch from '2026-07-07 07:51:42'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426695 -3.663274)', '2026-07-07 07:51:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426745 -3.663224)'), GeomFromEWKT('SRID=4674;POINT (-38.426695 -3.663274)'))) / (select extract(epoch from '2026-07-07 07:51:48'::timestamp) - extract(epoch from '2026-07-07 07:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426745 -3.663224)'), GeomFromEWKT('SRID=4674;POINT (-38.426695 -3.663274)'))) / (select extract(epoch from '2026-07-07 07:51:48'::timestamp) - extract(epoch from '2026-07-07 07:51:44'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426659 -3.663304)', '2026-07-07 07:51:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426695 -3.663274)'), GeomFromEWKT('SRID=4674;POINT (-38.426659 -3.663304)'))) / (select extract(epoch from '2026-07-07 07:51:51'::timestamp) - extract(epoch from '2026-07-07 07:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426695 -3.663274)'), GeomFromEWKT('SRID=4674;POINT (-38.426659 -3.663304)'))) / (select extract(epoch from '2026-07-07 07:51:51'::timestamp) - extract(epoch from '2026-07-07 07:51:48'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426643 -3.663315)', '2026-07-07 07:51:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426659 -3.663304)'), GeomFromEWKT('SRID=4674;POINT (-38.426643 -3.663315)'))) / (select extract(epoch from '2026-07-07 07:51:52'::timestamp) - extract(epoch from '2026-07-07 07:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426659 -3.663304)'), GeomFromEWKT('SRID=4674;POINT (-38.426643 -3.663315)'))) / (select extract(epoch from '2026-07-07 07:51:52'::timestamp) - extract(epoch from '2026-07-07 07:51:51'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426589 -3.663362)', '2026-07-07 07:51:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426643 -3.663315)'), GeomFromEWKT('SRID=4674;POINT (-38.426589 -3.663362)'))) / (select extract(epoch from '2026-07-07 07:51:57'::timestamp) - extract(epoch from '2026-07-07 07:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426643 -3.663315)'), GeomFromEWKT('SRID=4674;POINT (-38.426589 -3.663362)'))) / (select extract(epoch from '2026-07-07 07:51:57'::timestamp) - extract(epoch from '2026-07-07 07:51:52'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42652 -3.663402)', '2026-07-07 07:52:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426589 -3.663362)'), GeomFromEWKT('SRID=4674;POINT (-38.42652 -3.663402)'))) / (select extract(epoch from '2026-07-07 07:52:02'::timestamp) - extract(epoch from '2026-07-07 07:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426589 -3.663362)'), GeomFromEWKT('SRID=4674;POINT (-38.42652 -3.663402)'))) / (select extract(epoch from '2026-07-07 07:52:02'::timestamp) - extract(epoch from '2026-07-07 07:51:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426449 -3.663443)', '2026-07-07 07:52:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42652 -3.663402)'), GeomFromEWKT('SRID=4674;POINT (-38.426449 -3.663443)'))) / (select extract(epoch from '2026-07-07 07:52:07'::timestamp) - extract(epoch from '2026-07-07 07:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42652 -3.663402)'), GeomFromEWKT('SRID=4674;POINT (-38.426449 -3.663443)'))) / (select extract(epoch from '2026-07-07 07:52:07'::timestamp) - extract(epoch from '2026-07-07 07:52:02'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426384 -3.663475)', '2026-07-07 07:52:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426449 -3.663443)'), GeomFromEWKT('SRID=4674;POINT (-38.426384 -3.663475)'))) / (select extract(epoch from '2026-07-07 07:52:12'::timestamp) - extract(epoch from '2026-07-07 07:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426449 -3.663443)'), GeomFromEWKT('SRID=4674;POINT (-38.426384 -3.663475)'))) / (select extract(epoch from '2026-07-07 07:52:12'::timestamp) - extract(epoch from '2026-07-07 07:52:07'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.4263 -3.663525)', '2026-07-07 07:52:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426384 -3.663475)'), GeomFromEWKT('SRID=4674;POINT (-38.4263 -3.663525)'))) / (select extract(epoch from '2026-07-07 07:52:18'::timestamp) - extract(epoch from '2026-07-07 07:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426384 -3.663475)'), GeomFromEWKT('SRID=4674;POINT (-38.4263 -3.663525)'))) / (select extract(epoch from '2026-07-07 07:52:18'::timestamp) - extract(epoch from '2026-07-07 07:52:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426225 -3.663576)', '2026-07-07 07:52:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4263 -3.663525)'), GeomFromEWKT('SRID=4674;POINT (-38.426225 -3.663576)'))) / (select extract(epoch from '2026-07-07 07:52:23'::timestamp) - extract(epoch from '2026-07-07 07:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4263 -3.663525)'), GeomFromEWKT('SRID=4674;POINT (-38.426225 -3.663576)'))) / (select extract(epoch from '2026-07-07 07:52:23'::timestamp) - extract(epoch from '2026-07-07 07:52:18'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426177 -3.663614)', '2026-07-07 07:52:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426225 -3.663576)'), GeomFromEWKT('SRID=4674;POINT (-38.426177 -3.663614)'))) / (select extract(epoch from '2026-07-07 07:52:27'::timestamp) - extract(epoch from '2026-07-07 07:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426225 -3.663576)'), GeomFromEWKT('SRID=4674;POINT (-38.426177 -3.663614)'))) / (select extract(epoch from '2026-07-07 07:52:27'::timestamp) - extract(epoch from '2026-07-07 07:52:23'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426163 -3.663621)', '2026-07-07 07:52:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426177 -3.663614)'), GeomFromEWKT('SRID=4674;POINT (-38.426163 -3.663621)'))) / (select extract(epoch from '2026-07-07 07:52:28'::timestamp) - extract(epoch from '2026-07-07 07:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426177 -3.663614)'), GeomFromEWKT('SRID=4674;POINT (-38.426163 -3.663621)'))) / (select extract(epoch from '2026-07-07 07:52:28'::timestamp) - extract(epoch from '2026-07-07 07:52:27'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426081 -3.663673)', '2026-07-07 07:52:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426163 -3.663621)'), GeomFromEWKT('SRID=4674;POINT (-38.426081 -3.663673)'))) / (select extract(epoch from '2026-07-07 07:52:34'::timestamp) - extract(epoch from '2026-07-07 07:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426163 -3.663621)'), GeomFromEWKT('SRID=4674;POINT (-38.426081 -3.663673)'))) / (select extract(epoch from '2026-07-07 07:52:34'::timestamp) - extract(epoch from '2026-07-07 07:52:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.426006 -3.663734)', '2026-07-07 07:52:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426081 -3.663673)'), GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.663734)'))) / (select extract(epoch from '2026-07-07 07:52:40'::timestamp) - extract(epoch from '2026-07-07 07:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426081 -3.663673)'), GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.663734)'))) / (select extract(epoch from '2026-07-07 07:52:40'::timestamp) - extract(epoch from '2026-07-07 07:52:34'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42596 -3.663804)', '2026-07-07 07:52:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.663734)'), GeomFromEWKT('SRID=4674;POINT (-38.42596 -3.663804)'))) / (select extract(epoch from '2026-07-07 07:52:45'::timestamp) - extract(epoch from '2026-07-07 07:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426006 -3.663734)'), GeomFromEWKT('SRID=4674;POINT (-38.42596 -3.663804)'))) / (select extract(epoch from '2026-07-07 07:52:45'::timestamp) - extract(epoch from '2026-07-07 07:52:40'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425903 -3.663872)', '2026-07-07 07:52:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42596 -3.663804)'), GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.663872)'))) / (select extract(epoch from '2026-07-07 07:52:50'::timestamp) - extract(epoch from '2026-07-07 07:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42596 -3.663804)'), GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.663872)'))) / (select extract(epoch from '2026-07-07 07:52:50'::timestamp) - extract(epoch from '2026-07-07 07:52:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42586 -3.66392)', '2026-07-07 07:52:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.663872)'), GeomFromEWKT('SRID=4674;POINT (-38.42586 -3.66392)'))) / (select extract(epoch from '2026-07-07 07:52:54'::timestamp) - extract(epoch from '2026-07-07 07:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425903 -3.663872)'), GeomFromEWKT('SRID=4674;POINT (-38.42586 -3.66392)'))) / (select extract(epoch from '2026-07-07 07:52:54'::timestamp) - extract(epoch from '2026-07-07 07:52:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425854 -3.663934)', '2026-07-07 07:52:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42586 -3.66392)'), GeomFromEWKT('SRID=4674;POINT (-38.425854 -3.663934)'))) / (select extract(epoch from '2026-07-07 07:52:55'::timestamp) - extract(epoch from '2026-07-07 07:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42586 -3.66392)'), GeomFromEWKT('SRID=4674;POINT (-38.425854 -3.663934)'))) / (select extract(epoch from '2026-07-07 07:52:55'::timestamp) - extract(epoch from '2026-07-07 07:52:54'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425843 -3.663946)', '2026-07-07 07:52:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425854 -3.663934)'), GeomFromEWKT('SRID=4674;POINT (-38.425843 -3.663946)'))) / (select extract(epoch from '2026-07-07 07:52:56'::timestamp) - extract(epoch from '2026-07-07 07:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425854 -3.663934)'), GeomFromEWKT('SRID=4674;POINT (-38.425843 -3.663946)'))) / (select extract(epoch from '2026-07-07 07:52:56'::timestamp) - extract(epoch from '2026-07-07 07:52:55'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425823 -3.663982)', '2026-07-07 07:52:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425843 -3.663946)'), GeomFromEWKT('SRID=4674;POINT (-38.425823 -3.663982)'))) / (select extract(epoch from '2026-07-07 07:52:59'::timestamp) - extract(epoch from '2026-07-07 07:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425843 -3.663946)'), GeomFromEWKT('SRID=4674;POINT (-38.425823 -3.663982)'))) / (select extract(epoch from '2026-07-07 07:52:59'::timestamp) - extract(epoch from '2026-07-07 07:52:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425814 -3.663996)', '2026-07-07 07:53:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425823 -3.663982)'), GeomFromEWKT('SRID=4674;POINT (-38.425814 -3.663996)'))) / (select extract(epoch from '2026-07-07 07:53:00'::timestamp) - extract(epoch from '2026-07-07 07:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425823 -3.663982)'), GeomFromEWKT('SRID=4674;POINT (-38.425814 -3.663996)'))) / (select extract(epoch from '2026-07-07 07:53:00'::timestamp) - extract(epoch from '2026-07-07 07:52:59'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425779 -3.664031)', '2026-07-07 07:53:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425814 -3.663996)'), GeomFromEWKT('SRID=4674;POINT (-38.425779 -3.664031)'))) / (select extract(epoch from '2026-07-07 07:53:03'::timestamp) - extract(epoch from '2026-07-07 07:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425814 -3.663996)'), GeomFromEWKT('SRID=4674;POINT (-38.425779 -3.664031)'))) / (select extract(epoch from '2026-07-07 07:53:03'::timestamp) - extract(epoch from '2026-07-07 07:53:00'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42572 -3.664125)', '2026-07-07 07:53:09', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425779 -3.664031)'), GeomFromEWKT('SRID=4674;POINT (-38.42572 -3.664125)'))) / (select extract(epoch from '2026-07-07 07:53:09'::timestamp) - extract(epoch from '2026-07-07 07:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425779 -3.664031)'), GeomFromEWKT('SRID=4674;POINT (-38.42572 -3.664125)'))) / (select extract(epoch from '2026-07-07 07:53:09'::timestamp) - extract(epoch from '2026-07-07 07:53:03'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425693 -3.664169)', '2026-07-07 07:53:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42572 -3.664125)'), GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.664169)'))) / (select extract(epoch from '2026-07-07 07:53:12'::timestamp) - extract(epoch from '2026-07-07 07:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42572 -3.664125)'), GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.664169)'))) / (select extract(epoch from '2026-07-07 07:53:12'::timestamp) - extract(epoch from '2026-07-07 07:53:09'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425676 -3.664198)', '2026-07-07 07:53:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.664169)'), GeomFromEWKT('SRID=4674;POINT (-38.425676 -3.664198)'))) / (select extract(epoch from '2026-07-07 07:53:14'::timestamp) - extract(epoch from '2026-07-07 07:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425693 -3.664169)'), GeomFromEWKT('SRID=4674;POINT (-38.425676 -3.664198)'))) / (select extract(epoch from '2026-07-07 07:53:14'::timestamp) - extract(epoch from '2026-07-07 07:53:12'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425625 -3.664266)', '2026-07-07 07:53:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425676 -3.664198)'), GeomFromEWKT('SRID=4674;POINT (-38.425625 -3.664266)'))) / (select extract(epoch from '2026-07-07 07:53:19'::timestamp) - extract(epoch from '2026-07-07 07:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425676 -3.664198)'), GeomFromEWKT('SRID=4674;POINT (-38.425625 -3.664266)'))) / (select extract(epoch from '2026-07-07 07:53:19'::timestamp) - extract(epoch from '2026-07-07 07:53:14'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425612 -3.664315)', '2026-07-07 07:53:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425625 -3.664266)'), GeomFromEWKT('SRID=4674;POINT (-38.425612 -3.664315)'))) / (select extract(epoch from '2026-07-07 07:53:22'::timestamp) - extract(epoch from '2026-07-07 07:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425625 -3.664266)'), GeomFromEWKT('SRID=4674;POINT (-38.425612 -3.664315)'))) / (select extract(epoch from '2026-07-07 07:53:22'::timestamp) - extract(epoch from '2026-07-07 07:53:19'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425588 -3.664346)', '2026-07-07 07:53:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425612 -3.664315)'), GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.664346)'))) / (select extract(epoch from '2026-07-07 07:53:24'::timestamp) - extract(epoch from '2026-07-07 07:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425612 -3.664315)'), GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.664346)'))) / (select extract(epoch from '2026-07-07 07:53:24'::timestamp) - extract(epoch from '2026-07-07 07:53:22'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425581 -3.664363)', '2026-07-07 07:53:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.664346)'), GeomFromEWKT('SRID=4674;POINT (-38.425581 -3.664363)'))) / (select extract(epoch from '2026-07-07 07:53:25'::timestamp) - extract(epoch from '2026-07-07 07:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.664346)'), GeomFromEWKT('SRID=4674;POINT (-38.425581 -3.664363)'))) / (select extract(epoch from '2026-07-07 07:53:25'::timestamp) - extract(epoch from '2026-07-07 07:53:24'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425574 -3.664416)', '2026-07-07 07:53:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425581 -3.664363)'), GeomFromEWKT('SRID=4674;POINT (-38.425574 -3.664416)'))) / (select extract(epoch from '2026-07-07 07:53:28'::timestamp) - extract(epoch from '2026-07-07 07:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425581 -3.664363)'), GeomFromEWKT('SRID=4674;POINT (-38.425574 -3.664416)'))) / (select extract(epoch from '2026-07-07 07:53:28'::timestamp) - extract(epoch from '2026-07-07 07:53:25'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425565 -3.664431)', '2026-07-07 07:53:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425574 -3.664416)'), GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.664431)'))) / (select extract(epoch from '2026-07-07 07:53:29'::timestamp) - extract(epoch from '2026-07-07 07:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425574 -3.664416)'), GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.664431)'))) / (select extract(epoch from '2026-07-07 07:53:29'::timestamp) - extract(epoch from '2026-07-07 07:53:28'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.42551 -3.664539)', '2026-07-07 07:53:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.664431)'), GeomFromEWKT('SRID=4674;POINT (-38.42551 -3.664539)'))) / (select extract(epoch from '2026-07-07 07:53:36'::timestamp) - extract(epoch from '2026-07-07 07:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425565 -3.664431)'), GeomFromEWKT('SRID=4674;POINT (-38.42551 -3.664539)'))) / (select extract(epoch from '2026-07-07 07:53:36'::timestamp) - extract(epoch from '2026-07-07 07:53:29'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425467 -3.664612)', '2026-07-07 07:53:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42551 -3.664539)'), GeomFromEWKT('SRID=4674;POINT (-38.425467 -3.664612)'))) / (select extract(epoch from '2026-07-07 07:53:41'::timestamp) - extract(epoch from '2026-07-07 07:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42551 -3.664539)'), GeomFromEWKT('SRID=4674;POINT (-38.425467 -3.664612)'))) / (select extract(epoch from '2026-07-07 07:53:41'::timestamp) - extract(epoch from '2026-07-07 07:53:36'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425438 -3.664675)', '2026-07-07 07:53:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425467 -3.664612)'), GeomFromEWKT('SRID=4674;POINT (-38.425438 -3.664675)'))) / (select extract(epoch from '2026-07-07 07:53:45'::timestamp) - extract(epoch from '2026-07-07 07:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425467 -3.664612)'), GeomFromEWKT('SRID=4674;POINT (-38.425438 -3.664675)'))) / (select extract(epoch from '2026-07-07 07:53:45'::timestamp) - extract(epoch from '2026-07-07 07:53:41'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425432 -3.664735)', '2026-07-07 07:53:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425438 -3.664675)'), GeomFromEWKT('SRID=4674;POINT (-38.425432 -3.664735)'))) / (select extract(epoch from '2026-07-07 07:53:49'::timestamp) - extract(epoch from '2026-07-07 07:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425438 -3.664675)'), GeomFromEWKT('SRID=4674;POINT (-38.425432 -3.664735)'))) / (select extract(epoch from '2026-07-07 07:53:49'::timestamp) - extract(epoch from '2026-07-07 07:53:45'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425427 -3.664752)', '2026-07-07 07:53:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425432 -3.664735)'), GeomFromEWKT('SRID=4674;POINT (-38.425427 -3.664752)'))) / (select extract(epoch from '2026-07-07 07:53:50'::timestamp) - extract(epoch from '2026-07-07 07:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425432 -3.664735)'), GeomFromEWKT('SRID=4674;POINT (-38.425427 -3.664752)'))) / (select extract(epoch from '2026-07-07 07:53:50'::timestamp) - extract(epoch from '2026-07-07 07:53:49'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425383 -3.664851)', '2026-07-07 07:53:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425427 -3.664752)'), GeomFromEWKT('SRID=4674;POINT (-38.425383 -3.664851)'))) / (select extract(epoch from '2026-07-07 07:53:56'::timestamp) - extract(epoch from '2026-07-07 07:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425427 -3.664752)'), GeomFromEWKT('SRID=4674;POINT (-38.425383 -3.664851)'))) / (select extract(epoch from '2026-07-07 07:53:56'::timestamp) - extract(epoch from '2026-07-07 07:53:50'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425374 -3.664868)', '2026-07-07 07:53:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425383 -3.664851)'), GeomFromEWKT('SRID=4674;POINT (-38.425374 -3.664868)'))) / (select extract(epoch from '2026-07-07 07:53:57'::timestamp) - extract(epoch from '2026-07-07 07:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425383 -3.664851)'), GeomFromEWKT('SRID=4674;POINT (-38.425374 -3.664868)'))) / (select extract(epoch from '2026-07-07 07:53:57'::timestamp) - extract(epoch from '2026-07-07 07:53:56'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47397, 'SRID=4674;POINT (-38.425336 -3.664934)', '2026-07-07 07:54:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425374 -3.664868)'), GeomFromEWKT('SRID=4674;POINT (-38.425336 -3.664934)'))) / (select extract(epoch from '2026-07-07 07:54:01'::timestamp) - extract(epoch from '2026-07-07 07:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425374 -3.664868)'), GeomFromEWKT('SRID=4674;POINT (-38.425336 -3.664934)'))) / (select extract(epoch from '2026-07-07 07:54:01'::timestamp) - extract(epoch from '2026-07-07 07:53:57'::timestamp))) < 0 THEN  'pescando' ELSE 'deslocando' END ); 
