 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.313771 -2.794628)', '2026-07-22 07:29:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313695 -2.794638)'), GeomFromEWKT('SRID=4674;POINT (-40.313771 -2.794628)'))) / (select extract(epoch from '2026-07-22 07:29:03'::timestamp) - extract(epoch from '2026-07-22 07:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313695 -2.794638)'), GeomFromEWKT('SRID=4674;POINT (-40.313771 -2.794628)'))) / (select extract(epoch from '2026-07-22 07:29:03'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47639, 'SRID=4674;POINT (-40.313878 -2.79461)', '2026-07-22 07:29:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313771 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.313878 -2.79461)'))) / (select extract(epoch from '2026-07-22 07:29:22'::timestamp) - extract(epoch from '2026-07-22 07:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313771 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.313878 -2.79461)'))) / (select extract(epoch from '2026-07-22 07:29:22'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47639, 'SRID=4674;POINT (-40.313942 -2.794603)', '2026-07-22 07:29:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313878 -2.79461)'), GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.794603)'))) / (select extract(epoch from '2026-07-22 07:29:39'::timestamp) - extract(epoch from '2026-07-22 07:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313878 -2.79461)'), GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.794603)'))) / (select extract(epoch from '2026-07-22 07:29:39'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47639, 'SRID=4674;POINT (-40.31395 -2.794612)', '2026-07-22 07:29:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.794603)'), GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:29:51'::timestamp) - extract(epoch from '2026-07-22 07:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.794603)'), GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:29:51'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47639, 'SRID=4674;POINT (-40.313958 -2.794616)', '2026-07-22 07:29:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.794616)'))) / (select extract(epoch from '2026-07-22 07:29:58'::timestamp) - extract(epoch from '2026-07-22 07:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.794616)'))) / (select extract(epoch from '2026-07-22 07:29:58'::timestamp) - extract(epoch from '2026-07-22 07:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.314001 -2.794617)', '2026-07-22 07:30:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.794616)'), GeomFromEWKT('SRID=4674;POINT (-40.314001 -2.794617)'))) / (select extract(epoch from '2026-07-22 07:30:12'::timestamp) - extract(epoch from '2026-07-22 07:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.794616)'), GeomFromEWKT('SRID=4674;POINT (-40.314001 -2.794617)'))) / (select extract(epoch from '2026-07-22 07:30:12'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47639, 'SRID=4674;POINT (-40.31403 -2.794623)', '2026-07-22 07:30:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314001 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.31403 -2.794623)'))) / (select extract(epoch from '2026-07-22 07:30:27'::timestamp) - extract(epoch from '2026-07-22 07:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314001 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.31403 -2.794623)'))) / (select extract(epoch from '2026-07-22 07:30:27'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47639, 'SRID=4674;POINT (-40.314067 -2.794634)', '2026-07-22 07:30:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31403 -2.794623)'), GeomFromEWKT('SRID=4674;POINT (-40.314067 -2.794634)'))) / (select extract(epoch from '2026-07-22 07:30:42'::timestamp) - extract(epoch from '2026-07-22 07:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31403 -2.794623)'), GeomFromEWKT('SRID=4674;POINT (-40.314067 -2.794634)'))) / (select extract(epoch from '2026-07-22 07:30:42'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47639, 'SRID=4674;POINT (-40.314082 -2.794631)', '2026-07-22 07:30:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314067 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.314082 -2.794631)'))) / (select extract(epoch from '2026-07-22 07:30:51'::timestamp) - extract(epoch from '2026-07-22 07:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314067 -2.794634)'), GeomFromEWKT('SRID=4674;POINT (-40.314082 -2.794631)'))) / (select extract(epoch from '2026-07-22 07:30:51'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47639, 'SRID=4674;POINT (-40.314096 -2.794628)', '2026-07-22 07:31:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314082 -2.794631)'), GeomFromEWKT('SRID=4674;POINT (-40.314096 -2.794628)'))) / (select extract(epoch from '2026-07-22 07:31:07'::timestamp) - extract(epoch from '2026-07-22 07:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314082 -2.794631)'), GeomFromEWKT('SRID=4674;POINT (-40.314096 -2.794628)'))) / (select extract(epoch from '2026-07-22 07:31:07'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47639, 'SRID=4674;POINT (-40.314105 -2.794629)', '2026-07-22 07:31:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314096 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.314105 -2.794629)'))) / (select extract(epoch from '2026-07-22 07:31:18'::timestamp) - extract(epoch from '2026-07-22 07:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314096 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.314105 -2.794629)'))) / (select extract(epoch from '2026-07-22 07:31:18'::timestamp) - extract(epoch from '2026-07-22 07:31: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'), 47639, 'SRID=4674;POINT (-40.31412 -2.794633)', '2026-07-22 07:31:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314105 -2.794629)'), GeomFromEWKT('SRID=4674;POINT (-40.31412 -2.794633)'))) / (select extract(epoch from '2026-07-22 07:31:35'::timestamp) - extract(epoch from '2026-07-22 07:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314105 -2.794629)'), GeomFromEWKT('SRID=4674;POINT (-40.31412 -2.794633)'))) / (select extract(epoch from '2026-07-22 07:31:35'::timestamp) - extract(epoch from '2026-07-22 07:31: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'), 47639, 'SRID=4674;POINT (-40.31413 -2.794637)', '2026-07-22 07:31:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31412 -2.794633)'), GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.794637)'))) / (select extract(epoch from '2026-07-22 07:31:52'::timestamp) - extract(epoch from '2026-07-22 07:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31412 -2.794633)'), GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.794637)'))) / (select extract(epoch from '2026-07-22 07:31:52'::timestamp) - extract(epoch from '2026-07-22 07:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.314137 -2.794644)', '2026-07-22 07:32:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.794637)'), GeomFromEWKT('SRID=4674;POINT (-40.314137 -2.794644)'))) / (select extract(epoch from '2026-07-22 07:32:03'::timestamp) - extract(epoch from '2026-07-22 07:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31413 -2.794637)'), GeomFromEWKT('SRID=4674;POINT (-40.314137 -2.794644)'))) / (select extract(epoch from '2026-07-22 07:32:03'::timestamp) - extract(epoch from '2026-07-22 07:31: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'), 47639, 'SRID=4674;POINT (-40.314143 -2.79465)', '2026-07-22 07:32:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314137 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.79465)'))) / (select extract(epoch from '2026-07-22 07:32:14'::timestamp) - extract(epoch from '2026-07-22 07:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314137 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.79465)'))) / (select extract(epoch from '2026-07-22 07:32:14'::timestamp) - extract(epoch from '2026-07-22 07:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.31415 -2.794655)', '2026-07-22 07:32:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794655)'))) / (select extract(epoch from '2026-07-22 07:32:33'::timestamp) - extract(epoch from '2026-07-22 07:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794655)'))) / (select extract(epoch from '2026-07-22 07:32:33'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47639, 'SRID=4674;POINT (-40.314147 -2.794656)', '2026-07-22 07:32:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794656)'))) / (select extract(epoch from '2026-07-22 07:32:43'::timestamp) - extract(epoch from '2026-07-22 07:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794656)'))) / (select extract(epoch from '2026-07-22 07:32:43'::timestamp) - extract(epoch from '2026-07-22 07:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.314148 -2.794659)', '2026-07-22 07:32:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794659)'))) / (select extract(epoch from '2026-07-22 07:32:55'::timestamp) - extract(epoch from '2026-07-22 07:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794659)'))) / (select extract(epoch from '2026-07-22 07:32:55'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47639, 'SRID=4674;POINT (-40.31415 -2.794659)', '2026-07-22 07:33:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794659)'))) / (select extract(epoch from '2026-07-22 07:33:10'::timestamp) - extract(epoch from '2026-07-22 07:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794659)'))) / (select extract(epoch from '2026-07-22 07:33:10'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47639, 'SRID=4674;POINT (-40.314165 -2.794673)', '2026-07-22 07:33:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794673)'))) / (select extract(epoch from '2026-07-22 07:33:24'::timestamp) - extract(epoch from '2026-07-22 07:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31415 -2.794659)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794673)'))) / (select extract(epoch from '2026-07-22 07:33:24'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.314182 -2.794692)', '2026-07-22 07:33:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794692)'))) / (select extract(epoch from '2026-07-22 07:33:32'::timestamp) - extract(epoch from '2026-07-22 07:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794692)'))) / (select extract(epoch from '2026-07-22 07:33:32'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47639, 'SRID=4674;POINT (-40.314215 -2.794689)', '2026-07-22 07:33:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314215 -2.794689)'))) / (select extract(epoch from '2026-07-22 07:33:46'::timestamp) - extract(epoch from '2026-07-22 07:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314215 -2.794689)'))) / (select extract(epoch from '2026-07-22 07:33:46'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47639, 'SRID=4674;POINT (-40.314232 -2.794695)', '2026-07-22 07:33:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314215 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.314232 -2.794695)'))) / (select extract(epoch from '2026-07-22 07:33:56'::timestamp) - extract(epoch from '2026-07-22 07:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314215 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.314232 -2.794695)'))) / (select extract(epoch from '2026-07-22 07:33:56'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47639, 'SRID=4674;POINT (-40.31424 -2.794696)', '2026-07-22 07:34:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314232 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.794696)'))) / (select extract(epoch from '2026-07-22 07:34:09'::timestamp) - extract(epoch from '2026-07-22 07:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314232 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.794696)'))) / (select extract(epoch from '2026-07-22 07:34:09'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47639, 'SRID=4674;POINT (-40.314245 -2.794696)', '2026-07-22 07:34:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314245 -2.794696)'))) / (select extract(epoch from '2026-07-22 07:34:26'::timestamp) - extract(epoch from '2026-07-22 07:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314245 -2.794696)'))) / (select extract(epoch from '2026-07-22 07:34:26'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47639, 'SRID=4674;POINT (-40.314343 -2.794677)', '2026-07-22 07:34:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314245 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314343 -2.794677)'))) / (select extract(epoch from '2026-07-22 07:34:41'::timestamp) - extract(epoch from '2026-07-22 07:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314245 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314343 -2.794677)'))) / (select extract(epoch from '2026-07-22 07:34:41'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47639, 'SRID=4674;POINT (-40.314518 -2.794611)', '2026-07-22 07:34:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314343 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.314518 -2.794611)'))) / (select extract(epoch from '2026-07-22 07:34:55'::timestamp) - extract(epoch from '2026-07-22 07:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314343 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.314518 -2.794611)'))) / (select extract(epoch from '2026-07-22 07:34:55'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47639, 'SRID=4674;POINT (-40.314738 -2.794544)', '2026-07-22 07:35:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314518 -2.794611)'), GeomFromEWKT('SRID=4674;POINT (-40.314738 -2.794544)'))) / (select extract(epoch from '2026-07-22 07:35:18'::timestamp) - extract(epoch from '2026-07-22 07:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314518 -2.794611)'), GeomFromEWKT('SRID=4674;POINT (-40.314738 -2.794544)'))) / (select extract(epoch from '2026-07-22 07:35:18'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47639, 'SRID=4674;POINT (-40.314841 -2.794531)', '2026-07-22 07:35:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314738 -2.794544)'), GeomFromEWKT('SRID=4674;POINT (-40.314841 -2.794531)'))) / (select extract(epoch from '2026-07-22 07:35:41'::timestamp) - extract(epoch from '2026-07-22 07:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314738 -2.794544)'), GeomFromEWKT('SRID=4674;POINT (-40.314841 -2.794531)'))) / (select extract(epoch from '2026-07-22 07:35:41'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47639, 'SRID=4674;POINT (-40.31488 -2.794531)', '2026-07-22 07:35:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314841 -2.794531)'), GeomFromEWKT('SRID=4674;POINT (-40.31488 -2.794531)'))) / (select extract(epoch from '2026-07-22 07:35:55'::timestamp) - extract(epoch from '2026-07-22 07:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314841 -2.794531)'), GeomFromEWKT('SRID=4674;POINT (-40.31488 -2.794531)'))) / (select extract(epoch from '2026-07-22 07:35:55'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47639, 'SRID=4674;POINT (-40.314974 -2.794546)', '2026-07-22 07:36:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31488 -2.794531)'), GeomFromEWKT('SRID=4674;POINT (-40.314974 -2.794546)'))) / (select extract(epoch from '2026-07-22 07:36:13'::timestamp) - extract(epoch from '2026-07-22 07:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31488 -2.794531)'), GeomFromEWKT('SRID=4674;POINT (-40.314974 -2.794546)'))) / (select extract(epoch from '2026-07-22 07:36:13'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47639, 'SRID=4674;POINT (-40.31503 -2.794567)', '2026-07-22 07:36:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314974 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.31503 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:36:31'::timestamp) - extract(epoch from '2026-07-22 07:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314974 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.31503 -2.794567)'))) / (select extract(epoch from '2026-07-22 07:36:31'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47639, 'SRID=4674;POINT (-40.315076 -2.794581)', '2026-07-22 07:36:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31503 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.794581)'))) / (select extract(epoch from '2026-07-22 07:36:49'::timestamp) - extract(epoch from '2026-07-22 07:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31503 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.794581)'))) / (select extract(epoch from '2026-07-22 07:36:49'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47639, 'SRID=4674;POINT (-40.315109 -2.79459)', '2026-07-22 07:37:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.794581)'), GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.79459)'))) / (select extract(epoch from '2026-07-22 07:37:01'::timestamp) - extract(epoch from '2026-07-22 07:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315076 -2.794581)'), GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.79459)'))) / (select extract(epoch from '2026-07-22 07:37:01'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47639, 'SRID=4674;POINT (-40.315147 -2.794609)', '2026-07-22 07:37:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.79459)'), GeomFromEWKT('SRID=4674;POINT (-40.315147 -2.794609)'))) / (select extract(epoch from '2026-07-22 07:37:18'::timestamp) - extract(epoch from '2026-07-22 07:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.79459)'), GeomFromEWKT('SRID=4674;POINT (-40.315147 -2.794609)'))) / (select extract(epoch from '2026-07-22 07:37:18'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47639, 'SRID=4674;POINT (-40.315166 -2.794611)', '2026-07-22 07:37:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315147 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.315166 -2.794611)'))) / (select extract(epoch from '2026-07-22 07:37:31'::timestamp) - extract(epoch from '2026-07-22 07:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315147 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.315166 -2.794611)'))) / (select extract(epoch from '2026-07-22 07:37:31'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47639, 'SRID=4674;POINT (-40.315196 -2.794612)', '2026-07-22 07:37:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315166 -2.794611)'), GeomFromEWKT('SRID=4674;POINT (-40.315196 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:37:45'::timestamp) - extract(epoch from '2026-07-22 07:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315166 -2.794611)'), GeomFromEWKT('SRID=4674;POINT (-40.315196 -2.794612)'))) / (select extract(epoch from '2026-07-22 07:37:45'::timestamp) - extract(epoch from '2026-07-22 07:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.315204 -2.794599)', '2026-07-22 07:37:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315196 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.315204 -2.794599)'))) / (select extract(epoch from '2026-07-22 07:37:56'::timestamp) - extract(epoch from '2026-07-22 07:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315196 -2.794612)'), GeomFromEWKT('SRID=4674;POINT (-40.315204 -2.794599)'))) / (select extract(epoch from '2026-07-22 07:37:56'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47639, 'SRID=4674;POINT (-40.315217 -2.794483)', '2026-07-22 07:38:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315204 -2.794599)'), GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.794483)'))) / (select extract(epoch from '2026-07-22 07:38:06'::timestamp) - extract(epoch from '2026-07-22 07:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315204 -2.794599)'), GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.794483)'))) / (select extract(epoch from '2026-07-22 07:38:06'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47639, 'SRID=4674;POINT (-40.315305 -2.794389)', '2026-07-22 07:38:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.794483)'), GeomFromEWKT('SRID=4674;POINT (-40.315305 -2.794389)'))) / (select extract(epoch from '2026-07-22 07:38:12'::timestamp) - extract(epoch from '2026-07-22 07:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.794483)'), GeomFromEWKT('SRID=4674;POINT (-40.315305 -2.794389)'))) / (select extract(epoch from '2026-07-22 07:38:12'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.315434 -2.794301)', '2026-07-22 07:38:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315305 -2.794389)'), GeomFromEWKT('SRID=4674;POINT (-40.315434 -2.794301)'))) / (select extract(epoch from '2026-07-22 07:38:18'::timestamp) - extract(epoch from '2026-07-22 07:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315305 -2.794389)'), GeomFromEWKT('SRID=4674;POINT (-40.315434 -2.794301)'))) / (select extract(epoch from '2026-07-22 07:38:18'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47639, 'SRID=4674;POINT (-40.315619 -2.794137)', '2026-07-22 07:38:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315434 -2.794301)'), GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.794137)'))) / (select extract(epoch from '2026-07-22 07:38:28'::timestamp) - extract(epoch from '2026-07-22 07:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315434 -2.794301)'), GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.794137)'))) / (select extract(epoch from '2026-07-22 07:38:28'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47639, 'SRID=4674;POINT (-40.315788 -2.793998)', '2026-07-22 07:38:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.794137)'), GeomFromEWKT('SRID=4674;POINT (-40.315788 -2.793998)'))) / (select extract(epoch from '2026-07-22 07:38:37'::timestamp) - extract(epoch from '2026-07-22 07:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.794137)'), GeomFromEWKT('SRID=4674;POINT (-40.315788 -2.793998)'))) / (select extract(epoch from '2026-07-22 07:38:37'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47639, 'SRID=4674;POINT (-40.315915 -2.793885)', '2026-07-22 07:38:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315788 -2.793998)'), GeomFromEWKT('SRID=4674;POINT (-40.315915 -2.793885)'))) / (select extract(epoch from '2026-07-22 07:38:44'::timestamp) - extract(epoch from '2026-07-22 07:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315788 -2.793998)'), GeomFromEWKT('SRID=4674;POINT (-40.315915 -2.793885)'))) / (select extract(epoch from '2026-07-22 07:38:44'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47639, 'SRID=4674;POINT (-40.316098 -2.793738)', '2026-07-22 07:38:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315915 -2.793885)'), GeomFromEWKT('SRID=4674;POINT (-40.316098 -2.793738)'))) / (select extract(epoch from '2026-07-22 07:38:54'::timestamp) - extract(epoch from '2026-07-22 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315915 -2.793885)'), GeomFromEWKT('SRID=4674;POINT (-40.316098 -2.793738)'))) / (select extract(epoch from '2026-07-22 07:38:54'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47639, 'SRID=4674;POINT (-40.31622 -2.793644)', '2026-07-22 07:39:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316098 -2.793738)'), GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.793644)'))) / (select extract(epoch from '2026-07-22 07:39:01'::timestamp) - extract(epoch from '2026-07-22 07:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316098 -2.793738)'), GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.793644)'))) / (select extract(epoch from '2026-07-22 07:39:01'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.316344 -2.793531)', '2026-07-22 07:39:09', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.793644)'), GeomFromEWKT('SRID=4674;POINT (-40.316344 -2.793531)'))) / (select extract(epoch from '2026-07-22 07:39:09'::timestamp) - extract(epoch from '2026-07-22 07:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.793644)'), GeomFromEWKT('SRID=4674;POINT (-40.316344 -2.793531)'))) / (select extract(epoch from '2026-07-22 07:39:09'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47639, 'SRID=4674;POINT (-40.316458 -2.793426)', '2026-07-22 07:39:16', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316344 -2.793531)'), GeomFromEWKT('SRID=4674;POINT (-40.316458 -2.793426)'))) / (select extract(epoch from '2026-07-22 07:39:16'::timestamp) - extract(epoch from '2026-07-22 07:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316344 -2.793531)'), GeomFromEWKT('SRID=4674;POINT (-40.316458 -2.793426)'))) / (select extract(epoch from '2026-07-22 07:39:16'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47639, 'SRID=4674;POINT (-40.316635 -2.793304)', '2026-07-22 07:39:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316458 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.316635 -2.793304)'))) / (select extract(epoch from '2026-07-22 07:39:25'::timestamp) - extract(epoch from '2026-07-22 07:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316458 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.316635 -2.793304)'))) / (select extract(epoch from '2026-07-22 07:39:25'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47639, 'SRID=4674;POINT (-40.316764 -2.793216)', '2026-07-22 07:39:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316635 -2.793304)'), GeomFromEWKT('SRID=4674;POINT (-40.316764 -2.793216)'))) / (select extract(epoch from '2026-07-22 07:39:32'::timestamp) - extract(epoch from '2026-07-22 07:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316635 -2.793304)'), GeomFromEWKT('SRID=4674;POINT (-40.316764 -2.793216)'))) / (select extract(epoch from '2026-07-22 07:39:32'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47639, 'SRID=4674;POINT (-40.316892 -2.793168)', '2026-07-22 07:39:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316764 -2.793216)'), GeomFromEWKT('SRID=4674;POINT (-40.316892 -2.793168)'))) / (select extract(epoch from '2026-07-22 07:39:38'::timestamp) - extract(epoch from '2026-07-22 07:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316764 -2.793216)'), GeomFromEWKT('SRID=4674;POINT (-40.316892 -2.793168)'))) / (select extract(epoch from '2026-07-22 07:39:38'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47639, 'SRID=4674;POINT (-40.317043 -2.793119)', '2026-07-22 07:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316892 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.317043 -2.793119)'))) / (select extract(epoch from '2026-07-22 07:39:45'::timestamp) - extract(epoch from '2026-07-22 07:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316892 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.317043 -2.793119)'))) / (select extract(epoch from '2026-07-22 07:39:45'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47639, 'SRID=4674;POINT (-40.31719 -2.793094)', '2026-07-22 07:39:53', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317043 -2.793119)'), GeomFromEWKT('SRID=4674;POINT (-40.31719 -2.793094)'))) / (select extract(epoch from '2026-07-22 07:39:53'::timestamp) - extract(epoch from '2026-07-22 07:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317043 -2.793119)'), GeomFromEWKT('SRID=4674;POINT (-40.31719 -2.793094)'))) / (select extract(epoch from '2026-07-22 07:39:53'::timestamp) - extract(epoch from '2026-07-22 07:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.31737 -2.793032)', '2026-07-22 07:40:00', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31719 -2.793094)'), GeomFromEWKT('SRID=4674;POINT (-40.31737 -2.793032)'))) / (select extract(epoch from '2026-07-22 07:40:00'::timestamp) - extract(epoch from '2026-07-22 07:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31719 -2.793094)'), GeomFromEWKT('SRID=4674;POINT (-40.31737 -2.793032)'))) / (select extract(epoch from '2026-07-22 07:40:00'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47639, 'SRID=4674;POINT (-40.317535 -2.792934)', '2026-07-22 07:40:07', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31737 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.317535 -2.792934)'))) / (select extract(epoch from '2026-07-22 07:40:07'::timestamp) - extract(epoch from '2026-07-22 07:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31737 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.317535 -2.792934)'))) / (select extract(epoch from '2026-07-22 07:40:07'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47639, 'SRID=4674;POINT (-40.317683 -2.792879)', '2026-07-22 07:40:15', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317535 -2.792934)'), GeomFromEWKT('SRID=4674;POINT (-40.317683 -2.792879)'))) / (select extract(epoch from '2026-07-22 07:40:15'::timestamp) - extract(epoch from '2026-07-22 07:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317535 -2.792934)'), GeomFromEWKT('SRID=4674;POINT (-40.317683 -2.792879)'))) / (select extract(epoch from '2026-07-22 07:40:15'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47639, 'SRID=4674;POINT (-40.317849 -2.792836)', '2026-07-22 07:40:23', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317683 -2.792879)'), GeomFromEWKT('SRID=4674;POINT (-40.317849 -2.792836)'))) / (select extract(epoch from '2026-07-22 07:40:23'::timestamp) - extract(epoch from '2026-07-22 07:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317683 -2.792879)'), GeomFromEWKT('SRID=4674;POINT (-40.317849 -2.792836)'))) / (select extract(epoch from '2026-07-22 07:40:23'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47639, 'SRID=4674;POINT (-40.318052 -2.792776)', '2026-07-22 07:40:31', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317849 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.318052 -2.792776)'))) / (select extract(epoch from '2026-07-22 07:40:31'::timestamp) - extract(epoch from '2026-07-22 07:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317849 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.318052 -2.792776)'))) / (select extract(epoch from '2026-07-22 07:40:31'::timestamp) - extract(epoch from '2026-07-22 07:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.31817 -2.792688)', '2026-07-22 07:40:38', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318052 -2.792776)'), GeomFromEWKT('SRID=4674;POINT (-40.31817 -2.792688)'))) / (select extract(epoch from '2026-07-22 07:40:38'::timestamp) - extract(epoch from '2026-07-22 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318052 -2.792776)'), GeomFromEWKT('SRID=4674;POINT (-40.31817 -2.792688)'))) / (select extract(epoch from '2026-07-22 07:40:38'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.318316 -2.792583)', '2026-07-22 07:40:46', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31817 -2.792688)'), GeomFromEWKT('SRID=4674;POINT (-40.318316 -2.792583)'))) / (select extract(epoch from '2026-07-22 07:40:46'::timestamp) - extract(epoch from '2026-07-22 07:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31817 -2.792688)'), GeomFromEWKT('SRID=4674;POINT (-40.318316 -2.792583)'))) / (select extract(epoch from '2026-07-22 07:40:46'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47639, 'SRID=4674;POINT (-40.318495 -2.792466)', '2026-07-22 07:40:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318316 -2.792583)'), GeomFromEWKT('SRID=4674;POINT (-40.318495 -2.792466)'))) / (select extract(epoch from '2026-07-22 07:40:56'::timestamp) - extract(epoch from '2026-07-22 07:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318316 -2.792583)'), GeomFromEWKT('SRID=4674;POINT (-40.318495 -2.792466)'))) / (select extract(epoch from '2026-07-22 07:40:56'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47639, 'SRID=4674;POINT (-40.318625 -2.792342)', '2026-07-22 07:41:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318495 -2.792466)'), GeomFromEWKT('SRID=4674;POINT (-40.318625 -2.792342)'))) / (select extract(epoch from '2026-07-22 07:41:04'::timestamp) - extract(epoch from '2026-07-22 07:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318495 -2.792466)'), GeomFromEWKT('SRID=4674;POINT (-40.318625 -2.792342)'))) / (select extract(epoch from '2026-07-22 07:41:04'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47639, 'SRID=4674;POINT (-40.318712 -2.792264)', '2026-07-22 07:41:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318625 -2.792342)'), GeomFromEWKT('SRID=4674;POINT (-40.318712 -2.792264)'))) / (select extract(epoch from '2026-07-22 07:41:10'::timestamp) - extract(epoch from '2026-07-22 07:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318625 -2.792342)'), GeomFromEWKT('SRID=4674;POINT (-40.318712 -2.792264)'))) / (select extract(epoch from '2026-07-22 07:41:10'::timestamp) - extract(epoch from '2026-07-22 07:41: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'), 47639, 'SRID=4674;POINT (-40.318859 -2.792162)', '2026-07-22 07:41:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318712 -2.792264)'), GeomFromEWKT('SRID=4674;POINT (-40.318859 -2.792162)'))) / (select extract(epoch from '2026-07-22 07:41:18'::timestamp) - extract(epoch from '2026-07-22 07:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318712 -2.792264)'), GeomFromEWKT('SRID=4674;POINT (-40.318859 -2.792162)'))) / (select extract(epoch from '2026-07-22 07:41:18'::timestamp) - extract(epoch from '2026-07-22 07:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.318991 -2.792099)', '2026-07-22 07:41:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318859 -2.792162)'), GeomFromEWKT('SRID=4674;POINT (-40.318991 -2.792099)'))) / (select extract(epoch from '2026-07-22 07:41:24'::timestamp) - extract(epoch from '2026-07-22 07:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318859 -2.792162)'), GeomFromEWKT('SRID=4674;POINT (-40.318991 -2.792099)'))) / (select extract(epoch from '2026-07-22 07:41:24'::timestamp) - extract(epoch from '2026-07-22 07:41: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'), 47639, 'SRID=4674;POINT (-40.319093 -2.792015)', '2026-07-22 07:41:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318991 -2.792099)'), GeomFromEWKT('SRID=4674;POINT (-40.319093 -2.792015)'))) / (select extract(epoch from '2026-07-22 07:41:30'::timestamp) - extract(epoch from '2026-07-22 07:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318991 -2.792099)'), GeomFromEWKT('SRID=4674;POINT (-40.319093 -2.792015)'))) / (select extract(epoch from '2026-07-22 07:41:30'::timestamp) - extract(epoch from '2026-07-22 07:41: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'), 47639, 'SRID=4674;POINT (-40.319211 -2.791909)', '2026-07-22 07:41:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319093 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.319211 -2.791909)'))) / (select extract(epoch from '2026-07-22 07:41:37'::timestamp) - extract(epoch from '2026-07-22 07:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319093 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.319211 -2.791909)'))) / (select extract(epoch from '2026-07-22 07:41:37'::timestamp) - extract(epoch from '2026-07-22 07:41: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'), 47639, 'SRID=4674;POINT (-40.319365 -2.791792)', '2026-07-22 07:41:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319211 -2.791909)'), GeomFromEWKT('SRID=4674;POINT (-40.319365 -2.791792)'))) / (select extract(epoch from '2026-07-22 07:41:45'::timestamp) - extract(epoch from '2026-07-22 07:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319211 -2.791909)'), GeomFromEWKT('SRID=4674;POINT (-40.319365 -2.791792)'))) / (select extract(epoch from '2026-07-22 07:41:45'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.319538 -2.791697)', '2026-07-22 07:41:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319365 -2.791792)'), GeomFromEWKT('SRID=4674;POINT (-40.319538 -2.791697)'))) / (select extract(epoch from '2026-07-22 07:41:53'::timestamp) - extract(epoch from '2026-07-22 07:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319365 -2.791792)'), GeomFromEWKT('SRID=4674;POINT (-40.319538 -2.791697)'))) / (select extract(epoch from '2026-07-22 07:41:53'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47639, 'SRID=4674;POINT (-40.319667 -2.791585)', '2026-07-22 07:42:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319538 -2.791697)'), GeomFromEWKT('SRID=4674;POINT (-40.319667 -2.791585)'))) / (select extract(epoch from '2026-07-22 07:42:01'::timestamp) - extract(epoch from '2026-07-22 07:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319538 -2.791697)'), GeomFromEWKT('SRID=4674;POINT (-40.319667 -2.791585)'))) / (select extract(epoch from '2026-07-22 07:42:01'::timestamp) - extract(epoch from '2026-07-22 07:41: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'), 47639, 'SRID=4674;POINT (-40.319814 -2.791482)', '2026-07-22 07:42:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319667 -2.791585)'), GeomFromEWKT('SRID=4674;POINT (-40.319814 -2.791482)'))) / (select extract(epoch from '2026-07-22 07:42:09'::timestamp) - extract(epoch from '2026-07-22 07:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319667 -2.791585)'), GeomFromEWKT('SRID=4674;POINT (-40.319814 -2.791482)'))) / (select extract(epoch from '2026-07-22 07:42:09'::timestamp) - extract(epoch from '2026-07-22 07:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.319971 -2.791417)', '2026-07-22 07:42:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319814 -2.791482)'), GeomFromEWKT('SRID=4674;POINT (-40.319971 -2.791417)'))) / (select extract(epoch from '2026-07-22 07:42:16'::timestamp) - extract(epoch from '2026-07-22 07:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319814 -2.791482)'), GeomFromEWKT('SRID=4674;POINT (-40.319971 -2.791417)'))) / (select extract(epoch from '2026-07-22 07:42:16'::timestamp) - extract(epoch from '2026-07-22 07:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.320102 -2.791315)', '2026-07-22 07:42:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319971 -2.791417)'), GeomFromEWKT('SRID=4674;POINT (-40.320102 -2.791315)'))) / (select extract(epoch from '2026-07-22 07:42:24'::timestamp) - extract(epoch from '2026-07-22 07:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319971 -2.791417)'), GeomFromEWKT('SRID=4674;POINT (-40.320102 -2.791315)'))) / (select extract(epoch from '2026-07-22 07:42:24'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47639, 'SRID=4674;POINT (-40.320244 -2.791223)', '2026-07-22 07:42:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320102 -2.791315)'), GeomFromEWKT('SRID=4674;POINT (-40.320244 -2.791223)'))) / (select extract(epoch from '2026-07-22 07:42:31'::timestamp) - extract(epoch from '2026-07-22 07:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320102 -2.791315)'), GeomFromEWKT('SRID=4674;POINT (-40.320244 -2.791223)'))) / (select extract(epoch from '2026-07-22 07:42:31'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47639, 'SRID=4674;POINT (-40.320379 -2.791153)', '2026-07-22 07:42:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320244 -2.791223)'), GeomFromEWKT('SRID=4674;POINT (-40.320379 -2.791153)'))) / (select extract(epoch from '2026-07-22 07:42:38'::timestamp) - extract(epoch from '2026-07-22 07:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320244 -2.791223)'), GeomFromEWKT('SRID=4674;POINT (-40.320379 -2.791153)'))) / (select extract(epoch from '2026-07-22 07:42:38'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47639, 'SRID=4674;POINT (-40.320515 -2.791088)', '2026-07-22 07:42:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320379 -2.791153)'), GeomFromEWKT('SRID=4674;POINT (-40.320515 -2.791088)'))) / (select extract(epoch from '2026-07-22 07:42:45'::timestamp) - extract(epoch from '2026-07-22 07:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320379 -2.791153)'), GeomFromEWKT('SRID=4674;POINT (-40.320515 -2.791088)'))) / (select extract(epoch from '2026-07-22 07:42:45'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47639, 'SRID=4674;POINT (-40.320647 -2.790995)', '2026-07-22 07:42:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320515 -2.791088)'), GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.790995)'))) / (select extract(epoch from '2026-07-22 07:42:53'::timestamp) - extract(epoch from '2026-07-22 07:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320515 -2.791088)'), GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.790995)'))) / (select extract(epoch from '2026-07-22 07:42:53'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47639, 'SRID=4674;POINT (-40.320792 -2.790878)', '2026-07-22 07:43:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.790995)'), GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.790878)'))) / (select extract(epoch from '2026-07-22 07:43:02'::timestamp) - extract(epoch from '2026-07-22 07:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.790995)'), GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.790878)'))) / (select extract(epoch from '2026-07-22 07:43:02'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47639, 'SRID=4674;POINT (-40.320947 -2.790761)', '2026-07-22 07:43:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.790878)'), GeomFromEWKT('SRID=4674;POINT (-40.320947 -2.790761)'))) / (select extract(epoch from '2026-07-22 07:43:10'::timestamp) - extract(epoch from '2026-07-22 07:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.790878)'), GeomFromEWKT('SRID=4674;POINT (-40.320947 -2.790761)'))) / (select extract(epoch from '2026-07-22 07:43:10'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321041 -2.790693)', '2026-07-22 07:43:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320947 -2.790761)'), GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.790693)'))) / (select extract(epoch from '2026-07-22 07:43:15'::timestamp) - extract(epoch from '2026-07-22 07:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320947 -2.790761)'), GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.790693)'))) / (select extract(epoch from '2026-07-22 07:43:15'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321204 -2.79061)', '2026-07-22 07:43:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.790693)'), GeomFromEWKT('SRID=4674;POINT (-40.321204 -2.79061)'))) / (select extract(epoch from '2026-07-22 07:43:23'::timestamp) - extract(epoch from '2026-07-22 07:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.790693)'), GeomFromEWKT('SRID=4674;POINT (-40.321204 -2.79061)'))) / (select extract(epoch from '2026-07-22 07:43:23'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321297 -2.790498)', '2026-07-22 07:43:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321204 -2.79061)'), GeomFromEWKT('SRID=4674;POINT (-40.321297 -2.790498)'))) / (select extract(epoch from '2026-07-22 07:43:29'::timestamp) - extract(epoch from '2026-07-22 07:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321204 -2.79061)'), GeomFromEWKT('SRID=4674;POINT (-40.321297 -2.790498)'))) / (select extract(epoch from '2026-07-22 07:43:29'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321442 -2.790362)', '2026-07-22 07:43:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321297 -2.790498)'), GeomFromEWKT('SRID=4674;POINT (-40.321442 -2.790362)'))) / (select extract(epoch from '2026-07-22 07:43:38'::timestamp) - extract(epoch from '2026-07-22 07:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321297 -2.790498)'), GeomFromEWKT('SRID=4674;POINT (-40.321442 -2.790362)'))) / (select extract(epoch from '2026-07-22 07:43:38'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321555 -2.79029)', '2026-07-22 07:43:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321442 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.321555 -2.79029)'))) / (select extract(epoch from '2026-07-22 07:43:44'::timestamp) - extract(epoch from '2026-07-22 07:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321442 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.321555 -2.79029)'))) / (select extract(epoch from '2026-07-22 07:43:44'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321679 -2.790202)', '2026-07-22 07:43:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321555 -2.79029)'), GeomFromEWKT('SRID=4674;POINT (-40.321679 -2.790202)'))) / (select extract(epoch from '2026-07-22 07:43:51'::timestamp) - extract(epoch from '2026-07-22 07:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321555 -2.79029)'), GeomFromEWKT('SRID=4674;POINT (-40.321679 -2.790202)'))) / (select extract(epoch from '2026-07-22 07:43:51'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321789 -2.790114)', '2026-07-22 07:43:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321679 -2.790202)'), GeomFromEWKT('SRID=4674;POINT (-40.321789 -2.790114)'))) / (select extract(epoch from '2026-07-22 07:43:58'::timestamp) - extract(epoch from '2026-07-22 07:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321679 -2.790202)'), GeomFromEWKT('SRID=4674;POINT (-40.321789 -2.790114)'))) / (select extract(epoch from '2026-07-22 07:43:58'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.321906 -2.789971)', '2026-07-22 07:44:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321789 -2.790114)'), GeomFromEWKT('SRID=4674;POINT (-40.321906 -2.789971)'))) / (select extract(epoch from '2026-07-22 07:44:06'::timestamp) - extract(epoch from '2026-07-22 07:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321789 -2.790114)'), GeomFromEWKT('SRID=4674;POINT (-40.321906 -2.789971)'))) / (select extract(epoch from '2026-07-22 07:44:06'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47639, 'SRID=4674;POINT (-40.322007 -2.789823)', '2026-07-22 07:44:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321906 -2.789971)'), GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.789823)'))) / (select extract(epoch from '2026-07-22 07:44:13'::timestamp) - extract(epoch from '2026-07-22 07:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321906 -2.789971)'), GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.789823)'))) / (select extract(epoch from '2026-07-22 07:44:13'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47639, 'SRID=4674;POINT (-40.322137 -2.789655)', '2026-07-22 07:44:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.789823)'), GeomFromEWKT('SRID=4674;POINT (-40.322137 -2.789655)'))) / (select extract(epoch from '2026-07-22 07:44:22'::timestamp) - extract(epoch from '2026-07-22 07:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.789823)'), GeomFromEWKT('SRID=4674;POINT (-40.322137 -2.789655)'))) / (select extract(epoch from '2026-07-22 07:44:22'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47639, 'SRID=4674;POINT (-40.322211 -2.789511)', '2026-07-22 07:44:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322137 -2.789655)'), GeomFromEWKT('SRID=4674;POINT (-40.322211 -2.789511)'))) / (select extract(epoch from '2026-07-22 07:44:30'::timestamp) - extract(epoch from '2026-07-22 07:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322137 -2.789655)'), GeomFromEWKT('SRID=4674;POINT (-40.322211 -2.789511)'))) / (select extract(epoch from '2026-07-22 07:44:30'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47639, 'SRID=4674;POINT (-40.322184 -2.789375)', '2026-07-22 07:44:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322211 -2.789511)'), GeomFromEWKT('SRID=4674;POINT (-40.322184 -2.789375)'))) / (select extract(epoch from '2026-07-22 07:44:38'::timestamp) - extract(epoch from '2026-07-22 07:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322211 -2.789511)'), GeomFromEWKT('SRID=4674;POINT (-40.322184 -2.789375)'))) / (select extract(epoch from '2026-07-22 07:44:38'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47639, 'SRID=4674;POINT (-40.322111 -2.789315)', '2026-07-22 07:44:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322184 -2.789375)'), GeomFromEWKT('SRID=4674;POINT (-40.322111 -2.789315)'))) / (select extract(epoch from '2026-07-22 07:44:45'::timestamp) - extract(epoch from '2026-07-22 07:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322184 -2.789375)'), GeomFromEWKT('SRID=4674;POINT (-40.322111 -2.789315)'))) / (select extract(epoch from '2026-07-22 07:44:45'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47639, 'SRID=4674;POINT (-40.322048 -2.789312)', '2026-07-22 07:44:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322111 -2.789315)'), GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.789312)'))) / (select extract(epoch from '2026-07-22 07:44:53'::timestamp) - extract(epoch from '2026-07-22 07:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322111 -2.789315)'), GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.789312)'))) / (select extract(epoch from '2026-07-22 07:44:53'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47639, 'SRID=4674;POINT (-40.322011 -2.789331)', '2026-07-22 07:45:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.789331)'))) / (select extract(epoch from '2026-07-22 07:45:03'::timestamp) - extract(epoch from '2026-07-22 07:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.789331)'))) / (select extract(epoch from '2026-07-22 07:45:03'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47639, 'SRID=4674;POINT (-40.322019 -2.789332)', '2026-07-22 07:45:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.789331)'), GeomFromEWKT('SRID=4674;POINT (-40.322019 -2.789332)'))) / (select extract(epoch from '2026-07-22 07:45:12'::timestamp) - extract(epoch from '2026-07-22 07:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.789331)'), GeomFromEWKT('SRID=4674;POINT (-40.322019 -2.789332)'))) / (select extract(epoch from '2026-07-22 07:45:12'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47639, 'SRID=4674;POINT (-40.32204 -2.789346)', '2026-07-22 07:45:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322019 -2.789332)'), GeomFromEWKT('SRID=4674;POINT (-40.32204 -2.789346)'))) / (select extract(epoch from '2026-07-22 07:45:24'::timestamp) - extract(epoch from '2026-07-22 07:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322019 -2.789332)'), GeomFromEWKT('SRID=4674;POINT (-40.32204 -2.789346)'))) / (select extract(epoch from '2026-07-22 07:45:24'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47639, 'SRID=4674;POINT (-40.322029 -2.789344)', '2026-07-22 07:45:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32204 -2.789346)'), GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.789344)'))) / (select extract(epoch from '2026-07-22 07:45:34'::timestamp) - extract(epoch from '2026-07-22 07:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32204 -2.789346)'), GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.789344)'))) / (select extract(epoch from '2026-07-22 07:45:34'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47639, 'SRID=4674;POINT (-40.322012 -2.789323)', '2026-07-22 07:45:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.789344)'), GeomFromEWKT('SRID=4674;POINT (-40.322012 -2.789323)'))) / (select extract(epoch from '2026-07-22 07:45:47'::timestamp) - extract(epoch from '2026-07-22 07:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.789344)'), GeomFromEWKT('SRID=4674;POINT (-40.322012 -2.789323)'))) / (select extract(epoch from '2026-07-22 07:45:47'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47639, 'SRID=4674;POINT (-40.321993 -2.789323)', '2026-07-22 07:45:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322012 -2.789323)'), GeomFromEWKT('SRID=4674;POINT (-40.321993 -2.789323)'))) / (select extract(epoch from '2026-07-22 07:45:58'::timestamp) - extract(epoch from '2026-07-22 07:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322012 -2.789323)'), GeomFromEWKT('SRID=4674;POINT (-40.321993 -2.789323)'))) / (select extract(epoch from '2026-07-22 07:45:58'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47639, 'SRID=4674;POINT (-40.321978 -2.789327)', '2026-07-22 07:46:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321993 -2.789323)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.789327)'))) / (select extract(epoch from '2026-07-22 07:46:09'::timestamp) - extract(epoch from '2026-07-22 07:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321993 -2.789323)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.789327)'))) / (select extract(epoch from '2026-07-22 07:46:09'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47639, 'SRID=4674;POINT (-40.321977 -2.78932)', '2026-07-22 07:46:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.789327)'), GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.78932)'))) / (select extract(epoch from '2026-07-22 07:46:22'::timestamp) - extract(epoch from '2026-07-22 07:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.789327)'), GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.78932)'))) / (select extract(epoch from '2026-07-22 07:46:22'::timestamp) - extract(epoch from '2026-07-22 07:46: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'), 47639, 'SRID=4674;POINT (-40.32197 -2.789317)', '2026-07-22 07:46:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.78932)'), GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.789317)'))) / (select extract(epoch from '2026-07-22 07:46:31'::timestamp) - extract(epoch from '2026-07-22 07:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.78932)'), GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.789317)'))) / (select extract(epoch from '2026-07-22 07:46:31'::timestamp) - extract(epoch from '2026-07-22 07:46: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'), 47639, 'SRID=4674;POINT (-40.321966 -2.789314)', '2026-07-22 07:46:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.789317)'), GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.789314)'))) / (select extract(epoch from '2026-07-22 07:46:45'::timestamp) - extract(epoch from '2026-07-22 07:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.789317)'), GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.789314)'))) / (select extract(epoch from '2026-07-22 07:46:45'::timestamp) - extract(epoch from '2026-07-22 07:46: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'), 47639, 'SRID=4674;POINT (-40.321954 -2.789319)', '2026-07-22 07:46:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.789314)'), GeomFromEWKT('SRID=4674;POINT (-40.321954 -2.789319)'))) / (select extract(epoch from '2026-07-22 07:46:57'::timestamp) - extract(epoch from '2026-07-22 07:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.789314)'), GeomFromEWKT('SRID=4674;POINT (-40.321954 -2.789319)'))) / (select extract(epoch from '2026-07-22 07:46:57'::timestamp) - extract(epoch from '2026-07-22 07:46: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'), 47639, 'SRID=4674;POINT (-40.321947 -2.789321)', '2026-07-22 07:47:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321954 -2.789319)'), GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.789321)'))) / (select extract(epoch from '2026-07-22 07:47:07'::timestamp) - extract(epoch from '2026-07-22 07:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321954 -2.789319)'), GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.789321)'))) / (select extract(epoch from '2026-07-22 07:47:07'::timestamp) - extract(epoch from '2026-07-22 07:46: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'), 47639, 'SRID=4674;POINT (-40.32192 -2.789324)', '2026-07-22 07:47:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.789321)'), GeomFromEWKT('SRID=4674;POINT (-40.32192 -2.789324)'))) / (select extract(epoch from '2026-07-22 07:47:21'::timestamp) - extract(epoch from '2026-07-22 07:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.789321)'), GeomFromEWKT('SRID=4674;POINT (-40.32192 -2.789324)'))) / (select extract(epoch from '2026-07-22 07:47:21'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47639, 'SRID=4674;POINT (-40.321891 -2.789319)', '2026-07-22 07:47:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32192 -2.789324)'), GeomFromEWKT('SRID=4674;POINT (-40.321891 -2.789319)'))) / (select extract(epoch from '2026-07-22 07:47:35'::timestamp) - extract(epoch from '2026-07-22 07:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32192 -2.789324)'), GeomFromEWKT('SRID=4674;POINT (-40.321891 -2.789319)'))) / (select extract(epoch from '2026-07-22 07:47:35'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47639, 'SRID=4674;POINT (-40.321882 -2.789309)', '2026-07-22 07:47:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321891 -2.789319)'), GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.789309)'))) / (select extract(epoch from '2026-07-22 07:47:48'::timestamp) - extract(epoch from '2026-07-22 07:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321891 -2.789319)'), GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.789309)'))) / (select extract(epoch from '2026-07-22 07:47:48'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47639, 'SRID=4674;POINT (-40.321873 -2.789309)', '2026-07-22 07:47:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.789309)'), GeomFromEWKT('SRID=4674;POINT (-40.321873 -2.789309)'))) / (select extract(epoch from '2026-07-22 07:47:56'::timestamp) - extract(epoch from '2026-07-22 07:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.789309)'), GeomFromEWKT('SRID=4674;POINT (-40.321873 -2.789309)'))) / (select extract(epoch from '2026-07-22 07:47:56'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47639, 'SRID=4674;POINT (-40.321866 -2.789309)', '2026-07-22 07:48:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321873 -2.789309)'), GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.789309)'))) / (select extract(epoch from '2026-07-22 07:48:04'::timestamp) - extract(epoch from '2026-07-22 07:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321873 -2.789309)'), GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.789309)'))) / (select extract(epoch from '2026-07-22 07:48:04'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47639, 'SRID=4674;POINT (-40.321838 -2.789294)', '2026-07-22 07:48:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.789309)'), GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.789294)'))) / (select extract(epoch from '2026-07-22 07:48:16'::timestamp) - extract(epoch from '2026-07-22 07:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.789309)'), GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.789294)'))) / (select extract(epoch from '2026-07-22 07:48:16'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47639, 'SRID=4674;POINT (-40.32182 -2.789295)', '2026-07-22 07:48:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.789294)'), GeomFromEWKT('SRID=4674;POINT (-40.32182 -2.789295)'))) / (select extract(epoch from '2026-07-22 07:48:29'::timestamp) - extract(epoch from '2026-07-22 07:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.789294)'), GeomFromEWKT('SRID=4674;POINT (-40.32182 -2.789295)'))) / (select extract(epoch from '2026-07-22 07:48:29'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47639, 'SRID=4674;POINT (-40.321804 -2.789292)', '2026-07-22 07:48:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32182 -2.789295)'), GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.789292)'))) / (select extract(epoch from '2026-07-22 07:48:42'::timestamp) - extract(epoch from '2026-07-22 07:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32182 -2.789295)'), GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.789292)'))) / (select extract(epoch from '2026-07-22 07:48:42'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47639, 'SRID=4674;POINT (-40.32179 -2.789282)', '2026-07-22 07:48:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.789292)'), GeomFromEWKT('SRID=4674;POINT (-40.32179 -2.789282)'))) / (select extract(epoch from '2026-07-22 07:48:56'::timestamp) - extract(epoch from '2026-07-22 07:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.789292)'), GeomFromEWKT('SRID=4674;POINT (-40.32179 -2.789282)'))) / (select extract(epoch from '2026-07-22 07:48:56'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47639, 'SRID=4674;POINT (-40.321782 -2.789294)', '2026-07-22 07:49:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32179 -2.789282)'), GeomFromEWKT('SRID=4674;POINT (-40.321782 -2.789294)'))) / (select extract(epoch from '2026-07-22 07:49:08'::timestamp) - extract(epoch from '2026-07-22 07:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32179 -2.789282)'), GeomFromEWKT('SRID=4674;POINT (-40.321782 -2.789294)'))) / (select extract(epoch from '2026-07-22 07:49:08'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47639, 'SRID=4674;POINT (-40.321765 -2.789299)', '2026-07-22 07:49:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321782 -2.789294)'), GeomFromEWKT('SRID=4674;POINT (-40.321765 -2.789299)'))) / (select extract(epoch from '2026-07-22 07:49:19'::timestamp) - extract(epoch from '2026-07-22 07:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321782 -2.789294)'), GeomFromEWKT('SRID=4674;POINT (-40.321765 -2.789299)'))) / (select extract(epoch from '2026-07-22 07:49:19'::timestamp) - extract(epoch from '2026-07-22 07:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321745 -2.789295)', '2026-07-22 07:49:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321765 -2.789299)'), GeomFromEWKT('SRID=4674;POINT (-40.321745 -2.789295)'))) / (select extract(epoch from '2026-07-22 07:49:32'::timestamp) - extract(epoch from '2026-07-22 07:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321765 -2.789299)'), GeomFromEWKT('SRID=4674;POINT (-40.321745 -2.789295)'))) / (select extract(epoch from '2026-07-22 07:49:32'::timestamp) - extract(epoch from '2026-07-22 07:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321734 -2.7893)', '2026-07-22 07:49:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321745 -2.789295)'), GeomFromEWKT('SRID=4674;POINT (-40.321734 -2.7893)'))) / (select extract(epoch from '2026-07-22 07:49:43'::timestamp) - extract(epoch from '2026-07-22 07:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321745 -2.789295)'), GeomFromEWKT('SRID=4674;POINT (-40.321734 -2.7893)'))) / (select extract(epoch from '2026-07-22 07:49:43'::timestamp) - extract(epoch from '2026-07-22 07:49: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'), 47639, 'SRID=4674;POINT (-40.321724 -2.789304)', '2026-07-22 07:49:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321734 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.321724 -2.789304)'))) / (select extract(epoch from '2026-07-22 07:49:53'::timestamp) - extract(epoch from '2026-07-22 07:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321734 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.321724 -2.789304)'))) / (select extract(epoch from '2026-07-22 07:49:53'::timestamp) - extract(epoch from '2026-07-22 07:49: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'), 47639, 'SRID=4674;POINT (-40.321696 -2.789336)', '2026-07-22 07:50:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321724 -2.789304)'), GeomFromEWKT('SRID=4674;POINT (-40.321696 -2.789336)'))) / (select extract(epoch from '2026-07-22 07:50:09'::timestamp) - extract(epoch from '2026-07-22 07:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321724 -2.789304)'), GeomFromEWKT('SRID=4674;POINT (-40.321696 -2.789336)'))) / (select extract(epoch from '2026-07-22 07:50:09'::timestamp) - extract(epoch from '2026-07-22 07:49: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'), 47639, 'SRID=4674;POINT (-40.321681 -2.789335)', '2026-07-22 07:50:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321696 -2.789336)'), GeomFromEWKT('SRID=4674;POINT (-40.321681 -2.789335)'))) / (select extract(epoch from '2026-07-22 07:50:21'::timestamp) - extract(epoch from '2026-07-22 07:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321696 -2.789336)'), GeomFromEWKT('SRID=4674;POINT (-40.321681 -2.789335)'))) / (select extract(epoch from '2026-07-22 07:50:21'::timestamp) - extract(epoch from '2026-07-22 07:50: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'), 47639, 'SRID=4674;POINT (-40.321669 -2.789342)', '2026-07-22 07:50:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321681 -2.789335)'), GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.789342)'))) / (select extract(epoch from '2026-07-22 07:50:32'::timestamp) - extract(epoch from '2026-07-22 07:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321681 -2.789335)'), GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.789342)'))) / (select extract(epoch from '2026-07-22 07:50:32'::timestamp) - extract(epoch from '2026-07-22 07:50: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'), 47639, 'SRID=4674;POINT (-40.321651 -2.789356)', '2026-07-22 07:50:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.789342)'), GeomFromEWKT('SRID=4674;POINT (-40.321651 -2.789356)'))) / (select extract(epoch from '2026-07-22 07:50:45'::timestamp) - extract(epoch from '2026-07-22 07:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.789342)'), GeomFromEWKT('SRID=4674;POINT (-40.321651 -2.789356)'))) / (select extract(epoch from '2026-07-22 07:50:45'::timestamp) - extract(epoch from '2026-07-22 07:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321645 -2.789356)', '2026-07-22 07:50:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321651 -2.789356)'), GeomFromEWKT('SRID=4674;POINT (-40.321645 -2.789356)'))) / (select extract(epoch from '2026-07-22 07:50:56'::timestamp) - extract(epoch from '2026-07-22 07:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321651 -2.789356)'), GeomFromEWKT('SRID=4674;POINT (-40.321645 -2.789356)'))) / (select extract(epoch from '2026-07-22 07:50:56'::timestamp) - extract(epoch from '2026-07-22 07:50: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'), 47639, 'SRID=4674;POINT (-40.321636 -2.789353)', '2026-07-22 07:51:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321645 -2.789356)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.789353)'))) / (select extract(epoch from '2026-07-22 07:51:09'::timestamp) - extract(epoch from '2026-07-22 07:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321645 -2.789356)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.789353)'))) / (select extract(epoch from '2026-07-22 07:51:09'::timestamp) - extract(epoch from '2026-07-22 07:50: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'), 47639, 'SRID=4674;POINT (-40.321629 -2.789361)', '2026-07-22 07:51:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.789353)'), GeomFromEWKT('SRID=4674;POINT (-40.321629 -2.789361)'))) / (select extract(epoch from '2026-07-22 07:51:18'::timestamp) - extract(epoch from '2026-07-22 07:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.789353)'), GeomFromEWKT('SRID=4674;POINT (-40.321629 -2.789361)'))) / (select extract(epoch from '2026-07-22 07:51:18'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47639, 'SRID=4674;POINT (-40.321614 -2.789359)', '2026-07-22 07:51:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321629 -2.789361)'), GeomFromEWKT('SRID=4674;POINT (-40.321614 -2.789359)'))) / (select extract(epoch from '2026-07-22 07:51:30'::timestamp) - extract(epoch from '2026-07-22 07:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321629 -2.789361)'), GeomFromEWKT('SRID=4674;POINT (-40.321614 -2.789359)'))) / (select extract(epoch from '2026-07-22 07:51:30'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47639, 'SRID=4674;POINT (-40.321597 -2.78935)', '2026-07-22 07:51:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321614 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.78935)'))) / (select extract(epoch from '2026-07-22 07:51:47'::timestamp) - extract(epoch from '2026-07-22 07:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321614 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.78935)'))) / (select extract(epoch from '2026-07-22 07:51:47'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47639, 'SRID=4674;POINT (-40.321589 -2.789347)', '2026-07-22 07:51:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.78935)'), GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.789347)'))) / (select extract(epoch from '2026-07-22 07:51:56'::timestamp) - extract(epoch from '2026-07-22 07:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.78935)'), GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.789347)'))) / (select extract(epoch from '2026-07-22 07:51:56'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47639, 'SRID=4674;POINT (-40.32157 -2.789342)', '2026-07-22 07:52:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.789347)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789342)'))) / (select extract(epoch from '2026-07-22 07:52:07'::timestamp) - extract(epoch from '2026-07-22 07:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321589 -2.789347)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789342)'))) / (select extract(epoch from '2026-07-22 07:52:07'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47639, 'SRID=4674;POINT (-40.321504 -2.789314)', '2026-07-22 07:52:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789342)'), GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.789314)'))) / (select extract(epoch from '2026-07-22 07:52:26'::timestamp) - extract(epoch from '2026-07-22 07:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789342)'), GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.789314)'))) / (select extract(epoch from '2026-07-22 07:52:26'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47639, 'SRID=4674;POINT (-40.32148 -2.789307)', '2026-07-22 07:52:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.789314)'), GeomFromEWKT('SRID=4674;POINT (-40.32148 -2.789307)'))) / (select extract(epoch from '2026-07-22 07:52:41'::timestamp) - extract(epoch from '2026-07-22 07:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.789314)'), GeomFromEWKT('SRID=4674;POINT (-40.32148 -2.789307)'))) / (select extract(epoch from '2026-07-22 07:52:41'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47639, 'SRID=4674;POINT (-40.321448 -2.789303)', '2026-07-22 07:52:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32148 -2.789307)'), GeomFromEWKT('SRID=4674;POINT (-40.321448 -2.789303)'))) / (select extract(epoch from '2026-07-22 07:52:53'::timestamp) - extract(epoch from '2026-07-22 07:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32148 -2.789307)'), GeomFromEWKT('SRID=4674;POINT (-40.321448 -2.789303)'))) / (select extract(epoch from '2026-07-22 07:52:53'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47639, 'SRID=4674;POINT (-40.321407 -2.789308)', '2026-07-22 07:53:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321448 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.321407 -2.789308)'))) / (select extract(epoch from '2026-07-22 07:53:09'::timestamp) - extract(epoch from '2026-07-22 07:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321448 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.321407 -2.789308)'))) / (select extract(epoch from '2026-07-22 07:53:09'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47639, 'SRID=4674;POINT (-40.321384 -2.789304)', '2026-07-22 07:53:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321407 -2.789308)'), GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.789304)'))) / (select extract(epoch from '2026-07-22 07:53:22'::timestamp) - extract(epoch from '2026-07-22 07:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321407 -2.789308)'), GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.789304)'))) / (select extract(epoch from '2026-07-22 07:53:22'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47639, 'SRID=4674;POINT (-40.32137 -2.78931)', '2026-07-22 07:53:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.789304)'), GeomFromEWKT('SRID=4674;POINT (-40.32137 -2.78931)'))) / (select extract(epoch from '2026-07-22 07:53:34'::timestamp) - extract(epoch from '2026-07-22 07:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.789304)'), GeomFromEWKT('SRID=4674;POINT (-40.32137 -2.78931)'))) / (select extract(epoch from '2026-07-22 07:53:34'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47639, 'SRID=4674;POINT (-40.321359 -2.789299)', '2026-07-22 07:53:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32137 -2.78931)'), GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789299)'))) / (select extract(epoch from '2026-07-22 07:53:44'::timestamp) - extract(epoch from '2026-07-22 07:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32137 -2.78931)'), GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789299)'))) / (select extract(epoch from '2026-07-22 07:53:44'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47639, 'SRID=4674;POINT (-40.321358 -2.789293)', '2026-07-22 07:53:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789299)'), GeomFromEWKT('SRID=4674;POINT (-40.321358 -2.789293)'))) / (select extract(epoch from '2026-07-22 07:53:55'::timestamp) - extract(epoch from '2026-07-22 07:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789299)'), GeomFromEWKT('SRID=4674;POINT (-40.321358 -2.789293)'))) / (select extract(epoch from '2026-07-22 07:53:55'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47639, 'SRID=4674;POINT (-40.32136 -2.789288)', '2026-07-22 07:54:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321358 -2.789293)'), GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.789288)'))) / (select extract(epoch from '2026-07-22 07:54:10'::timestamp) - extract(epoch from '2026-07-22 07:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321358 -2.789293)'), GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.789288)'))) / (select extract(epoch from '2026-07-22 07:54:10'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47639, 'SRID=4674;POINT (-40.321353 -2.789292)', '2026-07-22 07:54:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.789288)'), GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.789292)'))) / (select extract(epoch from '2026-07-22 07:54:22'::timestamp) - extract(epoch from '2026-07-22 07:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.789288)'), GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.789292)'))) / (select extract(epoch from '2026-07-22 07:54:22'::timestamp) - extract(epoch from '2026-07-22 07:54: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'), 47639, 'SRID=4674;POINT (-40.321323 -2.789291)', '2026-07-22 07:54:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.789292)'), GeomFromEWKT('SRID=4674;POINT (-40.321323 -2.789291)'))) / (select extract(epoch from '2026-07-22 07:54:34'::timestamp) - extract(epoch from '2026-07-22 07:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.789292)'), GeomFromEWKT('SRID=4674;POINT (-40.321323 -2.789291)'))) / (select extract(epoch from '2026-07-22 07:54:34'::timestamp) - extract(epoch from '2026-07-22 07:54: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'), 47639, 'SRID=4674;POINT (-40.321273 -2.789285)', '2026-07-22 07:54:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321323 -2.789291)'), GeomFromEWKT('SRID=4674;POINT (-40.321273 -2.789285)'))) / (select extract(epoch from '2026-07-22 07:54:48'::timestamp) - extract(epoch from '2026-07-22 07:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321323 -2.789291)'), GeomFromEWKT('SRID=4674;POINT (-40.321273 -2.789285)'))) / (select extract(epoch from '2026-07-22 07:54:48'::timestamp) - extract(epoch from '2026-07-22 07:54: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'), 47639, 'SRID=4674;POINT (-40.321222 -2.789306)', '2026-07-22 07:55:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321273 -2.789285)'), GeomFromEWKT('SRID=4674;POINT (-40.321222 -2.789306)'))) / (select extract(epoch from '2026-07-22 07:55:04'::timestamp) - extract(epoch from '2026-07-22 07:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321273 -2.789285)'), GeomFromEWKT('SRID=4674;POINT (-40.321222 -2.789306)'))) / (select extract(epoch from '2026-07-22 07:55:04'::timestamp) - extract(epoch from '2026-07-22 07:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321186 -2.789318)', '2026-07-22 07:55:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321222 -2.789306)'), GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.789318)'))) / (select extract(epoch from '2026-07-22 07:55:19'::timestamp) - extract(epoch from '2026-07-22 07:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321222 -2.789306)'), GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.789318)'))) / (select extract(epoch from '2026-07-22 07:55:19'::timestamp) - extract(epoch from '2026-07-22 07:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321161 -2.789312)', '2026-07-22 07:55:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.789318)'), GeomFromEWKT('SRID=4674;POINT (-40.321161 -2.789312)'))) / (select extract(epoch from '2026-07-22 07:55:27'::timestamp) - extract(epoch from '2026-07-22 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.789318)'), GeomFromEWKT('SRID=4674;POINT (-40.321161 -2.789312)'))) / (select extract(epoch from '2026-07-22 07:55:27'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47639, 'SRID=4674;POINT (-40.321104 -2.789317)', '2026-07-22 07:55:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321161 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.321104 -2.789317)'))) / (select extract(epoch from '2026-07-22 07:55:43'::timestamp) - extract(epoch from '2026-07-22 07:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321161 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.321104 -2.789317)'))) / (select extract(epoch from '2026-07-22 07:55:43'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47639, 'SRID=4674;POINT (-40.321087 -2.789317)', '2026-07-22 07:55:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321104 -2.789317)'), GeomFromEWKT('SRID=4674;POINT (-40.321087 -2.789317)'))) / (select extract(epoch from '2026-07-22 07:55:55'::timestamp) - extract(epoch from '2026-07-22 07:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321104 -2.789317)'), GeomFromEWKT('SRID=4674;POINT (-40.321087 -2.789317)'))) / (select extract(epoch from '2026-07-22 07:55:55'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47639, 'SRID=4674;POINT (-40.321037 -2.789312)', '2026-07-22 07:56:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321087 -2.789317)'), GeomFromEWKT('SRID=4674;POINT (-40.321037 -2.789312)'))) / (select extract(epoch from '2026-07-22 07:56:13'::timestamp) - extract(epoch from '2026-07-22 07:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321087 -2.789317)'), GeomFromEWKT('SRID=4674;POINT (-40.321037 -2.789312)'))) / (select extract(epoch from '2026-07-22 07:56:13'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47639, 'SRID=4674;POINT (-40.321006 -2.789303)', '2026-07-22 07:56:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321037 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.321006 -2.789303)'))) / (select extract(epoch from '2026-07-22 07:56:27'::timestamp) - extract(epoch from '2026-07-22 07:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321037 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.321006 -2.789303)'))) / (select extract(epoch from '2026-07-22 07:56:27'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47639, 'SRID=4674;POINT (-40.320986 -2.789298)', '2026-07-22 07:56:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321006 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.789298)'))) / (select extract(epoch from '2026-07-22 07:56:35'::timestamp) - extract(epoch from '2026-07-22 07:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321006 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.789298)'))) / (select extract(epoch from '2026-07-22 07:56:35'::timestamp) - extract(epoch from '2026-07-22 07:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.32096 -2.789303)', '2026-07-22 07:56:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.789298)'), GeomFromEWKT('SRID=4674;POINT (-40.32096 -2.789303)'))) / (select extract(epoch from '2026-07-22 07:56:43'::timestamp) - extract(epoch from '2026-07-22 07:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.789298)'), GeomFromEWKT('SRID=4674;POINT (-40.32096 -2.789303)'))) / (select extract(epoch from '2026-07-22 07:56:43'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47639, 'SRID=4674;POINT (-40.320953 -2.789299)', '2026-07-22 07:56:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32096 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.320953 -2.789299)'))) / (select extract(epoch from '2026-07-22 07:56:49'::timestamp) - extract(epoch from '2026-07-22 07:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32096 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.320953 -2.789299)'))) / (select extract(epoch from '2026-07-22 07:56:49'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47639, 'SRID=4674;POINT (-40.32092 -2.789292)', '2026-07-22 07:56:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320953 -2.789299)'), GeomFromEWKT('SRID=4674;POINT (-40.32092 -2.789292)'))) / (select extract(epoch from '2026-07-22 07:56:57'::timestamp) - extract(epoch from '2026-07-22 07:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320953 -2.789299)'), GeomFromEWKT('SRID=4674;POINT (-40.32092 -2.789292)'))) / (select extract(epoch from '2026-07-22 07:56:57'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47639, 'SRID=4674;POINT (-40.320861 -2.789277)', '2026-07-22 07:57:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32092 -2.789292)'), GeomFromEWKT('SRID=4674;POINT (-40.320861 -2.789277)'))) / (select extract(epoch from '2026-07-22 07:57:15'::timestamp) - extract(epoch from '2026-07-22 07:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32092 -2.789292)'), GeomFromEWKT('SRID=4674;POINT (-40.320861 -2.789277)'))) / (select extract(epoch from '2026-07-22 07:57:15'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47639, 'SRID=4674;POINT (-40.320812 -2.789278)', '2026-07-22 07:57:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320861 -2.789277)'), GeomFromEWKT('SRID=4674;POINT (-40.320812 -2.789278)'))) / (select extract(epoch from '2026-07-22 07:57:33'::timestamp) - extract(epoch from '2026-07-22 07:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320861 -2.789277)'), GeomFromEWKT('SRID=4674;POINT (-40.320812 -2.789278)'))) / (select extract(epoch from '2026-07-22 07:57:33'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47639, 'SRID=4674;POINT (-40.320788 -2.789288)', '2026-07-22 07:57:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320812 -2.789278)'), GeomFromEWKT('SRID=4674;POINT (-40.320788 -2.789288)'))) / (select extract(epoch from '2026-07-22 07:57:42'::timestamp) - extract(epoch from '2026-07-22 07:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320812 -2.789278)'), GeomFromEWKT('SRID=4674;POINT (-40.320788 -2.789288)'))) / (select extract(epoch from '2026-07-22 07:57:42'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47639, 'SRID=4674;POINT (-40.320797 -2.789311)', '2026-07-22 07:57:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320788 -2.789288)'), GeomFromEWKT('SRID=4674;POINT (-40.320797 -2.789311)'))) / (select extract(epoch from '2026-07-22 07:57:51'::timestamp) - extract(epoch from '2026-07-22 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320788 -2.789288)'), GeomFromEWKT('SRID=4674;POINT (-40.320797 -2.789311)'))) / (select extract(epoch from '2026-07-22 07:57:51'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47639, 'SRID=4674;POINT (-40.320775 -2.789305)', '2026-07-22 07:58:00', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320797 -2.789311)'), GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.789305)'))) / (select extract(epoch from '2026-07-22 07:58:00'::timestamp) - extract(epoch from '2026-07-22 07:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320797 -2.789311)'), GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.789305)'))) / (select extract(epoch from '2026-07-22 07:58:00'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47639, 'SRID=4674;POINT (-40.320747 -2.789285)', '2026-07-22 07:58:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.789305)'), GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.789285)'))) / (select extract(epoch from '2026-07-22 07:58:14'::timestamp) - extract(epoch from '2026-07-22 07:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320775 -2.789305)'), GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.789285)'))) / (select extract(epoch from '2026-07-22 07:58:14'::timestamp) - extract(epoch from '2026-07-22 07:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.320718 -2.789271)', '2026-07-22 07:58:30', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.789285)'), GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.789271)'))) / (select extract(epoch from '2026-07-22 07:58:30'::timestamp) - extract(epoch from '2026-07-22 07:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.789285)'), GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.789271)'))) / (select extract(epoch from '2026-07-22 07:58:30'::timestamp) - extract(epoch from '2026-07-22 07:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.320707 -2.789267)', '2026-07-22 07:58:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.789271)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.789267)'))) / (select extract(epoch from '2026-07-22 07:58:39'::timestamp) - extract(epoch from '2026-07-22 07:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.789271)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.789267)'))) / (select extract(epoch from '2026-07-22 07:58:39'::timestamp) - extract(epoch from '2026-07-22 07:58: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'), 47639, 'SRID=4674;POINT (-40.320698 -2.78926)', '2026-07-22 07:58:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.789267)'), GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.78926)'))) / (select extract(epoch from '2026-07-22 07:58:51'::timestamp) - extract(epoch from '2026-07-22 07:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.789267)'), GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.78926)'))) / (select extract(epoch from '2026-07-22 07:58:51'::timestamp) - extract(epoch from '2026-07-22 07:58: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'), 47639, 'SRID=4674;POINT (-40.320667 -2.789253)', '2026-07-22 07:59:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.78926)'), GeomFromEWKT('SRID=4674;POINT (-40.320667 -2.789253)'))) / (select extract(epoch from '2026-07-22 07:59:03'::timestamp) - extract(epoch from '2026-07-22 07:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.78926)'), GeomFromEWKT('SRID=4674;POINT (-40.320667 -2.789253)'))) / (select extract(epoch from '2026-07-22 07:59:03'::timestamp) - extract(epoch from '2026-07-22 07:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.320649 -2.789251)', '2026-07-22 07:59:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320667 -2.789253)'), GeomFromEWKT('SRID=4674;POINT (-40.320649 -2.789251)'))) / (select extract(epoch from '2026-07-22 07:59:15'::timestamp) - extract(epoch from '2026-07-22 07:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320667 -2.789253)'), GeomFromEWKT('SRID=4674;POINT (-40.320649 -2.789251)'))) / (select extract(epoch from '2026-07-22 07:59:15'::timestamp) - extract(epoch from '2026-07-22 07:59: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'), 47639, 'SRID=4674;POINT (-40.320607 -2.789247)', '2026-07-22 07:59:27', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320649 -2.789251)'), GeomFromEWKT('SRID=4674;POINT (-40.320607 -2.789247)'))) / (select extract(epoch from '2026-07-22 07:59:27'::timestamp) - extract(epoch from '2026-07-22 07:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320649 -2.789251)'), GeomFromEWKT('SRID=4674;POINT (-40.320607 -2.789247)'))) / (select extract(epoch from '2026-07-22 07:59:27'::timestamp) - extract(epoch from '2026-07-22 07:59: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'), 47639, 'SRID=4674;POINT (-40.320593 -2.789237)', '2026-07-22 07:59:40', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320607 -2.789247)'), GeomFromEWKT('SRID=4674;POINT (-40.320593 -2.789237)'))) / (select extract(epoch from '2026-07-22 07:59:40'::timestamp) - extract(epoch from '2026-07-22 07:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320607 -2.789247)'), GeomFromEWKT('SRID=4674;POINT (-40.320593 -2.789237)'))) / (select extract(epoch from '2026-07-22 07:59:40'::timestamp) - extract(epoch from '2026-07-22 07:59: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'), 47639, 'SRID=4674;POINT (-40.320595 -2.789231)', '2026-07-22 07:59:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320593 -2.789237)'), GeomFromEWKT('SRID=4674;POINT (-40.320595 -2.789231)'))) / (select extract(epoch from '2026-07-22 07:59:52'::timestamp) - extract(epoch from '2026-07-22 07:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320593 -2.789237)'), GeomFromEWKT('SRID=4674;POINT (-40.320595 -2.789231)'))) / (select extract(epoch from '2026-07-22 07:59:52'::timestamp) - extract(epoch from '2026-07-22 07:59: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'), 47639, 'SRID=4674;POINT (-40.320613 -2.789222)', '2026-07-22 08:00:00', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320595 -2.789231)'), GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.789222)'))) / (select extract(epoch from '2026-07-22 08:00:00'::timestamp) - extract(epoch from '2026-07-22 07:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320595 -2.789231)'), GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.789222)'))) / (select extract(epoch from '2026-07-22 08:00:00'::timestamp) - extract(epoch from '2026-07-22 07:59: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'), 47639, 'SRID=4674;POINT (-40.320675 -2.789214)', '2026-07-22 08:00:15', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.789222)'), GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.789214)'))) / (select extract(epoch from '2026-07-22 08:00:15'::timestamp) - extract(epoch from '2026-07-22 08:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320613 -2.789222)'), GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.789214)'))) / (select extract(epoch from '2026-07-22 08:00:15'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47639, 'SRID=4674;POINT (-40.320739 -2.789187)', '2026-07-22 08:00:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.789187)'))) / (select extract(epoch from '2026-07-22 08:00:31'::timestamp) - extract(epoch from '2026-07-22 08:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.789187)'))) / (select extract(epoch from '2026-07-22 08:00:31'::timestamp) - extract(epoch from '2026-07-22 08:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.320807 -2.789144)', '2026-07-22 08:00:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.789187)'), GeomFromEWKT('SRID=4674;POINT (-40.320807 -2.789144)'))) / (select extract(epoch from '2026-07-22 08:00:49'::timestamp) - extract(epoch from '2026-07-22 08:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.789187)'), GeomFromEWKT('SRID=4674;POINT (-40.320807 -2.789144)'))) / (select extract(epoch from '2026-07-22 08:00:49'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47639, 'SRID=4674;POINT (-40.320792 -2.789014)', '2026-07-22 08:00:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320807 -2.789144)'), GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.789014)'))) / (select extract(epoch from '2026-07-22 08:00:59'::timestamp) - extract(epoch from '2026-07-22 08:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320807 -2.789144)'), GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.789014)'))) / (select extract(epoch from '2026-07-22 08:00:59'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47639, 'SRID=4674;POINT (-40.320713 -2.788894)', '2026-07-22 08:01:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.789014)'), GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.788894)'))) / (select extract(epoch from '2026-07-22 08:01:06'::timestamp) - extract(epoch from '2026-07-22 08:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320792 -2.789014)'), GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.788894)'))) / (select extract(epoch from '2026-07-22 08:01:06'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47639, 'SRID=4674;POINT (-40.320641 -2.788744)', '2026-07-22 08:01:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.788894)'), GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.788744)'))) / (select extract(epoch from '2026-07-22 08:01:15'::timestamp) - extract(epoch from '2026-07-22 08:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.788894)'), GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.788744)'))) / (select extract(epoch from '2026-07-22 08:01:15'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.320683 -2.788633)', '2026-07-22 08:01:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.788744)'), GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.788633)'))) / (select extract(epoch from '2026-07-22 08:01:21'::timestamp) - extract(epoch from '2026-07-22 08:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320641 -2.788744)'), GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.788633)'))) / (select extract(epoch from '2026-07-22 08:01:21'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.320803 -2.788569)', '2026-07-22 08:01:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.788633)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.788569)'))) / (select extract(epoch from '2026-07-22 08:01:27'::timestamp) - extract(epoch from '2026-07-22 08:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.788633)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.788569)'))) / (select extract(epoch from '2026-07-22 08:01:27'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.320963 -2.788548)', '2026-07-22 08:01:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.788569)'), GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.788548)'))) / (select extract(epoch from '2026-07-22 08:01:35'::timestamp) - extract(epoch from '2026-07-22 08:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.788569)'), GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.788548)'))) / (select extract(epoch from '2026-07-22 08:01:35'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.32109 -2.788448)', '2026-07-22 08:01:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.788548)'), GeomFromEWKT('SRID=4674;POINT (-40.32109 -2.788448)'))) / (select extract(epoch from '2026-07-22 08:01:42'::timestamp) - extract(epoch from '2026-07-22 08:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320963 -2.788548)'), GeomFromEWKT('SRID=4674;POINT (-40.32109 -2.788448)'))) / (select extract(epoch from '2026-07-22 08:01:42'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.321159 -2.788299)', '2026-07-22 08:01:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32109 -2.788448)'), GeomFromEWKT('SRID=4674;POINT (-40.321159 -2.788299)'))) / (select extract(epoch from '2026-07-22 08:01:50'::timestamp) - extract(epoch from '2026-07-22 08:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32109 -2.788448)'), GeomFromEWKT('SRID=4674;POINT (-40.321159 -2.788299)'))) / (select extract(epoch from '2026-07-22 08:01:50'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.321285 -2.788138)', '2026-07-22 08:01:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321159 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.321285 -2.788138)'))) / (select extract(epoch from '2026-07-22 08:01:59'::timestamp) - extract(epoch from '2026-07-22 08:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321159 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.321285 -2.788138)'))) / (select extract(epoch from '2026-07-22 08:01:59'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.321391 -2.788022)', '2026-07-22 08:02:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321285 -2.788138)'), GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.788022)'))) / (select extract(epoch from '2026-07-22 08:02:06'::timestamp) - extract(epoch from '2026-07-22 08:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321285 -2.788138)'), GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.788022)'))) / (select extract(epoch from '2026-07-22 08:02:06'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47639, 'SRID=4674;POINT (-40.321485 -2.787873)', '2026-07-22 08:02:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.788022)'), GeomFromEWKT('SRID=4674;POINT (-40.321485 -2.787873)'))) / (select extract(epoch from '2026-07-22 08:02:14'::timestamp) - extract(epoch from '2026-07-22 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.788022)'), GeomFromEWKT('SRID=4674;POINT (-40.321485 -2.787873)'))) / (select extract(epoch from '2026-07-22 08:02:14'::timestamp) - extract(epoch from '2026-07-22 08:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321585 -2.787734)', '2026-07-22 08:02:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321485 -2.787873)'), GeomFromEWKT('SRID=4674;POINT (-40.321585 -2.787734)'))) / (select extract(epoch from '2026-07-22 08:02:21'::timestamp) - extract(epoch from '2026-07-22 08:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321485 -2.787873)'), GeomFromEWKT('SRID=4674;POINT (-40.321585 -2.787734)'))) / (select extract(epoch from '2026-07-22 08:02:21'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47639, 'SRID=4674;POINT (-40.321717 -2.787598)', '2026-07-22 08:02:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321585 -2.787734)'), GeomFromEWKT('SRID=4674;POINT (-40.321717 -2.787598)'))) / (select extract(epoch from '2026-07-22 08:02:30'::timestamp) - extract(epoch from '2026-07-22 08:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321585 -2.787734)'), GeomFromEWKT('SRID=4674;POINT (-40.321717 -2.787598)'))) / (select extract(epoch from '2026-07-22 08:02:30'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47639, 'SRID=4674;POINT (-40.321843 -2.787534)', '2026-07-22 08:02:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321717 -2.787598)'), GeomFromEWKT('SRID=4674;POINT (-40.321843 -2.787534)'))) / (select extract(epoch from '2026-07-22 08:02:37'::timestamp) - extract(epoch from '2026-07-22 08:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321717 -2.787598)'), GeomFromEWKT('SRID=4674;POINT (-40.321843 -2.787534)'))) / (select extract(epoch from '2026-07-22 08:02:37'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47639, 'SRID=4674;POINT (-40.321978 -2.787448)', '2026-07-22 08:02:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321843 -2.787534)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.787448)'))) / (select extract(epoch from '2026-07-22 08:02:45'::timestamp) - extract(epoch from '2026-07-22 08:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321843 -2.787534)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.787448)'))) / (select extract(epoch from '2026-07-22 08:02:45'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47639, 'SRID=4674;POINT (-40.322113 -2.787306)', '2026-07-22 08:02:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.787448)'), GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.787306)'))) / (select extract(epoch from '2026-07-22 08:02:54'::timestamp) - extract(epoch from '2026-07-22 08:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.787448)'), GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.787306)'))) / (select extract(epoch from '2026-07-22 08:02:54'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47639, 'SRID=4674;POINT (-40.3222 -2.787229)', '2026-07-22 08:03:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.787306)'), GeomFromEWKT('SRID=4674;POINT (-40.3222 -2.787229)'))) / (select extract(epoch from '2026-07-22 08:03:00'::timestamp) - extract(epoch from '2026-07-22 08:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.787306)'), GeomFromEWKT('SRID=4674;POINT (-40.3222 -2.787229)'))) / (select extract(epoch from '2026-07-22 08:03:00'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47639, 'SRID=4674;POINT (-40.322388 -2.787116)', '2026-07-22 08:03:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3222 -2.787229)'), GeomFromEWKT('SRID=4674;POINT (-40.322388 -2.787116)'))) / (select extract(epoch from '2026-07-22 08:03:08'::timestamp) - extract(epoch from '2026-07-22 08:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3222 -2.787229)'), GeomFromEWKT('SRID=4674;POINT (-40.322388 -2.787116)'))) / (select extract(epoch from '2026-07-22 08:03:08'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.322506 -2.786964)', '2026-07-22 08:03:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322388 -2.787116)'), GeomFromEWKT('SRID=4674;POINT (-40.322506 -2.786964)'))) / (select extract(epoch from '2026-07-22 08:03:17'::timestamp) - extract(epoch from '2026-07-22 08:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322388 -2.787116)'), GeomFromEWKT('SRID=4674;POINT (-40.322506 -2.786964)'))) / (select extract(epoch from '2026-07-22 08:03:17'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.322584 -2.786805)', '2026-07-22 08:03:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322506 -2.786964)'), GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.786805)'))) / (select extract(epoch from '2026-07-22 08:03:25'::timestamp) - extract(epoch from '2026-07-22 08:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322506 -2.786964)'), GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.786805)'))) / (select extract(epoch from '2026-07-22 08:03:25'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.322618 -2.786639)', '2026-07-22 08:03:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.322618 -2.786639)'))) / (select extract(epoch from '2026-07-22 08:03:33'::timestamp) - extract(epoch from '2026-07-22 08:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.322618 -2.786639)'))) / (select extract(epoch from '2026-07-22 08:03:33'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.322681 -2.786463)', '2026-07-22 08:03:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322618 -2.786639)'), GeomFromEWKT('SRID=4674;POINT (-40.322681 -2.786463)'))) / (select extract(epoch from '2026-07-22 08:03:42'::timestamp) - extract(epoch from '2026-07-22 08:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322618 -2.786639)'), GeomFromEWKT('SRID=4674;POINT (-40.322681 -2.786463)'))) / (select extract(epoch from '2026-07-22 08:03:42'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.322776 -2.786354)', '2026-07-22 08:03:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322681 -2.786463)'), GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.786354)'))) / (select extract(epoch from '2026-07-22 08:03:49'::timestamp) - extract(epoch from '2026-07-22 08:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322681 -2.786463)'), GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.786354)'))) / (select extract(epoch from '2026-07-22 08:03:49'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.322903 -2.786212)', '2026-07-22 08:03:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.786354)'), GeomFromEWKT('SRID=4674;POINT (-40.322903 -2.786212)'))) / (select extract(epoch from '2026-07-22 08:03:57'::timestamp) - extract(epoch from '2026-07-22 08:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.786354)'), GeomFromEWKT('SRID=4674;POINT (-40.322903 -2.786212)'))) / (select extract(epoch from '2026-07-22 08:03:57'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.323015 -2.786065)', '2026-07-22 08:04:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322903 -2.786212)'), GeomFromEWKT('SRID=4674;POINT (-40.323015 -2.786065)'))) / (select extract(epoch from '2026-07-22 08:04:05'::timestamp) - extract(epoch from '2026-07-22 08:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322903 -2.786212)'), GeomFromEWKT('SRID=4674;POINT (-40.323015 -2.786065)'))) / (select extract(epoch from '2026-07-22 08:04:05'::timestamp) - extract(epoch from '2026-07-22 08:03: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'), 47639, 'SRID=4674;POINT (-40.323104 -2.785972)', '2026-07-22 08:04:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323015 -2.786065)'), GeomFromEWKT('SRID=4674;POINT (-40.323104 -2.785972)'))) / (select extract(epoch from '2026-07-22 08:04:12'::timestamp) - extract(epoch from '2026-07-22 08:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323015 -2.786065)'), GeomFromEWKT('SRID=4674;POINT (-40.323104 -2.785972)'))) / (select extract(epoch from '2026-07-22 08:04:12'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47639, 'SRID=4674;POINT (-40.323196 -2.785829)', '2026-07-22 08:04:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323104 -2.785972)'), GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.785829)'))) / (select extract(epoch from '2026-07-22 08:04:20'::timestamp) - extract(epoch from '2026-07-22 08:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323104 -2.785972)'), GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.785829)'))) / (select extract(epoch from '2026-07-22 08:04:20'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47639, 'SRID=4674;POINT (-40.323245 -2.785692)', '2026-07-22 08:04:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.785829)'), GeomFromEWKT('SRID=4674;POINT (-40.323245 -2.785692)'))) / (select extract(epoch from '2026-07-22 08:04:27'::timestamp) - extract(epoch from '2026-07-22 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.785829)'), GeomFromEWKT('SRID=4674;POINT (-40.323245 -2.785692)'))) / (select extract(epoch from '2026-07-22 08:04:27'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47639, 'SRID=4674;POINT (-40.323307 -2.785555)', '2026-07-22 08:04:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323245 -2.785692)'), GeomFromEWKT('SRID=4674;POINT (-40.323307 -2.785555)'))) / (select extract(epoch from '2026-07-22 08:04:34'::timestamp) - extract(epoch from '2026-07-22 08:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323245 -2.785692)'), GeomFromEWKT('SRID=4674;POINT (-40.323307 -2.785555)'))) / (select extract(epoch from '2026-07-22 08:04:34'::timestamp) - extract(epoch from '2026-07-22 08:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.323383 -2.785372)', '2026-07-22 08:04:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323307 -2.785555)'), GeomFromEWKT('SRID=4674;POINT (-40.323383 -2.785372)'))) / (select extract(epoch from '2026-07-22 08:04:43'::timestamp) - extract(epoch from '2026-07-22 08:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323307 -2.785555)'), GeomFromEWKT('SRID=4674;POINT (-40.323383 -2.785372)'))) / (select extract(epoch from '2026-07-22 08:04:43'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47639, 'SRID=4674;POINT (-40.323457 -2.78521)', '2026-07-22 08:04:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323383 -2.785372)'), GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.78521)'))) / (select extract(epoch from '2026-07-22 08:04:51'::timestamp) - extract(epoch from '2026-07-22 08:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323383 -2.785372)'), GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.78521)'))) / (select extract(epoch from '2026-07-22 08:04:51'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47639, 'SRID=4674;POINT (-40.323517 -2.785062)', '2026-07-22 08:04:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.78521)'), GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.785062)'))) / (select extract(epoch from '2026-07-22 08:04:58'::timestamp) - extract(epoch from '2026-07-22 08:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.78521)'), GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.785062)'))) / (select extract(epoch from '2026-07-22 08:04:58'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47639, 'SRID=4674;POINT (-40.323547 -2.784941)', '2026-07-22 08:05:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.785062)'), GeomFromEWKT('SRID=4674;POINT (-40.323547 -2.784941)'))) / (select extract(epoch from '2026-07-22 08:05:04'::timestamp) - extract(epoch from '2026-07-22 08:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.785062)'), GeomFromEWKT('SRID=4674;POINT (-40.323547 -2.784941)'))) / (select extract(epoch from '2026-07-22 08:05:04'::timestamp) - extract(epoch from '2026-07-22 08:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.323599 -2.784794)', '2026-07-22 08:05:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323547 -2.784941)'), GeomFromEWKT('SRID=4674;POINT (-40.323599 -2.784794)'))) / (select extract(epoch from '2026-07-22 08:05:12'::timestamp) - extract(epoch from '2026-07-22 08:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323547 -2.784941)'), GeomFromEWKT('SRID=4674;POINT (-40.323599 -2.784794)'))) / (select extract(epoch from '2026-07-22 08:05:12'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47639, 'SRID=4674;POINT (-40.323685 -2.784638)', '2026-07-22 08:05:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323599 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.323685 -2.784638)'))) / (select extract(epoch from '2026-07-22 08:05:20'::timestamp) - extract(epoch from '2026-07-22 08:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323599 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.323685 -2.784638)'))) / (select extract(epoch from '2026-07-22 08:05:20'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47639, 'SRID=4674;POINT (-40.323772 -2.784492)', '2026-07-22 08:05:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323685 -2.784638)'), GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.784492)'))) / (select extract(epoch from '2026-07-22 08:05:28'::timestamp) - extract(epoch from '2026-07-22 08:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323685 -2.784638)'), GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.784492)'))) / (select extract(epoch from '2026-07-22 08:05:28'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47639, 'SRID=4674;POINT (-40.323838 -2.784328)', '2026-07-22 08:05:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.784492)'), GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.784328)'))) / (select extract(epoch from '2026-07-22 08:05:36'::timestamp) - extract(epoch from '2026-07-22 08:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323772 -2.784492)'), GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.784328)'))) / (select extract(epoch from '2026-07-22 08:05:36'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47639, 'SRID=4674;POINT (-40.323913 -2.784193)', '2026-07-22 08:05:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.784328)'), GeomFromEWKT('SRID=4674;POINT (-40.323913 -2.784193)'))) / (select extract(epoch from '2026-07-22 08:05:43'::timestamp) - extract(epoch from '2026-07-22 08:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.784328)'), GeomFromEWKT('SRID=4674;POINT (-40.323913 -2.784193)'))) / (select extract(epoch from '2026-07-22 08:05:43'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47639, 'SRID=4674;POINT (-40.323991 -2.784018)', '2026-07-22 08:05:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323913 -2.784193)'), GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.784018)'))) / (select extract(epoch from '2026-07-22 08:05:52'::timestamp) - extract(epoch from '2026-07-22 08:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323913 -2.784193)'), GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.784018)'))) / (select extract(epoch from '2026-07-22 08:05:52'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47639, 'SRID=4674;POINT (-40.324055 -2.783835)', '2026-07-22 08:06:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.784018)'), GeomFromEWKT('SRID=4674;POINT (-40.324055 -2.783835)'))) / (select extract(epoch from '2026-07-22 08:06:01'::timestamp) - extract(epoch from '2026-07-22 08:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323991 -2.784018)'), GeomFromEWKT('SRID=4674;POINT (-40.324055 -2.783835)'))) / (select extract(epoch from '2026-07-22 08:06:01'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47639, 'SRID=4674;POINT (-40.324113 -2.783643)', '2026-07-22 08:06:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324055 -2.783835)'), GeomFromEWKT('SRID=4674;POINT (-40.324113 -2.783643)'))) / (select extract(epoch from '2026-07-22 08:06:10'::timestamp) - extract(epoch from '2026-07-22 08:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324055 -2.783835)'), GeomFromEWKT('SRID=4674;POINT (-40.324113 -2.783643)'))) / (select extract(epoch from '2026-07-22 08:06:10'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47639, 'SRID=4674;POINT (-40.324202 -2.783462)', '2026-07-22 08:06:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324113 -2.783643)'), GeomFromEWKT('SRID=4674;POINT (-40.324202 -2.783462)'))) / (select extract(epoch from '2026-07-22 08:06:19'::timestamp) - extract(epoch from '2026-07-22 08:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324113 -2.783643)'), GeomFromEWKT('SRID=4674;POINT (-40.324202 -2.783462)'))) / (select extract(epoch from '2026-07-22 08:06:19'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47639, 'SRID=4674;POINT (-40.324238 -2.783332)', '2026-07-22 08:06:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324202 -2.783462)'), GeomFromEWKT('SRID=4674;POINT (-40.324238 -2.783332)'))) / (select extract(epoch from '2026-07-22 08:06:26'::timestamp) - extract(epoch from '2026-07-22 08:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324202 -2.783462)'), GeomFromEWKT('SRID=4674;POINT (-40.324238 -2.783332)'))) / (select extract(epoch from '2026-07-22 08:06:26'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47639, 'SRID=4674;POINT (-40.324275 -2.783185)', '2026-07-22 08:06:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324238 -2.783332)'), GeomFromEWKT('SRID=4674;POINT (-40.324275 -2.783185)'))) / (select extract(epoch from '2026-07-22 08:06:33'::timestamp) - extract(epoch from '2026-07-22 08:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324238 -2.783332)'), GeomFromEWKT('SRID=4674;POINT (-40.324275 -2.783185)'))) / (select extract(epoch from '2026-07-22 08:06:33'::timestamp) - extract(epoch from '2026-07-22 08:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.324354 -2.783037)', '2026-07-22 08:06:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324275 -2.783185)'), GeomFromEWKT('SRID=4674;POINT (-40.324354 -2.783037)'))) / (select extract(epoch from '2026-07-22 08:06:41'::timestamp) - extract(epoch from '2026-07-22 08:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324275 -2.783185)'), GeomFromEWKT('SRID=4674;POINT (-40.324354 -2.783037)'))) / (select extract(epoch from '2026-07-22 08:06:41'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47639, 'SRID=4674;POINT (-40.324452 -2.782853)', '2026-07-22 08:06:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324354 -2.783037)'), GeomFromEWKT('SRID=4674;POINT (-40.324452 -2.782853)'))) / (select extract(epoch from '2026-07-22 08:06:51'::timestamp) - extract(epoch from '2026-07-22 08:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324354 -2.783037)'), GeomFromEWKT('SRID=4674;POINT (-40.324452 -2.782853)'))) / (select extract(epoch from '2026-07-22 08:06:51'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47639, 'SRID=4674;POINT (-40.324463 -2.7827)', '2026-07-22 08:06:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324452 -2.782853)'), GeomFromEWKT('SRID=4674;POINT (-40.324463 -2.7827)'))) / (select extract(epoch from '2026-07-22 08:06:59'::timestamp) - extract(epoch from '2026-07-22 08:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324452 -2.782853)'), GeomFromEWKT('SRID=4674;POINT (-40.324463 -2.7827)'))) / (select extract(epoch from '2026-07-22 08:06:59'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47639, 'SRID=4674;POINT (-40.324471 -2.782526)', '2026-07-22 08:07:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324463 -2.7827)'), GeomFromEWKT('SRID=4674;POINT (-40.324471 -2.782526)'))) / (select extract(epoch from '2026-07-22 08:07:08'::timestamp) - extract(epoch from '2026-07-22 08:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324463 -2.7827)'), GeomFromEWKT('SRID=4674;POINT (-40.324471 -2.782526)'))) / (select extract(epoch from '2026-07-22 08:07:08'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47639, 'SRID=4674;POINT (-40.324504 -2.782331)', '2026-07-22 08:07:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324471 -2.782526)'), GeomFromEWKT('SRID=4674;POINT (-40.324504 -2.782331)'))) / (select extract(epoch from '2026-07-22 08:07:17'::timestamp) - extract(epoch from '2026-07-22 08:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324471 -2.782526)'), GeomFromEWKT('SRID=4674;POINT (-40.324504 -2.782331)'))) / (select extract(epoch from '2026-07-22 08:07:17'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47639, 'SRID=4674;POINT (-40.324557 -2.782178)', '2026-07-22 08:07:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324504 -2.782331)'), GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.782178)'))) / (select extract(epoch from '2026-07-22 08:07:25'::timestamp) - extract(epoch from '2026-07-22 08:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324504 -2.782331)'), GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.782178)'))) / (select extract(epoch from '2026-07-22 08:07:25'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47639, 'SRID=4674;POINT (-40.32455 -2.782008)', '2026-07-22 08:07:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.782178)'), GeomFromEWKT('SRID=4674;POINT (-40.32455 -2.782008)'))) / (select extract(epoch from '2026-07-22 08:07:33'::timestamp) - extract(epoch from '2026-07-22 08:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.782178)'), GeomFromEWKT('SRID=4674;POINT (-40.32455 -2.782008)'))) / (select extract(epoch from '2026-07-22 08:07:33'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47639, 'SRID=4674;POINT (-40.324579 -2.781859)', '2026-07-22 08:07:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32455 -2.782008)'), GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.781859)'))) / (select extract(epoch from '2026-07-22 08:07:41'::timestamp) - extract(epoch from '2026-07-22 08:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32455 -2.782008)'), GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.781859)'))) / (select extract(epoch from '2026-07-22 08:07:41'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47639, 'SRID=4674;POINT (-40.324615 -2.781732)', '2026-07-22 08:07:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.781859)'), GeomFromEWKT('SRID=4674;POINT (-40.324615 -2.781732)'))) / (select extract(epoch from '2026-07-22 08:07:48'::timestamp) - extract(epoch from '2026-07-22 08:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324579 -2.781859)'), GeomFromEWKT('SRID=4674;POINT (-40.324615 -2.781732)'))) / (select extract(epoch from '2026-07-22 08:07:48'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47639, 'SRID=4674;POINT (-40.324643 -2.781571)', '2026-07-22 08:07:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324615 -2.781732)'), GeomFromEWKT('SRID=4674;POINT (-40.324643 -2.781571)'))) / (select extract(epoch from '2026-07-22 08:07:56'::timestamp) - extract(epoch from '2026-07-22 08:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324615 -2.781732)'), GeomFromEWKT('SRID=4674;POINT (-40.324643 -2.781571)'))) / (select extract(epoch from '2026-07-22 08:07:56'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47639, 'SRID=4674;POINT (-40.324688 -2.78143)', '2026-07-22 08:08:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324643 -2.781571)'), GeomFromEWKT('SRID=4674;POINT (-40.324688 -2.78143)'))) / (select extract(epoch from '2026-07-22 08:08:03'::timestamp) - extract(epoch from '2026-07-22 08:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324643 -2.781571)'), GeomFromEWKT('SRID=4674;POINT (-40.324688 -2.78143)'))) / (select extract(epoch from '2026-07-22 08:08:03'::timestamp) - extract(epoch from '2026-07-22 08:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.324766 -2.781277)', '2026-07-22 08:08:11', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324688 -2.78143)'), GeomFromEWKT('SRID=4674;POINT (-40.324766 -2.781277)'))) / (select extract(epoch from '2026-07-22 08:08:11'::timestamp) - extract(epoch from '2026-07-22 08:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324688 -2.78143)'), GeomFromEWKT('SRID=4674;POINT (-40.324766 -2.781277)'))) / (select extract(epoch from '2026-07-22 08:08:11'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47639, 'SRID=4674;POINT (-40.324767 -2.781132)', '2026-07-22 08:08:19', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324766 -2.781277)'), GeomFromEWKT('SRID=4674;POINT (-40.324767 -2.781132)'))) / (select extract(epoch from '2026-07-22 08:08:19'::timestamp) - extract(epoch from '2026-07-22 08:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324766 -2.781277)'), GeomFromEWKT('SRID=4674;POINT (-40.324767 -2.781132)'))) / (select extract(epoch from '2026-07-22 08:08:19'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47639, 'SRID=4674;POINT (-40.324764 -2.781024)', '2026-07-22 08:08:25', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324767 -2.781132)'), GeomFromEWKT('SRID=4674;POINT (-40.324764 -2.781024)'))) / (select extract(epoch from '2026-07-22 08:08:25'::timestamp) - extract(epoch from '2026-07-22 08:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324767 -2.781132)'), GeomFromEWKT('SRID=4674;POINT (-40.324764 -2.781024)'))) / (select extract(epoch from '2026-07-22 08:08:25'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47639, 'SRID=4674;POINT (-40.324786 -2.780871)', '2026-07-22 08:08:33', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324764 -2.781024)'), GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.780871)'))) / (select extract(epoch from '2026-07-22 08:08:33'::timestamp) - extract(epoch from '2026-07-22 08:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324764 -2.781024)'), GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.780871)'))) / (select extract(epoch from '2026-07-22 08:08:33'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47639, 'SRID=4674;POINT (-40.324797 -2.780687)', '2026-07-22 08:08:42', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.780871)'), GeomFromEWKT('SRID=4674;POINT (-40.324797 -2.780687)'))) / (select extract(epoch from '2026-07-22 08:08:42'::timestamp) - extract(epoch from '2026-07-22 08:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324786 -2.780871)'), GeomFromEWKT('SRID=4674;POINT (-40.324797 -2.780687)'))) / (select extract(epoch from '2026-07-22 08:08:42'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47639, 'SRID=4674;POINT (-40.324816 -2.780478)', '2026-07-22 08:08:52', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324797 -2.780687)'), GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.780478)'))) / (select extract(epoch from '2026-07-22 08:08:52'::timestamp) - extract(epoch from '2026-07-22 08:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324797 -2.780687)'), GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.780478)'))) / (select extract(epoch from '2026-07-22 08:08:52'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47639, 'SRID=4674;POINT (-40.324811 -2.780351)', '2026-07-22 08:08:58', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.780478)'), GeomFromEWKT('SRID=4674;POINT (-40.324811 -2.780351)'))) / (select extract(epoch from '2026-07-22 08:08:58'::timestamp) - extract(epoch from '2026-07-22 08:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.780478)'), GeomFromEWKT('SRID=4674;POINT (-40.324811 -2.780351)'))) / (select extract(epoch from '2026-07-22 08:08:58'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47639, 'SRID=4674;POINT (-40.324818 -2.780185)', '2026-07-22 08:09:06', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324811 -2.780351)'), GeomFromEWKT('SRID=4674;POINT (-40.324818 -2.780185)'))) / (select extract(epoch from '2026-07-22 08:09:06'::timestamp) - extract(epoch from '2026-07-22 08:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324811 -2.780351)'), GeomFromEWKT('SRID=4674;POINT (-40.324818 -2.780185)'))) / (select extract(epoch from '2026-07-22 08:09:06'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.32484 -2.780057)', '2026-07-22 08:09:13', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324818 -2.780185)'), GeomFromEWKT('SRID=4674;POINT (-40.32484 -2.780057)'))) / (select extract(epoch from '2026-07-22 08:09:13'::timestamp) - extract(epoch from '2026-07-22 08:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324818 -2.780185)'), GeomFromEWKT('SRID=4674;POINT (-40.32484 -2.780057)'))) / (select extract(epoch from '2026-07-22 08:09:13'::timestamp) - extract(epoch from '2026-07-22 08:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.324864 -2.779922)', '2026-07-22 08:09:20', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32484 -2.780057)'), GeomFromEWKT('SRID=4674;POINT (-40.324864 -2.779922)'))) / (select extract(epoch from '2026-07-22 08:09:20'::timestamp) - extract(epoch from '2026-07-22 08:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32484 -2.780057)'), GeomFromEWKT('SRID=4674;POINT (-40.324864 -2.779922)'))) / (select extract(epoch from '2026-07-22 08:09:20'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47639, 'SRID=4674;POINT (-40.324856 -2.779782)', '2026-07-22 08:09:27', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324864 -2.779922)'), GeomFromEWKT('SRID=4674;POINT (-40.324856 -2.779782)'))) / (select extract(epoch from '2026-07-22 08:09:27'::timestamp) - extract(epoch from '2026-07-22 08:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324864 -2.779922)'), GeomFromEWKT('SRID=4674;POINT (-40.324856 -2.779782)'))) / (select extract(epoch from '2026-07-22 08:09:27'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47639, 'SRID=4674;POINT (-40.324863 -2.77967)', '2026-07-22 08:09:33', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324856 -2.779782)'), GeomFromEWKT('SRID=4674;POINT (-40.324863 -2.77967)'))) / (select extract(epoch from '2026-07-22 08:09:33'::timestamp) - extract(epoch from '2026-07-22 08:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324856 -2.779782)'), GeomFromEWKT('SRID=4674;POINT (-40.324863 -2.77967)'))) / (select extract(epoch from '2026-07-22 08:09:33'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47639, 'SRID=4674;POINT (-40.324862 -2.779524)', '2026-07-22 08:09:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324863 -2.77967)'), GeomFromEWKT('SRID=4674;POINT (-40.324862 -2.779524)'))) / (select extract(epoch from '2026-07-22 08:09:40'::timestamp) - extract(epoch from '2026-07-22 08:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324863 -2.77967)'), GeomFromEWKT('SRID=4674;POINT (-40.324862 -2.779524)'))) / (select extract(epoch from '2026-07-22 08:09:40'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47639, 'SRID=4674;POINT (-40.324866 -2.779382)', '2026-07-22 08:09:47', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324862 -2.779524)'), GeomFromEWKT('SRID=4674;POINT (-40.324866 -2.779382)'))) / (select extract(epoch from '2026-07-22 08:09:47'::timestamp) - extract(epoch from '2026-07-22 08:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324862 -2.779524)'), GeomFromEWKT('SRID=4674;POINT (-40.324866 -2.779382)'))) / (select extract(epoch from '2026-07-22 08:09:47'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47639, 'SRID=4674;POINT (-40.32488 -2.779222)', '2026-07-22 08:09:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324866 -2.779382)'), GeomFromEWKT('SRID=4674;POINT (-40.32488 -2.779222)'))) / (select extract(epoch from '2026-07-22 08:09:55'::timestamp) - extract(epoch from '2026-07-22 08:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324866 -2.779382)'), GeomFromEWKT('SRID=4674;POINT (-40.32488 -2.779222)'))) / (select extract(epoch from '2026-07-22 08:09:55'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.324901 -2.779103)', '2026-07-22 08:10:02', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32488 -2.779222)'), GeomFromEWKT('SRID=4674;POINT (-40.324901 -2.779103)'))) / (select extract(epoch from '2026-07-22 08:10:02'::timestamp) - extract(epoch from '2026-07-22 08:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32488 -2.779222)'), GeomFromEWKT('SRID=4674;POINT (-40.324901 -2.779103)'))) / (select extract(epoch from '2026-07-22 08:10:02'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47639, 'SRID=4674;POINT (-40.32492 -2.778959)', '2026-07-22 08:10:09', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324901 -2.779103)'), GeomFromEWKT('SRID=4674;POINT (-40.32492 -2.778959)'))) / (select extract(epoch from '2026-07-22 08:10:09'::timestamp) - extract(epoch from '2026-07-22 08:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324901 -2.779103)'), GeomFromEWKT('SRID=4674;POINT (-40.32492 -2.778959)'))) / (select extract(epoch from '2026-07-22 08:10:09'::timestamp) - extract(epoch from '2026-07-22 08:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.324941 -2.778818)', '2026-07-22 08:10:16', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32492 -2.778959)'), GeomFromEWKT('SRID=4674;POINT (-40.324941 -2.778818)'))) / (select extract(epoch from '2026-07-22 08:10:16'::timestamp) - extract(epoch from '2026-07-22 08:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32492 -2.778959)'), GeomFromEWKT('SRID=4674;POINT (-40.324941 -2.778818)'))) / (select extract(epoch from '2026-07-22 08:10:16'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47639, 'SRID=4674;POINT (-40.324965 -2.778679)', '2026-07-22 08:10:23', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324941 -2.778818)'), GeomFromEWKT('SRID=4674;POINT (-40.324965 -2.778679)'))) / (select extract(epoch from '2026-07-22 08:10:23'::timestamp) - extract(epoch from '2026-07-22 08:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324941 -2.778818)'), GeomFromEWKT('SRID=4674;POINT (-40.324965 -2.778679)'))) / (select extract(epoch from '2026-07-22 08:10:23'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47639, 'SRID=4674;POINT (-40.324974 -2.778546)', '2026-07-22 08:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324965 -2.778679)'), GeomFromEWKT('SRID=4674;POINT (-40.324974 -2.778546)'))) / (select extract(epoch from '2026-07-22 08:10:30'::timestamp) - extract(epoch from '2026-07-22 08:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324965 -2.778679)'), GeomFromEWKT('SRID=4674;POINT (-40.324974 -2.778546)'))) / (select extract(epoch from '2026-07-22 08:10:30'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.324961 -2.778414)', '2026-07-22 08:10:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324974 -2.778546)'), GeomFromEWKT('SRID=4674;POINT (-40.324961 -2.778414)'))) / (select extract(epoch from '2026-07-22 08:10:37'::timestamp) - extract(epoch from '2026-07-22 08:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324974 -2.778546)'), GeomFromEWKT('SRID=4674;POINT (-40.324961 -2.778414)'))) / (select extract(epoch from '2026-07-22 08:10:37'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47639, 'SRID=4674;POINT (-40.324894 -2.778292)', '2026-07-22 08:10:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324961 -2.778414)'), GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.778292)'))) / (select extract(epoch from '2026-07-22 08:10:45'::timestamp) - extract(epoch from '2026-07-22 08:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324961 -2.778414)'), GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.778292)'))) / (select extract(epoch from '2026-07-22 08:10:45'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47639, 'SRID=4674;POINT (-40.324816 -2.778187)', '2026-07-22 08:10:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.778292)'), GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.778187)'))) / (select extract(epoch from '2026-07-22 08:10:53'::timestamp) - extract(epoch from '2026-07-22 08:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324894 -2.778292)'), GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.778187)'))) / (select extract(epoch from '2026-07-22 08:10:53'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47639, 'SRID=4674;POINT (-40.32474 -2.778097)', '2026-07-22 08:11:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.778187)'), GeomFromEWKT('SRID=4674;POINT (-40.32474 -2.778097)'))) / (select extract(epoch from '2026-07-22 08:11:01'::timestamp) - extract(epoch from '2026-07-22 08:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324816 -2.778187)'), GeomFromEWKT('SRID=4674;POINT (-40.32474 -2.778097)'))) / (select extract(epoch from '2026-07-22 08:11:01'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.324657 -2.777995)', '2026-07-22 08:11:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32474 -2.778097)'), GeomFromEWKT('SRID=4674;POINT (-40.324657 -2.777995)'))) / (select extract(epoch from '2026-07-22 08:11:09'::timestamp) - extract(epoch from '2026-07-22 08:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32474 -2.778097)'), GeomFromEWKT('SRID=4674;POINT (-40.324657 -2.777995)'))) / (select extract(epoch from '2026-07-22 08:11:09'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.324594 -2.777881)', '2026-07-22 08:11:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324657 -2.777995)'), GeomFromEWKT('SRID=4674;POINT (-40.324594 -2.777881)'))) / (select extract(epoch from '2026-07-22 08:11:17'::timestamp) - extract(epoch from '2026-07-22 08:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324657 -2.777995)'), GeomFromEWKT('SRID=4674;POINT (-40.324594 -2.777881)'))) / (select extract(epoch from '2026-07-22 08:11:17'::timestamp) - extract(epoch from '2026-07-22 08:11: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'), 47639, 'SRID=4674;POINT (-40.324543 -2.777756)', '2026-07-22 08:11:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324594 -2.777881)'), GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777756)'))) / (select extract(epoch from '2026-07-22 08:11:25'::timestamp) - extract(epoch from '2026-07-22 08:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324594 -2.777881)'), GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777756)'))) / (select extract(epoch from '2026-07-22 08:11:25'::timestamp) - extract(epoch from '2026-07-22 08:11: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'), 47639, 'SRID=4674;POINT (-40.324478 -2.777676)', '2026-07-22 08:11:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777756)'), GeomFromEWKT('SRID=4674;POINT (-40.324478 -2.777676)'))) / (select extract(epoch from '2026-07-22 08:11:31'::timestamp) - extract(epoch from '2026-07-22 08:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777756)'), GeomFromEWKT('SRID=4674;POINT (-40.324478 -2.777676)'))) / (select extract(epoch from '2026-07-22 08:11:31'::timestamp) - extract(epoch from '2026-07-22 08:11: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'), 47639, 'SRID=4674;POINT (-40.324413 -2.77753)', '2026-07-22 08:11:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324478 -2.777676)'), GeomFromEWKT('SRID=4674;POINT (-40.324413 -2.77753)'))) / (select extract(epoch from '2026-07-22 08:11:40'::timestamp) - extract(epoch from '2026-07-22 08:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324478 -2.777676)'), GeomFromEWKT('SRID=4674;POINT (-40.324413 -2.77753)'))) / (select extract(epoch from '2026-07-22 08:11:40'::timestamp) - extract(epoch from '2026-07-22 08:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.324364 -2.77739)', '2026-07-22 08:11:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324413 -2.77753)'), GeomFromEWKT('SRID=4674;POINT (-40.324364 -2.77739)'))) / (select extract(epoch from '2026-07-22 08:11:48'::timestamp) - extract(epoch from '2026-07-22 08:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324413 -2.77753)'), GeomFromEWKT('SRID=4674;POINT (-40.324364 -2.77739)'))) / (select extract(epoch from '2026-07-22 08:11:48'::timestamp) - extract(epoch from '2026-07-22 08:11: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'), 47639, 'SRID=4674;POINT (-40.324314 -2.777258)', '2026-07-22 08:11:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324364 -2.77739)'), GeomFromEWKT('SRID=4674;POINT (-40.324314 -2.777258)'))) / (select extract(epoch from '2026-07-22 08:11:56'::timestamp) - extract(epoch from '2026-07-22 08:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324364 -2.77739)'), GeomFromEWKT('SRID=4674;POINT (-40.324314 -2.777258)'))) / (select extract(epoch from '2026-07-22 08:11:56'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.324254 -2.777132)', '2026-07-22 08:12:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324314 -2.777258)'), GeomFromEWKT('SRID=4674;POINT (-40.324254 -2.777132)'))) / (select extract(epoch from '2026-07-22 08:12:04'::timestamp) - extract(epoch from '2026-07-22 08:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324314 -2.777258)'), GeomFromEWKT('SRID=4674;POINT (-40.324254 -2.777132)'))) / (select extract(epoch from '2026-07-22 08:12:04'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47639, 'SRID=4674;POINT (-40.324207 -2.777031)', '2026-07-22 08:12:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324254 -2.777132)'), GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777031)'))) / (select extract(epoch from '2026-07-22 08:12:11'::timestamp) - extract(epoch from '2026-07-22 08:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324254 -2.777132)'), GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777031)'))) / (select extract(epoch from '2026-07-22 08:12:11'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47639, 'SRID=4674;POINT (-40.324136 -2.7769)', '2026-07-22 08:12:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777031)'), GeomFromEWKT('SRID=4674;POINT (-40.324136 -2.7769)'))) / (select extract(epoch from '2026-07-22 08:12:19'::timestamp) - extract(epoch from '2026-07-22 08:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.777031)'), GeomFromEWKT('SRID=4674;POINT (-40.324136 -2.7769)'))) / (select extract(epoch from '2026-07-22 08:12:19'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47639, 'SRID=4674;POINT (-40.324105 -2.77676)', '2026-07-22 08:12:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324136 -2.7769)'), GeomFromEWKT('SRID=4674;POINT (-40.324105 -2.77676)'))) / (select extract(epoch from '2026-07-22 08:12:27'::timestamp) - extract(epoch from '2026-07-22 08:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324136 -2.7769)'), GeomFromEWKT('SRID=4674;POINT (-40.324105 -2.77676)'))) / (select extract(epoch from '2026-07-22 08:12:27'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47639, 'SRID=4674;POINT (-40.324048 -2.776579)', '2026-07-22 08:12:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324105 -2.77676)'), GeomFromEWKT('SRID=4674;POINT (-40.324048 -2.776579)'))) / (select extract(epoch from '2026-07-22 08:12:36'::timestamp) - extract(epoch from '2026-07-22 08:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324105 -2.77676)'), GeomFromEWKT('SRID=4674;POINT (-40.324048 -2.776579)'))) / (select extract(epoch from '2026-07-22 08:12:36'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47639, 'SRID=4674;POINT (-40.324035 -2.776393)', '2026-07-22 08:12:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324048 -2.776579)'), GeomFromEWKT('SRID=4674;POINT (-40.324035 -2.776393)'))) / (select extract(epoch from '2026-07-22 08:12:44'::timestamp) - extract(epoch from '2026-07-22 08:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324048 -2.776579)'), GeomFromEWKT('SRID=4674;POINT (-40.324035 -2.776393)'))) / (select extract(epoch from '2026-07-22 08:12:44'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47639, 'SRID=4674;POINT (-40.324024 -2.776252)', '2026-07-22 08:12:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324035 -2.776393)'), GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.776252)'))) / (select extract(epoch from '2026-07-22 08:12:51'::timestamp) - extract(epoch from '2026-07-22 08:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324035 -2.776393)'), GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.776252)'))) / (select extract(epoch from '2026-07-22 08:12:51'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47639, 'SRID=4674;POINT (-40.324007 -2.77612)', '2026-07-22 08:12:58', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.776252)'), GeomFromEWKT('SRID=4674;POINT (-40.324007 -2.77612)'))) / (select extract(epoch from '2026-07-22 08:12:58'::timestamp) - extract(epoch from '2026-07-22 08:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.776252)'), GeomFromEWKT('SRID=4674;POINT (-40.324007 -2.77612)'))) / (select extract(epoch from '2026-07-22 08:12:58'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.323984 -2.775961)', '2026-07-22 08:13:08', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324007 -2.77612)'), GeomFromEWKT('SRID=4674;POINT (-40.323984 -2.775961)'))) / (select extract(epoch from '2026-07-22 08:13:08'::timestamp) - extract(epoch from '2026-07-22 08:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324007 -2.77612)'), GeomFromEWKT('SRID=4674;POINT (-40.323984 -2.775961)'))) / (select extract(epoch from '2026-07-22 08:13:08'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47639, 'SRID=4674;POINT (-40.323957 -2.775816)', '2026-07-22 08:13:16', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323984 -2.775961)'), GeomFromEWKT('SRID=4674;POINT (-40.323957 -2.775816)'))) / (select extract(epoch from '2026-07-22 08:13:16'::timestamp) - extract(epoch from '2026-07-22 08:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323984 -2.775961)'), GeomFromEWKT('SRID=4674;POINT (-40.323957 -2.775816)'))) / (select extract(epoch from '2026-07-22 08:13:16'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.323919 -2.775683)', '2026-07-22 08:13:24', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323957 -2.775816)'), GeomFromEWKT('SRID=4674;POINT (-40.323919 -2.775683)'))) / (select extract(epoch from '2026-07-22 08:13:24'::timestamp) - extract(epoch from '2026-07-22 08:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323957 -2.775816)'), GeomFromEWKT('SRID=4674;POINT (-40.323919 -2.775683)'))) / (select extract(epoch from '2026-07-22 08:13:24'::timestamp) - extract(epoch from '2026-07-22 08:13: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'), 47639, 'SRID=4674;POINT (-40.323829 -2.775537)', '2026-07-22 08:13:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323919 -2.775683)'), GeomFromEWKT('SRID=4674;POINT (-40.323829 -2.775537)'))) / (select extract(epoch from '2026-07-22 08:13:35'::timestamp) - extract(epoch from '2026-07-22 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323919 -2.775683)'), GeomFromEWKT('SRID=4674;POINT (-40.323829 -2.775537)'))) / (select extract(epoch from '2026-07-22 08:13:35'::timestamp) - extract(epoch from '2026-07-22 08:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.323778 -2.775435)', '2026-07-22 08:13:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323829 -2.775537)'), GeomFromEWKT('SRID=4674;POINT (-40.323778 -2.775435)'))) / (select extract(epoch from '2026-07-22 08:13:41'::timestamp) - extract(epoch from '2026-07-22 08:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323829 -2.775537)'), GeomFromEWKT('SRID=4674;POINT (-40.323778 -2.775435)'))) / (select extract(epoch from '2026-07-22 08:13:41'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47639, 'SRID=4674;POINT (-40.323708 -2.775327)', '2026-07-22 08:13:49', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323778 -2.775435)'), GeomFromEWKT('SRID=4674;POINT (-40.323708 -2.775327)'))) / (select extract(epoch from '2026-07-22 08:13:49'::timestamp) - extract(epoch from '2026-07-22 08:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323778 -2.775435)'), GeomFromEWKT('SRID=4674;POINT (-40.323708 -2.775327)'))) / (select extract(epoch from '2026-07-22 08:13:49'::timestamp) - extract(epoch from '2026-07-22 08:13: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'), 47639, 'SRID=4674;POINT (-40.323648 -2.775205)', '2026-07-22 08:13:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323708 -2.775327)'), GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775205)'))) / (select extract(epoch from '2026-07-22 08:13:57'::timestamp) - extract(epoch from '2026-07-22 08:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323708 -2.775327)'), GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775205)'))) / (select extract(epoch from '2026-07-22 08:13:57'::timestamp) - extract(epoch from '2026-07-22 08:13: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'), 47639, 'SRID=4674;POINT (-40.323576 -2.77507)', '2026-07-22 08:14:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775205)'), GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.77507)'))) / (select extract(epoch from '2026-07-22 08:14:06'::timestamp) - extract(epoch from '2026-07-22 08:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775205)'), GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.77507)'))) / (select extract(epoch from '2026-07-22 08:14:06'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.323509 -2.774977)', '2026-07-22 08:14:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.77507)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.774977)'))) / (select extract(epoch from '2026-07-22 08:14:14'::timestamp) - extract(epoch from '2026-07-22 08:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.77507)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.774977)'))) / (select extract(epoch from '2026-07-22 08:14:14'::timestamp) - extract(epoch from '2026-07-22 08:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.323486 -2.774787)', '2026-07-22 08:14:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.774977)'), GeomFromEWKT('SRID=4674;POINT (-40.323486 -2.774787)'))) / (select extract(epoch from '2026-07-22 08:14:24'::timestamp) - extract(epoch from '2026-07-22 08:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.774977)'), GeomFromEWKT('SRID=4674;POINT (-40.323486 -2.774787)'))) / (select extract(epoch from '2026-07-22 08:14:24'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47639, 'SRID=4674;POINT (-40.323457 -2.77467)', '2026-07-22 08:14:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323486 -2.774787)'), GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77467)'))) / (select extract(epoch from '2026-07-22 08:14:31'::timestamp) - extract(epoch from '2026-07-22 08:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323486 -2.774787)'), GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77467)'))) / (select extract(epoch from '2026-07-22 08:14:31'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47639, 'SRID=4674;POINT (-40.323416 -2.774533)', '2026-07-22 08:14:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77467)'), GeomFromEWKT('SRID=4674;POINT (-40.323416 -2.774533)'))) / (select extract(epoch from '2026-07-22 08:14:40'::timestamp) - extract(epoch from '2026-07-22 08:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77467)'), GeomFromEWKT('SRID=4674;POINT (-40.323416 -2.774533)'))) / (select extract(epoch from '2026-07-22 08:14:40'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.323387 -2.774348)', '2026-07-22 08:14:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323416 -2.774533)'), GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.774348)'))) / (select extract(epoch from '2026-07-22 08:14:50'::timestamp) - extract(epoch from '2026-07-22 08:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323416 -2.774533)'), GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.774348)'))) / (select extract(epoch from '2026-07-22 08:14:50'::timestamp) - extract(epoch from '2026-07-22 08:14: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'), 47639, 'SRID=4674;POINT (-40.323352 -2.774218)', '2026-07-22 08:14:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.774348)'), GeomFromEWKT('SRID=4674;POINT (-40.323352 -2.774218)'))) / (select extract(epoch from '2026-07-22 08:14:57'::timestamp) - extract(epoch from '2026-07-22 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.774348)'), GeomFromEWKT('SRID=4674;POINT (-40.323352 -2.774218)'))) / (select extract(epoch from '2026-07-22 08:14:57'::timestamp) - extract(epoch from '2026-07-22 08:14: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'), 47639, 'SRID=4674;POINT (-40.32328 -2.774095)', '2026-07-22 08:15:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323352 -2.774218)'), GeomFromEWKT('SRID=4674;POINT (-40.32328 -2.774095)'))) / (select extract(epoch from '2026-07-22 08:15:06'::timestamp) - extract(epoch from '2026-07-22 08:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323352 -2.774218)'), GeomFromEWKT('SRID=4674;POINT (-40.32328 -2.774095)'))) / (select extract(epoch from '2026-07-22 08:15:06'::timestamp) - extract(epoch from '2026-07-22 08:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.32327 -2.773958)', '2026-07-22 08:15:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32328 -2.774095)'), GeomFromEWKT('SRID=4674;POINT (-40.32327 -2.773958)'))) / (select extract(epoch from '2026-07-22 08:15:14'::timestamp) - extract(epoch from '2026-07-22 08:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32328 -2.774095)'), GeomFromEWKT('SRID=4674;POINT (-40.32327 -2.773958)'))) / (select extract(epoch from '2026-07-22 08:15:14'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47639, 'SRID=4674;POINT (-40.323225 -2.773811)', '2026-07-22 08:15:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32327 -2.773958)'), GeomFromEWKT('SRID=4674;POINT (-40.323225 -2.773811)'))) / (select extract(epoch from '2026-07-22 08:15:22'::timestamp) - extract(epoch from '2026-07-22 08:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32327 -2.773958)'), GeomFromEWKT('SRID=4674;POINT (-40.323225 -2.773811)'))) / (select extract(epoch from '2026-07-22 08:15:22'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47639, 'SRID=4674;POINT (-40.323201 -2.773631)', '2026-07-22 08:15:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323225 -2.773811)'), GeomFromEWKT('SRID=4674;POINT (-40.323201 -2.773631)'))) / (select extract(epoch from '2026-07-22 08:15:31'::timestamp) - extract(epoch from '2026-07-22 08:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323225 -2.773811)'), GeomFromEWKT('SRID=4674;POINT (-40.323201 -2.773631)'))) / (select extract(epoch from '2026-07-22 08:15:31'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47639, 'SRID=4674;POINT (-40.323149 -2.773463)', '2026-07-22 08:15:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323201 -2.773631)'), GeomFromEWKT('SRID=4674;POINT (-40.323149 -2.773463)'))) / (select extract(epoch from '2026-07-22 08:15:41'::timestamp) - extract(epoch from '2026-07-22 08:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323201 -2.773631)'), GeomFromEWKT('SRID=4674;POINT (-40.323149 -2.773463)'))) / (select extract(epoch from '2026-07-22 08:15:41'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47639, 'SRID=4674;POINT (-40.323108 -2.773318)', '2026-07-22 08:15:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323149 -2.773463)'), GeomFromEWKT('SRID=4674;POINT (-40.323108 -2.773318)'))) / (select extract(epoch from '2026-07-22 08:15:49'::timestamp) - extract(epoch from '2026-07-22 08:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323149 -2.773463)'), GeomFromEWKT('SRID=4674;POINT (-40.323108 -2.773318)'))) / (select extract(epoch from '2026-07-22 08:15:49'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47639, 'SRID=4674;POINT (-40.323096 -2.773189)', '2026-07-22 08:15:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323108 -2.773318)'), GeomFromEWKT('SRID=4674;POINT (-40.323096 -2.773189)'))) / (select extract(epoch from '2026-07-22 08:15:56'::timestamp) - extract(epoch from '2026-07-22 08:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323108 -2.773318)'), GeomFromEWKT('SRID=4674;POINT (-40.323096 -2.773189)'))) / (select extract(epoch from '2026-07-22 08:15:56'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47639, 'SRID=4674;POINT (-40.32303 -2.773068)', '2026-07-22 08:16:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323096 -2.773189)'), GeomFromEWKT('SRID=4674;POINT (-40.32303 -2.773068)'))) / (select extract(epoch from '2026-07-22 08:16:04'::timestamp) - extract(epoch from '2026-07-22 08:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323096 -2.773189)'), GeomFromEWKT('SRID=4674;POINT (-40.32303 -2.773068)'))) / (select extract(epoch from '2026-07-22 08:16:04'::timestamp) - extract(epoch from '2026-07-22 08:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322958 -2.772956)', '2026-07-22 08:16:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32303 -2.773068)'), GeomFromEWKT('SRID=4674;POINT (-40.322958 -2.772956)'))) / (select extract(epoch from '2026-07-22 08:16:11'::timestamp) - extract(epoch from '2026-07-22 08:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32303 -2.773068)'), GeomFromEWKT('SRID=4674;POINT (-40.322958 -2.772956)'))) / (select extract(epoch from '2026-07-22 08:16:11'::timestamp) - extract(epoch from '2026-07-22 08:16: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'), 47639, 'SRID=4674;POINT (-40.322884 -2.772811)', '2026-07-22 08:16:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322958 -2.772956)'), GeomFromEWKT('SRID=4674;POINT (-40.322884 -2.772811)'))) / (select extract(epoch from '2026-07-22 08:16:20'::timestamp) - extract(epoch from '2026-07-22 08:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322958 -2.772956)'), GeomFromEWKT('SRID=4674;POINT (-40.322884 -2.772811)'))) / (select extract(epoch from '2026-07-22 08:16:20'::timestamp) - extract(epoch from '2026-07-22 08:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.32285 -2.772706)', '2026-07-22 08:16:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322884 -2.772811)'), GeomFromEWKT('SRID=4674;POINT (-40.32285 -2.772706)'))) / (select extract(epoch from '2026-07-22 08:16:27'::timestamp) - extract(epoch from '2026-07-22 08:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322884 -2.772811)'), GeomFromEWKT('SRID=4674;POINT (-40.32285 -2.772706)'))) / (select extract(epoch from '2026-07-22 08:16:27'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322827 -2.772596)', '2026-07-22 08:16:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32285 -2.772706)'), GeomFromEWKT('SRID=4674;POINT (-40.322827 -2.772596)'))) / (select extract(epoch from '2026-07-22 08:16:34'::timestamp) - extract(epoch from '2026-07-22 08:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32285 -2.772706)'), GeomFromEWKT('SRID=4674;POINT (-40.322827 -2.772596)'))) / (select extract(epoch from '2026-07-22 08:16:34'::timestamp) - extract(epoch from '2026-07-22 08:16: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'), 47639, 'SRID=4674;POINT (-40.322749 -2.772428)', '2026-07-22 08:16:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322827 -2.772596)'), GeomFromEWKT('SRID=4674;POINT (-40.322749 -2.772428)'))) / (select extract(epoch from '2026-07-22 08:16:43'::timestamp) - extract(epoch from '2026-07-22 08:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322827 -2.772596)'), GeomFromEWKT('SRID=4674;POINT (-40.322749 -2.772428)'))) / (select extract(epoch from '2026-07-22 08:16:43'::timestamp) - extract(epoch from '2026-07-22 08:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322692 -2.772234)', '2026-07-22 08:16:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322749 -2.772428)'), GeomFromEWKT('SRID=4674;POINT (-40.322692 -2.772234)'))) / (select extract(epoch from '2026-07-22 08:16:53'::timestamp) - extract(epoch from '2026-07-22 08:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322749 -2.772428)'), GeomFromEWKT('SRID=4674;POINT (-40.322692 -2.772234)'))) / (select extract(epoch from '2026-07-22 08:16:53'::timestamp) - extract(epoch from '2026-07-22 08:16: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'), 47639, 'SRID=4674;POINT (-40.32267 -2.772097)', '2026-07-22 08:17:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322692 -2.772234)'), GeomFromEWKT('SRID=4674;POINT (-40.32267 -2.772097)'))) / (select extract(epoch from '2026-07-22 08:17:00'::timestamp) - extract(epoch from '2026-07-22 08:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322692 -2.772234)'), GeomFromEWKT('SRID=4674;POINT (-40.32267 -2.772097)'))) / (select extract(epoch from '2026-07-22 08:17:00'::timestamp) - extract(epoch from '2026-07-22 08:16: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'), 47639, 'SRID=4674;POINT (-40.322639 -2.771982)', '2026-07-22 08:17:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32267 -2.772097)'), GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.771982)'))) / (select extract(epoch from '2026-07-22 08:17:07'::timestamp) - extract(epoch from '2026-07-22 08:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32267 -2.772097)'), GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.771982)'))) / (select extract(epoch from '2026-07-22 08:17:07'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322624 -2.771868)', '2026-07-22 08:17:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.771982)'), GeomFromEWKT('SRID=4674;POINT (-40.322624 -2.771868)'))) / (select extract(epoch from '2026-07-22 08:17:13'::timestamp) - extract(epoch from '2026-07-22 08:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.771982)'), GeomFromEWKT('SRID=4674;POINT (-40.322624 -2.771868)'))) / (select extract(epoch from '2026-07-22 08:17:13'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47639, 'SRID=4674;POINT (-40.322593 -2.771726)', '2026-07-22 08:17:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322624 -2.771868)'), GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.771726)'))) / (select extract(epoch from '2026-07-22 08:17:21'::timestamp) - extract(epoch from '2026-07-22 08:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322624 -2.771868)'), GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.771726)'))) / (select extract(epoch from '2026-07-22 08:17:21'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47639, 'SRID=4674;POINT (-40.322577 -2.771586)', '2026-07-22 08:17:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.771726)'), GeomFromEWKT('SRID=4674;POINT (-40.322577 -2.771586)'))) / (select extract(epoch from '2026-07-22 08:17:28'::timestamp) - extract(epoch from '2026-07-22 08:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.771726)'), GeomFromEWKT('SRID=4674;POINT (-40.322577 -2.771586)'))) / (select extract(epoch from '2026-07-22 08:17:28'::timestamp) - extract(epoch from '2026-07-22 08:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322564 -2.771427)', '2026-07-22 08:17:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322577 -2.771586)'), GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.771427)'))) / (select extract(epoch from '2026-07-22 08:17:36'::timestamp) - extract(epoch from '2026-07-22 08:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322577 -2.771586)'), GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.771427)'))) / (select extract(epoch from '2026-07-22 08:17:36'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47639, 'SRID=4674;POINT (-40.322547 -2.771225)', '2026-07-22 08:17:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.771427)'), GeomFromEWKT('SRID=4674;POINT (-40.322547 -2.771225)'))) / (select extract(epoch from '2026-07-22 08:17:45'::timestamp) - extract(epoch from '2026-07-22 08:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.771427)'), GeomFromEWKT('SRID=4674;POINT (-40.322547 -2.771225)'))) / (select extract(epoch from '2026-07-22 08:17:45'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47639, 'SRID=4674;POINT (-40.322515 -2.771109)', '2026-07-22 08:17:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322547 -2.771225)'), GeomFromEWKT('SRID=4674;POINT (-40.322515 -2.771109)'))) / (select extract(epoch from '2026-07-22 08:17:52'::timestamp) - extract(epoch from '2026-07-22 08:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322547 -2.771225)'), GeomFromEWKT('SRID=4674;POINT (-40.322515 -2.771109)'))) / (select extract(epoch from '2026-07-22 08:17:52'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47639, 'SRID=4674;POINT (-40.322472 -2.77095)', '2026-07-22 08:18:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322515 -2.771109)'), GeomFromEWKT('SRID=4674;POINT (-40.322472 -2.77095)'))) / (select extract(epoch from '2026-07-22 08:18:00'::timestamp) - extract(epoch from '2026-07-22 08:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322515 -2.771109)'), GeomFromEWKT('SRID=4674;POINT (-40.322472 -2.77095)'))) / (select extract(epoch from '2026-07-22 08:18:00'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47639, 'SRID=4674;POINT (-40.322435 -2.770818)', '2026-07-22 08:18:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322472 -2.77095)'), GeomFromEWKT('SRID=4674;POINT (-40.322435 -2.770818)'))) / (select extract(epoch from '2026-07-22 08:18:08'::timestamp) - extract(epoch from '2026-07-22 08:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322472 -2.77095)'), GeomFromEWKT('SRID=4674;POINT (-40.322435 -2.770818)'))) / (select extract(epoch from '2026-07-22 08:18:08'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322389 -2.770699)', '2026-07-22 08:18:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322435 -2.770818)'), GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770699)'))) / (select extract(epoch from '2026-07-22 08:18:15'::timestamp) - extract(epoch from '2026-07-22 08:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322435 -2.770818)'), GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770699)'))) / (select extract(epoch from '2026-07-22 08:18:15'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47639, 'SRID=4674;POINT (-40.322343 -2.770581)', '2026-07-22 08:18:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770699)'), GeomFromEWKT('SRID=4674;POINT (-40.322343 -2.770581)'))) / (select extract(epoch from '2026-07-22 08:18:23'::timestamp) - extract(epoch from '2026-07-22 08:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770699)'), GeomFromEWKT('SRID=4674;POINT (-40.322343 -2.770581)'))) / (select extract(epoch from '2026-07-22 08:18:23'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47639, 'SRID=4674;POINT (-40.322381 -2.770484)', '2026-07-22 08:18:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322343 -2.770581)'), GeomFromEWKT('SRID=4674;POINT (-40.322381 -2.770484)'))) / (select extract(epoch from '2026-07-22 08:18:29'::timestamp) - extract(epoch from '2026-07-22 08:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322343 -2.770581)'), GeomFromEWKT('SRID=4674;POINT (-40.322381 -2.770484)'))) / (select extract(epoch from '2026-07-22 08:18:29'::timestamp) - extract(epoch from '2026-07-22 08:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322503 -2.770404)', '2026-07-22 08:18:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322381 -2.770484)'), GeomFromEWKT('SRID=4674;POINT (-40.322503 -2.770404)'))) / (select extract(epoch from '2026-07-22 08:18:35'::timestamp) - extract(epoch from '2026-07-22 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322381 -2.770484)'), GeomFromEWKT('SRID=4674;POINT (-40.322503 -2.770404)'))) / (select extract(epoch from '2026-07-22 08:18:35'::timestamp) - extract(epoch from '2026-07-22 08:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322666 -2.770341)', '2026-07-22 08:18:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322503 -2.770404)'), GeomFromEWKT('SRID=4674;POINT (-40.322666 -2.770341)'))) / (select extract(epoch from '2026-07-22 08:18:41'::timestamp) - extract(epoch from '2026-07-22 08:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322503 -2.770404)'), GeomFromEWKT('SRID=4674;POINT (-40.322666 -2.770341)'))) / (select extract(epoch from '2026-07-22 08:18:41'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47639, 'SRID=4674;POINT (-40.322731 -2.770252)', '2026-07-22 08:18:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322666 -2.770341)'), GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.770252)'))) / (select extract(epoch from '2026-07-22 08:18:47'::timestamp) - extract(epoch from '2026-07-22 08:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322666 -2.770341)'), GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.770252)'))) / (select extract(epoch from '2026-07-22 08:18:47'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47639, 'SRID=4674;POINT (-40.322695 -2.770146)', '2026-07-22 08:18:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.770252)'), GeomFromEWKT('SRID=4674;POINT (-40.322695 -2.770146)'))) / (select extract(epoch from '2026-07-22 08:18:54'::timestamp) - extract(epoch from '2026-07-22 08:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322731 -2.770252)'), GeomFromEWKT('SRID=4674;POINT (-40.322695 -2.770146)'))) / (select extract(epoch from '2026-07-22 08:18:54'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47639, 'SRID=4674;POINT (-40.322604 -2.770044)', '2026-07-22 08:19:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322695 -2.770146)'), GeomFromEWKT('SRID=4674;POINT (-40.322604 -2.770044)'))) / (select extract(epoch from '2026-07-22 08:19:01'::timestamp) - extract(epoch from '2026-07-22 08:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322695 -2.770146)'), GeomFromEWKT('SRID=4674;POINT (-40.322604 -2.770044)'))) / (select extract(epoch from '2026-07-22 08:19:01'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47639, 'SRID=4674;POINT (-40.322498 -2.769942)', '2026-07-22 08:19:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322604 -2.770044)'), GeomFromEWKT('SRID=4674;POINT (-40.322498 -2.769942)'))) / (select extract(epoch from '2026-07-22 08:19:09'::timestamp) - extract(epoch from '2026-07-22 08:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322604 -2.770044)'), GeomFromEWKT('SRID=4674;POINT (-40.322498 -2.769942)'))) / (select extract(epoch from '2026-07-22 08:19:09'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47639, 'SRID=4674;POINT (-40.322455 -2.76984)', '2026-07-22 08:19:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322498 -2.769942)'), GeomFromEWKT('SRID=4674;POINT (-40.322455 -2.76984)'))) / (select extract(epoch from '2026-07-22 08:19:16'::timestamp) - extract(epoch from '2026-07-22 08:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322498 -2.769942)'), GeomFromEWKT('SRID=4674;POINT (-40.322455 -2.76984)'))) / (select extract(epoch from '2026-07-22 08:19:16'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47639, 'SRID=4674;POINT (-40.322407 -2.769719)', '2026-07-22 08:19:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322455 -2.76984)'), GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.769719)'))) / (select extract(epoch from '2026-07-22 08:19:23'::timestamp) - extract(epoch from '2026-07-22 08:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322455 -2.76984)'), GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.769719)'))) / (select extract(epoch from '2026-07-22 08:19:23'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47639, 'SRID=4674;POINT (-40.322336 -2.769557)', '2026-07-22 08:19:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.769719)'), GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769557)'))) / (select extract(epoch from '2026-07-22 08:19:32'::timestamp) - extract(epoch from '2026-07-22 08:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.769719)'), GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769557)'))) / (select extract(epoch from '2026-07-22 08:19:32'::timestamp) - extract(epoch from '2026-07-22 08:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.32229 -2.769508)', '2026-07-22 08:19:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769557)'), GeomFromEWKT('SRID=4674;POINT (-40.32229 -2.769508)'))) / (select extract(epoch from '2026-07-22 08:19:37'::timestamp) - extract(epoch from '2026-07-22 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769557)'), GeomFromEWKT('SRID=4674;POINT (-40.32229 -2.769508)'))) / (select extract(epoch from '2026-07-22 08:19:37'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47639, 'SRID=4674;POINT (-40.322201 -2.769477)', '2026-07-22 08:19:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32229 -2.769508)'), GeomFromEWKT('SRID=4674;POINT (-40.322201 -2.769477)'))) / (select extract(epoch from '2026-07-22 08:19:43'::timestamp) - extract(epoch from '2026-07-22 08:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32229 -2.769508)'), GeomFromEWKT('SRID=4674;POINT (-40.322201 -2.769477)'))) / (select extract(epoch from '2026-07-22 08:19:43'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322107 -2.769405)', '2026-07-22 08:19:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322201 -2.769477)'), GeomFromEWKT('SRID=4674;POINT (-40.322107 -2.769405)'))) / (select extract(epoch from '2026-07-22 08:19:50'::timestamp) - extract(epoch from '2026-07-22 08:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322201 -2.769477)'), GeomFromEWKT('SRID=4674;POINT (-40.322107 -2.769405)'))) / (select extract(epoch from '2026-07-22 08:19:50'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47639, 'SRID=4674;POINT (-40.322028 -2.769279)', '2026-07-22 08:19:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322107 -2.769405)'), GeomFromEWKT('SRID=4674;POINT (-40.322028 -2.769279)'))) / (select extract(epoch from '2026-07-22 08:19:58'::timestamp) - extract(epoch from '2026-07-22 08:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322107 -2.769405)'), GeomFromEWKT('SRID=4674;POINT (-40.322028 -2.769279)'))) / (select extract(epoch from '2026-07-22 08:19:58'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47639, 'SRID=4674;POINT (-40.321983 -2.76915)', '2026-07-22 08:20:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322028 -2.769279)'), GeomFromEWKT('SRID=4674;POINT (-40.321983 -2.76915)'))) / (select extract(epoch from '2026-07-22 08:20:06'::timestamp) - extract(epoch from '2026-07-22 08:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322028 -2.769279)'), GeomFromEWKT('SRID=4674;POINT (-40.321983 -2.76915)'))) / (select extract(epoch from '2026-07-22 08:20:06'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47639, 'SRID=4674;POINT (-40.321962 -2.769052)', '2026-07-22 08:20:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321983 -2.76915)'), GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769052)'))) / (select extract(epoch from '2026-07-22 08:20:12'::timestamp) - extract(epoch from '2026-07-22 08:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321983 -2.76915)'), GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769052)'))) / (select extract(epoch from '2026-07-22 08:20:12'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47639, 'SRID=4674;POINT (-40.321874 -2.768967)', '2026-07-22 08:20:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769052)'), GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.768967)'))) / (select extract(epoch from '2026-07-22 08:20:18'::timestamp) - extract(epoch from '2026-07-22 08:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321962 -2.769052)'), GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.768967)'))) / (select extract(epoch from '2026-07-22 08:20:18'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47639, 'SRID=4674;POINT (-40.321792 -2.768842)', '2026-07-22 08:20:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.768967)'), GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.768842)'))) / (select extract(epoch from '2026-07-22 08:20:26'::timestamp) - extract(epoch from '2026-07-22 08:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.768967)'), GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.768842)'))) / (select extract(epoch from '2026-07-22 08:20:26'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47639, 'SRID=4674;POINT (-40.321722 -2.768717)', '2026-07-22 08:20:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.768842)'), GeomFromEWKT('SRID=4674;POINT (-40.321722 -2.768717)'))) / (select extract(epoch from '2026-07-22 08:20:34'::timestamp) - extract(epoch from '2026-07-22 08:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.768842)'), GeomFromEWKT('SRID=4674;POINT (-40.321722 -2.768717)'))) / (select extract(epoch from '2026-07-22 08:20:34'::timestamp) - extract(epoch from '2026-07-22 08:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321637 -2.768646)', '2026-07-22 08:20:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321722 -2.768717)'), GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768646)'))) / (select extract(epoch from '2026-07-22 08:20:41'::timestamp) - extract(epoch from '2026-07-22 08:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321722 -2.768717)'), GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768646)'))) / (select extract(epoch from '2026-07-22 08:20:41'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47639, 'SRID=4674;POINT (-40.321576 -2.768527)', '2026-07-22 08:20:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768646)'), GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.768527)'))) / (select extract(epoch from '2026-07-22 08:20:47'::timestamp) - extract(epoch from '2026-07-22 08:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768646)'), GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.768527)'))) / (select extract(epoch from '2026-07-22 08:20:47'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47639, 'SRID=4674;POINT (-40.321586 -2.768435)', '2026-07-22 08:20:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.768527)'), GeomFromEWKT('SRID=4674;POINT (-40.321586 -2.768435)'))) / (select extract(epoch from '2026-07-22 08:20:52'::timestamp) - extract(epoch from '2026-07-22 08:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.768527)'), GeomFromEWKT('SRID=4674;POINT (-40.321586 -2.768435)'))) / (select extract(epoch from '2026-07-22 08:20:52'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47639, 'SRID=4674;POINT (-40.321573 -2.768266)', '2026-07-22 08:21:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321586 -2.768435)'), GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.768266)'))) / (select extract(epoch from '2026-07-22 08:21:00'::timestamp) - extract(epoch from '2026-07-22 08:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321586 -2.768435)'), GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.768266)'))) / (select extract(epoch from '2026-07-22 08:21:00'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47639, 'SRID=4674;POINT (-40.321496 -2.768103)', '2026-07-22 08:21:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.768266)'), GeomFromEWKT('SRID=4674;POINT (-40.321496 -2.768103)'))) / (select extract(epoch from '2026-07-22 08:21:08'::timestamp) - extract(epoch from '2026-07-22 08:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321573 -2.768266)'), GeomFromEWKT('SRID=4674;POINT (-40.321496 -2.768103)'))) / (select extract(epoch from '2026-07-22 08:21:08'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47639, 'SRID=4674;POINT (-40.321438 -2.767976)', '2026-07-22 08:21:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321496 -2.768103)'), GeomFromEWKT('SRID=4674;POINT (-40.321438 -2.767976)'))) / (select extract(epoch from '2026-07-22 08:21:17'::timestamp) - extract(epoch from '2026-07-22 08:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321496 -2.768103)'), GeomFromEWKT('SRID=4674;POINT (-40.321438 -2.767976)'))) / (select extract(epoch from '2026-07-22 08:21:17'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47639, 'SRID=4674;POINT (-40.321463 -2.767845)', '2026-07-22 08:21:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321438 -2.767976)'), GeomFromEWKT('SRID=4674;POINT (-40.321463 -2.767845)'))) / (select extract(epoch from '2026-07-22 08:21:24'::timestamp) - extract(epoch from '2026-07-22 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321438 -2.767976)'), GeomFromEWKT('SRID=4674;POINT (-40.321463 -2.767845)'))) / (select extract(epoch from '2026-07-22 08:21:24'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47639, 'SRID=4674;POINT (-40.321445 -2.767696)', '2026-07-22 08:21:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321463 -2.767845)'), GeomFromEWKT('SRID=4674;POINT (-40.321445 -2.767696)'))) / (select extract(epoch from '2026-07-22 08:21:32'::timestamp) - extract(epoch from '2026-07-22 08:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321463 -2.767845)'), GeomFromEWKT('SRID=4674;POINT (-40.321445 -2.767696)'))) / (select extract(epoch from '2026-07-22 08:21:32'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47639, 'SRID=4674;POINT (-40.321436 -2.76757)', '2026-07-22 08:21:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321445 -2.767696)'), GeomFromEWKT('SRID=4674;POINT (-40.321436 -2.76757)'))) / (select extract(epoch from '2026-07-22 08:21:39'::timestamp) - extract(epoch from '2026-07-22 08:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321445 -2.767696)'), GeomFromEWKT('SRID=4674;POINT (-40.321436 -2.76757)'))) / (select extract(epoch from '2026-07-22 08:21:39'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.321405 -2.767394)', '2026-07-22 08:21:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321436 -2.76757)'), GeomFromEWKT('SRID=4674;POINT (-40.321405 -2.767394)'))) / (select extract(epoch from '2026-07-22 08:21:47'::timestamp) - extract(epoch from '2026-07-22 08:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321436 -2.76757)'), GeomFromEWKT('SRID=4674;POINT (-40.321405 -2.767394)'))) / (select extract(epoch from '2026-07-22 08:21:47'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47639, 'SRID=4674;POINT (-40.321416 -2.767268)', '2026-07-22 08:21:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321405 -2.767394)'), GeomFromEWKT('SRID=4674;POINT (-40.321416 -2.767268)'))) / (select extract(epoch from '2026-07-22 08:21:54'::timestamp) - extract(epoch from '2026-07-22 08:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321405 -2.767394)'), GeomFromEWKT('SRID=4674;POINT (-40.321416 -2.767268)'))) / (select extract(epoch from '2026-07-22 08:21:54'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47639, 'SRID=4674;POINT (-40.321391 -2.767147)', '2026-07-22 08:22:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321416 -2.767268)'), GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.767147)'))) / (select extract(epoch from '2026-07-22 08:22:01'::timestamp) - extract(epoch from '2026-07-22 08:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321416 -2.767268)'), GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.767147)'))) / (select extract(epoch from '2026-07-22 08:22:01'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47639, 'SRID=4674;POINT (-40.321377 -2.766994)', '2026-07-22 08:22:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.767147)'), GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766994)'))) / (select extract(epoch from '2026-07-22 08:22:09'::timestamp) - extract(epoch from '2026-07-22 08:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321391 -2.767147)'), GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766994)'))) / (select extract(epoch from '2026-07-22 08:22:09'::timestamp) - extract(epoch from '2026-07-22 08:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321329 -2.766841)', '2026-07-22 08:22:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766994)'), GeomFromEWKT('SRID=4674;POINT (-40.321329 -2.766841)'))) / (select extract(epoch from '2026-07-22 08:22:16'::timestamp) - extract(epoch from '2026-07-22 08:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766994)'), GeomFromEWKT('SRID=4674;POINT (-40.321329 -2.766841)'))) / (select extract(epoch from '2026-07-22 08:22:16'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47639, 'SRID=4674;POINT (-40.321262 -2.766694)', '2026-07-22 08:22:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321329 -2.766841)'), GeomFromEWKT('SRID=4674;POINT (-40.321262 -2.766694)'))) / (select extract(epoch from '2026-07-22 08:22:23'::timestamp) - extract(epoch from '2026-07-22 08:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321329 -2.766841)'), GeomFromEWKT('SRID=4674;POINT (-40.321262 -2.766694)'))) / (select extract(epoch from '2026-07-22 08:22:23'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47639, 'SRID=4674;POINT (-40.321199 -2.766592)', '2026-07-22 08:22:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321262 -2.766694)'), GeomFromEWKT('SRID=4674;POINT (-40.321199 -2.766592)'))) / (select extract(epoch from '2026-07-22 08:22:30'::timestamp) - extract(epoch from '2026-07-22 08:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321262 -2.766694)'), GeomFromEWKT('SRID=4674;POINT (-40.321199 -2.766592)'))) / (select extract(epoch from '2026-07-22 08:22:30'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.321183 -2.766491)', '2026-07-22 08:22:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321199 -2.766592)'), GeomFromEWKT('SRID=4674;POINT (-40.321183 -2.766491)'))) / (select extract(epoch from '2026-07-22 08:22:36'::timestamp) - extract(epoch from '2026-07-22 08:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321199 -2.766592)'), GeomFromEWKT('SRID=4674;POINT (-40.321183 -2.766491)'))) / (select extract(epoch from '2026-07-22 08:22:36'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47639, 'SRID=4674;POINT (-40.321206 -2.766439)', '2026-07-22 08:22:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321183 -2.766491)'), GeomFromEWKT('SRID=4674;POINT (-40.321206 -2.766439)'))) / (select extract(epoch from '2026-07-22 08:22:39'::timestamp) - extract(epoch from '2026-07-22 08:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321183 -2.766491)'), GeomFromEWKT('SRID=4674;POINT (-40.321206 -2.766439)'))) / (select extract(epoch from '2026-07-22 08:22:39'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.321254 -2.766384)', '2026-07-22 08:22:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321206 -2.766439)'), GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766384)'))) / (select extract(epoch from '2026-07-22 08:22:42'::timestamp) - extract(epoch from '2026-07-22 08:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321206 -2.766439)'), GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766384)'))) / (select extract(epoch from '2026-07-22 08:22:42'::timestamp) - extract(epoch from '2026-07-22 08:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321303 -2.766365)', '2026-07-22 08:22:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766384)'), GeomFromEWKT('SRID=4674;POINT (-40.321303 -2.766365)'))) / (select extract(epoch from '2026-07-22 08:22:45'::timestamp) - extract(epoch from '2026-07-22 08:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766384)'), GeomFromEWKT('SRID=4674;POINT (-40.321303 -2.766365)'))) / (select extract(epoch from '2026-07-22 08:22:45'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47639, 'SRID=4674;POINT (-40.321328 -2.766386)', '2026-07-22 08:22:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321303 -2.766365)'), GeomFromEWKT('SRID=4674;POINT (-40.321328 -2.766386)'))) / (select extract(epoch from '2026-07-22 08:22:47'::timestamp) - extract(epoch from '2026-07-22 08:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321303 -2.766365)'), GeomFromEWKT('SRID=4674;POINT (-40.321328 -2.766386)'))) / (select extract(epoch from '2026-07-22 08:22:47'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47639, 'SRID=4674;POINT (-40.321384 -2.766502)', '2026-07-22 08:22:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321328 -2.766386)'), GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.766502)'))) / (select extract(epoch from '2026-07-22 08:22:54'::timestamp) - extract(epoch from '2026-07-22 08:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321328 -2.766386)'), GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.766502)'))) / (select extract(epoch from '2026-07-22 08:22:54'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47639, 'SRID=4674;POINT (-40.321409 -2.766698)', '2026-07-22 08:23:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.766502)'), GeomFromEWKT('SRID=4674;POINT (-40.321409 -2.766698)'))) / (select extract(epoch from '2026-07-22 08:23:03'::timestamp) - extract(epoch from '2026-07-22 08:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321384 -2.766502)'), GeomFromEWKT('SRID=4674;POINT (-40.321409 -2.766698)'))) / (select extract(epoch from '2026-07-22 08:23:03'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47639, 'SRID=4674;POINT (-40.321437 -2.766874)', '2026-07-22 08:23:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321409 -2.766698)'), GeomFromEWKT('SRID=4674;POINT (-40.321437 -2.766874)'))) / (select extract(epoch from '2026-07-22 08:23:11'::timestamp) - extract(epoch from '2026-07-22 08:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321409 -2.766698)'), GeomFromEWKT('SRID=4674;POINT (-40.321437 -2.766874)'))) / (select extract(epoch from '2026-07-22 08:23:11'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47639, 'SRID=4674;POINT (-40.321444 -2.767002)', '2026-07-22 08:23:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321437 -2.766874)'), GeomFromEWKT('SRID=4674;POINT (-40.321444 -2.767002)'))) / (select extract(epoch from '2026-07-22 08:23:17'::timestamp) - extract(epoch from '2026-07-22 08:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321437 -2.766874)'), GeomFromEWKT('SRID=4674;POINT (-40.321444 -2.767002)'))) / (select extract(epoch from '2026-07-22 08:23:17'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47639, 'SRID=4674;POINT (-40.321499 -2.767136)', '2026-07-22 08:23:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321444 -2.767002)'), GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.767136)'))) / (select extract(epoch from '2026-07-22 08:23:23'::timestamp) - extract(epoch from '2026-07-22 08:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321444 -2.767002)'), GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.767136)'))) / (select extract(epoch from '2026-07-22 08:23:23'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47639, 'SRID=4674;POINT (-40.321509 -2.767266)', '2026-07-22 08:23:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.767136)'), GeomFromEWKT('SRID=4674;POINT (-40.321509 -2.767266)'))) / (select extract(epoch from '2026-07-22 08:23:29'::timestamp) - extract(epoch from '2026-07-22 08:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.767136)'), GeomFromEWKT('SRID=4674;POINT (-40.321509 -2.767266)'))) / (select extract(epoch from '2026-07-22 08:23:29'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47639, 'SRID=4674;POINT (-40.321518 -2.767449)', '2026-07-22 08:23:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321509 -2.767266)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767449)'))) / (select extract(epoch from '2026-07-22 08:23:38'::timestamp) - extract(epoch from '2026-07-22 08:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321509 -2.767266)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767449)'))) / (select extract(epoch from '2026-07-22 08:23:38'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47639, 'SRID=4674;POINT (-40.321521 -2.767624)', '2026-07-22 08:23:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767449)'), GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.767624)'))) / (select extract(epoch from '2026-07-22 08:23:47'::timestamp) - extract(epoch from '2026-07-22 08:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767449)'), GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.767624)'))) / (select extract(epoch from '2026-07-22 08:23:47'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.321518 -2.767763)', '2026-07-22 08:23:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.767624)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767763)'))) / (select extract(epoch from '2026-07-22 08:23:54'::timestamp) - extract(epoch from '2026-07-22 08:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.767624)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767763)'))) / (select extract(epoch from '2026-07-22 08:23:54'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.321536 -2.767932)', '2026-07-22 08:24:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767763)'), GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.767932)'))) / (select extract(epoch from '2026-07-22 08:24:02'::timestamp) - extract(epoch from '2026-07-22 08:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.767763)'), GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.767932)'))) / (select extract(epoch from '2026-07-22 08:24:02'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47639, 'SRID=4674;POINT (-40.321563 -2.768065)', '2026-07-22 08:24:09', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.767932)'), GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768065)'))) / (select extract(epoch from '2026-07-22 08:24:09'::timestamp) - extract(epoch from '2026-07-22 08:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.767932)'), GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768065)'))) / (select extract(epoch from '2026-07-22 08:24:09'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47639, 'SRID=4674;POINT (-40.321588 -2.76823)', '2026-07-22 08:24:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768065)'), GeomFromEWKT('SRID=4674;POINT (-40.321588 -2.76823)'))) / (select extract(epoch from '2026-07-22 08:24:16'::timestamp) - extract(epoch from '2026-07-22 08:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768065)'), GeomFromEWKT('SRID=4674;POINT (-40.321588 -2.76823)'))) / (select extract(epoch from '2026-07-22 08:24:16'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47639, 'SRID=4674;POINT (-40.32164 -2.768383)', '2026-07-22 08:24:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321588 -2.76823)'), GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.768383)'))) / (select extract(epoch from '2026-07-22 08:24:24'::timestamp) - extract(epoch from '2026-07-22 08:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321588 -2.76823)'), GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.768383)'))) / (select extract(epoch from '2026-07-22 08:24:24'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47639, 'SRID=4674;POINT (-40.321678 -2.768509)', '2026-07-22 08:24:31', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.768383)'), GeomFromEWKT('SRID=4674;POINT (-40.321678 -2.768509)'))) / (select extract(epoch from '2026-07-22 08:24:31'::timestamp) - extract(epoch from '2026-07-22 08:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.768383)'), GeomFromEWKT('SRID=4674;POINT (-40.321678 -2.768509)'))) / (select extract(epoch from '2026-07-22 08:24:31'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47639, 'SRID=4674;POINT (-40.321712 -2.768657)', '2026-07-22 08:24:39', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321678 -2.768509)'), GeomFromEWKT('SRID=4674;POINT (-40.321712 -2.768657)'))) / (select extract(epoch from '2026-07-22 08:24:39'::timestamp) - extract(epoch from '2026-07-22 08:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321678 -2.768509)'), GeomFromEWKT('SRID=4674;POINT (-40.321712 -2.768657)'))) / (select extract(epoch from '2026-07-22 08:24:39'::timestamp) - extract(epoch from '2026-07-22 08:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.321758 -2.768813)', '2026-07-22 08:24:47', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321712 -2.768657)'), GeomFromEWKT('SRID=4674;POINT (-40.321758 -2.768813)'))) / (select extract(epoch from '2026-07-22 08:24:47'::timestamp) - extract(epoch from '2026-07-22 08:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321712 -2.768657)'), GeomFromEWKT('SRID=4674;POINT (-40.321758 -2.768813)'))) / (select extract(epoch from '2026-07-22 08:24:47'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47639, 'SRID=4674;POINT (-40.321799 -2.768951)', '2026-07-22 08:24:54', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321758 -2.768813)'), GeomFromEWKT('SRID=4674;POINT (-40.321799 -2.768951)'))) / (select extract(epoch from '2026-07-22 08:24:54'::timestamp) - extract(epoch from '2026-07-22 08:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321758 -2.768813)'), GeomFromEWKT('SRID=4674;POINT (-40.321799 -2.768951)'))) / (select extract(epoch from '2026-07-22 08:24:54'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47639, 'SRID=4674;POINT (-40.321838 -2.76909)', '2026-07-22 08:25:02', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321799 -2.768951)'), GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.76909)'))) / (select extract(epoch from '2026-07-22 08:25:02'::timestamp) - extract(epoch from '2026-07-22 08:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321799 -2.768951)'), GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.76909)'))) / (select extract(epoch from '2026-07-22 08:25:02'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47639, 'SRID=4674;POINT (-40.321921 -2.769212)', '2026-07-22 08:25:09', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.76909)'), GeomFromEWKT('SRID=4674;POINT (-40.321921 -2.769212)'))) / (select extract(epoch from '2026-07-22 08:25:09'::timestamp) - extract(epoch from '2026-07-22 08:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.76909)'), GeomFromEWKT('SRID=4674;POINT (-40.321921 -2.769212)'))) / (select extract(epoch from '2026-07-22 08:25:09'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.321984 -2.769332)', '2026-07-22 08:25:16', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321921 -2.769212)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769332)'))) / (select extract(epoch from '2026-07-22 08:25:16'::timestamp) - extract(epoch from '2026-07-22 08:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321921 -2.769212)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769332)'))) / (select extract(epoch from '2026-07-22 08:25:16'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47639, 'SRID=4674;POINT (-40.322098 -2.769446)', '2026-07-22 08:25:24', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769332)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.769446)'))) / (select extract(epoch from '2026-07-22 08:25:24'::timestamp) - extract(epoch from '2026-07-22 08:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769332)'), GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.769446)'))) / (select extract(epoch from '2026-07-22 08:25:24'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47639, 'SRID=4674;POINT (-40.322172 -2.76955)', '2026-07-22 08:25:31', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.769446)'), GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.76955)'))) / (select extract(epoch from '2026-07-22 08:25:31'::timestamp) - extract(epoch from '2026-07-22 08:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322098 -2.769446)'), GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.76955)'))) / (select extract(epoch from '2026-07-22 08:25:31'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47639, 'SRID=4674;POINT (-40.322263 -2.769706)', '2026-07-22 08:25:39', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.76955)'), GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769706)'))) / (select extract(epoch from '2026-07-22 08:25:39'::timestamp) - extract(epoch from '2026-07-22 08:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.76955)'), GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769706)'))) / (select extract(epoch from '2026-07-22 08:25:39'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322414 -2.769851)', '2026-07-22 08:25:46', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769706)'), GeomFromEWKT('SRID=4674;POINT (-40.322414 -2.769851)'))) / (select extract(epoch from '2026-07-22 08:25:46'::timestamp) - extract(epoch from '2026-07-22 08:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769706)'), GeomFromEWKT('SRID=4674;POINT (-40.322414 -2.769851)'))) / (select extract(epoch from '2026-07-22 08:25:46'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47639, 'SRID=4674;POINT (-40.322511 -2.769981)', '2026-07-22 08:25:53', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322414 -2.769851)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769981)'))) / (select extract(epoch from '2026-07-22 08:25:53'::timestamp) - extract(epoch from '2026-07-22 08:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322414 -2.769851)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769981)'))) / (select extract(epoch from '2026-07-22 08:25:53'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47639, 'SRID=4674;POINT (-40.322608 -2.770069)', '2026-07-22 08:26:00', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769981)'), GeomFromEWKT('SRID=4674;POINT (-40.322608 -2.770069)'))) / (select extract(epoch from '2026-07-22 08:26:00'::timestamp) - extract(epoch from '2026-07-22 08:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769981)'), GeomFromEWKT('SRID=4674;POINT (-40.322608 -2.770069)'))) / (select extract(epoch from '2026-07-22 08:26:00'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47639, 'SRID=4674;POINT (-40.322664 -2.770204)', '2026-07-22 08:26:06', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322608 -2.770069)'), GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.770204)'))) / (select extract(epoch from '2026-07-22 08:26:06'::timestamp) - extract(epoch from '2026-07-22 08:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322608 -2.770069)'), GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.770204)'))) / (select extract(epoch from '2026-07-22 08:26:06'::timestamp) - extract(epoch from '2026-07-22 08:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322625 -2.770299)', '2026-07-22 08:26:11', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.770204)'), GeomFromEWKT('SRID=4674;POINT (-40.322625 -2.770299)'))) / (select extract(epoch from '2026-07-22 08:26:11'::timestamp) - extract(epoch from '2026-07-22 08:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322664 -2.770204)'), GeomFromEWKT('SRID=4674;POINT (-40.322625 -2.770299)'))) / (select extract(epoch from '2026-07-22 08:26:11'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47639, 'SRID=4674;POINT (-40.322597 -2.770351)', '2026-07-22 08:26:17', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322625 -2.770299)'), GeomFromEWKT('SRID=4674;POINT (-40.322597 -2.770351)'))) / (select extract(epoch from '2026-07-22 08:26:17'::timestamp) - extract(epoch from '2026-07-22 08:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322625 -2.770299)'), GeomFromEWKT('SRID=4674;POINT (-40.322597 -2.770351)'))) / (select extract(epoch from '2026-07-22 08:26:17'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47639, 'SRID=4674;POINT (-40.322584 -2.770335)', '2026-07-22 08:26:25', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322597 -2.770351)'), GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.770335)'))) / (select extract(epoch from '2026-07-22 08:26:25'::timestamp) - extract(epoch from '2026-07-22 08:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322597 -2.770351)'), GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.770335)'))) / (select extract(epoch from '2026-07-22 08:26:25'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47639, 'SRID=4674;POINT (-40.322598 -2.77029)', '2026-07-22 08:26:33', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.770335)'), GeomFromEWKT('SRID=4674;POINT (-40.322598 -2.77029)'))) / (select extract(epoch from '2026-07-22 08:26:33'::timestamp) - extract(epoch from '2026-07-22 08:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322584 -2.770335)'), GeomFromEWKT('SRID=4674;POINT (-40.322598 -2.77029)'))) / (select extract(epoch from '2026-07-22 08:26:33'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47639, 'SRID=4674;POINT (-40.322595 -2.770221)', '2026-07-22 08:26:42', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322598 -2.77029)'), GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.770221)'))) / (select extract(epoch from '2026-07-22 08:26:42'::timestamp) - extract(epoch from '2026-07-22 08:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322598 -2.77029)'), GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.770221)'))) / (select extract(epoch from '2026-07-22 08:26:42'::timestamp) - extract(epoch from '2026-07-22 08:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322586 -2.770184)', '2026-07-22 08:26:49', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.770221)'), GeomFromEWKT('SRID=4674;POINT (-40.322586 -2.770184)'))) / (select extract(epoch from '2026-07-22 08:26:49'::timestamp) - extract(epoch from '2026-07-22 08:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322595 -2.770221)'), GeomFromEWKT('SRID=4674;POINT (-40.322586 -2.770184)'))) / (select extract(epoch from '2026-07-22 08:26:49'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47639, 'SRID=4674;POINT (-40.322585 -2.770186)', '2026-07-22 08:26:57', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322586 -2.770184)'), GeomFromEWKT('SRID=4674;POINT (-40.322585 -2.770186)'))) / (select extract(epoch from '2026-07-22 08:26:57'::timestamp) - extract(epoch from '2026-07-22 08:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322586 -2.770184)'), GeomFromEWKT('SRID=4674;POINT (-40.322585 -2.770186)'))) / (select extract(epoch from '2026-07-22 08:26:57'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47639, 'SRID=4674;POINT (-40.322581 -2.770201)', '2026-07-22 08:27:04', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322585 -2.770186)'), GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.770201)'))) / (select extract(epoch from '2026-07-22 08:27:04'::timestamp) - extract(epoch from '2026-07-22 08:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322585 -2.770186)'), GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.770201)'))) / (select extract(epoch from '2026-07-22 08:27:04'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47639, 'SRID=4674;POINT (-40.322565 -2.770204)', '2026-07-22 08:27:12', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.770201)'), GeomFromEWKT('SRID=4674;POINT (-40.322565 -2.770204)'))) / (select extract(epoch from '2026-07-22 08:27:12'::timestamp) - extract(epoch from '2026-07-22 08:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.770201)'), GeomFromEWKT('SRID=4674;POINT (-40.322565 -2.770204)'))) / (select extract(epoch from '2026-07-22 08:27:12'::timestamp) - extract(epoch from '2026-07-22 08:27: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'), 47639, 'SRID=4674;POINT (-40.322563 -2.770206)', '2026-07-22 08:27:21', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322565 -2.770204)'), GeomFromEWKT('SRID=4674;POINT (-40.322563 -2.770206)'))) / (select extract(epoch from '2026-07-22 08:27:21'::timestamp) - extract(epoch from '2026-07-22 08:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322565 -2.770204)'), GeomFromEWKT('SRID=4674;POINT (-40.322563 -2.770206)'))) / (select extract(epoch from '2026-07-22 08:27:21'::timestamp) - extract(epoch from '2026-07-22 08:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322545 -2.770194)', '2026-07-22 08:27:32', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322563 -2.770206)'), GeomFromEWKT('SRID=4674;POINT (-40.322545 -2.770194)'))) / (select extract(epoch from '2026-07-22 08:27:32'::timestamp) - extract(epoch from '2026-07-22 08:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322563 -2.770206)'), GeomFromEWKT('SRID=4674;POINT (-40.322545 -2.770194)'))) / (select extract(epoch from '2026-07-22 08:27:32'::timestamp) - extract(epoch from '2026-07-22 08:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322521 -2.770182)', '2026-07-22 08:27:48', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322545 -2.770194)'), GeomFromEWKT('SRID=4674;POINT (-40.322521 -2.770182)'))) / (select extract(epoch from '2026-07-22 08:27:48'::timestamp) - extract(epoch from '2026-07-22 08:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322545 -2.770194)'), GeomFromEWKT('SRID=4674;POINT (-40.322521 -2.770182)'))) / (select extract(epoch from '2026-07-22 08:27:48'::timestamp) - extract(epoch from '2026-07-22 08:27: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'), 47639, 'SRID=4674;POINT (-40.322517 -2.770176)', '2026-07-22 08:27:58', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322521 -2.770182)'), GeomFromEWKT('SRID=4674;POINT (-40.322517 -2.770176)'))) / (select extract(epoch from '2026-07-22 08:27:58'::timestamp) - extract(epoch from '2026-07-22 08:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322521 -2.770182)'), GeomFromEWKT('SRID=4674;POINT (-40.322517 -2.770176)'))) / (select extract(epoch from '2026-07-22 08:27:58'::timestamp) - extract(epoch from '2026-07-22 08:27: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'), 47639, 'SRID=4674;POINT (-40.32252 -2.770171)', '2026-07-22 08:28:06', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322517 -2.770176)'), GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.770171)'))) / (select extract(epoch from '2026-07-22 08:28:06'::timestamp) - extract(epoch from '2026-07-22 08:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322517 -2.770176)'), GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.770171)'))) / (select extract(epoch from '2026-07-22 08:28:06'::timestamp) - extract(epoch from '2026-07-22 08:27: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'), 47639, 'SRID=4674;POINT (-40.322533 -2.770171)', '2026-07-22 08:28:19', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.770171)'), GeomFromEWKT('SRID=4674;POINT (-40.322533 -2.770171)'))) / (select extract(epoch from '2026-07-22 08:28:19'::timestamp) - extract(epoch from '2026-07-22 08:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.770171)'), GeomFromEWKT('SRID=4674;POINT (-40.322533 -2.770171)'))) / (select extract(epoch from '2026-07-22 08:28:19'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47639, 'SRID=4674;POINT (-40.322531 -2.770168)', '2026-07-22 08:28:29', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322533 -2.770171)'), GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770168)'))) / (select extract(epoch from '2026-07-22 08:28:29'::timestamp) - extract(epoch from '2026-07-22 08:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322533 -2.770171)'), GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770168)'))) / (select extract(epoch from '2026-07-22 08:28:29'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47639, 'SRID=4674;POINT (-40.322523 -2.770152)', '2026-07-22 08:28:43', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770168)'), GeomFromEWKT('SRID=4674;POINT (-40.322523 -2.770152)'))) / (select extract(epoch from '2026-07-22 08:28:43'::timestamp) - extract(epoch from '2026-07-22 08:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770168)'), GeomFromEWKT('SRID=4674;POINT (-40.322523 -2.770152)'))) / (select extract(epoch from '2026-07-22 08:28:43'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47639, 'SRID=4674;POINT (-40.322518 -2.770152)', '2026-07-22 08:28:55', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322523 -2.770152)'), GeomFromEWKT('SRID=4674;POINT (-40.322518 -2.770152)'))) / (select extract(epoch from '2026-07-22 08:28:55'::timestamp) - extract(epoch from '2026-07-22 08:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322523 -2.770152)'), GeomFromEWKT('SRID=4674;POINT (-40.322518 -2.770152)'))) / (select extract(epoch from '2026-07-22 08:28:55'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47639, 'SRID=4674;POINT (-40.32251 -2.77014)', '2026-07-22 08:29:03', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322518 -2.770152)'), GeomFromEWKT('SRID=4674;POINT (-40.32251 -2.77014)'))) / (select extract(epoch from '2026-07-22 08:29:03'::timestamp) - extract(epoch from '2026-07-22 08:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322518 -2.770152)'), GeomFromEWKT('SRID=4674;POINT (-40.32251 -2.77014)'))) / (select extract(epoch from '2026-07-22 08:29:03'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47639, 'SRID=4674;POINT (-40.322504 -2.770129)', '2026-07-22 08:29:13', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32251 -2.77014)'), GeomFromEWKT('SRID=4674;POINT (-40.322504 -2.770129)'))) / (select extract(epoch from '2026-07-22 08:29:13'::timestamp) - extract(epoch from '2026-07-22 08:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32251 -2.77014)'), GeomFromEWKT('SRID=4674;POINT (-40.322504 -2.770129)'))) / (select extract(epoch from '2026-07-22 08:29:13'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47639, 'SRID=4674;POINT (-40.322499 -2.770124)', '2026-07-22 08:29:26', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322504 -2.770129)'), GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770124)'))) / (select extract(epoch from '2026-07-22 08:29:26'::timestamp) - extract(epoch from '2026-07-22 08:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322504 -2.770129)'), GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770124)'))) / (select extract(epoch from '2026-07-22 08:29:26'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47639, 'SRID=4674;POINT (-40.322493 -2.770112)', '2026-07-22 08:29:39', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770124)'), GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'))) / (select extract(epoch from '2026-07-22 08:29:39'::timestamp) - extract(epoch from '2026-07-22 08:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770124)'), GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'))) / (select extract(epoch from '2026-07-22 08:29:39'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47639, 'SRID=4674;POINT (-40.322493 -2.770114)', '2026-07-22 08:29:48', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'), GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770114)'))) / (select extract(epoch from '2026-07-22 08:29:48'::timestamp) - extract(epoch from '2026-07-22 08:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'), GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770114)'))) / (select extract(epoch from '2026-07-22 08:29:48'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47639, 'SRID=4674;POINT (-40.322496 -2.770114)', '2026-07-22 08:29:57', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770114)'), GeomFromEWKT('SRID=4674;POINT (-40.322496 -2.770114)'))) / (select extract(epoch from '2026-07-22 08:29:57'::timestamp) - extract(epoch from '2026-07-22 08:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770114)'), GeomFromEWKT('SRID=4674;POINT (-40.322496 -2.770114)'))) / (select extract(epoch from '2026-07-22 08:29:57'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47639, 'SRID=4674;POINT (-40.322493 -2.770112)', '2026-07-22 08:30:04', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322496 -2.770114)'), GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'))) / (select extract(epoch from '2026-07-22 08:30:04'::timestamp) - extract(epoch from '2026-07-22 08:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322496 -2.770114)'), GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'))) / (select extract(epoch from '2026-07-22 08:30:04'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47639, 'SRID=4674;POINT (-40.322499 -2.770105)', '2026-07-22 08:30:12', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'), GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770105)'))) / (select extract(epoch from '2026-07-22 08:30:12'::timestamp) - extract(epoch from '2026-07-22 08:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322493 -2.770112)'), GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770105)'))) / (select extract(epoch from '2026-07-22 08:30:12'::timestamp) - extract(epoch from '2026-07-22 08:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322502 -2.770103)', '2026-07-22 08:30:24', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770105)'), GeomFromEWKT('SRID=4674;POINT (-40.322502 -2.770103)'))) / (select extract(epoch from '2026-07-22 08:30:24'::timestamp) - extract(epoch from '2026-07-22 08:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322499 -2.770105)'), GeomFromEWKT('SRID=4674;POINT (-40.322502 -2.770103)'))) / (select extract(epoch from '2026-07-22 08:30:24'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47639, 'SRID=4674;POINT (-40.322511 -2.770112)', '2026-07-22 08:30:35', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322502 -2.770103)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.770112)'))) / (select extract(epoch from '2026-07-22 08:30:35'::timestamp) - extract(epoch from '2026-07-22 08:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322502 -2.770103)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.770112)'))) / (select extract(epoch from '2026-07-22 08:30:35'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47639, 'SRID=4674;POINT (-40.3225 -2.770115)', '2026-07-22 08:30:44', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.770112)'), GeomFromEWKT('SRID=4674;POINT (-40.3225 -2.770115)'))) / (select extract(epoch from '2026-07-22 08:30:44'::timestamp) - extract(epoch from '2026-07-22 08:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.770112)'), GeomFromEWKT('SRID=4674;POINT (-40.3225 -2.770115)'))) / (select extract(epoch from '2026-07-22 08:30:44'::timestamp) - extract(epoch from '2026-07-22 08:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.32245 -2.770094)', '2026-07-22 08:30:57', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3225 -2.770115)'), GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.770094)'))) / (select extract(epoch from '2026-07-22 08:30:57'::timestamp) - extract(epoch from '2026-07-22 08:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3225 -2.770115)'), GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.770094)'))) / (select extract(epoch from '2026-07-22 08:30:57'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47639, 'SRID=4674;POINT (-40.322385 -2.770097)', '2026-07-22 08:31:12', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.770094)'), GeomFromEWKT('SRID=4674;POINT (-40.322385 -2.770097)'))) / (select extract(epoch from '2026-07-22 08:31:12'::timestamp) - extract(epoch from '2026-07-22 08:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.770094)'), GeomFromEWKT('SRID=4674;POINT (-40.322385 -2.770097)'))) / (select extract(epoch from '2026-07-22 08:31:12'::timestamp) - extract(epoch from '2026-07-22 08:30: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'), 47639, 'SRID=4674;POINT (-40.322331 -2.770088)', '2026-07-22 08:31:28', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322385 -2.770097)'), GeomFromEWKT('SRID=4674;POINT (-40.322331 -2.770088)'))) / (select extract(epoch from '2026-07-22 08:31:28'::timestamp) - extract(epoch from '2026-07-22 08:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322385 -2.770097)'), GeomFromEWKT('SRID=4674;POINT (-40.322331 -2.770088)'))) / (select extract(epoch from '2026-07-22 08:31:28'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47639, 'SRID=4674;POINT (-40.322319 -2.770094)', '2026-07-22 08:31:42', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322331 -2.770088)'), GeomFromEWKT('SRID=4674;POINT (-40.322319 -2.770094)'))) / (select extract(epoch from '2026-07-22 08:31:42'::timestamp) - extract(epoch from '2026-07-22 08:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322331 -2.770088)'), GeomFromEWKT('SRID=4674;POINT (-40.322319 -2.770094)'))) / (select extract(epoch from '2026-07-22 08:31:42'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47639, 'SRID=4674;POINT (-40.322317 -2.770088)', '2026-07-22 08:31:53', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322319 -2.770094)'), GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.770088)'))) / (select extract(epoch from '2026-07-22 08:31:53'::timestamp) - extract(epoch from '2026-07-22 08:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322319 -2.770094)'), GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.770088)'))) / (select extract(epoch from '2026-07-22 08:31:53'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47639, 'SRID=4674;POINT (-40.322304 -2.77009)', '2026-07-22 08:32:01', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.770088)'), GeomFromEWKT('SRID=4674;POINT (-40.322304 -2.77009)'))) / (select extract(epoch from '2026-07-22 08:32:01'::timestamp) - extract(epoch from '2026-07-22 08:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322317 -2.770088)'), GeomFromEWKT('SRID=4674;POINT (-40.322304 -2.77009)'))) / (select extract(epoch from '2026-07-22 08:32:01'::timestamp) - extract(epoch from '2026-07-22 08:31: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'), 47639, 'SRID=4674;POINT (-40.322277 -2.770072)', '2026-07-22 08:32:11', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322304 -2.77009)'), GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.770072)'))) / (select extract(epoch from '2026-07-22 08:32:11'::timestamp) - extract(epoch from '2026-07-22 08:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322304 -2.77009)'), GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.770072)'))) / (select extract(epoch from '2026-07-22 08:32:11'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47639, 'SRID=4674;POINT (-40.32227 -2.770067)', '2026-07-22 08:32:25', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.770072)'), GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.770067)'))) / (select extract(epoch from '2026-07-22 08:32:25'::timestamp) - extract(epoch from '2026-07-22 08:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.770072)'), GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.770067)'))) / (select extract(epoch from '2026-07-22 08:32:25'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47639, 'SRID=4674;POINT (-40.322265 -2.770072)', '2026-07-22 08:32:36', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.770067)'), GeomFromEWKT('SRID=4674;POINT (-40.322265 -2.770072)'))) / (select extract(epoch from '2026-07-22 08:32:36'::timestamp) - extract(epoch from '2026-07-22 08:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.770067)'), GeomFromEWKT('SRID=4674;POINT (-40.322265 -2.770072)'))) / (select extract(epoch from '2026-07-22 08:32:36'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47639, 'SRID=4674;POINT (-40.322275 -2.770079)', '2026-07-22 08:32:50', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322265 -2.770072)'), GeomFromEWKT('SRID=4674;POINT (-40.322275 -2.770079)'))) / (select extract(epoch from '2026-07-22 08:32:50'::timestamp) - extract(epoch from '2026-07-22 08:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322265 -2.770072)'), GeomFromEWKT('SRID=4674;POINT (-40.322275 -2.770079)'))) / (select extract(epoch from '2026-07-22 08:32:50'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47639, 'SRID=4674;POINT (-40.322286 -2.770078)', '2026-07-22 08:33:00', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322275 -2.770079)'), GeomFromEWKT('SRID=4674;POINT (-40.322286 -2.770078)'))) / (select extract(epoch from '2026-07-22 08:33:00'::timestamp) - extract(epoch from '2026-07-22 08:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322275 -2.770079)'), GeomFromEWKT('SRID=4674;POINT (-40.322286 -2.770078)'))) / (select extract(epoch from '2026-07-22 08:33:00'::timestamp) - extract(epoch from '2026-07-22 08:32: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'), 47639, 'SRID=4674;POINT (-40.322294 -2.770067)', '2026-07-22 08:33:15', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322286 -2.770078)'), GeomFromEWKT('SRID=4674;POINT (-40.322294 -2.770067)'))) / (select extract(epoch from '2026-07-22 08:33:15'::timestamp) - extract(epoch from '2026-07-22 08:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322286 -2.770078)'), GeomFromEWKT('SRID=4674;POINT (-40.322294 -2.770067)'))) / (select extract(epoch from '2026-07-22 08:33:15'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47639, 'SRID=4674;POINT (-40.322303 -2.770067)', '2026-07-22 08:33:28', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322294 -2.770067)'), GeomFromEWKT('SRID=4674;POINT (-40.322303 -2.770067)'))) / (select extract(epoch from '2026-07-22 08:33:28'::timestamp) - extract(epoch from '2026-07-22 08:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322294 -2.770067)'), GeomFromEWKT('SRID=4674;POINT (-40.322303 -2.770067)'))) / (select extract(epoch from '2026-07-22 08:33:28'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47639, 'SRID=4674;POINT (-40.322321 -2.770053)', '2026-07-22 08:33:36', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322303 -2.770067)'), GeomFromEWKT('SRID=4674;POINT (-40.322321 -2.770053)'))) / (select extract(epoch from '2026-07-22 08:33:36'::timestamp) - extract(epoch from '2026-07-22 08:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322303 -2.770067)'), GeomFromEWKT('SRID=4674;POINT (-40.322321 -2.770053)'))) / (select extract(epoch from '2026-07-22 08:33:36'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47639, 'SRID=4674;POINT (-40.32233 -2.77004)', '2026-07-22 08:33:47', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322321 -2.770053)'), GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.77004)'))) / (select extract(epoch from '2026-07-22 08:33:47'::timestamp) - extract(epoch from '2026-07-22 08:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322321 -2.770053)'), GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.77004)'))) / (select extract(epoch from '2026-07-22 08:33:47'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47639, 'SRID=4674;POINT (-40.322345 -2.770034)', '2026-07-22 08:33:57', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.77004)'), GeomFromEWKT('SRID=4674;POINT (-40.322345 -2.770034)'))) / (select extract(epoch from '2026-07-22 08:33:57'::timestamp) - extract(epoch from '2026-07-22 08:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.77004)'), GeomFromEWKT('SRID=4674;POINT (-40.322345 -2.770034)'))) / (select extract(epoch from '2026-07-22 08:33:57'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47639, 'SRID=4674;POINT (-40.322346 -2.770037)', '2026-07-22 08:34:06', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322345 -2.770034)'), GeomFromEWKT('SRID=4674;POINT (-40.322346 -2.770037)'))) / (select extract(epoch from '2026-07-22 08:34:06'::timestamp) - extract(epoch from '2026-07-22 08:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322345 -2.770034)'), GeomFromEWKT('SRID=4674;POINT (-40.322346 -2.770037)'))) / (select extract(epoch from '2026-07-22 08:34:06'::timestamp) - extract(epoch from '2026-07-22 08:33: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'), 47639, 'SRID=4674;POINT (-40.322349 -2.770038)', '2026-07-22 08:34:17', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322346 -2.770037)'), GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770038)'))) / (select extract(epoch from '2026-07-22 08:34:17'::timestamp) - extract(epoch from '2026-07-22 08:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322346 -2.770037)'), GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770038)'))) / (select extract(epoch from '2026-07-22 08:34:17'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47639, 'SRID=4674;POINT (-40.322347 -2.770037)', '2026-07-22 08:34:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770038)'), GeomFromEWKT('SRID=4674;POINT (-40.322347 -2.770037)'))) / (select extract(epoch from '2026-07-22 08:34:29'::timestamp) - extract(epoch from '2026-07-22 08:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770038)'), GeomFromEWKT('SRID=4674;POINT (-40.322347 -2.770037)'))) / (select extract(epoch from '2026-07-22 08:34:29'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47639, 'SRID=4674;POINT (-40.322355 -2.770034)', '2026-07-22 08:34:39', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322347 -2.770037)'), GeomFromEWKT('SRID=4674;POINT (-40.322355 -2.770034)'))) / (select extract(epoch from '2026-07-22 08:34:39'::timestamp) - extract(epoch from '2026-07-22 08:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322347 -2.770037)'), GeomFromEWKT('SRID=4674;POINT (-40.322355 -2.770034)'))) / (select extract(epoch from '2026-07-22 08:34:39'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47639, 'SRID=4674;POINT (-40.322359 -2.770037)', '2026-07-22 08:34:51', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322355 -2.770034)'), GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.770037)'))) / (select extract(epoch from '2026-07-22 08:34:51'::timestamp) - extract(epoch from '2026-07-22 08:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322355 -2.770034)'), GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.770037)'))) / (select extract(epoch from '2026-07-22 08:34:51'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47639, 'SRID=4674;POINT (-40.322366 -2.770036)', '2026-07-22 08:35:05', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.770037)'), GeomFromEWKT('SRID=4674;POINT (-40.322366 -2.770036)'))) / (select extract(epoch from '2026-07-22 08:35:05'::timestamp) - extract(epoch from '2026-07-22 08:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.770037)'), GeomFromEWKT('SRID=4674;POINT (-40.322366 -2.770036)'))) / (select extract(epoch from '2026-07-22 08:35:05'::timestamp) - extract(epoch from '2026-07-22 08:34: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'), 47639, 'SRID=4674;POINT (-40.322376 -2.770034)', '2026-07-22 08:35:15', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322366 -2.770036)'), GeomFromEWKT('SRID=4674;POINT (-40.322376 -2.770034)'))) / (select extract(epoch from '2026-07-22 08:35:15'::timestamp) - extract(epoch from '2026-07-22 08:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322366 -2.770036)'), GeomFromEWKT('SRID=4674;POINT (-40.322376 -2.770034)'))) / (select extract(epoch from '2026-07-22 08:35:15'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47639, 'SRID=4674;POINT (-40.32238 -2.770044)', '2026-07-22 08:35:23', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322376 -2.770034)'), GeomFromEWKT('SRID=4674;POINT (-40.32238 -2.770044)'))) / (select extract(epoch from '2026-07-22 08:35:23'::timestamp) - extract(epoch from '2026-07-22 08:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322376 -2.770034)'), GeomFromEWKT('SRID=4674;POINT (-40.32238 -2.770044)'))) / (select extract(epoch from '2026-07-22 08:35:23'::timestamp) - extract(epoch from '2026-07-22 08:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322389 -2.770048)', '2026-07-22 08:35:33', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32238 -2.770044)'), GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770048)'))) / (select extract(epoch from '2026-07-22 08:35:33'::timestamp) - extract(epoch from '2026-07-22 08:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32238 -2.770044)'), GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770048)'))) / (select extract(epoch from '2026-07-22 08:35:33'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47639, 'SRID=4674;POINT (-40.322396 -2.770057)', '2026-07-22 08:35:44', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322396 -2.770057)'))) / (select extract(epoch from '2026-07-22 08:35:44'::timestamp) - extract(epoch from '2026-07-22 08:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322389 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322396 -2.770057)'))) / (select extract(epoch from '2026-07-22 08:35:44'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322428 -2.770046)', '2026-07-22 08:35:59', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322396 -2.770057)'), GeomFromEWKT('SRID=4674;POINT (-40.322428 -2.770046)'))) / (select extract(epoch from '2026-07-22 08:35:59'::timestamp) - extract(epoch from '2026-07-22 08:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322396 -2.770057)'), GeomFromEWKT('SRID=4674;POINT (-40.322428 -2.770046)'))) / (select extract(epoch from '2026-07-22 08:35:59'::timestamp) - extract(epoch from '2026-07-22 08:35: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'), 47639, 'SRID=4674;POINT (-40.322456 -2.770053)', '2026-07-22 08:36:13', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322428 -2.770046)'), GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.770053)'))) / (select extract(epoch from '2026-07-22 08:36:13'::timestamp) - extract(epoch from '2026-07-22 08:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322428 -2.770046)'), GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.770053)'))) / (select extract(epoch from '2026-07-22 08:36:13'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322526 -2.770048)', '2026-07-22 08:36:28', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.770053)'), GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.770048)'))) / (select extract(epoch from '2026-07-22 08:36:28'::timestamp) - extract(epoch from '2026-07-22 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322456 -2.770053)'), GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.770048)'))) / (select extract(epoch from '2026-07-22 08:36:28'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47639, 'SRID=4674;POINT (-40.322582 -2.770059)', '2026-07-22 08:36:43', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.770059)'))) / (select extract(epoch from '2026-07-22 08:36:43'::timestamp) - extract(epoch from '2026-07-22 08:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.770059)'))) / (select extract(epoch from '2026-07-22 08:36:43'::timestamp) - extract(epoch from '2026-07-22 08:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322611 -2.770062)', '2026-07-22 08:36:56', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.770059)'), GeomFromEWKT('SRID=4674;POINT (-40.322611 -2.770062)'))) / (select extract(epoch from '2026-07-22 08:36:56'::timestamp) - extract(epoch from '2026-07-22 08:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322582 -2.770059)'), GeomFromEWKT('SRID=4674;POINT (-40.322611 -2.770062)'))) / (select extract(epoch from '2026-07-22 08:36:56'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322673 -2.770074)', '2026-07-22 08:37:08', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322611 -2.770062)'), GeomFromEWKT('SRID=4674;POINT (-40.322673 -2.770074)'))) / (select extract(epoch from '2026-07-22 08:37:08'::timestamp) - extract(epoch from '2026-07-22 08:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322611 -2.770062)'), GeomFromEWKT('SRID=4674;POINT (-40.322673 -2.770074)'))) / (select extract(epoch from '2026-07-22 08:37:08'::timestamp) - extract(epoch from '2026-07-22 08:36: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'), 47639, 'SRID=4674;POINT (-40.322713 -2.770021)', '2026-07-22 08:37:26', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322673 -2.770074)'), GeomFromEWKT('SRID=4674;POINT (-40.322713 -2.770021)'))) / (select extract(epoch from '2026-07-22 08:37:26'::timestamp) - extract(epoch from '2026-07-22 08:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322673 -2.770074)'), GeomFromEWKT('SRID=4674;POINT (-40.322713 -2.770021)'))) / (select extract(epoch from '2026-07-22 08:37:26'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.322765 -2.769963)', '2026-07-22 08:37:31', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322713 -2.770021)'), GeomFromEWKT('SRID=4674;POINT (-40.322765 -2.769963)'))) / (select extract(epoch from '2026-07-22 08:37:31'::timestamp) - extract(epoch from '2026-07-22 08:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322713 -2.770021)'), GeomFromEWKT('SRID=4674;POINT (-40.322765 -2.769963)'))) / (select extract(epoch from '2026-07-22 08:37:31'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47639, 'SRID=4674;POINT (-40.322865 -2.76992)', '2026-07-22 08:37:37', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322765 -2.769963)'), GeomFromEWKT('SRID=4674;POINT (-40.322865 -2.76992)'))) / (select extract(epoch from '2026-07-22 08:37:37'::timestamp) - extract(epoch from '2026-07-22 08:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322765 -2.769963)'), GeomFromEWKT('SRID=4674;POINT (-40.322865 -2.76992)'))) / (select extract(epoch from '2026-07-22 08:37:37'::timestamp) - extract(epoch from '2026-07-22 08:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.322953 -2.769979)', '2026-07-22 08:37:44', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322865 -2.76992)'), GeomFromEWKT('SRID=4674;POINT (-40.322953 -2.769979)'))) / (select extract(epoch from '2026-07-22 08:37:44'::timestamp) - extract(epoch from '2026-07-22 08:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322865 -2.76992)'), GeomFromEWKT('SRID=4674;POINT (-40.322953 -2.769979)'))) / (select extract(epoch from '2026-07-22 08:37:44'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47639, 'SRID=4674;POINT (-40.322979 -2.770121)', '2026-07-22 08:37:51', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322953 -2.769979)'), GeomFromEWKT('SRID=4674;POINT (-40.322979 -2.770121)'))) / (select extract(epoch from '2026-07-22 08:37:51'::timestamp) - extract(epoch from '2026-07-22 08:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322953 -2.769979)'), GeomFromEWKT('SRID=4674;POINT (-40.322979 -2.770121)'))) / (select extract(epoch from '2026-07-22 08:37:51'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47639, 'SRID=4674;POINT (-40.323026 -2.770306)', '2026-07-22 08:38:00', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322979 -2.770121)'), GeomFromEWKT('SRID=4674;POINT (-40.323026 -2.770306)'))) / (select extract(epoch from '2026-07-22 08:38:00'::timestamp) - extract(epoch from '2026-07-22 08:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322979 -2.770121)'), GeomFromEWKT('SRID=4674;POINT (-40.323026 -2.770306)'))) / (select extract(epoch from '2026-07-22 08:38:00'::timestamp) - extract(epoch from '2026-07-22 08:37: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'), 47639, 'SRID=4674;POINT (-40.323055 -2.770491)', '2026-07-22 08:38:09', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323026 -2.770306)'), GeomFromEWKT('SRID=4674;POINT (-40.323055 -2.770491)'))) / (select extract(epoch from '2026-07-22 08:38:09'::timestamp) - extract(epoch from '2026-07-22 08:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323026 -2.770306)'), GeomFromEWKT('SRID=4674;POINT (-40.323055 -2.770491)'))) / (select extract(epoch from '2026-07-22 08:38:09'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47639, 'SRID=4674;POINT (-40.32309 -2.770644)', '2026-07-22 08:38:16', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323055 -2.770491)'), GeomFromEWKT('SRID=4674;POINT (-40.32309 -2.770644)'))) / (select extract(epoch from '2026-07-22 08:38:16'::timestamp) - extract(epoch from '2026-07-22 08:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323055 -2.770491)'), GeomFromEWKT('SRID=4674;POINT (-40.32309 -2.770644)'))) / (select extract(epoch from '2026-07-22 08:38:16'::timestamp) - extract(epoch from '2026-07-22 08:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.323138 -2.770802)', '2026-07-22 08:38:24', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32309 -2.770644)'), GeomFromEWKT('SRID=4674;POINT (-40.323138 -2.770802)'))) / (select extract(epoch from '2026-07-22 08:38:24'::timestamp) - extract(epoch from '2026-07-22 08:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32309 -2.770644)'), GeomFromEWKT('SRID=4674;POINT (-40.323138 -2.770802)'))) / (select extract(epoch from '2026-07-22 08:38:24'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47639, 'SRID=4674;POINT (-40.323128 -2.770944)', '2026-07-22 08:38:31', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323138 -2.770802)'), GeomFromEWKT('SRID=4674;POINT (-40.323128 -2.770944)'))) / (select extract(epoch from '2026-07-22 08:38:31'::timestamp) - extract(epoch from '2026-07-22 08:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323138 -2.770802)'), GeomFromEWKT('SRID=4674;POINT (-40.323128 -2.770944)'))) / (select extract(epoch from '2026-07-22 08:38:31'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.323126 -2.771141)', '2026-07-22 08:38:41', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323128 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.323126 -2.771141)'))) / (select extract(epoch from '2026-07-22 08:38:41'::timestamp) - extract(epoch from '2026-07-22 08:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323128 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.323126 -2.771141)'))) / (select extract(epoch from '2026-07-22 08:38:41'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47639, 'SRID=4674;POINT (-40.323189 -2.771329)', '2026-07-22 08:38:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323126 -2.771141)'), GeomFromEWKT('SRID=4674;POINT (-40.323189 -2.771329)'))) / (select extract(epoch from '2026-07-22 08:38:50'::timestamp) - extract(epoch from '2026-07-22 08:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323126 -2.771141)'), GeomFromEWKT('SRID=4674;POINT (-40.323189 -2.771329)'))) / (select extract(epoch from '2026-07-22 08:38:50'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47639, 'SRID=4674;POINT (-40.323207 -2.771488)', '2026-07-22 08:38:58', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323189 -2.771329)'), GeomFromEWKT('SRID=4674;POINT (-40.323207 -2.771488)'))) / (select extract(epoch from '2026-07-22 08:38:58'::timestamp) - extract(epoch from '2026-07-22 08:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323189 -2.771329)'), GeomFromEWKT('SRID=4674;POINT (-40.323207 -2.771488)'))) / (select extract(epoch from '2026-07-22 08:38:58'::timestamp) - extract(epoch from '2026-07-22 08:38: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'), 47639, 'SRID=4674;POINT (-40.323224 -2.771638)', '2026-07-22 08:39:06', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323207 -2.771488)'), GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.771638)'))) / (select extract(epoch from '2026-07-22 08:39:06'::timestamp) - extract(epoch from '2026-07-22 08:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323207 -2.771488)'), GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.771638)'))) / (select extract(epoch from '2026-07-22 08:39:06'::timestamp) - extract(epoch from '2026-07-22 08:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.323206 -2.771744)', '2026-07-22 08:39:12', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.771638)'), GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.771744)'))) / (select extract(epoch from '2026-07-22 08:39:12'::timestamp) - extract(epoch from '2026-07-22 08:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.771638)'), GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.771744)'))) / (select extract(epoch from '2026-07-22 08:39:12'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47639, 'SRID=4674;POINT (-40.323169 -2.771865)', '2026-07-22 08:39:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.771744)'), GeomFromEWKT('SRID=4674;POINT (-40.323169 -2.771865)'))) / (select extract(epoch from '2026-07-22 08:39:18'::timestamp) - extract(epoch from '2026-07-22 08:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.771744)'), GeomFromEWKT('SRID=4674;POINT (-40.323169 -2.771865)'))) / (select extract(epoch from '2026-07-22 08:39:18'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47639, 'SRID=4674;POINT (-40.323178 -2.772007)', '2026-07-22 08:39:24', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323169 -2.771865)'), GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.772007)'))) / (select extract(epoch from '2026-07-22 08:39:24'::timestamp) - extract(epoch from '2026-07-22 08:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323169 -2.771865)'), GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.772007)'))) / (select extract(epoch from '2026-07-22 08:39:24'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47639, 'SRID=4674;POINT (-40.323222 -2.77218)', '2026-07-22 08:39:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.772007)'), GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.77218)'))) / (select extract(epoch from '2026-07-22 08:39:33'::timestamp) - extract(epoch from '2026-07-22 08:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323178 -2.772007)'), GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.77218)'))) / (select extract(epoch from '2026-07-22 08:39:33'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47639, 'SRID=4674;POINT (-40.323227 -2.772305)', '2026-07-22 08:39:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.77218)'), GeomFromEWKT('SRID=4674;POINT (-40.323227 -2.772305)'))) / (select extract(epoch from '2026-07-22 08:39:39'::timestamp) - extract(epoch from '2026-07-22 08:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.77218)'), GeomFromEWKT('SRID=4674;POINT (-40.323227 -2.772305)'))) / (select extract(epoch from '2026-07-22 08:39:39'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47639, 'SRID=4674;POINT (-40.323244 -2.772439)', '2026-07-22 08:39:45', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323227 -2.772305)'), GeomFromEWKT('SRID=4674;POINT (-40.323244 -2.772439)'))) / (select extract(epoch from '2026-07-22 08:39:45'::timestamp) - extract(epoch from '2026-07-22 08:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323227 -2.772305)'), GeomFromEWKT('SRID=4674;POINT (-40.323244 -2.772439)'))) / (select extract(epoch from '2026-07-22 08:39:45'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47639, 'SRID=4674;POINT (-40.323292 -2.77262)', '2026-07-22 08:39:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323244 -2.772439)'), GeomFromEWKT('SRID=4674;POINT (-40.323292 -2.77262)'))) / (select extract(epoch from '2026-07-22 08:39:53'::timestamp) - extract(epoch from '2026-07-22 08:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323244 -2.772439)'), GeomFromEWKT('SRID=4674;POINT (-40.323292 -2.77262)'))) / (select extract(epoch from '2026-07-22 08:39:53'::timestamp) - extract(epoch from '2026-07-22 08:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47639, 'SRID=4674;POINT (-40.323293 -2.772751)', '2026-07-22 08:40:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323292 -2.77262)'), GeomFromEWKT('SRID=4674;POINT (-40.323293 -2.772751)'))) / (select extract(epoch from '2026-07-22 08:40:00'::timestamp) - extract(epoch from '2026-07-22 08:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323292 -2.77262)'), GeomFromEWKT('SRID=4674;POINT (-40.323293 -2.772751)'))) / (select extract(epoch from '2026-07-22 08:40:00'::timestamp) - extract(epoch from '2026-07-22 08:39: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'), 47639, 'SRID=4674;POINT (-40.323275 -2.772886)', '2026-07-22 08:40:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323293 -2.772751)'), GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.772886)'))) / (select extract(epoch from '2026-07-22 08:40:08'::timestamp) - extract(epoch from '2026-07-22 08:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323293 -2.772751)'), GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.772886)'))) / (select extract(epoch from '2026-07-22 08:40:08'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323275 -2.77303)', '2026-07-22 08:40:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.772886)'), GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.77303)'))) / (select extract(epoch from '2026-07-22 08:40:15'::timestamp) - extract(epoch from '2026-07-22 08:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.772886)'), GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.77303)'))) / (select extract(epoch from '2026-07-22 08:40:15'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323303 -2.77321)', '2026-07-22 08:40:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.77303)'), GeomFromEWKT('SRID=4674;POINT (-40.323303 -2.77321)'))) / (select extract(epoch from '2026-07-22 08:40:24'::timestamp) - extract(epoch from '2026-07-22 08:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323275 -2.77303)'), GeomFromEWKT('SRID=4674;POINT (-40.323303 -2.77321)'))) / (select extract(epoch from '2026-07-22 08:40:24'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323305 -2.773327)', '2026-07-22 08:40:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323303 -2.77321)'), GeomFromEWKT('SRID=4674;POINT (-40.323305 -2.773327)'))) / (select extract(epoch from '2026-07-22 08:40:30'::timestamp) - extract(epoch from '2026-07-22 08:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323303 -2.77321)'), GeomFromEWKT('SRID=4674;POINT (-40.323305 -2.773327)'))) / (select extract(epoch from '2026-07-22 08:40:30'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323332 -2.773457)', '2026-07-22 08:40:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323305 -2.773327)'), GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.773457)'))) / (select extract(epoch from '2026-07-22 08:40:37'::timestamp) - extract(epoch from '2026-07-22 08:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323305 -2.773327)'), GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.773457)'))) / (select extract(epoch from '2026-07-22 08:40:37'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.32337 -2.773585)', '2026-07-22 08:40:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.773457)'), GeomFromEWKT('SRID=4674;POINT (-40.32337 -2.773585)'))) / (select extract(epoch from '2026-07-22 08:40:44'::timestamp) - extract(epoch from '2026-07-22 08:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.773457)'), GeomFromEWKT('SRID=4674;POINT (-40.32337 -2.773585)'))) / (select extract(epoch from '2026-07-22 08:40:44'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323428 -2.773721)', '2026-07-22 08:40:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32337 -2.773585)'), GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.773721)'))) / (select extract(epoch from '2026-07-22 08:40:51'::timestamp) - extract(epoch from '2026-07-22 08:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32337 -2.773585)'), GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.773721)'))) / (select extract(epoch from '2026-07-22 08:40:51'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323457 -2.77388)', '2026-07-22 08:40:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.773721)'), GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77388)'))) / (select extract(epoch from '2026-07-22 08:40:59'::timestamp) - extract(epoch from '2026-07-22 08:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.773721)'), GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77388)'))) / (select extract(epoch from '2026-07-22 08:40:59'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323468 -2.77404)', '2026-07-22 08:41:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77388)'), GeomFromEWKT('SRID=4674;POINT (-40.323468 -2.77404)'))) / (select extract(epoch from '2026-07-22 08:41:07'::timestamp) - extract(epoch from '2026-07-22 08:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323457 -2.77388)'), GeomFromEWKT('SRID=4674;POINT (-40.323468 -2.77404)'))) / (select extract(epoch from '2026-07-22 08:41:07'::timestamp) - extract(epoch from '2026-07-22 08:40: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'), 47639, 'SRID=4674;POINT (-40.323481 -2.774179)', '2026-07-22 08:41:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323468 -2.77404)'), GeomFromEWKT('SRID=4674;POINT (-40.323481 -2.774179)'))) / (select extract(epoch from '2026-07-22 08:41:14'::timestamp) - extract(epoch from '2026-07-22 08:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323468 -2.77404)'), GeomFromEWKT('SRID=4674;POINT (-40.323481 -2.774179)'))) / (select extract(epoch from '2026-07-22 08:41:14'::timestamp) - extract(epoch from '2026-07-22 08:41: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'), 47639, 'SRID=4674;POINT (-40.323492 -2.774363)', '2026-07-22 08:41:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323481 -2.774179)'), GeomFromEWKT('SRID=4674;POINT (-40.323492 -2.774363)'))) / (select extract(epoch from '2026-07-22 08:41:23'::timestamp) - extract(epoch from '2026-07-22 08:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323481 -2.774179)'), GeomFromEWKT('SRID=4674;POINT (-40.323492 -2.774363)'))) / (select extract(epoch from '2026-07-22 08:41:23'::timestamp) - extract(epoch from '2026-07-22 08:41: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'), 47639, 'SRID=4674;POINT (-40.323508 -2.774535)', '2026-07-22 08:41:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323492 -2.774363)'), GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.774535)'))) / (select extract(epoch from '2026-07-22 08:41:31'::timestamp) - extract(epoch from '2026-07-22 08:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323492 -2.774363)'), GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.774535)'))) / (select extract(epoch from '2026-07-22 08:41:31'::timestamp) - extract(epoch from '2026-07-22 08:41: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'), 47639, 'SRID=4674;POINT (-40.323533 -2.774664)', '2026-07-22 08:41:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.774535)'), GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.774664)'))) / (select extract(epoch from '2026-07-22 08:41:38'::timestamp) - extract(epoch from '2026-07-22 08:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.774535)'), GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.774664)'))) / (select extract(epoch from '2026-07-22 08:41:38'::timestamp) - extract(epoch from '2026-07-22 08:41: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'), 47639, 'SRID=4674;POINT (-40.323576 -2.774863)', '2026-07-22 08:41:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.774664)'), GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.774863)'))) / (select extract(epoch from '2026-07-22 08:41:48'::timestamp) - extract(epoch from '2026-07-22 08:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.774664)'), GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.774863)'))) / (select extract(epoch from '2026-07-22 08:41:48'::timestamp) - extract(epoch from '2026-07-22 08:41: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'), 47639, 'SRID=4674;POINT (-40.3236 -2.775014)', '2026-07-22 08:41:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.774863)'), GeomFromEWKT('SRID=4674;POINT (-40.3236 -2.775014)'))) / (select extract(epoch from '2026-07-22 08:41:55'::timestamp) - extract(epoch from '2026-07-22 08:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323576 -2.774863)'), GeomFromEWKT('SRID=4674;POINT (-40.3236 -2.775014)'))) / (select extract(epoch from '2026-07-22 08:41:55'::timestamp) - extract(epoch from '2026-07-22 08:41: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'), 47639, 'SRID=4674;POINT (-40.323648 -2.775162)', '2026-07-22 08:42:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3236 -2.775014)'), GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775162)'))) / (select extract(epoch from '2026-07-22 08:42:02'::timestamp) - extract(epoch from '2026-07-22 08:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3236 -2.775014)'), GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775162)'))) / (select extract(epoch from '2026-07-22 08:42:02'::timestamp) - extract(epoch from '2026-07-22 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'), 47639, 'SRID=4674;POINT (-40.323682 -2.77531)', '2026-07-22 08:42:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775162)'), GeomFromEWKT('SRID=4674;POINT (-40.323682 -2.77531)'))) / (select extract(epoch from '2026-07-22 08:42:10'::timestamp) - extract(epoch from '2026-07-22 08:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323648 -2.775162)'), GeomFromEWKT('SRID=4674;POINT (-40.323682 -2.77531)'))) / (select extract(epoch from '2026-07-22 08:42:10'::timestamp) - extract(epoch from '2026-07-22 08:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
