BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.352528 -2.80568)', '2026-07-10 02:18:24', 3, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.352358 -2.805638)', '2026-07-10 02:18:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352528 -2.80568)'), GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.805638)'))) / (select extract(epoch from '2026-07-10 02:18:33'::timestamp) - extract(epoch from '2026-07-10 02:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352528 -2.80568)'), GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.805638)'))) / (select extract(epoch from '2026-07-10 02:18:33'::timestamp) - extract(epoch from '2026-07-10 02:18: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'), 47638, 'SRID=4674;POINT (-40.352206 -2.805603)', '2026-07-10 02:18:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.805638)'), GeomFromEWKT('SRID=4674;POINT (-40.352206 -2.805603)'))) / (select extract(epoch from '2026-07-10 02:18:41'::timestamp) - extract(epoch from '2026-07-10 02:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352358 -2.805638)'), GeomFromEWKT('SRID=4674;POINT (-40.352206 -2.805603)'))) / (select extract(epoch from '2026-07-10 02:18:41'::timestamp) - extract(epoch from '2026-07-10 02:18: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'), 47638, 'SRID=4674;POINT (-40.352046 -2.805583)', '2026-07-10 02:18:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352206 -2.805603)'), GeomFromEWKT('SRID=4674;POINT (-40.352046 -2.805583)'))) / (select extract(epoch from '2026-07-10 02:18:49'::timestamp) - extract(epoch from '2026-07-10 02:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352206 -2.805603)'), GeomFromEWKT('SRID=4674;POINT (-40.352046 -2.805583)'))) / (select extract(epoch from '2026-07-10 02:18:49'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.351865 -2.805549)', '2026-07-10 02:18:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352046 -2.805583)'), GeomFromEWKT('SRID=4674;POINT (-40.351865 -2.805549)'))) / (select extract(epoch from '2026-07-10 02:18:58'::timestamp) - extract(epoch from '2026-07-10 02:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352046 -2.805583)'), GeomFromEWKT('SRID=4674;POINT (-40.351865 -2.805549)'))) / (select extract(epoch from '2026-07-10 02:18:58'::timestamp) - extract(epoch from '2026-07-10 02:18: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'), 47638, 'SRID=4674;POINT (-40.351666 -2.805515)', '2026-07-10 02:19:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351865 -2.805549)'), GeomFromEWKT('SRID=4674;POINT (-40.351666 -2.805515)'))) / (select extract(epoch from '2026-07-10 02:19:08'::timestamp) - extract(epoch from '2026-07-10 02:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351865 -2.805549)'), GeomFromEWKT('SRID=4674;POINT (-40.351666 -2.805515)'))) / (select extract(epoch from '2026-07-10 02:19:08'::timestamp) - extract(epoch from '2026-07-10 02:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.351512 -2.805484)', '2026-07-10 02:19:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351666 -2.805515)'), GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.805484)'))) / (select extract(epoch from '2026-07-10 02:19:16'::timestamp) - extract(epoch from '2026-07-10 02:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351666 -2.805515)'), GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.805484)'))) / (select extract(epoch from '2026-07-10 02:19:16'::timestamp) - extract(epoch from '2026-07-10 02:19: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'), 47638, 'SRID=4674;POINT (-40.351349 -2.805443)', '2026-07-10 02:19:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.805484)'), GeomFromEWKT('SRID=4674;POINT (-40.351349 -2.805443)'))) / (select extract(epoch from '2026-07-10 02:19:25'::timestamp) - extract(epoch from '2026-07-10 02:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.805484)'), GeomFromEWKT('SRID=4674;POINT (-40.351349 -2.805443)'))) / (select extract(epoch from '2026-07-10 02:19:25'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.351172 -2.805434)', '2026-07-10 02:19:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351349 -2.805443)'), GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.805434)'))) / (select extract(epoch from '2026-07-10 02:19:34'::timestamp) - extract(epoch from '2026-07-10 02:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351349 -2.805443)'), GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.805434)'))) / (select extract(epoch from '2026-07-10 02:19:34'::timestamp) - extract(epoch from '2026-07-10 02:19: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'), 47638, 'SRID=4674;POINT (-40.351011 -2.805425)', '2026-07-10 02:19:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.805434)'), GeomFromEWKT('SRID=4674;POINT (-40.351011 -2.805425)'))) / (select extract(epoch from '2026-07-10 02:19:42'::timestamp) - extract(epoch from '2026-07-10 02:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.805434)'), GeomFromEWKT('SRID=4674;POINT (-40.351011 -2.805425)'))) / (select extract(epoch from '2026-07-10 02:19:42'::timestamp) - extract(epoch from '2026-07-10 02:19: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'), 47638, 'SRID=4674;POINT (-40.350832 -2.805403)', '2026-07-10 02:19:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351011 -2.805425)'), GeomFromEWKT('SRID=4674;POINT (-40.350832 -2.805403)'))) / (select extract(epoch from '2026-07-10 02:19:51'::timestamp) - extract(epoch from '2026-07-10 02:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351011 -2.805425)'), GeomFromEWKT('SRID=4674;POINT (-40.350832 -2.805403)'))) / (select extract(epoch from '2026-07-10 02:19:51'::timestamp) - extract(epoch from '2026-07-10 02:19: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'), 47638, 'SRID=4674;POINT (-40.350612 -2.805404)', '2026-07-10 02:20:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350832 -2.805403)'), GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.805404)'))) / (select extract(epoch from '2026-07-10 02:20:02'::timestamp) - extract(epoch from '2026-07-10 02:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350832 -2.805403)'), GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.805404)'))) / (select extract(epoch from '2026-07-10 02:20:02'::timestamp) - extract(epoch from '2026-07-10 02:19: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'), 47638, 'SRID=4674;POINT (-40.350455 -2.805392)', '2026-07-10 02:20:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.805404)'), GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.805392)'))) / (select extract(epoch from '2026-07-10 02:20:10'::timestamp) - extract(epoch from '2026-07-10 02:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350612 -2.805404)'), GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.805392)'))) / (select extract(epoch from '2026-07-10 02:20:10'::timestamp) - extract(epoch from '2026-07-10 02:20: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'), 47638, 'SRID=4674;POINT (-40.350301 -2.805377)', '2026-07-10 02:20:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.805392)'), GeomFromEWKT('SRID=4674;POINT (-40.350301 -2.805377)'))) / (select extract(epoch from '2026-07-10 02:20:18'::timestamp) - extract(epoch from '2026-07-10 02:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350455 -2.805392)'), GeomFromEWKT('SRID=4674;POINT (-40.350301 -2.805377)'))) / (select extract(epoch from '2026-07-10 02:20:18'::timestamp) - extract(epoch from '2026-07-10 02:20: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'), 47638, 'SRID=4674;POINT (-40.350143 -2.805385)', '2026-07-10 02:20:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350301 -2.805377)'), GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.805385)'))) / (select extract(epoch from '2026-07-10 02:20:26'::timestamp) - extract(epoch from '2026-07-10 02:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350301 -2.805377)'), GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.805385)'))) / (select extract(epoch from '2026-07-10 02:20:26'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.349982 -2.805376)', '2026-07-10 02:20:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.805385)'), GeomFromEWKT('SRID=4674;POINT (-40.349982 -2.805376)'))) / (select extract(epoch from '2026-07-10 02:20:34'::timestamp) - extract(epoch from '2026-07-10 02:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.805385)'), GeomFromEWKT('SRID=4674;POINT (-40.349982 -2.805376)'))) / (select extract(epoch from '2026-07-10 02:20:34'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.349804 -2.805362)', '2026-07-10 02:20:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349982 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.349804 -2.805362)'))) / (select extract(epoch from '2026-07-10 02:20:43'::timestamp) - extract(epoch from '2026-07-10 02:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349982 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.349804 -2.805362)'))) / (select extract(epoch from '2026-07-10 02:20:43'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.349644 -2.805344)', '2026-07-10 02:20:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349804 -2.805362)'), GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.805344)'))) / (select extract(epoch from '2026-07-10 02:20:51'::timestamp) - extract(epoch from '2026-07-10 02:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349804 -2.805362)'), GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.805344)'))) / (select extract(epoch from '2026-07-10 02:20:51'::timestamp) - extract(epoch from '2026-07-10 02:20: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'), 47638, 'SRID=4674;POINT (-40.349482 -2.805331)', '2026-07-10 02:20:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.805344)'), GeomFromEWKT('SRID=4674;POINT (-40.349482 -2.805331)'))) / (select extract(epoch from '2026-07-10 02:20:59'::timestamp) - extract(epoch from '2026-07-10 02:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.805344)'), GeomFromEWKT('SRID=4674;POINT (-40.349482 -2.805331)'))) / (select extract(epoch from '2026-07-10 02:20:59'::timestamp) - extract(epoch from '2026-07-10 02:20: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'), 47638, 'SRID=4674;POINT (-40.349378 -2.805329)', '2026-07-10 02:21:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349482 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.349378 -2.805329)'))) / (select extract(epoch from '2026-07-10 02:21:04'::timestamp) - extract(epoch from '2026-07-10 02:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349482 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.349378 -2.805329)'))) / (select extract(epoch from '2026-07-10 02:21:04'::timestamp) - extract(epoch from '2026-07-10 02:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.349197 -2.805316)', '2026-07-10 02:21:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349378 -2.805329)'), GeomFromEWKT('SRID=4674;POINT (-40.349197 -2.805316)'))) / (select extract(epoch from '2026-07-10 02:21:13'::timestamp) - extract(epoch from '2026-07-10 02:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349378 -2.805329)'), GeomFromEWKT('SRID=4674;POINT (-40.349197 -2.805316)'))) / (select extract(epoch from '2026-07-10 02:21:13'::timestamp) - extract(epoch from '2026-07-10 02:21: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'), 47638, 'SRID=4674;POINT (-40.349021 -2.805302)', '2026-07-10 02:21:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349197 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.349021 -2.805302)'))) / (select extract(epoch from '2026-07-10 02:21:22'::timestamp) - extract(epoch from '2026-07-10 02:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349197 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.349021 -2.805302)'))) / (select extract(epoch from '2026-07-10 02:21:22'::timestamp) - extract(epoch from '2026-07-10 02:21: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'), 47638, 'SRID=4674;POINT (-40.348847 -2.805282)', '2026-07-10 02:21:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349021 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.348847 -2.805282)'))) / (select extract(epoch from '2026-07-10 02:21:31'::timestamp) - extract(epoch from '2026-07-10 02:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349021 -2.805302)'), GeomFromEWKT('SRID=4674;POINT (-40.348847 -2.805282)'))) / (select extract(epoch from '2026-07-10 02:21:31'::timestamp) - extract(epoch from '2026-07-10 02:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.348666 -2.805276)', '2026-07-10 02:21:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348847 -2.805282)'), GeomFromEWKT('SRID=4674;POINT (-40.348666 -2.805276)'))) / (select extract(epoch from '2026-07-10 02:21:40'::timestamp) - extract(epoch from '2026-07-10 02:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348847 -2.805282)'), GeomFromEWKT('SRID=4674;POINT (-40.348666 -2.805276)'))) / (select extract(epoch from '2026-07-10 02:21:40'::timestamp) - extract(epoch from '2026-07-10 02:21: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'), 47638, 'SRID=4674;POINT (-40.348488 -2.805276)', '2026-07-10 02:21:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348666 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.805276)'))) / (select extract(epoch from '2026-07-10 02:21:49'::timestamp) - extract(epoch from '2026-07-10 02:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348666 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.805276)'))) / (select extract(epoch from '2026-07-10 02:21:49'::timestamp) - extract(epoch from '2026-07-10 02:21: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'), 47638, 'SRID=4674;POINT (-40.348328 -2.805282)', '2026-07-10 02:21:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.805282)'))) / (select extract(epoch from '2026-07-10 02:21:57'::timestamp) - extract(epoch from '2026-07-10 02:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.805282)'))) / (select extract(epoch from '2026-07-10 02:21:57'::timestamp) - extract(epoch from '2026-07-10 02:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.348169 -2.805281)', '2026-07-10 02:22:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.805282)'), GeomFromEWKT('SRID=4674;POINT (-40.348169 -2.805281)'))) / (select extract(epoch from '2026-07-10 02:22:05'::timestamp) - extract(epoch from '2026-07-10 02:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.805282)'), GeomFromEWKT('SRID=4674;POINT (-40.348169 -2.805281)'))) / (select extract(epoch from '2026-07-10 02:22:05'::timestamp) - extract(epoch from '2026-07-10 02:21: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'), 47638, 'SRID=4674;POINT (-40.348025 -2.805276)', '2026-07-10 02:22:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348169 -2.805281)'), GeomFromEWKT('SRID=4674;POINT (-40.348025 -2.805276)'))) / (select extract(epoch from '2026-07-10 02:22:12'::timestamp) - extract(epoch from '2026-07-10 02:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348169 -2.805281)'), GeomFromEWKT('SRID=4674;POINT (-40.348025 -2.805276)'))) / (select extract(epoch from '2026-07-10 02:22:12'::timestamp) - extract(epoch from '2026-07-10 02:22: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'), 47638, 'SRID=4674;POINT (-40.347867 -2.805279)', '2026-07-10 02:22:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348025 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.347867 -2.805279)'))) / (select extract(epoch from '2026-07-10 02:22:20'::timestamp) - extract(epoch from '2026-07-10 02:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348025 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.347867 -2.805279)'))) / (select extract(epoch from '2026-07-10 02:22:20'::timestamp) - extract(epoch from '2026-07-10 02:22: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'), 47638, 'SRID=4674;POINT (-40.347728 -2.805288)', '2026-07-10 02:22:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347867 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.347728 -2.805288)'))) / (select extract(epoch from '2026-07-10 02:22:27'::timestamp) - extract(epoch from '2026-07-10 02:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347867 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.347728 -2.805288)'))) / (select extract(epoch from '2026-07-10 02:22:27'::timestamp) - extract(epoch from '2026-07-10 02:22: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'), 47638, 'SRID=4674;POINT (-40.347563 -2.805264)', '2026-07-10 02:22:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347728 -2.805288)'), GeomFromEWKT('SRID=4674;POINT (-40.347563 -2.805264)'))) / (select extract(epoch from '2026-07-10 02:22:36'::timestamp) - extract(epoch from '2026-07-10 02:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347728 -2.805288)'), GeomFromEWKT('SRID=4674;POINT (-40.347563 -2.805264)'))) / (select extract(epoch from '2026-07-10 02:22:36'::timestamp) - extract(epoch from '2026-07-10 02:22: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'), 47638, 'SRID=4674;POINT (-40.347381 -2.805251)', '2026-07-10 02:22:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347563 -2.805264)'), GeomFromEWKT('SRID=4674;POINT (-40.347381 -2.805251)'))) / (select extract(epoch from '2026-07-10 02:22:45'::timestamp) - extract(epoch from '2026-07-10 02:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347563 -2.805264)'), GeomFromEWKT('SRID=4674;POINT (-40.347381 -2.805251)'))) / (select extract(epoch from '2026-07-10 02:22:45'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.347164 -2.805233)', '2026-07-10 02:22:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347381 -2.805251)'), GeomFromEWKT('SRID=4674;POINT (-40.347164 -2.805233)'))) / (select extract(epoch from '2026-07-10 02:22:56'::timestamp) - extract(epoch from '2026-07-10 02:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347381 -2.805251)'), GeomFromEWKT('SRID=4674;POINT (-40.347164 -2.805233)'))) / (select extract(epoch from '2026-07-10 02:22:56'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.347014 -2.805193)', '2026-07-10 02:23:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347164 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.347014 -2.805193)'))) / (select extract(epoch from '2026-07-10 02:23:04'::timestamp) - extract(epoch from '2026-07-10 02:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347164 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.347014 -2.805193)'))) / (select extract(epoch from '2026-07-10 02:23:04'::timestamp) - extract(epoch from '2026-07-10 02:22: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'), 47638, 'SRID=4674;POINT (-40.346845 -2.805146)', '2026-07-10 02:23:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347014 -2.805193)'), GeomFromEWKT('SRID=4674;POINT (-40.346845 -2.805146)'))) / (select extract(epoch from '2026-07-10 02:23:13'::timestamp) - extract(epoch from '2026-07-10 02:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347014 -2.805193)'), GeomFromEWKT('SRID=4674;POINT (-40.346845 -2.805146)'))) / (select extract(epoch from '2026-07-10 02:23:13'::timestamp) - extract(epoch from '2026-07-10 02:23: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'), 47638, 'SRID=4674;POINT (-40.346733 -2.805105)', '2026-07-10 02:23:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346845 -2.805146)'), GeomFromEWKT('SRID=4674;POINT (-40.346733 -2.805105)'))) / (select extract(epoch from '2026-07-10 02:23:19'::timestamp) - extract(epoch from '2026-07-10 02:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346845 -2.805146)'), GeomFromEWKT('SRID=4674;POINT (-40.346733 -2.805105)'))) / (select extract(epoch from '2026-07-10 02:23:19'::timestamp) - extract(epoch from '2026-07-10 02:23: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'), 47638, 'SRID=4674;POINT (-40.346526 -2.805037)', '2026-07-10 02:23:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346733 -2.805105)'), GeomFromEWKT('SRID=4674;POINT (-40.346526 -2.805037)'))) / (select extract(epoch from '2026-07-10 02:23:30'::timestamp) - extract(epoch from '2026-07-10 02:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346733 -2.805105)'), GeomFromEWKT('SRID=4674;POINT (-40.346526 -2.805037)'))) / (select extract(epoch from '2026-07-10 02:23:30'::timestamp) - extract(epoch from '2026-07-10 02:23: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'), 47638, 'SRID=4674;POINT (-40.346316 -2.804996)', '2026-07-10 02:23:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346526 -2.805037)'), GeomFromEWKT('SRID=4674;POINT (-40.346316 -2.804996)'))) / (select extract(epoch from '2026-07-10 02:23:41'::timestamp) - extract(epoch from '2026-07-10 02:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346526 -2.805037)'), GeomFromEWKT('SRID=4674;POINT (-40.346316 -2.804996)'))) / (select extract(epoch from '2026-07-10 02:23:41'::timestamp) - extract(epoch from '2026-07-10 02:23: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'), 47638, 'SRID=4674;POINT (-40.346178 -2.804969)', '2026-07-10 02:23:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346316 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.346178 -2.804969)'))) / (select extract(epoch from '2026-07-10 02:23:48'::timestamp) - extract(epoch from '2026-07-10 02:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346316 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.346178 -2.804969)'))) / (select extract(epoch from '2026-07-10 02:23:48'::timestamp) - extract(epoch from '2026-07-10 02:23: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'), 47638, 'SRID=4674;POINT (-40.346016 -2.804958)', '2026-07-10 02:23:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346178 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.346016 -2.804958)'))) / (select extract(epoch from '2026-07-10 02:23:56'::timestamp) - extract(epoch from '2026-07-10 02:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346178 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.346016 -2.804958)'))) / (select extract(epoch from '2026-07-10 02:23:56'::timestamp) - extract(epoch from '2026-07-10 02:23: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'), 47638, 'SRID=4674;POINT (-40.345857 -2.804948)', '2026-07-10 02:24:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346016 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.345857 -2.804948)'))) / (select extract(epoch from '2026-07-10 02:24:04'::timestamp) - extract(epoch from '2026-07-10 02:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346016 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.345857 -2.804948)'))) / (select extract(epoch from '2026-07-10 02:24:04'::timestamp) - extract(epoch from '2026-07-10 02:23: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'), 47638, 'SRID=4674;POINT (-40.34568 -2.804925)', '2026-07-10 02:24:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345857 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.34568 -2.804925)'))) / (select extract(epoch from '2026-07-10 02:24:13'::timestamp) - extract(epoch from '2026-07-10 02:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345857 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.34568 -2.804925)'))) / (select extract(epoch from '2026-07-10 02:24:13'::timestamp) - extract(epoch from '2026-07-10 02:24: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'), 47638, 'SRID=4674;POINT (-40.34553 -2.804895)', '2026-07-10 02:24:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34568 -2.804925)'), GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.804895)'))) / (select extract(epoch from '2026-07-10 02:24:21'::timestamp) - extract(epoch from '2026-07-10 02:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34568 -2.804925)'), GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.804895)'))) / (select extract(epoch from '2026-07-10 02:24:21'::timestamp) - extract(epoch from '2026-07-10 02:24: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'), 47638, 'SRID=4674;POINT (-40.345368 -2.804863)', '2026-07-10 02:24:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.804895)'), GeomFromEWKT('SRID=4674;POINT (-40.345368 -2.804863)'))) / (select extract(epoch from '2026-07-10 02:24:29'::timestamp) - extract(epoch from '2026-07-10 02:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34553 -2.804895)'), GeomFromEWKT('SRID=4674;POINT (-40.345368 -2.804863)'))) / (select extract(epoch from '2026-07-10 02:24:29'::timestamp) - extract(epoch from '2026-07-10 02:24: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'), 47638, 'SRID=4674;POINT (-40.345193 -2.804833)', '2026-07-10 02:24:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345368 -2.804863)'), GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.804833)'))) / (select extract(epoch from '2026-07-10 02:24:38'::timestamp) - extract(epoch from '2026-07-10 02:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345368 -2.804863)'), GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.804833)'))) / (select extract(epoch from '2026-07-10 02:24:38'::timestamp) - extract(epoch from '2026-07-10 02:24: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'), 47638, 'SRID=4674;POINT (-40.34501 -2.804807)', '2026-07-10 02:24:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.34501 -2.804807)'))) / (select extract(epoch from '2026-07-10 02:24:47'::timestamp) - extract(epoch from '2026-07-10 02:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345193 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.34501 -2.804807)'))) / (select extract(epoch from '2026-07-10 02:24:47'::timestamp) - extract(epoch from '2026-07-10 02:24: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'), 47638, 'SRID=4674;POINT (-40.344882 -2.804809)', '2026-07-10 02:24:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34501 -2.804807)'), GeomFromEWKT('SRID=4674;POINT (-40.344882 -2.804809)'))) / (select extract(epoch from '2026-07-10 02:24:54'::timestamp) - extract(epoch from '2026-07-10 02:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34501 -2.804807)'), GeomFromEWKT('SRID=4674;POINT (-40.344882 -2.804809)'))) / (select extract(epoch from '2026-07-10 02:24:54'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.344768 -2.80481)', '2026-07-10 02:25:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344882 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.344768 -2.80481)'))) / (select extract(epoch from '2026-07-10 02:25:00'::timestamp) - extract(epoch from '2026-07-10 02:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344882 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.344768 -2.80481)'))) / (select extract(epoch from '2026-07-10 02:25:00'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.344749 -2.804814)', '2026-07-10 02:25:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344768 -2.80481)'), GeomFromEWKT('SRID=4674;POINT (-40.344749 -2.804814)'))) / (select extract(epoch from '2026-07-10 02:25:01'::timestamp) - extract(epoch from '2026-07-10 02:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344768 -2.80481)'), GeomFromEWKT('SRID=4674;POINT (-40.344749 -2.804814)'))) / (select extract(epoch from '2026-07-10 02:25:01'::timestamp) - extract(epoch from '2026-07-10 02:25: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'), 47638, 'SRID=4674;POINT (-40.344578 -2.804796)', '2026-07-10 02:25:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344749 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.344578 -2.804796)'))) / (select extract(epoch from '2026-07-10 02:25:11'::timestamp) - extract(epoch from '2026-07-10 02:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344749 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.344578 -2.804796)'))) / (select extract(epoch from '2026-07-10 02:25:11'::timestamp) - extract(epoch from '2026-07-10 02:25: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'), 47638, 'SRID=4674;POINT (-40.344406 -2.804744)', '2026-07-10 02:25:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344578 -2.804796)'), GeomFromEWKT('SRID=4674;POINT (-40.344406 -2.804744)'))) / (select extract(epoch from '2026-07-10 02:25:20'::timestamp) - extract(epoch from '2026-07-10 02:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344578 -2.804796)'), GeomFromEWKT('SRID=4674;POINT (-40.344406 -2.804744)'))) / (select extract(epoch from '2026-07-10 02:25:20'::timestamp) - extract(epoch from '2026-07-10 02:25: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'), 47638, 'SRID=4674;POINT (-40.344192 -2.804705)', '2026-07-10 02:25:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344406 -2.804744)'), GeomFromEWKT('SRID=4674;POINT (-40.344192 -2.804705)'))) / (select extract(epoch from '2026-07-10 02:25:31'::timestamp) - extract(epoch from '2026-07-10 02:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344406 -2.804744)'), GeomFromEWKT('SRID=4674;POINT (-40.344192 -2.804705)'))) / (select extract(epoch from '2026-07-10 02:25:31'::timestamp) - extract(epoch from '2026-07-10 02:25: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'), 47638, 'SRID=4674;POINT (-40.344035 -2.804703)', '2026-07-10 02:25:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344192 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.804703)'))) / (select extract(epoch from '2026-07-10 02:25:39'::timestamp) - extract(epoch from '2026-07-10 02:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344192 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.804703)'))) / (select extract(epoch from '2026-07-10 02:25:39'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.343876 -2.804693)', '2026-07-10 02:25:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.804703)'), GeomFromEWKT('SRID=4674;POINT (-40.343876 -2.804693)'))) / (select extract(epoch from '2026-07-10 02:25:47'::timestamp) - extract(epoch from '2026-07-10 02:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.804703)'), GeomFromEWKT('SRID=4674;POINT (-40.343876 -2.804693)'))) / (select extract(epoch from '2026-07-10 02:25:47'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.34371 -2.804683)', '2026-07-10 02:25:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343876 -2.804693)'), GeomFromEWKT('SRID=4674;POINT (-40.34371 -2.804683)'))) / (select extract(epoch from '2026-07-10 02:25:55'::timestamp) - extract(epoch from '2026-07-10 02:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343876 -2.804693)'), GeomFromEWKT('SRID=4674;POINT (-40.34371 -2.804683)'))) / (select extract(epoch from '2026-07-10 02:25:55'::timestamp) - extract(epoch from '2026-07-10 02:25: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'), 47638, 'SRID=4674;POINT (-40.343542 -2.804679)', '2026-07-10 02:26:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34371 -2.804683)'), GeomFromEWKT('SRID=4674;POINT (-40.343542 -2.804679)'))) / (select extract(epoch from '2026-07-10 02:26:04'::timestamp) - extract(epoch from '2026-07-10 02:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34371 -2.804683)'), GeomFromEWKT('SRID=4674;POINT (-40.343542 -2.804679)'))) / (select extract(epoch from '2026-07-10 02:26:04'::timestamp) - extract(epoch from '2026-07-10 02:25: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'), 47638, 'SRID=4674;POINT (-40.343358 -2.804671)', '2026-07-10 02:26:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343542 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.804671)'))) / (select extract(epoch from '2026-07-10 02:26:13'::timestamp) - extract(epoch from '2026-07-10 02:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343542 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.804671)'))) / (select extract(epoch from '2026-07-10 02:26:13'::timestamp) - extract(epoch from '2026-07-10 02:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.343177 -2.804669)', '2026-07-10 02:26:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.804671)'), GeomFromEWKT('SRID=4674;POINT (-40.343177 -2.804669)'))) / (select extract(epoch from '2026-07-10 02:26:22'::timestamp) - extract(epoch from '2026-07-10 02:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.804671)'), GeomFromEWKT('SRID=4674;POINT (-40.343177 -2.804669)'))) / (select extract(epoch from '2026-07-10 02:26:22'::timestamp) - extract(epoch from '2026-07-10 02:26: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'), 47638, 'SRID=4674;POINT (-40.343 -2.804679)', '2026-07-10 02:26:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343177 -2.804669)'), GeomFromEWKT('SRID=4674;POINT (-40.343 -2.804679)'))) / (select extract(epoch from '2026-07-10 02:26:31'::timestamp) - extract(epoch from '2026-07-10 02:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343177 -2.804669)'), GeomFromEWKT('SRID=4674;POINT (-40.343 -2.804679)'))) / (select extract(epoch from '2026-07-10 02:26:31'::timestamp) - extract(epoch from '2026-07-10 02:26: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'), 47638, 'SRID=4674;POINT (-40.342826 -2.804695)', '2026-07-10 02:26:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.342826 -2.804695)'))) / (select extract(epoch from '2026-07-10 02:26:40'::timestamp) - extract(epoch from '2026-07-10 02:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.342826 -2.804695)'))) / (select extract(epoch from '2026-07-10 02:26:40'::timestamp) - extract(epoch from '2026-07-10 02:26: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'), 47638, 'SRID=4674;POINT (-40.342668 -2.804705)', '2026-07-10 02:26:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342826 -2.804695)'), GeomFromEWKT('SRID=4674;POINT (-40.342668 -2.804705)'))) / (select extract(epoch from '2026-07-10 02:26:48'::timestamp) - extract(epoch from '2026-07-10 02:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342826 -2.804695)'), GeomFromEWKT('SRID=4674;POINT (-40.342668 -2.804705)'))) / (select extract(epoch from '2026-07-10 02:26:48'::timestamp) - extract(epoch from '2026-07-10 02:26: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'), 47638, 'SRID=4674;POINT (-40.342488 -2.804697)', '2026-07-10 02:26:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342668 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.342488 -2.804697)'))) / (select extract(epoch from '2026-07-10 02:26:57'::timestamp) - extract(epoch from '2026-07-10 02:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342668 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.342488 -2.804697)'))) / (select extract(epoch from '2026-07-10 02:26:57'::timestamp) - extract(epoch from '2026-07-10 02:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.342301 -2.8047)', '2026-07-10 02:27:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342488 -2.804697)'), GeomFromEWKT('SRID=4674;POINT (-40.342301 -2.8047)'))) / (select extract(epoch from '2026-07-10 02:27:06'::timestamp) - extract(epoch from '2026-07-10 02:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342488 -2.804697)'), GeomFromEWKT('SRID=4674;POINT (-40.342301 -2.8047)'))) / (select extract(epoch from '2026-07-10 02:27:06'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.342143 -2.804701)', '2026-07-10 02:27:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342301 -2.8047)'), GeomFromEWKT('SRID=4674;POINT (-40.342143 -2.804701)'))) / (select extract(epoch from '2026-07-10 02:27:14'::timestamp) - extract(epoch from '2026-07-10 02:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342301 -2.8047)'), GeomFromEWKT('SRID=4674;POINT (-40.342143 -2.804701)'))) / (select extract(epoch from '2026-07-10 02:27:14'::timestamp) - extract(epoch from '2026-07-10 02:27: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'), 47638, 'SRID=4674;POINT (-40.341963 -2.804699)', '2026-07-10 02:27:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342143 -2.804701)'), GeomFromEWKT('SRID=4674;POINT (-40.341963 -2.804699)'))) / (select extract(epoch from '2026-07-10 02:27:23'::timestamp) - extract(epoch from '2026-07-10 02:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342143 -2.804701)'), GeomFromEWKT('SRID=4674;POINT (-40.341963 -2.804699)'))) / (select extract(epoch from '2026-07-10 02:27:23'::timestamp) - extract(epoch from '2026-07-10 02:27: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'), 47638, 'SRID=4674;POINT (-40.341785 -2.804712)', '2026-07-10 02:27:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341963 -2.804699)'), GeomFromEWKT('SRID=4674;POINT (-40.341785 -2.804712)'))) / (select extract(epoch from '2026-07-10 02:27:32'::timestamp) - extract(epoch from '2026-07-10 02:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341963 -2.804699)'), GeomFromEWKT('SRID=4674;POINT (-40.341785 -2.804712)'))) / (select extract(epoch from '2026-07-10 02:27:32'::timestamp) - extract(epoch from '2026-07-10 02:27: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'), 47638, 'SRID=4674;POINT (-40.341602 -2.804706)', '2026-07-10 02:27:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341785 -2.804712)'), GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.804706)'))) / (select extract(epoch from '2026-07-10 02:27:41'::timestamp) - extract(epoch from '2026-07-10 02:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341785 -2.804712)'), GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.804706)'))) / (select extract(epoch from '2026-07-10 02:27:41'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.341448 -2.804703)', '2026-07-10 02:27:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.804706)'), GeomFromEWKT('SRID=4674;POINT (-40.341448 -2.804703)'))) / (select extract(epoch from '2026-07-10 02:27:49'::timestamp) - extract(epoch from '2026-07-10 02:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341602 -2.804706)'), GeomFromEWKT('SRID=4674;POINT (-40.341448 -2.804703)'))) / (select extract(epoch from '2026-07-10 02:27:49'::timestamp) - extract(epoch from '2026-07-10 02:27: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'), 47638, 'SRID=4674;POINT (-40.341293 -2.804693)', '2026-07-10 02:27:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341448 -2.804703)'), GeomFromEWKT('SRID=4674;POINT (-40.341293 -2.804693)'))) / (select extract(epoch from '2026-07-10 02:27:57'::timestamp) - extract(epoch from '2026-07-10 02:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341448 -2.804703)'), GeomFromEWKT('SRID=4674;POINT (-40.341293 -2.804693)'))) / (select extract(epoch from '2026-07-10 02:27:57'::timestamp) - extract(epoch from '2026-07-10 02:27: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'), 47638, 'SRID=4674;POINT (-40.34112 -2.804667)', '2026-07-10 02:28:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341293 -2.804693)'), GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.804667)'))) / (select extract(epoch from '2026-07-10 02:28:06'::timestamp) - extract(epoch from '2026-07-10 02:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341293 -2.804693)'), GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.804667)'))) / (select extract(epoch from '2026-07-10 02:28:06'::timestamp) - extract(epoch from '2026-07-10 02:27: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'), 47638, 'SRID=4674;POINT (-40.34097 -2.804643)', '2026-07-10 02:28:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.804667)'), GeomFromEWKT('SRID=4674;POINT (-40.34097 -2.804643)'))) / (select extract(epoch from '2026-07-10 02:28:14'::timestamp) - extract(epoch from '2026-07-10 02:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.804667)'), GeomFromEWKT('SRID=4674;POINT (-40.34097 -2.804643)'))) / (select extract(epoch from '2026-07-10 02:28:14'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.3408 -2.804614)', '2026-07-10 02:28:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34097 -2.804643)'), GeomFromEWKT('SRID=4674;POINT (-40.3408 -2.804614)'))) / (select extract(epoch from '2026-07-10 02:28:23'::timestamp) - extract(epoch from '2026-07-10 02:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34097 -2.804643)'), GeomFromEWKT('SRID=4674;POINT (-40.3408 -2.804614)'))) / (select extract(epoch from '2026-07-10 02:28:23'::timestamp) - extract(epoch from '2026-07-10 02:28: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'), 47638, 'SRID=4674;POINT (-40.340641 -2.804596)', '2026-07-10 02:28:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3408 -2.804614)'), GeomFromEWKT('SRID=4674;POINT (-40.340641 -2.804596)'))) / (select extract(epoch from '2026-07-10 02:28:31'::timestamp) - extract(epoch from '2026-07-10 02:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3408 -2.804614)'), GeomFromEWKT('SRID=4674;POINT (-40.340641 -2.804596)'))) / (select extract(epoch from '2026-07-10 02:28:31'::timestamp) - extract(epoch from '2026-07-10 02:28: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'), 47638, 'SRID=4674;POINT (-40.340486 -2.804586)', '2026-07-10 02:28:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340641 -2.804596)'), GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.804586)'))) / (select extract(epoch from '2026-07-10 02:28:39'::timestamp) - extract(epoch from '2026-07-10 02:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340641 -2.804596)'), GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.804586)'))) / (select extract(epoch from '2026-07-10 02:28:39'::timestamp) - extract(epoch from '2026-07-10 02:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.340318 -2.804564)', '2026-07-10 02:28:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.804586)'), GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.804564)'))) / (select extract(epoch from '2026-07-10 02:28:48'::timestamp) - extract(epoch from '2026-07-10 02:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340486 -2.804586)'), GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.804564)'))) / (select extract(epoch from '2026-07-10 02:28:48'::timestamp) - extract(epoch from '2026-07-10 02:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.340122 -2.804541)', '2026-07-10 02:28:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.804564)'), GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.804541)'))) / (select extract(epoch from '2026-07-10 02:28:58'::timestamp) - extract(epoch from '2026-07-10 02:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.804564)'), GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.804541)'))) / (select extract(epoch from '2026-07-10 02:28:58'::timestamp) - extract(epoch from '2026-07-10 02:28: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'), 47638, 'SRID=4674;POINT (-40.339966 -2.804529)', '2026-07-10 02:29:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.804541)'), GeomFromEWKT('SRID=4674;POINT (-40.339966 -2.804529)'))) / (select extract(epoch from '2026-07-10 02:29:06'::timestamp) - extract(epoch from '2026-07-10 02:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.804541)'), GeomFromEWKT('SRID=4674;POINT (-40.339966 -2.804529)'))) / (select extract(epoch from '2026-07-10 02:29:06'::timestamp) - extract(epoch from '2026-07-10 02:28: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'), 47638, 'SRID=4674;POINT (-40.339809 -2.804511)', '2026-07-10 02:29:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339966 -2.804529)'), GeomFromEWKT('SRID=4674;POINT (-40.339809 -2.804511)'))) / (select extract(epoch from '2026-07-10 02:29:14'::timestamp) - extract(epoch from '2026-07-10 02:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339966 -2.804529)'), GeomFromEWKT('SRID=4674;POINT (-40.339809 -2.804511)'))) / (select extract(epoch from '2026-07-10 02:29:14'::timestamp) - extract(epoch from '2026-07-10 02:29: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'), 47638, 'SRID=4674;POINT (-40.339649 -2.804491)', '2026-07-10 02:29:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339809 -2.804511)'), GeomFromEWKT('SRID=4674;POINT (-40.339649 -2.804491)'))) / (select extract(epoch from '2026-07-10 02:29:22'::timestamp) - extract(epoch from '2026-07-10 02:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339809 -2.804511)'), GeomFromEWKT('SRID=4674;POINT (-40.339649 -2.804491)'))) / (select extract(epoch from '2026-07-10 02:29:22'::timestamp) - extract(epoch from '2026-07-10 02:29: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'), 47638, 'SRID=4674;POINT (-40.339409 -2.804478)', '2026-07-10 02:29:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339649 -2.804491)'), GeomFromEWKT('SRID=4674;POINT (-40.339409 -2.804478)'))) / (select extract(epoch from '2026-07-10 02:29:34'::timestamp) - extract(epoch from '2026-07-10 02:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339649 -2.804491)'), GeomFromEWKT('SRID=4674;POINT (-40.339409 -2.804478)'))) / (select extract(epoch from '2026-07-10 02:29:34'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.339167 -2.804482)', '2026-07-10 02:29:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339409 -2.804478)'), GeomFromEWKT('SRID=4674;POINT (-40.339167 -2.804482)'))) / (select extract(epoch from '2026-07-10 02:29:46'::timestamp) - extract(epoch from '2026-07-10 02:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339409 -2.804478)'), GeomFromEWKT('SRID=4674;POINT (-40.339167 -2.804482)'))) / (select extract(epoch from '2026-07-10 02:29:46'::timestamp) - extract(epoch from '2026-07-10 02:29: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'), 47638, 'SRID=4674;POINT (-40.339027 -2.80449)', '2026-07-10 02:29:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339167 -2.804482)'), GeomFromEWKT('SRID=4674;POINT (-40.339027 -2.80449)'))) / (select extract(epoch from '2026-07-10 02:29:53'::timestamp) - extract(epoch from '2026-07-10 02:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339167 -2.804482)'), GeomFromEWKT('SRID=4674;POINT (-40.339027 -2.80449)'))) / (select extract(epoch from '2026-07-10 02:29:53'::timestamp) - extract(epoch from '2026-07-10 02:29: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'), 47638, 'SRID=4674;POINT (-40.338827 -2.804491)', '2026-07-10 02:30:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339027 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.338827 -2.804491)'))) / (select extract(epoch from '2026-07-10 02:30:03'::timestamp) - extract(epoch from '2026-07-10 02:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339027 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.338827 -2.804491)'))) / (select extract(epoch from '2026-07-10 02:30:03'::timestamp) - extract(epoch from '2026-07-10 02:29: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'), 47638, 'SRID=4674;POINT (-40.338625 -2.804494)', '2026-07-10 02:30:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338827 -2.804491)'), GeomFromEWKT('SRID=4674;POINT (-40.338625 -2.804494)'))) / (select extract(epoch from '2026-07-10 02:30:13'::timestamp) - extract(epoch from '2026-07-10 02:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338827 -2.804491)'), GeomFromEWKT('SRID=4674;POINT (-40.338625 -2.804494)'))) / (select extract(epoch from '2026-07-10 02:30:13'::timestamp) - extract(epoch from '2026-07-10 02:30: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'), 47638, 'SRID=4674;POINT (-40.338427 -2.804477)', '2026-07-10 02:30:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338625 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.338427 -2.804477)'))) / (select extract(epoch from '2026-07-10 02:30:23'::timestamp) - extract(epoch from '2026-07-10 02:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338625 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.338427 -2.804477)'))) / (select extract(epoch from '2026-07-10 02:30:23'::timestamp) - extract(epoch from '2026-07-10 02:30: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'), 47638, 'SRID=4674;POINT (-40.338209 -2.804444)', '2026-07-10 02:30:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338427 -2.804477)'), GeomFromEWKT('SRID=4674;POINT (-40.338209 -2.804444)'))) / (select extract(epoch from '2026-07-10 02:30:34'::timestamp) - extract(epoch from '2026-07-10 02:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338427 -2.804477)'), GeomFromEWKT('SRID=4674;POINT (-40.338209 -2.804444)'))) / (select extract(epoch from '2026-07-10 02:30:34'::timestamp) - extract(epoch from '2026-07-10 02:30: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'), 47638, 'SRID=4674;POINT (-40.338074 -2.804425)', '2026-07-10 02:30:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338209 -2.804444)'), GeomFromEWKT('SRID=4674;POINT (-40.338074 -2.804425)'))) / (select extract(epoch from '2026-07-10 02:30:41'::timestamp) - extract(epoch from '2026-07-10 02:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338209 -2.804444)'), GeomFromEWKT('SRID=4674;POINT (-40.338074 -2.804425)'))) / (select extract(epoch from '2026-07-10 02:30:41'::timestamp) - extract(epoch from '2026-07-10 02:30: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'), 47638, 'SRID=4674;POINT (-40.337877 -2.804381)', '2026-07-10 02:30:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338074 -2.804425)'), GeomFromEWKT('SRID=4674;POINT (-40.337877 -2.804381)'))) / (select extract(epoch from '2026-07-10 02:30:51'::timestamp) - extract(epoch from '2026-07-10 02:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338074 -2.804425)'), GeomFromEWKT('SRID=4674;POINT (-40.337877 -2.804381)'))) / (select extract(epoch from '2026-07-10 02:30:51'::timestamp) - extract(epoch from '2026-07-10 02:30: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'), 47638, 'SRID=4674;POINT (-40.337704 -2.804351)', '2026-07-10 02:31:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337877 -2.804381)'), GeomFromEWKT('SRID=4674;POINT (-40.337704 -2.804351)'))) / (select extract(epoch from '2026-07-10 02:31:00'::timestamp) - extract(epoch from '2026-07-10 02:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337877 -2.804381)'), GeomFromEWKT('SRID=4674;POINT (-40.337704 -2.804351)'))) / (select extract(epoch from '2026-07-10 02:31:00'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.337572 -2.804326)', '2026-07-10 02:31:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337704 -2.804351)'), GeomFromEWKT('SRID=4674;POINT (-40.337572 -2.804326)'))) / (select extract(epoch from '2026-07-10 02:31:07'::timestamp) - extract(epoch from '2026-07-10 02:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337704 -2.804351)'), GeomFromEWKT('SRID=4674;POINT (-40.337572 -2.804326)'))) / (select extract(epoch from '2026-07-10 02:31:07'::timestamp) - extract(epoch from '2026-07-10 02:31: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'), 47638, 'SRID=4674;POINT (-40.337419 -2.804297)', '2026-07-10 02:31:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337572 -2.804326)'), GeomFromEWKT('SRID=4674;POINT (-40.337419 -2.804297)'))) / (select extract(epoch from '2026-07-10 02:31:15'::timestamp) - extract(epoch from '2026-07-10 02:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337572 -2.804326)'), GeomFromEWKT('SRID=4674;POINT (-40.337419 -2.804297)'))) / (select extract(epoch from '2026-07-10 02:31:15'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.33723 -2.804248)', '2026-07-10 02:31:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337419 -2.804297)'), GeomFromEWKT('SRID=4674;POINT (-40.33723 -2.804248)'))) / (select extract(epoch from '2026-07-10 02:31:25'::timestamp) - extract(epoch from '2026-07-10 02:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337419 -2.804297)'), GeomFromEWKT('SRID=4674;POINT (-40.33723 -2.804248)'))) / (select extract(epoch from '2026-07-10 02:31:25'::timestamp) - extract(epoch from '2026-07-10 02:31: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'), 47638, 'SRID=4674;POINT (-40.337089 -2.804184)', '2026-07-10 02:31:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33723 -2.804248)'), GeomFromEWKT('SRID=4674;POINT (-40.337089 -2.804184)'))) / (select extract(epoch from '2026-07-10 02:31:33'::timestamp) - extract(epoch from '2026-07-10 02:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33723 -2.804248)'), GeomFromEWKT('SRID=4674;POINT (-40.337089 -2.804184)'))) / (select extract(epoch from '2026-07-10 02:31:33'::timestamp) - extract(epoch from '2026-07-10 02:31: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'), 47638, 'SRID=4674;POINT (-40.336896 -2.804098)', '2026-07-10 02:31:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337089 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.336896 -2.804098)'))) / (select extract(epoch from '2026-07-10 02:31:44'::timestamp) - extract(epoch from '2026-07-10 02:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337089 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.336896 -2.804098)'))) / (select extract(epoch from '2026-07-10 02:31:44'::timestamp) - extract(epoch from '2026-07-10 02:31: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'), 47638, 'SRID=4674;POINT (-40.336714 -2.804024)', '2026-07-10 02:31:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336896 -2.804098)'), GeomFromEWKT('SRID=4674;POINT (-40.336714 -2.804024)'))) / (select extract(epoch from '2026-07-10 02:31:54'::timestamp) - extract(epoch from '2026-07-10 02:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336896 -2.804098)'), GeomFromEWKT('SRID=4674;POINT (-40.336714 -2.804024)'))) / (select extract(epoch from '2026-07-10 02:31:54'::timestamp) - extract(epoch from '2026-07-10 02:31: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'), 47638, 'SRID=4674;POINT (-40.336521 -2.803947)', '2026-07-10 02:32:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336714 -2.804024)'), GeomFromEWKT('SRID=4674;POINT (-40.336521 -2.803947)'))) / (select extract(epoch from '2026-07-10 02:32:05'::timestamp) - extract(epoch from '2026-07-10 02:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336714 -2.804024)'), GeomFromEWKT('SRID=4674;POINT (-40.336521 -2.803947)'))) / (select extract(epoch from '2026-07-10 02:32:05'::timestamp) - extract(epoch from '2026-07-10 02:31: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'), 47638, 'SRID=4674;POINT (-40.336383 -2.803885)', '2026-07-10 02:32:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336521 -2.803947)'), GeomFromEWKT('SRID=4674;POINT (-40.336383 -2.803885)'))) / (select extract(epoch from '2026-07-10 02:32:13'::timestamp) - extract(epoch from '2026-07-10 02:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336521 -2.803947)'), GeomFromEWKT('SRID=4674;POINT (-40.336383 -2.803885)'))) / (select extract(epoch from '2026-07-10 02:32:13'::timestamp) - extract(epoch from '2026-07-10 02:32: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'), 47638, 'SRID=4674;POINT (-40.33617 -2.803784)', '2026-07-10 02:32:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336383 -2.803885)'), GeomFromEWKT('SRID=4674;POINT (-40.33617 -2.803784)'))) / (select extract(epoch from '2026-07-10 02:32:25'::timestamp) - extract(epoch from '2026-07-10 02:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336383 -2.803885)'), GeomFromEWKT('SRID=4674;POINT (-40.33617 -2.803784)'))) / (select extract(epoch from '2026-07-10 02:32:25'::timestamp) - extract(epoch from '2026-07-10 02:32: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'), 47638, 'SRID=4674;POINT (-40.335994 -2.803689)', '2026-07-10 02:32:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33617 -2.803784)'), GeomFromEWKT('SRID=4674;POINT (-40.335994 -2.803689)'))) / (select extract(epoch from '2026-07-10 02:32:35'::timestamp) - extract(epoch from '2026-07-10 02:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33617 -2.803784)'), GeomFromEWKT('SRID=4674;POINT (-40.335994 -2.803689)'))) / (select extract(epoch from '2026-07-10 02:32:35'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.335802 -2.803581)', '2026-07-10 02:32:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335994 -2.803689)'), GeomFromEWKT('SRID=4674;POINT (-40.335802 -2.803581)'))) / (select extract(epoch from '2026-07-10 02:32:46'::timestamp) - extract(epoch from '2026-07-10 02:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335994 -2.803689)'), GeomFromEWKT('SRID=4674;POINT (-40.335802 -2.803581)'))) / (select extract(epoch from '2026-07-10 02:32:46'::timestamp) - extract(epoch from '2026-07-10 02:32: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'), 47638, 'SRID=4674;POINT (-40.335561 -2.803443)', '2026-07-10 02:33:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335802 -2.803581)'), GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.803443)'))) / (select extract(epoch from '2026-07-10 02:33:00'::timestamp) - extract(epoch from '2026-07-10 02:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335802 -2.803581)'), GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.803443)'))) / (select extract(epoch from '2026-07-10 02:33:00'::timestamp) - extract(epoch from '2026-07-10 02:32: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'), 47638, 'SRID=4674;POINT (-40.335388 -2.803344)', '2026-07-10 02:33:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.803443)'), GeomFromEWKT('SRID=4674;POINT (-40.335388 -2.803344)'))) / (select extract(epoch from '2026-07-10 02:33:10'::timestamp) - extract(epoch from '2026-07-10 02:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.803443)'), GeomFromEWKT('SRID=4674;POINT (-40.335388 -2.803344)'))) / (select extract(epoch from '2026-07-10 02:33:10'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.33522 -2.803203)', '2026-07-10 02:33:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335388 -2.803344)'), GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.803203)'))) / (select extract(epoch from '2026-07-10 02:33:21'::timestamp) - extract(epoch from '2026-07-10 02:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335388 -2.803344)'), GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.803203)'))) / (select extract(epoch from '2026-07-10 02:33:21'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.335088 -2.80306)', '2026-07-10 02:33:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.803203)'), GeomFromEWKT('SRID=4674;POINT (-40.335088 -2.80306)'))) / (select extract(epoch from '2026-07-10 02:33:31'::timestamp) - extract(epoch from '2026-07-10 02:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33522 -2.803203)'), GeomFromEWKT('SRID=4674;POINT (-40.335088 -2.80306)'))) / (select extract(epoch from '2026-07-10 02:33:31'::timestamp) - extract(epoch from '2026-07-10 02:33: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'), 47638, 'SRID=4674;POINT (-40.334961 -2.802928)', '2026-07-10 02:33:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335088 -2.80306)'), GeomFromEWKT('SRID=4674;POINT (-40.334961 -2.802928)'))) / (select extract(epoch from '2026-07-10 02:33:40'::timestamp) - extract(epoch from '2026-07-10 02:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335088 -2.80306)'), GeomFromEWKT('SRID=4674;POINT (-40.334961 -2.802928)'))) / (select extract(epoch from '2026-07-10 02:33:40'::timestamp) - extract(epoch from '2026-07-10 02:33: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'), 47638, 'SRID=4674;POINT (-40.334856 -2.802837)', '2026-07-10 02:33:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334961 -2.802928)'), GeomFromEWKT('SRID=4674;POINT (-40.334856 -2.802837)'))) / (select extract(epoch from '2026-07-10 02:33:47'::timestamp) - extract(epoch from '2026-07-10 02:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334961 -2.802928)'), GeomFromEWKT('SRID=4674;POINT (-40.334856 -2.802837)'))) / (select extract(epoch from '2026-07-10 02:33:47'::timestamp) - extract(epoch from '2026-07-10 02:33: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'), 47638, 'SRID=4674;POINT (-40.334724 -2.802732)', '2026-07-10 02:33:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334856 -2.802837)'), GeomFromEWKT('SRID=4674;POINT (-40.334724 -2.802732)'))) / (select extract(epoch from '2026-07-10 02:33:56'::timestamp) - extract(epoch from '2026-07-10 02:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334856 -2.802837)'), GeomFromEWKT('SRID=4674;POINT (-40.334724 -2.802732)'))) / (select extract(epoch from '2026-07-10 02:33:56'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.334576 -2.802612)', '2026-07-10 02:34:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334724 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.334576 -2.802612)'))) / (select extract(epoch from '2026-07-10 02:34:06'::timestamp) - extract(epoch from '2026-07-10 02:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334724 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.334576 -2.802612)'))) / (select extract(epoch from '2026-07-10 02:34:06'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.334417 -2.802494)', '2026-07-10 02:34:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334576 -2.802612)'), GeomFromEWKT('SRID=4674;POINT (-40.334417 -2.802494)'))) / (select extract(epoch from '2026-07-10 02:34:16'::timestamp) - extract(epoch from '2026-07-10 02:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334576 -2.802612)'), GeomFromEWKT('SRID=4674;POINT (-40.334417 -2.802494)'))) / (select extract(epoch from '2026-07-10 02:34:16'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.334272 -2.802408)', '2026-07-10 02:34:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334417 -2.802494)'), GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.802408)'))) / (select extract(epoch from '2026-07-10 02:34:25'::timestamp) - extract(epoch from '2026-07-10 02:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334417 -2.802494)'), GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.802408)'))) / (select extract(epoch from '2026-07-10 02:34:25'::timestamp) - extract(epoch from '2026-07-10 02:34: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'), 47638, 'SRID=4674;POINT (-40.334135 -2.802344)', '2026-07-10 02:34:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.802408)'), GeomFromEWKT('SRID=4674;POINT (-40.334135 -2.802344)'))) / (select extract(epoch from '2026-07-10 02:34:33'::timestamp) - extract(epoch from '2026-07-10 02:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.802408)'), GeomFromEWKT('SRID=4674;POINT (-40.334135 -2.802344)'))) / (select extract(epoch from '2026-07-10 02:34:33'::timestamp) - extract(epoch from '2026-07-10 02:34: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'), 47638, 'SRID=4674;POINT (-40.333955 -2.802258)', '2026-07-10 02:34:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334135 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.333955 -2.802258)'))) / (select extract(epoch from '2026-07-10 02:34:43'::timestamp) - extract(epoch from '2026-07-10 02:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334135 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.333955 -2.802258)'))) / (select extract(epoch from '2026-07-10 02:34:43'::timestamp) - extract(epoch from '2026-07-10 02:34: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'), 47638, 'SRID=4674;POINT (-40.333806 -2.802213)', '2026-07-10 02:34:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333955 -2.802258)'), GeomFromEWKT('SRID=4674;POINT (-40.333806 -2.802213)'))) / (select extract(epoch from '2026-07-10 02:34:51'::timestamp) - extract(epoch from '2026-07-10 02:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333955 -2.802258)'), GeomFromEWKT('SRID=4674;POINT (-40.333806 -2.802213)'))) / (select extract(epoch from '2026-07-10 02:34:51'::timestamp) - extract(epoch from '2026-07-10 02:34: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'), 47638, 'SRID=4674;POINT (-40.33358 -2.80217)', '2026-07-10 02:35:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333806 -2.802213)'), GeomFromEWKT('SRID=4674;POINT (-40.33358 -2.80217)'))) / (select extract(epoch from '2026-07-10 02:35:03'::timestamp) - extract(epoch from '2026-07-10 02:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333806 -2.802213)'), GeomFromEWKT('SRID=4674;POINT (-40.33358 -2.80217)'))) / (select extract(epoch from '2026-07-10 02:35:03'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.333343 -2.802146)', '2026-07-10 02:35:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33358 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.802146)'))) / (select extract(epoch from '2026-07-10 02:35:15'::timestamp) - extract(epoch from '2026-07-10 02:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33358 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.802146)'))) / (select extract(epoch from '2026-07-10 02:35:15'::timestamp) - extract(epoch from '2026-07-10 02:35: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'), 47638, 'SRID=4674;POINT (-40.333123 -2.802144)', '2026-07-10 02:35:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.802144)'))) / (select extract(epoch from '2026-07-10 02:35:26'::timestamp) - extract(epoch from '2026-07-10 02:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333343 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.802144)'))) / (select extract(epoch from '2026-07-10 02:35:26'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.332947 -2.802158)', '2026-07-10 02:35:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.802144)'), GeomFromEWKT('SRID=4674;POINT (-40.332947 -2.802158)'))) / (select extract(epoch from '2026-07-10 02:35:35'::timestamp) - extract(epoch from '2026-07-10 02:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.802144)'), GeomFromEWKT('SRID=4674;POINT (-40.332947 -2.802158)'))) / (select extract(epoch from '2026-07-10 02:35:35'::timestamp) - extract(epoch from '2026-07-10 02:35: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'), 47638, 'SRID=4674;POINT (-40.332748 -2.802197)', '2026-07-10 02:35:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332947 -2.802158)'), GeomFromEWKT('SRID=4674;POINT (-40.332748 -2.802197)'))) / (select extract(epoch from '2026-07-10 02:35:45'::timestamp) - extract(epoch from '2026-07-10 02:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332947 -2.802158)'), GeomFromEWKT('SRID=4674;POINT (-40.332748 -2.802197)'))) / (select extract(epoch from '2026-07-10 02:35:45'::timestamp) - extract(epoch from '2026-07-10 02:35: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'), 47638, 'SRID=4674;POINT (-40.332613 -2.802225)', '2026-07-10 02:35:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332748 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.332613 -2.802225)'))) / (select extract(epoch from '2026-07-10 02:35:52'::timestamp) - extract(epoch from '2026-07-10 02:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332748 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.332613 -2.802225)'))) / (select extract(epoch from '2026-07-10 02:35:52'::timestamp) - extract(epoch from '2026-07-10 02:35: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'), 47638, 'SRID=4674;POINT (-40.332455 -2.80226)', '2026-07-10 02:36:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332613 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.332455 -2.80226)'))) / (select extract(epoch from '2026-07-10 02:36:00'::timestamp) - extract(epoch from '2026-07-10 02:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332613 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.332455 -2.80226)'))) / (select extract(epoch from '2026-07-10 02:36:00'::timestamp) - extract(epoch from '2026-07-10 02:35: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'), 47638, 'SRID=4674;POINT (-40.332305 -2.802286)', '2026-07-10 02:36:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332455 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.802286)'))) / (select extract(epoch from '2026-07-10 02:36:08'::timestamp) - extract(epoch from '2026-07-10 02:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332455 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.802286)'))) / (select extract(epoch from '2026-07-10 02:36:08'::timestamp) - extract(epoch from '2026-07-10 02:36: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'), 47638, 'SRID=4674;POINT (-40.332174 -2.802308)', '2026-07-10 02:36:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.332174 -2.802308)'))) / (select extract(epoch from '2026-07-10 02:36:15'::timestamp) - extract(epoch from '2026-07-10 02:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332305 -2.802286)'), GeomFromEWKT('SRID=4674;POINT (-40.332174 -2.802308)'))) / (select extract(epoch from '2026-07-10 02:36:15'::timestamp) - extract(epoch from '2026-07-10 02:36: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'), 47638, 'SRID=4674;POINT (-40.331996 -2.802313)', '2026-07-10 02:36:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332174 -2.802308)'), GeomFromEWKT('SRID=4674;POINT (-40.331996 -2.802313)'))) / (select extract(epoch from '2026-07-10 02:36:24'::timestamp) - extract(epoch from '2026-07-10 02:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332174 -2.802308)'), GeomFromEWKT('SRID=4674;POINT (-40.331996 -2.802313)'))) / (select extract(epoch from '2026-07-10 02:36:24'::timestamp) - extract(epoch from '2026-07-10 02:36: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'), 47638, 'SRID=4674;POINT (-40.331854 -2.802297)', '2026-07-10 02:36:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331996 -2.802313)'), GeomFromEWKT('SRID=4674;POINT (-40.331854 -2.802297)'))) / (select extract(epoch from '2026-07-10 02:36:31'::timestamp) - extract(epoch from '2026-07-10 02:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331996 -2.802313)'), GeomFromEWKT('SRID=4674;POINT (-40.331854 -2.802297)'))) / (select extract(epoch from '2026-07-10 02:36:31'::timestamp) - extract(epoch from '2026-07-10 02:36: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'), 47638, 'SRID=4674;POINT (-40.33168 -2.802287)', '2026-07-10 02:36:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331854 -2.802297)'), GeomFromEWKT('SRID=4674;POINT (-40.33168 -2.802287)'))) / (select extract(epoch from '2026-07-10 02:36:40'::timestamp) - extract(epoch from '2026-07-10 02:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331854 -2.802297)'), GeomFromEWKT('SRID=4674;POINT (-40.33168 -2.802287)'))) / (select extract(epoch from '2026-07-10 02:36:40'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.331508 -2.802271)', '2026-07-10 02:36:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33168 -2.802287)'), GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.802271)'))) / (select extract(epoch from '2026-07-10 02:36:49'::timestamp) - extract(epoch from '2026-07-10 02:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33168 -2.802287)'), GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.802271)'))) / (select extract(epoch from '2026-07-10 02:36:49'::timestamp) - extract(epoch from '2026-07-10 02:36: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'), 47638, 'SRID=4674;POINT (-40.331355 -2.802242)', '2026-07-10 02:36:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.802271)'), GeomFromEWKT('SRID=4674;POINT (-40.331355 -2.802242)'))) / (select extract(epoch from '2026-07-10 02:36:57'::timestamp) - extract(epoch from '2026-07-10 02:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.802271)'), GeomFromEWKT('SRID=4674;POINT (-40.331355 -2.802242)'))) / (select extract(epoch from '2026-07-10 02:36:57'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.331202 -2.802215)', '2026-07-10 02:37:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331355 -2.802242)'), GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.802215)'))) / (select extract(epoch from '2026-07-10 02:37:05'::timestamp) - extract(epoch from '2026-07-10 02:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331355 -2.802242)'), GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.802215)'))) / (select extract(epoch from '2026-07-10 02:37:05'::timestamp) - extract(epoch from '2026-07-10 02:36: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'), 47638, 'SRID=4674;POINT (-40.331029 -2.802193)', '2026-07-10 02:37:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.802215)'), GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.802193)'))) / (select extract(epoch from '2026-07-10 02:37:14'::timestamp) - extract(epoch from '2026-07-10 02:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.802215)'), GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.802193)'))) / (select extract(epoch from '2026-07-10 02:37:14'::timestamp) - extract(epoch from '2026-07-10 02:37: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'), 47638, 'SRID=4674;POINT (-40.330848 -2.802178)', '2026-07-10 02:37:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.802178)'))) / (select extract(epoch from '2026-07-10 02:37:24'::timestamp) - extract(epoch from '2026-07-10 02:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.802178)'))) / (select extract(epoch from '2026-07-10 02:37:24'::timestamp) - extract(epoch from '2026-07-10 02:37: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'), 47638, 'SRID=4674;POINT (-40.330674 -2.802154)', '2026-07-10 02:37:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.802178)'), GeomFromEWKT('SRID=4674;POINT (-40.330674 -2.802154)'))) / (select extract(epoch from '2026-07-10 02:37:33'::timestamp) - extract(epoch from '2026-07-10 02:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.802178)'), GeomFromEWKT('SRID=4674;POINT (-40.330674 -2.802154)'))) / (select extract(epoch from '2026-07-10 02:37:33'::timestamp) - extract(epoch from '2026-07-10 02:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.330493 -2.802122)', '2026-07-10 02:37:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330674 -2.802154)'), GeomFromEWKT('SRID=4674;POINT (-40.330493 -2.802122)'))) / (select extract(epoch from '2026-07-10 02:37:42'::timestamp) - extract(epoch from '2026-07-10 02:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330674 -2.802154)'), GeomFromEWKT('SRID=4674;POINT (-40.330493 -2.802122)'))) / (select extract(epoch from '2026-07-10 02:37:42'::timestamp) - extract(epoch from '2026-07-10 02:37: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'), 47638, 'SRID=4674;POINT (-40.330358 -2.802097)', '2026-07-10 02:37:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330493 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.802097)'))) / (select extract(epoch from '2026-07-10 02:37:49'::timestamp) - extract(epoch from '2026-07-10 02:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330493 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.802097)'))) / (select extract(epoch from '2026-07-10 02:37:49'::timestamp) - extract(epoch from '2026-07-10 02:37: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'), 47638, 'SRID=4674;POINT (-40.330196 -2.80205)', '2026-07-10 02:37:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.802097)'), GeomFromEWKT('SRID=4674;POINT (-40.330196 -2.80205)'))) / (select extract(epoch from '2026-07-10 02:37:58'::timestamp) - extract(epoch from '2026-07-10 02:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.802097)'), GeomFromEWKT('SRID=4674;POINT (-40.330196 -2.80205)'))) / (select extract(epoch from '2026-07-10 02:37:58'::timestamp) - extract(epoch from '2026-07-10 02:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.330014 -2.802014)', '2026-07-10 02:38:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330196 -2.80205)'), GeomFromEWKT('SRID=4674;POINT (-40.330014 -2.802014)'))) / (select extract(epoch from '2026-07-10 02:38:08'::timestamp) - extract(epoch from '2026-07-10 02:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330196 -2.80205)'), GeomFromEWKT('SRID=4674;POINT (-40.330014 -2.802014)'))) / (select extract(epoch from '2026-07-10 02:38:08'::timestamp) - extract(epoch from '2026-07-10 02:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.329809 -2.801968)', '2026-07-10 02:38:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330014 -2.802014)'), GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.801968)'))) / (select extract(epoch from '2026-07-10 02:38:19'::timestamp) - extract(epoch from '2026-07-10 02:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330014 -2.802014)'), GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.801968)'))) / (select extract(epoch from '2026-07-10 02:38:19'::timestamp) - extract(epoch from '2026-07-10 02:38: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'), 47638, 'SRID=4674;POINT (-40.32961 -2.801927)', '2026-07-10 02:38:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.801968)'), GeomFromEWKT('SRID=4674;POINT (-40.32961 -2.801927)'))) / (select extract(epoch from '2026-07-10 02:38:29'::timestamp) - extract(epoch from '2026-07-10 02:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329809 -2.801968)'), GeomFromEWKT('SRID=4674;POINT (-40.32961 -2.801927)'))) / (select extract(epoch from '2026-07-10 02:38:29'::timestamp) - extract(epoch from '2026-07-10 02:38: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'), 47638, 'SRID=4674;POINT (-40.329457 -2.801894)', '2026-07-10 02:38:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32961 -2.801927)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.801894)'))) / (select extract(epoch from '2026-07-10 02:38:37'::timestamp) - extract(epoch from '2026-07-10 02:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32961 -2.801927)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.801894)'))) / (select extract(epoch from '2026-07-10 02:38:37'::timestamp) - extract(epoch from '2026-07-10 02:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.32929 -2.801859)', '2026-07-10 02:38:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.801894)'), GeomFromEWKT('SRID=4674;POINT (-40.32929 -2.801859)'))) / (select extract(epoch from '2026-07-10 02:38:46'::timestamp) - extract(epoch from '2026-07-10 02:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.801894)'), GeomFromEWKT('SRID=4674;POINT (-40.32929 -2.801859)'))) / (select extract(epoch from '2026-07-10 02:38:46'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.329147 -2.801824)', '2026-07-10 02:38:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32929 -2.801859)'), GeomFromEWKT('SRID=4674;POINT (-40.329147 -2.801824)'))) / (select extract(epoch from '2026-07-10 02:38:54'::timestamp) - extract(epoch from '2026-07-10 02:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32929 -2.801859)'), GeomFromEWKT('SRID=4674;POINT (-40.329147 -2.801824)'))) / (select extract(epoch from '2026-07-10 02:38:54'::timestamp) - extract(epoch from '2026-07-10 02:38: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'), 47638, 'SRID=4674;POINT (-40.329037 -2.801793)', '2026-07-10 02:39:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329147 -2.801824)'), GeomFromEWKT('SRID=4674;POINT (-40.329037 -2.801793)'))) / (select extract(epoch from '2026-07-10 02:39:00'::timestamp) - extract(epoch from '2026-07-10 02:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329147 -2.801824)'), GeomFromEWKT('SRID=4674;POINT (-40.329037 -2.801793)'))) / (select extract(epoch from '2026-07-10 02:39:00'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.328872 -2.801749)', '2026-07-10 02:39:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329037 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.801749)'))) / (select extract(epoch from '2026-07-10 02:39:09'::timestamp) - extract(epoch from '2026-07-10 02:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329037 -2.801793)'), GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.801749)'))) / (select extract(epoch from '2026-07-10 02:39:09'::timestamp) - extract(epoch from '2026-07-10 02:39: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'), 47638, 'SRID=4674;POINT (-40.328735 -2.801717)', '2026-07-10 02:39:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.328735 -2.801717)'))) / (select extract(epoch from '2026-07-10 02:39:16'::timestamp) - extract(epoch from '2026-07-10 02:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328872 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.328735 -2.801717)'))) / (select extract(epoch from '2026-07-10 02:39:16'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.328589 -2.801678)', '2026-07-10 02:39:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328735 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.328589 -2.801678)'))) / (select extract(epoch from '2026-07-10 02:39:24'::timestamp) - extract(epoch from '2026-07-10 02:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328735 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.328589 -2.801678)'))) / (select extract(epoch from '2026-07-10 02:39:24'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.32846 -2.801658)', '2026-07-10 02:39:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328589 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.32846 -2.801658)'))) / (select extract(epoch from '2026-07-10 02:39:31'::timestamp) - extract(epoch from '2026-07-10 02:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328589 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.32846 -2.801658)'))) / (select extract(epoch from '2026-07-10 02:39:31'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.328267 -2.801645)', '2026-07-10 02:39:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32846 -2.801658)'), GeomFromEWKT('SRID=4674;POINT (-40.328267 -2.801645)'))) / (select extract(epoch from '2026-07-10 02:39:41'::timestamp) - extract(epoch from '2026-07-10 02:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32846 -2.801658)'), GeomFromEWKT('SRID=4674;POINT (-40.328267 -2.801645)'))) / (select extract(epoch from '2026-07-10 02:39:41'::timestamp) - extract(epoch from '2026-07-10 02:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.3281 -2.801626)', '2026-07-10 02:39:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328267 -2.801645)'), GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.801626)'))) / (select extract(epoch from '2026-07-10 02:39:50'::timestamp) - extract(epoch from '2026-07-10 02:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328267 -2.801645)'), GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.801626)'))) / (select extract(epoch from '2026-07-10 02:39:50'::timestamp) - extract(epoch from '2026-07-10 02:39: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'), 47638, 'SRID=4674;POINT (-40.327944 -2.801605)', '2026-07-10 02:39:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.801626)'), GeomFromEWKT('SRID=4674;POINT (-40.327944 -2.801605)'))) / (select extract(epoch from '2026-07-10 02:39:58'::timestamp) - extract(epoch from '2026-07-10 02:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.801626)'), GeomFromEWKT('SRID=4674;POINT (-40.327944 -2.801605)'))) / (select extract(epoch from '2026-07-10 02:39:58'::timestamp) - extract(epoch from '2026-07-10 02:39: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'), 47638, 'SRID=4674;POINT (-40.327735 -2.801575)', '2026-07-10 02:40:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327944 -2.801605)'), GeomFromEWKT('SRID=4674;POINT (-40.327735 -2.801575)'))) / (select extract(epoch from '2026-07-10 02:40:09'::timestamp) - extract(epoch from '2026-07-10 02:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327944 -2.801605)'), GeomFromEWKT('SRID=4674;POINT (-40.327735 -2.801575)'))) / (select extract(epoch from '2026-07-10 02:40:09'::timestamp) - extract(epoch from '2026-07-10 02:39: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'), 47638, 'SRID=4674;POINT (-40.327557 -2.801543)', '2026-07-10 02:40:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327735 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.327557 -2.801543)'))) / (select extract(epoch from '2026-07-10 02:40:18'::timestamp) - extract(epoch from '2026-07-10 02:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327735 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.327557 -2.801543)'))) / (select extract(epoch from '2026-07-10 02:40:18'::timestamp) - extract(epoch from '2026-07-10 02:40: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'), 47638, 'SRID=4674;POINT (-40.327343 -2.801502)', '2026-07-10 02:40:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327557 -2.801543)'), GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.801502)'))) / (select extract(epoch from '2026-07-10 02:40:29'::timestamp) - extract(epoch from '2026-07-10 02:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327557 -2.801543)'), GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.801502)'))) / (select extract(epoch from '2026-07-10 02:40:29'::timestamp) - extract(epoch from '2026-07-10 02:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.327218 -2.801465)', '2026-07-10 02:40:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.327218 -2.801465)'))) / (select extract(epoch from '2026-07-10 02:40:36'::timestamp) - extract(epoch from '2026-07-10 02:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.327218 -2.801465)'))) / (select extract(epoch from '2026-07-10 02:40:36'::timestamp) - extract(epoch from '2026-07-10 02:40: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'), 47638, 'SRID=4674;POINT (-40.327052 -2.801424)', '2026-07-10 02:40:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327218 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.327052 -2.801424)'))) / (select extract(epoch from '2026-07-10 02:40:45'::timestamp) - extract(epoch from '2026-07-10 02:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327218 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.327052 -2.801424)'))) / (select extract(epoch from '2026-07-10 02:40:45'::timestamp) - extract(epoch from '2026-07-10 02:40: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'), 47638, 'SRID=4674;POINT (-40.326861 -2.801384)', '2026-07-10 02:40:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327052 -2.801424)'), GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.801384)'))) / (select extract(epoch from '2026-07-10 02:40:55'::timestamp) - extract(epoch from '2026-07-10 02:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327052 -2.801424)'), GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.801384)'))) / (select extract(epoch from '2026-07-10 02:40:55'::timestamp) - extract(epoch from '2026-07-10 02:40: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'), 47638, 'SRID=4674;POINT (-40.326696 -2.801354)', '2026-07-10 02:41:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.801384)'), GeomFromEWKT('SRID=4674;POINT (-40.326696 -2.801354)'))) / (select extract(epoch from '2026-07-10 02:41:04'::timestamp) - extract(epoch from '2026-07-10 02:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.801384)'), GeomFromEWKT('SRID=4674;POINT (-40.326696 -2.801354)'))) / (select extract(epoch from '2026-07-10 02:41:04'::timestamp) - extract(epoch from '2026-07-10 02:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.326572 -2.801344)', '2026-07-10 02:41:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326696 -2.801354)'), GeomFromEWKT('SRID=4674;POINT (-40.326572 -2.801344)'))) / (select extract(epoch from '2026-07-10 02:41:11'::timestamp) - extract(epoch from '2026-07-10 02:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326696 -2.801354)'), GeomFromEWKT('SRID=4674;POINT (-40.326572 -2.801344)'))) / (select extract(epoch from '2026-07-10 02:41:11'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.326407 -2.801313)', '2026-07-10 02:41:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326572 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.326407 -2.801313)'))) / (select extract(epoch from '2026-07-10 02:41:20'::timestamp) - extract(epoch from '2026-07-10 02:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326572 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.326407 -2.801313)'))) / (select extract(epoch from '2026-07-10 02:41:20'::timestamp) - extract(epoch from '2026-07-10 02:41: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'), 47638, 'SRID=4674;POINT (-40.326212 -2.801287)', '2026-07-10 02:41:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326407 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.326212 -2.801287)'))) / (select extract(epoch from '2026-07-10 02:41:30'::timestamp) - extract(epoch from '2026-07-10 02:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326407 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.326212 -2.801287)'))) / (select extract(epoch from '2026-07-10 02:41:30'::timestamp) - extract(epoch from '2026-07-10 02:41: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'), 47638, 'SRID=4674;POINT (-40.326053 -2.801278)', '2026-07-10 02:41:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326212 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.326053 -2.801278)'))) / (select extract(epoch from '2026-07-10 02:41:38'::timestamp) - extract(epoch from '2026-07-10 02:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326212 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.326053 -2.801278)'))) / (select extract(epoch from '2026-07-10 02:41:38'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.32587 -2.801267)', '2026-07-10 02:41:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326053 -2.801278)'), GeomFromEWKT('SRID=4674;POINT (-40.32587 -2.801267)'))) / (select extract(epoch from '2026-07-10 02:41:47'::timestamp) - extract(epoch from '2026-07-10 02:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326053 -2.801278)'), GeomFromEWKT('SRID=4674;POINT (-40.32587 -2.801267)'))) / (select extract(epoch from '2026-07-10 02:41:47'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.325712 -2.801261)', '2026-07-10 02:41:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32587 -2.801267)'), GeomFromEWKT('SRID=4674;POINT (-40.325712 -2.801261)'))) / (select extract(epoch from '2026-07-10 02:41:55'::timestamp) - extract(epoch from '2026-07-10 02:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32587 -2.801267)'), GeomFromEWKT('SRID=4674;POINT (-40.325712 -2.801261)'))) / (select extract(epoch from '2026-07-10 02:41:55'::timestamp) - extract(epoch from '2026-07-10 02:41: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'), 47638, 'SRID=4674;POINT (-40.32548 -2.801251)', '2026-07-10 02:42:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325712 -2.801261)'), GeomFromEWKT('SRID=4674;POINT (-40.32548 -2.801251)'))) / (select extract(epoch from '2026-07-10 02:42:07'::timestamp) - extract(epoch from '2026-07-10 02:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325712 -2.801261)'), GeomFromEWKT('SRID=4674;POINT (-40.32548 -2.801251)'))) / (select extract(epoch from '2026-07-10 02:42:07'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.325347 -2.80125)', '2026-07-10 02:42:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32548 -2.801251)'), GeomFromEWKT('SRID=4674;POINT (-40.325347 -2.80125)'))) / (select extract(epoch from '2026-07-10 02:42:14'::timestamp) - extract(epoch from '2026-07-10 02:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32548 -2.801251)'), GeomFromEWKT('SRID=4674;POINT (-40.325347 -2.80125)'))) / (select extract(epoch from '2026-07-10 02:42:14'::timestamp) - extract(epoch from '2026-07-10 02:42: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'), 47638, 'SRID=4674;POINT (-40.325208 -2.80123)', '2026-07-10 02:42:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325347 -2.80125)'), GeomFromEWKT('SRID=4674;POINT (-40.325208 -2.80123)'))) / (select extract(epoch from '2026-07-10 02:42:21'::timestamp) - extract(epoch from '2026-07-10 02:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325347 -2.80125)'), GeomFromEWKT('SRID=4674;POINT (-40.325208 -2.80123)'))) / (select extract(epoch from '2026-07-10 02:42:21'::timestamp) - extract(epoch from '2026-07-10 02:42: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'), 47638, 'SRID=4674;POINT (-40.325036 -2.801209)', '2026-07-10 02:42:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325208 -2.80123)'), GeomFromEWKT('SRID=4674;POINT (-40.325036 -2.801209)'))) / (select extract(epoch from '2026-07-10 02:42:30'::timestamp) - extract(epoch from '2026-07-10 02:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325208 -2.80123)'), GeomFromEWKT('SRID=4674;POINT (-40.325036 -2.801209)'))) / (select extract(epoch from '2026-07-10 02:42:30'::timestamp) - extract(epoch from '2026-07-10 02:42: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'), 47638, 'SRID=4674;POINT (-40.324868 -2.801199)', '2026-07-10 02:42:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325036 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801199)'))) / (select extract(epoch from '2026-07-10 02:42:38'::timestamp) - extract(epoch from '2026-07-10 02:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325036 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801199)'))) / (select extract(epoch from '2026-07-10 02:42:38'::timestamp) - extract(epoch from '2026-07-10 02:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.324663 -2.801196)', '2026-07-10 02:42:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801199)'), GeomFromEWKT('SRID=4674;POINT (-40.324663 -2.801196)'))) / (select extract(epoch from '2026-07-10 02:42:48'::timestamp) - extract(epoch from '2026-07-10 02:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801199)'), GeomFromEWKT('SRID=4674;POINT (-40.324663 -2.801196)'))) / (select extract(epoch from '2026-07-10 02:42:48'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.324503 -2.801191)', '2026-07-10 02:42:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324663 -2.801196)'), GeomFromEWKT('SRID=4674;POINT (-40.324503 -2.801191)'))) / (select extract(epoch from '2026-07-10 02:42:56'::timestamp) - extract(epoch from '2026-07-10 02:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324663 -2.801196)'), GeomFromEWKT('SRID=4674;POINT (-40.324503 -2.801191)'))) / (select extract(epoch from '2026-07-10 02:42:56'::timestamp) - extract(epoch from '2026-07-10 02:42: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'), 47638, 'SRID=4674;POINT (-40.324306 -2.801184)', '2026-07-10 02:43:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324503 -2.801191)'), GeomFromEWKT('SRID=4674;POINT (-40.324306 -2.801184)'))) / (select extract(epoch from '2026-07-10 02:43:06'::timestamp) - extract(epoch from '2026-07-10 02:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324503 -2.801191)'), GeomFromEWKT('SRID=4674;POINT (-40.324306 -2.801184)'))) / (select extract(epoch from '2026-07-10 02:43:06'::timestamp) - extract(epoch from '2026-07-10 02:42: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'), 47638, 'SRID=4674;POINT (-40.324154 -2.801161)', '2026-07-10 02:43:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324306 -2.801184)'), GeomFromEWKT('SRID=4674;POINT (-40.324154 -2.801161)'))) / (select extract(epoch from '2026-07-10 02:43:14'::timestamp) - extract(epoch from '2026-07-10 02:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324306 -2.801184)'), GeomFromEWKT('SRID=4674;POINT (-40.324154 -2.801161)'))) / (select extract(epoch from '2026-07-10 02:43:14'::timestamp) - extract(epoch from '2026-07-10 02:43: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'), 47638, 'SRID=4674;POINT (-40.323944 -2.801133)', '2026-07-10 02:43:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324154 -2.801161)'), GeomFromEWKT('SRID=4674;POINT (-40.323944 -2.801133)'))) / (select extract(epoch from '2026-07-10 02:43:25'::timestamp) - extract(epoch from '2026-07-10 02:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324154 -2.801161)'), GeomFromEWKT('SRID=4674;POINT (-40.323944 -2.801133)'))) / (select extract(epoch from '2026-07-10 02:43:25'::timestamp) - extract(epoch from '2026-07-10 02:43: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'), 47638, 'SRID=4674;POINT (-40.323735 -2.801095)', '2026-07-10 02:43:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323944 -2.801133)'), GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.801095)'))) / (select extract(epoch from '2026-07-10 02:43:36'::timestamp) - extract(epoch from '2026-07-10 02:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323944 -2.801133)'), GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.801095)'))) / (select extract(epoch from '2026-07-10 02:43:36'::timestamp) - extract(epoch from '2026-07-10 02:43: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'), 47638, 'SRID=4674;POINT (-40.323544 -2.801066)', '2026-07-10 02:43:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.801095)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.801066)'))) / (select extract(epoch from '2026-07-10 02:43:46'::timestamp) - extract(epoch from '2026-07-10 02:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.801095)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.801066)'))) / (select extract(epoch from '2026-07-10 02:43:46'::timestamp) - extract(epoch from '2026-07-10 02:43: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'), 47638, 'SRID=4674;POINT (-40.323413 -2.80104)', '2026-07-10 02:43:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.801066)'), GeomFromEWKT('SRID=4674;POINT (-40.323413 -2.80104)'))) / (select extract(epoch from '2026-07-10 02:43:53'::timestamp) - extract(epoch from '2026-07-10 02:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.801066)'), GeomFromEWKT('SRID=4674;POINT (-40.323413 -2.80104)'))) / (select extract(epoch from '2026-07-10 02:43:53'::timestamp) - extract(epoch from '2026-07-10 02:43: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'), 47638, 'SRID=4674;POINT (-40.323226 -2.80101)', '2026-07-10 02:44:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323413 -2.80104)'), GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.80101)'))) / (select extract(epoch from '2026-07-10 02:44:03'::timestamp) - extract(epoch from '2026-07-10 02:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323413 -2.80104)'), GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.80101)'))) / (select extract(epoch from '2026-07-10 02:44:03'::timestamp) - extract(epoch from '2026-07-10 02:43: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'), 47638, 'SRID=4674;POINT (-40.323068 -2.800982)', '2026-07-10 02:44:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.80101)'), GeomFromEWKT('SRID=4674;POINT (-40.323068 -2.800982)'))) / (select extract(epoch from '2026-07-10 02:44:11'::timestamp) - extract(epoch from '2026-07-10 02:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.80101)'), GeomFromEWKT('SRID=4674;POINT (-40.323068 -2.800982)'))) / (select extract(epoch from '2026-07-10 02:44:11'::timestamp) - extract(epoch from '2026-07-10 02:44: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'), 47638, 'SRID=4674;POINT (-40.322941 -2.800972)', '2026-07-10 02:44:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323068 -2.800982)'), GeomFromEWKT('SRID=4674;POINT (-40.322941 -2.800972)'))) / (select extract(epoch from '2026-07-10 02:44:18'::timestamp) - extract(epoch from '2026-07-10 02:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323068 -2.800982)'), GeomFromEWKT('SRID=4674;POINT (-40.322941 -2.800972)'))) / (select extract(epoch from '2026-07-10 02:44:18'::timestamp) - extract(epoch from '2026-07-10 02:44: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'), 47638, 'SRID=4674;POINT (-40.322777 -2.800957)', '2026-07-10 02:44:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322941 -2.800972)'), GeomFromEWKT('SRID=4674;POINT (-40.322777 -2.800957)'))) / (select extract(epoch from '2026-07-10 02:44:27'::timestamp) - extract(epoch from '2026-07-10 02:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322941 -2.800972)'), GeomFromEWKT('SRID=4674;POINT (-40.322777 -2.800957)'))) / (select extract(epoch from '2026-07-10 02:44:27'::timestamp) - extract(epoch from '2026-07-10 02:44: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'), 47638, 'SRID=4674;POINT (-40.322605 -2.800929)', '2026-07-10 02:44:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322777 -2.800957)'), GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.800929)'))) / (select extract(epoch from '2026-07-10 02:44:36'::timestamp) - extract(epoch from '2026-07-10 02:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322777 -2.800957)'), GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.800929)'))) / (select extract(epoch from '2026-07-10 02:44:36'::timestamp) - extract(epoch from '2026-07-10 02:44: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'), 47638, 'SRID=4674;POINT (-40.322409 -2.800902)', '2026-07-10 02:44:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.800929)'), GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.800902)'))) / (select extract(epoch from '2026-07-10 02:44:46'::timestamp) - extract(epoch from '2026-07-10 02:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.800929)'), GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.800902)'))) / (select extract(epoch from '2026-07-10 02:44:46'::timestamp) - extract(epoch from '2026-07-10 02:44: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'), 47638, 'SRID=4674;POINT (-40.322247 -2.800868)', '2026-07-10 02:44:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.322247 -2.800868)'))) / (select extract(epoch from '2026-07-10 02:44:55'::timestamp) - extract(epoch from '2026-07-10 02:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.322247 -2.800868)'))) / (select extract(epoch from '2026-07-10 02:44:55'::timestamp) - extract(epoch from '2026-07-10 02:44: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'), 47638, 'SRID=4674;POINT (-40.32207 -2.80083)', '2026-07-10 02:45:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322247 -2.800868)'), GeomFromEWKT('SRID=4674;POINT (-40.32207 -2.80083)'))) / (select extract(epoch from '2026-07-10 02:45:05'::timestamp) - extract(epoch from '2026-07-10 02:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322247 -2.800868)'), GeomFromEWKT('SRID=4674;POINT (-40.32207 -2.80083)'))) / (select extract(epoch from '2026-07-10 02:45:05'::timestamp) - extract(epoch from '2026-07-10 02:44: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'), 47638, 'SRID=4674;POINT (-40.321885 -2.800786)', '2026-07-10 02:45:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32207 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.321885 -2.800786)'))) / (select extract(epoch from '2026-07-10 02:45:15'::timestamp) - extract(epoch from '2026-07-10 02:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32207 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.321885 -2.800786)'))) / (select extract(epoch from '2026-07-10 02:45:15'::timestamp) - extract(epoch from '2026-07-10 02:45: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'), 47638, 'SRID=4674;POINT (-40.321715 -2.800751)', '2026-07-10 02:45:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321885 -2.800786)'), GeomFromEWKT('SRID=4674;POINT (-40.321715 -2.800751)'))) / (select extract(epoch from '2026-07-10 02:45:24'::timestamp) - extract(epoch from '2026-07-10 02:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321885 -2.800786)'), GeomFromEWKT('SRID=4674;POINT (-40.321715 -2.800751)'))) / (select extract(epoch from '2026-07-10 02:45:24'::timestamp) - extract(epoch from '2026-07-10 02:45: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'), 47638, 'SRID=4674;POINT (-40.321571 -2.800721)', '2026-07-10 02:45:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321715 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.800721)'))) / (select extract(epoch from '2026-07-10 02:45:32'::timestamp) - extract(epoch from '2026-07-10 02:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321715 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.800721)'))) / (select extract(epoch from '2026-07-10 02:45:32'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.321389 -2.800677)', '2026-07-10 02:45:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.800721)'), GeomFromEWKT('SRID=4674;POINT (-40.321389 -2.800677)'))) / (select extract(epoch from '2026-07-10 02:45:42'::timestamp) - extract(epoch from '2026-07-10 02:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.800721)'), GeomFromEWKT('SRID=4674;POINT (-40.321389 -2.800677)'))) / (select extract(epoch from '2026-07-10 02:45:42'::timestamp) - extract(epoch from '2026-07-10 02:45: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'), 47638, 'SRID=4674;POINT (-40.321218 -2.800635)', '2026-07-10 02:45:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321389 -2.800677)'), GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.800635)'))) / (select extract(epoch from '2026-07-10 02:45:51'::timestamp) - extract(epoch from '2026-07-10 02:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321389 -2.800677)'), GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.800635)'))) / (select extract(epoch from '2026-07-10 02:45:51'::timestamp) - extract(epoch from '2026-07-10 02:45: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'), 47638, 'SRID=4674;POINT (-40.321088 -2.8006)', '2026-07-10 02:45:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.321088 -2.8006)'))) / (select extract(epoch from '2026-07-10 02:45:58'::timestamp) - extract(epoch from '2026-07-10 02:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.321088 -2.8006)'))) / (select extract(epoch from '2026-07-10 02:45:58'::timestamp) - extract(epoch from '2026-07-10 02:45: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'), 47638, 'SRID=4674;POINT (-40.320902 -2.800539)', '2026-07-10 02:46:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321088 -2.8006)'), GeomFromEWKT('SRID=4674;POINT (-40.320902 -2.800539)'))) / (select extract(epoch from '2026-07-10 02:46:08'::timestamp) - extract(epoch from '2026-07-10 02:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321088 -2.8006)'), GeomFromEWKT('SRID=4674;POINT (-40.320902 -2.800539)'))) / (select extract(epoch from '2026-07-10 02:46:08'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.320732 -2.800481)', '2026-07-10 02:46:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320902 -2.800539)'), GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.800481)'))) / (select extract(epoch from '2026-07-10 02:46:17'::timestamp) - extract(epoch from '2026-07-10 02:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320902 -2.800539)'), GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.800481)'))) / (select extract(epoch from '2026-07-10 02:46:17'::timestamp) - extract(epoch from '2026-07-10 02:46: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'), 47638, 'SRID=4674;POINT (-40.320597 -2.800444)', '2026-07-10 02:46:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.800481)'), GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.800444)'))) / (select extract(epoch from '2026-07-10 02:46:24'::timestamp) - extract(epoch from '2026-07-10 02:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.800481)'), GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.800444)'))) / (select extract(epoch from '2026-07-10 02:46:24'::timestamp) - extract(epoch from '2026-07-10 02:46: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'), 47638, 'SRID=4674;POINT (-40.320442 -2.800385)', '2026-07-10 02:46:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.800385)'))) / (select extract(epoch from '2026-07-10 02:46:33'::timestamp) - extract(epoch from '2026-07-10 02:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.800385)'))) / (select extract(epoch from '2026-07-10 02:46:33'::timestamp) - extract(epoch from '2026-07-10 02:46: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'), 47638, 'SRID=4674;POINT (-40.320274 -2.800334)', '2026-07-10 02:46:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.320274 -2.800334)'))) / (select extract(epoch from '2026-07-10 02:46:42'::timestamp) - extract(epoch from '2026-07-10 02:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.320274 -2.800334)'))) / (select extract(epoch from '2026-07-10 02:46:42'::timestamp) - extract(epoch from '2026-07-10 02:46: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'), 47638, 'SRID=4674;POINT (-40.320049 -2.800291)', '2026-07-10 02:46:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320274 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.320049 -2.800291)'))) / (select extract(epoch from '2026-07-10 02:46:53'::timestamp) - extract(epoch from '2026-07-10 02:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320274 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.320049 -2.800291)'))) / (select extract(epoch from '2026-07-10 02:46:53'::timestamp) - extract(epoch from '2026-07-10 02:46: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'), 47638, 'SRID=4674;POINT (-40.319769 -2.800241)', '2026-07-10 02:47:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320049 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.319769 -2.800241)'))) / (select extract(epoch from '2026-07-10 02:47:07'::timestamp) - extract(epoch from '2026-07-10 02:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320049 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.319769 -2.800241)'))) / (select extract(epoch from '2026-07-10 02:47:07'::timestamp) - extract(epoch from '2026-07-10 02:46: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'), 47638, 'SRID=4674;POINT (-40.319591 -2.800231)', '2026-07-10 02:47:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319769 -2.800241)'), GeomFromEWKT('SRID=4674;POINT (-40.319591 -2.800231)'))) / (select extract(epoch from '2026-07-10 02:47:17'::timestamp) - extract(epoch from '2026-07-10 02:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319769 -2.800241)'), GeomFromEWKT('SRID=4674;POINT (-40.319591 -2.800231)'))) / (select extract(epoch from '2026-07-10 02:47:17'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.319398 -2.800201)', '2026-07-10 02:47:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319591 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.319398 -2.800201)'))) / (select extract(epoch from '2026-07-10 02:47:27'::timestamp) - extract(epoch from '2026-07-10 02:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319591 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.319398 -2.800201)'))) / (select extract(epoch from '2026-07-10 02:47:27'::timestamp) - extract(epoch from '2026-07-10 02:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.319272 -2.800181)', '2026-07-10 02:47:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319398 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.319272 -2.800181)'))) / (select extract(epoch from '2026-07-10 02:47:34'::timestamp) - extract(epoch from '2026-07-10 02:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319398 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.319272 -2.800181)'))) / (select extract(epoch from '2026-07-10 02:47:34'::timestamp) - extract(epoch from '2026-07-10 02:47: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'), 47638, 'SRID=4674;POINT (-40.319123 -2.800148)', '2026-07-10 02:47:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319272 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.319123 -2.800148)'))) / (select extract(epoch from '2026-07-10 02:47:42'::timestamp) - extract(epoch from '2026-07-10 02:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319272 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.319123 -2.800148)'))) / (select extract(epoch from '2026-07-10 02:47:42'::timestamp) - extract(epoch from '2026-07-10 02:47: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'), 47638, 'SRID=4674;POINT (-40.318954 -2.800121)', '2026-07-10 02:47:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319123 -2.800148)'), GeomFromEWKT('SRID=4674;POINT (-40.318954 -2.800121)'))) / (select extract(epoch from '2026-07-10 02:47:51'::timestamp) - extract(epoch from '2026-07-10 02:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319123 -2.800148)'), GeomFromEWKT('SRID=4674;POINT (-40.318954 -2.800121)'))) / (select extract(epoch from '2026-07-10 02:47:51'::timestamp) - extract(epoch from '2026-07-10 02:47: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'), 47638, 'SRID=4674;POINT (-40.318765 -2.800076)', '2026-07-10 02:48:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318954 -2.800121)'), GeomFromEWKT('SRID=4674;POINT (-40.318765 -2.800076)'))) / (select extract(epoch from '2026-07-10 02:48:01'::timestamp) - extract(epoch from '2026-07-10 02:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318954 -2.800121)'), GeomFromEWKT('SRID=4674;POINT (-40.318765 -2.800076)'))) / (select extract(epoch from '2026-07-10 02:48:01'::timestamp) - extract(epoch from '2026-07-10 02:47: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'), 47638, 'SRID=4674;POINT (-40.31858 -2.800047)', '2026-07-10 02:48:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318765 -2.800076)'), GeomFromEWKT('SRID=4674;POINT (-40.31858 -2.800047)'))) / (select extract(epoch from '2026-07-10 02:48:11'::timestamp) - extract(epoch from '2026-07-10 02:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318765 -2.800076)'), GeomFromEWKT('SRID=4674;POINT (-40.31858 -2.800047)'))) / (select extract(epoch from '2026-07-10 02:48:11'::timestamp) - extract(epoch from '2026-07-10 02:48: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'), 47638, 'SRID=4674;POINT (-40.318418 -2.800003)', '2026-07-10 02:48:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31858 -2.800047)'), GeomFromEWKT('SRID=4674;POINT (-40.318418 -2.800003)'))) / (select extract(epoch from '2026-07-10 02:48:20'::timestamp) - extract(epoch from '2026-07-10 02:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31858 -2.800047)'), GeomFromEWKT('SRID=4674;POINT (-40.318418 -2.800003)'))) / (select extract(epoch from '2026-07-10 02:48:20'::timestamp) - extract(epoch from '2026-07-10 02:48: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'), 47638, 'SRID=4674;POINT (-40.318216 -2.799967)', '2026-07-10 02:48:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318418 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.799967)'))) / (select extract(epoch from '2026-07-10 02:48:31'::timestamp) - extract(epoch from '2026-07-10 02:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318418 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.799967)'))) / (select extract(epoch from '2026-07-10 02:48:31'::timestamp) - extract(epoch from '2026-07-10 02:48: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'), 47638, 'SRID=4674;POINT (-40.318094 -2.799946)', '2026-07-10 02:48:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.799967)'), GeomFromEWKT('SRID=4674;POINT (-40.318094 -2.799946)'))) / (select extract(epoch from '2026-07-10 02:48:38'::timestamp) - extract(epoch from '2026-07-10 02:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318216 -2.799967)'), GeomFromEWKT('SRID=4674;POINT (-40.318094 -2.799946)'))) / (select extract(epoch from '2026-07-10 02:48:38'::timestamp) - extract(epoch from '2026-07-10 02:48: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'), 47638, 'SRID=4674;POINT (-40.317976 -2.799913)', '2026-07-10 02:48:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318094 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.317976 -2.799913)'))) / (select extract(epoch from '2026-07-10 02:48:45'::timestamp) - extract(epoch from '2026-07-10 02:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318094 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.317976 -2.799913)'))) / (select extract(epoch from '2026-07-10 02:48:45'::timestamp) - extract(epoch from '2026-07-10 02:48: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'), 47638, 'SRID=4674;POINT (-40.317821 -2.799876)', '2026-07-10 02:48:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317976 -2.799913)'), GeomFromEWKT('SRID=4674;POINT (-40.317821 -2.799876)'))) / (select extract(epoch from '2026-07-10 02:48:54'::timestamp) - extract(epoch from '2026-07-10 02:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317976 -2.799913)'), GeomFromEWKT('SRID=4674;POINT (-40.317821 -2.799876)'))) / (select extract(epoch from '2026-07-10 02:48:54'::timestamp) - extract(epoch from '2026-07-10 02:48: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'), 47638, 'SRID=4674;POINT (-40.317655 -2.799814)', '2026-07-10 02:49:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317821 -2.799876)'), GeomFromEWKT('SRID=4674;POINT (-40.317655 -2.799814)'))) / (select extract(epoch from '2026-07-10 02:49:04'::timestamp) - extract(epoch from '2026-07-10 02:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317821 -2.799876)'), GeomFromEWKT('SRID=4674;POINT (-40.317655 -2.799814)'))) / (select extract(epoch from '2026-07-10 02:49:04'::timestamp) - extract(epoch from '2026-07-10 02:48: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'), 47638, 'SRID=4674;POINT (-40.317486 -2.799762)', '2026-07-10 02:49:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317655 -2.799814)'), GeomFromEWKT('SRID=4674;POINT (-40.317486 -2.799762)'))) / (select extract(epoch from '2026-07-10 02:49:14'::timestamp) - extract(epoch from '2026-07-10 02:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317655 -2.799814)'), GeomFromEWKT('SRID=4674;POINT (-40.317486 -2.799762)'))) / (select extract(epoch from '2026-07-10 02:49:14'::timestamp) - extract(epoch from '2026-07-10 02:49: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'), 47638, 'SRID=4674;POINT (-40.31731 -2.799716)', '2026-07-10 02:49:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317486 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.799716)'))) / (select extract(epoch from '2026-07-10 02:49:24'::timestamp) - extract(epoch from '2026-07-10 02:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317486 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.799716)'))) / (select extract(epoch from '2026-07-10 02:49:24'::timestamp) - extract(epoch from '2026-07-10 02:49: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'), 47638, 'SRID=4674;POINT (-40.317163 -2.799679)', '2026-07-10 02:49:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.799716)'), GeomFromEWKT('SRID=4674;POINT (-40.317163 -2.799679)'))) / (select extract(epoch from '2026-07-10 02:49:32'::timestamp) - extract(epoch from '2026-07-10 02:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31731 -2.799716)'), GeomFromEWKT('SRID=4674;POINT (-40.317163 -2.799679)'))) / (select extract(epoch from '2026-07-10 02:49:32'::timestamp) - extract(epoch from '2026-07-10 02:49: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'), 47638, 'SRID=4674;POINT (-40.316997 -2.799651)', '2026-07-10 02:49:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317163 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.316997 -2.799651)'))) / (select extract(epoch from '2026-07-10 02:49:41'::timestamp) - extract(epoch from '2026-07-10 02:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317163 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.316997 -2.799651)'))) / (select extract(epoch from '2026-07-10 02:49:41'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.316809 -2.799633)', '2026-07-10 02:49:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316997 -2.799651)'), GeomFromEWKT('SRID=4674;POINT (-40.316809 -2.799633)'))) / (select extract(epoch from '2026-07-10 02:49:51'::timestamp) - extract(epoch from '2026-07-10 02:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316997 -2.799651)'), GeomFromEWKT('SRID=4674;POINT (-40.316809 -2.799633)'))) / (select extract(epoch from '2026-07-10 02:49:51'::timestamp) - extract(epoch from '2026-07-10 02:49: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'), 47638, 'SRID=4674;POINT (-40.316611 -2.799607)', '2026-07-10 02:50:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316809 -2.799633)'), GeomFromEWKT('SRID=4674;POINT (-40.316611 -2.799607)'))) / (select extract(epoch from '2026-07-10 02:50:02'::timestamp) - extract(epoch from '2026-07-10 02:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316809 -2.799633)'), GeomFromEWKT('SRID=4674;POINT (-40.316611 -2.799607)'))) / (select extract(epoch from '2026-07-10 02:50:02'::timestamp) - extract(epoch from '2026-07-10 02:49: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'), 47638, 'SRID=4674;POINT (-40.316422 -2.799589)', '2026-07-10 02:50:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316611 -2.799607)'), GeomFromEWKT('SRID=4674;POINT (-40.316422 -2.799589)'))) / (select extract(epoch from '2026-07-10 02:50:12'::timestamp) - extract(epoch from '2026-07-10 02:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316611 -2.799607)'), GeomFromEWKT('SRID=4674;POINT (-40.316422 -2.799589)'))) / (select extract(epoch from '2026-07-10 02:50:12'::timestamp) - extract(epoch from '2026-07-10 02:50: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'), 47638, 'SRID=4674;POINT (-40.316203 -2.799557)', '2026-07-10 02:50:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316422 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.316203 -2.799557)'))) / (select extract(epoch from '2026-07-10 02:50:24'::timestamp) - extract(epoch from '2026-07-10 02:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316422 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.316203 -2.799557)'))) / (select extract(epoch from '2026-07-10 02:50:24'::timestamp) - extract(epoch from '2026-07-10 02:50: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'), 47638, 'SRID=4674;POINT (-40.315988 -2.799507)', '2026-07-10 02:50:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316203 -2.799557)'), GeomFromEWKT('SRID=4674;POINT (-40.315988 -2.799507)'))) / (select extract(epoch from '2026-07-10 02:50:36'::timestamp) - extract(epoch from '2026-07-10 02:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316203 -2.799557)'), GeomFromEWKT('SRID=4674;POINT (-40.315988 -2.799507)'))) / (select extract(epoch from '2026-07-10 02:50:36'::timestamp) - extract(epoch from '2026-07-10 02:50: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'), 47638, 'SRID=4674;POINT (-40.315814 -2.799448)', '2026-07-10 02:50:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315988 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799448)'))) / (select extract(epoch from '2026-07-10 02:50:46'::timestamp) - extract(epoch from '2026-07-10 02:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315988 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799448)'))) / (select extract(epoch from '2026-07-10 02:50:46'::timestamp) - extract(epoch from '2026-07-10 02:50: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'), 47638, 'SRID=4674;POINT (-40.315619 -2.799392)', '2026-07-10 02:50:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799448)'), GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.799392)'))) / (select extract(epoch from '2026-07-10 02:50:57'::timestamp) - extract(epoch from '2026-07-10 02:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799448)'), GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.799392)'))) / (select extract(epoch from '2026-07-10 02:50:57'::timestamp) - extract(epoch from '2026-07-10 02:50: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'), 47638, 'SRID=4674;POINT (-40.315471 -2.799349)', '2026-07-10 02:51:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.799392)'), GeomFromEWKT('SRID=4674;POINT (-40.315471 -2.799349)'))) / (select extract(epoch from '2026-07-10 02:51:05'::timestamp) - extract(epoch from '2026-07-10 02:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315619 -2.799392)'), GeomFromEWKT('SRID=4674;POINT (-40.315471 -2.799349)'))) / (select extract(epoch from '2026-07-10 02:51:05'::timestamp) - extract(epoch from '2026-07-10 02:50: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'), 47638, 'SRID=4674;POINT (-40.315304 -2.799307)', '2026-07-10 02:51:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315471 -2.799349)'), GeomFromEWKT('SRID=4674;POINT (-40.315304 -2.799307)'))) / (select extract(epoch from '2026-07-10 02:51:14'::timestamp) - extract(epoch from '2026-07-10 02:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315471 -2.799349)'), GeomFromEWKT('SRID=4674;POINT (-40.315304 -2.799307)'))) / (select extract(epoch from '2026-07-10 02:51:14'::timestamp) - extract(epoch from '2026-07-10 02:51: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'), 47638, 'SRID=4674;POINT (-40.315146 -2.799279)', '2026-07-10 02:51:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315304 -2.799307)'), GeomFromEWKT('SRID=4674;POINT (-40.315146 -2.799279)'))) / (select extract(epoch from '2026-07-10 02:51:23'::timestamp) - extract(epoch from '2026-07-10 02:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315304 -2.799307)'), GeomFromEWKT('SRID=4674;POINT (-40.315146 -2.799279)'))) / (select extract(epoch from '2026-07-10 02:51:23'::timestamp) - extract(epoch from '2026-07-10 02:51: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'), 47638, 'SRID=4674;POINT (-40.314967 -2.79925)', '2026-07-10 02:51:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315146 -2.799279)'), GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.79925)'))) / (select extract(epoch from '2026-07-10 02:51:33'::timestamp) - extract(epoch from '2026-07-10 02:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315146 -2.799279)'), GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.79925)'))) / (select extract(epoch from '2026-07-10 02:51:33'::timestamp) - extract(epoch from '2026-07-10 02:51: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'), 47638, 'SRID=4674;POINT (-40.314806 -2.799197)', '2026-07-10 02:51:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.314806 -2.799197)'))) / (select extract(epoch from '2026-07-10 02:51:42'::timestamp) - extract(epoch from '2026-07-10 02:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314967 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.314806 -2.799197)'))) / (select extract(epoch from '2026-07-10 02:51:42'::timestamp) - extract(epoch from '2026-07-10 02:51: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'), 47638, 'SRID=4674;POINT (-40.314674 -2.799148)', '2026-07-10 02:51:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314806 -2.799197)'), GeomFromEWKT('SRID=4674;POINT (-40.314674 -2.799148)'))) / (select extract(epoch from '2026-07-10 02:51:50'::timestamp) - extract(epoch from '2026-07-10 02:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314806 -2.799197)'), GeomFromEWKT('SRID=4674;POINT (-40.314674 -2.799148)'))) / (select extract(epoch from '2026-07-10 02:51:50'::timestamp) - extract(epoch from '2026-07-10 02:51: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'), 47638, 'SRID=4674;POINT (-40.314495 -2.799089)', '2026-07-10 02:52:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314674 -2.799148)'), GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.799089)'))) / (select extract(epoch from '2026-07-10 02:52:00'::timestamp) - extract(epoch from '2026-07-10 02:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314674 -2.799148)'), GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.799089)'))) / (select extract(epoch from '2026-07-10 02:52:00'::timestamp) - extract(epoch from '2026-07-10 02:51: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'), 47638, 'SRID=4674;POINT (-40.314351 -2.79905)', '2026-07-10 02:52:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.799089)'), GeomFromEWKT('SRID=4674;POINT (-40.314351 -2.79905)'))) / (select extract(epoch from '2026-07-10 02:52:08'::timestamp) - extract(epoch from '2026-07-10 02:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.799089)'), GeomFromEWKT('SRID=4674;POINT (-40.314351 -2.79905)'))) / (select extract(epoch from '2026-07-10 02:52:08'::timestamp) - extract(epoch from '2026-07-10 02:52: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'), 47638, 'SRID=4674;POINT (-40.314184 -2.79899)', '2026-07-10 02:52:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314351 -2.79905)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.79899)'))) / (select extract(epoch from '2026-07-10 02:52:18'::timestamp) - extract(epoch from '2026-07-10 02:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314351 -2.79905)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.79899)'))) / (select extract(epoch from '2026-07-10 02:52:18'::timestamp) - extract(epoch from '2026-07-10 02:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.314007 -2.798936)', '2026-07-10 02:52:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.79899)'), GeomFromEWKT('SRID=4674;POINT (-40.314007 -2.798936)'))) / (select extract(epoch from '2026-07-10 02:52:28'::timestamp) - extract(epoch from '2026-07-10 02:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.79899)'), GeomFromEWKT('SRID=4674;POINT (-40.314007 -2.798936)'))) / (select extract(epoch from '2026-07-10 02:52:28'::timestamp) - extract(epoch from '2026-07-10 02:52: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'), 47638, 'SRID=4674;POINT (-40.31385 -2.798881)', '2026-07-10 02:52:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314007 -2.798936)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.798881)'))) / (select extract(epoch from '2026-07-10 02:52:37'::timestamp) - extract(epoch from '2026-07-10 02:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314007 -2.798936)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.798881)'))) / (select extract(epoch from '2026-07-10 02:52:37'::timestamp) - extract(epoch from '2026-07-10 02:52: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'), 47638, 'SRID=4674;POINT (-40.313719 -2.798827)', '2026-07-10 02:52:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.798881)'), GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.798827)'))) / (select extract(epoch from '2026-07-10 02:52:45'::timestamp) - extract(epoch from '2026-07-10 02:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.798881)'), GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.798827)'))) / (select extract(epoch from '2026-07-10 02:52:45'::timestamp) - extract(epoch from '2026-07-10 02:52: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'), 47638, 'SRID=4674;POINT (-40.313554 -2.798748)', '2026-07-10 02:52:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.798827)'), GeomFromEWKT('SRID=4674;POINT (-40.313554 -2.798748)'))) / (select extract(epoch from '2026-07-10 02:52:54'::timestamp) - extract(epoch from '2026-07-10 02:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313719 -2.798827)'), GeomFromEWKT('SRID=4674;POINT (-40.313554 -2.798748)'))) / (select extract(epoch from '2026-07-10 02:52:54'::timestamp) - extract(epoch from '2026-07-10 02:52: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'), 47638, 'SRID=4674;POINT (-40.313414 -2.798681)', '2026-07-10 02:53:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313554 -2.798748)'), GeomFromEWKT('SRID=4674;POINT (-40.313414 -2.798681)'))) / (select extract(epoch from '2026-07-10 02:53:02'::timestamp) - extract(epoch from '2026-07-10 02:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313554 -2.798748)'), GeomFromEWKT('SRID=4674;POINT (-40.313414 -2.798681)'))) / (select extract(epoch from '2026-07-10 02:53:02'::timestamp) - extract(epoch from '2026-07-10 02:52: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'), 47638, 'SRID=4674;POINT (-40.313206 -2.798562)', '2026-07-10 02:53:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313414 -2.798681)'), GeomFromEWKT('SRID=4674;POINT (-40.313206 -2.798562)'))) / (select extract(epoch from '2026-07-10 02:53:14'::timestamp) - extract(epoch from '2026-07-10 02:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313414 -2.798681)'), GeomFromEWKT('SRID=4674;POINT (-40.313206 -2.798562)'))) / (select extract(epoch from '2026-07-10 02:53:14'::timestamp) - extract(epoch from '2026-07-10 02:53: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'), 47638, 'SRID=4674;POINT (-40.313013 -2.798448)', '2026-07-10 02:53:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313206 -2.798562)'), GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.798448)'))) / (select extract(epoch from '2026-07-10 02:53:25'::timestamp) - extract(epoch from '2026-07-10 02:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313206 -2.798562)'), GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.798448)'))) / (select extract(epoch from '2026-07-10 02:53:25'::timestamp) - extract(epoch from '2026-07-10 02:53: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'), 47638, 'SRID=4674;POINT (-40.312832 -2.798347)', '2026-07-10 02:53:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.798448)'), GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.798347)'))) / (select extract(epoch from '2026-07-10 02:53:35'::timestamp) - extract(epoch from '2026-07-10 02:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.798448)'), GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.798347)'))) / (select extract(epoch from '2026-07-10 02:53:35'::timestamp) - extract(epoch from '2026-07-10 02:53: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'), 47638, 'SRID=4674;POINT (-40.312689 -2.798264)', '2026-07-10 02:53:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.798347)'), GeomFromEWKT('SRID=4674;POINT (-40.312689 -2.798264)'))) / (select extract(epoch from '2026-07-10 02:53:44'::timestamp) - extract(epoch from '2026-07-10 02:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.798347)'), GeomFromEWKT('SRID=4674;POINT (-40.312689 -2.798264)'))) / (select extract(epoch from '2026-07-10 02:53:44'::timestamp) - extract(epoch from '2026-07-10 02:53: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'), 47638, 'SRID=4674;POINT (-40.312564 -2.798196)', '2026-07-10 02:53:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312689 -2.798264)'), GeomFromEWKT('SRID=4674;POINT (-40.312564 -2.798196)'))) / (select extract(epoch from '2026-07-10 02:53:52'::timestamp) - extract(epoch from '2026-07-10 02:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312689 -2.798264)'), GeomFromEWKT('SRID=4674;POINT (-40.312564 -2.798196)'))) / (select extract(epoch from '2026-07-10 02:53:52'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.312354 -2.798081)', '2026-07-10 02:54:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312564 -2.798196)'), GeomFromEWKT('SRID=4674;POINT (-40.312354 -2.798081)'))) / (select extract(epoch from '2026-07-10 02:54:05'::timestamp) - extract(epoch from '2026-07-10 02:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312564 -2.798196)'), GeomFromEWKT('SRID=4674;POINT (-40.312354 -2.798081)'))) / (select extract(epoch from '2026-07-10 02:54:05'::timestamp) - extract(epoch from '2026-07-10 02:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.312233 -2.798008)', '2026-07-10 02:54:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312354 -2.798081)'), GeomFromEWKT('SRID=4674;POINT (-40.312233 -2.798008)'))) / (select extract(epoch from '2026-07-10 02:54:13'::timestamp) - extract(epoch from '2026-07-10 02:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312354 -2.798081)'), GeomFromEWKT('SRID=4674;POINT (-40.312233 -2.798008)'))) / (select extract(epoch from '2026-07-10 02:54:13'::timestamp) - extract(epoch from '2026-07-10 02:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.312032 -2.797882)', '2026-07-10 02:54:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312233 -2.798008)'), GeomFromEWKT('SRID=4674;POINT (-40.312032 -2.797882)'))) / (select extract(epoch from '2026-07-10 02:54:26'::timestamp) - extract(epoch from '2026-07-10 02:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312233 -2.798008)'), GeomFromEWKT('SRID=4674;POINT (-40.312032 -2.797882)'))) / (select extract(epoch from '2026-07-10 02:54:26'::timestamp) - extract(epoch from '2026-07-10 02:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.311887 -2.797801)', '2026-07-10 02:54:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312032 -2.797882)'), GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.797801)'))) / (select extract(epoch from '2026-07-10 02:54:35'::timestamp) - extract(epoch from '2026-07-10 02:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312032 -2.797882)'), GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.797801)'))) / (select extract(epoch from '2026-07-10 02:54:35'::timestamp) - extract(epoch from '2026-07-10 02:54: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'), 47638, 'SRID=4674;POINT (-40.311746 -2.797713)', '2026-07-10 02:54:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.797801)'), GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.797713)'))) / (select extract(epoch from '2026-07-10 02:54:44'::timestamp) - extract(epoch from '2026-07-10 02:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.797801)'), GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.797713)'))) / (select extract(epoch from '2026-07-10 02:54:44'::timestamp) - extract(epoch from '2026-07-10 02:54: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'), 47638, 'SRID=4674;POINT (-40.311607 -2.797632)', '2026-07-10 02:54:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.797713)'), GeomFromEWKT('SRID=4674;POINT (-40.311607 -2.797632)'))) / (select extract(epoch from '2026-07-10 02:54:53'::timestamp) - extract(epoch from '2026-07-10 02:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.797713)'), GeomFromEWKT('SRID=4674;POINT (-40.311607 -2.797632)'))) / (select extract(epoch from '2026-07-10 02:54:53'::timestamp) - extract(epoch from '2026-07-10 02:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.311465 -2.797539)', '2026-07-10 02:55:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311607 -2.797632)'), GeomFromEWKT('SRID=4674;POINT (-40.311465 -2.797539)'))) / (select extract(epoch from '2026-07-10 02:55:02'::timestamp) - extract(epoch from '2026-07-10 02:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311607 -2.797632)'), GeomFromEWKT('SRID=4674;POINT (-40.311465 -2.797539)'))) / (select extract(epoch from '2026-07-10 02:55:02'::timestamp) - extract(epoch from '2026-07-10 02:54: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'), 47638, 'SRID=4674;POINT (-40.311272 -2.797421)', '2026-07-10 02:55:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311465 -2.797539)'), GeomFromEWKT('SRID=4674;POINT (-40.311272 -2.797421)'))) / (select extract(epoch from '2026-07-10 02:55:14'::timestamp) - extract(epoch from '2026-07-10 02:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311465 -2.797539)'), GeomFromEWKT('SRID=4674;POINT (-40.311272 -2.797421)'))) / (select extract(epoch from '2026-07-10 02:55:14'::timestamp) - extract(epoch from '2026-07-10 02:55: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'), 47638, 'SRID=4674;POINT (-40.311117 -2.797369)', '2026-07-10 02:55:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311272 -2.797421)'), GeomFromEWKT('SRID=4674;POINT (-40.311117 -2.797369)'))) / (select extract(epoch from '2026-07-10 02:55:23'::timestamp) - extract(epoch from '2026-07-10 02:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311272 -2.797421)'), GeomFromEWKT('SRID=4674;POINT (-40.311117 -2.797369)'))) / (select extract(epoch from '2026-07-10 02:55:23'::timestamp) - extract(epoch from '2026-07-10 02:55: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'), 47638, 'SRID=4674;POINT (-40.310973 -2.797297)', '2026-07-10 02:55:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311117 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.310973 -2.797297)'))) / (select extract(epoch from '2026-07-10 02:55:32'::timestamp) - extract(epoch from '2026-07-10 02:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311117 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.310973 -2.797297)'))) / (select extract(epoch from '2026-07-10 02:55:32'::timestamp) - extract(epoch from '2026-07-10 02:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.310859 -2.797238)', '2026-07-10 02:55:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310973 -2.797297)'), GeomFromEWKT('SRID=4674;POINT (-40.310859 -2.797238)'))) / (select extract(epoch from '2026-07-10 02:55:39'::timestamp) - extract(epoch from '2026-07-10 02:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310973 -2.797297)'), GeomFromEWKT('SRID=4674;POINT (-40.310859 -2.797238)'))) / (select extract(epoch from '2026-07-10 02:55:39'::timestamp) - extract(epoch from '2026-07-10 02:55: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'), 47638, 'SRID=4674;POINT (-40.310713 -2.797141)', '2026-07-10 02:55:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310859 -2.797238)'), GeomFromEWKT('SRID=4674;POINT (-40.310713 -2.797141)'))) / (select extract(epoch from '2026-07-10 02:55:49'::timestamp) - extract(epoch from '2026-07-10 02:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310859 -2.797238)'), GeomFromEWKT('SRID=4674;POINT (-40.310713 -2.797141)'))) / (select extract(epoch from '2026-07-10 02:55:49'::timestamp) - extract(epoch from '2026-07-10 02:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.310568 -2.797048)', '2026-07-10 02:55:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310713 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.310568 -2.797048)'))) / (select extract(epoch from '2026-07-10 02:55:59'::timestamp) - extract(epoch from '2026-07-10 02:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310713 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.310568 -2.797048)'))) / (select extract(epoch from '2026-07-10 02:55:59'::timestamp) - extract(epoch from '2026-07-10 02:55: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'), 47638, 'SRID=4674;POINT (-40.310446 -2.796977)', '2026-07-10 02:56:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310568 -2.797048)'), GeomFromEWKT('SRID=4674;POINT (-40.310446 -2.796977)'))) / (select extract(epoch from '2026-07-10 02:56:08'::timestamp) - extract(epoch from '2026-07-10 02:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310568 -2.797048)'), GeomFromEWKT('SRID=4674;POINT (-40.310446 -2.796977)'))) / (select extract(epoch from '2026-07-10 02:56:08'::timestamp) - extract(epoch from '2026-07-10 02:55: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'), 47638, 'SRID=4674;POINT (-40.310302 -2.796899)', '2026-07-10 02:56:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310446 -2.796977)'), GeomFromEWKT('SRID=4674;POINT (-40.310302 -2.796899)'))) / (select extract(epoch from '2026-07-10 02:56:18'::timestamp) - extract(epoch from '2026-07-10 02:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310446 -2.796977)'), GeomFromEWKT('SRID=4674;POINT (-40.310302 -2.796899)'))) / (select extract(epoch from '2026-07-10 02:56:18'::timestamp) - extract(epoch from '2026-07-10 02:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.310143 -2.796813)', '2026-07-10 02:56:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310302 -2.796899)'), GeomFromEWKT('SRID=4674;POINT (-40.310143 -2.796813)'))) / (select extract(epoch from '2026-07-10 02:56:27'::timestamp) - extract(epoch from '2026-07-10 02:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310302 -2.796899)'), GeomFromEWKT('SRID=4674;POINT (-40.310143 -2.796813)'))) / (select extract(epoch from '2026-07-10 02:56:27'::timestamp) - extract(epoch from '2026-07-10 02:56: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'), 47638, 'SRID=4674;POINT (-40.310004 -2.79675)', '2026-07-10 02:56:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310143 -2.796813)'), GeomFromEWKT('SRID=4674;POINT (-40.310004 -2.79675)'))) / (select extract(epoch from '2026-07-10 02:56:35'::timestamp) - extract(epoch from '2026-07-10 02:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310143 -2.796813)'), GeomFromEWKT('SRID=4674;POINT (-40.310004 -2.79675)'))) / (select extract(epoch from '2026-07-10 02:56:35'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.309836 -2.796663)', '2026-07-10 02:56:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310004 -2.79675)'), GeomFromEWKT('SRID=4674;POINT (-40.309836 -2.796663)'))) / (select extract(epoch from '2026-07-10 02:56:46'::timestamp) - extract(epoch from '2026-07-10 02:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310004 -2.79675)'), GeomFromEWKT('SRID=4674;POINT (-40.309836 -2.796663)'))) / (select extract(epoch from '2026-07-10 02:56:46'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.309683 -2.796582)', '2026-07-10 02:56:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309836 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.796582)'))) / (select extract(epoch from '2026-07-10 02:56:56'::timestamp) - extract(epoch from '2026-07-10 02:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309836 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.796582)'))) / (select extract(epoch from '2026-07-10 02:56:56'::timestamp) - extract(epoch from '2026-07-10 02:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.309556 -2.796514)', '2026-07-10 02:57:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.796582)'), GeomFromEWKT('SRID=4674;POINT (-40.309556 -2.796514)'))) / (select extract(epoch from '2026-07-10 02:57:05'::timestamp) - extract(epoch from '2026-07-10 02:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.796582)'), GeomFromEWKT('SRID=4674;POINT (-40.309556 -2.796514)'))) / (select extract(epoch from '2026-07-10 02:57:05'::timestamp) - extract(epoch from '2026-07-10 02:56: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'), 47638, 'SRID=4674;POINT (-40.309402 -2.796464)', '2026-07-10 02:57:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309556 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.309402 -2.796464)'))) / (select extract(epoch from '2026-07-10 02:57:14'::timestamp) - extract(epoch from '2026-07-10 02:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309556 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.309402 -2.796464)'))) / (select extract(epoch from '2026-07-10 02:57:14'::timestamp) - extract(epoch from '2026-07-10 02:57: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'), 47638, 'SRID=4674;POINT (-40.309227 -2.796405)', '2026-07-10 02:57:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309402 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.309227 -2.796405)'))) / (select extract(epoch from '2026-07-10 02:57:24'::timestamp) - extract(epoch from '2026-07-10 02:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309402 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.309227 -2.796405)'))) / (select extract(epoch from '2026-07-10 02:57:24'::timestamp) - extract(epoch from '2026-07-10 02:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.309069 -2.79633)', '2026-07-10 02:57:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309227 -2.796405)'), GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.79633)'))) / (select extract(epoch from '2026-07-10 02:57:34'::timestamp) - extract(epoch from '2026-07-10 02:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309227 -2.796405)'), GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.79633)'))) / (select extract(epoch from '2026-07-10 02:57:34'::timestamp) - extract(epoch from '2026-07-10 02:57: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'), 47638, 'SRID=4674;POINT (-40.308923 -2.796277)', '2026-07-10 02:57:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.79633)'), GeomFromEWKT('SRID=4674;POINT (-40.308923 -2.796277)'))) / (select extract(epoch from '2026-07-10 02:57:42'::timestamp) - extract(epoch from '2026-07-10 02:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.79633)'), GeomFromEWKT('SRID=4674;POINT (-40.308923 -2.796277)'))) / (select extract(epoch from '2026-07-10 02:57:42'::timestamp) - extract(epoch from '2026-07-10 02:57: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'), 47638, 'SRID=4674;POINT (-40.308775 -2.796227)', '2026-07-10 02:57:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308923 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.796227)'))) / (select extract(epoch from '2026-07-10 02:57:51'::timestamp) - extract(epoch from '2026-07-10 02:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308923 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.796227)'))) / (select extract(epoch from '2026-07-10 02:57:51'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.308637 -2.796174)', '2026-07-10 02:57:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.796227)'), GeomFromEWKT('SRID=4674;POINT (-40.308637 -2.796174)'))) / (select extract(epoch from '2026-07-10 02:57:59'::timestamp) - extract(epoch from '2026-07-10 02:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.796227)'), GeomFromEWKT('SRID=4674;POINT (-40.308637 -2.796174)'))) / (select extract(epoch from '2026-07-10 02:57:59'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47638, 'SRID=4674;POINT (-40.308457 -2.796118)', '2026-07-10 02:58:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308637 -2.796174)'), GeomFromEWKT('SRID=4674;POINT (-40.308457 -2.796118)'))) / (select extract(epoch from '2026-07-10 02:58:09'::timestamp) - extract(epoch from '2026-07-10 02:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308637 -2.796174)'), GeomFromEWKT('SRID=4674;POINT (-40.308457 -2.796118)'))) / (select extract(epoch from '2026-07-10 02:58:09'::timestamp) - extract(epoch from '2026-07-10 02:57: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'), 47638, 'SRID=4674;POINT (-40.3083 -2.796059)', '2026-07-10 02:58:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308457 -2.796118)'), GeomFromEWKT('SRID=4674;POINT (-40.3083 -2.796059)'))) / (select extract(epoch from '2026-07-10 02:58:18'::timestamp) - extract(epoch from '2026-07-10 02:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308457 -2.796118)'), GeomFromEWKT('SRID=4674;POINT (-40.3083 -2.796059)'))) / (select extract(epoch from '2026-07-10 02:58:18'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47638, 'SRID=4674;POINT (-40.308149 -2.796014)', '2026-07-10 02:58:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3083 -2.796059)'), GeomFromEWKT('SRID=4674;POINT (-40.308149 -2.796014)'))) / (select extract(epoch from '2026-07-10 02:58:27'::timestamp) - extract(epoch from '2026-07-10 02:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3083 -2.796059)'), GeomFromEWKT('SRID=4674;POINT (-40.308149 -2.796014)'))) / (select extract(epoch from '2026-07-10 02:58:27'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47638, 'SRID=4674;POINT (-40.307988 -2.795972)', '2026-07-10 02:58:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308149 -2.796014)'), GeomFromEWKT('SRID=4674;POINT (-40.307988 -2.795972)'))) / (select extract(epoch from '2026-07-10 02:58:36'::timestamp) - extract(epoch from '2026-07-10 02:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308149 -2.796014)'), GeomFromEWKT('SRID=4674;POINT (-40.307988 -2.795972)'))) / (select extract(epoch from '2026-07-10 02:58:36'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47638, 'SRID=4674;POINT (-40.307866 -2.795925)', '2026-07-10 02:58:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307988 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.307866 -2.795925)'))) / (select extract(epoch from '2026-07-10 02:58:44'::timestamp) - extract(epoch from '2026-07-10 02:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307988 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.307866 -2.795925)'))) / (select extract(epoch from '2026-07-10 02:58:44'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47638, 'SRID=4674;POINT (-40.30768 -2.795855)', '2026-07-10 02:58:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307866 -2.795925)'), GeomFromEWKT('SRID=4674;POINT (-40.30768 -2.795855)'))) / (select extract(epoch from '2026-07-10 02:58:55'::timestamp) - extract(epoch from '2026-07-10 02:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307866 -2.795925)'), GeomFromEWKT('SRID=4674;POINT (-40.30768 -2.795855)'))) / (select extract(epoch from '2026-07-10 02:58:55'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47638, 'SRID=4674;POINT (-40.30753 -2.795794)', '2026-07-10 02:59:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30768 -2.795855)'), GeomFromEWKT('SRID=4674;POINT (-40.30753 -2.795794)'))) / (select extract(epoch from '2026-07-10 02:59:04'::timestamp) - extract(epoch from '2026-07-10 02:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30768 -2.795855)'), GeomFromEWKT('SRID=4674;POINT (-40.30753 -2.795794)'))) / (select extract(epoch from '2026-07-10 02:59:04'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47638, 'SRID=4674;POINT (-40.307382 -2.795744)', '2026-07-10 02:59:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30753 -2.795794)'), GeomFromEWKT('SRID=4674;POINT (-40.307382 -2.795744)'))) / (select extract(epoch from '2026-07-10 02:59:13'::timestamp) - extract(epoch from '2026-07-10 02:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30753 -2.795794)'), GeomFromEWKT('SRID=4674;POINT (-40.307382 -2.795744)'))) / (select extract(epoch from '2026-07-10 02:59:13'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47638, 'SRID=4674;POINT (-40.307232 -2.7957)', '2026-07-10 02:59:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307382 -2.795744)'), GeomFromEWKT('SRID=4674;POINT (-40.307232 -2.7957)'))) / (select extract(epoch from '2026-07-10 02:59:22'::timestamp) - extract(epoch from '2026-07-10 02:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307382 -2.795744)'), GeomFromEWKT('SRID=4674;POINT (-40.307232 -2.7957)'))) / (select extract(epoch from '2026-07-10 02:59:22'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47638, 'SRID=4674;POINT (-40.30704 -2.79563)', '2026-07-10 02:59:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307232 -2.7957)'), GeomFromEWKT('SRID=4674;POINT (-40.30704 -2.79563)'))) / (select extract(epoch from '2026-07-10 02:59:33'::timestamp) - extract(epoch from '2026-07-10 02:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307232 -2.7957)'), GeomFromEWKT('SRID=4674;POINT (-40.30704 -2.79563)'))) / (select extract(epoch from '2026-07-10 02:59:33'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47638, 'SRID=4674;POINT (-40.306877 -2.795581)', '2026-07-10 02:59:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30704 -2.79563)'), GeomFromEWKT('SRID=4674;POINT (-40.306877 -2.795581)'))) / (select extract(epoch from '2026-07-10 02:59:42'::timestamp) - extract(epoch from '2026-07-10 02:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30704 -2.79563)'), GeomFromEWKT('SRID=4674;POINT (-40.306877 -2.795581)'))) / (select extract(epoch from '2026-07-10 02:59:42'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47638, 'SRID=4674;POINT (-40.306688 -2.79552)', '2026-07-10 02:59:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306877 -2.795581)'), GeomFromEWKT('SRID=4674;POINT (-40.306688 -2.79552)'))) / (select extract(epoch from '2026-07-10 02:59:53'::timestamp) - extract(epoch from '2026-07-10 02:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306877 -2.795581)'), GeomFromEWKT('SRID=4674;POINT (-40.306688 -2.79552)'))) / (select extract(epoch from '2026-07-10 02:59:53'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47638, 'SRID=4674;POINT (-40.306519 -2.79545)', '2026-07-10 03:00:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306688 -2.79552)'), GeomFromEWKT('SRID=4674;POINT (-40.306519 -2.79545)'))) / (select extract(epoch from '2026-07-10 03:00:03'::timestamp) - extract(epoch from '2026-07-10 02:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306688 -2.79552)'), GeomFromEWKT('SRID=4674;POINT (-40.306519 -2.79545)'))) / (select extract(epoch from '2026-07-10 03:00:03'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47638, 'SRID=4674;POINT (-40.306342 -2.7954)', '2026-07-10 03:00:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306519 -2.79545)'), GeomFromEWKT('SRID=4674;POINT (-40.306342 -2.7954)'))) / (select extract(epoch from '2026-07-10 03:00:13'::timestamp) - extract(epoch from '2026-07-10 03:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306519 -2.79545)'), GeomFromEWKT('SRID=4674;POINT (-40.306342 -2.7954)'))) / (select extract(epoch from '2026-07-10 03:00:13'::timestamp) - extract(epoch from '2026-07-10 03:00: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'), 47638, 'SRID=4674;POINT (-40.3062 -2.79534)', '2026-07-10 03:00:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306342 -2.7954)'), GeomFromEWKT('SRID=4674;POINT (-40.3062 -2.79534)'))) / (select extract(epoch from '2026-07-10 03:00:22'::timestamp) - extract(epoch from '2026-07-10 03:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306342 -2.7954)'), GeomFromEWKT('SRID=4674;POINT (-40.3062 -2.79534)'))) / (select extract(epoch from '2026-07-10 03:00:22'::timestamp) - extract(epoch from '2026-07-10 03:00: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'), 47638, 'SRID=4674;POINT (-40.306025 -2.795275)', '2026-07-10 03:00:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3062 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.306025 -2.795275)'))) / (select extract(epoch from '2026-07-10 03:00:33'::timestamp) - extract(epoch from '2026-07-10 03:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3062 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.306025 -2.795275)'))) / (select extract(epoch from '2026-07-10 03:00:33'::timestamp) - extract(epoch from '2026-07-10 03:00: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'), 47638, 'SRID=4674;POINT (-40.305857 -2.795211)', '2026-07-10 03:00:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306025 -2.795275)'), GeomFromEWKT('SRID=4674;POINT (-40.305857 -2.795211)'))) / (select extract(epoch from '2026-07-10 03:00:43'::timestamp) - extract(epoch from '2026-07-10 03:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306025 -2.795275)'), GeomFromEWKT('SRID=4674;POINT (-40.305857 -2.795211)'))) / (select extract(epoch from '2026-07-10 03:00:43'::timestamp) - extract(epoch from '2026-07-10 03:00: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'), 47638, 'SRID=4674;POINT (-40.305716 -2.795165)', '2026-07-10 03:00:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305857 -2.795211)'), GeomFromEWKT('SRID=4674;POINT (-40.305716 -2.795165)'))) / (select extract(epoch from '2026-07-10 03:00:51'::timestamp) - extract(epoch from '2026-07-10 03:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305857 -2.795211)'), GeomFromEWKT('SRID=4674;POINT (-40.305716 -2.795165)'))) / (select extract(epoch from '2026-07-10 03:00:51'::timestamp) - extract(epoch from '2026-07-10 03:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.305553 -2.795111)', '2026-07-10 03:01:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305716 -2.795165)'), GeomFromEWKT('SRID=4674;POINT (-40.305553 -2.795111)'))) / (select extract(epoch from '2026-07-10 03:01:00'::timestamp) - extract(epoch from '2026-07-10 03:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305716 -2.795165)'), GeomFromEWKT('SRID=4674;POINT (-40.305553 -2.795111)'))) / (select extract(epoch from '2026-07-10 03:01:00'::timestamp) - extract(epoch from '2026-07-10 03:00: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'), 47638, 'SRID=4674;POINT (-40.305368 -2.79504)', '2026-07-10 03:01:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305553 -2.795111)'), GeomFromEWKT('SRID=4674;POINT (-40.305368 -2.79504)'))) / (select extract(epoch from '2026-07-10 03:01:11'::timestamp) - extract(epoch from '2026-07-10 03:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305553 -2.795111)'), GeomFromEWKT('SRID=4674;POINT (-40.305368 -2.79504)'))) / (select extract(epoch from '2026-07-10 03:01:11'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47638, 'SRID=4674;POINT (-40.305238 -2.794998)', '2026-07-10 03:01:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305368 -2.79504)'), GeomFromEWKT('SRID=4674;POINT (-40.305238 -2.794998)'))) / (select extract(epoch from '2026-07-10 03:01:19'::timestamp) - extract(epoch from '2026-07-10 03:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305368 -2.79504)'), GeomFromEWKT('SRID=4674;POINT (-40.305238 -2.794998)'))) / (select extract(epoch from '2026-07-10 03:01:19'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47638, 'SRID=4674;POINT (-40.305053 -2.794935)', '2026-07-10 03:01:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305238 -2.794998)'), GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.794935)'))) / (select extract(epoch from '2026-07-10 03:01:30'::timestamp) - extract(epoch from '2026-07-10 03:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305238 -2.794998)'), GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.794935)'))) / (select extract(epoch from '2026-07-10 03:01:30'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47638, 'SRID=4674;POINT (-40.304862 -2.794874)', '2026-07-10 03:01:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.794935)'), GeomFromEWKT('SRID=4674;POINT (-40.304862 -2.794874)'))) / (select extract(epoch from '2026-07-10 03:01:41'::timestamp) - extract(epoch from '2026-07-10 03:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.794935)'), GeomFromEWKT('SRID=4674;POINT (-40.304862 -2.794874)'))) / (select extract(epoch from '2026-07-10 03:01:41'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47638, 'SRID=4674;POINT (-40.304687 -2.794827)', '2026-07-10 03:01:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304862 -2.794874)'), GeomFromEWKT('SRID=4674;POINT (-40.304687 -2.794827)'))) / (select extract(epoch from '2026-07-10 03:01:51'::timestamp) - extract(epoch from '2026-07-10 03:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304862 -2.794874)'), GeomFromEWKT('SRID=4674;POINT (-40.304687 -2.794827)'))) / (select extract(epoch from '2026-07-10 03:01:51'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47638, 'SRID=4674;POINT (-40.304563 -2.794789)', '2026-07-10 03:01:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304687 -2.794827)'), GeomFromEWKT('SRID=4674;POINT (-40.304563 -2.794789)'))) / (select extract(epoch from '2026-07-10 03:01:59'::timestamp) - extract(epoch from '2026-07-10 03:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304687 -2.794827)'), GeomFromEWKT('SRID=4674;POINT (-40.304563 -2.794789)'))) / (select extract(epoch from '2026-07-10 03:01:59'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47638, 'SRID=4674;POINT (-40.304365 -2.794736)', '2026-07-10 03:02:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304563 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.304365 -2.794736)'))) / (select extract(epoch from '2026-07-10 03:02:10'::timestamp) - extract(epoch from '2026-07-10 03:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304563 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.304365 -2.794736)'))) / (select extract(epoch from '2026-07-10 03:02:10'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.304157 -2.794678)', '2026-07-10 03:02:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304365 -2.794736)'), GeomFromEWKT('SRID=4674;POINT (-40.304157 -2.794678)'))) / (select extract(epoch from '2026-07-10 03:02:22'::timestamp) - extract(epoch from '2026-07-10 03:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304365 -2.794736)'), GeomFromEWKT('SRID=4674;POINT (-40.304157 -2.794678)'))) / (select extract(epoch from '2026-07-10 03:02:22'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47638, 'SRID=4674;POINT (-40.304002 -2.794646)', '2026-07-10 03:02:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304157 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.304002 -2.794646)'))) / (select extract(epoch from '2026-07-10 03:02:32'::timestamp) - extract(epoch from '2026-07-10 03:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304157 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.304002 -2.794646)'))) / (select extract(epoch from '2026-07-10 03:02:32'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47638, 'SRID=4674;POINT (-40.303836 -2.794624)', '2026-07-10 03:02:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304002 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.303836 -2.794624)'))) / (select extract(epoch from '2026-07-10 03:02:42'::timestamp) - extract(epoch from '2026-07-10 03:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304002 -2.794646)'), GeomFromEWKT('SRID=4674;POINT (-40.303836 -2.794624)'))) / (select extract(epoch from '2026-07-10 03:02:42'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47638, 'SRID=4674;POINT (-40.303702 -2.794614)', '2026-07-10 03:02:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303836 -2.794624)'), GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.794614)'))) / (select extract(epoch from '2026-07-10 03:02:51'::timestamp) - extract(epoch from '2026-07-10 03:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303836 -2.794624)'), GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.794614)'))) / (select extract(epoch from '2026-07-10 03:02:51'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47638, 'SRID=4674;POINT (-40.30355 -2.794594)', '2026-07-10 03:03:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.794614)'), GeomFromEWKT('SRID=4674;POINT (-40.30355 -2.794594)'))) / (select extract(epoch from '2026-07-10 03:03:02'::timestamp) - extract(epoch from '2026-07-10 03:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.794614)'), GeomFromEWKT('SRID=4674;POINT (-40.30355 -2.794594)'))) / (select extract(epoch from '2026-07-10 03:03:02'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47638, 'SRID=4674;POINT (-40.30337 -2.794556)', '2026-07-10 03:03:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30355 -2.794594)'), GeomFromEWKT('SRID=4674;POINT (-40.30337 -2.794556)'))) / (select extract(epoch from '2026-07-10 03:03:14'::timestamp) - extract(epoch from '2026-07-10 03:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30355 -2.794594)'), GeomFromEWKT('SRID=4674;POINT (-40.30337 -2.794556)'))) / (select extract(epoch from '2026-07-10 03:03:14'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47638, 'SRID=4674;POINT (-40.303222 -2.794507)', '2026-07-10 03:03:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30337 -2.794556)'), GeomFromEWKT('SRID=4674;POINT (-40.303222 -2.794507)'))) / (select extract(epoch from '2026-07-10 03:03:23'::timestamp) - extract(epoch from '2026-07-10 03:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30337 -2.794556)'), GeomFromEWKT('SRID=4674;POINT (-40.303222 -2.794507)'))) / (select extract(epoch from '2026-07-10 03:03:23'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47638, 'SRID=4674;POINT (-40.303075 -2.794484)', '2026-07-10 03:03:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303222 -2.794507)'), GeomFromEWKT('SRID=4674;POINT (-40.303075 -2.794484)'))) / (select extract(epoch from '2026-07-10 03:03:32'::timestamp) - extract(epoch from '2026-07-10 03:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303222 -2.794507)'), GeomFromEWKT('SRID=4674;POINT (-40.303075 -2.794484)'))) / (select extract(epoch from '2026-07-10 03:03:32'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47638, 'SRID=4674;POINT (-40.302919 -2.794444)', '2026-07-10 03:03:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303075 -2.794484)'), GeomFromEWKT('SRID=4674;POINT (-40.302919 -2.794444)'))) / (select extract(epoch from '2026-07-10 03:03:42'::timestamp) - extract(epoch from '2026-07-10 03:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303075 -2.794484)'), GeomFromEWKT('SRID=4674;POINT (-40.302919 -2.794444)'))) / (select extract(epoch from '2026-07-10 03:03:42'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47638, 'SRID=4674;POINT (-40.30279 -2.794413)', '2026-07-10 03:03:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302919 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.30279 -2.794413)'))) / (select extract(epoch from '2026-07-10 03:03:50'::timestamp) - extract(epoch from '2026-07-10 03:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302919 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.30279 -2.794413)'))) / (select extract(epoch from '2026-07-10 03:03:50'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.302622 -2.794356)', '2026-07-10 03:04:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30279 -2.794413)'), GeomFromEWKT('SRID=4674;POINT (-40.302622 -2.794356)'))) / (select extract(epoch from '2026-07-10 03:04:00'::timestamp) - extract(epoch from '2026-07-10 03:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30279 -2.794413)'), GeomFromEWKT('SRID=4674;POINT (-40.302622 -2.794356)'))) / (select extract(epoch from '2026-07-10 03:04:00'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47638, 'SRID=4674;POINT (-40.302488 -2.794299)', '2026-07-10 03:04:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302622 -2.794356)'), GeomFromEWKT('SRID=4674;POINT (-40.302488 -2.794299)'))) / (select extract(epoch from '2026-07-10 03:04:08'::timestamp) - extract(epoch from '2026-07-10 03:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302622 -2.794356)'), GeomFromEWKT('SRID=4674;POINT (-40.302488 -2.794299)'))) / (select extract(epoch from '2026-07-10 03:04:08'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47638, 'SRID=4674;POINT (-40.30234 -2.794245)', '2026-07-10 03:04:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302488 -2.794299)'), GeomFromEWKT('SRID=4674;POINT (-40.30234 -2.794245)'))) / (select extract(epoch from '2026-07-10 03:04:17'::timestamp) - extract(epoch from '2026-07-10 03:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302488 -2.794299)'), GeomFromEWKT('SRID=4674;POINT (-40.30234 -2.794245)'))) / (select extract(epoch from '2026-07-10 03:04:17'::timestamp) - extract(epoch from '2026-07-10 03:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.302222 -2.794213)', '2026-07-10 03:04:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30234 -2.794245)'), GeomFromEWKT('SRID=4674;POINT (-40.302222 -2.794213)'))) / (select extract(epoch from '2026-07-10 03:04:24'::timestamp) - extract(epoch from '2026-07-10 03:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30234 -2.794245)'), GeomFromEWKT('SRID=4674;POINT (-40.302222 -2.794213)'))) / (select extract(epoch from '2026-07-10 03:04:24'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47638, 'SRID=4674;POINT (-40.302095 -2.794179)', '2026-07-10 03:04:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302222 -2.794213)'), GeomFromEWKT('SRID=4674;POINT (-40.302095 -2.794179)'))) / (select extract(epoch from '2026-07-10 03:04:32'::timestamp) - extract(epoch from '2026-07-10 03:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302222 -2.794213)'), GeomFromEWKT('SRID=4674;POINT (-40.302095 -2.794179)'))) / (select extract(epoch from '2026-07-10 03:04:32'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47638, 'SRID=4674;POINT (-40.301957 -2.794135)', '2026-07-10 03:04:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302095 -2.794179)'), GeomFromEWKT('SRID=4674;POINT (-40.301957 -2.794135)'))) / (select extract(epoch from '2026-07-10 03:04:41'::timestamp) - extract(epoch from '2026-07-10 03:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302095 -2.794179)'), GeomFromEWKT('SRID=4674;POINT (-40.301957 -2.794135)'))) / (select extract(epoch from '2026-07-10 03:04:41'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47638, 'SRID=4674;POINT (-40.301792 -2.794093)', '2026-07-10 03:04:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301957 -2.794135)'), GeomFromEWKT('SRID=4674;POINT (-40.301792 -2.794093)'))) / (select extract(epoch from '2026-07-10 03:04:51'::timestamp) - extract(epoch from '2026-07-10 03:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301957 -2.794135)'), GeomFromEWKT('SRID=4674;POINT (-40.301792 -2.794093)'))) / (select extract(epoch from '2026-07-10 03:04:51'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47638, 'SRID=4674;POINT (-40.301637 -2.79402)', '2026-07-10 03:05:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301792 -2.794093)'), GeomFromEWKT('SRID=4674;POINT (-40.301637 -2.79402)'))) / (select extract(epoch from '2026-07-10 03:05:01'::timestamp) - extract(epoch from '2026-07-10 03:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301792 -2.794093)'), GeomFromEWKT('SRID=4674;POINT (-40.301637 -2.79402)'))) / (select extract(epoch from '2026-07-10 03:05:01'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.301513 -2.793987)', '2026-07-10 03:05:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301637 -2.79402)'), GeomFromEWKT('SRID=4674;POINT (-40.301513 -2.793987)'))) / (select extract(epoch from '2026-07-10 03:05:09'::timestamp) - extract(epoch from '2026-07-10 03:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301637 -2.79402)'), GeomFromEWKT('SRID=4674;POINT (-40.301513 -2.793987)'))) / (select extract(epoch from '2026-07-10 03:05:09'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.301353 -2.79395)', '2026-07-10 03:05:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301513 -2.793987)'), GeomFromEWKT('SRID=4674;POINT (-40.301353 -2.79395)'))) / (select extract(epoch from '2026-07-10 03:05:19'::timestamp) - extract(epoch from '2026-07-10 03:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301513 -2.793987)'), GeomFromEWKT('SRID=4674;POINT (-40.301353 -2.79395)'))) / (select extract(epoch from '2026-07-10 03:05:19'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.301223 -2.793922)', '2026-07-10 03:05:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301353 -2.79395)'), GeomFromEWKT('SRID=4674;POINT (-40.301223 -2.793922)'))) / (select extract(epoch from '2026-07-10 03:05:27'::timestamp) - extract(epoch from '2026-07-10 03:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301353 -2.79395)'), GeomFromEWKT('SRID=4674;POINT (-40.301223 -2.793922)'))) / (select extract(epoch from '2026-07-10 03:05:27'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.301107 -2.793897)', '2026-07-10 03:05:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301223 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.301107 -2.793897)'))) / (select extract(epoch from '2026-07-10 03:05:34'::timestamp) - extract(epoch from '2026-07-10 03:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301223 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.301107 -2.793897)'))) / (select extract(epoch from '2026-07-10 03:05:34'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.300942 -2.793865)', '2026-07-10 03:05:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301107 -2.793897)'), GeomFromEWKT('SRID=4674;POINT (-40.300942 -2.793865)'))) / (select extract(epoch from '2026-07-10 03:05:44'::timestamp) - extract(epoch from '2026-07-10 03:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301107 -2.793897)'), GeomFromEWKT('SRID=4674;POINT (-40.300942 -2.793865)'))) / (select extract(epoch from '2026-07-10 03:05:44'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.300819 -2.793854)', '2026-07-10 03:05:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300942 -2.793865)'), GeomFromEWKT('SRID=4674;POINT (-40.300819 -2.793854)'))) / (select extract(epoch from '2026-07-10 03:05:51'::timestamp) - extract(epoch from '2026-07-10 03:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300942 -2.793865)'), GeomFromEWKT('SRID=4674;POINT (-40.300819 -2.793854)'))) / (select extract(epoch from '2026-07-10 03:05:51'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.300679 -2.793838)', '2026-07-10 03:05:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300819 -2.793854)'), GeomFromEWKT('SRID=4674;POINT (-40.300679 -2.793838)'))) / (select extract(epoch from '2026-07-10 03:05:59'::timestamp) - extract(epoch from '2026-07-10 03:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300819 -2.793854)'), GeomFromEWKT('SRID=4674;POINT (-40.300679 -2.793838)'))) / (select extract(epoch from '2026-07-10 03:05:59'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.300545 -2.7938)', '2026-07-10 03:06:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300679 -2.793838)'), GeomFromEWKT('SRID=4674;POINT (-40.300545 -2.7938)'))) / (select extract(epoch from '2026-07-10 03:06:07'::timestamp) - extract(epoch from '2026-07-10 03:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300679 -2.793838)'), GeomFromEWKT('SRID=4674;POINT (-40.300545 -2.7938)'))) / (select extract(epoch from '2026-07-10 03:06:07'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47638, 'SRID=4674;POINT (-40.3004 -2.793744)', '2026-07-10 03:06:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300545 -2.7938)'), GeomFromEWKT('SRID=4674;POINT (-40.3004 -2.793744)'))) / (select extract(epoch from '2026-07-10 03:06:16'::timestamp) - extract(epoch from '2026-07-10 03:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300545 -2.7938)'), GeomFromEWKT('SRID=4674;POINT (-40.3004 -2.793744)'))) / (select extract(epoch from '2026-07-10 03:06:16'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47638, 'SRID=4674;POINT (-40.300259 -2.793721)', '2026-07-10 03:06:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3004 -2.793744)'), GeomFromEWKT('SRID=4674;POINT (-40.300259 -2.793721)'))) / (select extract(epoch from '2026-07-10 03:06:25'::timestamp) - extract(epoch from '2026-07-10 03:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3004 -2.793744)'), GeomFromEWKT('SRID=4674;POINT (-40.300259 -2.793721)'))) / (select extract(epoch from '2026-07-10 03:06:25'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47638, 'SRID=4674;POINT (-40.300129 -2.793715)', '2026-07-10 03:06:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300259 -2.793721)'), GeomFromEWKT('SRID=4674;POINT (-40.300129 -2.793715)'))) / (select extract(epoch from '2026-07-10 03:06:33'::timestamp) - extract(epoch from '2026-07-10 03:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300259 -2.793721)'), GeomFromEWKT('SRID=4674;POINT (-40.300129 -2.793715)'))) / (select extract(epoch from '2026-07-10 03:06:33'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47638, 'SRID=4674;POINT (-40.300007 -2.793709)', '2026-07-10 03:06:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300129 -2.793715)'), GeomFromEWKT('SRID=4674;POINT (-40.300007 -2.793709)'))) / (select extract(epoch from '2026-07-10 03:06:40'::timestamp) - extract(epoch from '2026-07-10 03:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300129 -2.793715)'), GeomFromEWKT('SRID=4674;POINT (-40.300007 -2.793709)'))) / (select extract(epoch from '2026-07-10 03:06:40'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.299828 -2.793705)', '2026-07-10 03:06:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300007 -2.793709)'), GeomFromEWKT('SRID=4674;POINT (-40.299828 -2.793705)'))) / (select extract(epoch from '2026-07-10 03:06:50'::timestamp) - extract(epoch from '2026-07-10 03:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300007 -2.793709)'), GeomFromEWKT('SRID=4674;POINT (-40.299828 -2.793705)'))) / (select extract(epoch from '2026-07-10 03:06:50'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47638, 'SRID=4674;POINT (-40.299673 -2.793714)', '2026-07-10 03:06:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299828 -2.793705)'), GeomFromEWKT('SRID=4674;POINT (-40.299673 -2.793714)'))) / (select extract(epoch from '2026-07-10 03:06:59'::timestamp) - extract(epoch from '2026-07-10 03:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299828 -2.793705)'), GeomFromEWKT('SRID=4674;POINT (-40.299673 -2.793714)'))) / (select extract(epoch from '2026-07-10 03:06:59'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47638, 'SRID=4674;POINT (-40.299488 -2.793708)', '2026-07-10 03:07:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299673 -2.793714)'), GeomFromEWKT('SRID=4674;POINT (-40.299488 -2.793708)'))) / (select extract(epoch from '2026-07-10 03:07:10'::timestamp) - extract(epoch from '2026-07-10 03:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299673 -2.793714)'), GeomFromEWKT('SRID=4674;POINT (-40.299488 -2.793708)'))) / (select extract(epoch from '2026-07-10 03:07:10'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.299323 -2.793684)', '2026-07-10 03:07:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299488 -2.793708)'), GeomFromEWKT('SRID=4674;POINT (-40.299323 -2.793684)'))) / (select extract(epoch from '2026-07-10 03:07:20'::timestamp) - extract(epoch from '2026-07-10 03:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299488 -2.793708)'), GeomFromEWKT('SRID=4674;POINT (-40.299323 -2.793684)'))) / (select extract(epoch from '2026-07-10 03:07:20'::timestamp) - extract(epoch from '2026-07-10 03:07: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'), 47638, 'SRID=4674;POINT (-40.299165 -2.793645)', '2026-07-10 03:07:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299323 -2.793684)'), GeomFromEWKT('SRID=4674;POINT (-40.299165 -2.793645)'))) / (select extract(epoch from '2026-07-10 03:07:29'::timestamp) - extract(epoch from '2026-07-10 03:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299323 -2.793684)'), GeomFromEWKT('SRID=4674;POINT (-40.299165 -2.793645)'))) / (select extract(epoch from '2026-07-10 03:07:29'::timestamp) - extract(epoch from '2026-07-10 03:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.299069 -2.793625)', '2026-07-10 03:07:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299165 -2.793645)'), GeomFromEWKT('SRID=4674;POINT (-40.299069 -2.793625)'))) / (select extract(epoch from '2026-07-10 03:07:35'::timestamp) - extract(epoch from '2026-07-10 03:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299165 -2.793645)'), GeomFromEWKT('SRID=4674;POINT (-40.299069 -2.793625)'))) / (select extract(epoch from '2026-07-10 03:07:35'::timestamp) - extract(epoch from '2026-07-10 03:07: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'), 47638, 'SRID=4674;POINT (-40.29888 -2.793597)', '2026-07-10 03:07:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299069 -2.793625)'), GeomFromEWKT('SRID=4674;POINT (-40.29888 -2.793597)'))) / (select extract(epoch from '2026-07-10 03:07:46'::timestamp) - extract(epoch from '2026-07-10 03:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299069 -2.793625)'), GeomFromEWKT('SRID=4674;POINT (-40.29888 -2.793597)'))) / (select extract(epoch from '2026-07-10 03:07:46'::timestamp) - extract(epoch from '2026-07-10 03:07: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'), 47638, 'SRID=4674;POINT (-40.2987 -2.793558)', '2026-07-10 03:07:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29888 -2.793597)'), GeomFromEWKT('SRID=4674;POINT (-40.2987 -2.793558)'))) / (select extract(epoch from '2026-07-10 03:07:56'::timestamp) - extract(epoch from '2026-07-10 03:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29888 -2.793597)'), GeomFromEWKT('SRID=4674;POINT (-40.2987 -2.793558)'))) / (select extract(epoch from '2026-07-10 03:07:56'::timestamp) - extract(epoch from '2026-07-10 03:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.298547 -2.793533)', '2026-07-10 03:08:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2987 -2.793558)'), GeomFromEWKT('SRID=4674;POINT (-40.298547 -2.793533)'))) / (select extract(epoch from '2026-07-10 03:08:05'::timestamp) - extract(epoch from '2026-07-10 03:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2987 -2.793558)'), GeomFromEWKT('SRID=4674;POINT (-40.298547 -2.793533)'))) / (select extract(epoch from '2026-07-10 03:08:05'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.298373 -2.793525)', '2026-07-10 03:08:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298547 -2.793533)'), GeomFromEWKT('SRID=4674;POINT (-40.298373 -2.793525)'))) / (select extract(epoch from '2026-07-10 03:08:15'::timestamp) - extract(epoch from '2026-07-10 03:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298547 -2.793533)'), GeomFromEWKT('SRID=4674;POINT (-40.298373 -2.793525)'))) / (select extract(epoch from '2026-07-10 03:08:15'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47638, 'SRID=4674;POINT (-40.298248 -2.793519)', '2026-07-10 03:08:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298373 -2.793525)'), GeomFromEWKT('SRID=4674;POINT (-40.298248 -2.793519)'))) / (select extract(epoch from '2026-07-10 03:08:22'::timestamp) - extract(epoch from '2026-07-10 03:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298373 -2.793525)'), GeomFromEWKT('SRID=4674;POINT (-40.298248 -2.793519)'))) / (select extract(epoch from '2026-07-10 03:08:22'::timestamp) - extract(epoch from '2026-07-10 03:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.298072 -2.793512)', '2026-07-10 03:08:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298248 -2.793519)'), GeomFromEWKT('SRID=4674;POINT (-40.298072 -2.793512)'))) / (select extract(epoch from '2026-07-10 03:08:32'::timestamp) - extract(epoch from '2026-07-10 03:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298248 -2.793519)'), GeomFromEWKT('SRID=4674;POINT (-40.298072 -2.793512)'))) / (select extract(epoch from '2026-07-10 03:08:32'::timestamp) - extract(epoch from '2026-07-10 03:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.297931 -2.793497)', '2026-07-10 03:08:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298072 -2.793512)'), GeomFromEWKT('SRID=4674;POINT (-40.297931 -2.793497)'))) / (select extract(epoch from '2026-07-10 03:08:40'::timestamp) - extract(epoch from '2026-07-10 03:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298072 -2.793512)'), GeomFromEWKT('SRID=4674;POINT (-40.297931 -2.793497)'))) / (select extract(epoch from '2026-07-10 03:08:40'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47638, 'SRID=4674;POINT (-40.297772 -2.79349)', '2026-07-10 03:08:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297931 -2.793497)'), GeomFromEWKT('SRID=4674;POINT (-40.297772 -2.79349)'))) / (select extract(epoch from '2026-07-10 03:08:49'::timestamp) - extract(epoch from '2026-07-10 03:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297931 -2.793497)'), GeomFromEWKT('SRID=4674;POINT (-40.297772 -2.79349)'))) / (select extract(epoch from '2026-07-10 03:08:49'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47638, 'SRID=4674;POINT (-40.2976 -2.79349)', '2026-07-10 03:08:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297772 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.2976 -2.79349)'))) / (select extract(epoch from '2026-07-10 03:08:59'::timestamp) - extract(epoch from '2026-07-10 03:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297772 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.2976 -2.79349)'))) / (select extract(epoch from '2026-07-10 03:08:59'::timestamp) - extract(epoch from '2026-07-10 03:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.297445 -2.793482)', '2026-07-10 03:09:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2976 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.297445 -2.793482)'))) / (select extract(epoch from '2026-07-10 03:09:08'::timestamp) - extract(epoch from '2026-07-10 03:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2976 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.297445 -2.793482)'))) / (select extract(epoch from '2026-07-10 03:09:08'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47638, 'SRID=4674;POINT (-40.297295 -2.793476)', '2026-07-10 03:09:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297445 -2.793482)'), GeomFromEWKT('SRID=4674;POINT (-40.297295 -2.793476)'))) / (select extract(epoch from '2026-07-10 03:09:17'::timestamp) - extract(epoch from '2026-07-10 03:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297445 -2.793482)'), GeomFromEWKT('SRID=4674;POINT (-40.297295 -2.793476)'))) / (select extract(epoch from '2026-07-10 03:09:17'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47638, 'SRID=4674;POINT (-40.297168 -2.793455)', '2026-07-10 03:09:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297295 -2.793476)'), GeomFromEWKT('SRID=4674;POINT (-40.297168 -2.793455)'))) / (select extract(epoch from '2026-07-10 03:09:25'::timestamp) - extract(epoch from '2026-07-10 03:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297295 -2.793476)'), GeomFromEWKT('SRID=4674;POINT (-40.297168 -2.793455)'))) / (select extract(epoch from '2026-07-10 03:09:25'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47638, 'SRID=4674;POINT (-40.297039 -2.793449)', '2026-07-10 03:09:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297168 -2.793455)'), GeomFromEWKT('SRID=4674;POINT (-40.297039 -2.793449)'))) / (select extract(epoch from '2026-07-10 03:09:33'::timestamp) - extract(epoch from '2026-07-10 03:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297168 -2.793455)'), GeomFromEWKT('SRID=4674;POINT (-40.297039 -2.793449)'))) / (select extract(epoch from '2026-07-10 03:09:33'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47638, 'SRID=4674;POINT (-40.296918 -2.793444)', '2026-07-10 03:09:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297039 -2.793449)'), GeomFromEWKT('SRID=4674;POINT (-40.296918 -2.793444)'))) / (select extract(epoch from '2026-07-10 03:09:40'::timestamp) - extract(epoch from '2026-07-10 03:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297039 -2.793449)'), GeomFromEWKT('SRID=4674;POINT (-40.296918 -2.793444)'))) / (select extract(epoch from '2026-07-10 03:09:40'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.296783 -2.793446)', '2026-07-10 03:09:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296918 -2.793444)'), GeomFromEWKT('SRID=4674;POINT (-40.296783 -2.793446)'))) / (select extract(epoch from '2026-07-10 03:09:48'::timestamp) - extract(epoch from '2026-07-10 03:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296918 -2.793444)'), GeomFromEWKT('SRID=4674;POINT (-40.296783 -2.793446)'))) / (select extract(epoch from '2026-07-10 03:09:48'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.29666 -2.793474)', '2026-07-10 03:09:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296783 -2.793446)'), GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793474)'))) / (select extract(epoch from '2026-07-10 03:09:56'::timestamp) - extract(epoch from '2026-07-10 03:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296783 -2.793446)'), GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793474)'))) / (select extract(epoch from '2026-07-10 03:09:56'::timestamp) - extract(epoch from '2026-07-10 03:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.296522 -2.793518)', '2026-07-10 03:10:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.296522 -2.793518)'))) / (select extract(epoch from '2026-07-10 03:10:05'::timestamp) - extract(epoch from '2026-07-10 03:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.296522 -2.793518)'))) / (select extract(epoch from '2026-07-10 03:10:05'::timestamp) - extract(epoch from '2026-07-10 03:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.296408 -2.793595)', '2026-07-10 03:10:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296522 -2.793518)'), GeomFromEWKT('SRID=4674;POINT (-40.296408 -2.793595)'))) / (select extract(epoch from '2026-07-10 03:10:13'::timestamp) - extract(epoch from '2026-07-10 03:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296522 -2.793518)'), GeomFromEWKT('SRID=4674;POINT (-40.296408 -2.793595)'))) / (select extract(epoch from '2026-07-10 03:10:13'::timestamp) - extract(epoch from '2026-07-10 03:10: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'), 47638, 'SRID=4674;POINT (-40.296277 -2.793687)', '2026-07-10 03:10:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296408 -2.793595)'), GeomFromEWKT('SRID=4674;POINT (-40.296277 -2.793687)'))) / (select extract(epoch from '2026-07-10 03:10:22'::timestamp) - extract(epoch from '2026-07-10 03:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296408 -2.793595)'), GeomFromEWKT('SRID=4674;POINT (-40.296277 -2.793687)'))) / (select extract(epoch from '2026-07-10 03:10:22'::timestamp) - extract(epoch from '2026-07-10 03:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.296157 -2.793764)', '2026-07-10 03:10:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296277 -2.793687)'), GeomFromEWKT('SRID=4674;POINT (-40.296157 -2.793764)'))) / (select extract(epoch from '2026-07-10 03:10:30'::timestamp) - extract(epoch from '2026-07-10 03:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296277 -2.793687)'), GeomFromEWKT('SRID=4674;POINT (-40.296157 -2.793764)'))) / (select extract(epoch from '2026-07-10 03:10:30'::timestamp) - extract(epoch from '2026-07-10 03:10: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'), 47638, 'SRID=4674;POINT (-40.296026 -2.793834)', '2026-07-10 03:10:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296157 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.296026 -2.793834)'))) / (select extract(epoch from '2026-07-10 03:10:38'::timestamp) - extract(epoch from '2026-07-10 03:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296157 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.296026 -2.793834)'))) / (select extract(epoch from '2026-07-10 03:10:38'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.295902 -2.793914)', '2026-07-10 03:10:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296026 -2.793834)'), GeomFromEWKT('SRID=4674;POINT (-40.295902 -2.793914)'))) / (select extract(epoch from '2026-07-10 03:10:46'::timestamp) - extract(epoch from '2026-07-10 03:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296026 -2.793834)'), GeomFromEWKT('SRID=4674;POINT (-40.295902 -2.793914)'))) / (select extract(epoch from '2026-07-10 03:10:46'::timestamp) - extract(epoch from '2026-07-10 03:10: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'), 47638, 'SRID=4674;POINT (-40.295768 -2.794014)', '2026-07-10 03:10:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295902 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.295768 -2.794014)'))) / (select extract(epoch from '2026-07-10 03:10:55'::timestamp) - extract(epoch from '2026-07-10 03:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295902 -2.793914)'), GeomFromEWKT('SRID=4674;POINT (-40.295768 -2.794014)'))) / (select extract(epoch from '2026-07-10 03:10:55'::timestamp) - extract(epoch from '2026-07-10 03:10: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'), 47638, 'SRID=4674;POINT (-40.295651 -2.794088)', '2026-07-10 03:11:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295768 -2.794014)'), GeomFromEWKT('SRID=4674;POINT (-40.295651 -2.794088)'))) / (select extract(epoch from '2026-07-10 03:11:03'::timestamp) - extract(epoch from '2026-07-10 03:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295768 -2.794014)'), GeomFromEWKT('SRID=4674;POINT (-40.295651 -2.794088)'))) / (select extract(epoch from '2026-07-10 03:11:03'::timestamp) - extract(epoch from '2026-07-10 03:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.29549 -2.794148)', '2026-07-10 03:11:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295651 -2.794088)'), GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.794148)'))) / (select extract(epoch from '2026-07-10 03:11:13'::timestamp) - extract(epoch from '2026-07-10 03:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295651 -2.794088)'), GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.794148)'))) / (select extract(epoch from '2026-07-10 03:11:13'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47638, 'SRID=4674;POINT (-40.295341 -2.794208)', '2026-07-10 03:11:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.794148)'), GeomFromEWKT('SRID=4674;POINT (-40.295341 -2.794208)'))) / (select extract(epoch from '2026-07-10 03:11:22'::timestamp) - extract(epoch from '2026-07-10 03:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29549 -2.794148)'), GeomFromEWKT('SRID=4674;POINT (-40.295341 -2.794208)'))) / (select extract(epoch from '2026-07-10 03:11:22'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47638, 'SRID=4674;POINT (-40.295175 -2.794273)', '2026-07-10 03:11:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295341 -2.794208)'), GeomFromEWKT('SRID=4674;POINT (-40.295175 -2.794273)'))) / (select extract(epoch from '2026-07-10 03:11:32'::timestamp) - extract(epoch from '2026-07-10 03:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295341 -2.794208)'), GeomFromEWKT('SRID=4674;POINT (-40.295175 -2.794273)'))) / (select extract(epoch from '2026-07-10 03:11:32'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47638, 'SRID=4674;POINT (-40.295036 -2.79433)', '2026-07-10 03:11:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295175 -2.794273)'), GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.79433)'))) / (select extract(epoch from '2026-07-10 03:11:41'::timestamp) - extract(epoch from '2026-07-10 03:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295175 -2.794273)'), GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.79433)'))) / (select extract(epoch from '2026-07-10 03:11:41'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47638, 'SRID=4674;POINT (-40.294851 -2.794401)', '2026-07-10 03:11:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.79433)'), GeomFromEWKT('SRID=4674;POINT (-40.294851 -2.794401)'))) / (select extract(epoch from '2026-07-10 03:11:52'::timestamp) - extract(epoch from '2026-07-10 03:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295036 -2.79433)'), GeomFromEWKT('SRID=4674;POINT (-40.294851 -2.794401)'))) / (select extract(epoch from '2026-07-10 03:11:52'::timestamp) - extract(epoch from '2026-07-10 03:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.294744 -2.794462)', '2026-07-10 03:11:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294851 -2.794401)'), GeomFromEWKT('SRID=4674;POINT (-40.294744 -2.794462)'))) / (select extract(epoch from '2026-07-10 03:11:59'::timestamp) - extract(epoch from '2026-07-10 03:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294851 -2.794401)'), GeomFromEWKT('SRID=4674;POINT (-40.294744 -2.794462)'))) / (select extract(epoch from '2026-07-10 03:11:59'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47638, 'SRID=4674;POINT (-40.294629 -2.794537)', '2026-07-10 03:12:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294744 -2.794462)'), GeomFromEWKT('SRID=4674;POINT (-40.294629 -2.794537)'))) / (select extract(epoch from '2026-07-10 03:12:07'::timestamp) - extract(epoch from '2026-07-10 03:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294744 -2.794462)'), GeomFromEWKT('SRID=4674;POINT (-40.294629 -2.794537)'))) / (select extract(epoch from '2026-07-10 03:12:07'::timestamp) - extract(epoch from '2026-07-10 03:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.294542 -2.79458)', '2026-07-10 03:12:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294629 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.294542 -2.79458)'))) / (select extract(epoch from '2026-07-10 03:12:13'::timestamp) - extract(epoch from '2026-07-10 03:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294629 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.294542 -2.79458)'))) / (select extract(epoch from '2026-07-10 03:12:13'::timestamp) - extract(epoch from '2026-07-10 03:12: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'), 47638, 'SRID=4674;POINT (-40.29441 -2.794628)', '2026-07-10 03:12:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294542 -2.79458)'), GeomFromEWKT('SRID=4674;POINT (-40.29441 -2.794628)'))) / (select extract(epoch from '2026-07-10 03:12:21'::timestamp) - extract(epoch from '2026-07-10 03:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294542 -2.79458)'), GeomFromEWKT('SRID=4674;POINT (-40.29441 -2.794628)'))) / (select extract(epoch from '2026-07-10 03:12:21'::timestamp) - extract(epoch from '2026-07-10 03:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.294259 -2.794683)', '2026-07-10 03:12:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29441 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.294259 -2.794683)'))) / (select extract(epoch from '2026-07-10 03:12:30'::timestamp) - extract(epoch from '2026-07-10 03:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29441 -2.794628)'), GeomFromEWKT('SRID=4674;POINT (-40.294259 -2.794683)'))) / (select extract(epoch from '2026-07-10 03:12:30'::timestamp) - extract(epoch from '2026-07-10 03:12: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'), 47638, 'SRID=4674;POINT (-40.294107 -2.794728)', '2026-07-10 03:12:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294259 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.294107 -2.794728)'))) / (select extract(epoch from '2026-07-10 03:12:39'::timestamp) - extract(epoch from '2026-07-10 03:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294259 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.294107 -2.794728)'))) / (select extract(epoch from '2026-07-10 03:12:39'::timestamp) - extract(epoch from '2026-07-10 03:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293993 -2.794772)', '2026-07-10 03:12:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294107 -2.794728)'), GeomFromEWKT('SRID=4674;POINT (-40.293993 -2.794772)'))) / (select extract(epoch from '2026-07-10 03:12:46'::timestamp) - extract(epoch from '2026-07-10 03:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294107 -2.794728)'), GeomFromEWKT('SRID=4674;POINT (-40.293993 -2.794772)'))) / (select extract(epoch from '2026-07-10 03:12:46'::timestamp) - extract(epoch from '2026-07-10 03:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293831 -2.794839)', '2026-07-10 03:12:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293993 -2.794772)'), GeomFromEWKT('SRID=4674;POINT (-40.293831 -2.794839)'))) / (select extract(epoch from '2026-07-10 03:12:56'::timestamp) - extract(epoch from '2026-07-10 03:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293993 -2.794772)'), GeomFromEWKT('SRID=4674;POINT (-40.293831 -2.794839)'))) / (select extract(epoch from '2026-07-10 03:12:56'::timestamp) - extract(epoch from '2026-07-10 03:12: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'), 47638, 'SRID=4674;POINT (-40.29372 -2.794889)', '2026-07-10 03:13:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293831 -2.794839)'), GeomFromEWKT('SRID=4674;POINT (-40.29372 -2.794889)'))) / (select extract(epoch from '2026-07-10 03:13:03'::timestamp) - extract(epoch from '2026-07-10 03:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293831 -2.794839)'), GeomFromEWKT('SRID=4674;POINT (-40.29372 -2.794889)'))) / (select extract(epoch from '2026-07-10 03:13:03'::timestamp) - extract(epoch from '2026-07-10 03:12: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'), 47638, 'SRID=4674;POINT (-40.293613 -2.794939)', '2026-07-10 03:13:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29372 -2.794889)'), GeomFromEWKT('SRID=4674;POINT (-40.293613 -2.794939)'))) / (select extract(epoch from '2026-07-10 03:13:10'::timestamp) - extract(epoch from '2026-07-10 03:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29372 -2.794889)'), GeomFromEWKT('SRID=4674;POINT (-40.293613 -2.794939)'))) / (select extract(epoch from '2026-07-10 03:13:10'::timestamp) - extract(epoch from '2026-07-10 03:13: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'), 47638, 'SRID=4674;POINT (-40.293507 -2.794983)', '2026-07-10 03:13:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293613 -2.794939)'), GeomFromEWKT('SRID=4674;POINT (-40.293507 -2.794983)'))) / (select extract(epoch from '2026-07-10 03:13:17'::timestamp) - extract(epoch from '2026-07-10 03:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293613 -2.794939)'), GeomFromEWKT('SRID=4674;POINT (-40.293507 -2.794983)'))) / (select extract(epoch from '2026-07-10 03:13:17'::timestamp) - extract(epoch from '2026-07-10 03:13: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'), 47638, 'SRID=4674;POINT (-40.293376 -2.795017)', '2026-07-10 03:13:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293507 -2.794983)'), GeomFromEWKT('SRID=4674;POINT (-40.293376 -2.795017)'))) / (select extract(epoch from '2026-07-10 03:13:25'::timestamp) - extract(epoch from '2026-07-10 03:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293507 -2.794983)'), GeomFromEWKT('SRID=4674;POINT (-40.293376 -2.795017)'))) / (select extract(epoch from '2026-07-10 03:13:25'::timestamp) - extract(epoch from '2026-07-10 03:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293228 -2.795071)', '2026-07-10 03:13:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293376 -2.795017)'), GeomFromEWKT('SRID=4674;POINT (-40.293228 -2.795071)'))) / (select extract(epoch from '2026-07-10 03:13:34'::timestamp) - extract(epoch from '2026-07-10 03:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293376 -2.795017)'), GeomFromEWKT('SRID=4674;POINT (-40.293228 -2.795071)'))) / (select extract(epoch from '2026-07-10 03:13:34'::timestamp) - extract(epoch from '2026-07-10 03:13: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'), 47638, 'SRID=4674;POINT (-40.293097 -2.795151)', '2026-07-10 03:13:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293228 -2.795071)'), GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.795151)'))) / (select extract(epoch from '2026-07-10 03:13:43'::timestamp) - extract(epoch from '2026-07-10 03:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293228 -2.795071)'), GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.795151)'))) / (select extract(epoch from '2026-07-10 03:13:43'::timestamp) - extract(epoch from '2026-07-10 03:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292951 -2.795245)', '2026-07-10 03:13:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.795151)'), GeomFromEWKT('SRID=4674;POINT (-40.292951 -2.795245)'))) / (select extract(epoch from '2026-07-10 03:13:53'::timestamp) - extract(epoch from '2026-07-10 03:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293097 -2.795151)'), GeomFromEWKT('SRID=4674;POINT (-40.292951 -2.795245)'))) / (select extract(epoch from '2026-07-10 03:13:53'::timestamp) - extract(epoch from '2026-07-10 03:13: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'), 47638, 'SRID=4674;POINT (-40.292825 -2.795304)', '2026-07-10 03:14:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292951 -2.795245)'), GeomFromEWKT('SRID=4674;POINT (-40.292825 -2.795304)'))) / (select extract(epoch from '2026-07-10 03:14:01'::timestamp) - extract(epoch from '2026-07-10 03:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292951 -2.795245)'), GeomFromEWKT('SRID=4674;POINT (-40.292825 -2.795304)'))) / (select extract(epoch from '2026-07-10 03:14:01'::timestamp) - extract(epoch from '2026-07-10 03:13:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.29267 -2.79537)', '2026-07-10 03:14:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292825 -2.795304)'), GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.79537)'))) / (select extract(epoch from '2026-07-10 03:14:11'::timestamp) - extract(epoch from '2026-07-10 03:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292825 -2.795304)'), GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.79537)'))) / (select extract(epoch from '2026-07-10 03:14:11'::timestamp) - extract(epoch from '2026-07-10 03:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292534 -2.795442)', '2026-07-10 03:14:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.79537)'), GeomFromEWKT('SRID=4674;POINT (-40.292534 -2.795442)'))) / (select extract(epoch from '2026-07-10 03:14:20'::timestamp) - extract(epoch from '2026-07-10 03:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.79537)'), GeomFromEWKT('SRID=4674;POINT (-40.292534 -2.795442)'))) / (select extract(epoch from '2026-07-10 03:14:20'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47638, 'SRID=4674;POINT (-40.292421 -2.795506)', '2026-07-10 03:14:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292534 -2.795442)'), GeomFromEWKT('SRID=4674;POINT (-40.292421 -2.795506)'))) / (select extract(epoch from '2026-07-10 03:14:28'::timestamp) - extract(epoch from '2026-07-10 03:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292534 -2.795442)'), GeomFromEWKT('SRID=4674;POINT (-40.292421 -2.795506)'))) / (select extract(epoch from '2026-07-10 03:14:28'::timestamp) - extract(epoch from '2026-07-10 03:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292311 -2.795558)', '2026-07-10 03:14:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292421 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.292311 -2.795558)'))) / (select extract(epoch from '2026-07-10 03:14:35'::timestamp) - extract(epoch from '2026-07-10 03:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292421 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.292311 -2.795558)'))) / (select extract(epoch from '2026-07-10 03:14:35'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47638, 'SRID=4674;POINT (-40.292191 -2.795627)', '2026-07-10 03:14:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292311 -2.795558)'), GeomFromEWKT('SRID=4674;POINT (-40.292191 -2.795627)'))) / (select extract(epoch from '2026-07-10 03:14:43'::timestamp) - extract(epoch from '2026-07-10 03:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292311 -2.795558)'), GeomFromEWKT('SRID=4674;POINT (-40.292191 -2.795627)'))) / (select extract(epoch from '2026-07-10 03:14:43'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47638, 'SRID=4674;POINT (-40.292109 -2.795688)', '2026-07-10 03:14:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292191 -2.795627)'), GeomFromEWKT('SRID=4674;POINT (-40.292109 -2.795688)'))) / (select extract(epoch from '2026-07-10 03:14:49'::timestamp) - extract(epoch from '2026-07-10 03:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292191 -2.795627)'), GeomFromEWKT('SRID=4674;POINT (-40.292109 -2.795688)'))) / (select extract(epoch from '2026-07-10 03:14:49'::timestamp) - extract(epoch from '2026-07-10 03:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292005 -2.795745)', '2026-07-10 03:14:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292109 -2.795688)'), GeomFromEWKT('SRID=4674;POINT (-40.292005 -2.795745)'))) / (select extract(epoch from '2026-07-10 03:14:56'::timestamp) - extract(epoch from '2026-07-10 03:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292109 -2.795688)'), GeomFromEWKT('SRID=4674;POINT (-40.292005 -2.795745)'))) / (select extract(epoch from '2026-07-10 03:14:56'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47638, 'SRID=4674;POINT (-40.291881 -2.795798)', '2026-07-10 03:15:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292005 -2.795745)'), GeomFromEWKT('SRID=4674;POINT (-40.291881 -2.795798)'))) / (select extract(epoch from '2026-07-10 03:15:04'::timestamp) - extract(epoch from '2026-07-10 03:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292005 -2.795745)'), GeomFromEWKT('SRID=4674;POINT (-40.291881 -2.795798)'))) / (select extract(epoch from '2026-07-10 03:15:04'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47638, 'SRID=4674;POINT (-40.291752 -2.795851)', '2026-07-10 03:15:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291881 -2.795798)'), GeomFromEWKT('SRID=4674;POINT (-40.291752 -2.795851)'))) / (select extract(epoch from '2026-07-10 03:15:12'::timestamp) - extract(epoch from '2026-07-10 03:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291881 -2.795798)'), GeomFromEWKT('SRID=4674;POINT (-40.291752 -2.795851)'))) / (select extract(epoch from '2026-07-10 03:15:12'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47638, 'SRID=4674;POINT (-40.291622 -2.795906)', '2026-07-10 03:15:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291752 -2.795851)'), GeomFromEWKT('SRID=4674;POINT (-40.291622 -2.795906)'))) / (select extract(epoch from '2026-07-10 03:15:20'::timestamp) - extract(epoch from '2026-07-10 03:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291752 -2.795851)'), GeomFromEWKT('SRID=4674;POINT (-40.291622 -2.795906)'))) / (select extract(epoch from '2026-07-10 03:15:20'::timestamp) - extract(epoch from '2026-07-10 03:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291488 -2.795951)', '2026-07-10 03:15:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291622 -2.795906)'), GeomFromEWKT('SRID=4674;POINT (-40.291488 -2.795951)'))) / (select extract(epoch from '2026-07-10 03:15:28'::timestamp) - extract(epoch from '2026-07-10 03:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291622 -2.795906)'), GeomFromEWKT('SRID=4674;POINT (-40.291488 -2.795951)'))) / (select extract(epoch from '2026-07-10 03:15:28'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47638, 'SRID=4674;POINT (-40.291331 -2.796029)', '2026-07-10 03:15:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291488 -2.795951)'), GeomFromEWKT('SRID=4674;POINT (-40.291331 -2.796029)'))) / (select extract(epoch from '2026-07-10 03:15:38'::timestamp) - extract(epoch from '2026-07-10 03:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291488 -2.795951)'), GeomFromEWKT('SRID=4674;POINT (-40.291331 -2.796029)'))) / (select extract(epoch from '2026-07-10 03:15:38'::timestamp) - extract(epoch from '2026-07-10 03:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291181 -2.796088)', '2026-07-10 03:15:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291331 -2.796029)'), GeomFromEWKT('SRID=4674;POINT (-40.291181 -2.796088)'))) / (select extract(epoch from '2026-07-10 03:15:47'::timestamp) - extract(epoch from '2026-07-10 03:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291331 -2.796029)'), GeomFromEWKT('SRID=4674;POINT (-40.291181 -2.796088)'))) / (select extract(epoch from '2026-07-10 03:15:47'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47638, 'SRID=4674;POINT (-40.291077 -2.79612)', '2026-07-10 03:15:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291181 -2.796088)'), GeomFromEWKT('SRID=4674;POINT (-40.291077 -2.79612)'))) / (select extract(epoch from '2026-07-10 03:15:53'::timestamp) - extract(epoch from '2026-07-10 03:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291181 -2.796088)'), GeomFromEWKT('SRID=4674;POINT (-40.291077 -2.79612)'))) / (select extract(epoch from '2026-07-10 03:15:53'::timestamp) - extract(epoch from '2026-07-10 03:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290934 -2.796136)', '2026-07-10 03:16:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291077 -2.79612)'), GeomFromEWKT('SRID=4674;POINT (-40.290934 -2.796136)'))) / (select extract(epoch from '2026-07-10 03:16:01'::timestamp) - extract(epoch from '2026-07-10 03:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291077 -2.79612)'), GeomFromEWKT('SRID=4674;POINT (-40.290934 -2.796136)'))) / (select extract(epoch from '2026-07-10 03:16:01'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47638, 'SRID=4674;POINT (-40.290794 -2.796136)', '2026-07-10 03:16:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290934 -2.796136)'), GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796136)'))) / (select extract(epoch from '2026-07-10 03:16:09'::timestamp) - extract(epoch from '2026-07-10 03:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290934 -2.796136)'), GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796136)'))) / (select extract(epoch from '2026-07-10 03:16:09'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47638, 'SRID=4674;POINT (-40.290661 -2.79615)', '2026-07-10 03:16:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796136)'), GeomFromEWKT('SRID=4674;POINT (-40.290661 -2.79615)'))) / (select extract(epoch from '2026-07-10 03:16:17'::timestamp) - extract(epoch from '2026-07-10 03:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290794 -2.796136)'), GeomFromEWKT('SRID=4674;POINT (-40.290661 -2.79615)'))) / (select extract(epoch from '2026-07-10 03:16:17'::timestamp) - extract(epoch from '2026-07-10 03:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290552 -2.796163)', '2026-07-10 03:16:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290661 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.290552 -2.796163)'))) / (select extract(epoch from '2026-07-10 03:16:24'::timestamp) - extract(epoch from '2026-07-10 03:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290661 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.290552 -2.796163)'))) / (select extract(epoch from '2026-07-10 03:16:24'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47638, 'SRID=4674;POINT (-40.290396 -2.796173)', '2026-07-10 03:16:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290552 -2.796163)'), GeomFromEWKT('SRID=4674;POINT (-40.290396 -2.796173)'))) / (select extract(epoch from '2026-07-10 03:16:33'::timestamp) - extract(epoch from '2026-07-10 03:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290552 -2.796163)'), GeomFromEWKT('SRID=4674;POINT (-40.290396 -2.796173)'))) / (select extract(epoch from '2026-07-10 03:16:33'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47638, 'SRID=4674;POINT (-40.290209 -2.796193)', '2026-07-10 03:16:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290396 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.290209 -2.796193)'))) / (select extract(epoch from '2026-07-10 03:16:45'::timestamp) - extract(epoch from '2026-07-10 03:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290396 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.290209 -2.796193)'))) / (select extract(epoch from '2026-07-10 03:16:45'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47638, 'SRID=4674;POINT (-40.290071 -2.796218)', '2026-07-10 03:16:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290209 -2.796193)'), GeomFromEWKT('SRID=4674;POINT (-40.290071 -2.796218)'))) / (select extract(epoch from '2026-07-10 03:16:53'::timestamp) - extract(epoch from '2026-07-10 03:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290209 -2.796193)'), GeomFromEWKT('SRID=4674;POINT (-40.290071 -2.796218)'))) / (select extract(epoch from '2026-07-10 03:16:53'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47638, 'SRID=4674;POINT (-40.289871 -2.796245)', '2026-07-10 03:17:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290071 -2.796218)'), GeomFromEWKT('SRID=4674;POINT (-40.289871 -2.796245)'))) / (select extract(epoch from '2026-07-10 03:17:04'::timestamp) - extract(epoch from '2026-07-10 03:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290071 -2.796218)'), GeomFromEWKT('SRID=4674;POINT (-40.289871 -2.796245)'))) / (select extract(epoch from '2026-07-10 03:17:04'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.289677 -2.79624)', '2026-07-10 03:17:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289871 -2.796245)'), GeomFromEWKT('SRID=4674;POINT (-40.289677 -2.79624)'))) / (select extract(epoch from '2026-07-10 03:17:15'::timestamp) - extract(epoch from '2026-07-10 03:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289871 -2.796245)'), GeomFromEWKT('SRID=4674;POINT (-40.289677 -2.79624)'))) / (select extract(epoch from '2026-07-10 03:17:15'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47638, 'SRID=4674;POINT (-40.28953 -2.796227)', '2026-07-10 03:17:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289677 -2.79624)'), GeomFromEWKT('SRID=4674;POINT (-40.28953 -2.796227)'))) / (select extract(epoch from '2026-07-10 03:17:24'::timestamp) - extract(epoch from '2026-07-10 03:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289677 -2.79624)'), GeomFromEWKT('SRID=4674;POINT (-40.28953 -2.796227)'))) / (select extract(epoch from '2026-07-10 03:17:24'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47638, 'SRID=4674;POINT (-40.289388 -2.796225)', '2026-07-10 03:17:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28953 -2.796227)'), GeomFromEWKT('SRID=4674;POINT (-40.289388 -2.796225)'))) / (select extract(epoch from '2026-07-10 03:17:34'::timestamp) - extract(epoch from '2026-07-10 03:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28953 -2.796227)'), GeomFromEWKT('SRID=4674;POINT (-40.289388 -2.796225)'))) / (select extract(epoch from '2026-07-10 03:17:34'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47638, 'SRID=4674;POINT (-40.289212 -2.796212)', '2026-07-10 03:17:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289388 -2.796225)'), GeomFromEWKT('SRID=4674;POINT (-40.289212 -2.796212)'))) / (select extract(epoch from '2026-07-10 03:17:45'::timestamp) - extract(epoch from '2026-07-10 03:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289388 -2.796225)'), GeomFromEWKT('SRID=4674;POINT (-40.289212 -2.796212)'))) / (select extract(epoch from '2026-07-10 03:17:45'::timestamp) - extract(epoch from '2026-07-10 03:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289064 -2.796214)', '2026-07-10 03:17:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289212 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.289064 -2.796214)'))) / (select extract(epoch from '2026-07-10 03:17:54'::timestamp) - extract(epoch from '2026-07-10 03:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289212 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.289064 -2.796214)'))) / (select extract(epoch from '2026-07-10 03:17:54'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.288863 -2.796214)', '2026-07-10 03:18:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289064 -2.796214)'), GeomFromEWKT('SRID=4674;POINT (-40.288863 -2.796214)'))) / (select extract(epoch from '2026-07-10 03:18:05'::timestamp) - extract(epoch from '2026-07-10 03:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289064 -2.796214)'), GeomFromEWKT('SRID=4674;POINT (-40.288863 -2.796214)'))) / (select extract(epoch from '2026-07-10 03:18:05'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47638, 'SRID=4674;POINT (-40.288679 -2.796218)', '2026-07-10 03:18:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288863 -2.796214)'), GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.796218)'))) / (select extract(epoch from '2026-07-10 03:18:16'::timestamp) - extract(epoch from '2026-07-10 03:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288863 -2.796214)'), GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.796218)'))) / (select extract(epoch from '2026-07-10 03:18:16'::timestamp) - extract(epoch from '2026-07-10 03:18: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'), 47638, 'SRID=4674;POINT (-40.288544 -2.796213)', '2026-07-10 03:18:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.796218)'), GeomFromEWKT('SRID=4674;POINT (-40.288544 -2.796213)'))) / (select extract(epoch from '2026-07-10 03:18:24'::timestamp) - extract(epoch from '2026-07-10 03:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.796218)'), GeomFromEWKT('SRID=4674;POINT (-40.288544 -2.796213)'))) / (select extract(epoch from '2026-07-10 03:18:24'::timestamp) - extract(epoch from '2026-07-10 03:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288356 -2.796212)', '2026-07-10 03:18:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288544 -2.796213)'), GeomFromEWKT('SRID=4674;POINT (-40.288356 -2.796212)'))) / (select extract(epoch from '2026-07-10 03:18:36'::timestamp) - extract(epoch from '2026-07-10 03:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288544 -2.796213)'), GeomFromEWKT('SRID=4674;POINT (-40.288356 -2.796212)'))) / (select extract(epoch from '2026-07-10 03:18:36'::timestamp) - extract(epoch from '2026-07-10 03:18: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'), 47638, 'SRID=4674;POINT (-40.288189 -2.796198)', '2026-07-10 03:18:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288356 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.288189 -2.796198)'))) / (select extract(epoch from '2026-07-10 03:18:45'::timestamp) - extract(epoch from '2026-07-10 03:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288356 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.288189 -2.796198)'))) / (select extract(epoch from '2026-07-10 03:18:45'::timestamp) - extract(epoch from '2026-07-10 03:18: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'), 47638, 'SRID=4674;POINT (-40.288035 -2.796191)', '2026-07-10 03:18:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288189 -2.796198)'), GeomFromEWKT('SRID=4674;POINT (-40.288035 -2.796191)'))) / (select extract(epoch from '2026-07-10 03:18:54'::timestamp) - extract(epoch from '2026-07-10 03:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288189 -2.796198)'), GeomFromEWKT('SRID=4674;POINT (-40.288035 -2.796191)'))) / (select extract(epoch from '2026-07-10 03:18:54'::timestamp) - extract(epoch from '2026-07-10 03:18: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'), 47638, 'SRID=4674;POINT (-40.287885 -2.796175)', '2026-07-10 03:19:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288035 -2.796191)'), GeomFromEWKT('SRID=4674;POINT (-40.287885 -2.796175)'))) / (select extract(epoch from '2026-07-10 03:19:03'::timestamp) - extract(epoch from '2026-07-10 03:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288035 -2.796191)'), GeomFromEWKT('SRID=4674;POINT (-40.287885 -2.796175)'))) / (select extract(epoch from '2026-07-10 03:19:03'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.287735 -2.796167)', '2026-07-10 03:19:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287885 -2.796175)'), GeomFromEWKT('SRID=4674;POINT (-40.287735 -2.796167)'))) / (select extract(epoch from '2026-07-10 03:19:12'::timestamp) - extract(epoch from '2026-07-10 03:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287885 -2.796175)'), GeomFromEWKT('SRID=4674;POINT (-40.287735 -2.796167)'))) / (select extract(epoch from '2026-07-10 03:19:12'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47638, 'SRID=4674;POINT (-40.287583 -2.796163)', '2026-07-10 03:19:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287735 -2.796167)'), GeomFromEWKT('SRID=4674;POINT (-40.287583 -2.796163)'))) / (select extract(epoch from '2026-07-10 03:19:21'::timestamp) - extract(epoch from '2026-07-10 03:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287735 -2.796167)'), GeomFromEWKT('SRID=4674;POINT (-40.287583 -2.796163)'))) / (select extract(epoch from '2026-07-10 03:19:21'::timestamp) - extract(epoch from '2026-07-10 03:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287444 -2.796164)', '2026-07-10 03:19:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287583 -2.796163)'), GeomFromEWKT('SRID=4674;POINT (-40.287444 -2.796164)'))) / (select extract(epoch from '2026-07-10 03:19:29'::timestamp) - extract(epoch from '2026-07-10 03:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287583 -2.796163)'), GeomFromEWKT('SRID=4674;POINT (-40.287444 -2.796164)'))) / (select extract(epoch from '2026-07-10 03:19:29'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47638, 'SRID=4674;POINT (-40.287289 -2.796178)', '2026-07-10 03:19:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287444 -2.796164)'), GeomFromEWKT('SRID=4674;POINT (-40.287289 -2.796178)'))) / (select extract(epoch from '2026-07-10 03:19:38'::timestamp) - extract(epoch from '2026-07-10 03:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287444 -2.796164)'), GeomFromEWKT('SRID=4674;POINT (-40.287289 -2.796178)'))) / (select extract(epoch from '2026-07-10 03:19:38'::timestamp) - extract(epoch from '2026-07-10 03:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287188 -2.796199)', '2026-07-10 03:19:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287289 -2.796178)'), GeomFromEWKT('SRID=4674;POINT (-40.287188 -2.796199)'))) / (select extract(epoch from '2026-07-10 03:19:44'::timestamp) - extract(epoch from '2026-07-10 03:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287289 -2.796178)'), GeomFromEWKT('SRID=4674;POINT (-40.287188 -2.796199)'))) / (select extract(epoch from '2026-07-10 03:19:44'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47638, 'SRID=4674;POINT (-40.287033 -2.796215)', '2026-07-10 03:19:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287188 -2.796199)'), GeomFromEWKT('SRID=4674;POINT (-40.287033 -2.796215)'))) / (select extract(epoch from '2026-07-10 03:19:53'::timestamp) - extract(epoch from '2026-07-10 03:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287188 -2.796199)'), GeomFromEWKT('SRID=4674;POINT (-40.287033 -2.796215)'))) / (select extract(epoch from '2026-07-10 03:19:53'::timestamp) - extract(epoch from '2026-07-10 03:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.286868 -2.796232)', '2026-07-10 03:20:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287033 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.286868 -2.796232)'))) / (select extract(epoch from '2026-07-10 03:20:03'::timestamp) - extract(epoch from '2026-07-10 03:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287033 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.286868 -2.796232)'))) / (select extract(epoch from '2026-07-10 03:20:03'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47638, 'SRID=4674;POINT (-40.286701 -2.796235)', '2026-07-10 03:20:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286868 -2.796232)'), GeomFromEWKT('SRID=4674;POINT (-40.286701 -2.796235)'))) / (select extract(epoch from '2026-07-10 03:20:13'::timestamp) - extract(epoch from '2026-07-10 03:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286868 -2.796232)'), GeomFromEWKT('SRID=4674;POINT (-40.286701 -2.796235)'))) / (select extract(epoch from '2026-07-10 03:20:13'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47638, 'SRID=4674;POINT (-40.286581 -2.796265)', '2026-07-10 03:20:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286701 -2.796235)'), GeomFromEWKT('SRID=4674;POINT (-40.286581 -2.796265)'))) / (select extract(epoch from '2026-07-10 03:20:20'::timestamp) - extract(epoch from '2026-07-10 03:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286701 -2.796235)'), GeomFromEWKT('SRID=4674;POINT (-40.286581 -2.796265)'))) / (select extract(epoch from '2026-07-10 03:20:20'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47638, 'SRID=4674;POINT (-40.286424 -2.796321)', '2026-07-10 03:20:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286581 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.286424 -2.796321)'))) / (select extract(epoch from '2026-07-10 03:20:29'::timestamp) - extract(epoch from '2026-07-10 03:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286581 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.286424 -2.796321)'))) / (select extract(epoch from '2026-07-10 03:20:29'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47638, 'SRID=4674;POINT (-40.286318 -2.796376)', '2026-07-10 03:20:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286424 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.286318 -2.796376)'))) / (select extract(epoch from '2026-07-10 03:20:36'::timestamp) - extract(epoch from '2026-07-10 03:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286424 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.286318 -2.796376)'))) / (select extract(epoch from '2026-07-10 03:20:36'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47638, 'SRID=4674;POINT (-40.286187 -2.796436)', '2026-07-10 03:20:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286318 -2.796376)'), GeomFromEWKT('SRID=4674;POINT (-40.286187 -2.796436)'))) / (select extract(epoch from '2026-07-10 03:20:44'::timestamp) - extract(epoch from '2026-07-10 03:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286318 -2.796376)'), GeomFromEWKT('SRID=4674;POINT (-40.286187 -2.796436)'))) / (select extract(epoch from '2026-07-10 03:20:44'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47638, 'SRID=4674;POINT (-40.286041 -2.796509)', '2026-07-10 03:20:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286187 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.286041 -2.796509)'))) / (select extract(epoch from '2026-07-10 03:20:53'::timestamp) - extract(epoch from '2026-07-10 03:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286187 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.286041 -2.796509)'))) / (select extract(epoch from '2026-07-10 03:20:53'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47638, 'SRID=4674;POINT (-40.285903 -2.796578)', '2026-07-10 03:21:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286041 -2.796509)'), GeomFromEWKT('SRID=4674;POINT (-40.285903 -2.796578)'))) / (select extract(epoch from '2026-07-10 03:21:02'::timestamp) - extract(epoch from '2026-07-10 03:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286041 -2.796509)'), GeomFromEWKT('SRID=4674;POINT (-40.285903 -2.796578)'))) / (select extract(epoch from '2026-07-10 03:21:02'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47638, 'SRID=4674;POINT (-40.285769 -2.796634)', '2026-07-10 03:21:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285903 -2.796578)'), GeomFromEWKT('SRID=4674;POINT (-40.285769 -2.796634)'))) / (select extract(epoch from '2026-07-10 03:21:10'::timestamp) - extract(epoch from '2026-07-10 03:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285903 -2.796578)'), GeomFromEWKT('SRID=4674;POINT (-40.285769 -2.796634)'))) / (select extract(epoch from '2026-07-10 03:21:10'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47638, 'SRID=4674;POINT (-40.2856 -2.796698)', '2026-07-10 03:21:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285769 -2.796634)'), GeomFromEWKT('SRID=4674;POINT (-40.2856 -2.796698)'))) / (select extract(epoch from '2026-07-10 03:21:20'::timestamp) - extract(epoch from '2026-07-10 03:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285769 -2.796634)'), GeomFromEWKT('SRID=4674;POINT (-40.2856 -2.796698)'))) / (select extract(epoch from '2026-07-10 03:21:20'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47638, 'SRID=4674;POINT (-40.285467 -2.796739)', '2026-07-10 03:21:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2856 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.285467 -2.796739)'))) / (select extract(epoch from '2026-07-10 03:21:28'::timestamp) - extract(epoch from '2026-07-10 03:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2856 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.285467 -2.796739)'))) / (select extract(epoch from '2026-07-10 03:21:28'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47638, 'SRID=4674;POINT (-40.28529 -2.796783)', '2026-07-10 03:21:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285467 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.28529 -2.796783)'))) / (select extract(epoch from '2026-07-10 03:21:38'::timestamp) - extract(epoch from '2026-07-10 03:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285467 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.28529 -2.796783)'))) / (select extract(epoch from '2026-07-10 03:21:38'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47638, 'SRID=4674;POINT (-40.2851 -2.796831)', '2026-07-10 03:21:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28529 -2.796783)'), GeomFromEWKT('SRID=4674;POINT (-40.2851 -2.796831)'))) / (select extract(epoch from '2026-07-10 03:21:49'::timestamp) - extract(epoch from '2026-07-10 03:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28529 -2.796783)'), GeomFromEWKT('SRID=4674;POINT (-40.2851 -2.796831)'))) / (select extract(epoch from '2026-07-10 03:21:49'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47638, 'SRID=4674;POINT (-40.284921 -2.79688)', '2026-07-10 03:21:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2851 -2.796831)'), GeomFromEWKT('SRID=4674;POINT (-40.284921 -2.79688)'))) / (select extract(epoch from '2026-07-10 03:21:59'::timestamp) - extract(epoch from '2026-07-10 03:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2851 -2.796831)'), GeomFromEWKT('SRID=4674;POINT (-40.284921 -2.79688)'))) / (select extract(epoch from '2026-07-10 03:21:59'::timestamp) - extract(epoch from '2026-07-10 03:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28478 -2.79692)', '2026-07-10 03:22:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284921 -2.79688)'), GeomFromEWKT('SRID=4674;POINT (-40.28478 -2.79692)'))) / (select extract(epoch from '2026-07-10 03:22:07'::timestamp) - extract(epoch from '2026-07-10 03:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284921 -2.79688)'), GeomFromEWKT('SRID=4674;POINT (-40.28478 -2.79692)'))) / (select extract(epoch from '2026-07-10 03:22:07'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47638, 'SRID=4674;POINT (-40.284603 -2.796969)', '2026-07-10 03:22:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28478 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.284603 -2.796969)'))) / (select extract(epoch from '2026-07-10 03:22:17'::timestamp) - extract(epoch from '2026-07-10 03:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28478 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.284603 -2.796969)'))) / (select extract(epoch from '2026-07-10 03:22:17'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47638, 'SRID=4674;POINT (-40.284479 -2.796996)', '2026-07-10 03:22:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284603 -2.796969)'), GeomFromEWKT('SRID=4674;POINT (-40.284479 -2.796996)'))) / (select extract(epoch from '2026-07-10 03:22:24'::timestamp) - extract(epoch from '2026-07-10 03:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284603 -2.796969)'), GeomFromEWKT('SRID=4674;POINT (-40.284479 -2.796996)'))) / (select extract(epoch from '2026-07-10 03:22:24'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47638, 'SRID=4674;POINT (-40.284341 -2.79704)', '2026-07-10 03:22:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284479 -2.796996)'), GeomFromEWKT('SRID=4674;POINT (-40.284341 -2.79704)'))) / (select extract(epoch from '2026-07-10 03:22:32'::timestamp) - extract(epoch from '2026-07-10 03:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284479 -2.796996)'), GeomFromEWKT('SRID=4674;POINT (-40.284341 -2.79704)'))) / (select extract(epoch from '2026-07-10 03:22:32'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47638, 'SRID=4674;POINT (-40.284188 -2.797102)', '2026-07-10 03:22:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284341 -2.79704)'), GeomFromEWKT('SRID=4674;POINT (-40.284188 -2.797102)'))) / (select extract(epoch from '2026-07-10 03:22:41'::timestamp) - extract(epoch from '2026-07-10 03:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284341 -2.79704)'), GeomFromEWKT('SRID=4674;POINT (-40.284188 -2.797102)'))) / (select extract(epoch from '2026-07-10 03:22:41'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47638, 'SRID=4674;POINT (-40.284027 -2.797176)', '2026-07-10 03:22:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284188 -2.797102)'), GeomFromEWKT('SRID=4674;POINT (-40.284027 -2.797176)'))) / (select extract(epoch from '2026-07-10 03:22:51'::timestamp) - extract(epoch from '2026-07-10 03:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284188 -2.797102)'), GeomFromEWKT('SRID=4674;POINT (-40.284027 -2.797176)'))) / (select extract(epoch from '2026-07-10 03:22:51'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47638, 'SRID=4674;POINT (-40.283881 -2.797256)', '2026-07-10 03:23:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284027 -2.797176)'), GeomFromEWKT('SRID=4674;POINT (-40.283881 -2.797256)'))) / (select extract(epoch from '2026-07-10 03:23:00'::timestamp) - extract(epoch from '2026-07-10 03:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284027 -2.797176)'), GeomFromEWKT('SRID=4674;POINT (-40.283881 -2.797256)'))) / (select extract(epoch from '2026-07-10 03:23:00'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47638, 'SRID=4674;POINT (-40.28374 -2.797314)', '2026-07-10 03:23:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283881 -2.797256)'), GeomFromEWKT('SRID=4674;POINT (-40.28374 -2.797314)'))) / (select extract(epoch from '2026-07-10 03:23:08'::timestamp) - extract(epoch from '2026-07-10 03:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283881 -2.797256)'), GeomFromEWKT('SRID=4674;POINT (-40.28374 -2.797314)'))) / (select extract(epoch from '2026-07-10 03:23:08'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47638, 'SRID=4674;POINT (-40.283593 -2.797369)', '2026-07-10 03:23:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28374 -2.797314)'), GeomFromEWKT('SRID=4674;POINT (-40.283593 -2.797369)'))) / (select extract(epoch from '2026-07-10 03:23:17'::timestamp) - extract(epoch from '2026-07-10 03:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28374 -2.797314)'), GeomFromEWKT('SRID=4674;POINT (-40.283593 -2.797369)'))) / (select extract(epoch from '2026-07-10 03:23:17'::timestamp) - extract(epoch from '2026-07-10 03:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283467 -2.797415)', '2026-07-10 03:23:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283593 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.283467 -2.797415)'))) / (select extract(epoch from '2026-07-10 03:23:24'::timestamp) - extract(epoch from '2026-07-10 03:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283593 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.283467 -2.797415)'))) / (select extract(epoch from '2026-07-10 03:23:24'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.283316 -2.797462)', '2026-07-10 03:23:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283467 -2.797415)'), GeomFromEWKT('SRID=4674;POINT (-40.283316 -2.797462)'))) / (select extract(epoch from '2026-07-10 03:23:33'::timestamp) - extract(epoch from '2026-07-10 03:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283467 -2.797415)'), GeomFromEWKT('SRID=4674;POINT (-40.283316 -2.797462)'))) / (select extract(epoch from '2026-07-10 03:23:33'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47638, 'SRID=4674;POINT (-40.283139 -2.797514)', '2026-07-10 03:23:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283316 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-40.283139 -2.797514)'))) / (select extract(epoch from '2026-07-10 03:23:43'::timestamp) - extract(epoch from '2026-07-10 03:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283316 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-40.283139 -2.797514)'))) / (select extract(epoch from '2026-07-10 03:23:43'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47638, 'SRID=4674;POINT (-40.283036 -2.797538)', '2026-07-10 03:23:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283139 -2.797514)'), GeomFromEWKT('SRID=4674;POINT (-40.283036 -2.797538)'))) / (select extract(epoch from '2026-07-10 03:23:49'::timestamp) - extract(epoch from '2026-07-10 03:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283139 -2.797514)'), GeomFromEWKT('SRID=4674;POINT (-40.283036 -2.797538)'))) / (select extract(epoch from '2026-07-10 03:23:49'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47638, 'SRID=4674;POINT (-40.282892 -2.797568)', '2026-07-10 03:23:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283036 -2.797538)'), GeomFromEWKT('SRID=4674;POINT (-40.282892 -2.797568)'))) / (select extract(epoch from '2026-07-10 03:23:58'::timestamp) - extract(epoch from '2026-07-10 03:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283036 -2.797538)'), GeomFromEWKT('SRID=4674;POINT (-40.282892 -2.797568)'))) / (select extract(epoch from '2026-07-10 03:23:58'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47638, 'SRID=4674;POINT (-40.282782 -2.797613)', '2026-07-10 03:24:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282892 -2.797568)'), GeomFromEWKT('SRID=4674;POINT (-40.282782 -2.797613)'))) / (select extract(epoch from '2026-07-10 03:24:05'::timestamp) - extract(epoch from '2026-07-10 03:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282892 -2.797568)'), GeomFromEWKT('SRID=4674;POINT (-40.282782 -2.797613)'))) / (select extract(epoch from '2026-07-10 03:24:05'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47638, 'SRID=4674;POINT (-40.282618 -2.79769)', '2026-07-10 03:24:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282782 -2.797613)'), GeomFromEWKT('SRID=4674;POINT (-40.282618 -2.79769)'))) / (select extract(epoch from '2026-07-10 03:24:15'::timestamp) - extract(epoch from '2026-07-10 03:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282782 -2.797613)'), GeomFromEWKT('SRID=4674;POINT (-40.282618 -2.79769)'))) / (select extract(epoch from '2026-07-10 03:24:15'::timestamp) - extract(epoch from '2026-07-10 03:24: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'), 47638, 'SRID=4674;POINT (-40.282488 -2.797752)', '2026-07-10 03:24:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282618 -2.79769)'), GeomFromEWKT('SRID=4674;POINT (-40.282488 -2.797752)'))) / (select extract(epoch from '2026-07-10 03:24:23'::timestamp) - extract(epoch from '2026-07-10 03:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282618 -2.79769)'), GeomFromEWKT('SRID=4674;POINT (-40.282488 -2.797752)'))) / (select extract(epoch from '2026-07-10 03:24:23'::timestamp) - extract(epoch from '2026-07-10 03:24: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'), 47638, 'SRID=4674;POINT (-40.282378 -2.797804)', '2026-07-10 03:24:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282488 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.282378 -2.797804)'))) / (select extract(epoch from '2026-07-10 03:24:30'::timestamp) - extract(epoch from '2026-07-10 03:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282488 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.282378 -2.797804)'))) / (select extract(epoch from '2026-07-10 03:24:30'::timestamp) - extract(epoch from '2026-07-10 03:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282223 -2.797847)', '2026-07-10 03:24:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282378 -2.797804)'), GeomFromEWKT('SRID=4674;POINT (-40.282223 -2.797847)'))) / (select extract(epoch from '2026-07-10 03:24:39'::timestamp) - extract(epoch from '2026-07-10 03:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282378 -2.797804)'), GeomFromEWKT('SRID=4674;POINT (-40.282223 -2.797847)'))) / (select extract(epoch from '2026-07-10 03:24:39'::timestamp) - extract(epoch from '2026-07-10 03:24: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'), 47638, 'SRID=4674;POINT (-40.282058 -2.797916)', '2026-07-10 03:24:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282223 -2.797847)'), GeomFromEWKT('SRID=4674;POINT (-40.282058 -2.797916)'))) / (select extract(epoch from '2026-07-10 03:24:49'::timestamp) - extract(epoch from '2026-07-10 03:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282223 -2.797847)'), GeomFromEWKT('SRID=4674;POINT (-40.282058 -2.797916)'))) / (select extract(epoch from '2026-07-10 03:24:49'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.281929 -2.797979)', '2026-07-10 03:24:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282058 -2.797916)'), GeomFromEWKT('SRID=4674;POINT (-40.281929 -2.797979)'))) / (select extract(epoch from '2026-07-10 03:24:57'::timestamp) - extract(epoch from '2026-07-10 03:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282058 -2.797916)'), GeomFromEWKT('SRID=4674;POINT (-40.281929 -2.797979)'))) / (select extract(epoch from '2026-07-10 03:24:57'::timestamp) - extract(epoch from '2026-07-10 03:24: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'), 47638, 'SRID=4674;POINT (-40.2818 -2.798035)', '2026-07-10 03:25:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281929 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.2818 -2.798035)'))) / (select extract(epoch from '2026-07-10 03:25:05'::timestamp) - extract(epoch from '2026-07-10 03:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281929 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.2818 -2.798035)'))) / (select extract(epoch from '2026-07-10 03:25:05'::timestamp) - extract(epoch from '2026-07-10 03:24: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'), 47638, 'SRID=4674;POINT (-40.281702 -2.798068)', '2026-07-10 03:25:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2818 -2.798035)'), GeomFromEWKT('SRID=4674;POINT (-40.281702 -2.798068)'))) / (select extract(epoch from '2026-07-10 03:25:11'::timestamp) - extract(epoch from '2026-07-10 03:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2818 -2.798035)'), GeomFromEWKT('SRID=4674;POINT (-40.281702 -2.798068)'))) / (select extract(epoch from '2026-07-10 03:25:11'::timestamp) - extract(epoch from '2026-07-10 03:25: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'), 47638, 'SRID=4674;POINT (-40.281564 -2.798122)', '2026-07-10 03:25:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281702 -2.798068)'), GeomFromEWKT('SRID=4674;POINT (-40.281564 -2.798122)'))) / (select extract(epoch from '2026-07-10 03:25:19'::timestamp) - extract(epoch from '2026-07-10 03:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281702 -2.798068)'), GeomFromEWKT('SRID=4674;POINT (-40.281564 -2.798122)'))) / (select extract(epoch from '2026-07-10 03:25:19'::timestamp) - extract(epoch from '2026-07-10 03:25: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'), 47638, 'SRID=4674;POINT (-40.281399 -2.798202)', '2026-07-10 03:25:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281564 -2.798122)'), GeomFromEWKT('SRID=4674;POINT (-40.281399 -2.798202)'))) / (select extract(epoch from '2026-07-10 03:25:29'::timestamp) - extract(epoch from '2026-07-10 03:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281564 -2.798122)'), GeomFromEWKT('SRID=4674;POINT (-40.281399 -2.798202)'))) / (select extract(epoch from '2026-07-10 03:25:29'::timestamp) - extract(epoch from '2026-07-10 03:25: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'), 47638, 'SRID=4674;POINT (-40.28124 -2.798282)', '2026-07-10 03:25:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281399 -2.798202)'), GeomFromEWKT('SRID=4674;POINT (-40.28124 -2.798282)'))) / (select extract(epoch from '2026-07-10 03:25:39'::timestamp) - extract(epoch from '2026-07-10 03:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281399 -2.798202)'), GeomFromEWKT('SRID=4674;POINT (-40.28124 -2.798282)'))) / (select extract(epoch from '2026-07-10 03:25:39'::timestamp) - extract(epoch from '2026-07-10 03:25: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'), 47638, 'SRID=4674;POINT (-40.281094 -2.798357)', '2026-07-10 03:25:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28124 -2.798282)'), GeomFromEWKT('SRID=4674;POINT (-40.281094 -2.798357)'))) / (select extract(epoch from '2026-07-10 03:25:48'::timestamp) - extract(epoch from '2026-07-10 03:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28124 -2.798282)'), GeomFromEWKT('SRID=4674;POINT (-40.281094 -2.798357)'))) / (select extract(epoch from '2026-07-10 03:25:48'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.280994 -2.798404)', '2026-07-10 03:25:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281094 -2.798357)'), GeomFromEWKT('SRID=4674;POINT (-40.280994 -2.798404)'))) / (select extract(epoch from '2026-07-10 03:25:54'::timestamp) - extract(epoch from '2026-07-10 03:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281094 -2.798357)'), GeomFromEWKT('SRID=4674;POINT (-40.280994 -2.798404)'))) / (select extract(epoch from '2026-07-10 03:25:54'::timestamp) - extract(epoch from '2026-07-10 03:25: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'), 47638, 'SRID=4674;POINT (-40.280865 -2.798468)', '2026-07-10 03:26:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280994 -2.798404)'), GeomFromEWKT('SRID=4674;POINT (-40.280865 -2.798468)'))) / (select extract(epoch from '2026-07-10 03:26:02'::timestamp) - extract(epoch from '2026-07-10 03:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280994 -2.798404)'), GeomFromEWKT('SRID=4674;POINT (-40.280865 -2.798468)'))) / (select extract(epoch from '2026-07-10 03:26:02'::timestamp) - extract(epoch from '2026-07-10 03:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.280735 -2.798564)', '2026-07-10 03:26:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280865 -2.798468)'), GeomFromEWKT('SRID=4674;POINT (-40.280735 -2.798564)'))) / (select extract(epoch from '2026-07-10 03:26:11'::timestamp) - extract(epoch from '2026-07-10 03:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280865 -2.798468)'), GeomFromEWKT('SRID=4674;POINT (-40.280735 -2.798564)'))) / (select extract(epoch from '2026-07-10 03:26:11'::timestamp) - extract(epoch from '2026-07-10 03:26: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'), 47638, 'SRID=4674;POINT (-40.280623 -2.798658)', '2026-07-10 03:26:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280735 -2.798564)'), GeomFromEWKT('SRID=4674;POINT (-40.280623 -2.798658)'))) / (select extract(epoch from '2026-07-10 03:26:19'::timestamp) - extract(epoch from '2026-07-10 03:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280735 -2.798564)'), GeomFromEWKT('SRID=4674;POINT (-40.280623 -2.798658)'))) / (select extract(epoch from '2026-07-10 03:26:19'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.280504 -2.798771)', '2026-07-10 03:26:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280623 -2.798658)'), GeomFromEWKT('SRID=4674;POINT (-40.280504 -2.798771)'))) / (select extract(epoch from '2026-07-10 03:26:28'::timestamp) - extract(epoch from '2026-07-10 03:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280623 -2.798658)'), GeomFromEWKT('SRID=4674;POINT (-40.280504 -2.798771)'))) / (select extract(epoch from '2026-07-10 03:26:28'::timestamp) - extract(epoch from '2026-07-10 03:26: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'), 47638, 'SRID=4674;POINT (-40.280375 -2.798884)', '2026-07-10 03:26:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280504 -2.798771)'), GeomFromEWKT('SRID=4674;POINT (-40.280375 -2.798884)'))) / (select extract(epoch from '2026-07-10 03:26:37'::timestamp) - extract(epoch from '2026-07-10 03:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280504 -2.798771)'), GeomFromEWKT('SRID=4674;POINT (-40.280375 -2.798884)'))) / (select extract(epoch from '2026-07-10 03:26:37'::timestamp) - extract(epoch from '2026-07-10 03:26: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'), 47638, 'SRID=4674;POINT (-40.280235 -2.798971)', '2026-07-10 03:26:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280375 -2.798884)'), GeomFromEWKT('SRID=4674;POINT (-40.280235 -2.798971)'))) / (select extract(epoch from '2026-07-10 03:26:46'::timestamp) - extract(epoch from '2026-07-10 03:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280375 -2.798884)'), GeomFromEWKT('SRID=4674;POINT (-40.280235 -2.798971)'))) / (select extract(epoch from '2026-07-10 03:26:46'::timestamp) - extract(epoch from '2026-07-10 03:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.280101 -2.799064)', '2026-07-10 03:26:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280235 -2.798971)'), GeomFromEWKT('SRID=4674;POINT (-40.280101 -2.799064)'))) / (select extract(epoch from '2026-07-10 03:26:55'::timestamp) - extract(epoch from '2026-07-10 03:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280235 -2.798971)'), GeomFromEWKT('SRID=4674;POINT (-40.280101 -2.799064)'))) / (select extract(epoch from '2026-07-10 03:26:55'::timestamp) - extract(epoch from '2026-07-10 03:26: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'), 47638, 'SRID=4674;POINT (-40.279979 -2.799148)', '2026-07-10 03:27:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280101 -2.799064)'), GeomFromEWKT('SRID=4674;POINT (-40.279979 -2.799148)'))) / (select extract(epoch from '2026-07-10 03:27:03'::timestamp) - extract(epoch from '2026-07-10 03:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.280101 -2.799064)'), GeomFromEWKT('SRID=4674;POINT (-40.279979 -2.799148)'))) / (select extract(epoch from '2026-07-10 03:27:03'::timestamp) - extract(epoch from '2026-07-10 03:26: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'), 47638, 'SRID=4674;POINT (-40.279883 -2.79919)', '2026-07-10 03:27:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279979 -2.799148)'), GeomFromEWKT('SRID=4674;POINT (-40.279883 -2.79919)'))) / (select extract(epoch from '2026-07-10 03:27:09'::timestamp) - extract(epoch from '2026-07-10 03:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279979 -2.799148)'), GeomFromEWKT('SRID=4674;POINT (-40.279883 -2.79919)'))) / (select extract(epoch from '2026-07-10 03:27:09'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47638, 'SRID=4674;POINT (-40.279742 -2.799187)', '2026-07-10 03:27:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279883 -2.79919)'), GeomFromEWKT('SRID=4674;POINT (-40.279742 -2.799187)'))) / (select extract(epoch from '2026-07-10 03:27:17'::timestamp) - extract(epoch from '2026-07-10 03:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279883 -2.79919)'), GeomFromEWKT('SRID=4674;POINT (-40.279742 -2.799187)'))) / (select extract(epoch from '2026-07-10 03:27:17'::timestamp) - extract(epoch from '2026-07-10 03:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.279595 -2.799243)', '2026-07-10 03:27:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279742 -2.799187)'), GeomFromEWKT('SRID=4674;POINT (-40.279595 -2.799243)'))) / (select extract(epoch from '2026-07-10 03:27:26'::timestamp) - extract(epoch from '2026-07-10 03:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279742 -2.799187)'), GeomFromEWKT('SRID=4674;POINT (-40.279595 -2.799243)'))) / (select extract(epoch from '2026-07-10 03:27:26'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47638, 'SRID=4674;POINT (-40.279554 -2.799344)', '2026-07-10 03:27:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279595 -2.799243)'), GeomFromEWKT('SRID=4674;POINT (-40.279554 -2.799344)'))) / (select extract(epoch from '2026-07-10 03:27:33'::timestamp) - extract(epoch from '2026-07-10 03:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279595 -2.799243)'), GeomFromEWKT('SRID=4674;POINT (-40.279554 -2.799344)'))) / (select extract(epoch from '2026-07-10 03:27:33'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47638, 'SRID=4674;POINT (-40.279591 -2.799475)', '2026-07-10 03:27:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279554 -2.799344)'), GeomFromEWKT('SRID=4674;POINT (-40.279591 -2.799475)'))) / (select extract(epoch from '2026-07-10 03:27:40'::timestamp) - extract(epoch from '2026-07-10 03:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279554 -2.799344)'), GeomFromEWKT('SRID=4674;POINT (-40.279591 -2.799475)'))) / (select extract(epoch from '2026-07-10 03:27:40'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47638, 'SRID=4674;POINT (-40.279646 -2.799623)', '2026-07-10 03:27:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279591 -2.799475)'), GeomFromEWKT('SRID=4674;POINT (-40.279646 -2.799623)'))) / (select extract(epoch from '2026-07-10 03:27:48'::timestamp) - extract(epoch from '2026-07-10 03:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279591 -2.799475)'), GeomFromEWKT('SRID=4674;POINT (-40.279646 -2.799623)'))) / (select extract(epoch from '2026-07-10 03:27:48'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47638, 'SRID=4674;POINT (-40.279694 -2.799756)', '2026-07-10 03:27:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279646 -2.799623)'), GeomFromEWKT('SRID=4674;POINT (-40.279694 -2.799756)'))) / (select extract(epoch from '2026-07-10 03:27:55'::timestamp) - extract(epoch from '2026-07-10 03:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279646 -2.799623)'), GeomFromEWKT('SRID=4674;POINT (-40.279694 -2.799756)'))) / (select extract(epoch from '2026-07-10 03:27:55'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.279747 -2.799911)', '2026-07-10 03:28:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279694 -2.799756)'), GeomFromEWKT('SRID=4674;POINT (-40.279747 -2.799911)'))) / (select extract(epoch from '2026-07-10 03:28:03'::timestamp) - extract(epoch from '2026-07-10 03:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279694 -2.799756)'), GeomFromEWKT('SRID=4674;POINT (-40.279747 -2.799911)'))) / (select extract(epoch from '2026-07-10 03:28:03'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47638, 'SRID=4674;POINT (-40.279776 -2.800044)', '2026-07-10 03:28:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279747 -2.799911)'), GeomFromEWKT('SRID=4674;POINT (-40.279776 -2.800044)'))) / (select extract(epoch from '2026-07-10 03:28:10'::timestamp) - extract(epoch from '2026-07-10 03:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279747 -2.799911)'), GeomFromEWKT('SRID=4674;POINT (-40.279776 -2.800044)'))) / (select extract(epoch from '2026-07-10 03:28:10'::timestamp) - extract(epoch from '2026-07-10 03:28: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'), 47638, 'SRID=4674;POINT (-40.27984 -2.80022)', '2026-07-10 03:28:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279776 -2.800044)'), GeomFromEWKT('SRID=4674;POINT (-40.27984 -2.80022)'))) / (select extract(epoch from '2026-07-10 03:28:19'::timestamp) - extract(epoch from '2026-07-10 03:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279776 -2.800044)'), GeomFromEWKT('SRID=4674;POINT (-40.27984 -2.80022)'))) / (select extract(epoch from '2026-07-10 03:28:19'::timestamp) - extract(epoch from '2026-07-10 03:28: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'), 47638, 'SRID=4674;POINT (-40.279896 -2.800378)', '2026-07-10 03:28:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.27984 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.279896 -2.800378)'))) / (select extract(epoch from '2026-07-10 03:28:27'::timestamp) - extract(epoch from '2026-07-10 03:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.27984 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.279896 -2.800378)'))) / (select extract(epoch from '2026-07-10 03:28:27'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47638, 'SRID=4674;POINT (-40.279946 -2.800506)', '2026-07-10 03:28:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279896 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.279946 -2.800506)'))) / (select extract(epoch from '2026-07-10 03:28:34'::timestamp) - extract(epoch from '2026-07-10 03:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.279896 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.279946 -2.800506)'))) / (select extract(epoch from '2026-07-10 03:28:34'::timestamp) - extract(epoch from '2026-07-10 03:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
