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'), 47640, 'SRID=4674;POINT (-40.35124 -2.805721)', '2026-07-23 02:35:39', 10.6, 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'), 47640, 'SRID=4674;POINT (-40.351143 -2.805574)', '2026-07-23 02:35:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35124 -2.805721)'), GeomFromEWKT('SRID=4674;POINT (-40.351143 -2.805574)'))) / (select extract(epoch from '2026-07-23 02:35:47'::timestamp) - extract(epoch from '2026-07-23 02:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35124 -2.805721)'), GeomFromEWKT('SRID=4674;POINT (-40.351143 -2.805574)'))) / (select extract(epoch from '2026-07-23 02:35:47'::timestamp) - extract(epoch from '2026-07-23 02:35: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'), 47640, 'SRID=4674;POINT (-40.350997 -2.805496)', '2026-07-23 02:35:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351143 -2.805574)'), GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.805496)'))) / (select extract(epoch from '2026-07-23 02:35:55'::timestamp) - extract(epoch from '2026-07-23 02:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351143 -2.805574)'), GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.805496)'))) / (select extract(epoch from '2026-07-23 02:35:55'::timestamp) - extract(epoch from '2026-07-23 02:35: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'), 47640, 'SRID=4674;POINT (-40.350838 -2.805415)', '2026-07-23 02:36:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.805496)'), GeomFromEWKT('SRID=4674;POINT (-40.350838 -2.805415)'))) / (select extract(epoch from '2026-07-23 02:36:04'::timestamp) - extract(epoch from '2026-07-23 02:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.805496)'), GeomFromEWKT('SRID=4674;POINT (-40.350838 -2.805415)'))) / (select extract(epoch from '2026-07-23 02:36:04'::timestamp) - extract(epoch from '2026-07-23 02:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.350692 -2.805343)', '2026-07-23 02:36:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350838 -2.805415)'), GeomFromEWKT('SRID=4674;POINT (-40.350692 -2.805343)'))) / (select extract(epoch from '2026-07-23 02:36:14'::timestamp) - extract(epoch from '2026-07-23 02:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350838 -2.805415)'), GeomFromEWKT('SRID=4674;POINT (-40.350692 -2.805343)'))) / (select extract(epoch from '2026-07-23 02:36:14'::timestamp) - extract(epoch from '2026-07-23 02:36: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'), 47640, 'SRID=4674;POINT (-40.350507 -2.805268)', '2026-07-23 02:36:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350692 -2.805343)'), GeomFromEWKT('SRID=4674;POINT (-40.350507 -2.805268)'))) / (select extract(epoch from '2026-07-23 02:36:25'::timestamp) - extract(epoch from '2026-07-23 02:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350692 -2.805343)'), GeomFromEWKT('SRID=4674;POINT (-40.350507 -2.805268)'))) / (select extract(epoch from '2026-07-23 02:36:25'::timestamp) - extract(epoch from '2026-07-23 02:36: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'), 47640, 'SRID=4674;POINT (-40.350354 -2.80519)', '2026-07-23 02:36:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350507 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.350354 -2.80519)'))) / (select extract(epoch from '2026-07-23 02:36:34'::timestamp) - extract(epoch from '2026-07-23 02:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350507 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.350354 -2.80519)'))) / (select extract(epoch from '2026-07-23 02:36:34'::timestamp) - extract(epoch from '2026-07-23 02:36: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'), 47640, 'SRID=4674;POINT (-40.350215 -2.805098)', '2026-07-23 02:36:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350354 -2.80519)'), GeomFromEWKT('SRID=4674;POINT (-40.350215 -2.805098)'))) / (select extract(epoch from '2026-07-23 02:36:42'::timestamp) - extract(epoch from '2026-07-23 02:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350354 -2.80519)'), GeomFromEWKT('SRID=4674;POINT (-40.350215 -2.805098)'))) / (select extract(epoch from '2026-07-23 02:36:42'::timestamp) - extract(epoch from '2026-07-23 02:36: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'), 47640, 'SRID=4674;POINT (-40.350066 -2.804989)', '2026-07-23 02:36:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350215 -2.805098)'), GeomFromEWKT('SRID=4674;POINT (-40.350066 -2.804989)'))) / (select extract(epoch from '2026-07-23 02:36:51'::timestamp) - extract(epoch from '2026-07-23 02:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350215 -2.805098)'), GeomFromEWKT('SRID=4674;POINT (-40.350066 -2.804989)'))) / (select extract(epoch from '2026-07-23 02:36:51'::timestamp) - extract(epoch from '2026-07-23 02:36: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'), 47640, 'SRID=4674;POINT (-40.349911 -2.804906)', '2026-07-23 02:36:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350066 -2.804989)'), GeomFromEWKT('SRID=4674;POINT (-40.349911 -2.804906)'))) / (select extract(epoch from '2026-07-23 02:36:59'::timestamp) - extract(epoch from '2026-07-23 02:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350066 -2.804989)'), GeomFromEWKT('SRID=4674;POINT (-40.349911 -2.804906)'))) / (select extract(epoch from '2026-07-23 02:36:59'::timestamp) - extract(epoch from '2026-07-23 02:36: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'), 47640, 'SRID=4674;POINT (-40.349696 -2.804797)', '2026-07-23 02:37:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349911 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.349696 -2.804797)'))) / (select extract(epoch from '2026-07-23 02:37:10'::timestamp) - extract(epoch from '2026-07-23 02:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349911 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.349696 -2.804797)'))) / (select extract(epoch from '2026-07-23 02:37:10'::timestamp) - extract(epoch from '2026-07-23 02:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.349512 -2.804718)', '2026-07-23 02:37:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349696 -2.804797)'), GeomFromEWKT('SRID=4674;POINT (-40.349512 -2.804718)'))) / (select extract(epoch from '2026-07-23 02:37:20'::timestamp) - extract(epoch from '2026-07-23 02:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349696 -2.804797)'), GeomFromEWKT('SRID=4674;POINT (-40.349512 -2.804718)'))) / (select extract(epoch from '2026-07-23 02:37:20'::timestamp) - extract(epoch from '2026-07-23 02:37: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'), 47640, 'SRID=4674;POINT (-40.349347 -2.804629)', '2026-07-23 02:37:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349512 -2.804718)'), GeomFromEWKT('SRID=4674;POINT (-40.349347 -2.804629)'))) / (select extract(epoch from '2026-07-23 02:37:29'::timestamp) - extract(epoch from '2026-07-23 02:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349512 -2.804718)'), GeomFromEWKT('SRID=4674;POINT (-40.349347 -2.804629)'))) / (select extract(epoch from '2026-07-23 02:37:29'::timestamp) - extract(epoch from '2026-07-23 02:37: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'), 47640, 'SRID=4674;POINT (-40.349141 -2.80452)', '2026-07-23 02:37:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349347 -2.804629)'), GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.80452)'))) / (select extract(epoch from '2026-07-23 02:37:40'::timestamp) - extract(epoch from '2026-07-23 02:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349347 -2.804629)'), GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.80452)'))) / (select extract(epoch from '2026-07-23 02:37:40'::timestamp) - extract(epoch from '2026-07-23 02:37: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'), 47640, 'SRID=4674;POINT (-40.34897 -2.804431)', '2026-07-23 02:37:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.34897 -2.804431)'))) / (select extract(epoch from '2026-07-23 02:37:49'::timestamp) - extract(epoch from '2026-07-23 02:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.34897 -2.804431)'))) / (select extract(epoch from '2026-07-23 02:37:49'::timestamp) - extract(epoch from '2026-07-23 02:37: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'), 47640, 'SRID=4674;POINT (-40.348798 -2.804364)', '2026-07-23 02:37:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34897 -2.804431)'), GeomFromEWKT('SRID=4674;POINT (-40.348798 -2.804364)'))) / (select extract(epoch from '2026-07-23 02:37:58'::timestamp) - extract(epoch from '2026-07-23 02:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34897 -2.804431)'), GeomFromEWKT('SRID=4674;POINT (-40.348798 -2.804364)'))) / (select extract(epoch from '2026-07-23 02:37:58'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.348659 -2.804304)', '2026-07-23 02:38:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348798 -2.804364)'), GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.804304)'))) / (select extract(epoch from '2026-07-23 02:38:05'::timestamp) - extract(epoch from '2026-07-23 02:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348798 -2.804364)'), GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.804304)'))) / (select extract(epoch from '2026-07-23 02:38:05'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.348494 -2.80421)', '2026-07-23 02:38:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.804304)'), GeomFromEWKT('SRID=4674;POINT (-40.348494 -2.80421)'))) / (select extract(epoch from '2026-07-23 02:38:14'::timestamp) - extract(epoch from '2026-07-23 02:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.804304)'), GeomFromEWKT('SRID=4674;POINT (-40.348494 -2.80421)'))) / (select extract(epoch from '2026-07-23 02:38:14'::timestamp) - extract(epoch from '2026-07-23 02:38: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'), 47640, 'SRID=4674;POINT (-40.348371 -2.804143)', '2026-07-23 02:38:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348494 -2.80421)'), GeomFromEWKT('SRID=4674;POINT (-40.348371 -2.804143)'))) / (select extract(epoch from '2026-07-23 02:38:21'::timestamp) - extract(epoch from '2026-07-23 02:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348494 -2.80421)'), GeomFromEWKT('SRID=4674;POINT (-40.348371 -2.804143)'))) / (select extract(epoch from '2026-07-23 02:38:21'::timestamp) - extract(epoch from '2026-07-23 02:38: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'), 47640, 'SRID=4674;POINT (-40.348201 -2.804053)', '2026-07-23 02:38:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348371 -2.804143)'), GeomFromEWKT('SRID=4674;POINT (-40.348201 -2.804053)'))) / (select extract(epoch from '2026-07-23 02:38:30'::timestamp) - extract(epoch from '2026-07-23 02:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348371 -2.804143)'), GeomFromEWKT('SRID=4674;POINT (-40.348201 -2.804053)'))) / (select extract(epoch from '2026-07-23 02:38:30'::timestamp) - extract(epoch from '2026-07-23 02:38: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'), 47640, 'SRID=4674;POINT (-40.348051 -2.803971)', '2026-07-23 02:38:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348201 -2.804053)'), GeomFromEWKT('SRID=4674;POINT (-40.348051 -2.803971)'))) / (select extract(epoch from '2026-07-23 02:38:38'::timestamp) - extract(epoch from '2026-07-23 02:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348201 -2.804053)'), GeomFromEWKT('SRID=4674;POINT (-40.348051 -2.803971)'))) / (select extract(epoch from '2026-07-23 02:38:38'::timestamp) - extract(epoch from '2026-07-23 02:38: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'), 47640, 'SRID=4674;POINT (-40.347832 -2.803841)', '2026-07-23 02:38:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348051 -2.803971)'), GeomFromEWKT('SRID=4674;POINT (-40.347832 -2.803841)'))) / (select extract(epoch from '2026-07-23 02:38:50'::timestamp) - extract(epoch from '2026-07-23 02:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348051 -2.803971)'), GeomFromEWKT('SRID=4674;POINT (-40.347832 -2.803841)'))) / (select extract(epoch from '2026-07-23 02:38:50'::timestamp) - extract(epoch from '2026-07-23 02:38: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'), 47640, 'SRID=4674;POINT (-40.347648 -2.80372)', '2026-07-23 02:39:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347832 -2.803841)'), GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.80372)'))) / (select extract(epoch from '2026-07-23 02:39:00'::timestamp) - extract(epoch from '2026-07-23 02:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347832 -2.803841)'), GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.80372)'))) / (select extract(epoch from '2026-07-23 02:39:00'::timestamp) - extract(epoch from '2026-07-23 02:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.347501 -2.803633)', '2026-07-23 02:39:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.80372)'), GeomFromEWKT('SRID=4674;POINT (-40.347501 -2.803633)'))) / (select extract(epoch from '2026-07-23 02:39:08'::timestamp) - extract(epoch from '2026-07-23 02:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.80372)'), GeomFromEWKT('SRID=4674;POINT (-40.347501 -2.803633)'))) / (select extract(epoch from '2026-07-23 02:39:08'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.347322 -2.803516)', '2026-07-23 02:39:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347501 -2.803633)'), GeomFromEWKT('SRID=4674;POINT (-40.347322 -2.803516)'))) / (select extract(epoch from '2026-07-23 02:39:18'::timestamp) - extract(epoch from '2026-07-23 02:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347501 -2.803633)'), GeomFromEWKT('SRID=4674;POINT (-40.347322 -2.803516)'))) / (select extract(epoch from '2026-07-23 02:39:18'::timestamp) - extract(epoch from '2026-07-23 02:39: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'), 47640, 'SRID=4674;POINT (-40.347145 -2.80339)', '2026-07-23 02:39:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347322 -2.803516)'), GeomFromEWKT('SRID=4674;POINT (-40.347145 -2.80339)'))) / (select extract(epoch from '2026-07-23 02:39:28'::timestamp) - extract(epoch from '2026-07-23 02:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347322 -2.803516)'), GeomFromEWKT('SRID=4674;POINT (-40.347145 -2.80339)'))) / (select extract(epoch from '2026-07-23 02:39:28'::timestamp) - extract(epoch from '2026-07-23 02:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.346921 -2.803234)', '2026-07-23 02:39:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347145 -2.80339)'), GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.803234)'))) / (select extract(epoch from '2026-07-23 02:39:41'::timestamp) - extract(epoch from '2026-07-23 02:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347145 -2.80339)'), GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.803234)'))) / (select extract(epoch from '2026-07-23 02:39:41'::timestamp) - extract(epoch from '2026-07-23 02:39: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'), 47640, 'SRID=4674;POINT (-40.34675 -2.803109)', '2026-07-23 02:39:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.803234)'), GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.803109)'))) / (select extract(epoch from '2026-07-23 02:39:51'::timestamp) - extract(epoch from '2026-07-23 02:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.803234)'), GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.803109)'))) / (select extract(epoch from '2026-07-23 02:39:51'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.346571 -2.802991)', '2026-07-23 02:40:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.346571 -2.802991)'))) / (select extract(epoch from '2026-07-23 02:40:01'::timestamp) - extract(epoch from '2026-07-23 02:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.803109)'), GeomFromEWKT('SRID=4674;POINT (-40.346571 -2.802991)'))) / (select extract(epoch from '2026-07-23 02:40:01'::timestamp) - extract(epoch from '2026-07-23 02:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.346395 -2.802865)', '2026-07-23 02:40:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346571 -2.802991)'), GeomFromEWKT('SRID=4674;POINT (-40.346395 -2.802865)'))) / (select extract(epoch from '2026-07-23 02:40:11'::timestamp) - extract(epoch from '2026-07-23 02:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346571 -2.802991)'), GeomFromEWKT('SRID=4674;POINT (-40.346395 -2.802865)'))) / (select extract(epoch from '2026-07-23 02:40:11'::timestamp) - extract(epoch from '2026-07-23 02:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.346217 -2.802747)', '2026-07-23 02:40:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346395 -2.802865)'), GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.802747)'))) / (select extract(epoch from '2026-07-23 02:40:21'::timestamp) - extract(epoch from '2026-07-23 02:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346395 -2.802865)'), GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.802747)'))) / (select extract(epoch from '2026-07-23 02:40:21'::timestamp) - extract(epoch from '2026-07-23 02:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.346039 -2.802608)', '2026-07-23 02:40:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.802747)'), GeomFromEWKT('SRID=4674;POINT (-40.346039 -2.802608)'))) / (select extract(epoch from '2026-07-23 02:40:32'::timestamp) - extract(epoch from '2026-07-23 02:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.802747)'), GeomFromEWKT('SRID=4674;POINT (-40.346039 -2.802608)'))) / (select extract(epoch from '2026-07-23 02:40:32'::timestamp) - extract(epoch from '2026-07-23 02:40: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'), 47640, 'SRID=4674;POINT (-40.3459 -2.80251)', '2026-07-23 02:40:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346039 -2.802608)'), GeomFromEWKT('SRID=4674;POINT (-40.3459 -2.80251)'))) / (select extract(epoch from '2026-07-23 02:40:40'::timestamp) - extract(epoch from '2026-07-23 02:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346039 -2.802608)'), GeomFromEWKT('SRID=4674;POINT (-40.3459 -2.80251)'))) / (select extract(epoch from '2026-07-23 02:40:40'::timestamp) - extract(epoch from '2026-07-23 02:40: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'), 47640, 'SRID=4674;POINT (-40.345708 -2.802378)', '2026-07-23 02:40:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3459 -2.80251)'), GeomFromEWKT('SRID=4674;POINT (-40.345708 -2.802378)'))) / (select extract(epoch from '2026-07-23 02:40:51'::timestamp) - extract(epoch from '2026-07-23 02:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3459 -2.80251)'), GeomFromEWKT('SRID=4674;POINT (-40.345708 -2.802378)'))) / (select extract(epoch from '2026-07-23 02:40:51'::timestamp) - extract(epoch from '2026-07-23 02:40: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'), 47640, 'SRID=4674;POINT (-40.345489 -2.802233)', '2026-07-23 02:41:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345708 -2.802378)'), GeomFromEWKT('SRID=4674;POINT (-40.345489 -2.802233)'))) / (select extract(epoch from '2026-07-23 02:41:03'::timestamp) - extract(epoch from '2026-07-23 02:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345708 -2.802378)'), GeomFromEWKT('SRID=4674;POINT (-40.345489 -2.802233)'))) / (select extract(epoch from '2026-07-23 02:41:03'::timestamp) - extract(epoch from '2026-07-23 02:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.345263 -2.802106)', '2026-07-23 02:41:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345489 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.345263 -2.802106)'))) / (select extract(epoch from '2026-07-23 02:41:15'::timestamp) - extract(epoch from '2026-07-23 02:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345489 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.345263 -2.802106)'))) / (select extract(epoch from '2026-07-23 02:41:15'::timestamp) - extract(epoch from '2026-07-23 02:41: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'), 47640, 'SRID=4674;POINT (-40.345056 -2.801998)', '2026-07-23 02:41:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345263 -2.802106)'), GeomFromEWKT('SRID=4674;POINT (-40.345056 -2.801998)'))) / (select extract(epoch from '2026-07-23 02:41:26'::timestamp) - extract(epoch from '2026-07-23 02:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345263 -2.802106)'), GeomFromEWKT('SRID=4674;POINT (-40.345056 -2.801998)'))) / (select extract(epoch from '2026-07-23 02:41:26'::timestamp) - extract(epoch from '2026-07-23 02:41: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'), 47640, 'SRID=4674;POINT (-40.344853 -2.801912)', '2026-07-23 02:41:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345056 -2.801998)'), GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.801912)'))) / (select extract(epoch from '2026-07-23 02:41:36'::timestamp) - extract(epoch from '2026-07-23 02:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345056 -2.801998)'), GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.801912)'))) / (select extract(epoch from '2026-07-23 02:41:36'::timestamp) - extract(epoch from '2026-07-23 02:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.344597 -2.801827)', '2026-07-23 02:41:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.801912)'), GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.801827)'))) / (select extract(epoch from '2026-07-23 02:41:48'::timestamp) - extract(epoch from '2026-07-23 02:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344853 -2.801912)'), GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.801827)'))) / (select extract(epoch from '2026-07-23 02:41:48'::timestamp) - extract(epoch from '2026-07-23 02:41: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'), 47640, 'SRID=4674;POINT (-40.344453 -2.801782)', '2026-07-23 02:41:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.801827)'), GeomFromEWKT('SRID=4674;POINT (-40.344453 -2.801782)'))) / (select extract(epoch from '2026-07-23 02:41:55'::timestamp) - extract(epoch from '2026-07-23 02:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.801827)'), GeomFromEWKT('SRID=4674;POINT (-40.344453 -2.801782)'))) / (select extract(epoch from '2026-07-23 02:41:55'::timestamp) - extract(epoch from '2026-07-23 02:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.344281 -2.80173)', '2026-07-23 02:42:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344453 -2.801782)'), GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.80173)'))) / (select extract(epoch from '2026-07-23 02:42:04'::timestamp) - extract(epoch from '2026-07-23 02:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344453 -2.801782)'), GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.80173)'))) / (select extract(epoch from '2026-07-23 02:42:04'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.344104 -2.801692)', '2026-07-23 02:42:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.801692)'))) / (select extract(epoch from '2026-07-23 02:42:13'::timestamp) - extract(epoch from '2026-07-23 02:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.801692)'))) / (select extract(epoch from '2026-07-23 02:42:13'::timestamp) - extract(epoch from '2026-07-23 02:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.343844 -2.80162)', '2026-07-23 02:42:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.801692)'), GeomFromEWKT('SRID=4674;POINT (-40.343844 -2.80162)'))) / (select extract(epoch from '2026-07-23 02:42:26'::timestamp) - extract(epoch from '2026-07-23 02:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344104 -2.801692)'), GeomFromEWKT('SRID=4674;POINT (-40.343844 -2.80162)'))) / (select extract(epoch from '2026-07-23 02:42:26'::timestamp) - extract(epoch from '2026-07-23 02:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.343629 -2.80155)', '2026-07-23 02:42:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343844 -2.80162)'), GeomFromEWKT('SRID=4674;POINT (-40.343629 -2.80155)'))) / (select extract(epoch from '2026-07-23 02:42:37'::timestamp) - extract(epoch from '2026-07-23 02:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343844 -2.80162)'), GeomFromEWKT('SRID=4674;POINT (-40.343629 -2.80155)'))) / (select extract(epoch from '2026-07-23 02:42:37'::timestamp) - extract(epoch from '2026-07-23 02:42: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'), 47640, 'SRID=4674;POINT (-40.343444 -2.801498)', '2026-07-23 02:42:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343629 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.343444 -2.801498)'))) / (select extract(epoch from '2026-07-23 02:42:46'::timestamp) - extract(epoch from '2026-07-23 02:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343629 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.343444 -2.801498)'))) / (select extract(epoch from '2026-07-23 02:42:46'::timestamp) - extract(epoch from '2026-07-23 02:42: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'), 47640, 'SRID=4674;POINT (-40.343215 -2.80143)', '2026-07-23 02:42:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343444 -2.801498)'), GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.80143)'))) / (select extract(epoch from '2026-07-23 02:42:57'::timestamp) - extract(epoch from '2026-07-23 02:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343444 -2.801498)'), GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.80143)'))) / (select extract(epoch from '2026-07-23 02:42:57'::timestamp) - extract(epoch from '2026-07-23 02:42: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'), 47640, 'SRID=4674;POINT (-40.343037 -2.801356)', '2026-07-23 02:43:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.80143)'), GeomFromEWKT('SRID=4674;POINT (-40.343037 -2.801356)'))) / (select extract(epoch from '2026-07-23 02:43:06'::timestamp) - extract(epoch from '2026-07-23 02:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.80143)'), GeomFromEWKT('SRID=4674;POINT (-40.343037 -2.801356)'))) / (select extract(epoch from '2026-07-23 02:43:06'::timestamp) - extract(epoch from '2026-07-23 02:42: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'), 47640, 'SRID=4674;POINT (-40.342833 -2.801281)', '2026-07-23 02:43:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343037 -2.801356)'), GeomFromEWKT('SRID=4674;POINT (-40.342833 -2.801281)'))) / (select extract(epoch from '2026-07-23 02:43:16'::timestamp) - extract(epoch from '2026-07-23 02:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343037 -2.801356)'), GeomFromEWKT('SRID=4674;POINT (-40.342833 -2.801281)'))) / (select extract(epoch from '2026-07-23 02:43:16'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.342611 -2.801207)', '2026-07-23 02:43:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342833 -2.801281)'), GeomFromEWKT('SRID=4674;POINT (-40.342611 -2.801207)'))) / (select extract(epoch from '2026-07-23 02:43:27'::timestamp) - extract(epoch from '2026-07-23 02:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342833 -2.801281)'), GeomFromEWKT('SRID=4674;POINT (-40.342611 -2.801207)'))) / (select extract(epoch from '2026-07-23 02:43:27'::timestamp) - extract(epoch from '2026-07-23 02:43: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'), 47640, 'SRID=4674;POINT (-40.342387 -2.801131)', '2026-07-23 02:43:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342611 -2.801207)'), GeomFromEWKT('SRID=4674;POINT (-40.342387 -2.801131)'))) / (select extract(epoch from '2026-07-23 02:43:38'::timestamp) - extract(epoch from '2026-07-23 02:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342611 -2.801207)'), GeomFromEWKT('SRID=4674;POINT (-40.342387 -2.801131)'))) / (select extract(epoch from '2026-07-23 02:43:38'::timestamp) - extract(epoch from '2026-07-23 02:43: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'), 47640, 'SRID=4674;POINT (-40.342173 -2.801033)', '2026-07-23 02:43:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342387 -2.801131)'), GeomFromEWKT('SRID=4674;POINT (-40.342173 -2.801033)'))) / (select extract(epoch from '2026-07-23 02:43:49'::timestamp) - extract(epoch from '2026-07-23 02:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342387 -2.801131)'), GeomFromEWKT('SRID=4674;POINT (-40.342173 -2.801033)'))) / (select extract(epoch from '2026-07-23 02:43:49'::timestamp) - extract(epoch from '2026-07-23 02:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.341982 -2.80094)', '2026-07-23 02:43:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342173 -2.801033)'), GeomFromEWKT('SRID=4674;POINT (-40.341982 -2.80094)'))) / (select extract(epoch from '2026-07-23 02:43:59'::timestamp) - extract(epoch from '2026-07-23 02:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342173 -2.801033)'), GeomFromEWKT('SRID=4674;POINT (-40.341982 -2.80094)'))) / (select extract(epoch from '2026-07-23 02:43:59'::timestamp) - extract(epoch from '2026-07-23 02:43: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'), 47640, 'SRID=4674;POINT (-40.341753 -2.800829)', '2026-07-23 02:44:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341982 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.341753 -2.800829)'))) / (select extract(epoch from '2026-07-23 02:44:11'::timestamp) - extract(epoch from '2026-07-23 02:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341982 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.341753 -2.800829)'))) / (select extract(epoch from '2026-07-23 02:44:11'::timestamp) - extract(epoch from '2026-07-23 02:43: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'), 47640, 'SRID=4674;POINT (-40.341502 -2.800715)', '2026-07-23 02:44:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341753 -2.800829)'), GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800715)'))) / (select extract(epoch from '2026-07-23 02:44:24'::timestamp) - extract(epoch from '2026-07-23 02:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341753 -2.800829)'), GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800715)'))) / (select extract(epoch from '2026-07-23 02:44:24'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.341314 -2.800629)', '2026-07-23 02:44:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800715)'), GeomFromEWKT('SRID=4674;POINT (-40.341314 -2.800629)'))) / (select extract(epoch from '2026-07-23 02:44:34'::timestamp) - extract(epoch from '2026-07-23 02:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800715)'), GeomFromEWKT('SRID=4674;POINT (-40.341314 -2.800629)'))) / (select extract(epoch from '2026-07-23 02:44:34'::timestamp) - extract(epoch from '2026-07-23 02:44: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'), 47640, 'SRID=4674;POINT (-40.341104 -2.800541)', '2026-07-23 02:44:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341314 -2.800629)'), GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.800541)'))) / (select extract(epoch from '2026-07-23 02:44:45'::timestamp) - extract(epoch from '2026-07-23 02:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341314 -2.800629)'), GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.800541)'))) / (select extract(epoch from '2026-07-23 02:44:45'::timestamp) - extract(epoch from '2026-07-23 02:44: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'), 47640, 'SRID=4674;POINT (-40.340911 -2.800456)', '2026-07-23 02:44:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.800541)'), GeomFromEWKT('SRID=4674;POINT (-40.340911 -2.800456)'))) / (select extract(epoch from '2026-07-23 02:44:55'::timestamp) - extract(epoch from '2026-07-23 02:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.800541)'), GeomFromEWKT('SRID=4674;POINT (-40.340911 -2.800456)'))) / (select extract(epoch from '2026-07-23 02:44:55'::timestamp) - extract(epoch from '2026-07-23 02:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.340671 -2.800367)', '2026-07-23 02:45:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340911 -2.800456)'), GeomFromEWKT('SRID=4674;POINT (-40.340671 -2.800367)'))) / (select extract(epoch from '2026-07-23 02:45:07'::timestamp) - extract(epoch from '2026-07-23 02:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340911 -2.800456)'), GeomFromEWKT('SRID=4674;POINT (-40.340671 -2.800367)'))) / (select extract(epoch from '2026-07-23 02:45:07'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.340515 -2.8003)', '2026-07-23 02:45:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340671 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.340515 -2.8003)'))) / (select extract(epoch from '2026-07-23 02:45:15'::timestamp) - extract(epoch from '2026-07-23 02:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340671 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.340515 -2.8003)'))) / (select extract(epoch from '2026-07-23 02:45:15'::timestamp) - extract(epoch from '2026-07-23 02:45: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'), 47640, 'SRID=4674;POINT (-40.340277 -2.800207)', '2026-07-23 02:45:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340515 -2.8003)'), GeomFromEWKT('SRID=4674;POINT (-40.340277 -2.800207)'))) / (select extract(epoch from '2026-07-23 02:45:27'::timestamp) - extract(epoch from '2026-07-23 02:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340515 -2.8003)'), GeomFromEWKT('SRID=4674;POINT (-40.340277 -2.800207)'))) / (select extract(epoch from '2026-07-23 02:45:27'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.340058 -2.800119)', '2026-07-23 02:45:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340277 -2.800207)'), GeomFromEWKT('SRID=4674;POINT (-40.340058 -2.800119)'))) / (select extract(epoch from '2026-07-23 02:45:38'::timestamp) - extract(epoch from '2026-07-23 02:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340277 -2.800207)'), GeomFromEWKT('SRID=4674;POINT (-40.340058 -2.800119)'))) / (select extract(epoch from '2026-07-23 02:45:38'::timestamp) - extract(epoch from '2026-07-23 02:45: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'), 47640, 'SRID=4674;POINT (-40.33985 -2.800019)', '2026-07-23 02:45:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340058 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.33985 -2.800019)'))) / (select extract(epoch from '2026-07-23 02:45:49'::timestamp) - extract(epoch from '2026-07-23 02:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340058 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.33985 -2.800019)'))) / (select extract(epoch from '2026-07-23 02:45:49'::timestamp) - extract(epoch from '2026-07-23 02:45: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'), 47640, 'SRID=4674;POINT (-40.339657 -2.799931)', '2026-07-23 02:45:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33985 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.799931)'))) / (select extract(epoch from '2026-07-23 02:45:59'::timestamp) - extract(epoch from '2026-07-23 02:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33985 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.799931)'))) / (select extract(epoch from '2026-07-23 02:45:59'::timestamp) - extract(epoch from '2026-07-23 02:45: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'), 47640, 'SRID=4674;POINT (-40.339429 -2.799809)', '2026-07-23 02:46:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.799931)'), GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.799809)'))) / (select extract(epoch from '2026-07-23 02:46:11'::timestamp) - extract(epoch from '2026-07-23 02:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.799931)'), GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.799809)'))) / (select extract(epoch from '2026-07-23 02:46:11'::timestamp) - extract(epoch from '2026-07-23 02:45: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'), 47640, 'SRID=4674;POINT (-40.339225 -2.799705)', '2026-07-23 02:46:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.799809)'), GeomFromEWKT('SRID=4674;POINT (-40.339225 -2.799705)'))) / (select extract(epoch from '2026-07-23 02:46:22'::timestamp) - extract(epoch from '2026-07-23 02:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339429 -2.799809)'), GeomFromEWKT('SRID=4674;POINT (-40.339225 -2.799705)'))) / (select extract(epoch from '2026-07-23 02:46:22'::timestamp) - extract(epoch from '2026-07-23 02:46: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'), 47640, 'SRID=4674;POINT (-40.339102 -2.799638)', '2026-07-23 02:46:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339225 -2.799705)'), GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.799638)'))) / (select extract(epoch from '2026-07-23 02:46:29'::timestamp) - extract(epoch from '2026-07-23 02:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339225 -2.799705)'), GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.799638)'))) / (select extract(epoch from '2026-07-23 02:46:29'::timestamp) - extract(epoch from '2026-07-23 02:46:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.338961 -2.799552)', '2026-07-23 02:46:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.799638)'), GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.799552)'))) / (select extract(epoch from '2026-07-23 02:46:37'::timestamp) - extract(epoch from '2026-07-23 02:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.799638)'), GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.799552)'))) / (select extract(epoch from '2026-07-23 02:46:37'::timestamp) - extract(epoch from '2026-07-23 02:46: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'), 47640, 'SRID=4674;POINT (-40.33875 -2.799466)', '2026-07-23 02:46:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.799552)'), GeomFromEWKT('SRID=4674;POINT (-40.33875 -2.799466)'))) / (select extract(epoch from '2026-07-23 02:46:48'::timestamp) - extract(epoch from '2026-07-23 02:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.799552)'), GeomFromEWKT('SRID=4674;POINT (-40.33875 -2.799466)'))) / (select extract(epoch from '2026-07-23 02:46:48'::timestamp) - extract(epoch from '2026-07-23 02:46: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'), 47640, 'SRID=4674;POINT (-40.338565 -2.799411)', '2026-07-23 02:46:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33875 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.799411)'))) / (select extract(epoch from '2026-07-23 02:46:57'::timestamp) - extract(epoch from '2026-07-23 02:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33875 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.799411)'))) / (select extract(epoch from '2026-07-23 02:46:57'::timestamp) - extract(epoch from '2026-07-23 02:46: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'), 47640, 'SRID=4674;POINT (-40.338385 -2.799346)', '2026-07-23 02:47:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.799411)'), GeomFromEWKT('SRID=4674;POINT (-40.338385 -2.799346)'))) / (select extract(epoch from '2026-07-23 02:47:06'::timestamp) - extract(epoch from '2026-07-23 02:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.799411)'), GeomFromEWKT('SRID=4674;POINT (-40.338385 -2.799346)'))) / (select extract(epoch from '2026-07-23 02:47:06'::timestamp) - extract(epoch from '2026-07-23 02:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.338206 -2.79931)', '2026-07-23 02:47:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338385 -2.799346)'), GeomFromEWKT('SRID=4674;POINT (-40.338206 -2.79931)'))) / (select extract(epoch from '2026-07-23 02:47:15'::timestamp) - extract(epoch from '2026-07-23 02:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338385 -2.799346)'), GeomFromEWKT('SRID=4674;POINT (-40.338206 -2.79931)'))) / (select extract(epoch from '2026-07-23 02:47:15'::timestamp) - extract(epoch from '2026-07-23 02:47: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'), 47640, 'SRID=4674;POINT (-40.337985 -2.799255)', '2026-07-23 02:47:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338206 -2.79931)'), GeomFromEWKT('SRID=4674;POINT (-40.337985 -2.799255)'))) / (select extract(epoch from '2026-07-23 02:47:26'::timestamp) - extract(epoch from '2026-07-23 02:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338206 -2.79931)'), GeomFromEWKT('SRID=4674;POINT (-40.337985 -2.799255)'))) / (select extract(epoch from '2026-07-23 02:47:26'::timestamp) - extract(epoch from '2026-07-23 02:47: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'), 47640, 'SRID=4674;POINT (-40.337716 -2.799179)', '2026-07-23 02:47:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337985 -2.799255)'), GeomFromEWKT('SRID=4674;POINT (-40.337716 -2.799179)'))) / (select extract(epoch from '2026-07-23 02:47:39'::timestamp) - extract(epoch from '2026-07-23 02:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337985 -2.799255)'), GeomFromEWKT('SRID=4674;POINT (-40.337716 -2.799179)'))) / (select extract(epoch from '2026-07-23 02:47:39'::timestamp) - extract(epoch from '2026-07-23 02:47: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'), 47640, 'SRID=4674;POINT (-40.337537 -2.79912)', '2026-07-23 02:47:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337716 -2.799179)'), GeomFromEWKT('SRID=4674;POINT (-40.337537 -2.79912)'))) / (select extract(epoch from '2026-07-23 02:47:48'::timestamp) - extract(epoch from '2026-07-23 02:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337716 -2.799179)'), GeomFromEWKT('SRID=4674;POINT (-40.337537 -2.79912)'))) / (select extract(epoch from '2026-07-23 02:47:48'::timestamp) - extract(epoch from '2026-07-23 02:47: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'), 47640, 'SRID=4674;POINT (-40.337332 -2.799077)', '2026-07-23 02:47:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337537 -2.79912)'), GeomFromEWKT('SRID=4674;POINT (-40.337332 -2.799077)'))) / (select extract(epoch from '2026-07-23 02:47:58'::timestamp) - extract(epoch from '2026-07-23 02:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337537 -2.79912)'), GeomFromEWKT('SRID=4674;POINT (-40.337332 -2.799077)'))) / (select extract(epoch from '2026-07-23 02:47:58'::timestamp) - extract(epoch from '2026-07-23 02:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.337142 -2.799053)', '2026-07-23 02:48:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337332 -2.799077)'), GeomFromEWKT('SRID=4674;POINT (-40.337142 -2.799053)'))) / (select extract(epoch from '2026-07-23 02:48:07'::timestamp) - extract(epoch from '2026-07-23 02:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337332 -2.799077)'), GeomFromEWKT('SRID=4674;POINT (-40.337142 -2.799053)'))) / (select extract(epoch from '2026-07-23 02:48:07'::timestamp) - extract(epoch from '2026-07-23 02:47: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'), 47640, 'SRID=4674;POINT (-40.33694 -2.799017)', '2026-07-23 02:48:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337142 -2.799053)'), GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.799017)'))) / (select extract(epoch from '2026-07-23 02:48:17'::timestamp) - extract(epoch from '2026-07-23 02:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337142 -2.799053)'), GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.799017)'))) / (select extract(epoch from '2026-07-23 02:48:17'::timestamp) - extract(epoch from '2026-07-23 02:48: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'), 47640, 'SRID=4674;POINT (-40.336778 -2.798993)', '2026-07-23 02:48:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.799017)'), GeomFromEWKT('SRID=4674;POINT (-40.336778 -2.798993)'))) / (select extract(epoch from '2026-07-23 02:48:25'::timestamp) - extract(epoch from '2026-07-23 02:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.799017)'), GeomFromEWKT('SRID=4674;POINT (-40.336778 -2.798993)'))) / (select extract(epoch from '2026-07-23 02:48:25'::timestamp) - extract(epoch from '2026-07-23 02:48: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'), 47640, 'SRID=4674;POINT (-40.336578 -2.798953)', '2026-07-23 02:48:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336778 -2.798993)'), GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.798953)'))) / (select extract(epoch from '2026-07-23 02:48:35'::timestamp) - extract(epoch from '2026-07-23 02:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336778 -2.798993)'), GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.798953)'))) / (select extract(epoch from '2026-07-23 02:48:35'::timestamp) - extract(epoch from '2026-07-23 02:48: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'), 47640, 'SRID=4674;POINT (-40.336347 -2.798931)', '2026-07-23 02:48:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.798953)'), GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.798931)'))) / (select extract(epoch from '2026-07-23 02:48:46'::timestamp) - extract(epoch from '2026-07-23 02:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.798953)'), GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.798931)'))) / (select extract(epoch from '2026-07-23 02:48:46'::timestamp) - extract(epoch from '2026-07-23 02:48: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'), 47640, 'SRID=4674;POINT (-40.336181 -2.798899)', '2026-07-23 02:48:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.798931)'), GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.798899)'))) / (select extract(epoch from '2026-07-23 02:48:54'::timestamp) - extract(epoch from '2026-07-23 02:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.798931)'), GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.798899)'))) / (select extract(epoch from '2026-07-23 02:48:54'::timestamp) - extract(epoch from '2026-07-23 02:48: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'), 47640, 'SRID=4674;POINT (-40.335996 -2.798862)', '2026-07-23 02:49:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.335996 -2.798862)'))) / (select extract(epoch from '2026-07-23 02:49:03'::timestamp) - extract(epoch from '2026-07-23 02:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.335996 -2.798862)'))) / (select extract(epoch from '2026-07-23 02:49:03'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.335827 -2.798792)', '2026-07-23 02:49:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335996 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.798792)'))) / (select extract(epoch from '2026-07-23 02:49:12'::timestamp) - extract(epoch from '2026-07-23 02:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335996 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.798792)'))) / (select extract(epoch from '2026-07-23 02:49:12'::timestamp) - extract(epoch from '2026-07-23 02:49: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'), 47640, 'SRID=4674;POINT (-40.335607 -2.798669)', '2026-07-23 02:49:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.798792)'), GeomFromEWKT('SRID=4674;POINT (-40.335607 -2.798669)'))) / (select extract(epoch from '2026-07-23 02:49:24'::timestamp) - extract(epoch from '2026-07-23 02:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.798792)'), GeomFromEWKT('SRID=4674;POINT (-40.335607 -2.798669)'))) / (select extract(epoch from '2026-07-23 02:49:24'::timestamp) - extract(epoch from '2026-07-23 02:49: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'), 47640, 'SRID=4674;POINT (-40.335413 -2.798546)', '2026-07-23 02:49:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335607 -2.798669)'), GeomFromEWKT('SRID=4674;POINT (-40.335413 -2.798546)'))) / (select extract(epoch from '2026-07-23 02:49:35'::timestamp) - extract(epoch from '2026-07-23 02:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335607 -2.798669)'), GeomFromEWKT('SRID=4674;POINT (-40.335413 -2.798546)'))) / (select extract(epoch from '2026-07-23 02:49:35'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.335236 -2.798514)', '2026-07-23 02:49:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335413 -2.798546)'), GeomFromEWKT('SRID=4674;POINT (-40.335236 -2.798514)'))) / (select extract(epoch from '2026-07-23 02:49:44'::timestamp) - extract(epoch from '2026-07-23 02:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335413 -2.798546)'), GeomFromEWKT('SRID=4674;POINT (-40.335236 -2.798514)'))) / (select extract(epoch from '2026-07-23 02:49:44'::timestamp) - extract(epoch from '2026-07-23 02:49: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'), 47640, 'SRID=4674;POINT (-40.335033 -2.79847)', '2026-07-23 02:49:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335236 -2.798514)'), GeomFromEWKT('SRID=4674;POINT (-40.335033 -2.79847)'))) / (select extract(epoch from '2026-07-23 02:49:54'::timestamp) - extract(epoch from '2026-07-23 02:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335236 -2.798514)'), GeomFromEWKT('SRID=4674;POINT (-40.335033 -2.79847)'))) / (select extract(epoch from '2026-07-23 02:49:54'::timestamp) - extract(epoch from '2026-07-23 02:49: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'), 47640, 'SRID=4674;POINT (-40.334849 -2.798433)', '2026-07-23 02:50:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335033 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.334849 -2.798433)'))) / (select extract(epoch from '2026-07-23 02:50:03'::timestamp) - extract(epoch from '2026-07-23 02:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335033 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.334849 -2.798433)'))) / (select extract(epoch from '2026-07-23 02:50:03'::timestamp) - extract(epoch from '2026-07-23 02:49: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'), 47640, 'SRID=4674;POINT (-40.334646 -2.79839)', '2026-07-23 02:50:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334849 -2.798433)'), GeomFromEWKT('SRID=4674;POINT (-40.334646 -2.79839)'))) / (select extract(epoch from '2026-07-23 02:50:13'::timestamp) - extract(epoch from '2026-07-23 02:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334849 -2.798433)'), GeomFromEWKT('SRID=4674;POINT (-40.334646 -2.79839)'))) / (select extract(epoch from '2026-07-23 02:50:13'::timestamp) - extract(epoch from '2026-07-23 02:50: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'), 47640, 'SRID=4674;POINT (-40.334499 -2.798355)', '2026-07-23 02:50:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334646 -2.79839)'), GeomFromEWKT('SRID=4674;POINT (-40.334499 -2.798355)'))) / (select extract(epoch from '2026-07-23 02:50:20'::timestamp) - extract(epoch from '2026-07-23 02:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334646 -2.79839)'), GeomFromEWKT('SRID=4674;POINT (-40.334499 -2.798355)'))) / (select extract(epoch from '2026-07-23 02:50:20'::timestamp) - extract(epoch from '2026-07-23 02:50: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'), 47640, 'SRID=4674;POINT (-40.334293 -2.798308)', '2026-07-23 02:50:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334499 -2.798355)'), GeomFromEWKT('SRID=4674;POINT (-40.334293 -2.798308)'))) / (select extract(epoch from '2026-07-23 02:50:30'::timestamp) - extract(epoch from '2026-07-23 02:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334499 -2.798355)'), GeomFromEWKT('SRID=4674;POINT (-40.334293 -2.798308)'))) / (select extract(epoch from '2026-07-23 02:50:30'::timestamp) - extract(epoch from '2026-07-23 02:50: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'), 47640, 'SRID=4674;POINT (-40.334084 -2.798263)', '2026-07-23 02:50:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334293 -2.798308)'), GeomFromEWKT('SRID=4674;POINT (-40.334084 -2.798263)'))) / (select extract(epoch from '2026-07-23 02:50:40'::timestamp) - extract(epoch from '2026-07-23 02:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334293 -2.798308)'), GeomFromEWKT('SRID=4674;POINT (-40.334084 -2.798263)'))) / (select extract(epoch from '2026-07-23 02:50:40'::timestamp) - extract(epoch from '2026-07-23 02:50: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'), 47640, 'SRID=4674;POINT (-40.333795 -2.798201)', '2026-07-23 02:50:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334084 -2.798263)'), GeomFromEWKT('SRID=4674;POINT (-40.333795 -2.798201)'))) / (select extract(epoch from '2026-07-23 02:50:54'::timestamp) - extract(epoch from '2026-07-23 02:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334084 -2.798263)'), GeomFromEWKT('SRID=4674;POINT (-40.333795 -2.798201)'))) / (select extract(epoch from '2026-07-23 02:50:54'::timestamp) - extract(epoch from '2026-07-23 02:50: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'), 47640, 'SRID=4674;POINT (-40.33357 -2.798133)', '2026-07-23 02:51:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333795 -2.798201)'), GeomFromEWKT('SRID=4674;POINT (-40.33357 -2.798133)'))) / (select extract(epoch from '2026-07-23 02:51:05'::timestamp) - extract(epoch from '2026-07-23 02:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333795 -2.798201)'), GeomFromEWKT('SRID=4674;POINT (-40.33357 -2.798133)'))) / (select extract(epoch from '2026-07-23 02:51:05'::timestamp) - extract(epoch from '2026-07-23 02:50: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'), 47640, 'SRID=4674;POINT (-40.33339 -2.798085)', '2026-07-23 02:51:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33357 -2.798133)'), GeomFromEWKT('SRID=4674;POINT (-40.33339 -2.798085)'))) / (select extract(epoch from '2026-07-23 02:51:14'::timestamp) - extract(epoch from '2026-07-23 02:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33357 -2.798133)'), GeomFromEWKT('SRID=4674;POINT (-40.33339 -2.798085)'))) / (select extract(epoch from '2026-07-23 02:51:14'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.333193 -2.798017)', '2026-07-23 02:51:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33339 -2.798085)'), GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.798017)'))) / (select extract(epoch from '2026-07-23 02:51:24'::timestamp) - extract(epoch from '2026-07-23 02:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33339 -2.798085)'), GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.798017)'))) / (select extract(epoch from '2026-07-23 02:51:24'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.33301 -2.79798)', '2026-07-23 02:51:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.798017)'), GeomFromEWKT('SRID=4674;POINT (-40.33301 -2.79798)'))) / (select extract(epoch from '2026-07-23 02:51:33'::timestamp) - extract(epoch from '2026-07-23 02:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333193 -2.798017)'), GeomFromEWKT('SRID=4674;POINT (-40.33301 -2.79798)'))) / (select extract(epoch from '2026-07-23 02:51:33'::timestamp) - extract(epoch from '2026-07-23 02:51: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'), 47640, 'SRID=4674;POINT (-40.332838 -2.797984)', '2026-07-23 02:51:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33301 -2.79798)'), GeomFromEWKT('SRID=4674;POINT (-40.332838 -2.797984)'))) / (select extract(epoch from '2026-07-23 02:51:41'::timestamp) - extract(epoch from '2026-07-23 02:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33301 -2.79798)'), GeomFromEWKT('SRID=4674;POINT (-40.332838 -2.797984)'))) / (select extract(epoch from '2026-07-23 02:51:41'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.332651 -2.797955)', '2026-07-23 02:51:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332838 -2.797984)'), GeomFromEWKT('SRID=4674;POINT (-40.332651 -2.797955)'))) / (select extract(epoch from '2026-07-23 02:51:50'::timestamp) - extract(epoch from '2026-07-23 02:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332838 -2.797984)'), GeomFromEWKT('SRID=4674;POINT (-40.332651 -2.797955)'))) / (select extract(epoch from '2026-07-23 02:51:50'::timestamp) - extract(epoch from '2026-07-23 02:51: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'), 47640, 'SRID=4674;POINT (-40.332464 -2.797915)', '2026-07-23 02:52:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332651 -2.797955)'), GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.797915)'))) / (select extract(epoch from '2026-07-23 02:52:00'::timestamp) - extract(epoch from '2026-07-23 02:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332651 -2.797955)'), GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.797915)'))) / (select extract(epoch from '2026-07-23 02:52:00'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.332289 -2.797875)', '2026-07-23 02:52:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.797915)'), GeomFromEWKT('SRID=4674;POINT (-40.332289 -2.797875)'))) / (select extract(epoch from '2026-07-23 02:52:09'::timestamp) - extract(epoch from '2026-07-23 02:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.797915)'), GeomFromEWKT('SRID=4674;POINT (-40.332289 -2.797875)'))) / (select extract(epoch from '2026-07-23 02:52:09'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.332053 -2.797811)', '2026-07-23 02:52:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332289 -2.797875)'), GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.797811)'))) / (select extract(epoch from '2026-07-23 02:52:21'::timestamp) - extract(epoch from '2026-07-23 02:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332289 -2.797875)'), GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.797811)'))) / (select extract(epoch from '2026-07-23 02:52:21'::timestamp) - extract(epoch from '2026-07-23 02:52: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'), 47640, 'SRID=4674;POINT (-40.33183 -2.797749)', '2026-07-23 02:52:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.797811)'), GeomFromEWKT('SRID=4674;POINT (-40.33183 -2.797749)'))) / (select extract(epoch from '2026-07-23 02:52:32'::timestamp) - extract(epoch from '2026-07-23 02:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332053 -2.797811)'), GeomFromEWKT('SRID=4674;POINT (-40.33183 -2.797749)'))) / (select extract(epoch from '2026-07-23 02:52:32'::timestamp) - extract(epoch from '2026-07-23 02:52: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'), 47640, 'SRID=4674;POINT (-40.331608 -2.797712)', '2026-07-23 02:52:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33183 -2.797749)'), GeomFromEWKT('SRID=4674;POINT (-40.331608 -2.797712)'))) / (select extract(epoch from '2026-07-23 02:52:43'::timestamp) - extract(epoch from '2026-07-23 02:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33183 -2.797749)'), GeomFromEWKT('SRID=4674;POINT (-40.331608 -2.797712)'))) / (select extract(epoch from '2026-07-23 02:52:43'::timestamp) - extract(epoch from '2026-07-23 02:52: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'), 47640, 'SRID=4674;POINT (-40.331358 -2.797684)', '2026-07-23 02:52:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331608 -2.797712)'), GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.797684)'))) / (select extract(epoch from '2026-07-23 02:52:55'::timestamp) - extract(epoch from '2026-07-23 02:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331608 -2.797712)'), GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.797684)'))) / (select extract(epoch from '2026-07-23 02:52:55'::timestamp) - extract(epoch from '2026-07-23 02:52: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'), 47640, 'SRID=4674;POINT (-40.331151 -2.797692)', '2026-07-23 02:53:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.797684)'), GeomFromEWKT('SRID=4674;POINT (-40.331151 -2.797692)'))) / (select extract(epoch from '2026-07-23 02:53:05'::timestamp) - extract(epoch from '2026-07-23 02:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.797684)'), GeomFromEWKT('SRID=4674;POINT (-40.331151 -2.797692)'))) / (select extract(epoch from '2026-07-23 02:53:05'::timestamp) - extract(epoch from '2026-07-23 02:52: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'), 47640, 'SRID=4674;POINT (-40.331004 -2.797666)', '2026-07-23 02:53:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331151 -2.797692)'), GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.797666)'))) / (select extract(epoch from '2026-07-23 02:53:12'::timestamp) - extract(epoch from '2026-07-23 02:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331151 -2.797692)'), GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.797666)'))) / (select extract(epoch from '2026-07-23 02:53:12'::timestamp) - extract(epoch from '2026-07-23 02:53: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'), 47640, 'SRID=4674;POINT (-40.330785 -2.797602)', '2026-07-23 02:53:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.797666)'), GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.797602)'))) / (select extract(epoch from '2026-07-23 02:53:23'::timestamp) - extract(epoch from '2026-07-23 02:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.797666)'), GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.797602)'))) / (select extract(epoch from '2026-07-23 02:53:23'::timestamp) - extract(epoch from '2026-07-23 02:53: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'), 47640, 'SRID=4674;POINT (-40.33059 -2.797558)', '2026-07-23 02:53:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.797602)'), GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.797558)'))) / (select extract(epoch from '2026-07-23 02:53:32'::timestamp) - extract(epoch from '2026-07-23 02:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330785 -2.797602)'), GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.797558)'))) / (select extract(epoch from '2026-07-23 02:53:32'::timestamp) - extract(epoch from '2026-07-23 02:53: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'), 47640, 'SRID=4674;POINT (-40.33041 -2.797513)', '2026-07-23 02:53:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.33041 -2.797513)'))) / (select extract(epoch from '2026-07-23 02:53:41'::timestamp) - extract(epoch from '2026-07-23 02:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.33041 -2.797513)'))) / (select extract(epoch from '2026-07-23 02:53:41'::timestamp) - extract(epoch from '2026-07-23 02:53: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'), 47640, 'SRID=4674;POINT (-40.330237 -2.797467)', '2026-07-23 02:53:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33041 -2.797513)'), GeomFromEWKT('SRID=4674;POINT (-40.330237 -2.797467)'))) / (select extract(epoch from '2026-07-23 02:53:50'::timestamp) - extract(epoch from '2026-07-23 02:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33041 -2.797513)'), GeomFromEWKT('SRID=4674;POINT (-40.330237 -2.797467)'))) / (select extract(epoch from '2026-07-23 02:53:50'::timestamp) - extract(epoch from '2026-07-23 02:53: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'), 47640, 'SRID=4674;POINT (-40.330035 -2.797432)', '2026-07-23 02:54:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330237 -2.797467)'), GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.797432)'))) / (select extract(epoch from '2026-07-23 02:54:00'::timestamp) - extract(epoch from '2026-07-23 02:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330237 -2.797467)'), GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.797432)'))) / (select extract(epoch from '2026-07-23 02:54:00'::timestamp) - extract(epoch from '2026-07-23 02:53: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'), 47640, 'SRID=4674;POINT (-40.32989 -2.797405)', '2026-07-23 02:54:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.797432)'), GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.797405)'))) / (select extract(epoch from '2026-07-23 02:54:07'::timestamp) - extract(epoch from '2026-07-23 02:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.797432)'), GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.797405)'))) / (select extract(epoch from '2026-07-23 02:54:07'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.329783 -2.797376)', '2026-07-23 02:54:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.797376)'))) / (select extract(epoch from '2026-07-23 02:54:12'::timestamp) - extract(epoch from '2026-07-23 02:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.797376)'))) / (select extract(epoch from '2026-07-23 02:54:12'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.329649 -2.797334)', '2026-07-23 02:54:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.797376)'), GeomFromEWKT('SRID=4674;POINT (-40.329649 -2.797334)'))) / (select extract(epoch from '2026-07-23 02:54:19'::timestamp) - extract(epoch from '2026-07-23 02:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329783 -2.797376)'), GeomFromEWKT('SRID=4674;POINT (-40.329649 -2.797334)'))) / (select extract(epoch from '2026-07-23 02:54:19'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.329439 -2.797279)', '2026-07-23 02:54:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329649 -2.797334)'), GeomFromEWKT('SRID=4674;POINT (-40.329439 -2.797279)'))) / (select extract(epoch from '2026-07-23 02:54:29'::timestamp) - extract(epoch from '2026-07-23 02:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329649 -2.797334)'), GeomFromEWKT('SRID=4674;POINT (-40.329439 -2.797279)'))) / (select extract(epoch from '2026-07-23 02:54:29'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.329193 -2.797237)', '2026-07-23 02:54:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329439 -2.797279)'), GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.797237)'))) / (select extract(epoch from '2026-07-23 02:54:41'::timestamp) - extract(epoch from '2026-07-23 02:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329439 -2.797279)'), GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.797237)'))) / (select extract(epoch from '2026-07-23 02:54:41'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.328991 -2.79721)', '2026-07-23 02:54:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.797237)'), GeomFromEWKT('SRID=4674;POINT (-40.328991 -2.79721)'))) / (select extract(epoch from '2026-07-23 02:54:51'::timestamp) - extract(epoch from '2026-07-23 02:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.797237)'), GeomFromEWKT('SRID=4674;POINT (-40.328991 -2.79721)'))) / (select extract(epoch from '2026-07-23 02:54:51'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.328828 -2.797188)', '2026-07-23 02:54:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328991 -2.79721)'), GeomFromEWKT('SRID=4674;POINT (-40.328828 -2.797188)'))) / (select extract(epoch from '2026-07-23 02:54:59'::timestamp) - extract(epoch from '2026-07-23 02:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328991 -2.79721)'), GeomFromEWKT('SRID=4674;POINT (-40.328828 -2.797188)'))) / (select extract(epoch from '2026-07-23 02:54:59'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.328603 -2.797149)', '2026-07-23 02:55:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328828 -2.797188)'), GeomFromEWKT('SRID=4674;POINT (-40.328603 -2.797149)'))) / (select extract(epoch from '2026-07-23 02:55:10'::timestamp) - extract(epoch from '2026-07-23 02:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328828 -2.797188)'), GeomFromEWKT('SRID=4674;POINT (-40.328603 -2.797149)'))) / (select extract(epoch from '2026-07-23 02:55:10'::timestamp) - extract(epoch from '2026-07-23 02:54: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'), 47640, 'SRID=4674;POINT (-40.32845 -2.797107)', '2026-07-23 02:55:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328603 -2.797149)'), GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.797107)'))) / (select extract(epoch from '2026-07-23 02:55:18'::timestamp) - extract(epoch from '2026-07-23 02:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328603 -2.797149)'), GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.797107)'))) / (select extract(epoch from '2026-07-23 02:55:18'::timestamp) - extract(epoch from '2026-07-23 02:55: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'), 47640, 'SRID=4674;POINT (-40.328286 -2.797061)', '2026-07-23 02:55:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.328286 -2.797061)'))) / (select extract(epoch from '2026-07-23 02:55:26'::timestamp) - extract(epoch from '2026-07-23 02:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.797107)'), GeomFromEWKT('SRID=4674;POINT (-40.328286 -2.797061)'))) / (select extract(epoch from '2026-07-23 02:55:26'::timestamp) - extract(epoch from '2026-07-23 02:55: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'), 47640, 'SRID=4674;POINT (-40.32811 -2.797019)', '2026-07-23 02:55:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328286 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.797019)'))) / (select extract(epoch from '2026-07-23 02:55:35'::timestamp) - extract(epoch from '2026-07-23 02:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328286 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.797019)'))) / (select extract(epoch from '2026-07-23 02:55:35'::timestamp) - extract(epoch from '2026-07-23 02:55: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'), 47640, 'SRID=4674;POINT (-40.327881 -2.797)', '2026-07-23 02:55:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.797019)'), GeomFromEWKT('SRID=4674;POINT (-40.327881 -2.797)'))) / (select extract(epoch from '2026-07-23 02:55:46'::timestamp) - extract(epoch from '2026-07-23 02:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.797019)'), GeomFromEWKT('SRID=4674;POINT (-40.327881 -2.797)'))) / (select extract(epoch from '2026-07-23 02:55:46'::timestamp) - extract(epoch from '2026-07-23 02:55: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'), 47640, 'SRID=4674;POINT (-40.327648 -2.79696)', '2026-07-23 02:55:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327881 -2.797)'), GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.79696)'))) / (select extract(epoch from '2026-07-23 02:55:57'::timestamp) - extract(epoch from '2026-07-23 02:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327881 -2.797)'), GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.79696)'))) / (select extract(epoch from '2026-07-23 02:55:57'::timestamp) - extract(epoch from '2026-07-23 02:55: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'), 47640, 'SRID=4674;POINT (-40.32742 -2.796913)', '2026-07-23 02:56:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.32742 -2.796913)'))) / (select extract(epoch from '2026-07-23 02:56:08'::timestamp) - extract(epoch from '2026-07-23 02:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.32742 -2.796913)'))) / (select extract(epoch from '2026-07-23 02:56:08'::timestamp) - extract(epoch from '2026-07-23 02:55: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'), 47640, 'SRID=4674;POINT (-40.32722 -2.796861)', '2026-07-23 02:56:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32742 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.796861)'))) / (select extract(epoch from '2026-07-23 02:56:18'::timestamp) - extract(epoch from '2026-07-23 02:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32742 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.796861)'))) / (select extract(epoch from '2026-07-23 02:56:18'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.327014 -2.79681)', '2026-07-23 02:56:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.796861)'), GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.79681)'))) / (select extract(epoch from '2026-07-23 02:56:28'::timestamp) - extract(epoch from '2026-07-23 02:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.796861)'), GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.79681)'))) / (select extract(epoch from '2026-07-23 02:56:28'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.326834 -2.796764)', '2026-07-23 02:56:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.79681)'), GeomFromEWKT('SRID=4674;POINT (-40.326834 -2.796764)'))) / (select extract(epoch from '2026-07-23 02:56:37'::timestamp) - extract(epoch from '2026-07-23 02:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.79681)'), GeomFromEWKT('SRID=4674;POINT (-40.326834 -2.796764)'))) / (select extract(epoch from '2026-07-23 02:56:37'::timestamp) - extract(epoch from '2026-07-23 02:56: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'), 47640, 'SRID=4674;POINT (-40.326633 -2.796737)', '2026-07-23 02:56:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326834 -2.796764)'), GeomFromEWKT('SRID=4674;POINT (-40.326633 -2.796737)'))) / (select extract(epoch from '2026-07-23 02:56:47'::timestamp) - extract(epoch from '2026-07-23 02:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326834 -2.796764)'), GeomFromEWKT('SRID=4674;POINT (-40.326633 -2.796737)'))) / (select extract(epoch from '2026-07-23 02:56:47'::timestamp) - extract(epoch from '2026-07-23 02:56: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'), 47640, 'SRID=4674;POINT (-40.326404 -2.796704)', '2026-07-23 02:56:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326633 -2.796737)'), GeomFromEWKT('SRID=4674;POINT (-40.326404 -2.796704)'))) / (select extract(epoch from '2026-07-23 02:56:58'::timestamp) - extract(epoch from '2026-07-23 02:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326633 -2.796737)'), GeomFromEWKT('SRID=4674;POINT (-40.326404 -2.796704)'))) / (select extract(epoch from '2026-07-23 02:56:58'::timestamp) - extract(epoch from '2026-07-23 02:56: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'), 47640, 'SRID=4674;POINT (-40.326194 -2.796674)', '2026-07-23 02:57:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326404 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.326194 -2.796674)'))) / (select extract(epoch from '2026-07-23 02:57:08'::timestamp) - extract(epoch from '2026-07-23 02:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326404 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.326194 -2.796674)'))) / (select extract(epoch from '2026-07-23 02:57:08'::timestamp) - extract(epoch from '2026-07-23 02:56: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'), 47640, 'SRID=4674;POINT (-40.325987 -2.796649)', '2026-07-23 02:57:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326194 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.325987 -2.796649)'))) / (select extract(epoch from '2026-07-23 02:57:18'::timestamp) - extract(epoch from '2026-07-23 02:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326194 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.325987 -2.796649)'))) / (select extract(epoch from '2026-07-23 02:57:18'::timestamp) - extract(epoch from '2026-07-23 02:57: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'), 47640, 'SRID=4674;POINT (-40.325777 -2.796592)', '2026-07-23 02:57:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325987 -2.796649)'), GeomFromEWKT('SRID=4674;POINT (-40.325777 -2.796592)'))) / (select extract(epoch from '2026-07-23 02:57:28'::timestamp) - extract(epoch from '2026-07-23 02:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325987 -2.796649)'), GeomFromEWKT('SRID=4674;POINT (-40.325777 -2.796592)'))) / (select extract(epoch from '2026-07-23 02:57:28'::timestamp) - extract(epoch from '2026-07-23 02:57: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'), 47640, 'SRID=4674;POINT (-40.325635 -2.796544)', '2026-07-23 02:57:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325777 -2.796592)'), GeomFromEWKT('SRID=4674;POINT (-40.325635 -2.796544)'))) / (select extract(epoch from '2026-07-23 02:57:35'::timestamp) - extract(epoch from '2026-07-23 02:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325777 -2.796592)'), GeomFromEWKT('SRID=4674;POINT (-40.325635 -2.796544)'))) / (select extract(epoch from '2026-07-23 02:57:35'::timestamp) - extract(epoch from '2026-07-23 02:57: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'), 47640, 'SRID=4674;POINT (-40.325474 -2.796523)', '2026-07-23 02:57:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325635 -2.796544)'), GeomFromEWKT('SRID=4674;POINT (-40.325474 -2.796523)'))) / (select extract(epoch from '2026-07-23 02:57:43'::timestamp) - extract(epoch from '2026-07-23 02:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325635 -2.796544)'), GeomFromEWKT('SRID=4674;POINT (-40.325474 -2.796523)'))) / (select extract(epoch from '2026-07-23 02:57:43'::timestamp) - extract(epoch from '2026-07-23 02:57: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'), 47640, 'SRID=4674;POINT (-40.325273 -2.796496)', '2026-07-23 02:57:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325474 -2.796523)'), GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.796496)'))) / (select extract(epoch from '2026-07-23 02:57:53'::timestamp) - extract(epoch from '2026-07-23 02:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325474 -2.796523)'), GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.796496)'))) / (select extract(epoch from '2026-07-23 02:57:53'::timestamp) - extract(epoch from '2026-07-23 02:57: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'), 47640, 'SRID=4674;POINT (-40.325064 -2.796475)', '2026-07-23 02:58:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.796496)'), GeomFromEWKT('SRID=4674;POINT (-40.325064 -2.796475)'))) / (select extract(epoch from '2026-07-23 02:58:03'::timestamp) - extract(epoch from '2026-07-23 02:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.796496)'), GeomFromEWKT('SRID=4674;POINT (-40.325064 -2.796475)'))) / (select extract(epoch from '2026-07-23 02:58:03'::timestamp) - extract(epoch from '2026-07-23 02:57: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'), 47640, 'SRID=4674;POINT (-40.324832 -2.796437)', '2026-07-23 02:58:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325064 -2.796475)'), GeomFromEWKT('SRID=4674;POINT (-40.324832 -2.796437)'))) / (select extract(epoch from '2026-07-23 02:58:14'::timestamp) - extract(epoch from '2026-07-23 02:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325064 -2.796475)'), GeomFromEWKT('SRID=4674;POINT (-40.324832 -2.796437)'))) / (select extract(epoch from '2026-07-23 02:58:14'::timestamp) - extract(epoch from '2026-07-23 02:58: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'), 47640, 'SRID=4674;POINT (-40.324549 -2.796399)', '2026-07-23 02:58:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324832 -2.796437)'), GeomFromEWKT('SRID=4674;POINT (-40.324549 -2.796399)'))) / (select extract(epoch from '2026-07-23 02:58:28'::timestamp) - extract(epoch from '2026-07-23 02:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324832 -2.796437)'), GeomFromEWKT('SRID=4674;POINT (-40.324549 -2.796399)'))) / (select extract(epoch from '2026-07-23 02:58:28'::timestamp) - extract(epoch from '2026-07-23 02:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.324347 -2.796364)', '2026-07-23 02:58:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324549 -2.796399)'), GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.796364)'))) / (select extract(epoch from '2026-07-23 02:58:38'::timestamp) - extract(epoch from '2026-07-23 02:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324549 -2.796399)'), GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.796364)'))) / (select extract(epoch from '2026-07-23 02:58:38'::timestamp) - extract(epoch from '2026-07-23 02:58: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'), 47640, 'SRID=4674;POINT (-40.324166 -2.796298)', '2026-07-23 02:58:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.324166 -2.796298)'))) / (select extract(epoch from '2026-07-23 02:58:47'::timestamp) - extract(epoch from '2026-07-23 02:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.324166 -2.796298)'))) / (select extract(epoch from '2026-07-23 02:58:47'::timestamp) - extract(epoch from '2026-07-23 02:58: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'), 47640, 'SRID=4674;POINT (-40.324026 -2.796252)', '2026-07-23 02:58:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324166 -2.796298)'), GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.796252)'))) / (select extract(epoch from '2026-07-23 02:58:54'::timestamp) - extract(epoch from '2026-07-23 02:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324166 -2.796298)'), GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.796252)'))) / (select extract(epoch from '2026-07-23 02:58:54'::timestamp) - extract(epoch from '2026-07-23 02:58: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'), 47640, 'SRID=4674;POINT (-40.323789 -2.796174)', '2026-07-23 02:59:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.796252)'), GeomFromEWKT('SRID=4674;POINT (-40.323789 -2.796174)'))) / (select extract(epoch from '2026-07-23 02:59:06'::timestamp) - extract(epoch from '2026-07-23 02:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.796252)'), GeomFromEWKT('SRID=4674;POINT (-40.323789 -2.796174)'))) / (select extract(epoch from '2026-07-23 02:59:06'::timestamp) - extract(epoch from '2026-07-23 02:58: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'), 47640, 'SRID=4674;POINT (-40.323661 -2.796111)', '2026-07-23 02:59:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323789 -2.796174)'), GeomFromEWKT('SRID=4674;POINT (-40.323661 -2.796111)'))) / (select extract(epoch from '2026-07-23 02:59:13'::timestamp) - extract(epoch from '2026-07-23 02:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323789 -2.796174)'), GeomFromEWKT('SRID=4674;POINT (-40.323661 -2.796111)'))) / (select extract(epoch from '2026-07-23 02:59:13'::timestamp) - extract(epoch from '2026-07-23 02:59: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'), 47640, 'SRID=4674;POINT (-40.323503 -2.796007)', '2026-07-23 02:59:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323661 -2.796111)'), GeomFromEWKT('SRID=4674;POINT (-40.323503 -2.796007)'))) / (select extract(epoch from '2026-07-23 02:59:22'::timestamp) - extract(epoch from '2026-07-23 02:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323661 -2.796111)'), GeomFromEWKT('SRID=4674;POINT (-40.323503 -2.796007)'))) / (select extract(epoch from '2026-07-23 02:59:22'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.323349 -2.795856)', '2026-07-23 02:59:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323503 -2.796007)'), GeomFromEWKT('SRID=4674;POINT (-40.323349 -2.795856)'))) / (select extract(epoch from '2026-07-23 02:59:32'::timestamp) - extract(epoch from '2026-07-23 02:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323503 -2.796007)'), GeomFromEWKT('SRID=4674;POINT (-40.323349 -2.795856)'))) / (select extract(epoch from '2026-07-23 02:59:32'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.323158 -2.795734)', '2026-07-23 02:59:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323349 -2.795856)'), GeomFromEWKT('SRID=4674;POINT (-40.323158 -2.795734)'))) / (select extract(epoch from '2026-07-23 02:59:43'::timestamp) - extract(epoch from '2026-07-23 02:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323349 -2.795856)'), GeomFromEWKT('SRID=4674;POINT (-40.323158 -2.795734)'))) / (select extract(epoch from '2026-07-23 02:59:43'::timestamp) - extract(epoch from '2026-07-23 02:59: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'), 47640, 'SRID=4674;POINT (-40.322931 -2.795657)', '2026-07-23 02:59:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323158 -2.795734)'), GeomFromEWKT('SRID=4674;POINT (-40.322931 -2.795657)'))) / (select extract(epoch from '2026-07-23 02:59:55'::timestamp) - extract(epoch from '2026-07-23 02:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323158 -2.795734)'), GeomFromEWKT('SRID=4674;POINT (-40.322931 -2.795657)'))) / (select extract(epoch from '2026-07-23 02:59:55'::timestamp) - extract(epoch from '2026-07-23 02:59: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'), 47640, 'SRID=4674;POINT (-40.322735 -2.795603)', '2026-07-23 03:00:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322931 -2.795657)'), GeomFromEWKT('SRID=4674;POINT (-40.322735 -2.795603)'))) / (select extract(epoch from '2026-07-23 03:00:05'::timestamp) - extract(epoch from '2026-07-23 02:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322931 -2.795657)'), GeomFromEWKT('SRID=4674;POINT (-40.322735 -2.795603)'))) / (select extract(epoch from '2026-07-23 03:00:05'::timestamp) - extract(epoch from '2026-07-23 02:59: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'), 47640, 'SRID=4674;POINT (-40.322579 -2.795564)', '2026-07-23 03:00:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322735 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.322579 -2.795564)'))) / (select extract(epoch from '2026-07-23 03:00:13'::timestamp) - extract(epoch from '2026-07-23 03:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322735 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.322579 -2.795564)'))) / (select extract(epoch from '2026-07-23 03:00:13'::timestamp) - extract(epoch from '2026-07-23 03:00: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'), 47640, 'SRID=4674;POINT (-40.322374 -2.795534)', '2026-07-23 03:00:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322579 -2.795564)'), GeomFromEWKT('SRID=4674;POINT (-40.322374 -2.795534)'))) / (select extract(epoch from '2026-07-23 03:00:23'::timestamp) - extract(epoch from '2026-07-23 03:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322579 -2.795564)'), GeomFromEWKT('SRID=4674;POINT (-40.322374 -2.795534)'))) / (select extract(epoch from '2026-07-23 03:00:23'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.322149 -2.795501)', '2026-07-23 03:00:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322374 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.795501)'))) / (select extract(epoch from '2026-07-23 03:00:34'::timestamp) - extract(epoch from '2026-07-23 03:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322374 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.795501)'))) / (select extract(epoch from '2026-07-23 03:00:34'::timestamp) - extract(epoch from '2026-07-23 03:00: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'), 47640, 'SRID=4674;POINT (-40.321966 -2.795503)', '2026-07-23 03:00:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.795503)'))) / (select extract(epoch from '2026-07-23 03:00:43'::timestamp) - extract(epoch from '2026-07-23 03:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.795503)'))) / (select extract(epoch from '2026-07-23 03:00:43'::timestamp) - extract(epoch from '2026-07-23 03:00: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'), 47640, 'SRID=4674;POINT (-40.321778 -2.795505)', '2026-07-23 03:00:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.795503)'), GeomFromEWKT('SRID=4674;POINT (-40.321778 -2.795505)'))) / (select extract(epoch from '2026-07-23 03:00:52'::timestamp) - extract(epoch from '2026-07-23 03:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.795503)'), GeomFromEWKT('SRID=4674;POINT (-40.321778 -2.795505)'))) / (select extract(epoch from '2026-07-23 03:00:52'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.321592 -2.795503)', '2026-07-23 03:01:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321778 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.795503)'))) / (select extract(epoch from '2026-07-23 03:01:01'::timestamp) - extract(epoch from '2026-07-23 03:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321778 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.795503)'))) / (select extract(epoch from '2026-07-23 03:01:01'::timestamp) - extract(epoch from '2026-07-23 03:00: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'), 47640, 'SRID=4674;POINT (-40.321385 -2.795496)', '2026-07-23 03:01:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.795503)'), GeomFromEWKT('SRID=4674;POINT (-40.321385 -2.795496)'))) / (select extract(epoch from '2026-07-23 03:01:11'::timestamp) - extract(epoch from '2026-07-23 03:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321592 -2.795503)'), GeomFromEWKT('SRID=4674;POINT (-40.321385 -2.795496)'))) / (select extract(epoch from '2026-07-23 03:01:11'::timestamp) - extract(epoch from '2026-07-23 03:01: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'), 47640, 'SRID=4674;POINT (-40.321265 -2.795492)', '2026-07-23 03:01:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321385 -2.795496)'), GeomFromEWKT('SRID=4674;POINT (-40.321265 -2.795492)'))) / (select extract(epoch from '2026-07-23 03:01:17'::timestamp) - extract(epoch from '2026-07-23 03:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321385 -2.795496)'), GeomFromEWKT('SRID=4674;POINT (-40.321265 -2.795492)'))) / (select extract(epoch from '2026-07-23 03:01:17'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.321041 -2.795488)', '2026-07-23 03:01:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321265 -2.795492)'), GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.795488)'))) / (select extract(epoch from '2026-07-23 03:01:28'::timestamp) - extract(epoch from '2026-07-23 03:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321265 -2.795492)'), GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.795488)'))) / (select extract(epoch from '2026-07-23 03:01:28'::timestamp) - extract(epoch from '2026-07-23 03:01: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'), 47640, 'SRID=4674;POINT (-40.320884 -2.795496)', '2026-07-23 03:01:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.795488)'), GeomFromEWKT('SRID=4674;POINT (-40.320884 -2.795496)'))) / (select extract(epoch from '2026-07-23 03:01:36'::timestamp) - extract(epoch from '2026-07-23 03:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.795488)'), GeomFromEWKT('SRID=4674;POINT (-40.320884 -2.795496)'))) / (select extract(epoch from '2026-07-23 03:01:36'::timestamp) - extract(epoch from '2026-07-23 03:01: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'), 47640, 'SRID=4674;POINT (-40.320748 -2.795502)', '2026-07-23 03:01:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320884 -2.795496)'), GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.795502)'))) / (select extract(epoch from '2026-07-23 03:01:43'::timestamp) - extract(epoch from '2026-07-23 03:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320884 -2.795496)'), GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.795502)'))) / (select extract(epoch from '2026-07-23 03:01:43'::timestamp) - extract(epoch from '2026-07-23 03:01: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'), 47640, 'SRID=4674;POINT (-40.320561 -2.795503)', '2026-07-23 03:01:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.795502)'), GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.795503)'))) / (select extract(epoch from '2026-07-23 03:01:52'::timestamp) - extract(epoch from '2026-07-23 03:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.795502)'), GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.795503)'))) / (select extract(epoch from '2026-07-23 03:01:52'::timestamp) - extract(epoch from '2026-07-23 03:01: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'), 47640, 'SRID=4674;POINT (-40.320335 -2.79549)', '2026-07-23 03:02:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.795503)'), GeomFromEWKT('SRID=4674;POINT (-40.320335 -2.79549)'))) / (select extract(epoch from '2026-07-23 03:02:03'::timestamp) - extract(epoch from '2026-07-23 03:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.795503)'), GeomFromEWKT('SRID=4674;POINT (-40.320335 -2.79549)'))) / (select extract(epoch from '2026-07-23 03:02:03'::timestamp) - extract(epoch from '2026-07-23 03:01: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'), 47640, 'SRID=4674;POINT (-40.320083 -2.795485)', '2026-07-23 03:02:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320335 -2.79549)'), GeomFromEWKT('SRID=4674;POINT (-40.320083 -2.795485)'))) / (select extract(epoch from '2026-07-23 03:02:15'::timestamp) - extract(epoch from '2026-07-23 03:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320335 -2.79549)'), GeomFromEWKT('SRID=4674;POINT (-40.320083 -2.795485)'))) / (select extract(epoch from '2026-07-23 03:02:15'::timestamp) - extract(epoch from '2026-07-23 03:02: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'), 47640, 'SRID=4674;POINT (-40.319892 -2.795474)', '2026-07-23 03:02:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320083 -2.795485)'), GeomFromEWKT('SRID=4674;POINT (-40.319892 -2.795474)'))) / (select extract(epoch from '2026-07-23 03:02:24'::timestamp) - extract(epoch from '2026-07-23 03:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320083 -2.795485)'), GeomFromEWKT('SRID=4674;POINT (-40.319892 -2.795474)'))) / (select extract(epoch from '2026-07-23 03:02:24'::timestamp) - extract(epoch from '2026-07-23 03:02: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'), 47640, 'SRID=4674;POINT (-40.319682 -2.795475)', '2026-07-23 03:02:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319892 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.319682 -2.795475)'))) / (select extract(epoch from '2026-07-23 03:02:34'::timestamp) - extract(epoch from '2026-07-23 03:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319892 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.319682 -2.795475)'))) / (select extract(epoch from '2026-07-23 03:02:34'::timestamp) - extract(epoch from '2026-07-23 03:02: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'), 47640, 'SRID=4674;POINT (-40.319435 -2.795472)', '2026-07-23 03:02:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319682 -2.795475)'), GeomFromEWKT('SRID=4674;POINT (-40.319435 -2.795472)'))) / (select extract(epoch from '2026-07-23 03:02:46'::timestamp) - extract(epoch from '2026-07-23 03:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319682 -2.795475)'), GeomFromEWKT('SRID=4674;POINT (-40.319435 -2.795472)'))) / (select extract(epoch from '2026-07-23 03:02:46'::timestamp) - extract(epoch from '2026-07-23 03:02: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'), 47640, 'SRID=4674;POINT (-40.319229 -2.795465)', '2026-07-23 03:02:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319435 -2.795472)'), GeomFromEWKT('SRID=4674;POINT (-40.319229 -2.795465)'))) / (select extract(epoch from '2026-07-23 03:02:56'::timestamp) - extract(epoch from '2026-07-23 03:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319435 -2.795472)'), GeomFromEWKT('SRID=4674;POINT (-40.319229 -2.795465)'))) / (select extract(epoch from '2026-07-23 03:02:56'::timestamp) - extract(epoch from '2026-07-23 03:02: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'), 47640, 'SRID=4674;POINT (-40.319063 -2.795469)', '2026-07-23 03:03:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319229 -2.795465)'), GeomFromEWKT('SRID=4674;POINT (-40.319063 -2.795469)'))) / (select extract(epoch from '2026-07-23 03:03:04'::timestamp) - extract(epoch from '2026-07-23 03:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319229 -2.795465)'), GeomFromEWKT('SRID=4674;POINT (-40.319063 -2.795469)'))) / (select extract(epoch from '2026-07-23 03:03:04'::timestamp) - extract(epoch from '2026-07-23 03:02: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'), 47640, 'SRID=4674;POINT (-40.318885 -2.795473)', '2026-07-23 03:03:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319063 -2.795469)'), GeomFromEWKT('SRID=4674;POINT (-40.318885 -2.795473)'))) / (select extract(epoch from '2026-07-23 03:03:13'::timestamp) - extract(epoch from '2026-07-23 03:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319063 -2.795469)'), GeomFromEWKT('SRID=4674;POINT (-40.318885 -2.795473)'))) / (select extract(epoch from '2026-07-23 03:03:13'::timestamp) - extract(epoch from '2026-07-23 03:03: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'), 47640, 'SRID=4674;POINT (-40.31862 -2.795474)', '2026-07-23 03:03:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318885 -2.795473)'), GeomFromEWKT('SRID=4674;POINT (-40.31862 -2.795474)'))) / (select extract(epoch from '2026-07-23 03:03:26'::timestamp) - extract(epoch from '2026-07-23 03:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318885 -2.795473)'), GeomFromEWKT('SRID=4674;POINT (-40.31862 -2.795474)'))) / (select extract(epoch from '2026-07-23 03:03:26'::timestamp) - extract(epoch from '2026-07-23 03:03: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'), 47640, 'SRID=4674;POINT (-40.31842 -2.795453)', '2026-07-23 03:03:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31862 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.31842 -2.795453)'))) / (select extract(epoch from '2026-07-23 03:03:36'::timestamp) - extract(epoch from '2026-07-23 03:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31862 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.31842 -2.795453)'))) / (select extract(epoch from '2026-07-23 03:03:36'::timestamp) - extract(epoch from '2026-07-23 03:03: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'), 47640, 'SRID=4674;POINT (-40.318299 -2.795438)', '2026-07-23 03:03:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31842 -2.795453)'), GeomFromEWKT('SRID=4674;POINT (-40.318299 -2.795438)'))) / (select extract(epoch from '2026-07-23 03:03:42'::timestamp) - extract(epoch from '2026-07-23 03:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31842 -2.795453)'), GeomFromEWKT('SRID=4674;POINT (-40.318299 -2.795438)'))) / (select extract(epoch from '2026-07-23 03:03:42'::timestamp) - extract(epoch from '2026-07-23 03:03: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'), 47640, 'SRID=4674;POINT (-40.318073 -2.795424)', '2026-07-23 03:03:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318299 -2.795438)'), GeomFromEWKT('SRID=4674;POINT (-40.318073 -2.795424)'))) / (select extract(epoch from '2026-07-23 03:03:53'::timestamp) - extract(epoch from '2026-07-23 03:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318299 -2.795438)'), GeomFromEWKT('SRID=4674;POINT (-40.318073 -2.795424)'))) / (select extract(epoch from '2026-07-23 03:03:53'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.31789 -2.795423)', '2026-07-23 03:04:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318073 -2.795424)'), GeomFromEWKT('SRID=4674;POINT (-40.31789 -2.795423)'))) / (select extract(epoch from '2026-07-23 03:04:02'::timestamp) - extract(epoch from '2026-07-23 03:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318073 -2.795424)'), GeomFromEWKT('SRID=4674;POINT (-40.31789 -2.795423)'))) / (select extract(epoch from '2026-07-23 03:04:02'::timestamp) - extract(epoch from '2026-07-23 03:03: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'), 47640, 'SRID=4674;POINT (-40.317732 -2.795433)', '2026-07-23 03:04:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31789 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.317732 -2.795433)'))) / (select extract(epoch from '2026-07-23 03:04:10'::timestamp) - extract(epoch from '2026-07-23 03:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31789 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.317732 -2.795433)'))) / (select extract(epoch from '2026-07-23 03:04:10'::timestamp) - extract(epoch from '2026-07-23 03:04: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'), 47640, 'SRID=4674;POINT (-40.317528 -2.795421)', '2026-07-23 03:04:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317732 -2.795433)'), GeomFromEWKT('SRID=4674;POINT (-40.317528 -2.795421)'))) / (select extract(epoch from '2026-07-23 03:04:20'::timestamp) - extract(epoch from '2026-07-23 03:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317732 -2.795433)'), GeomFromEWKT('SRID=4674;POINT (-40.317528 -2.795421)'))) / (select extract(epoch from '2026-07-23 03:04:20'::timestamp) - extract(epoch from '2026-07-23 03:04: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'), 47640, 'SRID=4674;POINT (-40.317316 -2.795428)', '2026-07-23 03:04:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317528 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.317316 -2.795428)'))) / (select extract(epoch from '2026-07-23 03:04:30'::timestamp) - extract(epoch from '2026-07-23 03:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317528 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.317316 -2.795428)'))) / (select extract(epoch from '2026-07-23 03:04:30'::timestamp) - extract(epoch from '2026-07-23 03:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.317083 -2.795444)', '2026-07-23 03:04:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317316 -2.795428)'), GeomFromEWKT('SRID=4674;POINT (-40.317083 -2.795444)'))) / (select extract(epoch from '2026-07-23 03:04:41'::timestamp) - extract(epoch from '2026-07-23 03:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317316 -2.795428)'), GeomFromEWKT('SRID=4674;POINT (-40.317083 -2.795444)'))) / (select extract(epoch from '2026-07-23 03:04:41'::timestamp) - extract(epoch from '2026-07-23 03:04: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'), 47640, 'SRID=4674;POINT (-40.316923 -2.795446)', '2026-07-23 03:04:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317083 -2.795444)'), GeomFromEWKT('SRID=4674;POINT (-40.316923 -2.795446)'))) / (select extract(epoch from '2026-07-23 03:04:49'::timestamp) - extract(epoch from '2026-07-23 03:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317083 -2.795444)'), GeomFromEWKT('SRID=4674;POINT (-40.316923 -2.795446)'))) / (select extract(epoch from '2026-07-23 03:04:49'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.316782 -2.795433)', '2026-07-23 03:04:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316923 -2.795446)'), GeomFromEWKT('SRID=4674;POINT (-40.316782 -2.795433)'))) / (select extract(epoch from '2026-07-23 03:04:56'::timestamp) - extract(epoch from '2026-07-23 03:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316923 -2.795446)'), GeomFromEWKT('SRID=4674;POINT (-40.316782 -2.795433)'))) / (select extract(epoch from '2026-07-23 03:04:56'::timestamp) - extract(epoch from '2026-07-23 03:04: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'), 47640, 'SRID=4674;POINT (-40.316592 -2.795431)', '2026-07-23 03:05:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316782 -2.795433)'), GeomFromEWKT('SRID=4674;POINT (-40.316592 -2.795431)'))) / (select extract(epoch from '2026-07-23 03:05:05'::timestamp) - extract(epoch from '2026-07-23 03:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316782 -2.795433)'), GeomFromEWKT('SRID=4674;POINT (-40.316592 -2.795431)'))) / (select extract(epoch from '2026-07-23 03:05:05'::timestamp) - extract(epoch from '2026-07-23 03:04: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'), 47640, 'SRID=4674;POINT (-40.316357 -2.795419)', '2026-07-23 03:05:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316592 -2.795431)'), GeomFromEWKT('SRID=4674;POINT (-40.316357 -2.795419)'))) / (select extract(epoch from '2026-07-23 03:05:16'::timestamp) - extract(epoch from '2026-07-23 03:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316592 -2.795431)'), GeomFromEWKT('SRID=4674;POINT (-40.316357 -2.795419)'))) / (select extract(epoch from '2026-07-23 03:05:16'::timestamp) - extract(epoch from '2026-07-23 03:05: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'), 47640, 'SRID=4674;POINT (-40.316149 -2.795407)', '2026-07-23 03:05:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316357 -2.795419)'), GeomFromEWKT('SRID=4674;POINT (-40.316149 -2.795407)'))) / (select extract(epoch from '2026-07-23 03:05:26'::timestamp) - extract(epoch from '2026-07-23 03:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316357 -2.795419)'), GeomFromEWKT('SRID=4674;POINT (-40.316149 -2.795407)'))) / (select extract(epoch from '2026-07-23 03:05:26'::timestamp) - extract(epoch from '2026-07-23 03:05: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'), 47640, 'SRID=4674;POINT (-40.31596 -2.795397)', '2026-07-23 03:05:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316149 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.31596 -2.795397)'))) / (select extract(epoch from '2026-07-23 03:05:35'::timestamp) - extract(epoch from '2026-07-23 03:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316149 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.31596 -2.795397)'))) / (select extract(epoch from '2026-07-23 03:05:35'::timestamp) - extract(epoch from '2026-07-23 03:05: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'), 47640, 'SRID=4674;POINT (-40.315641 -2.795391)', '2026-07-23 03:05:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31596 -2.795397)'), GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.795391)'))) / (select extract(epoch from '2026-07-23 03:05:50'::timestamp) - extract(epoch from '2026-07-23 03:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31596 -2.795397)'), GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.795391)'))) / (select extract(epoch from '2026-07-23 03:05:50'::timestamp) - extract(epoch from '2026-07-23 03:05: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'), 47640, 'SRID=4674;POINT (-40.315449 -2.795379)', '2026-07-23 03:05:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.795391)'), GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.795379)'))) / (select extract(epoch from '2026-07-23 03:05:59'::timestamp) - extract(epoch from '2026-07-23 03:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.795391)'), GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.795379)'))) / (select extract(epoch from '2026-07-23 03:05:59'::timestamp) - extract(epoch from '2026-07-23 03:05: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'), 47640, 'SRID=4674;POINT (-40.315217 -2.795377)', '2026-07-23 03:06:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.795379)'), GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.795377)'))) / (select extract(epoch from '2026-07-23 03:06:10'::timestamp) - extract(epoch from '2026-07-23 03:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.795379)'), GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.795377)'))) / (select extract(epoch from '2026-07-23 03:06:10'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.315012 -2.795396)', '2026-07-23 03:06:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.795377)'), GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.795396)'))) / (select extract(epoch from '2026-07-23 03:06:20'::timestamp) - extract(epoch from '2026-07-23 03:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315217 -2.795377)'), GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.795396)'))) / (select extract(epoch from '2026-07-23 03:06:20'::timestamp) - extract(epoch from '2026-07-23 03:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314834 -2.795395)', '2026-07-23 03:06:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.795396)'), GeomFromEWKT('SRID=4674;POINT (-40.314834 -2.795395)'))) / (select extract(epoch from '2026-07-23 03:06:29'::timestamp) - extract(epoch from '2026-07-23 03:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315012 -2.795396)'), GeomFromEWKT('SRID=4674;POINT (-40.314834 -2.795395)'))) / (select extract(epoch from '2026-07-23 03:06:29'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47640, 'SRID=4674;POINT (-40.314663 -2.795414)', '2026-07-23 03:06:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314834 -2.795395)'), GeomFromEWKT('SRID=4674;POINT (-40.314663 -2.795414)'))) / (select extract(epoch from '2026-07-23 03:06:38'::timestamp) - extract(epoch from '2026-07-23 03:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314834 -2.795395)'), GeomFromEWKT('SRID=4674;POINT (-40.314663 -2.795414)'))) / (select extract(epoch from '2026-07-23 03:06:38'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47640, 'SRID=4674;POINT (-40.314451 -2.795448)', '2026-07-23 03:06:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314663 -2.795414)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.795448)'))) / (select extract(epoch from '2026-07-23 03:06:49'::timestamp) - extract(epoch from '2026-07-23 03:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314663 -2.795414)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.795448)'))) / (select extract(epoch from '2026-07-23 03:06:49'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47640, 'SRID=4674;POINT (-40.31426 -2.795487)', '2026-07-23 03:06:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.795448)'), GeomFromEWKT('SRID=4674;POINT (-40.31426 -2.795487)'))) / (select extract(epoch from '2026-07-23 03:06:59'::timestamp) - extract(epoch from '2026-07-23 03:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.795448)'), GeomFromEWKT('SRID=4674;POINT (-40.31426 -2.795487)'))) / (select extract(epoch from '2026-07-23 03:06:59'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47640, 'SRID=4674;POINT (-40.314072 -2.795497)', '2026-07-23 03:07:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31426 -2.795487)'), GeomFromEWKT('SRID=4674;POINT (-40.314072 -2.795497)'))) / (select extract(epoch from '2026-07-23 03:07:09'::timestamp) - extract(epoch from '2026-07-23 03:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31426 -2.795487)'), GeomFromEWKT('SRID=4674;POINT (-40.314072 -2.795497)'))) / (select extract(epoch from '2026-07-23 03:07:09'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.31396 -2.795493)', '2026-07-23 03:07:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314072 -2.795497)'), GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.795493)'))) / (select extract(epoch from '2026-07-23 03:07:15'::timestamp) - extract(epoch from '2026-07-23 03:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314072 -2.795497)'), GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.795493)'))) / (select extract(epoch from '2026-07-23 03:07:15'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47640, 'SRID=4674;POINT (-40.313811 -2.795486)', '2026-07-23 03:07:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.795493)'), GeomFromEWKT('SRID=4674;POINT (-40.313811 -2.795486)'))) / (select extract(epoch from '2026-07-23 03:07:23'::timestamp) - extract(epoch from '2026-07-23 03:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31396 -2.795493)'), GeomFromEWKT('SRID=4674;POINT (-40.313811 -2.795486)'))) / (select extract(epoch from '2026-07-23 03:07:23'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47640, 'SRID=4674;POINT (-40.31368 -2.79548)', '2026-07-23 03:07:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313811 -2.795486)'), GeomFromEWKT('SRID=4674;POINT (-40.31368 -2.79548)'))) / (select extract(epoch from '2026-07-23 03:07:30'::timestamp) - extract(epoch from '2026-07-23 03:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313811 -2.795486)'), GeomFromEWKT('SRID=4674;POINT (-40.31368 -2.79548)'))) / (select extract(epoch from '2026-07-23 03:07:30'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47640, 'SRID=4674;POINT (-40.313451 -2.795459)', '2026-07-23 03:07:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31368 -2.79548)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.795459)'))) / (select extract(epoch from '2026-07-23 03:07:42'::timestamp) - extract(epoch from '2026-07-23 03:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31368 -2.79548)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.795459)'))) / (select extract(epoch from '2026-07-23 03:07:42'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47640, 'SRID=4674;POINT (-40.31323 -2.795435)', '2026-07-23 03:07:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.795459)'), GeomFromEWKT('SRID=4674;POINT (-40.31323 -2.795435)'))) / (select extract(epoch from '2026-07-23 03:07:53'::timestamp) - extract(epoch from '2026-07-23 03:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.795459)'), GeomFromEWKT('SRID=4674;POINT (-40.31323 -2.795435)'))) / (select extract(epoch from '2026-07-23 03:07:53'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47640, 'SRID=4674;POINT (-40.313001 -2.795426)', '2026-07-23 03:08:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31323 -2.795435)'), GeomFromEWKT('SRID=4674;POINT (-40.313001 -2.795426)'))) / (select extract(epoch from '2026-07-23 03:08:05'::timestamp) - extract(epoch from '2026-07-23 03:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31323 -2.795435)'), GeomFromEWKT('SRID=4674;POINT (-40.313001 -2.795426)'))) / (select extract(epoch from '2026-07-23 03:08:05'::timestamp) - extract(epoch from '2026-07-23 03:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.312804 -2.795421)', '2026-07-23 03:08:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313001 -2.795426)'), GeomFromEWKT('SRID=4674;POINT (-40.312804 -2.795421)'))) / (select extract(epoch from '2026-07-23 03:08:15'::timestamp) - extract(epoch from '2026-07-23 03:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313001 -2.795426)'), GeomFromEWKT('SRID=4674;POINT (-40.312804 -2.795421)'))) / (select extract(epoch from '2026-07-23 03:08:15'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.312584 -2.795413)', '2026-07-23 03:08:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312804 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.312584 -2.795413)'))) / (select extract(epoch from '2026-07-23 03:08:26'::timestamp) - extract(epoch from '2026-07-23 03:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312804 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.312584 -2.795413)'))) / (select extract(epoch from '2026-07-23 03:08:26'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.312387 -2.795411)', '2026-07-23 03:08:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312584 -2.795413)'), GeomFromEWKT('SRID=4674;POINT (-40.312387 -2.795411)'))) / (select extract(epoch from '2026-07-23 03:08:36'::timestamp) - extract(epoch from '2026-07-23 03:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312584 -2.795413)'), GeomFromEWKT('SRID=4674;POINT (-40.312387 -2.795411)'))) / (select extract(epoch from '2026-07-23 03:08:36'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47640, 'SRID=4674;POINT (-40.312186 -2.795404)', '2026-07-23 03:08:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312387 -2.795411)'), GeomFromEWKT('SRID=4674;POINT (-40.312186 -2.795404)'))) / (select extract(epoch from '2026-07-23 03:08:46'::timestamp) - extract(epoch from '2026-07-23 03:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312387 -2.795411)'), GeomFromEWKT('SRID=4674;POINT (-40.312186 -2.795404)'))) / (select extract(epoch from '2026-07-23 03:08:46'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47640, 'SRID=4674;POINT (-40.311966 -2.795389)', '2026-07-23 03:08:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312186 -2.795404)'), GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.795389)'))) / (select extract(epoch from '2026-07-23 03:08:57'::timestamp) - extract(epoch from '2026-07-23 03:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312186 -2.795404)'), GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.795389)'))) / (select extract(epoch from '2026-07-23 03:08:57'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47640, 'SRID=4674;POINT (-40.311781 -2.795376)', '2026-07-23 03:09:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.795389)'), GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.795376)'))) / (select extract(epoch from '2026-07-23 03:09:06'::timestamp) - extract(epoch from '2026-07-23 03:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311966 -2.795389)'), GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.795376)'))) / (select extract(epoch from '2026-07-23 03:09:06'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47640, 'SRID=4674;POINT (-40.31162 -2.795362)', '2026-07-23 03:09:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.795376)'), GeomFromEWKT('SRID=4674;POINT (-40.31162 -2.795362)'))) / (select extract(epoch from '2026-07-23 03:09:14'::timestamp) - extract(epoch from '2026-07-23 03:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.795376)'), GeomFromEWKT('SRID=4674;POINT (-40.31162 -2.795362)'))) / (select extract(epoch from '2026-07-23 03:09:14'::timestamp) - extract(epoch from '2026-07-23 03:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311417 -2.795343)', '2026-07-23 03:09:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31162 -2.795362)'), GeomFromEWKT('SRID=4674;POINT (-40.311417 -2.795343)'))) / (select extract(epoch from '2026-07-23 03:09:24'::timestamp) - extract(epoch from '2026-07-23 03:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31162 -2.795362)'), GeomFromEWKT('SRID=4674;POINT (-40.311417 -2.795343)'))) / (select extract(epoch from '2026-07-23 03:09:24'::timestamp) - extract(epoch from '2026-07-23 03:09: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'), 47640, 'SRID=4674;POINT (-40.311279 -2.795332)', '2026-07-23 03:09:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311417 -2.795343)'), GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.795332)'))) / (select extract(epoch from '2026-07-23 03:09:31'::timestamp) - extract(epoch from '2026-07-23 03:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311417 -2.795343)'), GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.795332)'))) / (select extract(epoch from '2026-07-23 03:09:31'::timestamp) - extract(epoch from '2026-07-23 03:09: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'), 47640, 'SRID=4674;POINT (-40.311104 -2.79532)', '2026-07-23 03:09:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.795332)'), GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.79532)'))) / (select extract(epoch from '2026-07-23 03:09:40'::timestamp) - extract(epoch from '2026-07-23 03:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.795332)'), GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.79532)'))) / (select extract(epoch from '2026-07-23 03:09:40'::timestamp) - extract(epoch from '2026-07-23 03:09: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'), 47640, 'SRID=4674;POINT (-40.31084 -2.795299)', '2026-07-23 03:09:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.79532)'), GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.795299)'))) / (select extract(epoch from '2026-07-23 03:09:53'::timestamp) - extract(epoch from '2026-07-23 03:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.79532)'), GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.795299)'))) / (select extract(epoch from '2026-07-23 03:09:53'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.310702 -2.795292)', '2026-07-23 03:10:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.795299)'), GeomFromEWKT('SRID=4674;POINT (-40.310702 -2.795292)'))) / (select extract(epoch from '2026-07-23 03:10:00'::timestamp) - extract(epoch from '2026-07-23 03:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31084 -2.795299)'), GeomFromEWKT('SRID=4674;POINT (-40.310702 -2.795292)'))) / (select extract(epoch from '2026-07-23 03:10:00'::timestamp) - extract(epoch from '2026-07-23 03:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310431 -2.79527)', '2026-07-23 03:10:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310702 -2.795292)'), GeomFromEWKT('SRID=4674;POINT (-40.310431 -2.79527)'))) / (select extract(epoch from '2026-07-23 03:10:13'::timestamp) - extract(epoch from '2026-07-23 03:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310702 -2.795292)'), GeomFromEWKT('SRID=4674;POINT (-40.310431 -2.79527)'))) / (select extract(epoch from '2026-07-23 03:10:13'::timestamp) - extract(epoch from '2026-07-23 03:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310208 -2.795258)', '2026-07-23 03:10:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310431 -2.79527)'), GeomFromEWKT('SRID=4674;POINT (-40.310208 -2.795258)'))) / (select extract(epoch from '2026-07-23 03:10:24'::timestamp) - extract(epoch from '2026-07-23 03:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310431 -2.79527)'), GeomFromEWKT('SRID=4674;POINT (-40.310208 -2.795258)'))) / (select extract(epoch from '2026-07-23 03:10:24'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.310068 -2.795238)', '2026-07-23 03:10:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310208 -2.795258)'), GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.795238)'))) / (select extract(epoch from '2026-07-23 03:10:31'::timestamp) - extract(epoch from '2026-07-23 03:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310208 -2.795258)'), GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.795238)'))) / (select extract(epoch from '2026-07-23 03:10:31'::timestamp) - extract(epoch from '2026-07-23 03:10: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'), 47640, 'SRID=4674;POINT (-40.309866 -2.795217)', '2026-07-23 03:10:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.795238)'), GeomFromEWKT('SRID=4674;POINT (-40.309866 -2.795217)'))) / (select extract(epoch from '2026-07-23 03:10:41'::timestamp) - extract(epoch from '2026-07-23 03:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.795238)'), GeomFromEWKT('SRID=4674;POINT (-40.309866 -2.795217)'))) / (select extract(epoch from '2026-07-23 03:10:41'::timestamp) - extract(epoch from '2026-07-23 03:10: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'), 47640, 'SRID=4674;POINT (-40.309683 -2.795194)', '2026-07-23 03:10:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309866 -2.795217)'), GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.795194)'))) / (select extract(epoch from '2026-07-23 03:10:50'::timestamp) - extract(epoch from '2026-07-23 03:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309866 -2.795217)'), GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.795194)'))) / (select extract(epoch from '2026-07-23 03:10:50'::timestamp) - extract(epoch from '2026-07-23 03:10: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'), 47640, 'SRID=4674;POINT (-40.309522 -2.795175)', '2026-07-23 03:10:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.795194)'), GeomFromEWKT('SRID=4674;POINT (-40.309522 -2.795175)'))) / (select extract(epoch from '2026-07-23 03:10:58'::timestamp) - extract(epoch from '2026-07-23 03:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309683 -2.795194)'), GeomFromEWKT('SRID=4674;POINT (-40.309522 -2.795175)'))) / (select extract(epoch from '2026-07-23 03:10:58'::timestamp) - extract(epoch from '2026-07-23 03:10: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'), 47640, 'SRID=4674;POINT (-40.309324 -2.795135)', '2026-07-23 03:11:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309522 -2.795175)'), GeomFromEWKT('SRID=4674;POINT (-40.309324 -2.795135)'))) / (select extract(epoch from '2026-07-23 03:11:08'::timestamp) - extract(epoch from '2026-07-23 03:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309522 -2.795175)'), GeomFromEWKT('SRID=4674;POINT (-40.309324 -2.795135)'))) / (select extract(epoch from '2026-07-23 03:11:08'::timestamp) - extract(epoch from '2026-07-23 03:10: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'), 47640, 'SRID=4674;POINT (-40.309118 -2.795097)', '2026-07-23 03:11:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309324 -2.795135)'), GeomFromEWKT('SRID=4674;POINT (-40.309118 -2.795097)'))) / (select extract(epoch from '2026-07-23 03:11:18'::timestamp) - extract(epoch from '2026-07-23 03:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309324 -2.795135)'), GeomFromEWKT('SRID=4674;POINT (-40.309118 -2.795097)'))) / (select extract(epoch from '2026-07-23 03:11:18'::timestamp) - extract(epoch from '2026-07-23 03:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308984 -2.795076)', '2026-07-23 03:11:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309118 -2.795097)'), GeomFromEWKT('SRID=4674;POINT (-40.308984 -2.795076)'))) / (select extract(epoch from '2026-07-23 03:11:25'::timestamp) - extract(epoch from '2026-07-23 03:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309118 -2.795097)'), GeomFromEWKT('SRID=4674;POINT (-40.308984 -2.795076)'))) / (select extract(epoch from '2026-07-23 03:11:25'::timestamp) - extract(epoch from '2026-07-23 03:11: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'), 47640, 'SRID=4674;POINT (-40.308854 -2.795041)', '2026-07-23 03:11:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308984 -2.795076)'), GeomFromEWKT('SRID=4674;POINT (-40.308854 -2.795041)'))) / (select extract(epoch from '2026-07-23 03:11:32'::timestamp) - extract(epoch from '2026-07-23 03:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308984 -2.795076)'), GeomFromEWKT('SRID=4674;POINT (-40.308854 -2.795041)'))) / (select extract(epoch from '2026-07-23 03:11:32'::timestamp) - extract(epoch from '2026-07-23 03:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308577 -2.794965)', '2026-07-23 03:11:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308854 -2.795041)'), GeomFromEWKT('SRID=4674;POINT (-40.308577 -2.794965)'))) / (select extract(epoch from '2026-07-23 03:11:46'::timestamp) - extract(epoch from '2026-07-23 03:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308854 -2.795041)'), GeomFromEWKT('SRID=4674;POINT (-40.308577 -2.794965)'))) / (select extract(epoch from '2026-07-23 03:11:46'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.30837 -2.794924)', '2026-07-23 03:11:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308577 -2.794965)'), GeomFromEWKT('SRID=4674;POINT (-40.30837 -2.794924)'))) / (select extract(epoch from '2026-07-23 03:11:56'::timestamp) - extract(epoch from '2026-07-23 03:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308577 -2.794965)'), GeomFromEWKT('SRID=4674;POINT (-40.30837 -2.794924)'))) / (select extract(epoch from '2026-07-23 03:11:56'::timestamp) - extract(epoch from '2026-07-23 03:11: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'), 47640, 'SRID=4674;POINT (-40.308207 -2.794902)', '2026-07-23 03:12:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30837 -2.794924)'), GeomFromEWKT('SRID=4674;POINT (-40.308207 -2.794902)'))) / (select extract(epoch from '2026-07-23 03:12:04'::timestamp) - extract(epoch from '2026-07-23 03:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30837 -2.794924)'), GeomFromEWKT('SRID=4674;POINT (-40.308207 -2.794902)'))) / (select extract(epoch from '2026-07-23 03:12:04'::timestamp) - extract(epoch from '2026-07-23 03:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308023 -2.794899)', '2026-07-23 03:12:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308207 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.308023 -2.794899)'))) / (select extract(epoch from '2026-07-23 03:12:13'::timestamp) - extract(epoch from '2026-07-23 03:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308207 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.308023 -2.794899)'))) / (select extract(epoch from '2026-07-23 03:12:13'::timestamp) - extract(epoch from '2026-07-23 03:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307772 -2.794902)', '2026-07-23 03:12:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308023 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.307772 -2.794902)'))) / (select extract(epoch from '2026-07-23 03:12:25'::timestamp) - extract(epoch from '2026-07-23 03:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308023 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.307772 -2.794902)'))) / (select extract(epoch from '2026-07-23 03:12:25'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.307605 -2.7949)', '2026-07-23 03:12:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307772 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.307605 -2.7949)'))) / (select extract(epoch from '2026-07-23 03:12:33'::timestamp) - extract(epoch from '2026-07-23 03:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307772 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.307605 -2.7949)'))) / (select extract(epoch from '2026-07-23 03:12:33'::timestamp) - extract(epoch from '2026-07-23 03:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307449 -2.794899)', '2026-07-23 03:12:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307605 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.307449 -2.794899)'))) / (select extract(epoch from '2026-07-23 03:12:41'::timestamp) - extract(epoch from '2026-07-23 03:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307605 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.307449 -2.794899)'))) / (select extract(epoch from '2026-07-23 03:12:41'::timestamp) - extract(epoch from '2026-07-23 03:12: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'), 47640, 'SRID=4674;POINT (-40.30725 -2.794893)', '2026-07-23 03:12:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307449 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.794893)'))) / (select extract(epoch from '2026-07-23 03:12:51'::timestamp) - extract(epoch from '2026-07-23 03:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307449 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.794893)'))) / (select extract(epoch from '2026-07-23 03:12:51'::timestamp) - extract(epoch from '2026-07-23 03:12: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'), 47640, 'SRID=4674;POINT (-40.30711 -2.794891)', '2026-07-23 03:12:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.794893)'), GeomFromEWKT('SRID=4674;POINT (-40.30711 -2.794891)'))) / (select extract(epoch from '2026-07-23 03:12:58'::timestamp) - extract(epoch from '2026-07-23 03:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.794893)'), GeomFromEWKT('SRID=4674;POINT (-40.30711 -2.794891)'))) / (select extract(epoch from '2026-07-23 03:12:58'::timestamp) - extract(epoch from '2026-07-23 03:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306934 -2.794868)', '2026-07-23 03:13:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30711 -2.794891)'), GeomFromEWKT('SRID=4674;POINT (-40.306934 -2.794868)'))) / (select extract(epoch from '2026-07-23 03:13:07'::timestamp) - extract(epoch from '2026-07-23 03:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30711 -2.794891)'), GeomFromEWKT('SRID=4674;POINT (-40.306934 -2.794868)'))) / (select extract(epoch from '2026-07-23 03:13:07'::timestamp) - extract(epoch from '2026-07-23 03:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306731 -2.794845)', '2026-07-23 03:13:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306934 -2.794868)'), GeomFromEWKT('SRID=4674;POINT (-40.306731 -2.794845)'))) / (select extract(epoch from '2026-07-23 03:13:17'::timestamp) - extract(epoch from '2026-07-23 03:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306934 -2.794868)'), GeomFromEWKT('SRID=4674;POINT (-40.306731 -2.794845)'))) / (select extract(epoch from '2026-07-23 03:13:17'::timestamp) - extract(epoch from '2026-07-23 03:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306551 -2.794822)', '2026-07-23 03:13:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306731 -2.794845)'), GeomFromEWKT('SRID=4674;POINT (-40.306551 -2.794822)'))) / (select extract(epoch from '2026-07-23 03:13:26'::timestamp) - extract(epoch from '2026-07-23 03:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306731 -2.794845)'), GeomFromEWKT('SRID=4674;POINT (-40.306551 -2.794822)'))) / (select extract(epoch from '2026-07-23 03:13:26'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.306391 -2.794793)', '2026-07-23 03:13:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306551 -2.794822)'), GeomFromEWKT('SRID=4674;POINT (-40.306391 -2.794793)'))) / (select extract(epoch from '2026-07-23 03:13:34'::timestamp) - extract(epoch from '2026-07-23 03:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306551 -2.794822)'), GeomFromEWKT('SRID=4674;POINT (-40.306391 -2.794793)'))) / (select extract(epoch from '2026-07-23 03:13:34'::timestamp) - extract(epoch from '2026-07-23 03:13: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'), 47640, 'SRID=4674;POINT (-40.306248 -2.794788)', '2026-07-23 03:13:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306391 -2.794793)'), GeomFromEWKT('SRID=4674;POINT (-40.306248 -2.794788)'))) / (select extract(epoch from '2026-07-23 03:13:41'::timestamp) - extract(epoch from '2026-07-23 03:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306391 -2.794793)'), GeomFromEWKT('SRID=4674;POINT (-40.306248 -2.794788)'))) / (select extract(epoch from '2026-07-23 03:13:41'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.306066 -2.794787)', '2026-07-23 03:13:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306248 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.306066 -2.794787)'))) / (select extract(epoch from '2026-07-23 03:13:50'::timestamp) - extract(epoch from '2026-07-23 03:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306248 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.306066 -2.794787)'))) / (select extract(epoch from '2026-07-23 03:13:50'::timestamp) - extract(epoch from '2026-07-23 03:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305912 -2.794774)', '2026-07-23 03:13:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306066 -2.794787)'), GeomFromEWKT('SRID=4674;POINT (-40.305912 -2.794774)'))) / (select extract(epoch from '2026-07-23 03:13:58'::timestamp) - extract(epoch from '2026-07-23 03:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306066 -2.794787)'), GeomFromEWKT('SRID=4674;POINT (-40.305912 -2.794774)'))) / (select extract(epoch from '2026-07-23 03:13:58'::timestamp) - extract(epoch from '2026-07-23 03:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305754 -2.794782)', '2026-07-23 03:14:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305912 -2.794774)'), GeomFromEWKT('SRID=4674;POINT (-40.305754 -2.794782)'))) / (select extract(epoch from '2026-07-23 03:14:06'::timestamp) - extract(epoch from '2026-07-23 03:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305912 -2.794774)'), GeomFromEWKT('SRID=4674;POINT (-40.305754 -2.794782)'))) / (select extract(epoch from '2026-07-23 03:14:06'::timestamp) - extract(epoch from '2026-07-23 03:13: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'), 47640, 'SRID=4674;POINT (-40.305565 -2.794801)', '2026-07-23 03:14:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305754 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.305565 -2.794801)'))) / (select extract(epoch from '2026-07-23 03:14:16'::timestamp) - extract(epoch from '2026-07-23 03:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305754 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.305565 -2.794801)'))) / (select extract(epoch from '2026-07-23 03:14:16'::timestamp) - extract(epoch from '2026-07-23 03:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305366 -2.794817)', '2026-07-23 03:14:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305565 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.305366 -2.794817)'))) / (select extract(epoch from '2026-07-23 03:14:26'::timestamp) - extract(epoch from '2026-07-23 03:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305565 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.305366 -2.794817)'))) / (select extract(epoch from '2026-07-23 03:14:26'::timestamp) - extract(epoch from '2026-07-23 03:14: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'), 47640, 'SRID=4674;POINT (-40.305246 -2.794816)', '2026-07-23 03:14:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305366 -2.794817)'), GeomFromEWKT('SRID=4674;POINT (-40.305246 -2.794816)'))) / (select extract(epoch from '2026-07-23 03:14:32'::timestamp) - extract(epoch from '2026-07-23 03:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305366 -2.794817)'), GeomFromEWKT('SRID=4674;POINT (-40.305246 -2.794816)'))) / (select extract(epoch from '2026-07-23 03:14:32'::timestamp) - extract(epoch from '2026-07-23 03:14: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'), 47640, 'SRID=4674;POINT (-40.305109 -2.794817)', '2026-07-23 03:14:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305246 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.305109 -2.794817)'))) / (select extract(epoch from '2026-07-23 03:14:39'::timestamp) - extract(epoch from '2026-07-23 03:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305246 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.305109 -2.794817)'))) / (select extract(epoch from '2026-07-23 03:14:39'::timestamp) - extract(epoch from '2026-07-23 03:14: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'), 47640, 'SRID=4674;POINT (-40.304953 -2.794828)', '2026-07-23 03:14:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305109 -2.794817)'), GeomFromEWKT('SRID=4674;POINT (-40.304953 -2.794828)'))) / (select extract(epoch from '2026-07-23 03:14:47'::timestamp) - extract(epoch from '2026-07-23 03:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305109 -2.794817)'), GeomFromEWKT('SRID=4674;POINT (-40.304953 -2.794828)'))) / (select extract(epoch from '2026-07-23 03:14:47'::timestamp) - extract(epoch from '2026-07-23 03:14: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'), 47640, 'SRID=4674;POINT (-40.304756 -2.794856)', '2026-07-23 03:14:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304953 -2.794828)'), GeomFromEWKT('SRID=4674;POINT (-40.304756 -2.794856)'))) / (select extract(epoch from '2026-07-23 03:14:57'::timestamp) - extract(epoch from '2026-07-23 03:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304953 -2.794828)'), GeomFromEWKT('SRID=4674;POINT (-40.304756 -2.794856)'))) / (select extract(epoch from '2026-07-23 03:14:57'::timestamp) - extract(epoch from '2026-07-23 03:14: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'), 47640, 'SRID=4674;POINT (-40.304604 -2.794901)', '2026-07-23 03:15:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304756 -2.794856)'), GeomFromEWKT('SRID=4674;POINT (-40.304604 -2.794901)'))) / (select extract(epoch from '2026-07-23 03:15:05'::timestamp) - extract(epoch from '2026-07-23 03:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304756 -2.794856)'), GeomFromEWKT('SRID=4674;POINT (-40.304604 -2.794901)'))) / (select extract(epoch from '2026-07-23 03:15:05'::timestamp) - extract(epoch from '2026-07-23 03:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304405 -2.79493)', '2026-07-23 03:15:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304604 -2.794901)'), GeomFromEWKT('SRID=4674;POINT (-40.304405 -2.79493)'))) / (select extract(epoch from '2026-07-23 03:15:15'::timestamp) - extract(epoch from '2026-07-23 03:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304604 -2.794901)'), GeomFromEWKT('SRID=4674;POINT (-40.304405 -2.79493)'))) / (select extract(epoch from '2026-07-23 03:15:15'::timestamp) - extract(epoch from '2026-07-23 03:15: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'), 47640, 'SRID=4674;POINT (-40.304187 -2.794955)', '2026-07-23 03:15:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304405 -2.79493)'), GeomFromEWKT('SRID=4674;POINT (-40.304187 -2.794955)'))) / (select extract(epoch from '2026-07-23 03:15:26'::timestamp) - extract(epoch from '2026-07-23 03:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304405 -2.79493)'), GeomFromEWKT('SRID=4674;POINT (-40.304187 -2.794955)'))) / (select extract(epoch from '2026-07-23 03:15:26'::timestamp) - extract(epoch from '2026-07-23 03:15: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'), 47640, 'SRID=4674;POINT (-40.303989 -2.79497)', '2026-07-23 03:15:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304187 -2.794955)'), GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.79497)'))) / (select extract(epoch from '2026-07-23 03:15:36'::timestamp) - extract(epoch from '2026-07-23 03:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304187 -2.794955)'), GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.79497)'))) / (select extract(epoch from '2026-07-23 03:15:36'::timestamp) - extract(epoch from '2026-07-23 03:15: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'), 47640, 'SRID=4674;POINT (-40.303806 -2.794977)', '2026-07-23 03:15:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.79497)'), GeomFromEWKT('SRID=4674;POINT (-40.303806 -2.794977)'))) / (select extract(epoch from '2026-07-23 03:15:45'::timestamp) - extract(epoch from '2026-07-23 03:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303989 -2.79497)'), GeomFromEWKT('SRID=4674;POINT (-40.303806 -2.794977)'))) / (select extract(epoch from '2026-07-23 03:15:45'::timestamp) - extract(epoch from '2026-07-23 03:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303624 -2.794989)', '2026-07-23 03:15:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303806 -2.794977)'), GeomFromEWKT('SRID=4674;POINT (-40.303624 -2.794989)'))) / (select extract(epoch from '2026-07-23 03:15:54'::timestamp) - extract(epoch from '2026-07-23 03:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303806 -2.794977)'), GeomFromEWKT('SRID=4674;POINT (-40.303624 -2.794989)'))) / (select extract(epoch from '2026-07-23 03:15:54'::timestamp) - extract(epoch from '2026-07-23 03:15: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'), 47640, 'SRID=4674;POINT (-40.303507 -2.794998)', '2026-07-23 03:16:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303624 -2.794989)'), GeomFromEWKT('SRID=4674;POINT (-40.303507 -2.794998)'))) / (select extract(epoch from '2026-07-23 03:16:00'::timestamp) - extract(epoch from '2026-07-23 03:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303624 -2.794989)'), GeomFromEWKT('SRID=4674;POINT (-40.303507 -2.794998)'))) / (select extract(epoch from '2026-07-23 03:16:00'::timestamp) - extract(epoch from '2026-07-23 03:15: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'), 47640, 'SRID=4674;POINT (-40.303303 -2.794996)', '2026-07-23 03:16:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303507 -2.794998)'), GeomFromEWKT('SRID=4674;POINT (-40.303303 -2.794996)'))) / (select extract(epoch from '2026-07-23 03:16:10'::timestamp) - extract(epoch from '2026-07-23 03:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303507 -2.794998)'), GeomFromEWKT('SRID=4674;POINT (-40.303303 -2.794996)'))) / (select extract(epoch from '2026-07-23 03:16:10'::timestamp) - extract(epoch from '2026-07-23 03:16: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'), 47640, 'SRID=4674;POINT (-40.303056 -2.794989)', '2026-07-23 03:16:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303303 -2.794996)'), GeomFromEWKT('SRID=4674;POINT (-40.303056 -2.794989)'))) / (select extract(epoch from '2026-07-23 03:16:22'::timestamp) - extract(epoch from '2026-07-23 03:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303303 -2.794996)'), GeomFromEWKT('SRID=4674;POINT (-40.303056 -2.794989)'))) / (select extract(epoch from '2026-07-23 03:16:22'::timestamp) - extract(epoch from '2026-07-23 03:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302817 -2.794987)', '2026-07-23 03:16:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303056 -2.794989)'), GeomFromEWKT('SRID=4674;POINT (-40.302817 -2.794987)'))) / (select extract(epoch from '2026-07-23 03:16:34'::timestamp) - extract(epoch from '2026-07-23 03:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303056 -2.794989)'), GeomFromEWKT('SRID=4674;POINT (-40.302817 -2.794987)'))) / (select extract(epoch from '2026-07-23 03:16:34'::timestamp) - extract(epoch from '2026-07-23 03:16: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'), 47640, 'SRID=4674;POINT (-40.302591 -2.794985)', '2026-07-23 03:16:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302817 -2.794987)'), GeomFromEWKT('SRID=4674;POINT (-40.302591 -2.794985)'))) / (select extract(epoch from '2026-07-23 03:16:45'::timestamp) - extract(epoch from '2026-07-23 03:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302817 -2.794987)'), GeomFromEWKT('SRID=4674;POINT (-40.302591 -2.794985)'))) / (select extract(epoch from '2026-07-23 03:16:45'::timestamp) - extract(epoch from '2026-07-23 03:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302396 -2.794986)', '2026-07-23 03:16:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302591 -2.794985)'), GeomFromEWKT('SRID=4674;POINT (-40.302396 -2.794986)'))) / (select extract(epoch from '2026-07-23 03:16:55'::timestamp) - extract(epoch from '2026-07-23 03:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302591 -2.794985)'), GeomFromEWKT('SRID=4674;POINT (-40.302396 -2.794986)'))) / (select extract(epoch from '2026-07-23 03:16:55'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.302189 -2.794984)', '2026-07-23 03:17:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302396 -2.794986)'), GeomFromEWKT('SRID=4674;POINT (-40.302189 -2.794984)'))) / (select extract(epoch from '2026-07-23 03:17:05'::timestamp) - extract(epoch from '2026-07-23 03:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302396 -2.794986)'), GeomFromEWKT('SRID=4674;POINT (-40.302189 -2.794984)'))) / (select extract(epoch from '2026-07-23 03:17:05'::timestamp) - extract(epoch from '2026-07-23 03:16: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'), 47640, 'SRID=4674;POINT (-40.302012 -2.794982)', '2026-07-23 03:17:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302189 -2.794984)'), GeomFromEWKT('SRID=4674;POINT (-40.302012 -2.794982)'))) / (select extract(epoch from '2026-07-23 03:17:14'::timestamp) - extract(epoch from '2026-07-23 03:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302189 -2.794984)'), GeomFromEWKT('SRID=4674;POINT (-40.302012 -2.794982)'))) / (select extract(epoch from '2026-07-23 03:17:14'::timestamp) - extract(epoch from '2026-07-23 03:17: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'), 47640, 'SRID=4674;POINT (-40.301833 -2.794985)', '2026-07-23 03:17:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302012 -2.794982)'), GeomFromEWKT('SRID=4674;POINT (-40.301833 -2.794985)'))) / (select extract(epoch from '2026-07-23 03:17:23'::timestamp) - extract(epoch from '2026-07-23 03:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302012 -2.794982)'), GeomFromEWKT('SRID=4674;POINT (-40.301833 -2.794985)'))) / (select extract(epoch from '2026-07-23 03:17:23'::timestamp) - extract(epoch from '2026-07-23 03:17: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'), 47640, 'SRID=4674;POINT (-40.301697 -2.79498)', '2026-07-23 03:17:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301833 -2.794985)'), GeomFromEWKT('SRID=4674;POINT (-40.301697 -2.79498)'))) / (select extract(epoch from '2026-07-23 03:17:30'::timestamp) - extract(epoch from '2026-07-23 03:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301833 -2.794985)'), GeomFromEWKT('SRID=4674;POINT (-40.301697 -2.79498)'))) / (select extract(epoch from '2026-07-23 03:17:30'::timestamp) - extract(epoch from '2026-07-23 03:17: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'), 47640, 'SRID=4674;POINT (-40.301537 -2.794964)', '2026-07-23 03:17:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301697 -2.79498)'), GeomFromEWKT('SRID=4674;POINT (-40.301537 -2.794964)'))) / (select extract(epoch from '2026-07-23 03:17:38'::timestamp) - extract(epoch from '2026-07-23 03:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301697 -2.79498)'), GeomFromEWKT('SRID=4674;POINT (-40.301537 -2.794964)'))) / (select extract(epoch from '2026-07-23 03:17:38'::timestamp) - extract(epoch from '2026-07-23 03:17: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'), 47640, 'SRID=4674;POINT (-40.30134 -2.794945)', '2026-07-23 03:17:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301537 -2.794964)'), GeomFromEWKT('SRID=4674;POINT (-40.30134 -2.794945)'))) / (select extract(epoch from '2026-07-23 03:17:48'::timestamp) - extract(epoch from '2026-07-23 03:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301537 -2.794964)'), GeomFromEWKT('SRID=4674;POINT (-40.30134 -2.794945)'))) / (select extract(epoch from '2026-07-23 03:17:48'::timestamp) - extract(epoch from '2026-07-23 03:17: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'), 47640, 'SRID=4674;POINT (-40.30116 -2.794933)', '2026-07-23 03:17:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30134 -2.794945)'), GeomFromEWKT('SRID=4674;POINT (-40.30116 -2.794933)'))) / (select extract(epoch from '2026-07-23 03:17:57'::timestamp) - extract(epoch from '2026-07-23 03:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30134 -2.794945)'), GeomFromEWKT('SRID=4674;POINT (-40.30116 -2.794933)'))) / (select extract(epoch from '2026-07-23 03:17:57'::timestamp) - extract(epoch from '2026-07-23 03:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301018 -2.794942)', '2026-07-23 03:18:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30116 -2.794933)'), GeomFromEWKT('SRID=4674;POINT (-40.301018 -2.794942)'))) / (select extract(epoch from '2026-07-23 03:18:04'::timestamp) - extract(epoch from '2026-07-23 03:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30116 -2.794933)'), GeomFromEWKT('SRID=4674;POINT (-40.301018 -2.794942)'))) / (select extract(epoch from '2026-07-23 03:18:04'::timestamp) - extract(epoch from '2026-07-23 03:17: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'), 47640, 'SRID=4674;POINT (-40.300863 -2.794942)', '2026-07-23 03:18:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301018 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.300863 -2.794942)'))) / (select extract(epoch from '2026-07-23 03:18:12'::timestamp) - extract(epoch from '2026-07-23 03:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301018 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.300863 -2.794942)'))) / (select extract(epoch from '2026-07-23 03:18:12'::timestamp) - extract(epoch from '2026-07-23 03:18: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'), 47640, 'SRID=4674;POINT (-40.300685 -2.794934)', '2026-07-23 03:18:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300863 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.300685 -2.794934)'))) / (select extract(epoch from '2026-07-23 03:18:21'::timestamp) - extract(epoch from '2026-07-23 03:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300863 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.300685 -2.794934)'))) / (select extract(epoch from '2026-07-23 03:18:21'::timestamp) - extract(epoch from '2026-07-23 03:18: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'), 47640, 'SRID=4674;POINT (-40.300504 -2.794931)', '2026-07-23 03:18:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300685 -2.794934)'), GeomFromEWKT('SRID=4674;POINT (-40.300504 -2.794931)'))) / (select extract(epoch from '2026-07-23 03:18:30'::timestamp) - extract(epoch from '2026-07-23 03:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300685 -2.794934)'), GeomFromEWKT('SRID=4674;POINT (-40.300504 -2.794931)'))) / (select extract(epoch from '2026-07-23 03:18:30'::timestamp) - extract(epoch from '2026-07-23 03:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30036 -2.79494)', '2026-07-23 03:18:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300504 -2.794931)'), GeomFromEWKT('SRID=4674;POINT (-40.30036 -2.79494)'))) / (select extract(epoch from '2026-07-23 03:18:37'::timestamp) - extract(epoch from '2026-07-23 03:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300504 -2.794931)'), GeomFromEWKT('SRID=4674;POINT (-40.30036 -2.79494)'))) / (select extract(epoch from '2026-07-23 03:18:37'::timestamp) - extract(epoch from '2026-07-23 03:18: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'), 47640, 'SRID=4674;POINT (-40.300144 -2.794929)', '2026-07-23 03:18:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30036 -2.79494)'), GeomFromEWKT('SRID=4674;POINT (-40.300144 -2.794929)'))) / (select extract(epoch from '2026-07-23 03:18:48'::timestamp) - extract(epoch from '2026-07-23 03:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30036 -2.79494)'), GeomFromEWKT('SRID=4674;POINT (-40.300144 -2.794929)'))) / (select extract(epoch from '2026-07-23 03:18:48'::timestamp) - extract(epoch from '2026-07-23 03:18: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'), 47640, 'SRID=4674;POINT (-40.29992 -2.794911)', '2026-07-23 03:18:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300144 -2.794929)'), GeomFromEWKT('SRID=4674;POINT (-40.29992 -2.794911)'))) / (select extract(epoch from '2026-07-23 03:18:59'::timestamp) - extract(epoch from '2026-07-23 03:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300144 -2.794929)'), GeomFromEWKT('SRID=4674;POINT (-40.29992 -2.794911)'))) / (select extract(epoch from '2026-07-23 03:18:59'::timestamp) - extract(epoch from '2026-07-23 03:18: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'), 47640, 'SRID=4674;POINT (-40.299726 -2.79489)', '2026-07-23 03:19:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29992 -2.794911)'), GeomFromEWKT('SRID=4674;POINT (-40.299726 -2.79489)'))) / (select extract(epoch from '2026-07-23 03:19:09'::timestamp) - extract(epoch from '2026-07-23 03:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29992 -2.794911)'), GeomFromEWKT('SRID=4674;POINT (-40.299726 -2.79489)'))) / (select extract(epoch from '2026-07-23 03:19:09'::timestamp) - extract(epoch from '2026-07-23 03:18: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'), 47640, 'SRID=4674;POINT (-40.299565 -2.794868)', '2026-07-23 03:19:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299726 -2.79489)'), GeomFromEWKT('SRID=4674;POINT (-40.299565 -2.794868)'))) / (select extract(epoch from '2026-07-23 03:19:17'::timestamp) - extract(epoch from '2026-07-23 03:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299726 -2.79489)'), GeomFromEWKT('SRID=4674;POINT (-40.299565 -2.794868)'))) / (select extract(epoch from '2026-07-23 03:19:17'::timestamp) - extract(epoch from '2026-07-23 03:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299403 -2.79484)', '2026-07-23 03:19:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299565 -2.794868)'), GeomFromEWKT('SRID=4674;POINT (-40.299403 -2.79484)'))) / (select extract(epoch from '2026-07-23 03:19:25'::timestamp) - extract(epoch from '2026-07-23 03:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299565 -2.794868)'), GeomFromEWKT('SRID=4674;POINT (-40.299403 -2.79484)'))) / (select extract(epoch from '2026-07-23 03:19:25'::timestamp) - extract(epoch from '2026-07-23 03:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299244 -2.794811)', '2026-07-23 03:19:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299403 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.299244 -2.794811)'))) / (select extract(epoch from '2026-07-23 03:19:33'::timestamp) - extract(epoch from '2026-07-23 03:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299403 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.299244 -2.794811)'))) / (select extract(epoch from '2026-07-23 03:19:33'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.299063 -2.794792)', '2026-07-23 03:19:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299244 -2.794811)'), GeomFromEWKT('SRID=4674;POINT (-40.299063 -2.794792)'))) / (select extract(epoch from '2026-07-23 03:19:42'::timestamp) - extract(epoch from '2026-07-23 03:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299244 -2.794811)'), GeomFromEWKT('SRID=4674;POINT (-40.299063 -2.794792)'))) / (select extract(epoch from '2026-07-23 03:19:42'::timestamp) - extract(epoch from '2026-07-23 03:19: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'), 47640, 'SRID=4674;POINT (-40.298886 -2.794771)', '2026-07-23 03:19:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299063 -2.794792)'), GeomFromEWKT('SRID=4674;POINT (-40.298886 -2.794771)'))) / (select extract(epoch from '2026-07-23 03:19:51'::timestamp) - extract(epoch from '2026-07-23 03:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299063 -2.794792)'), GeomFromEWKT('SRID=4674;POINT (-40.298886 -2.794771)'))) / (select extract(epoch from '2026-07-23 03:19:51'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.298705 -2.794753)', '2026-07-23 03:20:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298886 -2.794771)'), GeomFromEWKT('SRID=4674;POINT (-40.298705 -2.794753)'))) / (select extract(epoch from '2026-07-23 03:20:00'::timestamp) - extract(epoch from '2026-07-23 03:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298886 -2.794771)'), GeomFromEWKT('SRID=4674;POINT (-40.298705 -2.794753)'))) / (select extract(epoch from '2026-07-23 03:20:00'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.298523 -2.794747)', '2026-07-23 03:20:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298705 -2.794753)'), GeomFromEWKT('SRID=4674;POINT (-40.298523 -2.794747)'))) / (select extract(epoch from '2026-07-23 03:20:09'::timestamp) - extract(epoch from '2026-07-23 03:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298705 -2.794753)'), GeomFromEWKT('SRID=4674;POINT (-40.298523 -2.794747)'))) / (select extract(epoch from '2026-07-23 03:20:09'::timestamp) - extract(epoch from '2026-07-23 03:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298278 -2.794738)', '2026-07-23 03:20:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298523 -2.794747)'), GeomFromEWKT('SRID=4674;POINT (-40.298278 -2.794738)'))) / (select extract(epoch from '2026-07-23 03:20:21'::timestamp) - extract(epoch from '2026-07-23 03:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298523 -2.794747)'), GeomFromEWKT('SRID=4674;POINT (-40.298278 -2.794738)'))) / (select extract(epoch from '2026-07-23 03:20:21'::timestamp) - extract(epoch from '2026-07-23 03:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298103 -2.79472)', '2026-07-23 03:20:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298278 -2.794738)'), GeomFromEWKT('SRID=4674;POINT (-40.298103 -2.79472)'))) / (select extract(epoch from '2026-07-23 03:20:30'::timestamp) - extract(epoch from '2026-07-23 03:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298278 -2.794738)'), GeomFromEWKT('SRID=4674;POINT (-40.298103 -2.79472)'))) / (select extract(epoch from '2026-07-23 03:20:30'::timestamp) - extract(epoch from '2026-07-23 03:20: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'), 47640, 'SRID=4674;POINT (-40.297895 -2.794673)', '2026-07-23 03:20:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298103 -2.79472)'), GeomFromEWKT('SRID=4674;POINT (-40.297895 -2.794673)'))) / (select extract(epoch from '2026-07-23 03:20:41'::timestamp) - extract(epoch from '2026-07-23 03:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298103 -2.79472)'), GeomFromEWKT('SRID=4674;POINT (-40.297895 -2.794673)'))) / (select extract(epoch from '2026-07-23 03:20:41'::timestamp) - extract(epoch from '2026-07-23 03:20: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'), 47640, 'SRID=4674;POINT (-40.29776 -2.794643)', '2026-07-23 03:20:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297895 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.29776 -2.794643)'))) / (select extract(epoch from '2026-07-23 03:20:48'::timestamp) - extract(epoch from '2026-07-23 03:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297895 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.29776 -2.794643)'))) / (select extract(epoch from '2026-07-23 03:20:48'::timestamp) - extract(epoch from '2026-07-23 03:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297616 -2.794601)', '2026-07-23 03:20:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29776 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.297616 -2.794601)'))) / (select extract(epoch from '2026-07-23 03:20:56'::timestamp) - extract(epoch from '2026-07-23 03:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29776 -2.794643)'), GeomFromEWKT('SRID=4674;POINT (-40.297616 -2.794601)'))) / (select extract(epoch from '2026-07-23 03:20:56'::timestamp) - extract(epoch from '2026-07-23 03:20: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'), 47640, 'SRID=4674;POINT (-40.297467 -2.79457)', '2026-07-23 03:21:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297616 -2.794601)'), GeomFromEWKT('SRID=4674;POINT (-40.297467 -2.79457)'))) / (select extract(epoch from '2026-07-23 03:21:04'::timestamp) - extract(epoch from '2026-07-23 03:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297616 -2.794601)'), GeomFromEWKT('SRID=4674;POINT (-40.297467 -2.79457)'))) / (select extract(epoch from '2026-07-23 03:21:04'::timestamp) - extract(epoch from '2026-07-23 03:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297351 -2.794553)', '2026-07-23 03:21:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297467 -2.79457)'), GeomFromEWKT('SRID=4674;POINT (-40.297351 -2.794553)'))) / (select extract(epoch from '2026-07-23 03:21:10'::timestamp) - extract(epoch from '2026-07-23 03:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297467 -2.79457)'), GeomFromEWKT('SRID=4674;POINT (-40.297351 -2.794553)'))) / (select extract(epoch from '2026-07-23 03:21:10'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.297094 -2.794508)', '2026-07-23 03:21:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297351 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.297094 -2.794508)'))) / (select extract(epoch from '2026-07-23 03:21:23'::timestamp) - extract(epoch from '2026-07-23 03:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297351 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.297094 -2.794508)'))) / (select extract(epoch from '2026-07-23 03:21:23'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.296938 -2.794491)', '2026-07-23 03:21:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297094 -2.794508)'), GeomFromEWKT('SRID=4674;POINT (-40.296938 -2.794491)'))) / (select extract(epoch from '2026-07-23 03:21:31'::timestamp) - extract(epoch from '2026-07-23 03:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297094 -2.794508)'), GeomFromEWKT('SRID=4674;POINT (-40.296938 -2.794491)'))) / (select extract(epoch from '2026-07-23 03:21:31'::timestamp) - extract(epoch from '2026-07-23 03:21: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'), 47640, 'SRID=4674;POINT (-40.296788 -2.794477)', '2026-07-23 03:21:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296938 -2.794491)'), GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.794477)'))) / (select extract(epoch from '2026-07-23 03:21:39'::timestamp) - extract(epoch from '2026-07-23 03:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296938 -2.794491)'), GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.794477)'))) / (select extract(epoch from '2026-07-23 03:21:39'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.296612 -2.794443)', '2026-07-23 03:21:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.296612 -2.794443)'))) / (select extract(epoch from '2026-07-23 03:21:48'::timestamp) - extract(epoch from '2026-07-23 03:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.296612 -2.794443)'))) / (select extract(epoch from '2026-07-23 03:21:48'::timestamp) - extract(epoch from '2026-07-23 03:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296457 -2.794415)', '2026-07-23 03:21:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296612 -2.794443)'), GeomFromEWKT('SRID=4674;POINT (-40.296457 -2.794415)'))) / (select extract(epoch from '2026-07-23 03:21:56'::timestamp) - extract(epoch from '2026-07-23 03:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296612 -2.794443)'), GeomFromEWKT('SRID=4674;POINT (-40.296457 -2.794415)'))) / (select extract(epoch from '2026-07-23 03:21:56'::timestamp) - extract(epoch from '2026-07-23 03:21: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'), 47640, 'SRID=4674;POINT (-40.296236 -2.794399)', '2026-07-23 03:22:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296457 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.296236 -2.794399)'))) / (select extract(epoch from '2026-07-23 03:22:07'::timestamp) - extract(epoch from '2026-07-23 03:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296457 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.296236 -2.794399)'))) / (select extract(epoch from '2026-07-23 03:22:07'::timestamp) - extract(epoch from '2026-07-23 03:21: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'), 47640, 'SRID=4674;POINT (-40.296079 -2.7944)', '2026-07-23 03:22:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296236 -2.794399)'), GeomFromEWKT('SRID=4674;POINT (-40.296079 -2.7944)'))) / (select extract(epoch from '2026-07-23 03:22:15'::timestamp) - extract(epoch from '2026-07-23 03:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296236 -2.794399)'), GeomFromEWKT('SRID=4674;POINT (-40.296079 -2.7944)'))) / (select extract(epoch from '2026-07-23 03:22:15'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.295911 -2.794401)', '2026-07-23 03:22:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296079 -2.7944)'), GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.794401)'))) / (select extract(epoch from '2026-07-23 03:22:23'::timestamp) - extract(epoch from '2026-07-23 03:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296079 -2.7944)'), GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.794401)'))) / (select extract(epoch from '2026-07-23 03:22:23'::timestamp) - extract(epoch from '2026-07-23 03:22: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'), 47640, 'SRID=4674;POINT (-40.295747 -2.79439)', '2026-07-23 03:22:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.794401)'), GeomFromEWKT('SRID=4674;POINT (-40.295747 -2.79439)'))) / (select extract(epoch from '2026-07-23 03:22:31'::timestamp) - extract(epoch from '2026-07-23 03:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295911 -2.794401)'), GeomFromEWKT('SRID=4674;POINT (-40.295747 -2.79439)'))) / (select extract(epoch from '2026-07-23 03:22:31'::timestamp) - extract(epoch from '2026-07-23 03:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295588 -2.794402)', '2026-07-23 03:22:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295747 -2.79439)'), GeomFromEWKT('SRID=4674;POINT (-40.295588 -2.794402)'))) / (select extract(epoch from '2026-07-23 03:22:39'::timestamp) - extract(epoch from '2026-07-23 03:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295747 -2.79439)'), GeomFromEWKT('SRID=4674;POINT (-40.295588 -2.794402)'))) / (select extract(epoch from '2026-07-23 03:22:39'::timestamp) - extract(epoch from '2026-07-23 03:22: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'), 47640, 'SRID=4674;POINT (-40.295409 -2.794417)', '2026-07-23 03:22:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295588 -2.794402)'), GeomFromEWKT('SRID=4674;POINT (-40.295409 -2.794417)'))) / (select extract(epoch from '2026-07-23 03:22:48'::timestamp) - extract(epoch from '2026-07-23 03:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295588 -2.794402)'), GeomFromEWKT('SRID=4674;POINT (-40.295409 -2.794417)'))) / (select extract(epoch from '2026-07-23 03:22:48'::timestamp) - extract(epoch from '2026-07-23 03:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295192 -2.794445)', '2026-07-23 03:22:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295409 -2.794417)'), GeomFromEWKT('SRID=4674;POINT (-40.295192 -2.794445)'))) / (select extract(epoch from '2026-07-23 03:22:59'::timestamp) - extract(epoch from '2026-07-23 03:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295409 -2.794417)'), GeomFromEWKT('SRID=4674;POINT (-40.295192 -2.794445)'))) / (select extract(epoch from '2026-07-23 03:22:59'::timestamp) - extract(epoch from '2026-07-23 03:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294989 -2.794455)', '2026-07-23 03:23:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295192 -2.794445)'), GeomFromEWKT('SRID=4674;POINT (-40.294989 -2.794455)'))) / (select extract(epoch from '2026-07-23 03:23:09'::timestamp) - extract(epoch from '2026-07-23 03:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295192 -2.794445)'), GeomFromEWKT('SRID=4674;POINT (-40.294989 -2.794455)'))) / (select extract(epoch from '2026-07-23 03:23:09'::timestamp) - extract(epoch from '2026-07-23 03:22: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'), 47640, 'SRID=4674;POINT (-40.294805 -2.79447)', '2026-07-23 03:23:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294989 -2.794455)'), GeomFromEWKT('SRID=4674;POINT (-40.294805 -2.79447)'))) / (select extract(epoch from '2026-07-23 03:23:18'::timestamp) - extract(epoch from '2026-07-23 03:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294989 -2.794455)'), GeomFromEWKT('SRID=4674;POINT (-40.294805 -2.79447)'))) / (select extract(epoch from '2026-07-23 03:23:18'::timestamp) - extract(epoch from '2026-07-23 03:23: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'), 47640, 'SRID=4674;POINT (-40.294643 -2.794489)', '2026-07-23 03:23:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294805 -2.79447)'), GeomFromEWKT('SRID=4674;POINT (-40.294643 -2.794489)'))) / (select extract(epoch from '2026-07-23 03:23:26'::timestamp) - extract(epoch from '2026-07-23 03:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294805 -2.79447)'), GeomFromEWKT('SRID=4674;POINT (-40.294643 -2.794489)'))) / (select extract(epoch from '2026-07-23 03:23:26'::timestamp) - extract(epoch from '2026-07-23 03:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294506 -2.794502)', '2026-07-23 03:23:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294643 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.294506 -2.794502)'))) / (select extract(epoch from '2026-07-23 03:23:33'::timestamp) - extract(epoch from '2026-07-23 03:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294643 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.294506 -2.794502)'))) / (select extract(epoch from '2026-07-23 03:23:33'::timestamp) - extract(epoch from '2026-07-23 03:23: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'), 47640, 'SRID=4674;POINT (-40.294332 -2.794521)', '2026-07-23 03:23:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294506 -2.794502)'), GeomFromEWKT('SRID=4674;POINT (-40.294332 -2.794521)'))) / (select extract(epoch from '2026-07-23 03:23:42'::timestamp) - extract(epoch from '2026-07-23 03:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294506 -2.794502)'), GeomFromEWKT('SRID=4674;POINT (-40.294332 -2.794521)'))) / (select extract(epoch from '2026-07-23 03:23:42'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.294176 -2.794534)', '2026-07-23 03:23:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294332 -2.794521)'), GeomFromEWKT('SRID=4674;POINT (-40.294176 -2.794534)'))) / (select extract(epoch from '2026-07-23 03:23:50'::timestamp) - extract(epoch from '2026-07-23 03:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294332 -2.794521)'), GeomFromEWKT('SRID=4674;POINT (-40.294176 -2.794534)'))) / (select extract(epoch from '2026-07-23 03:23:50'::timestamp) - extract(epoch from '2026-07-23 03:23: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'), 47640, 'SRID=4674;POINT (-40.293939 -2.794512)', '2026-07-23 03:24:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294176 -2.794534)'), GeomFromEWKT('SRID=4674;POINT (-40.293939 -2.794512)'))) / (select extract(epoch from '2026-07-23 03:24:02'::timestamp) - extract(epoch from '2026-07-23 03:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294176 -2.794534)'), GeomFromEWKT('SRID=4674;POINT (-40.293939 -2.794512)'))) / (select extract(epoch from '2026-07-23 03:24:02'::timestamp) - extract(epoch from '2026-07-23 03:23: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'), 47640, 'SRID=4674;POINT (-40.293803 -2.794496)', '2026-07-23 03:24:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293939 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.293803 -2.794496)'))) / (select extract(epoch from '2026-07-23 03:24:09'::timestamp) - extract(epoch from '2026-07-23 03:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293939 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.293803 -2.794496)'))) / (select extract(epoch from '2026-07-23 03:24:09'::timestamp) - extract(epoch from '2026-07-23 03:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293646 -2.794464)', '2026-07-23 03:24:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293803 -2.794496)'), GeomFromEWKT('SRID=4674;POINT (-40.293646 -2.794464)'))) / (select extract(epoch from '2026-07-23 03:24:17'::timestamp) - extract(epoch from '2026-07-23 03:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293803 -2.794496)'), GeomFromEWKT('SRID=4674;POINT (-40.293646 -2.794464)'))) / (select extract(epoch from '2026-07-23 03:24:17'::timestamp) - extract(epoch from '2026-07-23 03:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293423 -2.79443)', '2026-07-23 03:24:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293646 -2.794464)'), GeomFromEWKT('SRID=4674;POINT (-40.293423 -2.79443)'))) / (select extract(epoch from '2026-07-23 03:24:28'::timestamp) - extract(epoch from '2026-07-23 03:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293646 -2.794464)'), GeomFromEWKT('SRID=4674;POINT (-40.293423 -2.79443)'))) / (select extract(epoch from '2026-07-23 03:24:28'::timestamp) - extract(epoch from '2026-07-23 03:24: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'), 47640, 'SRID=4674;POINT (-40.293238 -2.79441)', '2026-07-23 03:24:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293423 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.293238 -2.79441)'))) / (select extract(epoch from '2026-07-23 03:24:37'::timestamp) - extract(epoch from '2026-07-23 03:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293423 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.293238 -2.79441)'))) / (select extract(epoch from '2026-07-23 03:24:37'::timestamp) - extract(epoch from '2026-07-23 03:24: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'), 47640, 'SRID=4674;POINT (-40.293119 -2.794387)', '2026-07-23 03:24:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293238 -2.79441)'), GeomFromEWKT('SRID=4674;POINT (-40.293119 -2.794387)'))) / (select extract(epoch from '2026-07-23 03:24:43'::timestamp) - extract(epoch from '2026-07-23 03:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293238 -2.79441)'), GeomFromEWKT('SRID=4674;POINT (-40.293119 -2.794387)'))) / (select extract(epoch from '2026-07-23 03:24:43'::timestamp) - extract(epoch from '2026-07-23 03:24: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'), 47640, 'SRID=4674;POINT (-40.29294 -2.794346)', '2026-07-23 03:24:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293119 -2.794387)'), GeomFromEWKT('SRID=4674;POINT (-40.29294 -2.794346)'))) / (select extract(epoch from '2026-07-23 03:24:52'::timestamp) - extract(epoch from '2026-07-23 03:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293119 -2.794387)'), GeomFromEWKT('SRID=4674;POINT (-40.29294 -2.794346)'))) / (select extract(epoch from '2026-07-23 03:24:52'::timestamp) - extract(epoch from '2026-07-23 03:24: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'), 47640, 'SRID=4674;POINT (-40.292758 -2.794309)', '2026-07-23 03:25:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29294 -2.794346)'), GeomFromEWKT('SRID=4674;POINT (-40.292758 -2.794309)'))) / (select extract(epoch from '2026-07-23 03:25:01'::timestamp) - extract(epoch from '2026-07-23 03:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29294 -2.794346)'), GeomFromEWKT('SRID=4674;POINT (-40.292758 -2.794309)'))) / (select extract(epoch from '2026-07-23 03:25:01'::timestamp) - extract(epoch from '2026-07-23 03:24: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'), 47640, 'SRID=4674;POINT (-40.292648 -2.794285)', '2026-07-23 03:25:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292758 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.794285)'))) / (select extract(epoch from '2026-07-23 03:25:07'::timestamp) - extract(epoch from '2026-07-23 03:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292758 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.794285)'))) / (select extract(epoch from '2026-07-23 03:25:07'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.292495 -2.794245)', '2026-07-23 03:25:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.794285)'), GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.794245)'))) / (select extract(epoch from '2026-07-23 03:25:15'::timestamp) - extract(epoch from '2026-07-23 03:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292648 -2.794285)'), GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.794245)'))) / (select extract(epoch from '2026-07-23 03:25:15'::timestamp) - extract(epoch from '2026-07-23 03:25: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'), 47640, 'SRID=4674;POINT (-40.292295 -2.794215)', '2026-07-23 03:25:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.794245)'), GeomFromEWKT('SRID=4674;POINT (-40.292295 -2.794215)'))) / (select extract(epoch from '2026-07-23 03:25:25'::timestamp) - extract(epoch from '2026-07-23 03:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.794245)'), GeomFromEWKT('SRID=4674;POINT (-40.292295 -2.794215)'))) / (select extract(epoch from '2026-07-23 03:25:25'::timestamp) - extract(epoch from '2026-07-23 03:25: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'), 47640, 'SRID=4674;POINT (-40.292144 -2.794175)', '2026-07-23 03:25:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292295 -2.794215)'), GeomFromEWKT('SRID=4674;POINT (-40.292144 -2.794175)'))) / (select extract(epoch from '2026-07-23 03:25:33'::timestamp) - extract(epoch from '2026-07-23 03:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292295 -2.794215)'), GeomFromEWKT('SRID=4674;POINT (-40.292144 -2.794175)'))) / (select extract(epoch from '2026-07-23 03:25:33'::timestamp) - extract(epoch from '2026-07-23 03:25: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'), 47640, 'SRID=4674;POINT (-40.292001 -2.794152)', '2026-07-23 03:25:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292144 -2.794175)'), GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.794152)'))) / (select extract(epoch from '2026-07-23 03:25:40'::timestamp) - extract(epoch from '2026-07-23 03:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292144 -2.794175)'), GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.794152)'))) / (select extract(epoch from '2026-07-23 03:25:40'::timestamp) - extract(epoch from '2026-07-23 03:25: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'), 47640, 'SRID=4674;POINT (-40.291834 -2.794134)', '2026-07-23 03:25:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.794152)'), GeomFromEWKT('SRID=4674;POINT (-40.291834 -2.794134)'))) / (select extract(epoch from '2026-07-23 03:25:49'::timestamp) - extract(epoch from '2026-07-23 03:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.794152)'), GeomFromEWKT('SRID=4674;POINT (-40.291834 -2.794134)'))) / (select extract(epoch from '2026-07-23 03:25:49'::timestamp) - extract(epoch from '2026-07-23 03:25: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'), 47640, 'SRID=4674;POINT (-40.291718 -2.794087)', '2026-07-23 03:25:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291834 -2.794134)'), GeomFromEWKT('SRID=4674;POINT (-40.291718 -2.794087)'))) / (select extract(epoch from '2026-07-23 03:25:57'::timestamp) - extract(epoch from '2026-07-23 03:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291834 -2.794134)'), GeomFromEWKT('SRID=4674;POINT (-40.291718 -2.794087)'))) / (select extract(epoch from '2026-07-23 03:25:57'::timestamp) - extract(epoch from '2026-07-23 03:25: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'), 47640, 'SRID=4674;POINT (-40.291673 -2.794018)', '2026-07-23 03:26:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291718 -2.794087)'), GeomFromEWKT('SRID=4674;POINT (-40.291673 -2.794018)'))) / (select extract(epoch from '2026-07-23 03:26:05'::timestamp) - extract(epoch from '2026-07-23 03:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291718 -2.794087)'), GeomFromEWKT('SRID=4674;POINT (-40.291673 -2.794018)'))) / (select extract(epoch from '2026-07-23 03:26:05'::timestamp) - extract(epoch from '2026-07-23 03:25: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'), 47640, 'SRID=4674;POINT (-40.291666 -2.793957)', '2026-07-23 03:26:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291673 -2.794018)'), GeomFromEWKT('SRID=4674;POINT (-40.291666 -2.793957)'))) / (select extract(epoch from '2026-07-23 03:26:16'::timestamp) - extract(epoch from '2026-07-23 03:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291673 -2.794018)'), GeomFromEWKT('SRID=4674;POINT (-40.291666 -2.793957)'))) / (select extract(epoch from '2026-07-23 03:26:16'::timestamp) - extract(epoch from '2026-07-23 03:26: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'), 47640, 'SRID=4674;POINT (-40.291674 -2.793904)', '2026-07-23 03:26:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291666 -2.793957)'), GeomFromEWKT('SRID=4674;POINT (-40.291674 -2.793904)'))) / (select extract(epoch from '2026-07-23 03:26:32'::timestamp) - extract(epoch from '2026-07-23 03:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291666 -2.793957)'), GeomFromEWKT('SRID=4674;POINT (-40.291674 -2.793904)'))) / (select extract(epoch from '2026-07-23 03:26:32'::timestamp) - extract(epoch from '2026-07-23 03:26: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'), 47640, 'SRID=4674;POINT (-40.291706 -2.79385)', '2026-07-23 03:26:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291674 -2.793904)'), GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.79385)'))) / (select extract(epoch from '2026-07-23 03:26:57'::timestamp) - extract(epoch from '2026-07-23 03:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291674 -2.793904)'), GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.79385)'))) / (select extract(epoch from '2026-07-23 03:26:57'::timestamp) - extract(epoch from '2026-07-23 03:26: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'), 47640, 'SRID=4674;POINT (-40.291771 -2.793821)', '2026-07-23 03:27:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.79385)'), GeomFromEWKT('SRID=4674;POINT (-40.291771 -2.793821)'))) / (select extract(epoch from '2026-07-23 03:27:25'::timestamp) - extract(epoch from '2026-07-23 03:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.79385)'), GeomFromEWKT('SRID=4674;POINT (-40.291771 -2.793821)'))) / (select extract(epoch from '2026-07-23 03:27:25'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.291852 -2.793803)', '2026-07-23 03:28:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291771 -2.793821)'), GeomFromEWKT('SRID=4674;POINT (-40.291852 -2.793803)'))) / (select extract(epoch from '2026-07-23 03:28:06'::timestamp) - extract(epoch from '2026-07-23 03:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291771 -2.793821)'), GeomFromEWKT('SRID=4674;POINT (-40.291852 -2.793803)'))) / (select extract(epoch from '2026-07-23 03:28:06'::timestamp) - extract(epoch from '2026-07-23 03:27: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'), 47640, 'SRID=4674;POINT (-40.291922 -2.793776)', '2026-07-23 03:28:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291852 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.291922 -2.793776)'))) / (select extract(epoch from '2026-07-23 03:28:38'::timestamp) - extract(epoch from '2026-07-23 03:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291852 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.291922 -2.793776)'))) / (select extract(epoch from '2026-07-23 03:28:38'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.292019 -2.793719)', '2026-07-23 03:29:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291922 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.292019 -2.793719)'))) / (select extract(epoch from '2026-07-23 03:29:19'::timestamp) - extract(epoch from '2026-07-23 03:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291922 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.292019 -2.793719)'))) / (select extract(epoch from '2026-07-23 03:29:19'::timestamp) - extract(epoch from '2026-07-23 03:28: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'), 47640, 'SRID=4674;POINT (-40.292147 -2.793626)', '2026-07-23 03:30:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292019 -2.793719)'), GeomFromEWKT('SRID=4674;POINT (-40.292147 -2.793626)'))) / (select extract(epoch from '2026-07-23 03:30:02'::timestamp) - extract(epoch from '2026-07-23 03:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292019 -2.793719)'), GeomFromEWKT('SRID=4674;POINT (-40.292147 -2.793626)'))) / (select extract(epoch from '2026-07-23 03:30:02'::timestamp) - extract(epoch from '2026-07-23 03:29: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'), 47640, 'SRID=4674;POINT (-40.292244 -2.793541)', '2026-07-23 03:30:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292147 -2.793626)'), GeomFromEWKT('SRID=4674;POINT (-40.292244 -2.793541)'))) / (select extract(epoch from '2026-07-23 03:30:40'::timestamp) - extract(epoch from '2026-07-23 03:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292147 -2.793626)'), GeomFromEWKT('SRID=4674;POINT (-40.292244 -2.793541)'))) / (select extract(epoch from '2026-07-23 03:30:40'::timestamp) - extract(epoch from '2026-07-23 03:30: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'), 47640, 'SRID=4674;POINT (-40.292319 -2.793509)', '2026-07-23 03:31:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292244 -2.793541)'), GeomFromEWKT('SRID=4674;POINT (-40.292319 -2.793509)'))) / (select extract(epoch from '2026-07-23 03:31:12'::timestamp) - extract(epoch from '2026-07-23 03:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292244 -2.793541)'), GeomFromEWKT('SRID=4674;POINT (-40.292319 -2.793509)'))) / (select extract(epoch from '2026-07-23 03:31:12'::timestamp) - extract(epoch from '2026-07-23 03:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.292413 -2.793458)', '2026-07-23 03:31:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292319 -2.793509)'), GeomFromEWKT('SRID=4674;POINT (-40.292413 -2.793458)'))) / (select extract(epoch from '2026-07-23 03:31:57'::timestamp) - extract(epoch from '2026-07-23 03:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292319 -2.793509)'), GeomFromEWKT('SRID=4674;POINT (-40.292413 -2.793458)'))) / (select extract(epoch from '2026-07-23 03:31:57'::timestamp) - extract(epoch from '2026-07-23 03:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.292495 -2.793426)', '2026-07-23 03:32:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292413 -2.793458)'), GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.793426)'))) / (select extract(epoch from '2026-07-23 03:32:30'::timestamp) - extract(epoch from '2026-07-23 03:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292413 -2.793458)'), GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.793426)'))) / (select extract(epoch from '2026-07-23 03:32:30'::timestamp) - extract(epoch from '2026-07-23 03:31: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'), 47640, 'SRID=4674;POINT (-40.292508 -2.793401)', '2026-07-23 03:32:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.292508 -2.793401)'))) / (select extract(epoch from '2026-07-23 03:32:42'::timestamp) - extract(epoch from '2026-07-23 03:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292495 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.292508 -2.793401)'))) / (select extract(epoch from '2026-07-23 03:32:42'::timestamp) - extract(epoch from '2026-07-23 03:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.292551 -2.793355)', '2026-07-23 03:32:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292508 -2.793401)'), GeomFromEWKT('SRID=4674;POINT (-40.292551 -2.793355)'))) / (select extract(epoch from '2026-07-23 03:32:56'::timestamp) - extract(epoch from '2026-07-23 03:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292508 -2.793401)'), GeomFromEWKT('SRID=4674;POINT (-40.292551 -2.793355)'))) / (select extract(epoch from '2026-07-23 03:32:56'::timestamp) - extract(epoch from '2026-07-23 03:32: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'), 47640, 'SRID=4674;POINT (-40.292579 -2.793285)', '2026-07-23 03:33:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292551 -2.793355)'), GeomFromEWKT('SRID=4674;POINT (-40.292579 -2.793285)'))) / (select extract(epoch from '2026-07-23 03:33:13'::timestamp) - extract(epoch from '2026-07-23 03:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292551 -2.793355)'), GeomFromEWKT('SRID=4674;POINT (-40.292579 -2.793285)'))) / (select extract(epoch from '2026-07-23 03:33:13'::timestamp) - extract(epoch from '2026-07-23 03:32: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'), 47640, 'SRID=4674;POINT (-40.292638 -2.793219)', '2026-07-23 03:33:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292579 -2.793285)'), GeomFromEWKT('SRID=4674;POINT (-40.292638 -2.793219)'))) / (select extract(epoch from '2026-07-23 03:33:31'::timestamp) - extract(epoch from '2026-07-23 03:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292579 -2.793285)'), GeomFromEWKT('SRID=4674;POINT (-40.292638 -2.793219)'))) / (select extract(epoch from '2026-07-23 03:33:31'::timestamp) - extract(epoch from '2026-07-23 03:33: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'), 47640, 'SRID=4674;POINT (-40.292696 -2.793177)', '2026-07-23 03:33:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292638 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.292696 -2.793177)'))) / (select extract(epoch from '2026-07-23 03:33:45'::timestamp) - extract(epoch from '2026-07-23 03:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292638 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.292696 -2.793177)'))) / (select extract(epoch from '2026-07-23 03:33:45'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.292797 -2.79314)', '2026-07-23 03:34:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292696 -2.793177)'), GeomFromEWKT('SRID=4674;POINT (-40.292797 -2.79314)'))) / (select extract(epoch from '2026-07-23 03:34:03'::timestamp) - extract(epoch from '2026-07-23 03:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292696 -2.793177)'), GeomFromEWKT('SRID=4674;POINT (-40.292797 -2.79314)'))) / (select extract(epoch from '2026-07-23 03:34:03'::timestamp) - extract(epoch from '2026-07-23 03:33: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'), 47640, 'SRID=4674;POINT (-40.292881 -2.793114)', '2026-07-23 03:34:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292797 -2.79314)'), GeomFromEWKT('SRID=4674;POINT (-40.292881 -2.793114)'))) / (select extract(epoch from '2026-07-23 03:34:20'::timestamp) - extract(epoch from '2026-07-23 03:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292797 -2.79314)'), GeomFromEWKT('SRID=4674;POINT (-40.292881 -2.793114)'))) / (select extract(epoch from '2026-07-23 03:34:20'::timestamp) - extract(epoch from '2026-07-23 03:34: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'), 47640, 'SRID=4674;POINT (-40.292968 -2.793111)', '2026-07-23 03:34:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292881 -2.793114)'), GeomFromEWKT('SRID=4674;POINT (-40.292968 -2.793111)'))) / (select extract(epoch from '2026-07-23 03:34:40'::timestamp) - extract(epoch from '2026-07-23 03:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292881 -2.793114)'), GeomFromEWKT('SRID=4674;POINT (-40.292968 -2.793111)'))) / (select extract(epoch from '2026-07-23 03:34:40'::timestamp) - extract(epoch from '2026-07-23 03:34: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'), 47640, 'SRID=4674;POINT (-40.293028 -2.793105)', '2026-07-23 03:34:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292968 -2.793111)'), GeomFromEWKT('SRID=4674;POINT (-40.293028 -2.793105)'))) / (select extract(epoch from '2026-07-23 03:34:55'::timestamp) - extract(epoch from '2026-07-23 03:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292968 -2.793111)'), GeomFromEWKT('SRID=4674;POINT (-40.293028 -2.793105)'))) / (select extract(epoch from '2026-07-23 03:34:55'::timestamp) - extract(epoch from '2026-07-23 03:34: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'), 47640, 'SRID=4674;POINT (-40.293098 -2.793104)', '2026-07-23 03:35:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293028 -2.793105)'), GeomFromEWKT('SRID=4674;POINT (-40.293098 -2.793104)'))) / (select extract(epoch from '2026-07-23 03:35:13'::timestamp) - extract(epoch from '2026-07-23 03:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293028 -2.793105)'), GeomFromEWKT('SRID=4674;POINT (-40.293098 -2.793104)'))) / (select extract(epoch from '2026-07-23 03:35:13'::timestamp) - extract(epoch from '2026-07-23 03:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293169 -2.793102)', '2026-07-23 03:35:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293098 -2.793104)'), GeomFromEWKT('SRID=4674;POINT (-40.293169 -2.793102)'))) / (select extract(epoch from '2026-07-23 03:35:32'::timestamp) - extract(epoch from '2026-07-23 03:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293098 -2.793104)'), GeomFromEWKT('SRID=4674;POINT (-40.293169 -2.793102)'))) / (select extract(epoch from '2026-07-23 03:35:32'::timestamp) - extract(epoch from '2026-07-23 03:35: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'), 47640, 'SRID=4674;POINT (-40.293239 -2.793102)', '2026-07-23 03:35:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293169 -2.793102)'), GeomFromEWKT('SRID=4674;POINT (-40.293239 -2.793102)'))) / (select extract(epoch from '2026-07-23 03:35:49'::timestamp) - extract(epoch from '2026-07-23 03:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293169 -2.793102)'), GeomFromEWKT('SRID=4674;POINT (-40.293239 -2.793102)'))) / (select extract(epoch from '2026-07-23 03:35:49'::timestamp) - extract(epoch from '2026-07-23 03:35: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'), 47640, 'SRID=4674;POINT (-40.293325 -2.793103)', '2026-07-23 03:36:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293239 -2.793102)'), GeomFromEWKT('SRID=4674;POINT (-40.293325 -2.793103)'))) / (select extract(epoch from '2026-07-23 03:36:08'::timestamp) - extract(epoch from '2026-07-23 03:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293239 -2.793102)'), GeomFromEWKT('SRID=4674;POINT (-40.293325 -2.793103)'))) / (select extract(epoch from '2026-07-23 03:36:08'::timestamp) - extract(epoch from '2026-07-23 03:35: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'), 47640, 'SRID=4674;POINT (-40.293394 -2.793099)', '2026-07-23 03:36:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293325 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.293394 -2.793099)'))) / (select extract(epoch from '2026-07-23 03:36:25'::timestamp) - extract(epoch from '2026-07-23 03:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293325 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.293394 -2.793099)'))) / (select extract(epoch from '2026-07-23 03:36:25'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.293486 -2.793085)', '2026-07-23 03:36:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293394 -2.793099)'), GeomFromEWKT('SRID=4674;POINT (-40.293486 -2.793085)'))) / (select extract(epoch from '2026-07-23 03:36:45'::timestamp) - extract(epoch from '2026-07-23 03:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293394 -2.793099)'), GeomFromEWKT('SRID=4674;POINT (-40.293486 -2.793085)'))) / (select extract(epoch from '2026-07-23 03:36:45'::timestamp) - extract(epoch from '2026-07-23 03:36: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'), 47640, 'SRID=4674;POINT (-40.293558 -2.793078)', '2026-07-23 03:37:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293486 -2.793085)'), GeomFromEWKT('SRID=4674;POINT (-40.293558 -2.793078)'))) / (select extract(epoch from '2026-07-23 03:37:04'::timestamp) - extract(epoch from '2026-07-23 03:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293486 -2.793085)'), GeomFromEWKT('SRID=4674;POINT (-40.293558 -2.793078)'))) / (select extract(epoch from '2026-07-23 03:37:04'::timestamp) - extract(epoch from '2026-07-23 03:36: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'), 47640, 'SRID=4674;POINT (-40.293623 -2.793066)', '2026-07-23 03:37:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293558 -2.793078)'), GeomFromEWKT('SRID=4674;POINT (-40.293623 -2.793066)'))) / (select extract(epoch from '2026-07-23 03:37:22'::timestamp) - extract(epoch from '2026-07-23 03:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293558 -2.793078)'), GeomFromEWKT('SRID=4674;POINT (-40.293623 -2.793066)'))) / (select extract(epoch from '2026-07-23 03:37:22'::timestamp) - extract(epoch from '2026-07-23 03:37: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'), 47640, 'SRID=4674;POINT (-40.293707 -2.793076)', '2026-07-23 03:37:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293623 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.293707 -2.793076)'))) / (select extract(epoch from '2026-07-23 03:37:42'::timestamp) - extract(epoch from '2026-07-23 03:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293623 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.293707 -2.793076)'))) / (select extract(epoch from '2026-07-23 03:37:42'::timestamp) - extract(epoch from '2026-07-23 03:37: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'), 47640, 'SRID=4674;POINT (-40.293782 -2.793067)', '2026-07-23 03:38:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293707 -2.793076)'), GeomFromEWKT('SRID=4674;POINT (-40.293782 -2.793067)'))) / (select extract(epoch from '2026-07-23 03:38:01'::timestamp) - extract(epoch from '2026-07-23 03:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293707 -2.793076)'), GeomFromEWKT('SRID=4674;POINT (-40.293782 -2.793067)'))) / (select extract(epoch from '2026-07-23 03:38:01'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.293872 -2.793067)', '2026-07-23 03:38:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293782 -2.793067)'), GeomFromEWKT('SRID=4674;POINT (-40.293872 -2.793067)'))) / (select extract(epoch from '2026-07-23 03:38:19'::timestamp) - extract(epoch from '2026-07-23 03:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293782 -2.793067)'), GeomFromEWKT('SRID=4674;POINT (-40.293872 -2.793067)'))) / (select extract(epoch from '2026-07-23 03:38:19'::timestamp) - extract(epoch from '2026-07-23 03:38: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'), 47640, 'SRID=4674;POINT (-40.29398 -2.793071)', '2026-07-23 03:38:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293872 -2.793067)'), GeomFromEWKT('SRID=4674;POINT (-40.29398 -2.793071)'))) / (select extract(epoch from '2026-07-23 03:38:37'::timestamp) - extract(epoch from '2026-07-23 03:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293872 -2.793067)'), GeomFromEWKT('SRID=4674;POINT (-40.29398 -2.793071)'))) / (select extract(epoch from '2026-07-23 03:38:37'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.294111 -2.79309)', '2026-07-23 03:38:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29398 -2.793071)'), GeomFromEWKT('SRID=4674;POINT (-40.294111 -2.79309)'))) / (select extract(epoch from '2026-07-23 03:38:57'::timestamp) - extract(epoch from '2026-07-23 03:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29398 -2.793071)'), GeomFromEWKT('SRID=4674;POINT (-40.294111 -2.79309)'))) / (select extract(epoch from '2026-07-23 03:38:57'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.294222 -2.793116)', '2026-07-23 03:39:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294111 -2.79309)'), GeomFromEWKT('SRID=4674;POINT (-40.294222 -2.793116)'))) / (select extract(epoch from '2026-07-23 03:39:14'::timestamp) - extract(epoch from '2026-07-23 03:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294111 -2.79309)'), GeomFromEWKT('SRID=4674;POINT (-40.294222 -2.793116)'))) / (select extract(epoch from '2026-07-23 03:39:14'::timestamp) - extract(epoch from '2026-07-23 03:38: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'), 47640, 'SRID=4674;POINT (-40.29434 -2.793137)', '2026-07-23 03:39:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294222 -2.793116)'), GeomFromEWKT('SRID=4674;POINT (-40.29434 -2.793137)'))) / (select extract(epoch from '2026-07-23 03:39:31'::timestamp) - extract(epoch from '2026-07-23 03:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294222 -2.793116)'), GeomFromEWKT('SRID=4674;POINT (-40.29434 -2.793137)'))) / (select extract(epoch from '2026-07-23 03:39:31'::timestamp) - extract(epoch from '2026-07-23 03:39: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'), 47640, 'SRID=4674;POINT (-40.294477 -2.793151)', '2026-07-23 03:39:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29434 -2.793137)'), GeomFromEWKT('SRID=4674;POINT (-40.294477 -2.793151)'))) / (select extract(epoch from '2026-07-23 03:39:52'::timestamp) - extract(epoch from '2026-07-23 03:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29434 -2.793137)'), GeomFromEWKT('SRID=4674;POINT (-40.294477 -2.793151)'))) / (select extract(epoch from '2026-07-23 03:39:52'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.294602 -2.793163)', '2026-07-23 03:40:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294477 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.294602 -2.793163)'))) / (select extract(epoch from '2026-07-23 03:40:13'::timestamp) - extract(epoch from '2026-07-23 03:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294477 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.294602 -2.793163)'))) / (select extract(epoch from '2026-07-23 03:40:13'::timestamp) - extract(epoch from '2026-07-23 03:39: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'), 47640, 'SRID=4674;POINT (-40.2947 -2.793189)', '2026-07-23 03:40:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294602 -2.793163)'), GeomFromEWKT('SRID=4674;POINT (-40.2947 -2.793189)'))) / (select extract(epoch from '2026-07-23 03:40:30'::timestamp) - extract(epoch from '2026-07-23 03:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294602 -2.793163)'), GeomFromEWKT('SRID=4674;POINT (-40.2947 -2.793189)'))) / (select extract(epoch from '2026-07-23 03:40:30'::timestamp) - extract(epoch from '2026-07-23 03:40: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'), 47640, 'SRID=4674;POINT (-40.294778 -2.793202)', '2026-07-23 03:40:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2947 -2.793189)'), GeomFromEWKT('SRID=4674;POINT (-40.294778 -2.793202)'))) / (select extract(epoch from '2026-07-23 03:40:46'::timestamp) - extract(epoch from '2026-07-23 03:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2947 -2.793189)'), GeomFromEWKT('SRID=4674;POINT (-40.294778 -2.793202)'))) / (select extract(epoch from '2026-07-23 03:40:46'::timestamp) - extract(epoch from '2026-07-23 03:40:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294844 -2.793225)', '2026-07-23 03:41:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294778 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.294844 -2.793225)'))) / (select extract(epoch from '2026-07-23 03:41:01'::timestamp) - extract(epoch from '2026-07-23 03:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294778 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.294844 -2.793225)'))) / (select extract(epoch from '2026-07-23 03:41:01'::timestamp) - extract(epoch from '2026-07-23 03:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294974 -2.793244)', '2026-07-23 03:41:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294844 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.294974 -2.793244)'))) / (select extract(epoch from '2026-07-23 03:41:21'::timestamp) - extract(epoch from '2026-07-23 03:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294844 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.294974 -2.793244)'))) / (select extract(epoch from '2026-07-23 03:41:21'::timestamp) - extract(epoch from '2026-07-23 03:41: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'), 47640, 'SRID=4674;POINT (-40.295085 -2.793252)', '2026-07-23 03:41:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294974 -2.793244)'), GeomFromEWKT('SRID=4674;POINT (-40.295085 -2.793252)'))) / (select extract(epoch from '2026-07-23 03:41:40'::timestamp) - extract(epoch from '2026-07-23 03:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294974 -2.793244)'), GeomFromEWKT('SRID=4674;POINT (-40.295085 -2.793252)'))) / (select extract(epoch from '2026-07-23 03:41:40'::timestamp) - extract(epoch from '2026-07-23 03:41: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'), 47640, 'SRID=4674;POINT (-40.295202 -2.793247)', '2026-07-23 03:41:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295085 -2.793252)'), GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.793247)'))) / (select extract(epoch from '2026-07-23 03:41:59'::timestamp) - extract(epoch from '2026-07-23 03:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295085 -2.793252)'), GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.793247)'))) / (select extract(epoch from '2026-07-23 03:41:59'::timestamp) - extract(epoch from '2026-07-23 03:41: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'), 47640, 'SRID=4674;POINT (-40.295306 -2.793228)', '2026-07-23 03:42:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.793247)'), GeomFromEWKT('SRID=4674;POINT (-40.295306 -2.793228)'))) / (select extract(epoch from '2026-07-23 03:42:12'::timestamp) - extract(epoch from '2026-07-23 03:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295202 -2.793247)'), GeomFromEWKT('SRID=4674;POINT (-40.295306 -2.793228)'))) / (select extract(epoch from '2026-07-23 03:42:12'::timestamp) - extract(epoch from '2026-07-23 03:41: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'), 47640, 'SRID=4674;POINT (-40.295439 -2.793199)', '2026-07-23 03:42:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295306 -2.793228)'), GeomFromEWKT('SRID=4674;POINT (-40.295439 -2.793199)'))) / (select extract(epoch from '2026-07-23 03:42:31'::timestamp) - extract(epoch from '2026-07-23 03:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295306 -2.793228)'), GeomFromEWKT('SRID=4674;POINT (-40.295439 -2.793199)'))) / (select extract(epoch from '2026-07-23 03:42:31'::timestamp) - extract(epoch from '2026-07-23 03:42: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'), 47640, 'SRID=4674;POINT (-40.295555 -2.793196)', '2026-07-23 03:42:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295439 -2.793199)'), GeomFromEWKT('SRID=4674;POINT (-40.295555 -2.793196)'))) / (select extract(epoch from '2026-07-23 03:42:49'::timestamp) - extract(epoch from '2026-07-23 03:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295439 -2.793199)'), GeomFromEWKT('SRID=4674;POINT (-40.295555 -2.793196)'))) / (select extract(epoch from '2026-07-23 03:42:49'::timestamp) - extract(epoch from '2026-07-23 03:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295692 -2.793195)', '2026-07-23 03:43:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295555 -2.793196)'), GeomFromEWKT('SRID=4674;POINT (-40.295692 -2.793195)'))) / (select extract(epoch from '2026-07-23 03:43:08'::timestamp) - extract(epoch from '2026-07-23 03:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295555 -2.793196)'), GeomFromEWKT('SRID=4674;POINT (-40.295692 -2.793195)'))) / (select extract(epoch from '2026-07-23 03:43:08'::timestamp) - extract(epoch from '2026-07-23 03:42: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'), 47640, 'SRID=4674;POINT (-40.29582 -2.793202)', '2026-07-23 03:43:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295692 -2.793195)'), GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793202)'))) / (select extract(epoch from '2026-07-23 03:43:25'::timestamp) - extract(epoch from '2026-07-23 03:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295692 -2.793195)'), GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793202)'))) / (select extract(epoch from '2026-07-23 03:43:25'::timestamp) - extract(epoch from '2026-07-23 03:43: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'), 47640, 'SRID=4674;POINT (-40.295951 -2.793212)', '2026-07-23 03:43:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.295951 -2.793212)'))) / (select extract(epoch from '2026-07-23 03:43:42'::timestamp) - extract(epoch from '2026-07-23 03:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.295951 -2.793212)'))) / (select extract(epoch from '2026-07-23 03:43:42'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.296072 -2.79322)', '2026-07-23 03:44:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295951 -2.793212)'), GeomFromEWKT('SRID=4674;POINT (-40.296072 -2.79322)'))) / (select extract(epoch from '2026-07-23 03:44:00'::timestamp) - extract(epoch from '2026-07-23 03:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295951 -2.793212)'), GeomFromEWKT('SRID=4674;POINT (-40.296072 -2.79322)'))) / (select extract(epoch from '2026-07-23 03:44:00'::timestamp) - extract(epoch from '2026-07-23 03:43: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'), 47640, 'SRID=4674;POINT (-40.296152 -2.793219)', '2026-07-23 03:44:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296072 -2.79322)'), GeomFromEWKT('SRID=4674;POINT (-40.296152 -2.793219)'))) / (select extract(epoch from '2026-07-23 03:44:14'::timestamp) - extract(epoch from '2026-07-23 03:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296072 -2.79322)'), GeomFromEWKT('SRID=4674;POINT (-40.296152 -2.793219)'))) / (select extract(epoch from '2026-07-23 03:44:14'::timestamp) - extract(epoch from '2026-07-23 03:44: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'), 47640, 'SRID=4674;POINT (-40.296275 -2.79322)', '2026-07-23 03:44:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296152 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.296275 -2.79322)'))) / (select extract(epoch from '2026-07-23 03:44:32'::timestamp) - extract(epoch from '2026-07-23 03:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296152 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.296275 -2.79322)'))) / (select extract(epoch from '2026-07-23 03:44:32'::timestamp) - extract(epoch from '2026-07-23 03:44: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'), 47640, 'SRID=4674;POINT (-40.296392 -2.793225)', '2026-07-23 03:44:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296275 -2.79322)'), GeomFromEWKT('SRID=4674;POINT (-40.296392 -2.793225)'))) / (select extract(epoch from '2026-07-23 03:44:50'::timestamp) - extract(epoch from '2026-07-23 03:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296275 -2.79322)'), GeomFromEWKT('SRID=4674;POINT (-40.296392 -2.793225)'))) / (select extract(epoch from '2026-07-23 03:44:50'::timestamp) - extract(epoch from '2026-07-23 03:44: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'), 47640, 'SRID=4674;POINT (-40.29652 -2.793239)', '2026-07-23 03:45:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296392 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.29652 -2.793239)'))) / (select extract(epoch from '2026-07-23 03:45:11'::timestamp) - extract(epoch from '2026-07-23 03:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296392 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.29652 -2.793239)'))) / (select extract(epoch from '2026-07-23 03:45:11'::timestamp) - extract(epoch from '2026-07-23 03:44: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'), 47640, 'SRID=4674;POINT (-40.296655 -2.793258)', '2026-07-23 03:45:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29652 -2.793239)'), GeomFromEWKT('SRID=4674;POINT (-40.296655 -2.793258)'))) / (select extract(epoch from '2026-07-23 03:45:28'::timestamp) - extract(epoch from '2026-07-23 03:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29652 -2.793239)'), GeomFromEWKT('SRID=4674;POINT (-40.296655 -2.793258)'))) / (select extract(epoch from '2026-07-23 03:45:28'::timestamp) - extract(epoch from '2026-07-23 03:45: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'), 47640, 'SRID=4674;POINT (-40.296768 -2.793271)', '2026-07-23 03:45:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296655 -2.793258)'), GeomFromEWKT('SRID=4674;POINT (-40.296768 -2.793271)'))) / (select extract(epoch from '2026-07-23 03:45:45'::timestamp) - extract(epoch from '2026-07-23 03:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296655 -2.793258)'), GeomFromEWKT('SRID=4674;POINT (-40.296768 -2.793271)'))) / (select extract(epoch from '2026-07-23 03:45:45'::timestamp) - extract(epoch from '2026-07-23 03:45: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'), 47640, 'SRID=4674;POINT (-40.296914 -2.793272)', '2026-07-23 03:46:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296768 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.296914 -2.793272)'))) / (select extract(epoch from '2026-07-23 03:46:06'::timestamp) - extract(epoch from '2026-07-23 03:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296768 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.296914 -2.793272)'))) / (select extract(epoch from '2026-07-23 03:46:06'::timestamp) - extract(epoch from '2026-07-23 03:45: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'), 47640, 'SRID=4674;POINT (-40.297047 -2.793278)', '2026-07-23 03:46:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296914 -2.793272)'), GeomFromEWKT('SRID=4674;POINT (-40.297047 -2.793278)'))) / (select extract(epoch from '2026-07-23 03:46:27'::timestamp) - extract(epoch from '2026-07-23 03:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296914 -2.793272)'), GeomFromEWKT('SRID=4674;POINT (-40.297047 -2.793278)'))) / (select extract(epoch from '2026-07-23 03:46:27'::timestamp) - extract(epoch from '2026-07-23 03:46: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'), 47640, 'SRID=4674;POINT (-40.297158 -2.793274)', '2026-07-23 03:46:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297047 -2.793278)'), GeomFromEWKT('SRID=4674;POINT (-40.297158 -2.793274)'))) / (select extract(epoch from '2026-07-23 03:46:43'::timestamp) - extract(epoch from '2026-07-23 03:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297047 -2.793278)'), GeomFromEWKT('SRID=4674;POINT (-40.297158 -2.793274)'))) / (select extract(epoch from '2026-07-23 03:46:43'::timestamp) - extract(epoch from '2026-07-23 03:46: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'), 47640, 'SRID=4674;POINT (-40.297276 -2.793277)', '2026-07-23 03:47:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297158 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.297276 -2.793277)'))) / (select extract(epoch from '2026-07-23 03:47:01'::timestamp) - extract(epoch from '2026-07-23 03:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297158 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.297276 -2.793277)'))) / (select extract(epoch from '2026-07-23 03:47:01'::timestamp) - extract(epoch from '2026-07-23 03:46: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'), 47640, 'SRID=4674;POINT (-40.297408 -2.79327)', '2026-07-23 03:47:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297276 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.297408 -2.79327)'))) / (select extract(epoch from '2026-07-23 03:47:20'::timestamp) - extract(epoch from '2026-07-23 03:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297276 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.297408 -2.79327)'))) / (select extract(epoch from '2026-07-23 03:47:20'::timestamp) - extract(epoch from '2026-07-23 03:47: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'), 47640, 'SRID=4674;POINT (-40.297538 -2.793278)', '2026-07-23 03:47:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297408 -2.79327)'), GeomFromEWKT('SRID=4674;POINT (-40.297538 -2.793278)'))) / (select extract(epoch from '2026-07-23 03:47:36'::timestamp) - extract(epoch from '2026-07-23 03:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297408 -2.79327)'), GeomFromEWKT('SRID=4674;POINT (-40.297538 -2.793278)'))) / (select extract(epoch from '2026-07-23 03:47:36'::timestamp) - extract(epoch from '2026-07-23 03:47: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'), 47640, 'SRID=4674;POINT (-40.297648 -2.79329)', '2026-07-23 03:47:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297538 -2.793278)'), GeomFromEWKT('SRID=4674;POINT (-40.297648 -2.79329)'))) / (select extract(epoch from '2026-07-23 03:47:53'::timestamp) - extract(epoch from '2026-07-23 03:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297538 -2.793278)'), GeomFromEWKT('SRID=4674;POINT (-40.297648 -2.79329)'))) / (select extract(epoch from '2026-07-23 03:47:53'::timestamp) - extract(epoch from '2026-07-23 03:47: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'), 47640, 'SRID=4674;POINT (-40.297785 -2.7933)', '2026-07-23 03:48:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297648 -2.79329)'), GeomFromEWKT('SRID=4674;POINT (-40.297785 -2.7933)'))) / (select extract(epoch from '2026-07-23 03:48:12'::timestamp) - extract(epoch from '2026-07-23 03:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297648 -2.79329)'), GeomFromEWKT('SRID=4674;POINT (-40.297785 -2.7933)'))) / (select extract(epoch from '2026-07-23 03:48:12'::timestamp) - extract(epoch from '2026-07-23 03:47: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'), 47640, 'SRID=4674;POINT (-40.297903 -2.793296)', '2026-07-23 03:48:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297785 -2.7933)'), GeomFromEWKT('SRID=4674;POINT (-40.297903 -2.793296)'))) / (select extract(epoch from '2026-07-23 03:48:28'::timestamp) - extract(epoch from '2026-07-23 03:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297785 -2.7933)'), GeomFromEWKT('SRID=4674;POINT (-40.297903 -2.793296)'))) / (select extract(epoch from '2026-07-23 03:48:28'::timestamp) - extract(epoch from '2026-07-23 03:48: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'), 47640, 'SRID=4674;POINT (-40.298025 -2.793274)', '2026-07-23 03:48:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297903 -2.793296)'), GeomFromEWKT('SRID=4674;POINT (-40.298025 -2.793274)'))) / (select extract(epoch from '2026-07-23 03:48:47'::timestamp) - extract(epoch from '2026-07-23 03:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297903 -2.793296)'), GeomFromEWKT('SRID=4674;POINT (-40.298025 -2.793274)'))) / (select extract(epoch from '2026-07-23 03:48:47'::timestamp) - extract(epoch from '2026-07-23 03:48: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'), 47640, 'SRID=4674;POINT (-40.298154 -2.793273)', '2026-07-23 03:49:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298025 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.298154 -2.793273)'))) / (select extract(epoch from '2026-07-23 03:49:03'::timestamp) - extract(epoch from '2026-07-23 03:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298025 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.298154 -2.793273)'))) / (select extract(epoch from '2026-07-23 03:49:03'::timestamp) - extract(epoch from '2026-07-23 03:48: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'), 47640, 'SRID=4674;POINT (-40.298285 -2.793267)', '2026-07-23 03:49:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298154 -2.793273)'), GeomFromEWKT('SRID=4674;POINT (-40.298285 -2.793267)'))) / (select extract(epoch from '2026-07-23 03:49:20'::timestamp) - extract(epoch from '2026-07-23 03:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298154 -2.793273)'), GeomFromEWKT('SRID=4674;POINT (-40.298285 -2.793267)'))) / (select extract(epoch from '2026-07-23 03:49:20'::timestamp) - extract(epoch from '2026-07-23 03:49: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'), 47640, 'SRID=4674;POINT (-40.298445 -2.793272)', '2026-07-23 03:49:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298285 -2.793267)'), GeomFromEWKT('SRID=4674;POINT (-40.298445 -2.793272)'))) / (select extract(epoch from '2026-07-23 03:49:39'::timestamp) - extract(epoch from '2026-07-23 03:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298285 -2.793267)'), GeomFromEWKT('SRID=4674;POINT (-40.298445 -2.793272)'))) / (select extract(epoch from '2026-07-23 03:49:39'::timestamp) - extract(epoch from '2026-07-23 03:49: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'), 47640, 'SRID=4674;POINT (-40.298586 -2.793277)', '2026-07-23 03:49:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298445 -2.793272)'), GeomFromEWKT('SRID=4674;POINT (-40.298586 -2.793277)'))) / (select extract(epoch from '2026-07-23 03:49:56'::timestamp) - extract(epoch from '2026-07-23 03:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298445 -2.793272)'), GeomFromEWKT('SRID=4674;POINT (-40.298586 -2.793277)'))) / (select extract(epoch from '2026-07-23 03:49:56'::timestamp) - extract(epoch from '2026-07-23 03:49: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'), 47640, 'SRID=4674;POINT (-40.298746 -2.79327)', '2026-07-23 03:50:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298586 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.79327)'))) / (select extract(epoch from '2026-07-23 03:50:15'::timestamp) - extract(epoch from '2026-07-23 03:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298586 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.79327)'))) / (select extract(epoch from '2026-07-23 03:50:15'::timestamp) - extract(epoch from '2026-07-23 03:49: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'), 47640, 'SRID=4674;POINT (-40.298867 -2.793264)', '2026-07-23 03:50:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.79327)'), GeomFromEWKT('SRID=4674;POINT (-40.298867 -2.793264)'))) / (select extract(epoch from '2026-07-23 03:50:32'::timestamp) - extract(epoch from '2026-07-23 03:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.79327)'), GeomFromEWKT('SRID=4674;POINT (-40.298867 -2.793264)'))) / (select extract(epoch from '2026-07-23 03:50:32'::timestamp) - extract(epoch from '2026-07-23 03:50: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'), 47640, 'SRID=4674;POINT (-40.299008 -2.793251)', '2026-07-23 03:50:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298867 -2.793264)'), GeomFromEWKT('SRID=4674;POINT (-40.299008 -2.793251)'))) / (select extract(epoch from '2026-07-23 03:50:50'::timestamp) - extract(epoch from '2026-07-23 03:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298867 -2.793264)'), GeomFromEWKT('SRID=4674;POINT (-40.299008 -2.793251)'))) / (select extract(epoch from '2026-07-23 03:50:50'::timestamp) - extract(epoch from '2026-07-23 03:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299135 -2.793242)', '2026-07-23 03:51:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299008 -2.793251)'), GeomFromEWKT('SRID=4674;POINT (-40.299135 -2.793242)'))) / (select extract(epoch from '2026-07-23 03:51:05'::timestamp) - extract(epoch from '2026-07-23 03:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299008 -2.793251)'), GeomFromEWKT('SRID=4674;POINT (-40.299135 -2.793242)'))) / (select extract(epoch from '2026-07-23 03:51:05'::timestamp) - extract(epoch from '2026-07-23 03:50: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'), 47640, 'SRID=4674;POINT (-40.2993 -2.793228)', '2026-07-23 03:51:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299135 -2.793242)'), GeomFromEWKT('SRID=4674;POINT (-40.2993 -2.793228)'))) / (select extract(epoch from '2026-07-23 03:51:23'::timestamp) - extract(epoch from '2026-07-23 03:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299135 -2.793242)'), GeomFromEWKT('SRID=4674;POINT (-40.2993 -2.793228)'))) / (select extract(epoch from '2026-07-23 03:51:23'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.29944 -2.793229)', '2026-07-23 03:51:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2993 -2.793228)'), GeomFromEWKT('SRID=4674;POINT (-40.29944 -2.793229)'))) / (select extract(epoch from '2026-07-23 03:51:38'::timestamp) - extract(epoch from '2026-07-23 03:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2993 -2.793228)'), GeomFromEWKT('SRID=4674;POINT (-40.29944 -2.793229)'))) / (select extract(epoch from '2026-07-23 03:51:38'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.299584 -2.793242)', '2026-07-23 03:51:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29944 -2.793229)'), GeomFromEWKT('SRID=4674;POINT (-40.299584 -2.793242)'))) / (select extract(epoch from '2026-07-23 03:51:57'::timestamp) - extract(epoch from '2026-07-23 03:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29944 -2.793229)'), GeomFromEWKT('SRID=4674;POINT (-40.299584 -2.793242)'))) / (select extract(epoch from '2026-07-23 03:51:57'::timestamp) - extract(epoch from '2026-07-23 03:51: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'), 47640, 'SRID=4674;POINT (-40.299706 -2.793257)', '2026-07-23 03:52:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299584 -2.793242)'), GeomFromEWKT('SRID=4674;POINT (-40.299706 -2.793257)'))) / (select extract(epoch from '2026-07-23 03:52:15'::timestamp) - extract(epoch from '2026-07-23 03:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299584 -2.793242)'), GeomFromEWKT('SRID=4674;POINT (-40.299706 -2.793257)'))) / (select extract(epoch from '2026-07-23 03:52:15'::timestamp) - extract(epoch from '2026-07-23 03:51: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'), 47640, 'SRID=4674;POINT (-40.299792 -2.793253)', '2026-07-23 03:52:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299706 -2.793257)'), GeomFromEWKT('SRID=4674;POINT (-40.299792 -2.793253)'))) / (select extract(epoch from '2026-07-23 03:52:29'::timestamp) - extract(epoch from '2026-07-23 03:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299706 -2.793257)'), GeomFromEWKT('SRID=4674;POINT (-40.299792 -2.793253)'))) / (select extract(epoch from '2026-07-23 03:52:29'::timestamp) - extract(epoch from '2026-07-23 03:52: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'), 47640, 'SRID=4674;POINT (-40.299853 -2.793248)', '2026-07-23 03:52:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299792 -2.793253)'), GeomFromEWKT('SRID=4674;POINT (-40.299853 -2.793248)'))) / (select extract(epoch from '2026-07-23 03:52:42'::timestamp) - extract(epoch from '2026-07-23 03:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299792 -2.793253)'), GeomFromEWKT('SRID=4674;POINT (-40.299853 -2.793248)'))) / (select extract(epoch from '2026-07-23 03:52:42'::timestamp) - extract(epoch from '2026-07-23 03:52: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'), 47640, 'SRID=4674;POINT (-40.299925 -2.793241)', '2026-07-23 03:52:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299853 -2.793248)'), GeomFromEWKT('SRID=4674;POINT (-40.299925 -2.793241)'))) / (select extract(epoch from '2026-07-23 03:52:55'::timestamp) - extract(epoch from '2026-07-23 03:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299853 -2.793248)'), GeomFromEWKT('SRID=4674;POINT (-40.299925 -2.793241)'))) / (select extract(epoch from '2026-07-23 03:52:55'::timestamp) - extract(epoch from '2026-07-23 03:52: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'), 47640, 'SRID=4674;POINT (-40.300041 -2.793235)', '2026-07-23 03:53:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299925 -2.793241)'), GeomFromEWKT('SRID=4674;POINT (-40.300041 -2.793235)'))) / (select extract(epoch from '2026-07-23 03:53:10'::timestamp) - extract(epoch from '2026-07-23 03:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299925 -2.793241)'), GeomFromEWKT('SRID=4674;POINT (-40.300041 -2.793235)'))) / (select extract(epoch from '2026-07-23 03:53:10'::timestamp) - extract(epoch from '2026-07-23 03:52: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'), 47640, 'SRID=4674;POINT (-40.300159 -2.793238)', '2026-07-23 03:53:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300041 -2.793235)'), GeomFromEWKT('SRID=4674;POINT (-40.300159 -2.793238)'))) / (select extract(epoch from '2026-07-23 03:53:24'::timestamp) - extract(epoch from '2026-07-23 03:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300041 -2.793235)'), GeomFromEWKT('SRID=4674;POINT (-40.300159 -2.793238)'))) / (select extract(epoch from '2026-07-23 03:53:24'::timestamp) - extract(epoch from '2026-07-23 03:53: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'), 47640, 'SRID=4674;POINT (-40.300322 -2.793233)', '2026-07-23 03:53:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300159 -2.793238)'), GeomFromEWKT('SRID=4674;POINT (-40.300322 -2.793233)'))) / (select extract(epoch from '2026-07-23 03:53:43'::timestamp) - extract(epoch from '2026-07-23 03:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300159 -2.793238)'), GeomFromEWKT('SRID=4674;POINT (-40.300322 -2.793233)'))) / (select extract(epoch from '2026-07-23 03:53:43'::timestamp) - extract(epoch from '2026-07-23 03:53: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'), 47640, 'SRID=4674;POINT (-40.300434 -2.793258)', '2026-07-23 03:53:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300322 -2.793233)'), GeomFromEWKT('SRID=4674;POINT (-40.300434 -2.793258)'))) / (select extract(epoch from '2026-07-23 03:53:57'::timestamp) - extract(epoch from '2026-07-23 03:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300322 -2.793233)'), GeomFromEWKT('SRID=4674;POINT (-40.300434 -2.793258)'))) / (select extract(epoch from '2026-07-23 03:53:57'::timestamp) - extract(epoch from '2026-07-23 03:53: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'), 47640, 'SRID=4674;POINT (-40.300543 -2.793284)', '2026-07-23 03:54:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300434 -2.793258)'), GeomFromEWKT('SRID=4674;POINT (-40.300543 -2.793284)'))) / (select extract(epoch from '2026-07-23 03:54:11'::timestamp) - extract(epoch from '2026-07-23 03:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300434 -2.793258)'), GeomFromEWKT('SRID=4674;POINT (-40.300543 -2.793284)'))) / (select extract(epoch from '2026-07-23 03:54:11'::timestamp) - extract(epoch from '2026-07-23 03:53: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'), 47640, 'SRID=4674;POINT (-40.300635 -2.793317)', '2026-07-23 03:54:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300543 -2.793284)'), GeomFromEWKT('SRID=4674;POINT (-40.300635 -2.793317)'))) / (select extract(epoch from '2026-07-23 03:54:24'::timestamp) - extract(epoch from '2026-07-23 03:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300543 -2.793284)'), GeomFromEWKT('SRID=4674;POINT (-40.300635 -2.793317)'))) / (select extract(epoch from '2026-07-23 03:54:24'::timestamp) - extract(epoch from '2026-07-23 03:54: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'), 47640, 'SRID=4674;POINT (-40.300776 -2.793354)', '2026-07-23 03:54:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300635 -2.793317)'), GeomFromEWKT('SRID=4674;POINT (-40.300776 -2.793354)'))) / (select extract(epoch from '2026-07-23 03:54:44'::timestamp) - extract(epoch from '2026-07-23 03:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300635 -2.793317)'), GeomFromEWKT('SRID=4674;POINT (-40.300776 -2.793354)'))) / (select extract(epoch from '2026-07-23 03:54:44'::timestamp) - extract(epoch from '2026-07-23 03:54: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'), 47640, 'SRID=4674;POINT (-40.300909 -2.793387)', '2026-07-23 03:55:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300776 -2.793354)'), GeomFromEWKT('SRID=4674;POINT (-40.300909 -2.793387)'))) / (select extract(epoch from '2026-07-23 03:55:02'::timestamp) - extract(epoch from '2026-07-23 03:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300776 -2.793354)'), GeomFromEWKT('SRID=4674;POINT (-40.300909 -2.793387)'))) / (select extract(epoch from '2026-07-23 03:55:02'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.30101 -2.793411)', '2026-07-23 03:55:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300909 -2.793387)'), GeomFromEWKT('SRID=4674;POINT (-40.30101 -2.793411)'))) / (select extract(epoch from '2026-07-23 03:55:15'::timestamp) - extract(epoch from '2026-07-23 03:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300909 -2.793387)'), GeomFromEWKT('SRID=4674;POINT (-40.30101 -2.793411)'))) / (select extract(epoch from '2026-07-23 03:55:15'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.301121 -2.793437)', '2026-07-23 03:55:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30101 -2.793411)'), GeomFromEWKT('SRID=4674;POINT (-40.301121 -2.793437)'))) / (select extract(epoch from '2026-07-23 03:55:30'::timestamp) - extract(epoch from '2026-07-23 03:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30101 -2.793411)'), GeomFromEWKT('SRID=4674;POINT (-40.301121 -2.793437)'))) / (select extract(epoch from '2026-07-23 03:55:30'::timestamp) - extract(epoch from '2026-07-23 03:55: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'), 47640, 'SRID=4674;POINT (-40.30124 -2.79345)', '2026-07-23 03:55:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301121 -2.793437)'), GeomFromEWKT('SRID=4674;POINT (-40.30124 -2.79345)'))) / (select extract(epoch from '2026-07-23 03:55:44'::timestamp) - extract(epoch from '2026-07-23 03:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301121 -2.793437)'), GeomFromEWKT('SRID=4674;POINT (-40.30124 -2.79345)'))) / (select extract(epoch from '2026-07-23 03:55:44'::timestamp) - extract(epoch from '2026-07-23 03:55: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'), 47640, 'SRID=4674;POINT (-40.301363 -2.793459)', '2026-07-23 03:55:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30124 -2.79345)'), GeomFromEWKT('SRID=4674;POINT (-40.301363 -2.793459)'))) / (select extract(epoch from '2026-07-23 03:55:58'::timestamp) - extract(epoch from '2026-07-23 03:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30124 -2.79345)'), GeomFromEWKT('SRID=4674;POINT (-40.301363 -2.793459)'))) / (select extract(epoch from '2026-07-23 03:55:58'::timestamp) - extract(epoch from '2026-07-23 03:55: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'), 47640, 'SRID=4674;POINT (-40.301489 -2.793462)', '2026-07-23 03:56:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301363 -2.793459)'), GeomFromEWKT('SRID=4674;POINT (-40.301489 -2.793462)'))) / (select extract(epoch from '2026-07-23 03:56:13'::timestamp) - extract(epoch from '2026-07-23 03:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301363 -2.793459)'), GeomFromEWKT('SRID=4674;POINT (-40.301489 -2.793462)'))) / (select extract(epoch from '2026-07-23 03:56:13'::timestamp) - extract(epoch from '2026-07-23 03:55: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'), 47640, 'SRID=4674;POINT (-40.301664 -2.793456)', '2026-07-23 03:56:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301489 -2.793462)'), GeomFromEWKT('SRID=4674;POINT (-40.301664 -2.793456)'))) / (select extract(epoch from '2026-07-23 03:56:32'::timestamp) - extract(epoch from '2026-07-23 03:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301489 -2.793462)'), GeomFromEWKT('SRID=4674;POINT (-40.301664 -2.793456)'))) / (select extract(epoch from '2026-07-23 03:56:32'::timestamp) - extract(epoch from '2026-07-23 03:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301801 -2.793441)', '2026-07-23 03:56:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301664 -2.793456)'), GeomFromEWKT('SRID=4674;POINT (-40.301801 -2.793441)'))) / (select extract(epoch from '2026-07-23 03:56:48'::timestamp) - extract(epoch from '2026-07-23 03:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301664 -2.793456)'), GeomFromEWKT('SRID=4674;POINT (-40.301801 -2.793441)'))) / (select extract(epoch from '2026-07-23 03:56:48'::timestamp) - extract(epoch from '2026-07-23 03:56: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'), 47640, 'SRID=4674;POINT (-40.301915 -2.793447)', '2026-07-23 03:57:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301801 -2.793441)'), GeomFromEWKT('SRID=4674;POINT (-40.301915 -2.793447)'))) / (select extract(epoch from '2026-07-23 03:57:01'::timestamp) - extract(epoch from '2026-07-23 03:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301801 -2.793441)'), GeomFromEWKT('SRID=4674;POINT (-40.301915 -2.793447)'))) / (select extract(epoch from '2026-07-23 03:57:01'::timestamp) - extract(epoch from '2026-07-23 03:56: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'), 47640, 'SRID=4674;POINT (-40.302034 -2.793455)', '2026-07-23 03:57:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301915 -2.793447)'), GeomFromEWKT('SRID=4674;POINT (-40.302034 -2.793455)'))) / (select extract(epoch from '2026-07-23 03:57:14'::timestamp) - extract(epoch from '2026-07-23 03:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301915 -2.793447)'), GeomFromEWKT('SRID=4674;POINT (-40.302034 -2.793455)'))) / (select extract(epoch from '2026-07-23 03:57:14'::timestamp) - extract(epoch from '2026-07-23 03:57: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'), 47640, 'SRID=4674;POINT (-40.302127 -2.793452)', '2026-07-23 03:57:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302034 -2.793455)'), GeomFromEWKT('SRID=4674;POINT (-40.302127 -2.793452)'))) / (select extract(epoch from '2026-07-23 03:57:25'::timestamp) - extract(epoch from '2026-07-23 03:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302034 -2.793455)'), GeomFromEWKT('SRID=4674;POINT (-40.302127 -2.793452)'))) / (select extract(epoch from '2026-07-23 03:57:25'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.302237 -2.793444)', '2026-07-23 03:57:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302127 -2.793452)'), GeomFromEWKT('SRID=4674;POINT (-40.302237 -2.793444)'))) / (select extract(epoch from '2026-07-23 03:57:38'::timestamp) - extract(epoch from '2026-07-23 03:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302127 -2.793452)'), GeomFromEWKT('SRID=4674;POINT (-40.302237 -2.793444)'))) / (select extract(epoch from '2026-07-23 03:57:38'::timestamp) - extract(epoch from '2026-07-23 03:57: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'), 47640, 'SRID=4674;POINT (-40.302329 -2.793443)', '2026-07-23 03:57:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302237 -2.793444)'), GeomFromEWKT('SRID=4674;POINT (-40.302329 -2.793443)'))) / (select extract(epoch from '2026-07-23 03:57:49'::timestamp) - extract(epoch from '2026-07-23 03:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302237 -2.793444)'), GeomFromEWKT('SRID=4674;POINT (-40.302329 -2.793443)'))) / (select extract(epoch from '2026-07-23 03:57:49'::timestamp) - extract(epoch from '2026-07-23 03:57: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'), 47640, 'SRID=4674;POINT (-40.302433 -2.793465)', '2026-07-23 03:58:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302329 -2.793443)'), GeomFromEWKT('SRID=4674;POINT (-40.302433 -2.793465)'))) / (select extract(epoch from '2026-07-23 03:58:01'::timestamp) - extract(epoch from '2026-07-23 03:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302329 -2.793443)'), GeomFromEWKT('SRID=4674;POINT (-40.302433 -2.793465)'))) / (select extract(epoch from '2026-07-23 03:58:01'::timestamp) - extract(epoch from '2026-07-23 03:57: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'), 47640, 'SRID=4674;POINT (-40.302527 -2.79348)', '2026-07-23 03:58:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302433 -2.793465)'), GeomFromEWKT('SRID=4674;POINT (-40.302527 -2.79348)'))) / (select extract(epoch from '2026-07-23 03:58:13'::timestamp) - extract(epoch from '2026-07-23 03:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302433 -2.793465)'), GeomFromEWKT('SRID=4674;POINT (-40.302527 -2.79348)'))) / (select extract(epoch from '2026-07-23 03:58:13'::timestamp) - extract(epoch from '2026-07-23 03:58: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'), 47640, 'SRID=4674;POINT (-40.302626 -2.793495)', '2026-07-23 03:58:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302527 -2.79348)'), GeomFromEWKT('SRID=4674;POINT (-40.302626 -2.793495)'))) / (select extract(epoch from '2026-07-23 03:58:26'::timestamp) - extract(epoch from '2026-07-23 03:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302527 -2.79348)'), GeomFromEWKT('SRID=4674;POINT (-40.302626 -2.793495)'))) / (select extract(epoch from '2026-07-23 03:58:26'::timestamp) - extract(epoch from '2026-07-23 03:58: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'), 47640, 'SRID=4674;POINT (-40.302732 -2.793508)', '2026-07-23 03:58:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302626 -2.793495)'), GeomFromEWKT('SRID=4674;POINT (-40.302732 -2.793508)'))) / (select extract(epoch from '2026-07-23 03:58:42'::timestamp) - extract(epoch from '2026-07-23 03:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302626 -2.793495)'), GeomFromEWKT('SRID=4674;POINT (-40.302732 -2.793508)'))) / (select extract(epoch from '2026-07-23 03:58:42'::timestamp) - extract(epoch from '2026-07-23 03:58: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'), 47640, 'SRID=4674;POINT (-40.302814 -2.793516)', '2026-07-23 03:58:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302732 -2.793508)'), GeomFromEWKT('SRID=4674;POINT (-40.302814 -2.793516)'))) / (select extract(epoch from '2026-07-23 03:58:55'::timestamp) - extract(epoch from '2026-07-23 03:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302732 -2.793508)'), GeomFromEWKT('SRID=4674;POINT (-40.302814 -2.793516)'))) / (select extract(epoch from '2026-07-23 03:58:55'::timestamp) - extract(epoch from '2026-07-23 03:58: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'), 47640, 'SRID=4674;POINT (-40.302895 -2.793502)', '2026-07-23 03:59:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302814 -2.793516)'), GeomFromEWKT('SRID=4674;POINT (-40.302895 -2.793502)'))) / (select extract(epoch from '2026-07-23 03:59:08'::timestamp) - extract(epoch from '2026-07-23 03:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302814 -2.793516)'), GeomFromEWKT('SRID=4674;POINT (-40.302895 -2.793502)'))) / (select extract(epoch from '2026-07-23 03:59:08'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47640, 'SRID=4674;POINT (-40.303023 -2.793488)', '2026-07-23 03:59:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302895 -2.793502)'), GeomFromEWKT('SRID=4674;POINT (-40.303023 -2.793488)'))) / (select extract(epoch from '2026-07-23 03:59:28'::timestamp) - extract(epoch from '2026-07-23 03:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302895 -2.793502)'), GeomFromEWKT('SRID=4674;POINT (-40.303023 -2.793488)'))) / (select extract(epoch from '2026-07-23 03:59:28'::timestamp) - extract(epoch from '2026-07-23 03:59: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'), 47640, 'SRID=4674;POINT (-40.303105 -2.793481)', '2026-07-23 03:59:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303023 -2.793488)'), GeomFromEWKT('SRID=4674;POINT (-40.303105 -2.793481)'))) / (select extract(epoch from '2026-07-23 03:59:41'::timestamp) - extract(epoch from '2026-07-23 03:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303023 -2.793488)'), GeomFromEWKT('SRID=4674;POINT (-40.303105 -2.793481)'))) / (select extract(epoch from '2026-07-23 03:59:41'::timestamp) - extract(epoch from '2026-07-23 03:59: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'), 47640, 'SRID=4674;POINT (-40.303195 -2.793471)', '2026-07-23 03:59:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303105 -2.793481)'), GeomFromEWKT('SRID=4674;POINT (-40.303195 -2.793471)'))) / (select extract(epoch from '2026-07-23 03:59:57'::timestamp) - extract(epoch from '2026-07-23 03:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303105 -2.793481)'), GeomFromEWKT('SRID=4674;POINT (-40.303195 -2.793471)'))) / (select extract(epoch from '2026-07-23 03:59:57'::timestamp) - extract(epoch from '2026-07-23 03:59: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'), 47640, 'SRID=4674;POINT (-40.303308 -2.793482)', '2026-07-23 04:00:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303195 -2.793471)'), GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793482)'))) / (select extract(epoch from '2026-07-23 04:00:18'::timestamp) - extract(epoch from '2026-07-23 03:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303195 -2.793471)'), GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793482)'))) / (select extract(epoch from '2026-07-23 04:00:18'::timestamp) - extract(epoch from '2026-07-23 03:59: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'), 47640, 'SRID=4674;POINT (-40.3034 -2.793489)', '2026-07-23 04:00:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793482)'), GeomFromEWKT('SRID=4674;POINT (-40.3034 -2.793489)'))) / (select extract(epoch from '2026-07-23 04:00:35'::timestamp) - extract(epoch from '2026-07-23 04:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793482)'), GeomFromEWKT('SRID=4674;POINT (-40.3034 -2.793489)'))) / (select extract(epoch from '2026-07-23 04:00:35'::timestamp) - extract(epoch from '2026-07-23 04:00: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'), 47640, 'SRID=4674;POINT (-40.303516 -2.793469)', '2026-07-23 04:00:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3034 -2.793489)'), GeomFromEWKT('SRID=4674;POINT (-40.303516 -2.793469)'))) / (select extract(epoch from '2026-07-23 04:00:55'::timestamp) - extract(epoch from '2026-07-23 04:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3034 -2.793489)'), GeomFromEWKT('SRID=4674;POINT (-40.303516 -2.793469)'))) / (select extract(epoch from '2026-07-23 04:00:55'::timestamp) - extract(epoch from '2026-07-23 04:00: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'), 47640, 'SRID=4674;POINT (-40.30365 -2.793449)', '2026-07-23 04:01:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303516 -2.793469)'), GeomFromEWKT('SRID=4674;POINT (-40.30365 -2.793449)'))) / (select extract(epoch from '2026-07-23 04:01:14'::timestamp) - extract(epoch from '2026-07-23 04:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303516 -2.793469)'), GeomFromEWKT('SRID=4674;POINT (-40.30365 -2.793449)'))) / (select extract(epoch from '2026-07-23 04:01:14'::timestamp) - extract(epoch from '2026-07-23 04:00: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'), 47640, 'SRID=4674;POINT (-40.303783 -2.793419)', '2026-07-23 04:01:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30365 -2.793449)'), GeomFromEWKT('SRID=4674;POINT (-40.303783 -2.793419)'))) / (select extract(epoch from '2026-07-23 04:01:33'::timestamp) - extract(epoch from '2026-07-23 04:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30365 -2.793449)'), GeomFromEWKT('SRID=4674;POINT (-40.303783 -2.793419)'))) / (select extract(epoch from '2026-07-23 04:01:33'::timestamp) - extract(epoch from '2026-07-23 04:01: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'), 47640, 'SRID=4674;POINT (-40.303939 -2.793423)', '2026-07-23 04:01:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303783 -2.793419)'), GeomFromEWKT('SRID=4674;POINT (-40.303939 -2.793423)'))) / (select extract(epoch from '2026-07-23 04:01:52'::timestamp) - extract(epoch from '2026-07-23 04:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303783 -2.793419)'), GeomFromEWKT('SRID=4674;POINT (-40.303939 -2.793423)'))) / (select extract(epoch from '2026-07-23 04:01:52'::timestamp) - extract(epoch from '2026-07-23 04:01: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'), 47640, 'SRID=4674;POINT (-40.304078 -2.793408)', '2026-07-23 04:02:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303939 -2.793423)'), GeomFromEWKT('SRID=4674;POINT (-40.304078 -2.793408)'))) / (select extract(epoch from '2026-07-23 04:02:08'::timestamp) - extract(epoch from '2026-07-23 04:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303939 -2.793423)'), GeomFromEWKT('SRID=4674;POINT (-40.304078 -2.793408)'))) / (select extract(epoch from '2026-07-23 04:02:08'::timestamp) - extract(epoch from '2026-07-23 04:01: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'), 47640, 'SRID=4674;POINT (-40.304182 -2.7934)', '2026-07-23 04:02:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304078 -2.793408)'), GeomFromEWKT('SRID=4674;POINT (-40.304182 -2.7934)'))) / (select extract(epoch from '2026-07-23 04:02:25'::timestamp) - extract(epoch from '2026-07-23 04:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304078 -2.793408)'), GeomFromEWKT('SRID=4674;POINT (-40.304182 -2.7934)'))) / (select extract(epoch from '2026-07-23 04:02:25'::timestamp) - extract(epoch from '2026-07-23 04:02: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'), 47640, 'SRID=4674;POINT (-40.304286 -2.793401)', '2026-07-23 04:02:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304182 -2.7934)'), GeomFromEWKT('SRID=4674;POINT (-40.304286 -2.793401)'))) / (select extract(epoch from '2026-07-23 04:02:43'::timestamp) - extract(epoch from '2026-07-23 04:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304182 -2.7934)'), GeomFromEWKT('SRID=4674;POINT (-40.304286 -2.793401)'))) / (select extract(epoch from '2026-07-23 04:02:43'::timestamp) - extract(epoch from '2026-07-23 04:02: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'), 47640, 'SRID=4674;POINT (-40.304383 -2.793379)', '2026-07-23 04:03:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304286 -2.793401)'), GeomFromEWKT('SRID=4674;POINT (-40.304383 -2.793379)'))) / (select extract(epoch from '2026-07-23 04:03:04'::timestamp) - extract(epoch from '2026-07-23 04:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304286 -2.793401)'), GeomFromEWKT('SRID=4674;POINT (-40.304383 -2.793379)'))) / (select extract(epoch from '2026-07-23 04:03:04'::timestamp) - extract(epoch from '2026-07-23 04:02: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'), 47640, 'SRID=4674;POINT (-40.304475 -2.793353)', '2026-07-23 04:03:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304383 -2.793379)'), GeomFromEWKT('SRID=4674;POINT (-40.304475 -2.793353)'))) / (select extract(epoch from '2026-07-23 04:03:23'::timestamp) - extract(epoch from '2026-07-23 04:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304383 -2.793379)'), GeomFromEWKT('SRID=4674;POINT (-40.304475 -2.793353)'))) / (select extract(epoch from '2026-07-23 04:03:23'::timestamp) - extract(epoch from '2026-07-23 04:03: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'), 47640, 'SRID=4674;POINT (-40.304568 -2.793321)', '2026-07-23 04:03:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304475 -2.793353)'), GeomFromEWKT('SRID=4674;POINT (-40.304568 -2.793321)'))) / (select extract(epoch from '2026-07-23 04:03:39'::timestamp) - extract(epoch from '2026-07-23 04:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304475 -2.793353)'), GeomFromEWKT('SRID=4674;POINT (-40.304568 -2.793321)'))) / (select extract(epoch from '2026-07-23 04:03:39'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.304705 -2.793304)', '2026-07-23 04:03:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304568 -2.793321)'), GeomFromEWKT('SRID=4674;POINT (-40.304705 -2.793304)'))) / (select extract(epoch from '2026-07-23 04:03:59'::timestamp) - extract(epoch from '2026-07-23 04:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304568 -2.793321)'), GeomFromEWKT('SRID=4674;POINT (-40.304705 -2.793304)'))) / (select extract(epoch from '2026-07-23 04:03:59'::timestamp) - extract(epoch from '2026-07-23 04:03: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'), 47640, 'SRID=4674;POINT (-40.304842 -2.793287)', '2026-07-23 04:04:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304705 -2.793304)'), GeomFromEWKT('SRID=4674;POINT (-40.304842 -2.793287)'))) / (select extract(epoch from '2026-07-23 04:04:15'::timestamp) - extract(epoch from '2026-07-23 04:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304705 -2.793304)'), GeomFromEWKT('SRID=4674;POINT (-40.304842 -2.793287)'))) / (select extract(epoch from '2026-07-23 04:04:15'::timestamp) - extract(epoch from '2026-07-23 04:03: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'), 47640, 'SRID=4674;POINT (-40.304996 -2.793284)', '2026-07-23 04:04:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304842 -2.793287)'), GeomFromEWKT('SRID=4674;POINT (-40.304996 -2.793284)'))) / (select extract(epoch from '2026-07-23 04:04:34'::timestamp) - extract(epoch from '2026-07-23 04:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304842 -2.793287)'), GeomFromEWKT('SRID=4674;POINT (-40.304996 -2.793284)'))) / (select extract(epoch from '2026-07-23 04:04:34'::timestamp) - extract(epoch from '2026-07-23 04:04: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'), 47640, 'SRID=4674;POINT (-40.305133 -2.793281)', '2026-07-23 04:04:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304996 -2.793284)'), GeomFromEWKT('SRID=4674;POINT (-40.305133 -2.793281)'))) / (select extract(epoch from '2026-07-23 04:04:57'::timestamp) - extract(epoch from '2026-07-23 04:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304996 -2.793284)'), GeomFromEWKT('SRID=4674;POINT (-40.305133 -2.793281)'))) / (select extract(epoch from '2026-07-23 04:04:57'::timestamp) - extract(epoch from '2026-07-23 04:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305231 -2.793271)', '2026-07-23 04:05:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305133 -2.793281)'), GeomFromEWKT('SRID=4674;POINT (-40.305231 -2.793271)'))) / (select extract(epoch from '2026-07-23 04:05:16'::timestamp) - extract(epoch from '2026-07-23 04:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305133 -2.793281)'), GeomFromEWKT('SRID=4674;POINT (-40.305231 -2.793271)'))) / (select extract(epoch from '2026-07-23 04:05:16'::timestamp) - extract(epoch from '2026-07-23 04:04: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'), 47640, 'SRID=4674;POINT (-40.305307 -2.793254)', '2026-07-23 04:05:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305231 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.305307 -2.793254)'))) / (select extract(epoch from '2026-07-23 04:05:33'::timestamp) - extract(epoch from '2026-07-23 04:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305231 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.305307 -2.793254)'))) / (select extract(epoch from '2026-07-23 04:05:33'::timestamp) - extract(epoch from '2026-07-23 04:05: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'), 47640, 'SRID=4674;POINT (-40.305387 -2.793231)', '2026-07-23 04:05:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305307 -2.793254)'), GeomFromEWKT('SRID=4674;POINT (-40.305387 -2.793231)'))) / (select extract(epoch from '2026-07-23 04:05:51'::timestamp) - extract(epoch from '2026-07-23 04:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305307 -2.793254)'), GeomFromEWKT('SRID=4674;POINT (-40.305387 -2.793231)'))) / (select extract(epoch from '2026-07-23 04:05:51'::timestamp) - extract(epoch from '2026-07-23 04:05: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'), 47640, 'SRID=4674;POINT (-40.305474 -2.793208)', '2026-07-23 04:06:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305387 -2.793231)'), GeomFromEWKT('SRID=4674;POINT (-40.305474 -2.793208)'))) / (select extract(epoch from '2026-07-23 04:06:08'::timestamp) - extract(epoch from '2026-07-23 04:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305387 -2.793231)'), GeomFromEWKT('SRID=4674;POINT (-40.305474 -2.793208)'))) / (select extract(epoch from '2026-07-23 04:06:08'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.305571 -2.793188)', '2026-07-23 04:06:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305474 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.305571 -2.793188)'))) / (select extract(epoch from '2026-07-23 04:06:26'::timestamp) - extract(epoch from '2026-07-23 04:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305474 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.305571 -2.793188)'))) / (select extract(epoch from '2026-07-23 04:06:26'::timestamp) - extract(epoch from '2026-07-23 04:06: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'), 47640, 'SRID=4674;POINT (-40.305648 -2.793172)', '2026-07-23 04:06:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305571 -2.793188)'), GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.793172)'))) / (select extract(epoch from '2026-07-23 04:06:42'::timestamp) - extract(epoch from '2026-07-23 04:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305571 -2.793188)'), GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.793172)'))) / (select extract(epoch from '2026-07-23 04:06:42'::timestamp) - extract(epoch from '2026-07-23 04:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305738 -2.793157)', '2026-07-23 04:06:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.793172)'), GeomFromEWKT('SRID=4674;POINT (-40.305738 -2.793157)'))) / (select extract(epoch from '2026-07-23 04:06:59'::timestamp) - extract(epoch from '2026-07-23 04:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.793172)'), GeomFromEWKT('SRID=4674;POINT (-40.305738 -2.793157)'))) / (select extract(epoch from '2026-07-23 04:06:59'::timestamp) - extract(epoch from '2026-07-23 04:06: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'), 47640, 'SRID=4674;POINT (-40.305854 -2.793158)', '2026-07-23 04:07:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305738 -2.793157)'), GeomFromEWKT('SRID=4674;POINT (-40.305854 -2.793158)'))) / (select extract(epoch from '2026-07-23 04:07:18'::timestamp) - extract(epoch from '2026-07-23 04:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305738 -2.793157)'), GeomFromEWKT('SRID=4674;POINT (-40.305854 -2.793158)'))) / (select extract(epoch from '2026-07-23 04:07:18'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.305953 -2.793146)', '2026-07-23 04:07:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305854 -2.793158)'), GeomFromEWKT('SRID=4674;POINT (-40.305953 -2.793146)'))) / (select extract(epoch from '2026-07-23 04:07:34'::timestamp) - extract(epoch from '2026-07-23 04:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305854 -2.793158)'), GeomFromEWKT('SRID=4674;POINT (-40.305953 -2.793146)'))) / (select extract(epoch from '2026-07-23 04:07:34'::timestamp) - extract(epoch from '2026-07-23 04:07: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'), 47640, 'SRID=4674;POINT (-40.306057 -2.793135)', '2026-07-23 04:07:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305953 -2.793146)'), GeomFromEWKT('SRID=4674;POINT (-40.306057 -2.793135)'))) / (select extract(epoch from '2026-07-23 04:07:51'::timestamp) - extract(epoch from '2026-07-23 04:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305953 -2.793146)'), GeomFromEWKT('SRID=4674;POINT (-40.306057 -2.793135)'))) / (select extract(epoch from '2026-07-23 04:07:51'::timestamp) - extract(epoch from '2026-07-23 04:07: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'), 47640, 'SRID=4674;POINT (-40.306168 -2.793128)', '2026-07-23 04:08:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306057 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.306168 -2.793128)'))) / (select extract(epoch from '2026-07-23 04:08:11'::timestamp) - extract(epoch from '2026-07-23 04:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306057 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.306168 -2.793128)'))) / (select extract(epoch from '2026-07-23 04:08:11'::timestamp) - extract(epoch from '2026-07-23 04:07: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'), 47640, 'SRID=4674;POINT (-40.306296 -2.793115)', '2026-07-23 04:08:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306168 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.306296 -2.793115)'))) / (select extract(epoch from '2026-07-23 04:08:31'::timestamp) - extract(epoch from '2026-07-23 04:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306168 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.306296 -2.793115)'))) / (select extract(epoch from '2026-07-23 04:08:31'::timestamp) - extract(epoch from '2026-07-23 04:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306421 -2.793101)', '2026-07-23 04:08:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306296 -2.793115)'), GeomFromEWKT('SRID=4674;POINT (-40.306421 -2.793101)'))) / (select extract(epoch from '2026-07-23 04:08:52'::timestamp) - extract(epoch from '2026-07-23 04:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306296 -2.793115)'), GeomFromEWKT('SRID=4674;POINT (-40.306421 -2.793101)'))) / (select extract(epoch from '2026-07-23 04:08:52'::timestamp) - extract(epoch from '2026-07-23 04:08: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'), 47640, 'SRID=4674;POINT (-40.306516 -2.793077)', '2026-07-23 04:09:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306421 -2.793101)'), GeomFromEWKT('SRID=4674;POINT (-40.306516 -2.793077)'))) / (select extract(epoch from '2026-07-23 04:09:09'::timestamp) - extract(epoch from '2026-07-23 04:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306421 -2.793101)'), GeomFromEWKT('SRID=4674;POINT (-40.306516 -2.793077)'))) / (select extract(epoch from '2026-07-23 04:09:09'::timestamp) - extract(epoch from '2026-07-23 04:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306607 -2.793077)', '2026-07-23 04:09:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306516 -2.793077)'), GeomFromEWKT('SRID=4674;POINT (-40.306607 -2.793077)'))) / (select extract(epoch from '2026-07-23 04:09:27'::timestamp) - extract(epoch from '2026-07-23 04:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306516 -2.793077)'), GeomFromEWKT('SRID=4674;POINT (-40.306607 -2.793077)'))) / (select extract(epoch from '2026-07-23 04:09:27'::timestamp) - extract(epoch from '2026-07-23 04:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306703 -2.793066)', '2026-07-23 04:09:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306607 -2.793077)'), GeomFromEWKT('SRID=4674;POINT (-40.306703 -2.793066)'))) / (select extract(epoch from '2026-07-23 04:09:44'::timestamp) - extract(epoch from '2026-07-23 04:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306607 -2.793077)'), GeomFromEWKT('SRID=4674;POINT (-40.306703 -2.793066)'))) / (select extract(epoch from '2026-07-23 04:09:44'::timestamp) - extract(epoch from '2026-07-23 04:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30681 -2.793058)', '2026-07-23 04:10:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306703 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.30681 -2.793058)'))) / (select extract(epoch from '2026-07-23 04:10:03'::timestamp) - extract(epoch from '2026-07-23 04:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306703 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.30681 -2.793058)'))) / (select extract(epoch from '2026-07-23 04:10:03'::timestamp) - extract(epoch from '2026-07-23 04:09: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'), 47640, 'SRID=4674;POINT (-40.306917 -2.793043)', '2026-07-23 04:10:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30681 -2.793058)'), GeomFromEWKT('SRID=4674;POINT (-40.306917 -2.793043)'))) / (select extract(epoch from '2026-07-23 04:10:22'::timestamp) - extract(epoch from '2026-07-23 04:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30681 -2.793058)'), GeomFromEWKT('SRID=4674;POINT (-40.306917 -2.793043)'))) / (select extract(epoch from '2026-07-23 04:10:22'::timestamp) - extract(epoch from '2026-07-23 04:10: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'), 47640, 'SRID=4674;POINT (-40.307016 -2.793031)', '2026-07-23 04:10:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306917 -2.793043)'), GeomFromEWKT('SRID=4674;POINT (-40.307016 -2.793031)'))) / (select extract(epoch from '2026-07-23 04:10:38'::timestamp) - extract(epoch from '2026-07-23 04:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306917 -2.793043)'), GeomFromEWKT('SRID=4674;POINT (-40.307016 -2.793031)'))) / (select extract(epoch from '2026-07-23 04:10:38'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.307104 -2.793)', '2026-07-23 04:10:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307016 -2.793031)'), GeomFromEWKT('SRID=4674;POINT (-40.307104 -2.793)'))) / (select extract(epoch from '2026-07-23 04:10:55'::timestamp) - extract(epoch from '2026-07-23 04:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307016 -2.793031)'), GeomFromEWKT('SRID=4674;POINT (-40.307104 -2.793)'))) / (select extract(epoch from '2026-07-23 04:10:55'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.307208 -2.792991)', '2026-07-23 04:11:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307104 -2.793)'), GeomFromEWKT('SRID=4674;POINT (-40.307208 -2.792991)'))) / (select extract(epoch from '2026-07-23 04:11:14'::timestamp) - extract(epoch from '2026-07-23 04:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307104 -2.793)'), GeomFromEWKT('SRID=4674;POINT (-40.307208 -2.792991)'))) / (select extract(epoch from '2026-07-23 04:11:14'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.307275 -2.792986)', '2026-07-23 04:11:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307208 -2.792991)'), GeomFromEWKT('SRID=4674;POINT (-40.307275 -2.792986)'))) / (select extract(epoch from '2026-07-23 04:11:28'::timestamp) - extract(epoch from '2026-07-23 04:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307208 -2.792991)'), GeomFromEWKT('SRID=4674;POINT (-40.307275 -2.792986)'))) / (select extract(epoch from '2026-07-23 04:11:28'::timestamp) - extract(epoch from '2026-07-23 04:11: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'), 47640, 'SRID=4674;POINT (-40.30735 -2.792966)', '2026-07-23 04:11:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307275 -2.792986)'), GeomFromEWKT('SRID=4674;POINT (-40.30735 -2.792966)'))) / (select extract(epoch from '2026-07-23 04:11:46'::timestamp) - extract(epoch from '2026-07-23 04:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307275 -2.792986)'), GeomFromEWKT('SRID=4674;POINT (-40.30735 -2.792966)'))) / (select extract(epoch from '2026-07-23 04:11:46'::timestamp) - extract(epoch from '2026-07-23 04:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307465 -2.792953)', '2026-07-23 04:12:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30735 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.307465 -2.792953)'))) / (select extract(epoch from '2026-07-23 04:12:06'::timestamp) - extract(epoch from '2026-07-23 04:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30735 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.307465 -2.792953)'))) / (select extract(epoch from '2026-07-23 04:12:06'::timestamp) - extract(epoch from '2026-07-23 04:11: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'), 47640, 'SRID=4674;POINT (-40.307597 -2.792917)', '2026-07-23 04:12:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307465 -2.792953)'), GeomFromEWKT('SRID=4674;POINT (-40.307597 -2.792917)'))) / (select extract(epoch from '2026-07-23 04:12:28'::timestamp) - extract(epoch from '2026-07-23 04:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307465 -2.792953)'), GeomFromEWKT('SRID=4674;POINT (-40.307597 -2.792917)'))) / (select extract(epoch from '2026-07-23 04:12:28'::timestamp) - extract(epoch from '2026-07-23 04:12: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'), 47640, 'SRID=4674;POINT (-40.307698 -2.792906)', '2026-07-23 04:12:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307597 -2.792917)'), GeomFromEWKT('SRID=4674;POINT (-40.307698 -2.792906)'))) / (select extract(epoch from '2026-07-23 04:12:45'::timestamp) - extract(epoch from '2026-07-23 04:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307597 -2.792917)'), GeomFromEWKT('SRID=4674;POINT (-40.307698 -2.792906)'))) / (select extract(epoch from '2026-07-23 04:12:45'::timestamp) - extract(epoch from '2026-07-23 04:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
