 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.393786 -2.804257)', '2026-06-15 08:07:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393891 -2.804165)'), GeomFromEWKT('SRID=4674;POINT (-40.393786 -2.804257)'))) / (select extract(epoch from '2026-06-15 08:07:53'::timestamp) - extract(epoch from '2026-06-15 08:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393891 -2.804165)'), GeomFromEWKT('SRID=4674;POINT (-40.393786 -2.804257)'))) / (select extract(epoch from '2026-06-15 08:07:53'::timestamp) - extract(epoch from '2026-06-15 08:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.393606 -2.804404)', '2026-06-15 08:08:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393786 -2.804257)'), GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.804404)'))) / (select extract(epoch from '2026-06-15 08:08:04'::timestamp) - extract(epoch from '2026-06-15 08:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393786 -2.804257)'), GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.804404)'))) / (select extract(epoch from '2026-06-15 08:08:04'::timestamp) - extract(epoch from '2026-06-15 08:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.393438 -2.804526)', '2026-06-15 08:08:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.804526)'))) / (select extract(epoch from '2026-06-15 08:08:14'::timestamp) - extract(epoch from '2026-06-15 08:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.804526)'))) / (select extract(epoch from '2026-06-15 08:08:14'::timestamp) - extract(epoch from '2026-06-15 08:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.393303 -2.804629)', '2026-06-15 08:08:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.804526)'), GeomFromEWKT('SRID=4674;POINT (-40.393303 -2.804629)'))) / (select extract(epoch from '2026-06-15 08:08:22'::timestamp) - extract(epoch from '2026-06-15 08:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.804526)'), GeomFromEWKT('SRID=4674;POINT (-40.393303 -2.804629)'))) / (select extract(epoch from '2026-06-15 08:08:22'::timestamp) - extract(epoch from '2026-06-15 08:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.393175 -2.804728)', '2026-06-15 08:08:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393303 -2.804629)'), GeomFromEWKT('SRID=4674;POINT (-40.393175 -2.804728)'))) / (select extract(epoch from '2026-06-15 08:08:30'::timestamp) - extract(epoch from '2026-06-15 08:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393303 -2.804629)'), GeomFromEWKT('SRID=4674;POINT (-40.393175 -2.804728)'))) / (select extract(epoch from '2026-06-15 08:08:30'::timestamp) - extract(epoch from '2026-06-15 08:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.393036 -2.804842)', '2026-06-15 08:08:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393175 -2.804728)'), GeomFromEWKT('SRID=4674;POINT (-40.393036 -2.804842)'))) / (select extract(epoch from '2026-06-15 08:08:39'::timestamp) - extract(epoch from '2026-06-15 08:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393175 -2.804728)'), GeomFromEWKT('SRID=4674;POINT (-40.393036 -2.804842)'))) / (select extract(epoch from '2026-06-15 08:08:39'::timestamp) - extract(epoch from '2026-06-15 08:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.392863 -2.804948)', '2026-06-15 08:08:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393036 -2.804842)'), GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.804948)'))) / (select extract(epoch from '2026-06-15 08:08:49'::timestamp) - extract(epoch from '2026-06-15 08:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393036 -2.804842)'), GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.804948)'))) / (select extract(epoch from '2026-06-15 08:08:49'::timestamp) - extract(epoch from '2026-06-15 08:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.392719 -2.805057)', '2026-06-15 08:08:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.805057)'))) / (select extract(epoch from '2026-06-15 08:08:58'::timestamp) - extract(epoch from '2026-06-15 08:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.805057)'))) / (select extract(epoch from '2026-06-15 08:08:58'::timestamp) - extract(epoch from '2026-06-15 08:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.392538 -2.80519)', '2026-06-15 08:09:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.805057)'), GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.80519)'))) / (select extract(epoch from '2026-06-15 08:09:09'::timestamp) - extract(epoch from '2026-06-15 08:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.805057)'), GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.80519)'))) / (select extract(epoch from '2026-06-15 08:09:09'::timestamp) - extract(epoch from '2026-06-15 08:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.392391 -2.805302)', '2026-06-15 08:09:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.80519)'), GeomFromEWKT('SRID=4674;POINT (-40.392391 -2.805302)'))) / (select extract(epoch from '2026-06-15 08:09:18'::timestamp) - extract(epoch from '2026-06-15 08:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.80519)'), GeomFromEWKT('SRID=4674;POINT (-40.392391 -2.805302)'))) / (select extract(epoch from '2026-06-15 08:09:18'::timestamp) - extract(epoch from '2026-06-15 08:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.392224 -2.805457)', '2026-06-15 08:09:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392391 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.392224 -2.805457)'))) / (select extract(epoch from '2026-06-15 08:09:29'::timestamp) - extract(epoch from '2026-06-15 08:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392391 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.392224 -2.805457)'))) / (select extract(epoch from '2026-06-15 08:09:29'::timestamp) - extract(epoch from '2026-06-15 08:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.392093 -2.805561)', '2026-06-15 08:09:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392224 -2.805457)'), GeomFromEWKT('SRID=4674;POINT (-40.392093 -2.805561)'))) / (select extract(epoch from '2026-06-15 08:09:37'::timestamp) - extract(epoch from '2026-06-15 08:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392224 -2.805457)'), GeomFromEWKT('SRID=4674;POINT (-40.392093 -2.805561)'))) / (select extract(epoch from '2026-06-15 08:09:37'::timestamp) - extract(epoch from '2026-06-15 08:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.39193 -2.8057)', '2026-06-15 08:09:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392093 -2.805561)'), GeomFromEWKT('SRID=4674;POINT (-40.39193 -2.8057)'))) / (select extract(epoch from '2026-06-15 08:09:47'::timestamp) - extract(epoch from '2026-06-15 08:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392093 -2.805561)'), GeomFromEWKT('SRID=4674;POINT (-40.39193 -2.8057)'))) / (select extract(epoch from '2026-06-15 08:09:47'::timestamp) - extract(epoch from '2026-06-15 08:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.391794 -2.805836)', '2026-06-15 08:09:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39193 -2.8057)'), GeomFromEWKT('SRID=4674;POINT (-40.391794 -2.805836)'))) / (select extract(epoch from '2026-06-15 08:09:56'::timestamp) - extract(epoch from '2026-06-15 08:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39193 -2.8057)'), GeomFromEWKT('SRID=4674;POINT (-40.391794 -2.805836)'))) / (select extract(epoch from '2026-06-15 08:09:56'::timestamp) - extract(epoch from '2026-06-15 08:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.391677 -2.80595)', '2026-06-15 08:10:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391794 -2.805836)'), GeomFromEWKT('SRID=4674;POINT (-40.391677 -2.80595)'))) / (select extract(epoch from '2026-06-15 08:10:04'::timestamp) - extract(epoch from '2026-06-15 08:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391794 -2.805836)'), GeomFromEWKT('SRID=4674;POINT (-40.391677 -2.80595)'))) / (select extract(epoch from '2026-06-15 08:10:04'::timestamp) - extract(epoch from '2026-06-15 08:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.391539 -2.806076)', '2026-06-15 08:10:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391677 -2.80595)'), GeomFromEWKT('SRID=4674;POINT (-40.391539 -2.806076)'))) / (select extract(epoch from '2026-06-15 08:10:13'::timestamp) - extract(epoch from '2026-06-15 08:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391677 -2.80595)'), GeomFromEWKT('SRID=4674;POINT (-40.391539 -2.806076)'))) / (select extract(epoch from '2026-06-15 08:10:13'::timestamp) - extract(epoch from '2026-06-15 08:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.391375 -2.806194)', '2026-06-15 08:10:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391539 -2.806076)'), GeomFromEWKT('SRID=4674;POINT (-40.391375 -2.806194)'))) / (select extract(epoch from '2026-06-15 08:10:23'::timestamp) - extract(epoch from '2026-06-15 08:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391539 -2.806076)'), GeomFromEWKT('SRID=4674;POINT (-40.391375 -2.806194)'))) / (select extract(epoch from '2026-06-15 08:10:23'::timestamp) - extract(epoch from '2026-06-15 08:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.39123 -2.806313)', '2026-06-15 08:10:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391375 -2.806194)'), GeomFromEWKT('SRID=4674;POINT (-40.39123 -2.806313)'))) / (select extract(epoch from '2026-06-15 08:10:32'::timestamp) - extract(epoch from '2026-06-15 08:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391375 -2.806194)'), GeomFromEWKT('SRID=4674;POINT (-40.39123 -2.806313)'))) / (select extract(epoch from '2026-06-15 08:10:32'::timestamp) - extract(epoch from '2026-06-15 08:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.391047 -2.806477)', '2026-06-15 08:10:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39123 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.391047 -2.806477)'))) / (select extract(epoch from '2026-06-15 08:10:44'::timestamp) - extract(epoch from '2026-06-15 08:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39123 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.391047 -2.806477)'))) / (select extract(epoch from '2026-06-15 08:10:44'::timestamp) - extract(epoch from '2026-06-15 08:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.390897 -2.806596)', '2026-06-15 08:10:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391047 -2.806477)'), GeomFromEWKT('SRID=4674;POINT (-40.390897 -2.806596)'))) / (select extract(epoch from '2026-06-15 08:10:53'::timestamp) - extract(epoch from '2026-06-15 08:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391047 -2.806477)'), GeomFromEWKT('SRID=4674;POINT (-40.390897 -2.806596)'))) / (select extract(epoch from '2026-06-15 08:10:53'::timestamp) - extract(epoch from '2026-06-15 08:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.39078 -2.806701)', '2026-06-15 08:11:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390897 -2.806596)'), GeomFromEWKT('SRID=4674;POINT (-40.39078 -2.806701)'))) / (select extract(epoch from '2026-06-15 08:11:01'::timestamp) - extract(epoch from '2026-06-15 08:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390897 -2.806596)'), GeomFromEWKT('SRID=4674;POINT (-40.39078 -2.806701)'))) / (select extract(epoch from '2026-06-15 08:11:01'::timestamp) - extract(epoch from '2026-06-15 08:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.390618 -2.80684)', '2026-06-15 08:11:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39078 -2.806701)'), GeomFromEWKT('SRID=4674;POINT (-40.390618 -2.80684)'))) / (select extract(epoch from '2026-06-15 08:11:11'::timestamp) - extract(epoch from '2026-06-15 08:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39078 -2.806701)'), GeomFromEWKT('SRID=4674;POINT (-40.390618 -2.80684)'))) / (select extract(epoch from '2026-06-15 08:11:11'::timestamp) - extract(epoch from '2026-06-15 08:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.390447 -2.806952)', '2026-06-15 08:11:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390618 -2.80684)'), GeomFromEWKT('SRID=4674;POINT (-40.390447 -2.806952)'))) / (select extract(epoch from '2026-06-15 08:11:21'::timestamp) - extract(epoch from '2026-06-15 08:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390618 -2.80684)'), GeomFromEWKT('SRID=4674;POINT (-40.390447 -2.806952)'))) / (select extract(epoch from '2026-06-15 08:11:21'::timestamp) - extract(epoch from '2026-06-15 08:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.390321 -2.807059)', '2026-06-15 08:11:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390447 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.390321 -2.807059)'))) / (select extract(epoch from '2026-06-15 08:11:29'::timestamp) - extract(epoch from '2026-06-15 08:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390447 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.390321 -2.807059)'))) / (select extract(epoch from '2026-06-15 08:11:29'::timestamp) - extract(epoch from '2026-06-15 08:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.390157 -2.807178)', '2026-06-15 08:11:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390321 -2.807059)'), GeomFromEWKT('SRID=4674;POINT (-40.390157 -2.807178)'))) / (select extract(epoch from '2026-06-15 08:11:39'::timestamp) - extract(epoch from '2026-06-15 08:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390321 -2.807059)'), GeomFromEWKT('SRID=4674;POINT (-40.390157 -2.807178)'))) / (select extract(epoch from '2026-06-15 08:11:39'::timestamp) - extract(epoch from '2026-06-15 08:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.390008 -2.807285)', '2026-06-15 08:11:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390157 -2.807178)'), GeomFromEWKT('SRID=4674;POINT (-40.390008 -2.807285)'))) / (select extract(epoch from '2026-06-15 08:11:48'::timestamp) - extract(epoch from '2026-06-15 08:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390157 -2.807178)'), GeomFromEWKT('SRID=4674;POINT (-40.390008 -2.807285)'))) / (select extract(epoch from '2026-06-15 08:11:48'::timestamp) - extract(epoch from '2026-06-15 08:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.389825 -2.807412)', '2026-06-15 08:11:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390008 -2.807285)'), GeomFromEWKT('SRID=4674;POINT (-40.389825 -2.807412)'))) / (select extract(epoch from '2026-06-15 08:11:59'::timestamp) - extract(epoch from '2026-06-15 08:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390008 -2.807285)'), GeomFromEWKT('SRID=4674;POINT (-40.389825 -2.807412)'))) / (select extract(epoch from '2026-06-15 08:11:59'::timestamp) - extract(epoch from '2026-06-15 08:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.389683 -2.807541)', '2026-06-15 08:12:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389825 -2.807412)'), GeomFromEWKT('SRID=4674;POINT (-40.389683 -2.807541)'))) / (select extract(epoch from '2026-06-15 08:12:08'::timestamp) - extract(epoch from '2026-06-15 08:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389825 -2.807412)'), GeomFromEWKT('SRID=4674;POINT (-40.389683 -2.807541)'))) / (select extract(epoch from '2026-06-15 08:12:08'::timestamp) - extract(epoch from '2026-06-15 08:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.389559 -2.807653)', '2026-06-15 08:12:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389683 -2.807541)'), GeomFromEWKT('SRID=4674;POINT (-40.389559 -2.807653)'))) / (select extract(epoch from '2026-06-15 08:12:16'::timestamp) - extract(epoch from '2026-06-15 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389683 -2.807541)'), GeomFromEWKT('SRID=4674;POINT (-40.389559 -2.807653)'))) / (select extract(epoch from '2026-06-15 08:12:16'::timestamp) - extract(epoch from '2026-06-15 08:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.389422 -2.807783)', '2026-06-15 08:12:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389559 -2.807653)'), GeomFromEWKT('SRID=4674;POINT (-40.389422 -2.807783)'))) / (select extract(epoch from '2026-06-15 08:12:25'::timestamp) - extract(epoch from '2026-06-15 08:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389559 -2.807653)'), GeomFromEWKT('SRID=4674;POINT (-40.389422 -2.807783)'))) / (select extract(epoch from '2026-06-15 08:12:25'::timestamp) - extract(epoch from '2026-06-15 08:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.389293 -2.807927)', '2026-06-15 08:12:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389422 -2.807783)'), GeomFromEWKT('SRID=4674;POINT (-40.389293 -2.807927)'))) / (select extract(epoch from '2026-06-15 08:12:34'::timestamp) - extract(epoch from '2026-06-15 08:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389422 -2.807783)'), GeomFromEWKT('SRID=4674;POINT (-40.389293 -2.807927)'))) / (select extract(epoch from '2026-06-15 08:12:34'::timestamp) - extract(epoch from '2026-06-15 08:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.389178 -2.808051)', '2026-06-15 08:12:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389293 -2.807927)'), GeomFromEWKT('SRID=4674;POINT (-40.389178 -2.808051)'))) / (select extract(epoch from '2026-06-15 08:12:42'::timestamp) - extract(epoch from '2026-06-15 08:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389293 -2.807927)'), GeomFromEWKT('SRID=4674;POINT (-40.389178 -2.808051)'))) / (select extract(epoch from '2026-06-15 08:12:42'::timestamp) - extract(epoch from '2026-06-15 08:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.389052 -2.808199)', '2026-06-15 08:12:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389178 -2.808051)'), GeomFromEWKT('SRID=4674;POINT (-40.389052 -2.808199)'))) / (select extract(epoch from '2026-06-15 08:12:51'::timestamp) - extract(epoch from '2026-06-15 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389178 -2.808051)'), GeomFromEWKT('SRID=4674;POINT (-40.389052 -2.808199)'))) / (select extract(epoch from '2026-06-15 08:12:51'::timestamp) - extract(epoch from '2026-06-15 08:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.388941 -2.808319)', '2026-06-15 08:12:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389052 -2.808199)'), GeomFromEWKT('SRID=4674;POINT (-40.388941 -2.808319)'))) / (select extract(epoch from '2026-06-15 08:12:59'::timestamp) - extract(epoch from '2026-06-15 08:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389052 -2.808199)'), GeomFromEWKT('SRID=4674;POINT (-40.388941 -2.808319)'))) / (select extract(epoch from '2026-06-15 08:12:59'::timestamp) - extract(epoch from '2026-06-15 08:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.388817 -2.808448)', '2026-06-15 08:13:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388941 -2.808319)'), GeomFromEWKT('SRID=4674;POINT (-40.388817 -2.808448)'))) / (select extract(epoch from '2026-06-15 08:13:08'::timestamp) - extract(epoch from '2026-06-15 08:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388941 -2.808319)'), GeomFromEWKT('SRID=4674;POINT (-40.388817 -2.808448)'))) / (select extract(epoch from '2026-06-15 08:13:08'::timestamp) - extract(epoch from '2026-06-15 08:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.388668 -2.808552)', '2026-06-15 08:13:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388817 -2.808448)'), GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.808552)'))) / (select extract(epoch from '2026-06-15 08:13:17'::timestamp) - extract(epoch from '2026-06-15 08:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388817 -2.808448)'), GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.808552)'))) / (select extract(epoch from '2026-06-15 08:13:17'::timestamp) - extract(epoch from '2026-06-15 08:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.388495 -2.808643)', '2026-06-15 08:13:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.808552)'), GeomFromEWKT('SRID=4674;POINT (-40.388495 -2.808643)'))) / (select extract(epoch from '2026-06-15 08:13:28'::timestamp) - extract(epoch from '2026-06-15 08:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.808552)'), GeomFromEWKT('SRID=4674;POINT (-40.388495 -2.808643)'))) / (select extract(epoch from '2026-06-15 08:13:28'::timestamp) - extract(epoch from '2026-06-15 08:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.38835 -2.808691)', '2026-06-15 08:13:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388495 -2.808643)'), GeomFromEWKT('SRID=4674;POINT (-40.38835 -2.808691)'))) / (select extract(epoch from '2026-06-15 08:13:37'::timestamp) - extract(epoch from '2026-06-15 08:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388495 -2.808643)'), GeomFromEWKT('SRID=4674;POINT (-40.38835 -2.808691)'))) / (select extract(epoch from '2026-06-15 08:13:37'::timestamp) - extract(epoch from '2026-06-15 08:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.388193 -2.808721)', '2026-06-15 08:13:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38835 -2.808691)'), GeomFromEWKT('SRID=4674;POINT (-40.388193 -2.808721)'))) / (select extract(epoch from '2026-06-15 08:13:47'::timestamp) - extract(epoch from '2026-06-15 08:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38835 -2.808691)'), GeomFromEWKT('SRID=4674;POINT (-40.388193 -2.808721)'))) / (select extract(epoch from '2026-06-15 08:13:47'::timestamp) - extract(epoch from '2026-06-15 08:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.388043 -2.808737)', '2026-06-15 08:13:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388193 -2.808721)'), GeomFromEWKT('SRID=4674;POINT (-40.388043 -2.808737)'))) / (select extract(epoch from '2026-06-15 08:13:57'::timestamp) - extract(epoch from '2026-06-15 08:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388193 -2.808721)'), GeomFromEWKT('SRID=4674;POINT (-40.388043 -2.808737)'))) / (select extract(epoch from '2026-06-15 08:13:57'::timestamp) - extract(epoch from '2026-06-15 08:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.387871 -2.80874)', '2026-06-15 08:14:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388043 -2.808737)'), GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.80874)'))) / (select extract(epoch from '2026-06-15 08:14:08'::timestamp) - extract(epoch from '2026-06-15 08:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388043 -2.808737)'), GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.80874)'))) / (select extract(epoch from '2026-06-15 08:14:08'::timestamp) - extract(epoch from '2026-06-15 08:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.387676 -2.808763)', '2026-06-15 08:14:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.80874)'), GeomFromEWKT('SRID=4674;POINT (-40.387676 -2.808763)'))) / (select extract(epoch from '2026-06-15 08:14:20'::timestamp) - extract(epoch from '2026-06-15 08:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.80874)'), GeomFromEWKT('SRID=4674;POINT (-40.387676 -2.808763)'))) / (select extract(epoch from '2026-06-15 08:14:20'::timestamp) - extract(epoch from '2026-06-15 08:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.387492 -2.808768)', '2026-06-15 08:14:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387676 -2.808763)'), GeomFromEWKT('SRID=4674;POINT (-40.387492 -2.808768)'))) / (select extract(epoch from '2026-06-15 08:14:31'::timestamp) - extract(epoch from '2026-06-15 08:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387676 -2.808763)'), GeomFromEWKT('SRID=4674;POINT (-40.387492 -2.808768)'))) / (select extract(epoch from '2026-06-15 08:14:31'::timestamp) - extract(epoch from '2026-06-15 08:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.387331 -2.808808)', '2026-06-15 08:14:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387492 -2.808768)'), GeomFromEWKT('SRID=4674;POINT (-40.387331 -2.808808)'))) / (select extract(epoch from '2026-06-15 08:14:41'::timestamp) - extract(epoch from '2026-06-15 08:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387492 -2.808768)'), GeomFromEWKT('SRID=4674;POINT (-40.387331 -2.808808)'))) / (select extract(epoch from '2026-06-15 08:14:41'::timestamp) - extract(epoch from '2026-06-15 08:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.387155 -2.808846)', '2026-06-15 08:14:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387331 -2.808808)'), GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.808846)'))) / (select extract(epoch from '2026-06-15 08:14:52'::timestamp) - extract(epoch from '2026-06-15 08:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387331 -2.808808)'), GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.808846)'))) / (select extract(epoch from '2026-06-15 08:14:52'::timestamp) - extract(epoch from '2026-06-15 08:14:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.38699 -2.808874)', '2026-06-15 08:15:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.808846)'), GeomFromEWKT('SRID=4674;POINT (-40.38699 -2.808874)'))) / (select extract(epoch from '2026-06-15 08:15:02'::timestamp) - extract(epoch from '2026-06-15 08:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.808846)'), GeomFromEWKT('SRID=4674;POINT (-40.38699 -2.808874)'))) / (select extract(epoch from '2026-06-15 08:15:02'::timestamp) - extract(epoch from '2026-06-15 08:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.386818 -2.808891)', '2026-06-15 08:15:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38699 -2.808874)'), GeomFromEWKT('SRID=4674;POINT (-40.386818 -2.808891)'))) / (select extract(epoch from '2026-06-15 08:15:12'::timestamp) - extract(epoch from '2026-06-15 08:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38699 -2.808874)'), GeomFromEWKT('SRID=4674;POINT (-40.386818 -2.808891)'))) / (select extract(epoch from '2026-06-15 08:15:12'::timestamp) - extract(epoch from '2026-06-15 08:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.386624 -2.808912)', '2026-06-15 08:15:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386818 -2.808891)'), GeomFromEWKT('SRID=4674;POINT (-40.386624 -2.808912)'))) / (select extract(epoch from '2026-06-15 08:15:24'::timestamp) - extract(epoch from '2026-06-15 08:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386818 -2.808891)'), GeomFromEWKT('SRID=4674;POINT (-40.386624 -2.808912)'))) / (select extract(epoch from '2026-06-15 08:15:24'::timestamp) - extract(epoch from '2026-06-15 08:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.386425 -2.808915)', '2026-06-15 08:15:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386624 -2.808912)'), GeomFromEWKT('SRID=4674;POINT (-40.386425 -2.808915)'))) / (select extract(epoch from '2026-06-15 08:15:36'::timestamp) - extract(epoch from '2026-06-15 08:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386624 -2.808912)'), GeomFromEWKT('SRID=4674;POINT (-40.386425 -2.808915)'))) / (select extract(epoch from '2026-06-15 08:15:36'::timestamp) - extract(epoch from '2026-06-15 08:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.386232 -2.808923)', '2026-06-15 08:15:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386425 -2.808915)'), GeomFromEWKT('SRID=4674;POINT (-40.386232 -2.808923)'))) / (select extract(epoch from '2026-06-15 08:15:47'::timestamp) - extract(epoch from '2026-06-15 08:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386425 -2.808915)'), GeomFromEWKT('SRID=4674;POINT (-40.386232 -2.808923)'))) / (select extract(epoch from '2026-06-15 08:15:47'::timestamp) - extract(epoch from '2026-06-15 08:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.386064 -2.808938)', '2026-06-15 08:15:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386232 -2.808923)'), GeomFromEWKT('SRID=4674;POINT (-40.386064 -2.808938)'))) / (select extract(epoch from '2026-06-15 08:15:57'::timestamp) - extract(epoch from '2026-06-15 08:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386232 -2.808923)'), GeomFromEWKT('SRID=4674;POINT (-40.386064 -2.808938)'))) / (select extract(epoch from '2026-06-15 08:15:57'::timestamp) - extract(epoch from '2026-06-15 08:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.385856 -2.808929)', '2026-06-15 08:16:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386064 -2.808938)'), GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.808929)'))) / (select extract(epoch from '2026-06-15 08:16:10'::timestamp) - extract(epoch from '2026-06-15 08:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386064 -2.808938)'), GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.808929)'))) / (select extract(epoch from '2026-06-15 08:16:10'::timestamp) - extract(epoch from '2026-06-15 08:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.385692 -2.808933)', '2026-06-15 08:16:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.808929)'), GeomFromEWKT('SRID=4674;POINT (-40.385692 -2.808933)'))) / (select extract(epoch from '2026-06-15 08:16:20'::timestamp) - extract(epoch from '2026-06-15 08:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.808929)'), GeomFromEWKT('SRID=4674;POINT (-40.385692 -2.808933)'))) / (select extract(epoch from '2026-06-15 08:16:20'::timestamp) - extract(epoch from '2026-06-15 08:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.385526 -2.808933)', '2026-06-15 08:16:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385692 -2.808933)'), GeomFromEWKT('SRID=4674;POINT (-40.385526 -2.808933)'))) / (select extract(epoch from '2026-06-15 08:16:30'::timestamp) - extract(epoch from '2026-06-15 08:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385692 -2.808933)'), GeomFromEWKT('SRID=4674;POINT (-40.385526 -2.808933)'))) / (select extract(epoch from '2026-06-15 08:16:30'::timestamp) - extract(epoch from '2026-06-15 08:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.385332 -2.808912)', '2026-06-15 08:16:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385526 -2.808933)'), GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.808912)'))) / (select extract(epoch from '2026-06-15 08:16:42'::timestamp) - extract(epoch from '2026-06-15 08:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385526 -2.808933)'), GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.808912)'))) / (select extract(epoch from '2026-06-15 08:16:42'::timestamp) - extract(epoch from '2026-06-15 08:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.385192 -2.808913)', '2026-06-15 08:16:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.808912)'), GeomFromEWKT('SRID=4674;POINT (-40.385192 -2.808913)'))) / (select extract(epoch from '2026-06-15 08:16:51'::timestamp) - extract(epoch from '2026-06-15 08:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.808912)'), GeomFromEWKT('SRID=4674;POINT (-40.385192 -2.808913)'))) / (select extract(epoch from '2026-06-15 08:16:51'::timestamp) - extract(epoch from '2026-06-15 08:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.385053 -2.808906)', '2026-06-15 08:17:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385192 -2.808913)'), GeomFromEWKT('SRID=4674;POINT (-40.385053 -2.808906)'))) / (select extract(epoch from '2026-06-15 08:17:00'::timestamp) - extract(epoch from '2026-06-15 08:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385192 -2.808913)'), GeomFromEWKT('SRID=4674;POINT (-40.385053 -2.808906)'))) / (select extract(epoch from '2026-06-15 08:17:00'::timestamp) - extract(epoch from '2026-06-15 08:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.384905 -2.808919)', '2026-06-15 08:17:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385053 -2.808906)'), GeomFromEWKT('SRID=4674;POINT (-40.384905 -2.808919)'))) / (select extract(epoch from '2026-06-15 08:17:09'::timestamp) - extract(epoch from '2026-06-15 08:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385053 -2.808906)'), GeomFromEWKT('SRID=4674;POINT (-40.384905 -2.808919)'))) / (select extract(epoch from '2026-06-15 08:17:09'::timestamp) - extract(epoch from '2026-06-15 08:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.384698 -2.808903)', '2026-06-15 08:17:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384905 -2.808919)'), GeomFromEWKT('SRID=4674;POINT (-40.384698 -2.808903)'))) / (select extract(epoch from '2026-06-15 08:17:22'::timestamp) - extract(epoch from '2026-06-15 08:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384905 -2.808919)'), GeomFromEWKT('SRID=4674;POINT (-40.384698 -2.808903)'))) / (select extract(epoch from '2026-06-15 08:17:22'::timestamp) - extract(epoch from '2026-06-15 08:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.384533 -2.808906)', '2026-06-15 08:17:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384698 -2.808903)'), GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.808906)'))) / (select extract(epoch from '2026-06-15 08:17:32'::timestamp) - extract(epoch from '2026-06-15 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384698 -2.808903)'), GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.808906)'))) / (select extract(epoch from '2026-06-15 08:17:32'::timestamp) - extract(epoch from '2026-06-15 08:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.384378 -2.808902)', '2026-06-15 08:17:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.808906)'), GeomFromEWKT('SRID=4674;POINT (-40.384378 -2.808902)'))) / (select extract(epoch from '2026-06-15 08:17:41'::timestamp) - extract(epoch from '2026-06-15 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.808906)'), GeomFromEWKT('SRID=4674;POINT (-40.384378 -2.808902)'))) / (select extract(epoch from '2026-06-15 08:17:41'::timestamp) - extract(epoch from '2026-06-15 08:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.384207 -2.808914)', '2026-06-15 08:17:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384378 -2.808902)'), GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.808914)'))) / (select extract(epoch from '2026-06-15 08:17:51'::timestamp) - extract(epoch from '2026-06-15 08:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384378 -2.808902)'), GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.808914)'))) / (select extract(epoch from '2026-06-15 08:17:51'::timestamp) - extract(epoch from '2026-06-15 08:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.384046 -2.808923)', '2026-06-15 08:18:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.808914)'), GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.808923)'))) / (select extract(epoch from '2026-06-15 08:18:00'::timestamp) - extract(epoch from '2026-06-15 08:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.808914)'), GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.808923)'))) / (select extract(epoch from '2026-06-15 08:18:00'::timestamp) - extract(epoch from '2026-06-15 08:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.383866 -2.808925)', '2026-06-15 08:18:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.808923)'), GeomFromEWKT('SRID=4674;POINT (-40.383866 -2.808925)'))) / (select extract(epoch from '2026-06-15 08:18:10'::timestamp) - extract(epoch from '2026-06-15 08:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.808923)'), GeomFromEWKT('SRID=4674;POINT (-40.383866 -2.808925)'))) / (select extract(epoch from '2026-06-15 08:18:10'::timestamp) - extract(epoch from '2026-06-15 08:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.383662 -2.808935)', '2026-06-15 08:18:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383866 -2.808925)'), GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.808935)'))) / (select extract(epoch from '2026-06-15 08:18:22'::timestamp) - extract(epoch from '2026-06-15 08:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383866 -2.808925)'), GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.808935)'))) / (select extract(epoch from '2026-06-15 08:18:22'::timestamp) - extract(epoch from '2026-06-15 08:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.38349 -2.808945)', '2026-06-15 08:18:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.808935)'), GeomFromEWKT('SRID=4674;POINT (-40.38349 -2.808945)'))) / (select extract(epoch from '2026-06-15 08:18:32'::timestamp) - extract(epoch from '2026-06-15 08:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.808935)'), GeomFromEWKT('SRID=4674;POINT (-40.38349 -2.808945)'))) / (select extract(epoch from '2026-06-15 08:18:32'::timestamp) - extract(epoch from '2026-06-15 08:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.383281 -2.808948)', '2026-06-15 08:18:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38349 -2.808945)'), GeomFromEWKT('SRID=4674;POINT (-40.383281 -2.808948)'))) / (select extract(epoch from '2026-06-15 08:18:44'::timestamp) - extract(epoch from '2026-06-15 08:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38349 -2.808945)'), GeomFromEWKT('SRID=4674;POINT (-40.383281 -2.808948)'))) / (select extract(epoch from '2026-06-15 08:18:44'::timestamp) - extract(epoch from '2026-06-15 08:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.383077 -2.808915)', '2026-06-15 08:18:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383281 -2.808948)'), GeomFromEWKT('SRID=4674;POINT (-40.383077 -2.808915)'))) / (select extract(epoch from '2026-06-15 08:18:57'::timestamp) - extract(epoch from '2026-06-15 08:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383281 -2.808948)'), GeomFromEWKT('SRID=4674;POINT (-40.383077 -2.808915)'))) / (select extract(epoch from '2026-06-15 08:18:57'::timestamp) - extract(epoch from '2026-06-15 08:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.382932 -2.808903)', '2026-06-15 08:19:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383077 -2.808915)'), GeomFromEWKT('SRID=4674;POINT (-40.382932 -2.808903)'))) / (select extract(epoch from '2026-06-15 08:19:06'::timestamp) - extract(epoch from '2026-06-15 08:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383077 -2.808915)'), GeomFromEWKT('SRID=4674;POINT (-40.382932 -2.808903)'))) / (select extract(epoch from '2026-06-15 08:19:06'::timestamp) - extract(epoch from '2026-06-15 08:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.382744 -2.808911)', '2026-06-15 08:19:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382932 -2.808903)'), GeomFromEWKT('SRID=4674;POINT (-40.382744 -2.808911)'))) / (select extract(epoch from '2026-06-15 08:19:17'::timestamp) - extract(epoch from '2026-06-15 08:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382932 -2.808903)'), GeomFromEWKT('SRID=4674;POINT (-40.382744 -2.808911)'))) / (select extract(epoch from '2026-06-15 08:19:17'::timestamp) - extract(epoch from '2026-06-15 08:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.382509 -2.80892)', '2026-06-15 08:19:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382744 -2.808911)'), GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.80892)'))) / (select extract(epoch from '2026-06-15 08:19:29'::timestamp) - extract(epoch from '2026-06-15 08:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382744 -2.808911)'), GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.80892)'))) / (select extract(epoch from '2026-06-15 08:19:29'::timestamp) - extract(epoch from '2026-06-15 08:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.382346 -2.808894)', '2026-06-15 08:19:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.80892)'), GeomFromEWKT('SRID=4674;POINT (-40.382346 -2.808894)'))) / (select extract(epoch from '2026-06-15 08:19:37'::timestamp) - extract(epoch from '2026-06-15 08:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.80892)'), GeomFromEWKT('SRID=4674;POINT (-40.382346 -2.808894)'))) / (select extract(epoch from '2026-06-15 08:19:37'::timestamp) - extract(epoch from '2026-06-15 08:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.382137 -2.80882)', '2026-06-15 08:19:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382346 -2.808894)'), GeomFromEWKT('SRID=4674;POINT (-40.382137 -2.80882)'))) / (select extract(epoch from '2026-06-15 08:19:48'::timestamp) - extract(epoch from '2026-06-15 08:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382346 -2.808894)'), GeomFromEWKT('SRID=4674;POINT (-40.382137 -2.80882)'))) / (select extract(epoch from '2026-06-15 08:19:48'::timestamp) - extract(epoch from '2026-06-15 08:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.381902 -2.808769)', '2026-06-15 08:20:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382137 -2.80882)'), GeomFromEWKT('SRID=4674;POINT (-40.381902 -2.808769)'))) / (select extract(epoch from '2026-06-15 08:20:00'::timestamp) - extract(epoch from '2026-06-15 08:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382137 -2.80882)'), GeomFromEWKT('SRID=4674;POINT (-40.381902 -2.808769)'))) / (select extract(epoch from '2026-06-15 08:20:00'::timestamp) - extract(epoch from '2026-06-15 08:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.381718 -2.808742)', '2026-06-15 08:20:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381902 -2.808769)'), GeomFromEWKT('SRID=4674;POINT (-40.381718 -2.808742)'))) / (select extract(epoch from '2026-06-15 08:20:09'::timestamp) - extract(epoch from '2026-06-15 08:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381902 -2.808769)'), GeomFromEWKT('SRID=4674;POINT (-40.381718 -2.808742)'))) / (select extract(epoch from '2026-06-15 08:20:09'::timestamp) - extract(epoch from '2026-06-15 08:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.381568 -2.80868)', '2026-06-15 08:20:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381718 -2.808742)'), GeomFromEWKT('SRID=4674;POINT (-40.381568 -2.80868)'))) / (select extract(epoch from '2026-06-15 08:20:17'::timestamp) - extract(epoch from '2026-06-15 08:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381718 -2.808742)'), GeomFromEWKT('SRID=4674;POINT (-40.381568 -2.80868)'))) / (select extract(epoch from '2026-06-15 08:20:17'::timestamp) - extract(epoch from '2026-06-15 08:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.381405 -2.808559)', '2026-06-15 08:20:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381568 -2.80868)'), GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.808559)'))) / (select extract(epoch from '2026-06-15 08:20:27'::timestamp) - extract(epoch from '2026-06-15 08:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381568 -2.80868)'), GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.808559)'))) / (select extract(epoch from '2026-06-15 08:20:27'::timestamp) - extract(epoch from '2026-06-15 08:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.381196 -2.808462)', '2026-06-15 08:20:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.808559)'), GeomFromEWKT('SRID=4674;POINT (-40.381196 -2.808462)'))) / (select extract(epoch from '2026-06-15 08:20:38'::timestamp) - extract(epoch from '2026-06-15 08:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381405 -2.808559)'), GeomFromEWKT('SRID=4674;POINT (-40.381196 -2.808462)'))) / (select extract(epoch from '2026-06-15 08:20:38'::timestamp) - extract(epoch from '2026-06-15 08:20:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.380984 -2.808455)', '2026-06-15 08:20:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381196 -2.808462)'), GeomFromEWKT('SRID=4674;POINT (-40.380984 -2.808455)'))) / (select extract(epoch from '2026-06-15 08:20:49'::timestamp) - extract(epoch from '2026-06-15 08:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381196 -2.808462)'), GeomFromEWKT('SRID=4674;POINT (-40.380984 -2.808455)'))) / (select extract(epoch from '2026-06-15 08:20:49'::timestamp) - extract(epoch from '2026-06-15 08:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.380786 -2.808437)', '2026-06-15 08:20:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380984 -2.808455)'), GeomFromEWKT('SRID=4674;POINT (-40.380786 -2.808437)'))) / (select extract(epoch from '2026-06-15 08:20:59'::timestamp) - extract(epoch from '2026-06-15 08:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380984 -2.808455)'), GeomFromEWKT('SRID=4674;POINT (-40.380786 -2.808437)'))) / (select extract(epoch from '2026-06-15 08:20:59'::timestamp) - extract(epoch from '2026-06-15 08:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.380547 -2.808413)', '2026-06-15 08:21:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380786 -2.808437)'), GeomFromEWKT('SRID=4674;POINT (-40.380547 -2.808413)'))) / (select extract(epoch from '2026-06-15 08:21:11'::timestamp) - extract(epoch from '2026-06-15 08:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380786 -2.808437)'), GeomFromEWKT('SRID=4674;POINT (-40.380547 -2.808413)'))) / (select extract(epoch from '2026-06-15 08:21:11'::timestamp) - extract(epoch from '2026-06-15 08:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.380327 -2.808398)', '2026-06-15 08:21:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380547 -2.808413)'), GeomFromEWKT('SRID=4674;POINT (-40.380327 -2.808398)'))) / (select extract(epoch from '2026-06-15 08:21:22'::timestamp) - extract(epoch from '2026-06-15 08:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380547 -2.808413)'), GeomFromEWKT('SRID=4674;POINT (-40.380327 -2.808398)'))) / (select extract(epoch from '2026-06-15 08:21:22'::timestamp) - extract(epoch from '2026-06-15 08:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.380128 -2.808403)', '2026-06-15 08:21:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380327 -2.808398)'), GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.808403)'))) / (select extract(epoch from '2026-06-15 08:21:32'::timestamp) - extract(epoch from '2026-06-15 08:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380327 -2.808398)'), GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.808403)'))) / (select extract(epoch from '2026-06-15 08:21:32'::timestamp) - extract(epoch from '2026-06-15 08:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.379933 -2.808401)', '2026-06-15 08:21:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.808403)'), GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.808401)'))) / (select extract(epoch from '2026-06-15 08:21:42'::timestamp) - extract(epoch from '2026-06-15 08:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.808403)'), GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.808401)'))) / (select extract(epoch from '2026-06-15 08:21:42'::timestamp) - extract(epoch from '2026-06-15 08:21:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37974 -2.808343)', '2026-06-15 08:21:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.808401)'), GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.808343)'))) / (select extract(epoch from '2026-06-15 08:21:52'::timestamp) - extract(epoch from '2026-06-15 08:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379933 -2.808401)'), GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.808343)'))) / (select extract(epoch from '2026-06-15 08:21:52'::timestamp) - extract(epoch from '2026-06-15 08:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.379546 -2.808316)', '2026-06-15 08:22:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.808343)'), GeomFromEWKT('SRID=4674;POINT (-40.379546 -2.808316)'))) / (select extract(epoch from '2026-06-15 08:22:02'::timestamp) - extract(epoch from '2026-06-15 08:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.808343)'), GeomFromEWKT('SRID=4674;POINT (-40.379546 -2.808316)'))) / (select extract(epoch from '2026-06-15 08:22:02'::timestamp) - extract(epoch from '2026-06-15 08:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.379376 -2.80828)', '2026-06-15 08:22:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379546 -2.808316)'), GeomFromEWKT('SRID=4674;POINT (-40.379376 -2.80828)'))) / (select extract(epoch from '2026-06-15 08:22:11'::timestamp) - extract(epoch from '2026-06-15 08:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379546 -2.808316)'), GeomFromEWKT('SRID=4674;POINT (-40.379376 -2.80828)'))) / (select extract(epoch from '2026-06-15 08:22:11'::timestamp) - extract(epoch from '2026-06-15 08:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.379138 -2.808238)', '2026-06-15 08:22:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379376 -2.80828)'), GeomFromEWKT('SRID=4674;POINT (-40.379138 -2.808238)'))) / (select extract(epoch from '2026-06-15 08:22:23'::timestamp) - extract(epoch from '2026-06-15 08:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379376 -2.80828)'), GeomFromEWKT('SRID=4674;POINT (-40.379138 -2.808238)'))) / (select extract(epoch from '2026-06-15 08:22:23'::timestamp) - extract(epoch from '2026-06-15 08:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.378862 -2.8082)', '2026-06-15 08:22:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379138 -2.808238)'), GeomFromEWKT('SRID=4674;POINT (-40.378862 -2.8082)'))) / (select extract(epoch from '2026-06-15 08:22:36'::timestamp) - extract(epoch from '2026-06-15 08:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379138 -2.808238)'), GeomFromEWKT('SRID=4674;POINT (-40.378862 -2.8082)'))) / (select extract(epoch from '2026-06-15 08:22:36'::timestamp) - extract(epoch from '2026-06-15 08:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.378614 -2.808145)', '2026-06-15 08:22:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378862 -2.8082)'), GeomFromEWKT('SRID=4674;POINT (-40.378614 -2.808145)'))) / (select extract(epoch from '2026-06-15 08:22:48'::timestamp) - extract(epoch from '2026-06-15 08:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378862 -2.8082)'), GeomFromEWKT('SRID=4674;POINT (-40.378614 -2.808145)'))) / (select extract(epoch from '2026-06-15 08:22:48'::timestamp) - extract(epoch from '2026-06-15 08:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37841 -2.808106)', '2026-06-15 08:22:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378614 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.37841 -2.808106)'))) / (select extract(epoch from '2026-06-15 08:22:58'::timestamp) - extract(epoch from '2026-06-15 08:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378614 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.37841 -2.808106)'))) / (select extract(epoch from '2026-06-15 08:22:58'::timestamp) - extract(epoch from '2026-06-15 08:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.378211 -2.808058)', '2026-06-15 08:23:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37841 -2.808106)'), GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.808058)'))) / (select extract(epoch from '2026-06-15 08:23:08'::timestamp) - extract(epoch from '2026-06-15 08:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37841 -2.808106)'), GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.808058)'))) / (select extract(epoch from '2026-06-15 08:23:08'::timestamp) - extract(epoch from '2026-06-15 08:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.378003 -2.808023)', '2026-06-15 08:23:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.808058)'), GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.808023)'))) / (select extract(epoch from '2026-06-15 08:23:18'::timestamp) - extract(epoch from '2026-06-15 08:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.808058)'), GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.808023)'))) / (select extract(epoch from '2026-06-15 08:23:18'::timestamp) - extract(epoch from '2026-06-15 08:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.377796 -2.807989)', '2026-06-15 08:23:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.808023)'), GeomFromEWKT('SRID=4674;POINT (-40.377796 -2.807989)'))) / (select extract(epoch from '2026-06-15 08:23:28'::timestamp) - extract(epoch from '2026-06-15 08:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378003 -2.808023)'), GeomFromEWKT('SRID=4674;POINT (-40.377796 -2.807989)'))) / (select extract(epoch from '2026-06-15 08:23:28'::timestamp) - extract(epoch from '2026-06-15 08:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.377587 -2.807948)', '2026-06-15 08:23:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377796 -2.807989)'), GeomFromEWKT('SRID=4674;POINT (-40.377587 -2.807948)'))) / (select extract(epoch from '2026-06-15 08:23:38'::timestamp) - extract(epoch from '2026-06-15 08:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377796 -2.807989)'), GeomFromEWKT('SRID=4674;POINT (-40.377587 -2.807948)'))) / (select extract(epoch from '2026-06-15 08:23:38'::timestamp) - extract(epoch from '2026-06-15 08:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.377413 -2.807906)', '2026-06-15 08:23:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377587 -2.807948)'), GeomFromEWKT('SRID=4674;POINT (-40.377413 -2.807906)'))) / (select extract(epoch from '2026-06-15 08:23:47'::timestamp) - extract(epoch from '2026-06-15 08:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377587 -2.807948)'), GeomFromEWKT('SRID=4674;POINT (-40.377413 -2.807906)'))) / (select extract(epoch from '2026-06-15 08:23:47'::timestamp) - extract(epoch from '2026-06-15 08:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.377174 -2.807854)', '2026-06-15 08:23:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377413 -2.807906)'), GeomFromEWKT('SRID=4674;POINT (-40.377174 -2.807854)'))) / (select extract(epoch from '2026-06-15 08:23:59'::timestamp) - extract(epoch from '2026-06-15 08:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377413 -2.807906)'), GeomFromEWKT('SRID=4674;POINT (-40.377174 -2.807854)'))) / (select extract(epoch from '2026-06-15 08:23:59'::timestamp) - extract(epoch from '2026-06-15 08:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37693 -2.807789)', '2026-06-15 08:24:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377174 -2.807854)'), GeomFromEWKT('SRID=4674;POINT (-40.37693 -2.807789)'))) / (select extract(epoch from '2026-06-15 08:24:11'::timestamp) - extract(epoch from '2026-06-15 08:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377174 -2.807854)'), GeomFromEWKT('SRID=4674;POINT (-40.37693 -2.807789)'))) / (select extract(epoch from '2026-06-15 08:24:11'::timestamp) - extract(epoch from '2026-06-15 08:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.376681 -2.807732)', '2026-06-15 08:24:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37693 -2.807789)'), GeomFromEWKT('SRID=4674;POINT (-40.376681 -2.807732)'))) / (select extract(epoch from '2026-06-15 08:24:23'::timestamp) - extract(epoch from '2026-06-15 08:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37693 -2.807789)'), GeomFromEWKT('SRID=4674;POINT (-40.376681 -2.807732)'))) / (select extract(epoch from '2026-06-15 08:24:23'::timestamp) - extract(epoch from '2026-06-15 08:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37642 -2.807672)', '2026-06-15 08:24:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376681 -2.807732)'), GeomFromEWKT('SRID=4674;POINT (-40.37642 -2.807672)'))) / (select extract(epoch from '2026-06-15 08:24:36'::timestamp) - extract(epoch from '2026-06-15 08:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376681 -2.807732)'), GeomFromEWKT('SRID=4674;POINT (-40.37642 -2.807672)'))) / (select extract(epoch from '2026-06-15 08:24:36'::timestamp) - extract(epoch from '2026-06-15 08:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.376188 -2.807624)', '2026-06-15 08:24:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37642 -2.807672)'), GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.807624)'))) / (select extract(epoch from '2026-06-15 08:24:48'::timestamp) - extract(epoch from '2026-06-15 08:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37642 -2.807672)'), GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.807624)'))) / (select extract(epoch from '2026-06-15 08:24:48'::timestamp) - extract(epoch from '2026-06-15 08:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.375914 -2.807581)', '2026-06-15 08:25:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.807624)'), GeomFromEWKT('SRID=4674;POINT (-40.375914 -2.807581)'))) / (select extract(epoch from '2026-06-15 08:25:02'::timestamp) - extract(epoch from '2026-06-15 08:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.807624)'), GeomFromEWKT('SRID=4674;POINT (-40.375914 -2.807581)'))) / (select extract(epoch from '2026-06-15 08:25:02'::timestamp) - extract(epoch from '2026-06-15 08:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.375719 -2.807573)', '2026-06-15 08:25:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375914 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.807573)'))) / (select extract(epoch from '2026-06-15 08:25:12'::timestamp) - extract(epoch from '2026-06-15 08:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375914 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.807573)'))) / (select extract(epoch from '2026-06-15 08:25:12'::timestamp) - extract(epoch from '2026-06-15 08:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.375513 -2.807596)', '2026-06-15 08:25:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.375513 -2.807596)'))) / (select extract(epoch from '2026-06-15 08:25:23'::timestamp) - extract(epoch from '2026-06-15 08:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.375513 -2.807596)'))) / (select extract(epoch from '2026-06-15 08:25:23'::timestamp) - extract(epoch from '2026-06-15 08:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.375362 -2.807573)', '2026-06-15 08:25:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375513 -2.807596)'), GeomFromEWKT('SRID=4674;POINT (-40.375362 -2.807573)'))) / (select extract(epoch from '2026-06-15 08:25:31'::timestamp) - extract(epoch from '2026-06-15 08:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375513 -2.807596)'), GeomFromEWKT('SRID=4674;POINT (-40.375362 -2.807573)'))) / (select extract(epoch from '2026-06-15 08:25:31'::timestamp) - extract(epoch from '2026-06-15 08:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.375154 -2.807488)', '2026-06-15 08:25:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375362 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.375154 -2.807488)'))) / (select extract(epoch from '2026-06-15 08:25:42'::timestamp) - extract(epoch from '2026-06-15 08:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375362 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.375154 -2.807488)'))) / (select extract(epoch from '2026-06-15 08:25:42'::timestamp) - extract(epoch from '2026-06-15 08:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.374918 -2.807405)', '2026-06-15 08:25:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375154 -2.807488)'), GeomFromEWKT('SRID=4674;POINT (-40.374918 -2.807405)'))) / (select extract(epoch from '2026-06-15 08:25:54'::timestamp) - extract(epoch from '2026-06-15 08:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375154 -2.807488)'), GeomFromEWKT('SRID=4674;POINT (-40.374918 -2.807405)'))) / (select extract(epoch from '2026-06-15 08:25:54'::timestamp) - extract(epoch from '2026-06-15 08:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.374721 -2.807354)', '2026-06-15 08:26:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374918 -2.807405)'), GeomFromEWKT('SRID=4674;POINT (-40.374721 -2.807354)'))) / (select extract(epoch from '2026-06-15 08:26:04'::timestamp) - extract(epoch from '2026-06-15 08:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374918 -2.807405)'), GeomFromEWKT('SRID=4674;POINT (-40.374721 -2.807354)'))) / (select extract(epoch from '2026-06-15 08:26:04'::timestamp) - extract(epoch from '2026-06-15 08:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.374512 -2.807294)', '2026-06-15 08:26:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374721 -2.807354)'), GeomFromEWKT('SRID=4674;POINT (-40.374512 -2.807294)'))) / (select extract(epoch from '2026-06-15 08:26:15'::timestamp) - extract(epoch from '2026-06-15 08:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374721 -2.807354)'), GeomFromEWKT('SRID=4674;POINT (-40.374512 -2.807294)'))) / (select extract(epoch from '2026-06-15 08:26:15'::timestamp) - extract(epoch from '2026-06-15 08:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.374286 -2.807234)', '2026-06-15 08:26:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374512 -2.807294)'), GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.807234)'))) / (select extract(epoch from '2026-06-15 08:26:27'::timestamp) - extract(epoch from '2026-06-15 08:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374512 -2.807294)'), GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.807234)'))) / (select extract(epoch from '2026-06-15 08:26:27'::timestamp) - extract(epoch from '2026-06-15 08:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.374102 -2.807186)', '2026-06-15 08:26:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.807234)'), GeomFromEWKT('SRID=4674;POINT (-40.374102 -2.807186)'))) / (select extract(epoch from '2026-06-15 08:26:37'::timestamp) - extract(epoch from '2026-06-15 08:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374286 -2.807234)'), GeomFromEWKT('SRID=4674;POINT (-40.374102 -2.807186)'))) / (select extract(epoch from '2026-06-15 08:26:37'::timestamp) - extract(epoch from '2026-06-15 08:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.373897 -2.807122)', '2026-06-15 08:26:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374102 -2.807186)'), GeomFromEWKT('SRID=4674;POINT (-40.373897 -2.807122)'))) / (select extract(epoch from '2026-06-15 08:26:48'::timestamp) - extract(epoch from '2026-06-15 08:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374102 -2.807186)'), GeomFromEWKT('SRID=4674;POINT (-40.373897 -2.807122)'))) / (select extract(epoch from '2026-06-15 08:26:48'::timestamp) - extract(epoch from '2026-06-15 08:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.373708 -2.807058)', '2026-06-15 08:26:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373897 -2.807122)'), GeomFromEWKT('SRID=4674;POINT (-40.373708 -2.807058)'))) / (select extract(epoch from '2026-06-15 08:26:58'::timestamp) - extract(epoch from '2026-06-15 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373897 -2.807122)'), GeomFromEWKT('SRID=4674;POINT (-40.373708 -2.807058)'))) / (select extract(epoch from '2026-06-15 08:26:58'::timestamp) - extract(epoch from '2026-06-15 08:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.373491 -2.807013)', '2026-06-15 08:27:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373708 -2.807058)'), GeomFromEWKT('SRID=4674;POINT (-40.373491 -2.807013)'))) / (select extract(epoch from '2026-06-15 08:27:09'::timestamp) - extract(epoch from '2026-06-15 08:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373708 -2.807058)'), GeomFromEWKT('SRID=4674;POINT (-40.373491 -2.807013)'))) / (select extract(epoch from '2026-06-15 08:27:09'::timestamp) - extract(epoch from '2026-06-15 08:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.373269 -2.806941)', '2026-06-15 08:27:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373491 -2.807013)'), GeomFromEWKT('SRID=4674;POINT (-40.373269 -2.806941)'))) / (select extract(epoch from '2026-06-15 08:27:20'::timestamp) - extract(epoch from '2026-06-15 08:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373491 -2.807013)'), GeomFromEWKT('SRID=4674;POINT (-40.373269 -2.806941)'))) / (select extract(epoch from '2026-06-15 08:27:20'::timestamp) - extract(epoch from '2026-06-15 08:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.373047 -2.806879)', '2026-06-15 08:27:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373269 -2.806941)'), GeomFromEWKT('SRID=4674;POINT (-40.373047 -2.806879)'))) / (select extract(epoch from '2026-06-15 08:27:31'::timestamp) - extract(epoch from '2026-06-15 08:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373269 -2.806941)'), GeomFromEWKT('SRID=4674;POINT (-40.373047 -2.806879)'))) / (select extract(epoch from '2026-06-15 08:27:31'::timestamp) - extract(epoch from '2026-06-15 08:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37284 -2.806822)', '2026-06-15 08:27:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373047 -2.806879)'), GeomFromEWKT('SRID=4674;POINT (-40.37284 -2.806822)'))) / (select extract(epoch from '2026-06-15 08:27:42'::timestamp) - extract(epoch from '2026-06-15 08:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373047 -2.806879)'), GeomFromEWKT('SRID=4674;POINT (-40.37284 -2.806822)'))) / (select extract(epoch from '2026-06-15 08:27:42'::timestamp) - extract(epoch from '2026-06-15 08:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.372678 -2.806777)', '2026-06-15 08:27:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37284 -2.806822)'), GeomFromEWKT('SRID=4674;POINT (-40.372678 -2.806777)'))) / (select extract(epoch from '2026-06-15 08:27:51'::timestamp) - extract(epoch from '2026-06-15 08:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37284 -2.806822)'), GeomFromEWKT('SRID=4674;POINT (-40.372678 -2.806777)'))) / (select extract(epoch from '2026-06-15 08:27:51'::timestamp) - extract(epoch from '2026-06-15 08:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.372493 -2.806734)', '2026-06-15 08:28:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372678 -2.806777)'), GeomFromEWKT('SRID=4674;POINT (-40.372493 -2.806734)'))) / (select extract(epoch from '2026-06-15 08:28:01'::timestamp) - extract(epoch from '2026-06-15 08:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372678 -2.806777)'), GeomFromEWKT('SRID=4674;POINT (-40.372493 -2.806734)'))) / (select extract(epoch from '2026-06-15 08:28:01'::timestamp) - extract(epoch from '2026-06-15 08:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37231 -2.806689)', '2026-06-15 08:28:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372493 -2.806734)'), GeomFromEWKT('SRID=4674;POINT (-40.37231 -2.806689)'))) / (select extract(epoch from '2026-06-15 08:28:11'::timestamp) - extract(epoch from '2026-06-15 08:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372493 -2.806734)'), GeomFromEWKT('SRID=4674;POINT (-40.37231 -2.806689)'))) / (select extract(epoch from '2026-06-15 08:28:11'::timestamp) - extract(epoch from '2026-06-15 08:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37213 -2.806651)', '2026-06-15 08:28:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37231 -2.806689)'), GeomFromEWKT('SRID=4674;POINT (-40.37213 -2.806651)'))) / (select extract(epoch from '2026-06-15 08:28:21'::timestamp) - extract(epoch from '2026-06-15 08:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37231 -2.806689)'), GeomFromEWKT('SRID=4674;POINT (-40.37213 -2.806651)'))) / (select extract(epoch from '2026-06-15 08:28:21'::timestamp) - extract(epoch from '2026-06-15 08:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.371957 -2.806625)', '2026-06-15 08:28:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37213 -2.806651)'), GeomFromEWKT('SRID=4674;POINT (-40.371957 -2.806625)'))) / (select extract(epoch from '2026-06-15 08:28:31'::timestamp) - extract(epoch from '2026-06-15 08:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37213 -2.806651)'), GeomFromEWKT('SRID=4674;POINT (-40.371957 -2.806625)'))) / (select extract(epoch from '2026-06-15 08:28:31'::timestamp) - extract(epoch from '2026-06-15 08:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.371829 -2.806584)', '2026-06-15 08:28:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371957 -2.806625)'), GeomFromEWKT('SRID=4674;POINT (-40.371829 -2.806584)'))) / (select extract(epoch from '2026-06-15 08:28:39'::timestamp) - extract(epoch from '2026-06-15 08:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371957 -2.806625)'), GeomFromEWKT('SRID=4674;POINT (-40.371829 -2.806584)'))) / (select extract(epoch from '2026-06-15 08:28:39'::timestamp) - extract(epoch from '2026-06-15 08:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.371616 -2.806515)', '2026-06-15 08:28:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371829 -2.806584)'), GeomFromEWKT('SRID=4674;POINT (-40.371616 -2.806515)'))) / (select extract(epoch from '2026-06-15 08:28:51'::timestamp) - extract(epoch from '2026-06-15 08:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371829 -2.806584)'), GeomFromEWKT('SRID=4674;POINT (-40.371616 -2.806515)'))) / (select extract(epoch from '2026-06-15 08:28:51'::timestamp) - extract(epoch from '2026-06-15 08:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.371443 -2.806452)', '2026-06-15 08:29:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371616 -2.806515)'), GeomFromEWKT('SRID=4674;POINT (-40.371443 -2.806452)'))) / (select extract(epoch from '2026-06-15 08:29:00'::timestamp) - extract(epoch from '2026-06-15 08:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371616 -2.806515)'), GeomFromEWKT('SRID=4674;POINT (-40.371443 -2.806452)'))) / (select extract(epoch from '2026-06-15 08:29:00'::timestamp) - extract(epoch from '2026-06-15 08:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.371254 -2.806418)', '2026-06-15 08:29:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371443 -2.806452)'), GeomFromEWKT('SRID=4674;POINT (-40.371254 -2.806418)'))) / (select extract(epoch from '2026-06-15 08:29:10'::timestamp) - extract(epoch from '2026-06-15 08:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371443 -2.806452)'), GeomFromEWKT('SRID=4674;POINT (-40.371254 -2.806418)'))) / (select extract(epoch from '2026-06-15 08:29:10'::timestamp) - extract(epoch from '2026-06-15 08:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.37104 -2.806378)', '2026-06-15 08:29:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371254 -2.806418)'), GeomFromEWKT('SRID=4674;POINT (-40.37104 -2.806378)'))) / (select extract(epoch from '2026-06-15 08:29:21'::timestamp) - extract(epoch from '2026-06-15 08:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371254 -2.806418)'), GeomFromEWKT('SRID=4674;POINT (-40.37104 -2.806378)'))) / (select extract(epoch from '2026-06-15 08:29:21'::timestamp) - extract(epoch from '2026-06-15 08:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.370864 -2.806351)', '2026-06-15 08:29:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37104 -2.806378)'), GeomFromEWKT('SRID=4674;POINT (-40.370864 -2.806351)'))) / (select extract(epoch from '2026-06-15 08:29:30'::timestamp) - extract(epoch from '2026-06-15 08:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37104 -2.806378)'), GeomFromEWKT('SRID=4674;POINT (-40.370864 -2.806351)'))) / (select extract(epoch from '2026-06-15 08:29:30'::timestamp) - extract(epoch from '2026-06-15 08:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.370639 -2.806324)', '2026-06-15 08:29:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370864 -2.806351)'), GeomFromEWKT('SRID=4674;POINT (-40.370639 -2.806324)'))) / (select extract(epoch from '2026-06-15 08:29:41'::timestamp) - extract(epoch from '2026-06-15 08:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370864 -2.806351)'), GeomFromEWKT('SRID=4674;POINT (-40.370639 -2.806324)'))) / (select extract(epoch from '2026-06-15 08:29:41'::timestamp) - extract(epoch from '2026-06-15 08:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.370458 -2.806271)', '2026-06-15 08:29:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370639 -2.806324)'), GeomFromEWKT('SRID=4674;POINT (-40.370458 -2.806271)'))) / (select extract(epoch from '2026-06-15 08:29:50'::timestamp) - extract(epoch from '2026-06-15 08:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370639 -2.806324)'), GeomFromEWKT('SRID=4674;POINT (-40.370458 -2.806271)'))) / (select extract(epoch from '2026-06-15 08:29:50'::timestamp) - extract(epoch from '2026-06-15 08:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.370291 -2.806202)', '2026-06-15 08:29:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370458 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.806202)'))) / (select extract(epoch from '2026-06-15 08:29:59'::timestamp) - extract(epoch from '2026-06-15 08:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370458 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.806202)'))) / (select extract(epoch from '2026-06-15 08:29:59'::timestamp) - extract(epoch from '2026-06-15 08:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.370087 -2.806177)', '2026-06-15 08:30:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.806202)'), GeomFromEWKT('SRID=4674;POINT (-40.370087 -2.806177)'))) / (select extract(epoch from '2026-06-15 08:30:09'::timestamp) - extract(epoch from '2026-06-15 08:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.806202)'), GeomFromEWKT('SRID=4674;POINT (-40.370087 -2.806177)'))) / (select extract(epoch from '2026-06-15 08:30:09'::timestamp) - extract(epoch from '2026-06-15 08:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.369901 -2.806162)', '2026-06-15 08:30:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370087 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.369901 -2.806162)'))) / (select extract(epoch from '2026-06-15 08:30:18'::timestamp) - extract(epoch from '2026-06-15 08:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370087 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.369901 -2.806162)'))) / (select extract(epoch from '2026-06-15 08:30:18'::timestamp) - extract(epoch from '2026-06-15 08:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.369677 -2.806171)', '2026-06-15 08:30:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369901 -2.806162)'), GeomFromEWKT('SRID=4674;POINT (-40.369677 -2.806171)'))) / (select extract(epoch from '2026-06-15 08:30:29'::timestamp) - extract(epoch from '2026-06-15 08:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369901 -2.806162)'), GeomFromEWKT('SRID=4674;POINT (-40.369677 -2.806171)'))) / (select extract(epoch from '2026-06-15 08:30:29'::timestamp) - extract(epoch from '2026-06-15 08:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.369459 -2.80621)', '2026-06-15 08:30:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369677 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.369459 -2.80621)'))) / (select extract(epoch from '2026-06-15 08:30:40'::timestamp) - extract(epoch from '2026-06-15 08:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369677 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.369459 -2.80621)'))) / (select extract(epoch from '2026-06-15 08:30:40'::timestamp) - extract(epoch from '2026-06-15 08:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.369224 -2.806219)', '2026-06-15 08:30:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369459 -2.80621)'), GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.806219)'))) / (select extract(epoch from '2026-06-15 08:30:52'::timestamp) - extract(epoch from '2026-06-15 08:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369459 -2.80621)'), GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.806219)'))) / (select extract(epoch from '2026-06-15 08:30:52'::timestamp) - extract(epoch from '2026-06-15 08:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.36897 -2.806253)', '2026-06-15 08:31:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.806219)'), GeomFromEWKT('SRID=4674;POINT (-40.36897 -2.806253)'))) / (select extract(epoch from '2026-06-15 08:31:05'::timestamp) - extract(epoch from '2026-06-15 08:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.806219)'), GeomFromEWKT('SRID=4674;POINT (-40.36897 -2.806253)'))) / (select extract(epoch from '2026-06-15 08:31:05'::timestamp) - extract(epoch from '2026-06-15 08:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.368793 -2.806273)', '2026-06-15 08:31:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36897 -2.806253)'), GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.806273)'))) / (select extract(epoch from '2026-06-15 08:31:14'::timestamp) - extract(epoch from '2026-06-15 08:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36897 -2.806253)'), GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.806273)'))) / (select extract(epoch from '2026-06-15 08:31:14'::timestamp) - extract(epoch from '2026-06-15 08:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.368617 -2.806287)', '2026-06-15 08:31:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.806273)'), GeomFromEWKT('SRID=4674;POINT (-40.368617 -2.806287)'))) / (select extract(epoch from '2026-06-15 08:31:23'::timestamp) - extract(epoch from '2026-06-15 08:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.806273)'), GeomFromEWKT('SRID=4674;POINT (-40.368617 -2.806287)'))) / (select extract(epoch from '2026-06-15 08:31:23'::timestamp) - extract(epoch from '2026-06-15 08:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.368433 -2.806305)', '2026-06-15 08:31:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368617 -2.806287)'), GeomFromEWKT('SRID=4674;POINT (-40.368433 -2.806305)'))) / (select extract(epoch from '2026-06-15 08:31:32'::timestamp) - extract(epoch from '2026-06-15 08:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368617 -2.806287)'), GeomFromEWKT('SRID=4674;POINT (-40.368433 -2.806305)'))) / (select extract(epoch from '2026-06-15 08:31:32'::timestamp) - extract(epoch from '2026-06-15 08:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.368288 -2.80636)', '2026-06-15 08:31:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368433 -2.806305)'), GeomFromEWKT('SRID=4674;POINT (-40.368288 -2.80636)'))) / (select extract(epoch from '2026-06-15 08:31:40'::timestamp) - extract(epoch from '2026-06-15 08:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368433 -2.806305)'), GeomFromEWKT('SRID=4674;POINT (-40.368288 -2.80636)'))) / (select extract(epoch from '2026-06-15 08:31:40'::timestamp) - extract(epoch from '2026-06-15 08:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.368125 -2.806442)', '2026-06-15 08:31:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368288 -2.80636)'), GeomFromEWKT('SRID=4674;POINT (-40.368125 -2.806442)'))) / (select extract(epoch from '2026-06-15 08:31:49'::timestamp) - extract(epoch from '2026-06-15 08:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368288 -2.80636)'), GeomFromEWKT('SRID=4674;POINT (-40.368125 -2.806442)'))) / (select extract(epoch from '2026-06-15 08:31:49'::timestamp) - extract(epoch from '2026-06-15 08:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.367933 -2.806491)', '2026-06-15 08:31:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368125 -2.806442)'), GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.806491)'))) / (select extract(epoch from '2026-06-15 08:31:59'::timestamp) - extract(epoch from '2026-06-15 08:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368125 -2.806442)'), GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.806491)'))) / (select extract(epoch from '2026-06-15 08:31:59'::timestamp) - extract(epoch from '2026-06-15 08:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.367716 -2.806539)', '2026-06-15 08:32:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.806491)'), GeomFromEWKT('SRID=4674;POINT (-40.367716 -2.806539)'))) / (select extract(epoch from '2026-06-15 08:32:10'::timestamp) - extract(epoch from '2026-06-15 08:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.806491)'), GeomFromEWKT('SRID=4674;POINT (-40.367716 -2.806539)'))) / (select extract(epoch from '2026-06-15 08:32:10'::timestamp) - extract(epoch from '2026-06-15 08:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.367501 -2.806559)', '2026-06-15 08:32:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367716 -2.806539)'), GeomFromEWKT('SRID=4674;POINT (-40.367501 -2.806559)'))) / (select extract(epoch from '2026-06-15 08:32:21'::timestamp) - extract(epoch from '2026-06-15 08:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367716 -2.806539)'), GeomFromEWKT('SRID=4674;POINT (-40.367501 -2.806559)'))) / (select extract(epoch from '2026-06-15 08:32:21'::timestamp) - extract(epoch from '2026-06-15 08:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.367316 -2.806574)', '2026-06-15 08:32:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367501 -2.806559)'), GeomFromEWKT('SRID=4674;POINT (-40.367316 -2.806574)'))) / (select extract(epoch from '2026-06-15 08:32:30'::timestamp) - extract(epoch from '2026-06-15 08:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367501 -2.806559)'), GeomFromEWKT('SRID=4674;POINT (-40.367316 -2.806574)'))) / (select extract(epoch from '2026-06-15 08:32:30'::timestamp) - extract(epoch from '2026-06-15 08:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.367161 -2.806593)', '2026-06-15 08:32:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367316 -2.806574)'), GeomFromEWKT('SRID=4674;POINT (-40.367161 -2.806593)'))) / (select extract(epoch from '2026-06-15 08:32:38'::timestamp) - extract(epoch from '2026-06-15 08:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367316 -2.806574)'), GeomFromEWKT('SRID=4674;POINT (-40.367161 -2.806593)'))) / (select extract(epoch from '2026-06-15 08:32:38'::timestamp) - extract(epoch from '2026-06-15 08:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.366937 -2.806604)', '2026-06-15 08:32:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367161 -2.806593)'), GeomFromEWKT('SRID=4674;POINT (-40.366937 -2.806604)'))) / (select extract(epoch from '2026-06-15 08:32:49'::timestamp) - extract(epoch from '2026-06-15 08:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367161 -2.806593)'), GeomFromEWKT('SRID=4674;POINT (-40.366937 -2.806604)'))) / (select extract(epoch from '2026-06-15 08:32:49'::timestamp) - extract(epoch from '2026-06-15 08:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.366752 -2.80661)', '2026-06-15 08:32:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366937 -2.806604)'), GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.80661)'))) / (select extract(epoch from '2026-06-15 08:32:58'::timestamp) - extract(epoch from '2026-06-15 08:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366937 -2.806604)'), GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.80661)'))) / (select extract(epoch from '2026-06-15 08:32:58'::timestamp) - extract(epoch from '2026-06-15 08:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.366507 -2.806629)', '2026-06-15 08:33:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.80661)'), GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.806629)'))) / (select extract(epoch from '2026-06-15 08:33:10'::timestamp) - extract(epoch from '2026-06-15 08:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.80661)'), GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.806629)'))) / (select extract(epoch from '2026-06-15 08:33:10'::timestamp) - extract(epoch from '2026-06-15 08:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.366327 -2.806622)', '2026-06-15 08:33:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.806629)'), GeomFromEWKT('SRID=4674;POINT (-40.366327 -2.806622)'))) / (select extract(epoch from '2026-06-15 08:33:19'::timestamp) - extract(epoch from '2026-06-15 08:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.806629)'), GeomFromEWKT('SRID=4674;POINT (-40.366327 -2.806622)'))) / (select extract(epoch from '2026-06-15 08:33:19'::timestamp) - extract(epoch from '2026-06-15 08:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.366124 -2.806622)', '2026-06-15 08:33:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366327 -2.806622)'), GeomFromEWKT('SRID=4674;POINT (-40.366124 -2.806622)'))) / (select extract(epoch from '2026-06-15 08:33:29'::timestamp) - extract(epoch from '2026-06-15 08:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366327 -2.806622)'), GeomFromEWKT('SRID=4674;POINT (-40.366124 -2.806622)'))) / (select extract(epoch from '2026-06-15 08:33:29'::timestamp) - extract(epoch from '2026-06-15 08:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.365939 -2.806616)', '2026-06-15 08:33:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366124 -2.806622)'), GeomFromEWKT('SRID=4674;POINT (-40.365939 -2.806616)'))) / (select extract(epoch from '2026-06-15 08:33:38'::timestamp) - extract(epoch from '2026-06-15 08:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366124 -2.806622)'), GeomFromEWKT('SRID=4674;POINT (-40.365939 -2.806616)'))) / (select extract(epoch from '2026-06-15 08:33:38'::timestamp) - extract(epoch from '2026-06-15 08:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.365739 -2.806626)', '2026-06-15 08:33:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365939 -2.806616)'), GeomFromEWKT('SRID=4674;POINT (-40.365739 -2.806626)'))) / (select extract(epoch from '2026-06-15 08:33:48'::timestamp) - extract(epoch from '2026-06-15 08:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365939 -2.806616)'), GeomFromEWKT('SRID=4674;POINT (-40.365739 -2.806626)'))) / (select extract(epoch from '2026-06-15 08:33:48'::timestamp) - extract(epoch from '2026-06-15 08:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.365598 -2.806627)', '2026-06-15 08:33:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365739 -2.806626)'), GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.806627)'))) / (select extract(epoch from '2026-06-15 08:33:55'::timestamp) - extract(epoch from '2026-06-15 08:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365739 -2.806626)'), GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.806627)'))) / (select extract(epoch from '2026-06-15 08:33:55'::timestamp) - extract(epoch from '2026-06-15 08:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.365417 -2.806638)', '2026-06-15 08:34:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.806627)'), GeomFromEWKT('SRID=4674;POINT (-40.365417 -2.806638)'))) / (select extract(epoch from '2026-06-15 08:34:04'::timestamp) - extract(epoch from '2026-06-15 08:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.806627)'), GeomFromEWKT('SRID=4674;POINT (-40.365417 -2.806638)'))) / (select extract(epoch from '2026-06-15 08:34:04'::timestamp) - extract(epoch from '2026-06-15 08:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.365252 -2.806678)', '2026-06-15 08:34:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365417 -2.806638)'), GeomFromEWKT('SRID=4674;POINT (-40.365252 -2.806678)'))) / (select extract(epoch from '2026-06-15 08:34:13'::timestamp) - extract(epoch from '2026-06-15 08:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365417 -2.806638)'), GeomFromEWKT('SRID=4674;POINT (-40.365252 -2.806678)'))) / (select extract(epoch from '2026-06-15 08:34:13'::timestamp) - extract(epoch from '2026-06-15 08:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.365066 -2.806702)', '2026-06-15 08:34:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365252 -2.806678)'), GeomFromEWKT('SRID=4674;POINT (-40.365066 -2.806702)'))) / (select extract(epoch from '2026-06-15 08:34:23'::timestamp) - extract(epoch from '2026-06-15 08:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365252 -2.806678)'), GeomFromEWKT('SRID=4674;POINT (-40.365066 -2.806702)'))) / (select extract(epoch from '2026-06-15 08:34:23'::timestamp) - extract(epoch from '2026-06-15 08:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.364863 -2.806764)', '2026-06-15 08:34:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365066 -2.806702)'), GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.806764)'))) / (select extract(epoch from '2026-06-15 08:34:34'::timestamp) - extract(epoch from '2026-06-15 08:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365066 -2.806702)'), GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.806764)'))) / (select extract(epoch from '2026-06-15 08:34:34'::timestamp) - extract(epoch from '2026-06-15 08:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.364681 -2.80684)', '2026-06-15 08:34:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.806764)'), GeomFromEWKT('SRID=4674;POINT (-40.364681 -2.80684)'))) / (select extract(epoch from '2026-06-15 08:34:44'::timestamp) - extract(epoch from '2026-06-15 08:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364863 -2.806764)'), GeomFromEWKT('SRID=4674;POINT (-40.364681 -2.80684)'))) / (select extract(epoch from '2026-06-15 08:34:44'::timestamp) - extract(epoch from '2026-06-15 08:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.36458 -2.806871)', '2026-06-15 08:34:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364681 -2.80684)'), GeomFromEWKT('SRID=4674;POINT (-40.36458 -2.806871)'))) / (select extract(epoch from '2026-06-15 08:34:50'::timestamp) - extract(epoch from '2026-06-15 08:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364681 -2.80684)'), GeomFromEWKT('SRID=4674;POINT (-40.36458 -2.806871)'))) / (select extract(epoch from '2026-06-15 08:34:50'::timestamp) - extract(epoch from '2026-06-15 08:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.364397 -2.806888)', '2026-06-15 08:35:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36458 -2.806871)'), GeomFromEWKT('SRID=4674;POINT (-40.364397 -2.806888)'))) / (select extract(epoch from '2026-06-15 08:35:00'::timestamp) - extract(epoch from '2026-06-15 08:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36458 -2.806871)'), GeomFromEWKT('SRID=4674;POINT (-40.364397 -2.806888)'))) / (select extract(epoch from '2026-06-15 08:35:00'::timestamp) - extract(epoch from '2026-06-15 08:34:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.364201 -2.806894)', '2026-06-15 08:35:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364397 -2.806888)'), GeomFromEWKT('SRID=4674;POINT (-40.364201 -2.806894)'))) / (select extract(epoch from '2026-06-15 08:35:11'::timestamp) - extract(epoch from '2026-06-15 08:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364397 -2.806888)'), GeomFromEWKT('SRID=4674;POINT (-40.364201 -2.806894)'))) / (select extract(epoch from '2026-06-15 08:35:11'::timestamp) - extract(epoch from '2026-06-15 08:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.363946 -2.806913)', '2026-06-15 08:35:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364201 -2.806894)'), GeomFromEWKT('SRID=4674;POINT (-40.363946 -2.806913)'))) / (select extract(epoch from '2026-06-15 08:35:24'::timestamp) - extract(epoch from '2026-06-15 08:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364201 -2.806894)'), GeomFromEWKT('SRID=4674;POINT (-40.363946 -2.806913)'))) / (select extract(epoch from '2026-06-15 08:35:24'::timestamp) - extract(epoch from '2026-06-15 08:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.363766 -2.806929)', '2026-06-15 08:35:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363946 -2.806913)'), GeomFromEWKT('SRID=4674;POINT (-40.363766 -2.806929)'))) / (select extract(epoch from '2026-06-15 08:35:33'::timestamp) - extract(epoch from '2026-06-15 08:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363946 -2.806913)'), GeomFromEWKT('SRID=4674;POINT (-40.363766 -2.806929)'))) / (select extract(epoch from '2026-06-15 08:35:33'::timestamp) - extract(epoch from '2026-06-15 08:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.363588 -2.806952)', '2026-06-15 08:35:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363766 -2.806929)'), GeomFromEWKT('SRID=4674;POINT (-40.363588 -2.806952)'))) / (select extract(epoch from '2026-06-15 08:35:42'::timestamp) - extract(epoch from '2026-06-15 08:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363766 -2.806929)'), GeomFromEWKT('SRID=4674;POINT (-40.363588 -2.806952)'))) / (select extract(epoch from '2026-06-15 08:35:42'::timestamp) - extract(epoch from '2026-06-15 08:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.363418 -2.806959)', '2026-06-15 08:35:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363588 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.363418 -2.806959)'))) / (select extract(epoch from '2026-06-15 08:35:51'::timestamp) - extract(epoch from '2026-06-15 08:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363588 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.363418 -2.806959)'))) / (select extract(epoch from '2026-06-15 08:35:51'::timestamp) - extract(epoch from '2026-06-15 08:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.363259 -2.806969)', '2026-06-15 08:35:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363418 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.363259 -2.806969)'))) / (select extract(epoch from '2026-06-15 08:35:59'::timestamp) - extract(epoch from '2026-06-15 08:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363418 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.363259 -2.806969)'))) / (select extract(epoch from '2026-06-15 08:35:59'::timestamp) - extract(epoch from '2026-06-15 08:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.363042 -2.806971)', '2026-06-15 08:36:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363259 -2.806969)'), GeomFromEWKT('SRID=4674;POINT (-40.363042 -2.806971)'))) / (select extract(epoch from '2026-06-15 08:36:10'::timestamp) - extract(epoch from '2026-06-15 08:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363259 -2.806969)'), GeomFromEWKT('SRID=4674;POINT (-40.363042 -2.806971)'))) / (select extract(epoch from '2026-06-15 08:36:10'::timestamp) - extract(epoch from '2026-06-15 08:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.362867 -2.806969)', '2026-06-15 08:36:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363042 -2.806971)'), GeomFromEWKT('SRID=4674;POINT (-40.362867 -2.806969)'))) / (select extract(epoch from '2026-06-15 08:36:19'::timestamp) - extract(epoch from '2026-06-15 08:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363042 -2.806971)'), GeomFromEWKT('SRID=4674;POINT (-40.362867 -2.806969)'))) / (select extract(epoch from '2026-06-15 08:36:19'::timestamp) - extract(epoch from '2026-06-15 08:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.362711 -2.806983)', '2026-06-15 08:36:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362867 -2.806969)'), GeomFromEWKT('SRID=4674;POINT (-40.362711 -2.806983)'))) / (select extract(epoch from '2026-06-15 08:36:27'::timestamp) - extract(epoch from '2026-06-15 08:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362867 -2.806969)'), GeomFromEWKT('SRID=4674;POINT (-40.362711 -2.806983)'))) / (select extract(epoch from '2026-06-15 08:36:27'::timestamp) - extract(epoch from '2026-06-15 08:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.362564 -2.807041)', '2026-06-15 08:36:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362711 -2.806983)'), GeomFromEWKT('SRID=4674;POINT (-40.362564 -2.807041)'))) / (select extract(epoch from '2026-06-15 08:36:35'::timestamp) - extract(epoch from '2026-06-15 08:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362711 -2.806983)'), GeomFromEWKT('SRID=4674;POINT (-40.362564 -2.807041)'))) / (select extract(epoch from '2026-06-15 08:36:35'::timestamp) - extract(epoch from '2026-06-15 08:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.362411 -2.807064)', '2026-06-15 08:36:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362564 -2.807041)'), GeomFromEWKT('SRID=4674;POINT (-40.362411 -2.807064)'))) / (select extract(epoch from '2026-06-15 08:36:43'::timestamp) - extract(epoch from '2026-06-15 08:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362564 -2.807041)'), GeomFromEWKT('SRID=4674;POINT (-40.362411 -2.807064)'))) / (select extract(epoch from '2026-06-15 08:36:43'::timestamp) - extract(epoch from '2026-06-15 08:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.362238 -2.807052)', '2026-06-15 08:36:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362411 -2.807064)'), GeomFromEWKT('SRID=4674;POINT (-40.362238 -2.807052)'))) / (select extract(epoch from '2026-06-15 08:36:52'::timestamp) - extract(epoch from '2026-06-15 08:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362411 -2.807064)'), GeomFromEWKT('SRID=4674;POINT (-40.362238 -2.807052)'))) / (select extract(epoch from '2026-06-15 08:36:52'::timestamp) - extract(epoch from '2026-06-15 08:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.362109 -2.807094)', '2026-06-15 08:36:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362238 -2.807052)'), GeomFromEWKT('SRID=4674;POINT (-40.362109 -2.807094)'))) / (select extract(epoch from '2026-06-15 08:36:59'::timestamp) - extract(epoch from '2026-06-15 08:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362238 -2.807052)'), GeomFromEWKT('SRID=4674;POINT (-40.362109 -2.807094)'))) / (select extract(epoch from '2026-06-15 08:36:59'::timestamp) - extract(epoch from '2026-06-15 08:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.361941 -2.807143)', '2026-06-15 08:37:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362109 -2.807094)'), GeomFromEWKT('SRID=4674;POINT (-40.361941 -2.807143)'))) / (select extract(epoch from '2026-06-15 08:37:08'::timestamp) - extract(epoch from '2026-06-15 08:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362109 -2.807094)'), GeomFromEWKT('SRID=4674;POINT (-40.361941 -2.807143)'))) / (select extract(epoch from '2026-06-15 08:37:08'::timestamp) - extract(epoch from '2026-06-15 08:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.361805 -2.807133)', '2026-06-15 08:37:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361941 -2.807143)'), GeomFromEWKT('SRID=4674;POINT (-40.361805 -2.807133)'))) / (select extract(epoch from '2026-06-15 08:37:15'::timestamp) - extract(epoch from '2026-06-15 08:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361941 -2.807143)'), GeomFromEWKT('SRID=4674;POINT (-40.361805 -2.807133)'))) / (select extract(epoch from '2026-06-15 08:37:15'::timestamp) - extract(epoch from '2026-06-15 08:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.361626 -2.807141)', '2026-06-15 08:37:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361805 -2.807133)'), GeomFromEWKT('SRID=4674;POINT (-40.361626 -2.807141)'))) / (select extract(epoch from '2026-06-15 08:37:24'::timestamp) - extract(epoch from '2026-06-15 08:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361805 -2.807133)'), GeomFromEWKT('SRID=4674;POINT (-40.361626 -2.807141)'))) / (select extract(epoch from '2026-06-15 08:37:24'::timestamp) - extract(epoch from '2026-06-15 08:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.361474 -2.807178)', '2026-06-15 08:37:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361626 -2.807141)'), GeomFromEWKT('SRID=4674;POINT (-40.361474 -2.807178)'))) / (select extract(epoch from '2026-06-15 08:37:32'::timestamp) - extract(epoch from '2026-06-15 08:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361626 -2.807141)'), GeomFromEWKT('SRID=4674;POINT (-40.361474 -2.807178)'))) / (select extract(epoch from '2026-06-15 08:37:32'::timestamp) - extract(epoch from '2026-06-15 08:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.361301 -2.80723)', '2026-06-15 08:37:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361474 -2.807178)'), GeomFromEWKT('SRID=4674;POINT (-40.361301 -2.80723)'))) / (select extract(epoch from '2026-06-15 08:37:41'::timestamp) - extract(epoch from '2026-06-15 08:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361474 -2.807178)'), GeomFromEWKT('SRID=4674;POINT (-40.361301 -2.80723)'))) / (select extract(epoch from '2026-06-15 08:37:41'::timestamp) - extract(epoch from '2026-06-15 08:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.361147 -2.807252)', '2026-06-15 08:37:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361301 -2.80723)'), GeomFromEWKT('SRID=4674;POINT (-40.361147 -2.807252)'))) / (select extract(epoch from '2026-06-15 08:37:49'::timestamp) - extract(epoch from '2026-06-15 08:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361301 -2.80723)'), GeomFromEWKT('SRID=4674;POINT (-40.361147 -2.807252)'))) / (select extract(epoch from '2026-06-15 08:37:49'::timestamp) - extract(epoch from '2026-06-15 08:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.360973 -2.807258)', '2026-06-15 08:37:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361147 -2.807252)'), GeomFromEWKT('SRID=4674;POINT (-40.360973 -2.807258)'))) / (select extract(epoch from '2026-06-15 08:37:58'::timestamp) - extract(epoch from '2026-06-15 08:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361147 -2.807252)'), GeomFromEWKT('SRID=4674;POINT (-40.360973 -2.807258)'))) / (select extract(epoch from '2026-06-15 08:37:58'::timestamp) - extract(epoch from '2026-06-15 08:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.360816 -2.807285)', '2026-06-15 08:38:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360973 -2.807258)'), GeomFromEWKT('SRID=4674;POINT (-40.360816 -2.807285)'))) / (select extract(epoch from '2026-06-15 08:38:06'::timestamp) - extract(epoch from '2026-06-15 08:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360973 -2.807258)'), GeomFromEWKT('SRID=4674;POINT (-40.360816 -2.807285)'))) / (select extract(epoch from '2026-06-15 08:38:06'::timestamp) - extract(epoch from '2026-06-15 08:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.360647 -2.807317)', '2026-06-15 08:38:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360816 -2.807285)'), GeomFromEWKT('SRID=4674;POINT (-40.360647 -2.807317)'))) / (select extract(epoch from '2026-06-15 08:38:15'::timestamp) - extract(epoch from '2026-06-15 08:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360816 -2.807285)'), GeomFromEWKT('SRID=4674;POINT (-40.360647 -2.807317)'))) / (select extract(epoch from '2026-06-15 08:38:15'::timestamp) - extract(epoch from '2026-06-15 08:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.360483 -2.807277)', '2026-06-15 08:38:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360647 -2.807317)'), GeomFromEWKT('SRID=4674;POINT (-40.360483 -2.807277)'))) / (select extract(epoch from '2026-06-15 08:38:24'::timestamp) - extract(epoch from '2026-06-15 08:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360647 -2.807317)'), GeomFromEWKT('SRID=4674;POINT (-40.360483 -2.807277)'))) / (select extract(epoch from '2026-06-15 08:38:24'::timestamp) - extract(epoch from '2026-06-15 08:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.360317 -2.807243)', '2026-06-15 08:38:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360483 -2.807277)'), GeomFromEWKT('SRID=4674;POINT (-40.360317 -2.807243)'))) / (select extract(epoch from '2026-06-15 08:38:33'::timestamp) - extract(epoch from '2026-06-15 08:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360483 -2.807277)'), GeomFromEWKT('SRID=4674;POINT (-40.360317 -2.807243)'))) / (select extract(epoch from '2026-06-15 08:38:33'::timestamp) - extract(epoch from '2026-06-15 08:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.360124 -2.807202)', '2026-06-15 08:38:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360317 -2.807243)'), GeomFromEWKT('SRID=4674;POINT (-40.360124 -2.807202)'))) / (select extract(epoch from '2026-06-15 08:38:43'::timestamp) - extract(epoch from '2026-06-15 08:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360317 -2.807243)'), GeomFromEWKT('SRID=4674;POINT (-40.360124 -2.807202)'))) / (select extract(epoch from '2026-06-15 08:38:43'::timestamp) - extract(epoch from '2026-06-15 08:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.359912 -2.807168)', '2026-06-15 08:38:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360124 -2.807202)'), GeomFromEWKT('SRID=4674;POINT (-40.359912 -2.807168)'))) / (select extract(epoch from '2026-06-15 08:38:54'::timestamp) - extract(epoch from '2026-06-15 08:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360124 -2.807202)'), GeomFromEWKT('SRID=4674;POINT (-40.359912 -2.807168)'))) / (select extract(epoch from '2026-06-15 08:38:54'::timestamp) - extract(epoch from '2026-06-15 08:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.359754 -2.807104)', '2026-06-15 08:39:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359912 -2.807168)'), GeomFromEWKT('SRID=4674;POINT (-40.359754 -2.807104)'))) / (select extract(epoch from '2026-06-15 08:39:03'::timestamp) - extract(epoch from '2026-06-15 08:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359912 -2.807168)'), GeomFromEWKT('SRID=4674;POINT (-40.359754 -2.807104)'))) / (select extract(epoch from '2026-06-15 08:39:03'::timestamp) - extract(epoch from '2026-06-15 08:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.359615 -2.807068)', '2026-06-15 08:39:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359754 -2.807104)'), GeomFromEWKT('SRID=4674;POINT (-40.359615 -2.807068)'))) / (select extract(epoch from '2026-06-15 08:39:11'::timestamp) - extract(epoch from '2026-06-15 08:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359754 -2.807104)'), GeomFromEWKT('SRID=4674;POINT (-40.359615 -2.807068)'))) / (select extract(epoch from '2026-06-15 08:39:11'::timestamp) - extract(epoch from '2026-06-15 08:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.35944 -2.807035)', '2026-06-15 08:39:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359615 -2.807068)'), GeomFromEWKT('SRID=4674;POINT (-40.35944 -2.807035)'))) / (select extract(epoch from '2026-06-15 08:39:20'::timestamp) - extract(epoch from '2026-06-15 08:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359615 -2.807068)'), GeomFromEWKT('SRID=4674;POINT (-40.35944 -2.807035)'))) / (select extract(epoch from '2026-06-15 08:39:20'::timestamp) - extract(epoch from '2026-06-15 08:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.359228 -2.806983)', '2026-06-15 08:39:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35944 -2.807035)'), GeomFromEWKT('SRID=4674;POINT (-40.359228 -2.806983)'))) / (select extract(epoch from '2026-06-15 08:39:31'::timestamp) - extract(epoch from '2026-06-15 08:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35944 -2.807035)'), GeomFromEWKT('SRID=4674;POINT (-40.359228 -2.806983)'))) / (select extract(epoch from '2026-06-15 08:39:31'::timestamp) - extract(epoch from '2026-06-15 08:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.359051 -2.806953)', '2026-06-15 08:39:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359228 -2.806983)'), GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.806953)'))) / (select extract(epoch from '2026-06-15 08:39:40'::timestamp) - extract(epoch from '2026-06-15 08:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359228 -2.806983)'), GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.806953)'))) / (select extract(epoch from '2026-06-15 08:39:40'::timestamp) - extract(epoch from '2026-06-15 08:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.358838 -2.806918)', '2026-06-15 08:39:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.806953)'), GeomFromEWKT('SRID=4674;POINT (-40.358838 -2.806918)'))) / (select extract(epoch from '2026-06-15 08:39:51'::timestamp) - extract(epoch from '2026-06-15 08:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.806953)'), GeomFromEWKT('SRID=4674;POINT (-40.358838 -2.806918)'))) / (select extract(epoch from '2026-06-15 08:39:51'::timestamp) - extract(epoch from '2026-06-15 08:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.358648 -2.80688)', '2026-06-15 08:40:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358838 -2.806918)'), GeomFromEWKT('SRID=4674;POINT (-40.358648 -2.80688)'))) / (select extract(epoch from '2026-06-15 08:40:01'::timestamp) - extract(epoch from '2026-06-15 08:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358838 -2.806918)'), GeomFromEWKT('SRID=4674;POINT (-40.358648 -2.80688)'))) / (select extract(epoch from '2026-06-15 08:40:01'::timestamp) - extract(epoch from '2026-06-15 08:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.358451 -2.806853)', '2026-06-15 08:40:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358648 -2.80688)'), GeomFromEWKT('SRID=4674;POINT (-40.358451 -2.806853)'))) / (select extract(epoch from '2026-06-15 08:40:11'::timestamp) - extract(epoch from '2026-06-15 08:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358648 -2.80688)'), GeomFromEWKT('SRID=4674;POINT (-40.358451 -2.806853)'))) / (select extract(epoch from '2026-06-15 08:40:11'::timestamp) - extract(epoch from '2026-06-15 08:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.358231 -2.806825)', '2026-06-15 08:40:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358451 -2.806853)'), GeomFromEWKT('SRID=4674;POINT (-40.358231 -2.806825)'))) / (select extract(epoch from '2026-06-15 08:40:22'::timestamp) - extract(epoch from '2026-06-15 08:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358451 -2.806853)'), GeomFromEWKT('SRID=4674;POINT (-40.358231 -2.806825)'))) / (select extract(epoch from '2026-06-15 08:40:22'::timestamp) - extract(epoch from '2026-06-15 08:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.358054 -2.806799)', '2026-06-15 08:40:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358231 -2.806825)'), GeomFromEWKT('SRID=4674;POINT (-40.358054 -2.806799)'))) / (select extract(epoch from '2026-06-15 08:40:31'::timestamp) - extract(epoch from '2026-06-15 08:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358231 -2.806825)'), GeomFromEWKT('SRID=4674;POINT (-40.358054 -2.806799)'))) / (select extract(epoch from '2026-06-15 08:40:31'::timestamp) - extract(epoch from '2026-06-15 08:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.35787 -2.806754)', '2026-06-15 08:40:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358054 -2.806799)'), GeomFromEWKT('SRID=4674;POINT (-40.35787 -2.806754)'))) / (select extract(epoch from '2026-06-15 08:40:41'::timestamp) - extract(epoch from '2026-06-15 08:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358054 -2.806799)'), GeomFromEWKT('SRID=4674;POINT (-40.35787 -2.806754)'))) / (select extract(epoch from '2026-06-15 08:40:41'::timestamp) - extract(epoch from '2026-06-15 08:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.357704 -2.806713)', '2026-06-15 08:40:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35787 -2.806754)'), GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.806713)'))) / (select extract(epoch from '2026-06-15 08:40:50'::timestamp) - extract(epoch from '2026-06-15 08:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35787 -2.806754)'), GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.806713)'))) / (select extract(epoch from '2026-06-15 08:40:50'::timestamp) - extract(epoch from '2026-06-15 08:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.357515 -2.806665)', '2026-06-15 08:41:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.806713)'), GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.806665)'))) / (select extract(epoch from '2026-06-15 08:41:00'::timestamp) - extract(epoch from '2026-06-15 08:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.806713)'), GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.806665)'))) / (select extract(epoch from '2026-06-15 08:41:00'::timestamp) - extract(epoch from '2026-06-15 08:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.357362 -2.806661)', '2026-06-15 08:41:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.806665)'), GeomFromEWKT('SRID=4674;POINT (-40.357362 -2.806661)'))) / (select extract(epoch from '2026-06-15 08:41:08'::timestamp) - extract(epoch from '2026-06-15 08:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.806665)'), GeomFromEWKT('SRID=4674;POINT (-40.357362 -2.806661)'))) / (select extract(epoch from '2026-06-15 08:41:08'::timestamp) - extract(epoch from '2026-06-15 08:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.357192 -2.806682)', '2026-06-15 08:41:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357362 -2.806661)'), GeomFromEWKT('SRID=4674;POINT (-40.357192 -2.806682)'))) / (select extract(epoch from '2026-06-15 08:41:17'::timestamp) - extract(epoch from '2026-06-15 08:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357362 -2.806661)'), GeomFromEWKT('SRID=4674;POINT (-40.357192 -2.806682)'))) / (select extract(epoch from '2026-06-15 08:41:17'::timestamp) - extract(epoch from '2026-06-15 08:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.357016 -2.806698)', '2026-06-15 08:41:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357192 -2.806682)'), GeomFromEWKT('SRID=4674;POINT (-40.357016 -2.806698)'))) / (select extract(epoch from '2026-06-15 08:41:26'::timestamp) - extract(epoch from '2026-06-15 08:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357192 -2.806682)'), GeomFromEWKT('SRID=4674;POINT (-40.357016 -2.806698)'))) / (select extract(epoch from '2026-06-15 08:41:26'::timestamp) - extract(epoch from '2026-06-15 08:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.356805 -2.806723)', '2026-06-15 08:41:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357016 -2.806698)'), GeomFromEWKT('SRID=4674;POINT (-40.356805 -2.806723)'))) / (select extract(epoch from '2026-06-15 08:41:37'::timestamp) - extract(epoch from '2026-06-15 08:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357016 -2.806698)'), GeomFromEWKT('SRID=4674;POINT (-40.356805 -2.806723)'))) / (select extract(epoch from '2026-06-15 08:41:37'::timestamp) - extract(epoch from '2026-06-15 08:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.35665 -2.80672)', '2026-06-15 08:41:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356805 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.80672)'))) / (select extract(epoch from '2026-06-15 08:41:45'::timestamp) - extract(epoch from '2026-06-15 08:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356805 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.80672)'))) / (select extract(epoch from '2026-06-15 08:41:45'::timestamp) - extract(epoch from '2026-06-15 08:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.356464 -2.806723)', '2026-06-15 08:41:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.80672)'), GeomFromEWKT('SRID=4674;POINT (-40.356464 -2.806723)'))) / (select extract(epoch from '2026-06-15 08:41:55'::timestamp) - extract(epoch from '2026-06-15 08:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.80672)'), GeomFromEWKT('SRID=4674;POINT (-40.356464 -2.806723)'))) / (select extract(epoch from '2026-06-15 08:41:55'::timestamp) - extract(epoch from '2026-06-15 08:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.35629 -2.806728)', '2026-06-15 08:42:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356464 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.35629 -2.806728)'))) / (select extract(epoch from '2026-06-15 08:42:04'::timestamp) - extract(epoch from '2026-06-15 08:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356464 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.35629 -2.806728)'))) / (select extract(epoch from '2026-06-15 08:42:04'::timestamp) - extract(epoch from '2026-06-15 08:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.356121 -2.806733)', '2026-06-15 08:42:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35629 -2.806728)'), GeomFromEWKT('SRID=4674;POINT (-40.356121 -2.806733)'))) / (select extract(epoch from '2026-06-15 08:42:13'::timestamp) - extract(epoch from '2026-06-15 08:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35629 -2.806728)'), GeomFromEWKT('SRID=4674;POINT (-40.356121 -2.806733)'))) / (select extract(epoch from '2026-06-15 08:42:13'::timestamp) - extract(epoch from '2026-06-15 08:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.35593 -2.806745)', '2026-06-15 08:42:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356121 -2.806733)'), GeomFromEWKT('SRID=4674;POINT (-40.35593 -2.806745)'))) / (select extract(epoch from '2026-06-15 08:42:23'::timestamp) - extract(epoch from '2026-06-15 08:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356121 -2.806733)'), GeomFromEWKT('SRID=4674;POINT (-40.35593 -2.806745)'))) / (select extract(epoch from '2026-06-15 08:42:23'::timestamp) - extract(epoch from '2026-06-15 08:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.355751 -2.806776)', '2026-06-15 08:42:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35593 -2.806745)'), GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.806776)'))) / (select extract(epoch from '2026-06-15 08:42:32'::timestamp) - extract(epoch from '2026-06-15 08:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35593 -2.806745)'), GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.806776)'))) / (select extract(epoch from '2026-06-15 08:42:32'::timestamp) - extract(epoch from '2026-06-15 08:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46717, 'SRID=4674;POINT (-40.35558 -2.806807)', '2026-06-15 08:42:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.806776)'), GeomFromEWKT('SRID=4674;POINT (-40.35558 -2.806807)'))) / (select extract(epoch from '2026-06-15 08:42:41'::timestamp) - extract(epoch from '2026-06-15 08:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355751 -2.806776)'), GeomFromEWKT('SRID=4674;POINT (-40.35558 -2.806807)'))) / (select extract(epoch from '2026-06-15 08:42:41'::timestamp) - extract(epoch from '2026-06-15 08:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
