BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695256 -2.998118)', '2026-06-10 13:09:41', -10.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695255 -2.998043)', '2026-06-10 13:09:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695256 -2.998118)'), GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.998043)'))) / (select extract(epoch from '2026-06-10 13:09:48'::timestamp) - extract(epoch from '2026-06-10 13:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695256 -2.998118)'), GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.998043)'))) / (select extract(epoch from '2026-06-10 13:09:48'::timestamp) - extract(epoch from '2026-06-10 13:09:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695298 -2.997961)', '2026-06-10 13:09:51', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.998043)'), GeomFromEWKT('SRID=4674;POINT (-39.695298 -2.997961)'))) / (select extract(epoch from '2026-06-10 13:09:51'::timestamp) - extract(epoch from '2026-06-10 13:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.998043)'), GeomFromEWKT('SRID=4674;POINT (-39.695298 -2.997961)'))) / (select extract(epoch from '2026-06-10 13:09:51'::timestamp) - extract(epoch from '2026-06-10 13:09: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'), 46740, 'SRID=4674;POINT (-39.695291 -2.997942)', '2026-06-10 13:09:53', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695298 -2.997961)'), GeomFromEWKT('SRID=4674;POINT (-39.695291 -2.997942)'))) / (select extract(epoch from '2026-06-10 13:09:53'::timestamp) - extract(epoch from '2026-06-10 13:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695298 -2.997961)'), GeomFromEWKT('SRID=4674;POINT (-39.695291 -2.997942)'))) / (select extract(epoch from '2026-06-10 13:09:53'::timestamp) - extract(epoch from '2026-06-10 13:09: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'), 46740, 'SRID=4674;POINT (-39.695293 -2.997875)', '2026-06-10 13:10:00', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695291 -2.997942)'), GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.997875)'))) / (select extract(epoch from '2026-06-10 13:10:00'::timestamp) - extract(epoch from '2026-06-10 13:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695291 -2.997942)'), GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.997875)'))) / (select extract(epoch from '2026-06-10 13:10:00'::timestamp) - extract(epoch from '2026-06-10 13:09: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'), 46740, 'SRID=4674;POINT (-39.695283 -2.997808)', '2026-06-10 13:10:06', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.997875)'), GeomFromEWKT('SRID=4674;POINT (-39.695283 -2.997808)'))) / (select extract(epoch from '2026-06-10 13:10:06'::timestamp) - extract(epoch from '2026-06-10 13:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695293 -2.997875)'), GeomFromEWKT('SRID=4674;POINT (-39.695283 -2.997808)'))) / (select extract(epoch from '2026-06-10 13:10:06'::timestamp) - extract(epoch from '2026-06-10 13:10: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'), 46740, 'SRID=4674;POINT (-39.695269 -2.997728)', '2026-06-10 13:10:13', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695283 -2.997808)'), GeomFromEWKT('SRID=4674;POINT (-39.695269 -2.997728)'))) / (select extract(epoch from '2026-06-10 13:10:13'::timestamp) - extract(epoch from '2026-06-10 13:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695283 -2.997808)'), GeomFromEWKT('SRID=4674;POINT (-39.695269 -2.997728)'))) / (select extract(epoch from '2026-06-10 13:10:13'::timestamp) - extract(epoch from '2026-06-10 13:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695255 -2.997652)', '2026-06-10 13:10:20', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695269 -2.997728)'), GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.997652)'))) / (select extract(epoch from '2026-06-10 13:10:20'::timestamp) - extract(epoch from '2026-06-10 13:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695269 -2.997728)'), GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.997652)'))) / (select extract(epoch from '2026-06-10 13:10:20'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.695243 -2.997587)', '2026-06-10 13:10:28', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.997652)'), GeomFromEWKT('SRID=4674;POINT (-39.695243 -2.997587)'))) / (select extract(epoch from '2026-06-10 13:10:28'::timestamp) - extract(epoch from '2026-06-10 13:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695255 -2.997652)'), GeomFromEWKT('SRID=4674;POINT (-39.695243 -2.997587)'))) / (select extract(epoch from '2026-06-10 13:10:28'::timestamp) - extract(epoch from '2026-06-10 13:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695223 -2.997531)', '2026-06-10 13:10:34', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695243 -2.997587)'), GeomFromEWKT('SRID=4674;POINT (-39.695223 -2.997531)'))) / (select extract(epoch from '2026-06-10 13:10:34'::timestamp) - extract(epoch from '2026-06-10 13:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695243 -2.997587)'), GeomFromEWKT('SRID=4674;POINT (-39.695223 -2.997531)'))) / (select extract(epoch from '2026-06-10 13:10:34'::timestamp) - extract(epoch from '2026-06-10 13:10: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'), 46740, 'SRID=4674;POINT (-39.695209 -2.99747)', '2026-06-10 13:10:40', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695223 -2.997531)'), GeomFromEWKT('SRID=4674;POINT (-39.695209 -2.99747)'))) / (select extract(epoch from '2026-06-10 13:10:40'::timestamp) - extract(epoch from '2026-06-10 13:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695223 -2.997531)'), GeomFromEWKT('SRID=4674;POINT (-39.695209 -2.99747)'))) / (select extract(epoch from '2026-06-10 13:10:40'::timestamp) - extract(epoch from '2026-06-10 13:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695198 -2.997395)', '2026-06-10 13:10:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695209 -2.99747)'), GeomFromEWKT('SRID=4674;POINT (-39.695198 -2.997395)'))) / (select extract(epoch from '2026-06-10 13:10:48'::timestamp) - extract(epoch from '2026-06-10 13:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695209 -2.99747)'), GeomFromEWKT('SRID=4674;POINT (-39.695198 -2.997395)'))) / (select extract(epoch from '2026-06-10 13:10:48'::timestamp) - extract(epoch from '2026-06-10 13:10: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'), 46740, 'SRID=4674;POINT (-39.695179 -2.997315)', '2026-06-10 13:10:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695198 -2.997395)'), GeomFromEWKT('SRID=4674;POINT (-39.695179 -2.997315)'))) / (select extract(epoch from '2026-06-10 13:10:55'::timestamp) - extract(epoch from '2026-06-10 13:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695198 -2.997395)'), GeomFromEWKT('SRID=4674;POINT (-39.695179 -2.997315)'))) / (select extract(epoch from '2026-06-10 13:10:55'::timestamp) - extract(epoch from '2026-06-10 13:10: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'), 46740, 'SRID=4674;POINT (-39.695163 -2.997238)', '2026-06-10 13:11:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695179 -2.997315)'), GeomFromEWKT('SRID=4674;POINT (-39.695163 -2.997238)'))) / (select extract(epoch from '2026-06-10 13:11:02'::timestamp) - extract(epoch from '2026-06-10 13:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695179 -2.997315)'), GeomFromEWKT('SRID=4674;POINT (-39.695163 -2.997238)'))) / (select extract(epoch from '2026-06-10 13:11:02'::timestamp) - extract(epoch from '2026-06-10 13:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695148 -2.997182)', '2026-06-10 13:11:08', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695163 -2.997238)'), GeomFromEWKT('SRID=4674;POINT (-39.695148 -2.997182)'))) / (select extract(epoch from '2026-06-10 13:11:08'::timestamp) - extract(epoch from '2026-06-10 13:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695163 -2.997238)'), GeomFromEWKT('SRID=4674;POINT (-39.695148 -2.997182)'))) / (select extract(epoch from '2026-06-10 13:11:08'::timestamp) - extract(epoch from '2026-06-10 13:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695133 -2.9971)', '2026-06-10 13:11:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695148 -2.997182)'), GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.9971)'))) / (select extract(epoch from '2026-06-10 13:11:16'::timestamp) - extract(epoch from '2026-06-10 13:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695148 -2.997182)'), GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.9971)'))) / (select extract(epoch from '2026-06-10 13:11:16'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.695127 -2.997026)', '2026-06-10 13:11:23', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.9971)'), GeomFromEWKT('SRID=4674;POINT (-39.695127 -2.997026)'))) / (select extract(epoch from '2026-06-10 13:11:23'::timestamp) - extract(epoch from '2026-06-10 13:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.9971)'), GeomFromEWKT('SRID=4674;POINT (-39.695127 -2.997026)'))) / (select extract(epoch from '2026-06-10 13:11:23'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.695126 -2.997016)', '2026-06-10 13:11:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695127 -2.997026)'), GeomFromEWKT('SRID=4674;POINT (-39.695126 -2.997016)'))) / (select extract(epoch from '2026-06-10 13:11:24'::timestamp) - extract(epoch from '2026-06-10 13:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695127 -2.997026)'), GeomFromEWKT('SRID=4674;POINT (-39.695126 -2.997016)'))) / (select extract(epoch from '2026-06-10 13:11:24'::timestamp) - extract(epoch from '2026-06-10 13:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695119 -2.996972)', '2026-06-10 13:11:28', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695126 -2.997016)'), GeomFromEWKT('SRID=4674;POINT (-39.695119 -2.996972)'))) / (select extract(epoch from '2026-06-10 13:11:28'::timestamp) - extract(epoch from '2026-06-10 13:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695126 -2.997016)'), GeomFromEWKT('SRID=4674;POINT (-39.695119 -2.996972)'))) / (select extract(epoch from '2026-06-10 13:11:28'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.695108 -2.996893)', '2026-06-10 13:11:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695119 -2.996972)'), GeomFromEWKT('SRID=4674;POINT (-39.695108 -2.996893)'))) / (select extract(epoch from '2026-06-10 13:11:36'::timestamp) - extract(epoch from '2026-06-10 13:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695119 -2.996972)'), GeomFromEWKT('SRID=4674;POINT (-39.695108 -2.996893)'))) / (select extract(epoch from '2026-06-10 13:11:36'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.695095 -2.996849)', '2026-06-10 13:11:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695108 -2.996893)'), GeomFromEWKT('SRID=4674;POINT (-39.695095 -2.996849)'))) / (select extract(epoch from '2026-06-10 13:11:41'::timestamp) - extract(epoch from '2026-06-10 13:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695108 -2.996893)'), GeomFromEWKT('SRID=4674;POINT (-39.695095 -2.996849)'))) / (select extract(epoch from '2026-06-10 13:11:41'::timestamp) - extract(epoch from '2026-06-10 13:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695091 -2.996829)', '2026-06-10 13:11:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695095 -2.996849)'), GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.996829)'))) / (select extract(epoch from '2026-06-10 13:11:43'::timestamp) - extract(epoch from '2026-06-10 13:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695095 -2.996849)'), GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.996829)'))) / (select extract(epoch from '2026-06-10 13:11:43'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.695073 -2.996739)', '2026-06-10 13:11:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.996829)'), GeomFromEWKT('SRID=4674;POINT (-39.695073 -2.996739)'))) / (select extract(epoch from '2026-06-10 13:11:51'::timestamp) - extract(epoch from '2026-06-10 13:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.996829)'), GeomFromEWKT('SRID=4674;POINT (-39.695073 -2.996739)'))) / (select extract(epoch from '2026-06-10 13:11:51'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.695064 -2.996707)', '2026-06-10 13:11:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695073 -2.996739)'), GeomFromEWKT('SRID=4674;POINT (-39.695064 -2.996707)'))) / (select extract(epoch from '2026-06-10 13:11:54'::timestamp) - extract(epoch from '2026-06-10 13:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695073 -2.996739)'), GeomFromEWKT('SRID=4674;POINT (-39.695064 -2.996707)'))) / (select extract(epoch from '2026-06-10 13:11:54'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.69506 -2.99669)', '2026-06-10 13:11:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695064 -2.996707)'), GeomFromEWKT('SRID=4674;POINT (-39.69506 -2.99669)'))) / (select extract(epoch from '2026-06-10 13:11:56'::timestamp) - extract(epoch from '2026-06-10 13:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695064 -2.996707)'), GeomFromEWKT('SRID=4674;POINT (-39.69506 -2.99669)'))) / (select extract(epoch from '2026-06-10 13:11:56'::timestamp) - extract(epoch from '2026-06-10 13:11: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'), 46740, 'SRID=4674;POINT (-39.695056 -2.996645)', '2026-06-10 13:12:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69506 -2.99669)'), GeomFromEWKT('SRID=4674;POINT (-39.695056 -2.996645)'))) / (select extract(epoch from '2026-06-10 13:12:02'::timestamp) - extract(epoch from '2026-06-10 13:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69506 -2.99669)'), GeomFromEWKT('SRID=4674;POINT (-39.695056 -2.996645)'))) / (select extract(epoch from '2026-06-10 13:12:02'::timestamp) - extract(epoch from '2026-06-10 13:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695054 -2.996566)', '2026-06-10 13:12:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695056 -2.996645)'), GeomFromEWKT('SRID=4674;POINT (-39.695054 -2.996566)'))) / (select extract(epoch from '2026-06-10 13:12:11'::timestamp) - extract(epoch from '2026-06-10 13:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695056 -2.996645)'), GeomFromEWKT('SRID=4674;POINT (-39.695054 -2.996566)'))) / (select extract(epoch from '2026-06-10 13:12:11'::timestamp) - extract(epoch from '2026-06-10 13:12: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'), 46740, 'SRID=4674;POINT (-39.695038 -2.996489)', '2026-06-10 13:12:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695054 -2.996566)'), GeomFromEWKT('SRID=4674;POINT (-39.695038 -2.996489)'))) / (select extract(epoch from '2026-06-10 13:12:18'::timestamp) - extract(epoch from '2026-06-10 13:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695054 -2.996566)'), GeomFromEWKT('SRID=4674;POINT (-39.695038 -2.996489)'))) / (select extract(epoch from '2026-06-10 13:12:18'::timestamp) - extract(epoch from '2026-06-10 13:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695032 -2.996442)', '2026-06-10 13:12:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695038 -2.996489)'), GeomFromEWKT('SRID=4674;POINT (-39.695032 -2.996442)'))) / (select extract(epoch from '2026-06-10 13:12:23'::timestamp) - extract(epoch from '2026-06-10 13:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695038 -2.996489)'), GeomFromEWKT('SRID=4674;POINT (-39.695032 -2.996442)'))) / (select extract(epoch from '2026-06-10 13:12:23'::timestamp) - extract(epoch from '2026-06-10 13:12: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'), 46740, 'SRID=4674;POINT (-39.69503 -2.996424)', '2026-06-10 13:12:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695032 -2.996442)'), GeomFromEWKT('SRID=4674;POINT (-39.69503 -2.996424)'))) / (select extract(epoch from '2026-06-10 13:12:25'::timestamp) - extract(epoch from '2026-06-10 13:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695032 -2.996442)'), GeomFromEWKT('SRID=4674;POINT (-39.69503 -2.996424)'))) / (select extract(epoch from '2026-06-10 13:12:25'::timestamp) - extract(epoch from '2026-06-10 13:12: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'), 46740, 'SRID=4674;POINT (-39.695025 -2.99637)', '2026-06-10 13:12:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69503 -2.996424)'), GeomFromEWKT('SRID=4674;POINT (-39.695025 -2.99637)'))) / (select extract(epoch from '2026-06-10 13:12:31'::timestamp) - extract(epoch from '2026-06-10 13:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69503 -2.996424)'), GeomFromEWKT('SRID=4674;POINT (-39.695025 -2.99637)'))) / (select extract(epoch from '2026-06-10 13:12:31'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.695015 -2.996289)', '2026-06-10 13:12:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695025 -2.99637)'), GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996289)'))) / (select extract(epoch from '2026-06-10 13:12:39'::timestamp) - extract(epoch from '2026-06-10 13:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695025 -2.99637)'), GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996289)'))) / (select extract(epoch from '2026-06-10 13:12:39'::timestamp) - extract(epoch from '2026-06-10 13:12: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'), 46740, 'SRID=4674;POINT (-39.695015 -2.996279)', '2026-06-10 13:12:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996289)'), GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996279)'))) / (select extract(epoch from '2026-06-10 13:12:40'::timestamp) - extract(epoch from '2026-06-10 13:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996289)'), GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996279)'))) / (select extract(epoch from '2026-06-10 13:12:40'::timestamp) - extract(epoch from '2026-06-10 13:12: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'), 46740, 'SRID=4674;POINT (-39.695017 -2.996238)', '2026-06-10 13:12:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996279)'), GeomFromEWKT('SRID=4674;POINT (-39.695017 -2.996238)'))) / (select extract(epoch from '2026-06-10 13:12:45'::timestamp) - extract(epoch from '2026-06-10 13:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695015 -2.996279)'), GeomFromEWKT('SRID=4674;POINT (-39.695017 -2.996238)'))) / (select extract(epoch from '2026-06-10 13:12:45'::timestamp) - extract(epoch from '2026-06-10 13:12: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'), 46740, 'SRID=4674;POINT (-39.695013 -2.996169)', '2026-06-10 13:12:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695017 -2.996238)'), GeomFromEWKT('SRID=4674;POINT (-39.695013 -2.996169)'))) / (select extract(epoch from '2026-06-10 13:12:53'::timestamp) - extract(epoch from '2026-06-10 13:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695017 -2.996238)'), GeomFromEWKT('SRID=4674;POINT (-39.695013 -2.996169)'))) / (select extract(epoch from '2026-06-10 13:12:53'::timestamp) - extract(epoch from '2026-06-10 13:12: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'), 46740, 'SRID=4674;POINT (-39.695005 -2.996111)', '2026-06-10 13:12:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695013 -2.996169)'), GeomFromEWKT('SRID=4674;POINT (-39.695005 -2.996111)'))) / (select extract(epoch from '2026-06-10 13:12:59'::timestamp) - extract(epoch from '2026-06-10 13:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695013 -2.996169)'), GeomFromEWKT('SRID=4674;POINT (-39.695005 -2.996111)'))) / (select extract(epoch from '2026-06-10 13:12:59'::timestamp) - extract(epoch from '2026-06-10 13:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695003 -2.996101)', '2026-06-10 13:13:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695005 -2.996111)'), GeomFromEWKT('SRID=4674;POINT (-39.695003 -2.996101)'))) / (select extract(epoch from '2026-06-10 13:13:00'::timestamp) - extract(epoch from '2026-06-10 13:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695005 -2.996111)'), GeomFromEWKT('SRID=4674;POINT (-39.695003 -2.996101)'))) / (select extract(epoch from '2026-06-10 13:13:00'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.694993 -2.996032)', '2026-06-10 13:13:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695003 -2.996101)'), GeomFromEWKT('SRID=4674;POINT (-39.694993 -2.996032)'))) / (select extract(epoch from '2026-06-10 13:13:07'::timestamp) - extract(epoch from '2026-06-10 13:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695003 -2.996101)'), GeomFromEWKT('SRID=4674;POINT (-39.694993 -2.996032)'))) / (select extract(epoch from '2026-06-10 13:13:07'::timestamp) - extract(epoch from '2026-06-10 13:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.694968 -2.995948)', '2026-06-10 13:13:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694993 -2.996032)'), GeomFromEWKT('SRID=4674;POINT (-39.694968 -2.995948)'))) / (select extract(epoch from '2026-06-10 13:13:15'::timestamp) - extract(epoch from '2026-06-10 13:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694993 -2.996032)'), GeomFromEWKT('SRID=4674;POINT (-39.694968 -2.995948)'))) / (select extract(epoch from '2026-06-10 13:13:15'::timestamp) - extract(epoch from '2026-06-10 13:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.694956 -2.995889)', '2026-06-10 13:13:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694968 -2.995948)'), GeomFromEWKT('SRID=4674;POINT (-39.694956 -2.995889)'))) / (select extract(epoch from '2026-06-10 13:13:22'::timestamp) - extract(epoch from '2026-06-10 13:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694968 -2.995948)'), GeomFromEWKT('SRID=4674;POINT (-39.694956 -2.995889)'))) / (select extract(epoch from '2026-06-10 13:13:22'::timestamp) - extract(epoch from '2026-06-10 13:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.694937 -2.995829)', '2026-06-10 13:13:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694956 -2.995889)'), GeomFromEWKT('SRID=4674;POINT (-39.694937 -2.995829)'))) / (select extract(epoch from '2026-06-10 13:13:29'::timestamp) - extract(epoch from '2026-06-10 13:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694956 -2.995889)'), GeomFromEWKT('SRID=4674;POINT (-39.694937 -2.995829)'))) / (select extract(epoch from '2026-06-10 13:13:29'::timestamp) - extract(epoch from '2026-06-10 13:13: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'), 46740, 'SRID=4674;POINT (-39.694935 -2.99582)', '2026-06-10 13:13:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694937 -2.995829)'), GeomFromEWKT('SRID=4674;POINT (-39.694935 -2.99582)'))) / (select extract(epoch from '2026-06-10 13:13:30'::timestamp) - extract(epoch from '2026-06-10 13:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694937 -2.995829)'), GeomFromEWKT('SRID=4674;POINT (-39.694935 -2.99582)'))) / (select extract(epoch from '2026-06-10 13:13:30'::timestamp) - extract(epoch from '2026-06-10 13:13: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'), 46740, 'SRID=4674;POINT (-39.694934 -2.995786)', '2026-06-10 13:13:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694935 -2.99582)'), GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995786)'))) / (select extract(epoch from '2026-06-10 13:13:34'::timestamp) - extract(epoch from '2026-06-10 13:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694935 -2.99582)'), GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995786)'))) / (select extract(epoch from '2026-06-10 13:13:34'::timestamp) - extract(epoch from '2026-06-10 13:13: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'), 46740, 'SRID=4674;POINT (-39.694934 -2.995779)', '2026-06-10 13:13:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995786)'), GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995779)'))) / (select extract(epoch from '2026-06-10 13:13:35'::timestamp) - extract(epoch from '2026-06-10 13:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995786)'), GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995779)'))) / (select extract(epoch from '2026-06-10 13:13:35'::timestamp) - extract(epoch from '2026-06-10 13:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.694926 -2.995752)', '2026-06-10 13:13:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995779)'), GeomFromEWKT('SRID=4674;POINT (-39.694926 -2.995752)'))) / (select extract(epoch from '2026-06-10 13:13:40'::timestamp) - extract(epoch from '2026-06-10 13:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694934 -2.995779)'), GeomFromEWKT('SRID=4674;POINT (-39.694926 -2.995752)'))) / (select extract(epoch from '2026-06-10 13:13:40'::timestamp) - extract(epoch from '2026-06-10 13:13: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'), 46740, 'SRID=4674;POINT (-39.694915 -2.995683)', '2026-06-10 13:13:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694926 -2.995752)'), GeomFromEWKT('SRID=4674;POINT (-39.694915 -2.995683)'))) / (select extract(epoch from '2026-06-10 13:13:50'::timestamp) - extract(epoch from '2026-06-10 13:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694926 -2.995752)'), GeomFromEWKT('SRID=4674;POINT (-39.694915 -2.995683)'))) / (select extract(epoch from '2026-06-10 13:13:50'::timestamp) - extract(epoch from '2026-06-10 13:13: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'), 46740, 'SRID=4674;POINT (-39.694936 -2.995633)', '2026-06-10 13:14:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694915 -2.995683)'), GeomFromEWKT('SRID=4674;POINT (-39.694936 -2.995633)'))) / (select extract(epoch from '2026-06-10 13:14:01'::timestamp) - extract(epoch from '2026-06-10 13:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694915 -2.995683)'), GeomFromEWKT('SRID=4674;POINT (-39.694936 -2.995633)'))) / (select extract(epoch from '2026-06-10 13:14:01'::timestamp) - extract(epoch from '2026-06-10 13:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.694944 -2.995571)', '2026-06-10 13:14:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694936 -2.995633)'), GeomFromEWKT('SRID=4674;POINT (-39.694944 -2.995571)'))) / (select extract(epoch from '2026-06-10 13:14:14'::timestamp) - extract(epoch from '2026-06-10 13:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694936 -2.995633)'), GeomFromEWKT('SRID=4674;POINT (-39.694944 -2.995571)'))) / (select extract(epoch from '2026-06-10 13:14:14'::timestamp) - extract(epoch from '2026-06-10 13:14: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'), 46740, 'SRID=4674;POINT (-39.694975 -2.995543)', '2026-06-10 13:14:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694944 -2.995571)'), GeomFromEWKT('SRID=4674;POINT (-39.694975 -2.995543)'))) / (select extract(epoch from '2026-06-10 13:14:24'::timestamp) - extract(epoch from '2026-06-10 13:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694944 -2.995571)'), GeomFromEWKT('SRID=4674;POINT (-39.694975 -2.995543)'))) / (select extract(epoch from '2026-06-10 13:14:24'::timestamp) - extract(epoch from '2026-06-10 13:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.694998 -2.995531)', '2026-06-10 13:14:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694975 -2.995543)'), GeomFromEWKT('SRID=4674;POINT (-39.694998 -2.995531)'))) / (select extract(epoch from '2026-06-10 13:14:33'::timestamp) - extract(epoch from '2026-06-10 13:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694975 -2.995543)'), GeomFromEWKT('SRID=4674;POINT (-39.694998 -2.995531)'))) / (select extract(epoch from '2026-06-10 13:14:33'::timestamp) - extract(epoch from '2026-06-10 13:14:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695028 -2.995508)', '2026-06-10 13:14:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694998 -2.995531)'), GeomFromEWKT('SRID=4674;POINT (-39.695028 -2.995508)'))) / (select extract(epoch from '2026-06-10 13:14:43'::timestamp) - extract(epoch from '2026-06-10 13:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694998 -2.995531)'), GeomFromEWKT('SRID=4674;POINT (-39.695028 -2.995508)'))) / (select extract(epoch from '2026-06-10 13:14:43'::timestamp) - extract(epoch from '2026-06-10 13:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695092 -2.995475)', '2026-06-10 13:15:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695028 -2.995508)'), GeomFromEWKT('SRID=4674;POINT (-39.695092 -2.995475)'))) / (select extract(epoch from '2026-06-10 13:15:02'::timestamp) - extract(epoch from '2026-06-10 13:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695028 -2.995508)'), GeomFromEWKT('SRID=4674;POINT (-39.695092 -2.995475)'))) / (select extract(epoch from '2026-06-10 13:15:02'::timestamp) - extract(epoch from '2026-06-10 13:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695161 -2.995452)', '2026-06-10 13:15:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695092 -2.995475)'), GeomFromEWKT('SRID=4674;POINT (-39.695161 -2.995452)'))) / (select extract(epoch from '2026-06-10 13:15:24'::timestamp) - extract(epoch from '2026-06-10 13:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695092 -2.995475)'), GeomFromEWKT('SRID=4674;POINT (-39.695161 -2.995452)'))) / (select extract(epoch from '2026-06-10 13:15:24'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.695229 -2.995446)', '2026-06-10 13:15:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695161 -2.995452)'), GeomFromEWKT('SRID=4674;POINT (-39.695229 -2.995446)'))) / (select extract(epoch from '2026-06-10 13:15:50'::timestamp) - extract(epoch from '2026-06-10 13:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695161 -2.995452)'), GeomFromEWKT('SRID=4674;POINT (-39.695229 -2.995446)'))) / (select extract(epoch from '2026-06-10 13:15:50'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.695314 -2.995414)', '2026-06-10 13:16:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695229 -2.995446)'), GeomFromEWKT('SRID=4674;POINT (-39.695314 -2.995414)'))) / (select extract(epoch from '2026-06-10 13:16:16'::timestamp) - extract(epoch from '2026-06-10 13:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695229 -2.995446)'), GeomFromEWKT('SRID=4674;POINT (-39.695314 -2.995414)'))) / (select extract(epoch from '2026-06-10 13:16:16'::timestamp) - extract(epoch from '2026-06-10 13:15: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'), 46740, 'SRID=4674;POINT (-39.695427 -2.995347)', '2026-06-10 13:16:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695314 -2.995414)'), GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.995347)'))) / (select extract(epoch from '2026-06-10 13:16:50'::timestamp) - extract(epoch from '2026-06-10 13:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695314 -2.995414)'), GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.995347)'))) / (select extract(epoch from '2026-06-10 13:16:50'::timestamp) - extract(epoch from '2026-06-10 13:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695542 -2.995298)', '2026-06-10 13:17:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.995347)'), GeomFromEWKT('SRID=4674;POINT (-39.695542 -2.995298)'))) / (select extract(epoch from '2026-06-10 13:17:27'::timestamp) - extract(epoch from '2026-06-10 13:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.995347)'), GeomFromEWKT('SRID=4674;POINT (-39.695542 -2.995298)'))) / (select extract(epoch from '2026-06-10 13:17:27'::timestamp) - extract(epoch from '2026-06-10 13:16: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'), 46740, 'SRID=4674;POINT (-39.695611 -2.995255)', '2026-06-10 13:17:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695542 -2.995298)'), GeomFromEWKT('SRID=4674;POINT (-39.695611 -2.995255)'))) / (select extract(epoch from '2026-06-10 13:17:48'::timestamp) - extract(epoch from '2026-06-10 13:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695542 -2.995298)'), GeomFromEWKT('SRID=4674;POINT (-39.695611 -2.995255)'))) / (select extract(epoch from '2026-06-10 13:17:48'::timestamp) - extract(epoch from '2026-06-10 13:17: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'), 46740, 'SRID=4674;POINT (-39.695614 -2.995254)', '2026-06-10 13:17:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695611 -2.995255)'), GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.995254)'))) / (select extract(epoch from '2026-06-10 13:17:49'::timestamp) - extract(epoch from '2026-06-10 13:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695611 -2.995255)'), GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.995254)'))) / (select extract(epoch from '2026-06-10 13:17:49'::timestamp) - extract(epoch from '2026-06-10 13:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695642 -2.995237)', '2026-06-10 13:17:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.995254)'), GeomFromEWKT('SRID=4674;POINT (-39.695642 -2.995237)'))) / (select extract(epoch from '2026-06-10 13:17:59'::timestamp) - extract(epoch from '2026-06-10 13:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.995254)'), GeomFromEWKT('SRID=4674;POINT (-39.695642 -2.995237)'))) / (select extract(epoch from '2026-06-10 13:17:59'::timestamp) - extract(epoch from '2026-06-10 13:17: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'), 46740, 'SRID=4674;POINT (-39.695671 -2.99522)', '2026-06-10 13:18:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695642 -2.995237)'), GeomFromEWKT('SRID=4674;POINT (-39.695671 -2.99522)'))) / (select extract(epoch from '2026-06-10 13:18:10'::timestamp) - extract(epoch from '2026-06-10 13:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695642 -2.995237)'), GeomFromEWKT('SRID=4674;POINT (-39.695671 -2.99522)'))) / (select extract(epoch from '2026-06-10 13:18:10'::timestamp) - extract(epoch from '2026-06-10 13:17: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'), 46740, 'SRID=4674;POINT (-39.695704 -2.995205)', '2026-06-10 13:18:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695671 -2.99522)'), GeomFromEWKT('SRID=4674;POINT (-39.695704 -2.995205)'))) / (select extract(epoch from '2026-06-10 13:18:21'::timestamp) - extract(epoch from '2026-06-10 13:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695671 -2.99522)'), GeomFromEWKT('SRID=4674;POINT (-39.695704 -2.995205)'))) / (select extract(epoch from '2026-06-10 13:18:21'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.695743 -2.995189)', '2026-06-10 13:18:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695704 -2.995205)'), GeomFromEWKT('SRID=4674;POINT (-39.695743 -2.995189)'))) / (select extract(epoch from '2026-06-10 13:18:32'::timestamp) - extract(epoch from '2026-06-10 13:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695704 -2.995205)'), GeomFromEWKT('SRID=4674;POINT (-39.695743 -2.995189)'))) / (select extract(epoch from '2026-06-10 13:18:32'::timestamp) - extract(epoch from '2026-06-10 13:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695795 -2.995165)', '2026-06-10 13:18:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695743 -2.995189)'), GeomFromEWKT('SRID=4674;POINT (-39.695795 -2.995165)'))) / (select extract(epoch from '2026-06-10 13:18:47'::timestamp) - extract(epoch from '2026-06-10 13:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695743 -2.995189)'), GeomFromEWKT('SRID=4674;POINT (-39.695795 -2.995165)'))) / (select extract(epoch from '2026-06-10 13:18:47'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.695848 -2.995144)', '2026-06-10 13:19:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695795 -2.995165)'), GeomFromEWKT('SRID=4674;POINT (-39.695848 -2.995144)'))) / (select extract(epoch from '2026-06-10 13:19:01'::timestamp) - extract(epoch from '2026-06-10 13:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695795 -2.995165)'), GeomFromEWKT('SRID=4674;POINT (-39.695848 -2.995144)'))) / (select extract(epoch from '2026-06-10 13:19:01'::timestamp) - extract(epoch from '2026-06-10 13:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695856 -2.995136)', '2026-06-10 13:19:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695848 -2.995144)'), GeomFromEWKT('SRID=4674;POINT (-39.695856 -2.995136)'))) / (select extract(epoch from '2026-06-10 13:19:04'::timestamp) - extract(epoch from '2026-06-10 13:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695848 -2.995144)'), GeomFromEWKT('SRID=4674;POINT (-39.695856 -2.995136)'))) / (select extract(epoch from '2026-06-10 13:19:04'::timestamp) - extract(epoch from '2026-06-10 13:19: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'), 46740, 'SRID=4674;POINT (-39.695885 -2.995117)', '2026-06-10 13:19:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695856 -2.995136)'), GeomFromEWKT('SRID=4674;POINT (-39.695885 -2.995117)'))) / (select extract(epoch from '2026-06-10 13:19:14'::timestamp) - extract(epoch from '2026-06-10 13:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695856 -2.995136)'), GeomFromEWKT('SRID=4674;POINT (-39.695885 -2.995117)'))) / (select extract(epoch from '2026-06-10 13:19:14'::timestamp) - extract(epoch from '2026-06-10 13:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.69592 -2.995102)', '2026-06-10 13:19:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695885 -2.995117)'), GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.995102)'))) / (select extract(epoch from '2026-06-10 13:19:26'::timestamp) - extract(epoch from '2026-06-10 13:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695885 -2.995117)'), GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.995102)'))) / (select extract(epoch from '2026-06-10 13:19:26'::timestamp) - extract(epoch from '2026-06-10 13:19: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'), 46740, 'SRID=4674;POINT (-39.695944 -2.995089)', '2026-06-10 13:19:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.995102)'), GeomFromEWKT('SRID=4674;POINT (-39.695944 -2.995089)'))) / (select extract(epoch from '2026-06-10 13:19:35'::timestamp) - extract(epoch from '2026-06-10 13:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.995102)'), GeomFromEWKT('SRID=4674;POINT (-39.695944 -2.995089)'))) / (select extract(epoch from '2026-06-10 13:19:35'::timestamp) - extract(epoch from '2026-06-10 13:19: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'), 46740, 'SRID=4674;POINT (-39.695972 -2.995074)', '2026-06-10 13:19:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695944 -2.995089)'), GeomFromEWKT('SRID=4674;POINT (-39.695972 -2.995074)'))) / (select extract(epoch from '2026-06-10 13:19:44'::timestamp) - extract(epoch from '2026-06-10 13:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695944 -2.995089)'), GeomFromEWKT('SRID=4674;POINT (-39.695972 -2.995074)'))) / (select extract(epoch from '2026-06-10 13:19:44'::timestamp) - extract(epoch from '2026-06-10 13:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.696046 -2.995057)', '2026-06-10 13:20:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695972 -2.995074)'), GeomFromEWKT('SRID=4674;POINT (-39.696046 -2.995057)'))) / (select extract(epoch from '2026-06-10 13:20:04'::timestamp) - extract(epoch from '2026-06-10 13:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695972 -2.995074)'), GeomFromEWKT('SRID=4674;POINT (-39.696046 -2.995057)'))) / (select extract(epoch from '2026-06-10 13:20:04'::timestamp) - extract(epoch from '2026-06-10 13:19: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'), 46740, 'SRID=4674;POINT (-39.696122 -2.995027)', '2026-06-10 13:20:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696046 -2.995057)'), GeomFromEWKT('SRID=4674;POINT (-39.696122 -2.995027)'))) / (select extract(epoch from '2026-06-10 13:20:31'::timestamp) - extract(epoch from '2026-06-10 13:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696046 -2.995057)'), GeomFromEWKT('SRID=4674;POINT (-39.696122 -2.995027)'))) / (select extract(epoch from '2026-06-10 13:20:31'::timestamp) - extract(epoch from '2026-06-10 13:20: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'), 46740, 'SRID=4674;POINT (-39.696208 -2.995004)', '2026-06-10 13:20:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696122 -2.995027)'), GeomFromEWKT('SRID=4674;POINT (-39.696208 -2.995004)'))) / (select extract(epoch from '2026-06-10 13:20:56'::timestamp) - extract(epoch from '2026-06-10 13:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696122 -2.995027)'), GeomFromEWKT('SRID=4674;POINT (-39.696208 -2.995004)'))) / (select extract(epoch from '2026-06-10 13:20:56'::timestamp) - extract(epoch from '2026-06-10 13:20: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'), 46740, 'SRID=4674;POINT (-39.696263 -2.995021)', '2026-06-10 13:21:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696208 -2.995004)'), GeomFromEWKT('SRID=4674;POINT (-39.696263 -2.995021)'))) / (select extract(epoch from '2026-06-10 13:21:26'::timestamp) - extract(epoch from '2026-06-10 13:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696208 -2.995004)'), GeomFromEWKT('SRID=4674;POINT (-39.696263 -2.995021)'))) / (select extract(epoch from '2026-06-10 13:21:26'::timestamp) - extract(epoch from '2026-06-10 13:20: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'), 46740, 'SRID=4674;POINT (-39.696311 -2.995004)', '2026-06-10 13:21:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696263 -2.995021)'), GeomFromEWKT('SRID=4674;POINT (-39.696311 -2.995004)'))) / (select extract(epoch from '2026-06-10 13:21:49'::timestamp) - extract(epoch from '2026-06-10 13:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696263 -2.995021)'), GeomFromEWKT('SRID=4674;POINT (-39.696311 -2.995004)'))) / (select extract(epoch from '2026-06-10 13:21:49'::timestamp) - extract(epoch from '2026-06-10 13:21: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'), 46740, 'SRID=4674;POINT (-39.696381 -2.994972)', '2026-06-10 13:22:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696311 -2.995004)'), GeomFromEWKT('SRID=4674;POINT (-39.696381 -2.994972)'))) / (select extract(epoch from '2026-06-10 13:22:06'::timestamp) - extract(epoch from '2026-06-10 13:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696311 -2.995004)'), GeomFromEWKT('SRID=4674;POINT (-39.696381 -2.994972)'))) / (select extract(epoch from '2026-06-10 13:22:06'::timestamp) - extract(epoch from '2026-06-10 13:21: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'), 46740, 'SRID=4674;POINT (-39.698862 -2.994142)', '2026-06-10 13:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696381 -2.994972)'), GeomFromEWKT('SRID=4674;POINT (-39.698862 -2.994142)'))) / (select extract(epoch from '2026-06-10 13:32:10'::timestamp) - extract(epoch from '2026-06-10 13:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696381 -2.994972)'), GeomFromEWKT('SRID=4674;POINT (-39.698862 -2.994142)'))) / (select extract(epoch from '2026-06-10 13:32:10'::timestamp) - extract(epoch from '2026-06-10 13:22: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'), 46740, 'SRID=4674;POINT (-39.69843 -2.988758)', '2026-06-10 13:42:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698862 -2.994142)'), GeomFromEWKT('SRID=4674;POINT (-39.69843 -2.988758)'))) / (select extract(epoch from '2026-06-10 13:42:17'::timestamp) - extract(epoch from '2026-06-10 13:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698862 -2.994142)'), GeomFromEWKT('SRID=4674;POINT (-39.69843 -2.988758)'))) / (select extract(epoch from '2026-06-10 13:42:17'::timestamp) - extract(epoch from '2026-06-10 13: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'), 46740, 'SRID=4674;POINT (-39.695427 -2.997443)', '2026-06-10 13:52:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69843 -2.988758)'), GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.997443)'))) / (select extract(epoch from '2026-06-10 13:52:20'::timestamp) - extract(epoch from '2026-06-10 13:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69843 -2.988758)'), GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.997443)'))) / (select extract(epoch from '2026-06-10 13:52:20'::timestamp) - extract(epoch from '2026-06-10 13:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46740, 'SRID=4674;POINT (-39.695835 -2.999051)', '2026-06-10 14:00:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.997443)'), GeomFromEWKT('SRID=4674;POINT (-39.695835 -2.999051)'))) / (select extract(epoch from '2026-06-10 14:00:07'::timestamp) - extract(epoch from '2026-06-10 13:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695427 -2.997443)'), GeomFromEWKT('SRID=4674;POINT (-39.695835 -2.999051)'))) / (select extract(epoch from '2026-06-10 14:00:07'::timestamp) - extract(epoch from '2026-06-10 13:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
