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'), 47860, 'SRID=4674;POINT (-39.820316 -2.931167)', '2026-07-04 05:17:54', 7.4, 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'), 47860, 'SRID=4674;POINT (-39.820267 -2.931146)', '2026-07-04 05:18:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820316 -2.931167)'), GeomFromEWKT('SRID=4674;POINT (-39.820267 -2.931146)'))) / (select extract(epoch from '2026-07-04 05:18:03'::timestamp) - extract(epoch from '2026-07-04 05:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820316 -2.931167)'), GeomFromEWKT('SRID=4674;POINT (-39.820267 -2.931146)'))) / (select extract(epoch from '2026-07-04 05:18:03'::timestamp) - extract(epoch from '2026-07-04 05:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.820225 -2.931129)', '2026-07-04 05:18:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820267 -2.931146)'), GeomFromEWKT('SRID=4674;POINT (-39.820225 -2.931129)'))) / (select extract(epoch from '2026-07-04 05:18:11'::timestamp) - extract(epoch from '2026-07-04 05:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820267 -2.931146)'), GeomFromEWKT('SRID=4674;POINT (-39.820225 -2.931129)'))) / (select extract(epoch from '2026-07-04 05:18:11'::timestamp) - extract(epoch from '2026-07-04 05:18: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'), 47860, 'SRID=4674;POINT (-39.820189 -2.931114)', '2026-07-04 05:18:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820225 -2.931129)'), GeomFromEWKT('SRID=4674;POINT (-39.820189 -2.931114)'))) / (select extract(epoch from '2026-07-04 05:18:18'::timestamp) - extract(epoch from '2026-07-04 05:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820225 -2.931129)'), GeomFromEWKT('SRID=4674;POINT (-39.820189 -2.931114)'))) / (select extract(epoch from '2026-07-04 05:18:18'::timestamp) - extract(epoch from '2026-07-04 05:18: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'), 47860, 'SRID=4674;POINT (-39.820149 -2.931092)', '2026-07-04 05:18:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820189 -2.931114)'), GeomFromEWKT('SRID=4674;POINT (-39.820149 -2.931092)'))) / (select extract(epoch from '2026-07-04 05:18:25'::timestamp) - extract(epoch from '2026-07-04 05:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820189 -2.931114)'), GeomFromEWKT('SRID=4674;POINT (-39.820149 -2.931092)'))) / (select extract(epoch from '2026-07-04 05:18:25'::timestamp) - extract(epoch from '2026-07-04 05:18: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'), 47860, 'SRID=4674;POINT (-39.820107 -2.931073)', '2026-07-04 05:18:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820149 -2.931092)'), GeomFromEWKT('SRID=4674;POINT (-39.820107 -2.931073)'))) / (select extract(epoch from '2026-07-04 05:18:33'::timestamp) - extract(epoch from '2026-07-04 05:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820149 -2.931092)'), GeomFromEWKT('SRID=4674;POINT (-39.820107 -2.931073)'))) / (select extract(epoch from '2026-07-04 05:18:33'::timestamp) - extract(epoch from '2026-07-04 05:18: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'), 47860, 'SRID=4674;POINT (-39.820062 -2.931053)', '2026-07-04 05:18:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820107 -2.931073)'), GeomFromEWKT('SRID=4674;POINT (-39.820062 -2.931053)'))) / (select extract(epoch from '2026-07-04 05:18:42'::timestamp) - extract(epoch from '2026-07-04 05:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820107 -2.931073)'), GeomFromEWKT('SRID=4674;POINT (-39.820062 -2.931053)'))) / (select extract(epoch from '2026-07-04 05:18:42'::timestamp) - extract(epoch from '2026-07-04 05:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.82001 -2.931026)', '2026-07-04 05:18:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820062 -2.931053)'), GeomFromEWKT('SRID=4674;POINT (-39.82001 -2.931026)'))) / (select extract(epoch from '2026-07-04 05:18:52'::timestamp) - extract(epoch from '2026-07-04 05:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820062 -2.931053)'), GeomFromEWKT('SRID=4674;POINT (-39.82001 -2.931026)'))) / (select extract(epoch from '2026-07-04 05:18:52'::timestamp) - extract(epoch from '2026-07-04 05:18: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'), 47860, 'SRID=4674;POINT (-39.81996 -2.93101)', '2026-07-04 05:19:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82001 -2.931026)'), GeomFromEWKT('SRID=4674;POINT (-39.81996 -2.93101)'))) / (select extract(epoch from '2026-07-04 05:19:02'::timestamp) - extract(epoch from '2026-07-04 05:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82001 -2.931026)'), GeomFromEWKT('SRID=4674;POINT (-39.81996 -2.93101)'))) / (select extract(epoch from '2026-07-04 05:19:02'::timestamp) - extract(epoch from '2026-07-04 05:18: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'), 47860, 'SRID=4674;POINT (-39.819908 -2.930978)', '2026-07-04 05:19:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81996 -2.93101)'), GeomFromEWKT('SRID=4674;POINT (-39.819908 -2.930978)'))) / (select extract(epoch from '2026-07-04 05:19:12'::timestamp) - extract(epoch from '2026-07-04 05:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81996 -2.93101)'), GeomFromEWKT('SRID=4674;POINT (-39.819908 -2.930978)'))) / (select extract(epoch from '2026-07-04 05:19:12'::timestamp) - extract(epoch from '2026-07-04 05:19: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'), 47860, 'SRID=4674;POINT (-39.819867 -2.930949)', '2026-07-04 05:19:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819908 -2.930978)'), GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.930949)'))) / (select extract(epoch from '2026-07-04 05:19:20'::timestamp) - extract(epoch from '2026-07-04 05:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819908 -2.930978)'), GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.930949)'))) / (select extract(epoch from '2026-07-04 05:19:20'::timestamp) - extract(epoch from '2026-07-04 05:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.819832 -2.930925)', '2026-07-04 05:19:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.930949)'), GeomFromEWKT('SRID=4674;POINT (-39.819832 -2.930925)'))) / (select extract(epoch from '2026-07-04 05:19:27'::timestamp) - extract(epoch from '2026-07-04 05:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819867 -2.930949)'), GeomFromEWKT('SRID=4674;POINT (-39.819832 -2.930925)'))) / (select extract(epoch from '2026-07-04 05:19:27'::timestamp) - extract(epoch from '2026-07-04 05:19: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'), 47860, 'SRID=4674;POINT (-39.819781 -2.9309)', '2026-07-04 05:19:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819832 -2.930925)'), GeomFromEWKT('SRID=4674;POINT (-39.819781 -2.9309)'))) / (select extract(epoch from '2026-07-04 05:19:36'::timestamp) - extract(epoch from '2026-07-04 05:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819832 -2.930925)'), GeomFromEWKT('SRID=4674;POINT (-39.819781 -2.9309)'))) / (select extract(epoch from '2026-07-04 05:19:36'::timestamp) - extract(epoch from '2026-07-04 05:19: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'), 47860, 'SRID=4674;POINT (-39.819725 -2.93088)', '2026-07-04 05:19:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819781 -2.9309)'), GeomFromEWKT('SRID=4674;POINT (-39.819725 -2.93088)'))) / (select extract(epoch from '2026-07-04 05:19:45'::timestamp) - extract(epoch from '2026-07-04 05:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819781 -2.9309)'), GeomFromEWKT('SRID=4674;POINT (-39.819725 -2.93088)'))) / (select extract(epoch from '2026-07-04 05:19:45'::timestamp) - extract(epoch from '2026-07-04 05:19: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'), 47860, 'SRID=4674;POINT (-39.819681 -2.930852)', '2026-07-04 05:19:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819725 -2.93088)'), GeomFromEWKT('SRID=4674;POINT (-39.819681 -2.930852)'))) / (select extract(epoch from '2026-07-04 05:19:54'::timestamp) - extract(epoch from '2026-07-04 05:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819725 -2.93088)'), GeomFromEWKT('SRID=4674;POINT (-39.819681 -2.930852)'))) / (select extract(epoch from '2026-07-04 05:19:54'::timestamp) - extract(epoch from '2026-07-04 05:19: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'), 47860, 'SRID=4674;POINT (-39.819619 -2.930798)', '2026-07-04 05:20:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819681 -2.930852)'), GeomFromEWKT('SRID=4674;POINT (-39.819619 -2.930798)'))) / (select extract(epoch from '2026-07-04 05:20:07'::timestamp) - extract(epoch from '2026-07-04 05:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819681 -2.930852)'), GeomFromEWKT('SRID=4674;POINT (-39.819619 -2.930798)'))) / (select extract(epoch from '2026-07-04 05:20:07'::timestamp) - extract(epoch from '2026-07-04 05:19: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'), 47860, 'SRID=4674;POINT (-39.819553 -2.930763)', '2026-07-04 05:20:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819619 -2.930798)'), GeomFromEWKT('SRID=4674;POINT (-39.819553 -2.930763)'))) / (select extract(epoch from '2026-07-04 05:20:18'::timestamp) - extract(epoch from '2026-07-04 05:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819619 -2.930798)'), GeomFromEWKT('SRID=4674;POINT (-39.819553 -2.930763)'))) / (select extract(epoch from '2026-07-04 05:20:18'::timestamp) - extract(epoch from '2026-07-04 05:20: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'), 47860, 'SRID=4674;POINT (-39.819504 -2.930725)', '2026-07-04 05:20:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819553 -2.930763)'), GeomFromEWKT('SRID=4674;POINT (-39.819504 -2.930725)'))) / (select extract(epoch from '2026-07-04 05:20:28'::timestamp) - extract(epoch from '2026-07-04 05:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819553 -2.930763)'), GeomFromEWKT('SRID=4674;POINT (-39.819504 -2.930725)'))) / (select extract(epoch from '2026-07-04 05:20:28'::timestamp) - extract(epoch from '2026-07-04 05:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.819465 -2.930699)', '2026-07-04 05:20:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819504 -2.930725)'), GeomFromEWKT('SRID=4674;POINT (-39.819465 -2.930699)'))) / (select extract(epoch from '2026-07-04 05:20:36'::timestamp) - extract(epoch from '2026-07-04 05:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819504 -2.930725)'), GeomFromEWKT('SRID=4674;POINT (-39.819465 -2.930699)'))) / (select extract(epoch from '2026-07-04 05:20:36'::timestamp) - extract(epoch from '2026-07-04 05:20: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'), 47860, 'SRID=4674;POINT (-39.819416 -2.930673)', '2026-07-04 05:20:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819465 -2.930699)'), GeomFromEWKT('SRID=4674;POINT (-39.819416 -2.930673)'))) / (select extract(epoch from '2026-07-04 05:20:45'::timestamp) - extract(epoch from '2026-07-04 05:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819465 -2.930699)'), GeomFromEWKT('SRID=4674;POINT (-39.819416 -2.930673)'))) / (select extract(epoch from '2026-07-04 05:20:45'::timestamp) - extract(epoch from '2026-07-04 05:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.819363 -2.930654)', '2026-07-04 05:20:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819416 -2.930673)'), GeomFromEWKT('SRID=4674;POINT (-39.819363 -2.930654)'))) / (select extract(epoch from '2026-07-04 05:20:54'::timestamp) - extract(epoch from '2026-07-04 05:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819416 -2.930673)'), GeomFromEWKT('SRID=4674;POINT (-39.819363 -2.930654)'))) / (select extract(epoch from '2026-07-04 05:20:54'::timestamp) - extract(epoch from '2026-07-04 05:20: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'), 47860, 'SRID=4674;POINT (-39.819306 -2.930619)', '2026-07-04 05:21:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819363 -2.930654)'), GeomFromEWKT('SRID=4674;POINT (-39.819306 -2.930619)'))) / (select extract(epoch from '2026-07-04 05:21:05'::timestamp) - extract(epoch from '2026-07-04 05:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819363 -2.930654)'), GeomFromEWKT('SRID=4674;POINT (-39.819306 -2.930619)'))) / (select extract(epoch from '2026-07-04 05:21:05'::timestamp) - extract(epoch from '2026-07-04 05:20: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'), 47860, 'SRID=4674;POINT (-39.819259 -2.930581)', '2026-07-04 05:21:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819306 -2.930619)'), GeomFromEWKT('SRID=4674;POINT (-39.819259 -2.930581)'))) / (select extract(epoch from '2026-07-04 05:21:14'::timestamp) - extract(epoch from '2026-07-04 05:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819306 -2.930619)'), GeomFromEWKT('SRID=4674;POINT (-39.819259 -2.930581)'))) / (select extract(epoch from '2026-07-04 05:21:14'::timestamp) - extract(epoch from '2026-07-04 05:21: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'), 47860, 'SRID=4674;POINT (-39.819207 -2.930542)', '2026-07-04 05:21:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819259 -2.930581)'), GeomFromEWKT('SRID=4674;POINT (-39.819207 -2.930542)'))) / (select extract(epoch from '2026-07-04 05:21:23'::timestamp) - extract(epoch from '2026-07-04 05:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819259 -2.930581)'), GeomFromEWKT('SRID=4674;POINT (-39.819207 -2.930542)'))) / (select extract(epoch from '2026-07-04 05:21:23'::timestamp) - extract(epoch from '2026-07-04 05:21: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'), 47860, 'SRID=4674;POINT (-39.819153 -2.930507)', '2026-07-04 05:21:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819207 -2.930542)'), GeomFromEWKT('SRID=4674;POINT (-39.819153 -2.930507)'))) / (select extract(epoch from '2026-07-04 05:21:33'::timestamp) - extract(epoch from '2026-07-04 05:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819207 -2.930542)'), GeomFromEWKT('SRID=4674;POINT (-39.819153 -2.930507)'))) / (select extract(epoch from '2026-07-04 05:21:33'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.819108 -2.930479)', '2026-07-04 05:21:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819153 -2.930507)'), GeomFromEWKT('SRID=4674;POINT (-39.819108 -2.930479)'))) / (select extract(epoch from '2026-07-04 05:21:41'::timestamp) - extract(epoch from '2026-07-04 05:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819153 -2.930507)'), GeomFromEWKT('SRID=4674;POINT (-39.819108 -2.930479)'))) / (select extract(epoch from '2026-07-04 05:21:41'::timestamp) - extract(epoch from '2026-07-04 05:21: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'), 47860, 'SRID=4674;POINT (-39.819055 -2.93046)', '2026-07-04 05:21:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819108 -2.930479)'), GeomFromEWKT('SRID=4674;POINT (-39.819055 -2.93046)'))) / (select extract(epoch from '2026-07-04 05:21:51'::timestamp) - extract(epoch from '2026-07-04 05:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819108 -2.930479)'), GeomFromEWKT('SRID=4674;POINT (-39.819055 -2.93046)'))) / (select extract(epoch from '2026-07-04 05:21:51'::timestamp) - extract(epoch from '2026-07-04 05:21: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'), 47860, 'SRID=4674;POINT (-39.819017 -2.930443)', '2026-07-04 05:22:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819055 -2.93046)'), GeomFromEWKT('SRID=4674;POINT (-39.819017 -2.930443)'))) / (select extract(epoch from '2026-07-04 05:22:00'::timestamp) - extract(epoch from '2026-07-04 05:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819055 -2.93046)'), GeomFromEWKT('SRID=4674;POINT (-39.819017 -2.930443)'))) / (select extract(epoch from '2026-07-04 05:22:00'::timestamp) - extract(epoch from '2026-07-04 05:21: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'), 47860, 'SRID=4674;POINT (-39.818912 -2.930366)', '2026-07-04 05:22:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819017 -2.930443)'), GeomFromEWKT('SRID=4674;POINT (-39.818912 -2.930366)'))) / (select extract(epoch from '2026-07-04 05:22:27'::timestamp) - extract(epoch from '2026-07-04 05:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819017 -2.930443)'), GeomFromEWKT('SRID=4674;POINT (-39.818912 -2.930366)'))) / (select extract(epoch from '2026-07-04 05:22:27'::timestamp) - extract(epoch from '2026-07-04 05:22: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'), 47860, 'SRID=4674;POINT (-39.818875 -2.930337)', '2026-07-04 05:22:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818912 -2.930366)'), GeomFromEWKT('SRID=4674;POINT (-39.818875 -2.930337)'))) / (select extract(epoch from '2026-07-04 05:22:38'::timestamp) - extract(epoch from '2026-07-04 05:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818912 -2.930366)'), GeomFromEWKT('SRID=4674;POINT (-39.818875 -2.930337)'))) / (select extract(epoch from '2026-07-04 05:22:38'::timestamp) - extract(epoch from '2026-07-04 05:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.818761 -2.930245)', '2026-07-04 05:23:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818875 -2.930337)'), GeomFromEWKT('SRID=4674;POINT (-39.818761 -2.930245)'))) / (select extract(epoch from '2026-07-04 05:23:07'::timestamp) - extract(epoch from '2026-07-04 05:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818875 -2.930337)'), GeomFromEWKT('SRID=4674;POINT (-39.818761 -2.930245)'))) / (select extract(epoch from '2026-07-04 05:23:07'::timestamp) - extract(epoch from '2026-07-04 05:22: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'), 47860, 'SRID=4674;POINT (-39.818693 -2.930189)', '2026-07-04 05:23:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818761 -2.930245)'), GeomFromEWKT('SRID=4674;POINT (-39.818693 -2.930189)'))) / (select extract(epoch from '2026-07-04 05:23:22'::timestamp) - extract(epoch from '2026-07-04 05:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818761 -2.930245)'), GeomFromEWKT('SRID=4674;POINT (-39.818693 -2.930189)'))) / (select extract(epoch from '2026-07-04 05:23:22'::timestamp) - extract(epoch from '2026-07-04 05:23: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'), 47860, 'SRID=4674;POINT (-39.818639 -2.930138)', '2026-07-04 05:23:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818693 -2.930189)'), GeomFromEWKT('SRID=4674;POINT (-39.818639 -2.930138)'))) / (select extract(epoch from '2026-07-04 05:23:36'::timestamp) - extract(epoch from '2026-07-04 05:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818693 -2.930189)'), GeomFromEWKT('SRID=4674;POINT (-39.818639 -2.930138)'))) / (select extract(epoch from '2026-07-04 05:23:36'::timestamp) - extract(epoch from '2026-07-04 05:23: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'), 47860, 'SRID=4674;POINT (-39.818559 -2.930042)', '2026-07-04 05:24:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818639 -2.930138)'), GeomFromEWKT('SRID=4674;POINT (-39.818559 -2.930042)'))) / (select extract(epoch from '2026-07-04 05:24:05'::timestamp) - extract(epoch from '2026-07-04 05:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818639 -2.930138)'), GeomFromEWKT('SRID=4674;POINT (-39.818559 -2.930042)'))) / (select extract(epoch from '2026-07-04 05:24:05'::timestamp) - extract(epoch from '2026-07-04 05:23: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'), 47860, 'SRID=4674;POINT (-39.818521 -2.929997)', '2026-07-04 05:24:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818559 -2.930042)'), GeomFromEWKT('SRID=4674;POINT (-39.818521 -2.929997)'))) / (select extract(epoch from '2026-07-04 05:24:20'::timestamp) - extract(epoch from '2026-07-04 05:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818559 -2.930042)'), GeomFromEWKT('SRID=4674;POINT (-39.818521 -2.929997)'))) / (select extract(epoch from '2026-07-04 05:24:20'::timestamp) - extract(epoch from '2026-07-04 05:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.818494 -2.929975)', '2026-07-04 05:24:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818521 -2.929997)'), GeomFromEWKT('SRID=4674;POINT (-39.818494 -2.929975)'))) / (select extract(epoch from '2026-07-04 05:24:29'::timestamp) - extract(epoch from '2026-07-04 05:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818521 -2.929997)'), GeomFromEWKT('SRID=4674;POINT (-39.818494 -2.929975)'))) / (select extract(epoch from '2026-07-04 05:24:29'::timestamp) - extract(epoch from '2026-07-04 05:24: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'), 47860, 'SRID=4674;POINT (-39.818431 -2.929923)', '2026-07-04 05:24:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818494 -2.929975)'), GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.929923)'))) / (select extract(epoch from '2026-07-04 05:24:47'::timestamp) - extract(epoch from '2026-07-04 05:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818494 -2.929975)'), GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.929923)'))) / (select extract(epoch from '2026-07-04 05:24:47'::timestamp) - extract(epoch from '2026-07-04 05:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.818371 -2.929875)', '2026-07-04 05:25:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.929923)'), GeomFromEWKT('SRID=4674;POINT (-39.818371 -2.929875)'))) / (select extract(epoch from '2026-07-04 05:25:04'::timestamp) - extract(epoch from '2026-07-04 05:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.929923)'), GeomFromEWKT('SRID=4674;POINT (-39.818371 -2.929875)'))) / (select extract(epoch from '2026-07-04 05:25:04'::timestamp) - extract(epoch from '2026-07-04 05:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.818317 -2.929831)', '2026-07-04 05:25:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818371 -2.929875)'), GeomFromEWKT('SRID=4674;POINT (-39.818317 -2.929831)'))) / (select extract(epoch from '2026-07-04 05:25:20'::timestamp) - extract(epoch from '2026-07-04 05:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818371 -2.929875)'), GeomFromEWKT('SRID=4674;POINT (-39.818317 -2.929831)'))) / (select extract(epoch from '2026-07-04 05:25:20'::timestamp) - extract(epoch from '2026-07-04 05:25: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'), 47860, 'SRID=4674;POINT (-39.818294 -2.929785)', '2026-07-04 05:25:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818317 -2.929831)'), GeomFromEWKT('SRID=4674;POINT (-39.818294 -2.929785)'))) / (select extract(epoch from '2026-07-04 05:25:33'::timestamp) - extract(epoch from '2026-07-04 05:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818317 -2.929831)'), GeomFromEWKT('SRID=4674;POINT (-39.818294 -2.929785)'))) / (select extract(epoch from '2026-07-04 05:25:33'::timestamp) - extract(epoch from '2026-07-04 05:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.818246 -2.929719)', '2026-07-04 05:25:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818294 -2.929785)'), GeomFromEWKT('SRID=4674;POINT (-39.818246 -2.929719)'))) / (select extract(epoch from '2026-07-04 05:25:52'::timestamp) - extract(epoch from '2026-07-04 05:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818294 -2.929785)'), GeomFromEWKT('SRID=4674;POINT (-39.818246 -2.929719)'))) / (select extract(epoch from '2026-07-04 05:25:52'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.818203 -2.929631)', '2026-07-04 05:26:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818246 -2.929719)'), GeomFromEWKT('SRID=4674;POINT (-39.818203 -2.929631)'))) / (select extract(epoch from '2026-07-04 05:26:17'::timestamp) - extract(epoch from '2026-07-04 05:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818246 -2.929719)'), GeomFromEWKT('SRID=4674;POINT (-39.818203 -2.929631)'))) / (select extract(epoch from '2026-07-04 05:26:17'::timestamp) - extract(epoch from '2026-07-04 05:25: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'), 47860, 'SRID=4674;POINT (-39.81816 -2.929593)', '2026-07-04 05:26:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818203 -2.929631)'), GeomFromEWKT('SRID=4674;POINT (-39.81816 -2.929593)'))) / (select extract(epoch from '2026-07-04 05:26:34'::timestamp) - extract(epoch from '2026-07-04 05:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818203 -2.929631)'), GeomFromEWKT('SRID=4674;POINT (-39.81816 -2.929593)'))) / (select extract(epoch from '2026-07-04 05:26:34'::timestamp) - extract(epoch from '2026-07-04 05:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.81811 -2.929565)', '2026-07-04 05:26:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81816 -2.929593)'), GeomFromEWKT('SRID=4674;POINT (-39.81811 -2.929565)'))) / (select extract(epoch from '2026-07-04 05:26:49'::timestamp) - extract(epoch from '2026-07-04 05:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81816 -2.929593)'), GeomFromEWKT('SRID=4674;POINT (-39.81811 -2.929565)'))) / (select extract(epoch from '2026-07-04 05:26:49'::timestamp) - extract(epoch from '2026-07-04 05:26: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'), 47860, 'SRID=4674;POINT (-39.81808 -2.929543)', '2026-07-04 05:26:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81811 -2.929565)'), GeomFromEWKT('SRID=4674;POINT (-39.81808 -2.929543)'))) / (select extract(epoch from '2026-07-04 05:26:58'::timestamp) - extract(epoch from '2026-07-04 05:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81811 -2.929565)'), GeomFromEWKT('SRID=4674;POINT (-39.81808 -2.929543)'))) / (select extract(epoch from '2026-07-04 05:26:58'::timestamp) - extract(epoch from '2026-07-04 05:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.818022 -2.929488)', '2026-07-04 05:27:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81808 -2.929543)'), GeomFromEWKT('SRID=4674;POINT (-39.818022 -2.929488)'))) / (select extract(epoch from '2026-07-04 05:27:13'::timestamp) - extract(epoch from '2026-07-04 05:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81808 -2.929543)'), GeomFromEWKT('SRID=4674;POINT (-39.818022 -2.929488)'))) / (select extract(epoch from '2026-07-04 05:27:13'::timestamp) - extract(epoch from '2026-07-04 05:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817992 -2.929454)', '2026-07-04 05:27:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818022 -2.929488)'), GeomFromEWKT('SRID=4674;POINT (-39.817992 -2.929454)'))) / (select extract(epoch from '2026-07-04 05:27:25'::timestamp) - extract(epoch from '2026-07-04 05:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818022 -2.929488)'), GeomFromEWKT('SRID=4674;POINT (-39.817992 -2.929454)'))) / (select extract(epoch from '2026-07-04 05:27:25'::timestamp) - extract(epoch from '2026-07-04 05:27: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'), 47860, 'SRID=4674;POINT (-39.817972 -2.929433)', '2026-07-04 05:27:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817992 -2.929454)'), GeomFromEWKT('SRID=4674;POINT (-39.817972 -2.929433)'))) / (select extract(epoch from '2026-07-04 05:27:32'::timestamp) - extract(epoch from '2026-07-04 05:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817992 -2.929454)'), GeomFromEWKT('SRID=4674;POINT (-39.817972 -2.929433)'))) / (select extract(epoch from '2026-07-04 05:27:32'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.817932 -2.929399)', '2026-07-04 05:27:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817972 -2.929433)'), GeomFromEWKT('SRID=4674;POINT (-39.817932 -2.929399)'))) / (select extract(epoch from '2026-07-04 05:27:45'::timestamp) - extract(epoch from '2026-07-04 05:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817972 -2.929433)'), GeomFromEWKT('SRID=4674;POINT (-39.817932 -2.929399)'))) / (select extract(epoch from '2026-07-04 05:27:45'::timestamp) - extract(epoch from '2026-07-04 05:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817913 -2.929379)', '2026-07-04 05:27:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817932 -2.929399)'), GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.929379)'))) / (select extract(epoch from '2026-07-04 05:27:54'::timestamp) - extract(epoch from '2026-07-04 05:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817932 -2.929399)'), GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.929379)'))) / (select extract(epoch from '2026-07-04 05:27:54'::timestamp) - extract(epoch from '2026-07-04 05:27: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'), 47860, 'SRID=4674;POINT (-39.817878 -2.929348)', '2026-07-04 05:28:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.929379)'), GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.929348)'))) / (select extract(epoch from '2026-07-04 05:28:02'::timestamp) - extract(epoch from '2026-07-04 05:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.929379)'), GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.929348)'))) / (select extract(epoch from '2026-07-04 05:28:02'::timestamp) - extract(epoch from '2026-07-04 05:27: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'), 47860, 'SRID=4674;POINT (-39.817826 -2.92932)', '2026-07-04 05:28:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.929348)'), GeomFromEWKT('SRID=4674;POINT (-39.817826 -2.92932)'))) / (select extract(epoch from '2026-07-04 05:28:12'::timestamp) - extract(epoch from '2026-07-04 05:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.929348)'), GeomFromEWKT('SRID=4674;POINT (-39.817826 -2.92932)'))) / (select extract(epoch from '2026-07-04 05:28:12'::timestamp) - extract(epoch from '2026-07-04 05:28: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'), 47860, 'SRID=4674;POINT (-39.81778 -2.929304)', '2026-07-04 05:28:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817826 -2.92932)'), GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.929304)'))) / (select extract(epoch from '2026-07-04 05:28:20'::timestamp) - extract(epoch from '2026-07-04 05:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817826 -2.92932)'), GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.929304)'))) / (select extract(epoch from '2026-07-04 05:28:20'::timestamp) - extract(epoch from '2026-07-04 05:28: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'), 47860, 'SRID=4674;POINT (-39.817729 -2.929278)', '2026-07-04 05:28:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.929304)'), GeomFromEWKT('SRID=4674;POINT (-39.817729 -2.929278)'))) / (select extract(epoch from '2026-07-04 05:28:29'::timestamp) - extract(epoch from '2026-07-04 05:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.929304)'), GeomFromEWKT('SRID=4674;POINT (-39.817729 -2.929278)'))) / (select extract(epoch from '2026-07-04 05:28:29'::timestamp) - extract(epoch from '2026-07-04 05:28: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'), 47860, 'SRID=4674;POINT (-39.817676 -2.929254)', '2026-07-04 05:28:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817729 -2.929278)'), GeomFromEWKT('SRID=4674;POINT (-39.817676 -2.929254)'))) / (select extract(epoch from '2026-07-04 05:28:39'::timestamp) - extract(epoch from '2026-07-04 05:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817729 -2.929278)'), GeomFromEWKT('SRID=4674;POINT (-39.817676 -2.929254)'))) / (select extract(epoch from '2026-07-04 05:28:39'::timestamp) - extract(epoch from '2026-07-04 05:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817634 -2.929227)', '2026-07-04 05:28:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817676 -2.929254)'), GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.929227)'))) / (select extract(epoch from '2026-07-04 05:28:47'::timestamp) - extract(epoch from '2026-07-04 05:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817676 -2.929254)'), GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.929227)'))) / (select extract(epoch from '2026-07-04 05:28:47'::timestamp) - extract(epoch from '2026-07-04 05:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817587 -2.929197)', '2026-07-04 05:28:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.929227)'), GeomFromEWKT('SRID=4674;POINT (-39.817587 -2.929197)'))) / (select extract(epoch from '2026-07-04 05:28:56'::timestamp) - extract(epoch from '2026-07-04 05:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817634 -2.929227)'), GeomFromEWKT('SRID=4674;POINT (-39.817587 -2.929197)'))) / (select extract(epoch from '2026-07-04 05:28:56'::timestamp) - extract(epoch from '2026-07-04 05:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817555 -2.929164)', '2026-07-04 05:29:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817587 -2.929197)'), GeomFromEWKT('SRID=4674;POINT (-39.817555 -2.929164)'))) / (select extract(epoch from '2026-07-04 05:29:03'::timestamp) - extract(epoch from '2026-07-04 05:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817587 -2.929197)'), GeomFromEWKT('SRID=4674;POINT (-39.817555 -2.929164)'))) / (select extract(epoch from '2026-07-04 05:29:03'::timestamp) - extract(epoch from '2026-07-04 05:28: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'), 47860, 'SRID=4674;POINT (-39.817493 -2.929109)', '2026-07-04 05:29:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817555 -2.929164)'), GeomFromEWKT('SRID=4674;POINT (-39.817493 -2.929109)'))) / (select extract(epoch from '2026-07-04 05:29:15'::timestamp) - extract(epoch from '2026-07-04 05:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817555 -2.929164)'), GeomFromEWKT('SRID=4674;POINT (-39.817493 -2.929109)'))) / (select extract(epoch from '2026-07-04 05:29:15'::timestamp) - extract(epoch from '2026-07-04 05:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817444 -2.929063)', '2026-07-04 05:29:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817493 -2.929109)'), GeomFromEWKT('SRID=4674;POINT (-39.817444 -2.929063)'))) / (select extract(epoch from '2026-07-04 05:29:25'::timestamp) - extract(epoch from '2026-07-04 05:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817493 -2.929109)'), GeomFromEWKT('SRID=4674;POINT (-39.817444 -2.929063)'))) / (select extract(epoch from '2026-07-04 05:29:25'::timestamp) - extract(epoch from '2026-07-04 05:29: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'), 47860, 'SRID=4674;POINT (-39.817391 -2.929019)', '2026-07-04 05:29:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817444 -2.929063)'), GeomFromEWKT('SRID=4674;POINT (-39.817391 -2.929019)'))) / (select extract(epoch from '2026-07-04 05:29:34'::timestamp) - extract(epoch from '2026-07-04 05:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817444 -2.929063)'), GeomFromEWKT('SRID=4674;POINT (-39.817391 -2.929019)'))) / (select extract(epoch from '2026-07-04 05:29:34'::timestamp) - extract(epoch from '2026-07-04 05:29: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'), 47860, 'SRID=4674;POINT (-39.81731 -2.928948)', '2026-07-04 05:29:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817391 -2.929019)'), GeomFromEWKT('SRID=4674;POINT (-39.81731 -2.928948)'))) / (select extract(epoch from '2026-07-04 05:29:48'::timestamp) - extract(epoch from '2026-07-04 05:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817391 -2.929019)'), GeomFromEWKT('SRID=4674;POINT (-39.81731 -2.928948)'))) / (select extract(epoch from '2026-07-04 05:29:48'::timestamp) - extract(epoch from '2026-07-04 05:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817248 -2.928918)', '2026-07-04 05:29:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81731 -2.928948)'), GeomFromEWKT('SRID=4674;POINT (-39.817248 -2.928918)'))) / (select extract(epoch from '2026-07-04 05:29:58'::timestamp) - extract(epoch from '2026-07-04 05:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81731 -2.928948)'), GeomFromEWKT('SRID=4674;POINT (-39.817248 -2.928918)'))) / (select extract(epoch from '2026-07-04 05:29:58'::timestamp) - extract(epoch from '2026-07-04 05:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817196 -2.928882)', '2026-07-04 05:30:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817248 -2.928918)'), GeomFromEWKT('SRID=4674;POINT (-39.817196 -2.928882)'))) / (select extract(epoch from '2026-07-04 05:30:07'::timestamp) - extract(epoch from '2026-07-04 05:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817248 -2.928918)'), GeomFromEWKT('SRID=4674;POINT (-39.817196 -2.928882)'))) / (select extract(epoch from '2026-07-04 05:30:07'::timestamp) - extract(epoch from '2026-07-04 05:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.817141 -2.928833)', '2026-07-04 05:30:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817196 -2.928882)'), GeomFromEWKT('SRID=4674;POINT (-39.817141 -2.928833)'))) / (select extract(epoch from '2026-07-04 05:30:16'::timestamp) - extract(epoch from '2026-07-04 05:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817196 -2.928882)'), GeomFromEWKT('SRID=4674;POINT (-39.817141 -2.928833)'))) / (select extract(epoch from '2026-07-04 05:30:16'::timestamp) - extract(epoch from '2026-07-04 05:30: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'), 47860, 'SRID=4674;POINT (-39.817097 -2.928798)', '2026-07-04 05:30:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817141 -2.928833)'), GeomFromEWKT('SRID=4674;POINT (-39.817097 -2.928798)'))) / (select extract(epoch from '2026-07-04 05:30:24'::timestamp) - extract(epoch from '2026-07-04 05:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817141 -2.928833)'), GeomFromEWKT('SRID=4674;POINT (-39.817097 -2.928798)'))) / (select extract(epoch from '2026-07-04 05:30:24'::timestamp) - extract(epoch from '2026-07-04 05:30: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'), 47860, 'SRID=4674;POINT (-39.817036 -2.92875)', '2026-07-04 05:30:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817097 -2.928798)'), GeomFromEWKT('SRID=4674;POINT (-39.817036 -2.92875)'))) / (select extract(epoch from '2026-07-04 05:30:34'::timestamp) - extract(epoch from '2026-07-04 05:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817097 -2.928798)'), GeomFromEWKT('SRID=4674;POINT (-39.817036 -2.92875)'))) / (select extract(epoch from '2026-07-04 05:30:34'::timestamp) - extract(epoch from '2026-07-04 05:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816988 -2.928712)', '2026-07-04 05:30:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817036 -2.92875)'), GeomFromEWKT('SRID=4674;POINT (-39.816988 -2.928712)'))) / (select extract(epoch from '2026-07-04 05:30:42'::timestamp) - extract(epoch from '2026-07-04 05:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817036 -2.92875)'), GeomFromEWKT('SRID=4674;POINT (-39.816988 -2.928712)'))) / (select extract(epoch from '2026-07-04 05:30:42'::timestamp) - extract(epoch from '2026-07-04 05:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816941 -2.928677)', '2026-07-04 05:30:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816988 -2.928712)'), GeomFromEWKT('SRID=4674;POINT (-39.816941 -2.928677)'))) / (select extract(epoch from '2026-07-04 05:30:51'::timestamp) - extract(epoch from '2026-07-04 05:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816988 -2.928712)'), GeomFromEWKT('SRID=4674;POINT (-39.816941 -2.928677)'))) / (select extract(epoch from '2026-07-04 05:30:51'::timestamp) - extract(epoch from '2026-07-04 05:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.8169 -2.928641)', '2026-07-04 05:30:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816941 -2.928677)'), GeomFromEWKT('SRID=4674;POINT (-39.8169 -2.928641)'))) / (select extract(epoch from '2026-07-04 05:30:59'::timestamp) - extract(epoch from '2026-07-04 05:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816941 -2.928677)'), GeomFromEWKT('SRID=4674;POINT (-39.8169 -2.928641)'))) / (select extract(epoch from '2026-07-04 05:30:59'::timestamp) - extract(epoch from '2026-07-04 05:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816859 -2.928605)', '2026-07-04 05:31:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8169 -2.928641)'), GeomFromEWKT('SRID=4674;POINT (-39.816859 -2.928605)'))) / (select extract(epoch from '2026-07-04 05:31:07'::timestamp) - extract(epoch from '2026-07-04 05:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8169 -2.928641)'), GeomFromEWKT('SRID=4674;POINT (-39.816859 -2.928605)'))) / (select extract(epoch from '2026-07-04 05:31:07'::timestamp) - extract(epoch from '2026-07-04 05:30: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'), 47860, 'SRID=4674;POINT (-39.816822 -2.928573)', '2026-07-04 05:31:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816859 -2.928605)'), GeomFromEWKT('SRID=4674;POINT (-39.816822 -2.928573)'))) / (select extract(epoch from '2026-07-04 05:31:15'::timestamp) - extract(epoch from '2026-07-04 05:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816859 -2.928605)'), GeomFromEWKT('SRID=4674;POINT (-39.816822 -2.928573)'))) / (select extract(epoch from '2026-07-04 05:31:15'::timestamp) - extract(epoch from '2026-07-04 05:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816771 -2.928537)', '2026-07-04 05:31:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816822 -2.928573)'), GeomFromEWKT('SRID=4674;POINT (-39.816771 -2.928537)'))) / (select extract(epoch from '2026-07-04 05:31:23'::timestamp) - extract(epoch from '2026-07-04 05:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816822 -2.928573)'), GeomFromEWKT('SRID=4674;POINT (-39.816771 -2.928537)'))) / (select extract(epoch from '2026-07-04 05:31:23'::timestamp) - extract(epoch from '2026-07-04 05:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816737 -2.928519)', '2026-07-04 05:31:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816771 -2.928537)'), GeomFromEWKT('SRID=4674;POINT (-39.816737 -2.928519)'))) / (select extract(epoch from '2026-07-04 05:31:28'::timestamp) - extract(epoch from '2026-07-04 05:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816771 -2.928537)'), GeomFromEWKT('SRID=4674;POINT (-39.816737 -2.928519)'))) / (select extract(epoch from '2026-07-04 05:31:28'::timestamp) - extract(epoch from '2026-07-04 05:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816731 -2.928518)', '2026-07-04 05:31:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816737 -2.928519)'), GeomFromEWKT('SRID=4674;POINT (-39.816731 -2.928518)'))) / (select extract(epoch from '2026-07-04 05:31:29'::timestamp) - extract(epoch from '2026-07-04 05:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816737 -2.928519)'), GeomFromEWKT('SRID=4674;POINT (-39.816731 -2.928518)'))) / (select extract(epoch from '2026-07-04 05:31:29'::timestamp) - extract(epoch from '2026-07-04 05:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816701 -2.928499)', '2026-07-04 05:31:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816731 -2.928518)'), GeomFromEWKT('SRID=4674;POINT (-39.816701 -2.928499)'))) / (select extract(epoch from '2026-07-04 05:31:33'::timestamp) - extract(epoch from '2026-07-04 05:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816731 -2.928518)'), GeomFromEWKT('SRID=4674;POINT (-39.816701 -2.928499)'))) / (select extract(epoch from '2026-07-04 05:31:33'::timestamp) - extract(epoch from '2026-07-04 05:31: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'), 47860, 'SRID=4674;POINT (-39.816684 -2.928493)', '2026-07-04 05:31:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816701 -2.928499)'), GeomFromEWKT('SRID=4674;POINT (-39.816684 -2.928493)'))) / (select extract(epoch from '2026-07-04 05:31:35'::timestamp) - extract(epoch from '2026-07-04 05:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816701 -2.928499)'), GeomFromEWKT('SRID=4674;POINT (-39.816684 -2.928493)'))) / (select extract(epoch from '2026-07-04 05:31:35'::timestamp) - extract(epoch from '2026-07-04 05:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816627 -2.928457)', '2026-07-04 05:31:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816684 -2.928493)'), GeomFromEWKT('SRID=4674;POINT (-39.816627 -2.928457)'))) / (select extract(epoch from '2026-07-04 05:31:43'::timestamp) - extract(epoch from '2026-07-04 05:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816684 -2.928493)'), GeomFromEWKT('SRID=4674;POINT (-39.816627 -2.928457)'))) / (select extract(epoch from '2026-07-04 05:31:43'::timestamp) - extract(epoch from '2026-07-04 05:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816566 -2.928413)', '2026-07-04 05:31:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816627 -2.928457)'), GeomFromEWKT('SRID=4674;POINT (-39.816566 -2.928413)'))) / (select extract(epoch from '2026-07-04 05:31:53'::timestamp) - extract(epoch from '2026-07-04 05:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816627 -2.928457)'), GeomFromEWKT('SRID=4674;POINT (-39.816566 -2.928413)'))) / (select extract(epoch from '2026-07-04 05:31:53'::timestamp) - extract(epoch from '2026-07-04 05:31: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'), 47860, 'SRID=4674;POINT (-39.816476 -2.928333)', '2026-07-04 05:32:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816566 -2.928413)'), GeomFromEWKT('SRID=4674;POINT (-39.816476 -2.928333)'))) / (select extract(epoch from '2026-07-04 05:32:09'::timestamp) - extract(epoch from '2026-07-04 05:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816566 -2.928413)'), GeomFromEWKT('SRID=4674;POINT (-39.816476 -2.928333)'))) / (select extract(epoch from '2026-07-04 05:32:09'::timestamp) - extract(epoch from '2026-07-04 05:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816414 -2.928281)', '2026-07-04 05:32:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816476 -2.928333)'), GeomFromEWKT('SRID=4674;POINT (-39.816414 -2.928281)'))) / (select extract(epoch from '2026-07-04 05:32:20'::timestamp) - extract(epoch from '2026-07-04 05:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816476 -2.928333)'), GeomFromEWKT('SRID=4674;POINT (-39.816414 -2.928281)'))) / (select extract(epoch from '2026-07-04 05:32:20'::timestamp) - extract(epoch from '2026-07-04 05:32: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'), 47860, 'SRID=4674;POINT (-39.81636 -2.928212)', '2026-07-04 05:32:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816414 -2.928281)'), GeomFromEWKT('SRID=4674;POINT (-39.81636 -2.928212)'))) / (select extract(epoch from '2026-07-04 05:32:32'::timestamp) - extract(epoch from '2026-07-04 05:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816414 -2.928281)'), GeomFromEWKT('SRID=4674;POINT (-39.81636 -2.928212)'))) / (select extract(epoch from '2026-07-04 05:32:32'::timestamp) - extract(epoch from '2026-07-04 05:32: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'), 47860, 'SRID=4674;POINT (-39.816304 -2.928157)', '2026-07-04 05:32:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81636 -2.928212)'), GeomFromEWKT('SRID=4674;POINT (-39.816304 -2.928157)'))) / (select extract(epoch from '2026-07-04 05:32:42'::timestamp) - extract(epoch from '2026-07-04 05:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81636 -2.928212)'), GeomFromEWKT('SRID=4674;POINT (-39.816304 -2.928157)'))) / (select extract(epoch from '2026-07-04 05:32:42'::timestamp) - extract(epoch from '2026-07-04 05:32: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'), 47860, 'SRID=4674;POINT (-39.816262 -2.92812)', '2026-07-04 05:32:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816304 -2.928157)'), GeomFromEWKT('SRID=4674;POINT (-39.816262 -2.92812)'))) / (select extract(epoch from '2026-07-04 05:32:50'::timestamp) - extract(epoch from '2026-07-04 05:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816304 -2.928157)'), GeomFromEWKT('SRID=4674;POINT (-39.816262 -2.92812)'))) / (select extract(epoch from '2026-07-04 05:32:50'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.816225 -2.928079)', '2026-07-04 05:32:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816262 -2.92812)'), GeomFromEWKT('SRID=4674;POINT (-39.816225 -2.928079)'))) / (select extract(epoch from '2026-07-04 05:32:59'::timestamp) - extract(epoch from '2026-07-04 05:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816262 -2.92812)'), GeomFromEWKT('SRID=4674;POINT (-39.816225 -2.928079)'))) / (select extract(epoch from '2026-07-04 05:32:59'::timestamp) - extract(epoch from '2026-07-04 05:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816191 -2.928039)', '2026-07-04 05:33:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816225 -2.928079)'), GeomFromEWKT('SRID=4674;POINT (-39.816191 -2.928039)'))) / (select extract(epoch from '2026-07-04 05:33:08'::timestamp) - extract(epoch from '2026-07-04 05:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816225 -2.928079)'), GeomFromEWKT('SRID=4674;POINT (-39.816191 -2.928039)'))) / (select extract(epoch from '2026-07-04 05:33:08'::timestamp) - extract(epoch from '2026-07-04 05:32: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'), 47860, 'SRID=4674;POINT (-39.816143 -2.927976)', '2026-07-04 05:33:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816191 -2.928039)'), GeomFromEWKT('SRID=4674;POINT (-39.816143 -2.927976)'))) / (select extract(epoch from '2026-07-04 05:33:21'::timestamp) - extract(epoch from '2026-07-04 05:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816191 -2.928039)'), GeomFromEWKT('SRID=4674;POINT (-39.816143 -2.927976)'))) / (select extract(epoch from '2026-07-04 05:33:21'::timestamp) - extract(epoch from '2026-07-04 05:33: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'), 47860, 'SRID=4674;POINT (-39.816091 -2.927919)', '2026-07-04 05:33:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816143 -2.927976)'), GeomFromEWKT('SRID=4674;POINT (-39.816091 -2.927919)'))) / (select extract(epoch from '2026-07-04 05:33:33'::timestamp) - extract(epoch from '2026-07-04 05:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816143 -2.927976)'), GeomFromEWKT('SRID=4674;POINT (-39.816091 -2.927919)'))) / (select extract(epoch from '2026-07-04 05:33:33'::timestamp) - extract(epoch from '2026-07-04 05:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.816029 -2.927856)', '2026-07-04 05:33:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816091 -2.927919)'), GeomFromEWKT('SRID=4674;POINT (-39.816029 -2.927856)'))) / (select extract(epoch from '2026-07-04 05:33:46'::timestamp) - extract(epoch from '2026-07-04 05:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816091 -2.927919)'), GeomFromEWKT('SRID=4674;POINT (-39.816029 -2.927856)'))) / (select extract(epoch from '2026-07-04 05:33:46'::timestamp) - extract(epoch from '2026-07-04 05:33: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'), 47860, 'SRID=4674;POINT (-39.815973 -2.927806)', '2026-07-04 05:33:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816029 -2.927856)'), GeomFromEWKT('SRID=4674;POINT (-39.815973 -2.927806)'))) / (select extract(epoch from '2026-07-04 05:33:57'::timestamp) - extract(epoch from '2026-07-04 05:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.816029 -2.927856)'), GeomFromEWKT('SRID=4674;POINT (-39.815973 -2.927806)'))) / (select extract(epoch from '2026-07-04 05:33:57'::timestamp) - extract(epoch from '2026-07-04 05:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.81593 -2.927769)', '2026-07-04 05:34:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815973 -2.927806)'), GeomFromEWKT('SRID=4674;POINT (-39.81593 -2.927769)'))) / (select extract(epoch from '2026-07-04 05:34:07'::timestamp) - extract(epoch from '2026-07-04 05:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815973 -2.927806)'), GeomFromEWKT('SRID=4674;POINT (-39.81593 -2.927769)'))) / (select extract(epoch from '2026-07-04 05:34:07'::timestamp) - extract(epoch from '2026-07-04 05:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.815894 -2.92775)', '2026-07-04 05:34:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81593 -2.927769)'), GeomFromEWKT('SRID=4674;POINT (-39.815894 -2.92775)'))) / (select extract(epoch from '2026-07-04 05:34:15'::timestamp) - extract(epoch from '2026-07-04 05:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81593 -2.927769)'), GeomFromEWKT('SRID=4674;POINT (-39.815894 -2.92775)'))) / (select extract(epoch from '2026-07-04 05:34:15'::timestamp) - extract(epoch from '2026-07-04 05:34: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'), 47860, 'SRID=4674;POINT (-39.815823 -2.927713)', '2026-07-04 05:34:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815894 -2.92775)'), GeomFromEWKT('SRID=4674;POINT (-39.815823 -2.927713)'))) / (select extract(epoch from '2026-07-04 05:34:29'::timestamp) - extract(epoch from '2026-07-04 05:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815894 -2.92775)'), GeomFromEWKT('SRID=4674;POINT (-39.815823 -2.927713)'))) / (select extract(epoch from '2026-07-04 05:34:29'::timestamp) - extract(epoch from '2026-07-04 05:34: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'), 47860, 'SRID=4674;POINT (-39.81575 -2.927673)', '2026-07-04 05:34:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815823 -2.927713)'), GeomFromEWKT('SRID=4674;POINT (-39.81575 -2.927673)'))) / (select extract(epoch from '2026-07-04 05:34:41'::timestamp) - extract(epoch from '2026-07-04 05:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815823 -2.927713)'), GeomFromEWKT('SRID=4674;POINT (-39.81575 -2.927673)'))) / (select extract(epoch from '2026-07-04 05:34:41'::timestamp) - extract(epoch from '2026-07-04 05:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.815676 -2.927624)', '2026-07-04 05:34:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81575 -2.927673)'), GeomFromEWKT('SRID=4674;POINT (-39.815676 -2.927624)'))) / (select extract(epoch from '2026-07-04 05:34:54'::timestamp) - extract(epoch from '2026-07-04 05:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81575 -2.927673)'), GeomFromEWKT('SRID=4674;POINT (-39.815676 -2.927624)'))) / (select extract(epoch from '2026-07-04 05:34:54'::timestamp) - extract(epoch from '2026-07-04 05:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.815605 -2.927586)', '2026-07-04 05:35:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815676 -2.927624)'), GeomFromEWKT('SRID=4674;POINT (-39.815605 -2.927586)'))) / (select extract(epoch from '2026-07-04 05:35:05'::timestamp) - extract(epoch from '2026-07-04 05:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815676 -2.927624)'), GeomFromEWKT('SRID=4674;POINT (-39.815605 -2.927586)'))) / (select extract(epoch from '2026-07-04 05:35:05'::timestamp) - extract(epoch from '2026-07-04 05:34: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'), 47860, 'SRID=4674;POINT (-39.81553 -2.927544)', '2026-07-04 05:35:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815605 -2.927586)'), GeomFromEWKT('SRID=4674;POINT (-39.81553 -2.927544)'))) / (select extract(epoch from '2026-07-04 05:35:17'::timestamp) - extract(epoch from '2026-07-04 05:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815605 -2.927586)'), GeomFromEWKT('SRID=4674;POINT (-39.81553 -2.927544)'))) / (select extract(epoch from '2026-07-04 05:35:17'::timestamp) - extract(epoch from '2026-07-04 05:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.815479 -2.927513)', '2026-07-04 05:35:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81553 -2.927544)'), GeomFromEWKT('SRID=4674;POINT (-39.815479 -2.927513)'))) / (select extract(epoch from '2026-07-04 05:35:27'::timestamp) - extract(epoch from '2026-07-04 05:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81553 -2.927544)'), GeomFromEWKT('SRID=4674;POINT (-39.815479 -2.927513)'))) / (select extract(epoch from '2026-07-04 05:35:27'::timestamp) - extract(epoch from '2026-07-04 05:35: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'), 47860, 'SRID=4674;POINT (-39.815421 -2.927475)', '2026-07-04 05:35:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815479 -2.927513)'), GeomFromEWKT('SRID=4674;POINT (-39.815421 -2.927475)'))) / (select extract(epoch from '2026-07-04 05:35:38'::timestamp) - extract(epoch from '2026-07-04 05:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815479 -2.927513)'), GeomFromEWKT('SRID=4674;POINT (-39.815421 -2.927475)'))) / (select extract(epoch from '2026-07-04 05:35:38'::timestamp) - extract(epoch from '2026-07-04 05:35: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'), 47860, 'SRID=4674;POINT (-39.815358 -2.927435)', '2026-07-04 05:35:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815421 -2.927475)'), GeomFromEWKT('SRID=4674;POINT (-39.815358 -2.927435)'))) / (select extract(epoch from '2026-07-04 05:35:49'::timestamp) - extract(epoch from '2026-07-04 05:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815421 -2.927475)'), GeomFromEWKT('SRID=4674;POINT (-39.815358 -2.927435)'))) / (select extract(epoch from '2026-07-04 05:35:49'::timestamp) - extract(epoch from '2026-07-04 05:35: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'), 47860, 'SRID=4674;POINT (-39.815276 -2.927379)', '2026-07-04 05:36:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815358 -2.927435)'), GeomFromEWKT('SRID=4674;POINT (-39.815276 -2.927379)'))) / (select extract(epoch from '2026-07-04 05:36:04'::timestamp) - extract(epoch from '2026-07-04 05:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815358 -2.927435)'), GeomFromEWKT('SRID=4674;POINT (-39.815276 -2.927379)'))) / (select extract(epoch from '2026-07-04 05:36:04'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.815252 -2.927366)', '2026-07-04 05:36:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815276 -2.927379)'), GeomFromEWKT('SRID=4674;POINT (-39.815252 -2.927366)'))) / (select extract(epoch from '2026-07-04 05:36:09'::timestamp) - extract(epoch from '2026-07-04 05:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815276 -2.927379)'), GeomFromEWKT('SRID=4674;POINT (-39.815252 -2.927366)'))) / (select extract(epoch from '2026-07-04 05:36:09'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.815197 -2.927315)', '2026-07-04 05:36:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815252 -2.927366)'), GeomFromEWKT('SRID=4674;POINT (-39.815197 -2.927315)'))) / (select extract(epoch from '2026-07-04 05:36:23'::timestamp) - extract(epoch from '2026-07-04 05:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815252 -2.927366)'), GeomFromEWKT('SRID=4674;POINT (-39.815197 -2.927315)'))) / (select extract(epoch from '2026-07-04 05:36:23'::timestamp) - extract(epoch from '2026-07-04 05:36: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'), 47860, 'SRID=4674;POINT (-39.815121 -2.927264)', '2026-07-04 05:36:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815197 -2.927315)'), GeomFromEWKT('SRID=4674;POINT (-39.815121 -2.927264)'))) / (select extract(epoch from '2026-07-04 05:36:37'::timestamp) - extract(epoch from '2026-07-04 05:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815197 -2.927315)'), GeomFromEWKT('SRID=4674;POINT (-39.815121 -2.927264)'))) / (select extract(epoch from '2026-07-04 05:36:37'::timestamp) - extract(epoch from '2026-07-04 05:36: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'), 47860, 'SRID=4674;POINT (-39.815063 -2.927237)', '2026-07-04 05:36:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815121 -2.927264)'), GeomFromEWKT('SRID=4674;POINT (-39.815063 -2.927237)'))) / (select extract(epoch from '2026-07-04 05:36:47'::timestamp) - extract(epoch from '2026-07-04 05:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815121 -2.927264)'), GeomFromEWKT('SRID=4674;POINT (-39.815063 -2.927237)'))) / (select extract(epoch from '2026-07-04 05:36:47'::timestamp) - extract(epoch from '2026-07-04 05:36: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'), 47860, 'SRID=4674;POINT (-39.814982 -2.927197)', '2026-07-04 05:36:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815063 -2.927237)'), GeomFromEWKT('SRID=4674;POINT (-39.814982 -2.927197)'))) / (select extract(epoch from '2026-07-04 05:36:59'::timestamp) - extract(epoch from '2026-07-04 05:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815063 -2.927237)'), GeomFromEWKT('SRID=4674;POINT (-39.814982 -2.927197)'))) / (select extract(epoch from '2026-07-04 05:36:59'::timestamp) - extract(epoch from '2026-07-04 05:36: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'), 47860, 'SRID=4674;POINT (-39.814933 -2.927184)', '2026-07-04 05:37:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814982 -2.927197)'), GeomFromEWKT('SRID=4674;POINT (-39.814933 -2.927184)'))) / (select extract(epoch from '2026-07-04 05:37:06'::timestamp) - extract(epoch from '2026-07-04 05:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814982 -2.927197)'), GeomFromEWKT('SRID=4674;POINT (-39.814933 -2.927184)'))) / (select extract(epoch from '2026-07-04 05:37:06'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.814882 -2.927167)', '2026-07-04 05:37:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814933 -2.927184)'), GeomFromEWKT('SRID=4674;POINT (-39.814882 -2.927167)'))) / (select extract(epoch from '2026-07-04 05:37:14'::timestamp) - extract(epoch from '2026-07-04 05:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814933 -2.927184)'), GeomFromEWKT('SRID=4674;POINT (-39.814882 -2.927167)'))) / (select extract(epoch from '2026-07-04 05:37:14'::timestamp) - extract(epoch from '2026-07-04 05:37: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'), 47860, 'SRID=4674;POINT (-39.814833 -2.92715)', '2026-07-04 05:37:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814882 -2.927167)'), GeomFromEWKT('SRID=4674;POINT (-39.814833 -2.92715)'))) / (select extract(epoch from '2026-07-04 05:37:21'::timestamp) - extract(epoch from '2026-07-04 05:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814882 -2.927167)'), GeomFromEWKT('SRID=4674;POINT (-39.814833 -2.92715)'))) / (select extract(epoch from '2026-07-04 05:37:21'::timestamp) - extract(epoch from '2026-07-04 05:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.814796 -2.927138)', '2026-07-04 05:37:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814833 -2.92715)'), GeomFromEWKT('SRID=4674;POINT (-39.814796 -2.927138)'))) / (select extract(epoch from '2026-07-04 05:37:27'::timestamp) - extract(epoch from '2026-07-04 05:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814833 -2.92715)'), GeomFromEWKT('SRID=4674;POINT (-39.814796 -2.927138)'))) / (select extract(epoch from '2026-07-04 05:37:27'::timestamp) - extract(epoch from '2026-07-04 05:37: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'), 47860, 'SRID=4674;POINT (-39.814749 -2.927116)', '2026-07-04 05:37:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814796 -2.927138)'), GeomFromEWKT('SRID=4674;POINT (-39.814749 -2.927116)'))) / (select extract(epoch from '2026-07-04 05:37:34'::timestamp) - extract(epoch from '2026-07-04 05:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814796 -2.927138)'), GeomFromEWKT('SRID=4674;POINT (-39.814749 -2.927116)'))) / (select extract(epoch from '2026-07-04 05:37:34'::timestamp) - extract(epoch from '2026-07-04 05:37: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'), 47860, 'SRID=4674;POINT (-39.814668 -2.927061)', '2026-07-04 05:37:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814749 -2.927116)'), GeomFromEWKT('SRID=4674;POINT (-39.814668 -2.927061)'))) / (select extract(epoch from '2026-07-04 05:37:48'::timestamp) - extract(epoch from '2026-07-04 05:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814749 -2.927116)'), GeomFromEWKT('SRID=4674;POINT (-39.814668 -2.927061)'))) / (select extract(epoch from '2026-07-04 05:37:48'::timestamp) - extract(epoch from '2026-07-04 05:37: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'), 47860, 'SRID=4674;POINT (-39.814594 -2.92702)', '2026-07-04 05:37:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814668 -2.927061)'), GeomFromEWKT('SRID=4674;POINT (-39.814594 -2.92702)'))) / (select extract(epoch from '2026-07-04 05:37:57'::timestamp) - extract(epoch from '2026-07-04 05:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814668 -2.927061)'), GeomFromEWKT('SRID=4674;POINT (-39.814594 -2.92702)'))) / (select extract(epoch from '2026-07-04 05:37:57'::timestamp) - extract(epoch from '2026-07-04 05:37: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'), 47860, 'SRID=4674;POINT (-39.81454 -2.926992)', '2026-07-04 05:38:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814594 -2.92702)'), GeomFromEWKT('SRID=4674;POINT (-39.81454 -2.926992)'))) / (select extract(epoch from '2026-07-04 05:38:04'::timestamp) - extract(epoch from '2026-07-04 05:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814594 -2.92702)'), GeomFromEWKT('SRID=4674;POINT (-39.81454 -2.926992)'))) / (select extract(epoch from '2026-07-04 05:38:04'::timestamp) - extract(epoch from '2026-07-04 05:37: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'), 47860, 'SRID=4674;POINT (-39.814492 -2.926965)', '2026-07-04 05:38:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81454 -2.926992)'), GeomFromEWKT('SRID=4674;POINT (-39.814492 -2.926965)'))) / (select extract(epoch from '2026-07-04 05:38:12'::timestamp) - extract(epoch from '2026-07-04 05:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81454 -2.926992)'), GeomFromEWKT('SRID=4674;POINT (-39.814492 -2.926965)'))) / (select extract(epoch from '2026-07-04 05:38:12'::timestamp) - extract(epoch from '2026-07-04 05:38: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'), 47860, 'SRID=4674;POINT (-39.814434 -2.926923)', '2026-07-04 05:38:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814492 -2.926965)'), GeomFromEWKT('SRID=4674;POINT (-39.814434 -2.926923)'))) / (select extract(epoch from '2026-07-04 05:38:22'::timestamp) - extract(epoch from '2026-07-04 05:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814492 -2.926965)'), GeomFromEWKT('SRID=4674;POINT (-39.814434 -2.926923)'))) / (select extract(epoch from '2026-07-04 05:38:22'::timestamp) - extract(epoch from '2026-07-04 05:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.814337 -2.926865)', '2026-07-04 05:38:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814434 -2.926923)'), GeomFromEWKT('SRID=4674;POINT (-39.814337 -2.926865)'))) / (select extract(epoch from '2026-07-04 05:38:36'::timestamp) - extract(epoch from '2026-07-04 05:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814434 -2.926923)'), GeomFromEWKT('SRID=4674;POINT (-39.814337 -2.926865)'))) / (select extract(epoch from '2026-07-04 05:38:36'::timestamp) - extract(epoch from '2026-07-04 05:38: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'), 47860, 'SRID=4674;POINT (-39.814275 -2.926827)', '2026-07-04 05:38:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814337 -2.926865)'), GeomFromEWKT('SRID=4674;POINT (-39.814275 -2.926827)'))) / (select extract(epoch from '2026-07-04 05:38:45'::timestamp) - extract(epoch from '2026-07-04 05:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814337 -2.926865)'), GeomFromEWKT('SRID=4674;POINT (-39.814275 -2.926827)'))) / (select extract(epoch from '2026-07-04 05:38:45'::timestamp) - extract(epoch from '2026-07-04 05:38: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'), 47860, 'SRID=4674;POINT (-39.814201 -2.926774)', '2026-07-04 05:38:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814275 -2.926827)'), GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.926774)'))) / (select extract(epoch from '2026-07-04 05:38:57'::timestamp) - extract(epoch from '2026-07-04 05:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814275 -2.926827)'), GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.926774)'))) / (select extract(epoch from '2026-07-04 05:38:57'::timestamp) - extract(epoch from '2026-07-04 05:38: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'), 47860, 'SRID=4674;POINT (-39.814153 -2.926747)', '2026-07-04 05:39:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.926774)'), GeomFromEWKT('SRID=4674;POINT (-39.814153 -2.926747)'))) / (select extract(epoch from '2026-07-04 05:39:04'::timestamp) - extract(epoch from '2026-07-04 05:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.926774)'), GeomFromEWKT('SRID=4674;POINT (-39.814153 -2.926747)'))) / (select extract(epoch from '2026-07-04 05:39:04'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.814085 -2.926701)', '2026-07-04 05:39:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814153 -2.926747)'), GeomFromEWKT('SRID=4674;POINT (-39.814085 -2.926701)'))) / (select extract(epoch from '2026-07-04 05:39:15'::timestamp) - extract(epoch from '2026-07-04 05:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814153 -2.926747)'), GeomFromEWKT('SRID=4674;POINT (-39.814085 -2.926701)'))) / (select extract(epoch from '2026-07-04 05:39:15'::timestamp) - extract(epoch from '2026-07-04 05:39: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'), 47860, 'SRID=4674;POINT (-39.814008 -2.926649)', '2026-07-04 05:39:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814085 -2.926701)'), GeomFromEWKT('SRID=4674;POINT (-39.814008 -2.926649)'))) / (select extract(epoch from '2026-07-04 05:39:29'::timestamp) - extract(epoch from '2026-07-04 05:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814085 -2.926701)'), GeomFromEWKT('SRID=4674;POINT (-39.814008 -2.926649)'))) / (select extract(epoch from '2026-07-04 05:39:29'::timestamp) - extract(epoch from '2026-07-04 05:39: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'), 47860, 'SRID=4674;POINT (-39.813951 -2.926605)', '2026-07-04 05:39:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814008 -2.926649)'), GeomFromEWKT('SRID=4674;POINT (-39.813951 -2.926605)'))) / (select extract(epoch from '2026-07-04 05:39:40'::timestamp) - extract(epoch from '2026-07-04 05:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814008 -2.926649)'), GeomFromEWKT('SRID=4674;POINT (-39.813951 -2.926605)'))) / (select extract(epoch from '2026-07-04 05:39:40'::timestamp) - extract(epoch from '2026-07-04 05:39: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'), 47860, 'SRID=4674;POINT (-39.8139 -2.926572)', '2026-07-04 05:39:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813951 -2.926605)'), GeomFromEWKT('SRID=4674;POINT (-39.8139 -2.926572)'))) / (select extract(epoch from '2026-07-04 05:39:49'::timestamp) - extract(epoch from '2026-07-04 05:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813951 -2.926605)'), GeomFromEWKT('SRID=4674;POINT (-39.8139 -2.926572)'))) / (select extract(epoch from '2026-07-04 05:39:49'::timestamp) - extract(epoch from '2026-07-04 05:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.813799 -2.926509)', '2026-07-04 05:40:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8139 -2.926572)'), GeomFromEWKT('SRID=4674;POINT (-39.813799 -2.926509)'))) / (select extract(epoch from '2026-07-04 05:40:03'::timestamp) - extract(epoch from '2026-07-04 05:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8139 -2.926572)'), GeomFromEWKT('SRID=4674;POINT (-39.813799 -2.926509)'))) / (select extract(epoch from '2026-07-04 05:40:03'::timestamp) - extract(epoch from '2026-07-04 05:39: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'), 47860, 'SRID=4674;POINT (-39.813742 -2.926471)', '2026-07-04 05:40:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813799 -2.926509)'), GeomFromEWKT('SRID=4674;POINT (-39.813742 -2.926471)'))) / (select extract(epoch from '2026-07-04 05:40:11'::timestamp) - extract(epoch from '2026-07-04 05:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813799 -2.926509)'), GeomFromEWKT('SRID=4674;POINT (-39.813742 -2.926471)'))) / (select extract(epoch from '2026-07-04 05:40:11'::timestamp) - extract(epoch from '2026-07-04 05:40: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'), 47860, 'SRID=4674;POINT (-39.813683 -2.926425)', '2026-07-04 05:40:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813742 -2.926471)'), GeomFromEWKT('SRID=4674;POINT (-39.813683 -2.926425)'))) / (select extract(epoch from '2026-07-04 05:40:21'::timestamp) - extract(epoch from '2026-07-04 05:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813742 -2.926471)'), GeomFromEWKT('SRID=4674;POINT (-39.813683 -2.926425)'))) / (select extract(epoch from '2026-07-04 05:40:21'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.813605 -2.926377)', '2026-07-04 05:40:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813683 -2.926425)'), GeomFromEWKT('SRID=4674;POINT (-39.813605 -2.926377)'))) / (select extract(epoch from '2026-07-04 05:40:32'::timestamp) - extract(epoch from '2026-07-04 05:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813683 -2.926425)'), GeomFromEWKT('SRID=4674;POINT (-39.813605 -2.926377)'))) / (select extract(epoch from '2026-07-04 05:40:32'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.813549 -2.926342)', '2026-07-04 05:40:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813605 -2.926377)'), GeomFromEWKT('SRID=4674;POINT (-39.813549 -2.926342)'))) / (select extract(epoch from '2026-07-04 05:40:40'::timestamp) - extract(epoch from '2026-07-04 05:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813605 -2.926377)'), GeomFromEWKT('SRID=4674;POINT (-39.813549 -2.926342)'))) / (select extract(epoch from '2026-07-04 05:40:40'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.813502 -2.9263)', '2026-07-04 05:40:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813549 -2.926342)'), GeomFromEWKT('SRID=4674;POINT (-39.813502 -2.9263)'))) / (select extract(epoch from '2026-07-04 05:40:47'::timestamp) - extract(epoch from '2026-07-04 05:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813549 -2.926342)'), GeomFromEWKT('SRID=4674;POINT (-39.813502 -2.9263)'))) / (select extract(epoch from '2026-07-04 05:40:47'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.813444 -2.926251)', '2026-07-04 05:40:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813502 -2.9263)'), GeomFromEWKT('SRID=4674;POINT (-39.813444 -2.926251)'))) / (select extract(epoch from '2026-07-04 05:40:56'::timestamp) - extract(epoch from '2026-07-04 05:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813502 -2.9263)'), GeomFromEWKT('SRID=4674;POINT (-39.813444 -2.926251)'))) / (select extract(epoch from '2026-07-04 05:40:56'::timestamp) - extract(epoch from '2026-07-04 05:40: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'), 47860, 'SRID=4674;POINT (-39.813385 -2.926206)', '2026-07-04 05:41:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813444 -2.926251)'), GeomFromEWKT('SRID=4674;POINT (-39.813385 -2.926206)'))) / (select extract(epoch from '2026-07-04 05:41:06'::timestamp) - extract(epoch from '2026-07-04 05:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813444 -2.926251)'), GeomFromEWKT('SRID=4674;POINT (-39.813385 -2.926206)'))) / (select extract(epoch from '2026-07-04 05:41:06'::timestamp) - extract(epoch from '2026-07-04 05:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.813331 -2.926173)', '2026-07-04 05:41:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813385 -2.926206)'), GeomFromEWKT('SRID=4674;POINT (-39.813331 -2.926173)'))) / (select extract(epoch from '2026-07-04 05:41:15'::timestamp) - extract(epoch from '2026-07-04 05:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813385 -2.926206)'), GeomFromEWKT('SRID=4674;POINT (-39.813331 -2.926173)'))) / (select extract(epoch from '2026-07-04 05:41:15'::timestamp) - extract(epoch from '2026-07-04 05:41: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'), 47860, 'SRID=4674;POINT (-39.813255 -2.926138)', '2026-07-04 05:41:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813331 -2.926173)'), GeomFromEWKT('SRID=4674;POINT (-39.813255 -2.926138)'))) / (select extract(epoch from '2026-07-04 05:41:27'::timestamp) - extract(epoch from '2026-07-04 05:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813331 -2.926173)'), GeomFromEWKT('SRID=4674;POINT (-39.813255 -2.926138)'))) / (select extract(epoch from '2026-07-04 05:41:27'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.813198 -2.926099)', '2026-07-04 05:41:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813255 -2.926138)'), GeomFromEWKT('SRID=4674;POINT (-39.813198 -2.926099)'))) / (select extract(epoch from '2026-07-04 05:41:37'::timestamp) - extract(epoch from '2026-07-04 05:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813255 -2.926138)'), GeomFromEWKT('SRID=4674;POINT (-39.813198 -2.926099)'))) / (select extract(epoch from '2026-07-04 05:41:37'::timestamp) - extract(epoch from '2026-07-04 05:41: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'), 47860, 'SRID=4674;POINT (-39.813132 -2.926059)', '2026-07-04 05:41:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813198 -2.926099)'), GeomFromEWKT('SRID=4674;POINT (-39.813132 -2.926059)'))) / (select extract(epoch from '2026-07-04 05:41:47'::timestamp) - extract(epoch from '2026-07-04 05:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813198 -2.926099)'), GeomFromEWKT('SRID=4674;POINT (-39.813132 -2.926059)'))) / (select extract(epoch from '2026-07-04 05:41:47'::timestamp) - extract(epoch from '2026-07-04 05:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.813072 -2.926016)', '2026-07-04 05:41:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813132 -2.926059)'), GeomFromEWKT('SRID=4674;POINT (-39.813072 -2.926016)'))) / (select extract(epoch from '2026-07-04 05:41:56'::timestamp) - extract(epoch from '2026-07-04 05:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813132 -2.926059)'), GeomFromEWKT('SRID=4674;POINT (-39.813072 -2.926016)'))) / (select extract(epoch from '2026-07-04 05:41:56'::timestamp) - extract(epoch from '2026-07-04 05:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.813017 -2.925981)', '2026-07-04 05:42:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813072 -2.926016)'), GeomFromEWKT('SRID=4674;POINT (-39.813017 -2.925981)'))) / (select extract(epoch from '2026-07-04 05:42:03'::timestamp) - extract(epoch from '2026-07-04 05:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813072 -2.926016)'), GeomFromEWKT('SRID=4674;POINT (-39.813017 -2.925981)'))) / (select extract(epoch from '2026-07-04 05:42:03'::timestamp) - extract(epoch from '2026-07-04 05:41: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'), 47860, 'SRID=4674;POINT (-39.812941 -2.925932)', '2026-07-04 05:42:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813017 -2.925981)'), GeomFromEWKT('SRID=4674;POINT (-39.812941 -2.925932)'))) / (select extract(epoch from '2026-07-04 05:42:13'::timestamp) - extract(epoch from '2026-07-04 05:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813017 -2.925981)'), GeomFromEWKT('SRID=4674;POINT (-39.812941 -2.925932)'))) / (select extract(epoch from '2026-07-04 05:42:13'::timestamp) - extract(epoch from '2026-07-04 05:42: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'), 47860, 'SRID=4674;POINT (-39.812897 -2.92591)', '2026-07-04 05:42:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812941 -2.925932)'), GeomFromEWKT('SRID=4674;POINT (-39.812897 -2.92591)'))) / (select extract(epoch from '2026-07-04 05:42:19'::timestamp) - extract(epoch from '2026-07-04 05:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812941 -2.925932)'), GeomFromEWKT('SRID=4674;POINT (-39.812897 -2.92591)'))) / (select extract(epoch from '2026-07-04 05:42:19'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.812799 -2.925858)', '2026-07-04 05:42:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812897 -2.92591)'), GeomFromEWKT('SRID=4674;POINT (-39.812799 -2.925858)'))) / (select extract(epoch from '2026-07-04 05:42:32'::timestamp) - extract(epoch from '2026-07-04 05:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812897 -2.92591)'), GeomFromEWKT('SRID=4674;POINT (-39.812799 -2.925858)'))) / (select extract(epoch from '2026-07-04 05:42:32'::timestamp) - extract(epoch from '2026-07-04 05:42: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'), 47860, 'SRID=4674;POINT (-39.812751 -2.925828)', '2026-07-04 05:42:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812799 -2.925858)'), GeomFromEWKT('SRID=4674;POINT (-39.812751 -2.925828)'))) / (select extract(epoch from '2026-07-04 05:42:39'::timestamp) - extract(epoch from '2026-07-04 05:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812799 -2.925858)'), GeomFromEWKT('SRID=4674;POINT (-39.812751 -2.925828)'))) / (select extract(epoch from '2026-07-04 05:42:39'::timestamp) - extract(epoch from '2026-07-04 05:42: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'), 47860, 'SRID=4674;POINT (-39.812703 -2.925795)', '2026-07-04 05:42:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812751 -2.925828)'), GeomFromEWKT('SRID=4674;POINT (-39.812703 -2.925795)'))) / (select extract(epoch from '2026-07-04 05:42:47'::timestamp) - extract(epoch from '2026-07-04 05:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812751 -2.925828)'), GeomFromEWKT('SRID=4674;POINT (-39.812703 -2.925795)'))) / (select extract(epoch from '2026-07-04 05:42:47'::timestamp) - extract(epoch from '2026-07-04 05:42: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'), 47860, 'SRID=4674;POINT (-39.812643 -2.925754)', '2026-07-04 05:42:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812703 -2.925795)'), GeomFromEWKT('SRID=4674;POINT (-39.812643 -2.925754)'))) / (select extract(epoch from '2026-07-04 05:42:57'::timestamp) - extract(epoch from '2026-07-04 05:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812703 -2.925795)'), GeomFromEWKT('SRID=4674;POINT (-39.812643 -2.925754)'))) / (select extract(epoch from '2026-07-04 05:42:57'::timestamp) - extract(epoch from '2026-07-04 05:42: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'), 47860, 'SRID=4674;POINT (-39.812581 -2.925712)', '2026-07-04 05:43:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812643 -2.925754)'), GeomFromEWKT('SRID=4674;POINT (-39.812581 -2.925712)'))) / (select extract(epoch from '2026-07-04 05:43:08'::timestamp) - extract(epoch from '2026-07-04 05:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812643 -2.925754)'), GeomFromEWKT('SRID=4674;POINT (-39.812581 -2.925712)'))) / (select extract(epoch from '2026-07-04 05:43:08'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.812536 -2.92567)', '2026-07-04 05:43:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812581 -2.925712)'), GeomFromEWKT('SRID=4674;POINT (-39.812536 -2.92567)'))) / (select extract(epoch from '2026-07-04 05:43:18'::timestamp) - extract(epoch from '2026-07-04 05:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812581 -2.925712)'), GeomFromEWKT('SRID=4674;POINT (-39.812536 -2.92567)'))) / (select extract(epoch from '2026-07-04 05:43:18'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.812473 -2.925613)', '2026-07-04 05:43:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812536 -2.92567)'), GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.925613)'))) / (select extract(epoch from '2026-07-04 05:43:31'::timestamp) - extract(epoch from '2026-07-04 05:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812536 -2.92567)'), GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.925613)'))) / (select extract(epoch from '2026-07-04 05:43:31'::timestamp) - extract(epoch from '2026-07-04 05:43: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'), 47860, 'SRID=4674;POINT (-39.812423 -2.925575)', '2026-07-04 05:43:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.925613)'), GeomFromEWKT('SRID=4674;POINT (-39.812423 -2.925575)'))) / (select extract(epoch from '2026-07-04 05:43:40'::timestamp) - extract(epoch from '2026-07-04 05:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.925613)'), GeomFromEWKT('SRID=4674;POINT (-39.812423 -2.925575)'))) / (select extract(epoch from '2026-07-04 05:43:40'::timestamp) - extract(epoch from '2026-07-04 05:43: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'), 47860, 'SRID=4674;POINT (-39.812363 -2.925534)', '2026-07-04 05:43:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812423 -2.925575)'), GeomFromEWKT('SRID=4674;POINT (-39.812363 -2.925534)'))) / (select extract(epoch from '2026-07-04 05:43:51'::timestamp) - extract(epoch from '2026-07-04 05:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812423 -2.925575)'), GeomFromEWKT('SRID=4674;POINT (-39.812363 -2.925534)'))) / (select extract(epoch from '2026-07-04 05:43:51'::timestamp) - extract(epoch from '2026-07-04 05:43: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'), 47860, 'SRID=4674;POINT (-39.812315 -2.925488)', '2026-07-04 05:44:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812363 -2.925534)'), GeomFromEWKT('SRID=4674;POINT (-39.812315 -2.925488)'))) / (select extract(epoch from '2026-07-04 05:44:00'::timestamp) - extract(epoch from '2026-07-04 05:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812363 -2.925534)'), GeomFromEWKT('SRID=4674;POINT (-39.812315 -2.925488)'))) / (select extract(epoch from '2026-07-04 05:44:00'::timestamp) - extract(epoch from '2026-07-04 05:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.812264 -2.925445)', '2026-07-04 05:44:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812315 -2.925488)'), GeomFromEWKT('SRID=4674;POINT (-39.812264 -2.925445)'))) / (select extract(epoch from '2026-07-04 05:44:08'::timestamp) - extract(epoch from '2026-07-04 05:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812315 -2.925488)'), GeomFromEWKT('SRID=4674;POINT (-39.812264 -2.925445)'))) / (select extract(epoch from '2026-07-04 05:44:08'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.812194 -2.925394)', '2026-07-04 05:44:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812264 -2.925445)'), GeomFromEWKT('SRID=4674;POINT (-39.812194 -2.925394)'))) / (select extract(epoch from '2026-07-04 05:44:19'::timestamp) - extract(epoch from '2026-07-04 05:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812264 -2.925445)'), GeomFromEWKT('SRID=4674;POINT (-39.812194 -2.925394)'))) / (select extract(epoch from '2026-07-04 05:44:19'::timestamp) - extract(epoch from '2026-07-04 05:44: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'), 47860, 'SRID=4674;POINT (-39.812154 -2.925357)', '2026-07-04 05:44:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812194 -2.925394)'), GeomFromEWKT('SRID=4674;POINT (-39.812154 -2.925357)'))) / (select extract(epoch from '2026-07-04 05:44:27'::timestamp) - extract(epoch from '2026-07-04 05:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812194 -2.925394)'), GeomFromEWKT('SRID=4674;POINT (-39.812154 -2.925357)'))) / (select extract(epoch from '2026-07-04 05:44:27'::timestamp) - extract(epoch from '2026-07-04 05:44: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'), 47860, 'SRID=4674;POINT (-39.812097 -2.925307)', '2026-07-04 05:44:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812154 -2.925357)'), GeomFromEWKT('SRID=4674;POINT (-39.812097 -2.925307)'))) / (select extract(epoch from '2026-07-04 05:44:38'::timestamp) - extract(epoch from '2026-07-04 05:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812154 -2.925357)'), GeomFromEWKT('SRID=4674;POINT (-39.812097 -2.925307)'))) / (select extract(epoch from '2026-07-04 05:44:38'::timestamp) - extract(epoch from '2026-07-04 05:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.812037 -2.925259)', '2026-07-04 05:44:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812097 -2.925307)'), GeomFromEWKT('SRID=4674;POINT (-39.812037 -2.925259)'))) / (select extract(epoch from '2026-07-04 05:44:49'::timestamp) - extract(epoch from '2026-07-04 05:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812097 -2.925307)'), GeomFromEWKT('SRID=4674;POINT (-39.812037 -2.925259)'))) / (select extract(epoch from '2026-07-04 05:44:49'::timestamp) - extract(epoch from '2026-07-04 05:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.81199 -2.925219)', '2026-07-04 05:44:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812037 -2.925259)'), GeomFromEWKT('SRID=4674;POINT (-39.81199 -2.925219)'))) / (select extract(epoch from '2026-07-04 05:44:57'::timestamp) - extract(epoch from '2026-07-04 05:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812037 -2.925259)'), GeomFromEWKT('SRID=4674;POINT (-39.81199 -2.925219)'))) / (select extract(epoch from '2026-07-04 05:44:57'::timestamp) - extract(epoch from '2026-07-04 05:44: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'), 47860, 'SRID=4674;POINT (-39.81193 -2.925178)', '2026-07-04 05:45:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81199 -2.925219)'), GeomFromEWKT('SRID=4674;POINT (-39.81193 -2.925178)'))) / (select extract(epoch from '2026-07-04 05:45:06'::timestamp) - extract(epoch from '2026-07-04 05:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81199 -2.925219)'), GeomFromEWKT('SRID=4674;POINT (-39.81193 -2.925178)'))) / (select extract(epoch from '2026-07-04 05:45:06'::timestamp) - extract(epoch from '2026-07-04 05:44: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'), 47860, 'SRID=4674;POINT (-39.81185 -2.925112)', '2026-07-04 05:45:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81193 -2.925178)'), GeomFromEWKT('SRID=4674;POINT (-39.81185 -2.925112)'))) / (select extract(epoch from '2026-07-04 05:45:19'::timestamp) - extract(epoch from '2026-07-04 05:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81193 -2.925178)'), GeomFromEWKT('SRID=4674;POINT (-39.81185 -2.925112)'))) / (select extract(epoch from '2026-07-04 05:45:19'::timestamp) - extract(epoch from '2026-07-04 05:45: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'), 47860, 'SRID=4674;POINT (-39.8118 -2.925078)', '2026-07-04 05:45:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81185 -2.925112)'), GeomFromEWKT('SRID=4674;POINT (-39.8118 -2.925078)'))) / (select extract(epoch from '2026-07-04 05:45:27'::timestamp) - extract(epoch from '2026-07-04 05:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81185 -2.925112)'), GeomFromEWKT('SRID=4674;POINT (-39.8118 -2.925078)'))) / (select extract(epoch from '2026-07-04 05:45:27'::timestamp) - extract(epoch from '2026-07-04 05:45: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'), 47860, 'SRID=4674;POINT (-39.811712 -2.925024)', '2026-07-04 05:45:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8118 -2.925078)'), GeomFromEWKT('SRID=4674;POINT (-39.811712 -2.925024)'))) / (select extract(epoch from '2026-07-04 05:45:41'::timestamp) - extract(epoch from '2026-07-04 05:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8118 -2.925078)'), GeomFromEWKT('SRID=4674;POINT (-39.811712 -2.925024)'))) / (select extract(epoch from '2026-07-04 05:45:41'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.811636 -2.924965)', '2026-07-04 05:45:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811712 -2.925024)'), GeomFromEWKT('SRID=4674;POINT (-39.811636 -2.924965)'))) / (select extract(epoch from '2026-07-04 05:45:54'::timestamp) - extract(epoch from '2026-07-04 05:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811712 -2.925024)'), GeomFromEWKT('SRID=4674;POINT (-39.811636 -2.924965)'))) / (select extract(epoch from '2026-07-04 05:45:54'::timestamp) - extract(epoch from '2026-07-04 05:45: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'), 47860, 'SRID=4674;POINT (-39.811576 -2.924913)', '2026-07-04 05:46:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811636 -2.924965)'), GeomFromEWKT('SRID=4674;POINT (-39.811576 -2.924913)'))) / (select extract(epoch from '2026-07-04 05:46:05'::timestamp) - extract(epoch from '2026-07-04 05:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811636 -2.924965)'), GeomFromEWKT('SRID=4674;POINT (-39.811576 -2.924913)'))) / (select extract(epoch from '2026-07-04 05:46:05'::timestamp) - extract(epoch from '2026-07-04 05:45: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'), 47860, 'SRID=4674;POINT (-39.811505 -2.924853)', '2026-07-04 05:46:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811576 -2.924913)'), GeomFromEWKT('SRID=4674;POINT (-39.811505 -2.924853)'))) / (select extract(epoch from '2026-07-04 05:46:19'::timestamp) - extract(epoch from '2026-07-04 05:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811576 -2.924913)'), GeomFromEWKT('SRID=4674;POINT (-39.811505 -2.924853)'))) / (select extract(epoch from '2026-07-04 05:46:19'::timestamp) - extract(epoch from '2026-07-04 05:46: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'), 47860, 'SRID=4674;POINT (-39.811465 -2.924818)', '2026-07-04 05:46:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811505 -2.924853)'), GeomFromEWKT('SRID=4674;POINT (-39.811465 -2.924818)'))) / (select extract(epoch from '2026-07-04 05:46:26'::timestamp) - extract(epoch from '2026-07-04 05:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811505 -2.924853)'), GeomFromEWKT('SRID=4674;POINT (-39.811465 -2.924818)'))) / (select extract(epoch from '2026-07-04 05:46:26'::timestamp) - extract(epoch from '2026-07-04 05:46: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'), 47860, 'SRID=4674;POINT (-39.811428 -2.924775)', '2026-07-04 05:46:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811465 -2.924818)'), GeomFromEWKT('SRID=4674;POINT (-39.811428 -2.924775)'))) / (select extract(epoch from '2026-07-04 05:46:34'::timestamp) - extract(epoch from '2026-07-04 05:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811465 -2.924818)'), GeomFromEWKT('SRID=4674;POINT (-39.811428 -2.924775)'))) / (select extract(epoch from '2026-07-04 05:46:34'::timestamp) - extract(epoch from '2026-07-04 05:46: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'), 47860, 'SRID=4674;POINT (-39.811394 -2.924731)', '2026-07-04 05:46:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811428 -2.924775)'), GeomFromEWKT('SRID=4674;POINT (-39.811394 -2.924731)'))) / (select extract(epoch from '2026-07-04 05:46:42'::timestamp) - extract(epoch from '2026-07-04 05:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811428 -2.924775)'), GeomFromEWKT('SRID=4674;POINT (-39.811394 -2.924731)'))) / (select extract(epoch from '2026-07-04 05:46:42'::timestamp) - extract(epoch from '2026-07-04 05:46: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'), 47860, 'SRID=4674;POINT (-39.811334 -2.924672)', '2026-07-04 05:46:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811394 -2.924731)'), GeomFromEWKT('SRID=4674;POINT (-39.811334 -2.924672)'))) / (select extract(epoch from '2026-07-04 05:46:54'::timestamp) - extract(epoch from '2026-07-04 05:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811394 -2.924731)'), GeomFromEWKT('SRID=4674;POINT (-39.811334 -2.924672)'))) / (select extract(epoch from '2026-07-04 05:46:54'::timestamp) - extract(epoch from '2026-07-04 05:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.811263 -2.924624)', '2026-07-04 05:47:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811334 -2.924672)'), GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.924624)'))) / (select extract(epoch from '2026-07-04 05:47:05'::timestamp) - extract(epoch from '2026-07-04 05:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811334 -2.924672)'), GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.924624)'))) / (select extract(epoch from '2026-07-04 05:47:05'::timestamp) - extract(epoch from '2026-07-04 05:46: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'), 47860, 'SRID=4674;POINT (-39.811202 -2.924574)', '2026-07-04 05:47:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.924624)'), GeomFromEWKT('SRID=4674;POINT (-39.811202 -2.924574)'))) / (select extract(epoch from '2026-07-04 05:47:16'::timestamp) - extract(epoch from '2026-07-04 05:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.924624)'), GeomFromEWKT('SRID=4674;POINT (-39.811202 -2.924574)'))) / (select extract(epoch from '2026-07-04 05:47:16'::timestamp) - extract(epoch from '2026-07-04 05:47: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'), 47860, 'SRID=4674;POINT (-39.811137 -2.92452)', '2026-07-04 05:47:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811202 -2.924574)'), GeomFromEWKT('SRID=4674;POINT (-39.811137 -2.92452)'))) / (select extract(epoch from '2026-07-04 05:47:26'::timestamp) - extract(epoch from '2026-07-04 05:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811202 -2.924574)'), GeomFromEWKT('SRID=4674;POINT (-39.811137 -2.92452)'))) / (select extract(epoch from '2026-07-04 05:47:26'::timestamp) - extract(epoch from '2026-07-04 05:47: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'), 47860, 'SRID=4674;POINT (-39.811131 -2.924514)', '2026-07-04 05:47:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811137 -2.92452)'), GeomFromEWKT('SRID=4674;POINT (-39.811131 -2.924514)'))) / (select extract(epoch from '2026-07-04 05:47:27'::timestamp) - extract(epoch from '2026-07-04 05:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811137 -2.92452)'), GeomFromEWKT('SRID=4674;POINT (-39.811131 -2.924514)'))) / (select extract(epoch from '2026-07-04 05:47:27'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.811092 -2.924481)', '2026-07-04 05:47:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811131 -2.924514)'), GeomFromEWKT('SRID=4674;POINT (-39.811092 -2.924481)'))) / (select extract(epoch from '2026-07-04 05:47:33'::timestamp) - extract(epoch from '2026-07-04 05:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811131 -2.924514)'), GeomFromEWKT('SRID=4674;POINT (-39.811092 -2.924481)'))) / (select extract(epoch from '2026-07-04 05:47:33'::timestamp) - extract(epoch from '2026-07-04 05:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.811043 -2.924441)', '2026-07-04 05:47:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811092 -2.924481)'), GeomFromEWKT('SRID=4674;POINT (-39.811043 -2.924441)'))) / (select extract(epoch from '2026-07-04 05:47:41'::timestamp) - extract(epoch from '2026-07-04 05:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811092 -2.924481)'), GeomFromEWKT('SRID=4674;POINT (-39.811043 -2.924441)'))) / (select extract(epoch from '2026-07-04 05:47:41'::timestamp) - extract(epoch from '2026-07-04 05:47: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'), 47860, 'SRID=4674;POINT (-39.811005 -2.924392)', '2026-07-04 05:47:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811043 -2.924441)'), GeomFromEWKT('SRID=4674;POINT (-39.811005 -2.924392)'))) / (select extract(epoch from '2026-07-04 05:47:49'::timestamp) - extract(epoch from '2026-07-04 05:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811043 -2.924441)'), GeomFromEWKT('SRID=4674;POINT (-39.811005 -2.924392)'))) / (select extract(epoch from '2026-07-04 05:47:49'::timestamp) - extract(epoch from '2026-07-04 05:47: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'), 47860, 'SRID=4674;POINT (-39.811001 -2.924385)', '2026-07-04 05:47:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811005 -2.924392)'), GeomFromEWKT('SRID=4674;POINT (-39.811001 -2.924385)'))) / (select extract(epoch from '2026-07-04 05:47:50'::timestamp) - extract(epoch from '2026-07-04 05:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811005 -2.924392)'), GeomFromEWKT('SRID=4674;POINT (-39.811001 -2.924385)'))) / (select extract(epoch from '2026-07-04 05:47:50'::timestamp) - extract(epoch from '2026-07-04 05:47: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'), 47860, 'SRID=4674;POINT (-39.810972 -2.924347)', '2026-07-04 05:47:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811001 -2.924385)'), GeomFromEWKT('SRID=4674;POINT (-39.810972 -2.924347)'))) / (select extract(epoch from '2026-07-04 05:47:56'::timestamp) - extract(epoch from '2026-07-04 05:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811001 -2.924385)'), GeomFromEWKT('SRID=4674;POINT (-39.810972 -2.924347)'))) / (select extract(epoch from '2026-07-04 05:47:56'::timestamp) - extract(epoch from '2026-07-04 05:47: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'), 47860, 'SRID=4674;POINT (-39.810918 -2.924292)', '2026-07-04 05:48:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810972 -2.924347)'), GeomFromEWKT('SRID=4674;POINT (-39.810918 -2.924292)'))) / (select extract(epoch from '2026-07-04 05:48:05'::timestamp) - extract(epoch from '2026-07-04 05:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810972 -2.924347)'), GeomFromEWKT('SRID=4674;POINT (-39.810918 -2.924292)'))) / (select extract(epoch from '2026-07-04 05:48:05'::timestamp) - extract(epoch from '2026-07-04 05:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.810864 -2.924236)', '2026-07-04 05:48:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810918 -2.924292)'), GeomFromEWKT('SRID=4674;POINT (-39.810864 -2.924236)'))) / (select extract(epoch from '2026-07-04 05:48:15'::timestamp) - extract(epoch from '2026-07-04 05:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810918 -2.924292)'), GeomFromEWKT('SRID=4674;POINT (-39.810864 -2.924236)'))) / (select extract(epoch from '2026-07-04 05:48:15'::timestamp) - extract(epoch from '2026-07-04 05:48: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'), 47860, 'SRID=4674;POINT (-39.810789 -2.924171)', '2026-07-04 05:48:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810864 -2.924236)'), GeomFromEWKT('SRID=4674;POINT (-39.810789 -2.924171)'))) / (select extract(epoch from '2026-07-04 05:48:28'::timestamp) - extract(epoch from '2026-07-04 05:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810864 -2.924236)'), GeomFromEWKT('SRID=4674;POINT (-39.810789 -2.924171)'))) / (select extract(epoch from '2026-07-04 05:48:28'::timestamp) - extract(epoch from '2026-07-04 05:48: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'), 47860, 'SRID=4674;POINT (-39.810737 -2.924119)', '2026-07-04 05:48:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810789 -2.924171)'), GeomFromEWKT('SRID=4674;POINT (-39.810737 -2.924119)'))) / (select extract(epoch from '2026-07-04 05:48:38'::timestamp) - extract(epoch from '2026-07-04 05:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810789 -2.924171)'), GeomFromEWKT('SRID=4674;POINT (-39.810737 -2.924119)'))) / (select extract(epoch from '2026-07-04 05:48:38'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.810676 -2.924059)', '2026-07-04 05:48:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810737 -2.924119)'), GeomFromEWKT('SRID=4674;POINT (-39.810676 -2.924059)'))) / (select extract(epoch from '2026-07-04 05:48:50'::timestamp) - extract(epoch from '2026-07-04 05:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810737 -2.924119)'), GeomFromEWKT('SRID=4674;POINT (-39.810676 -2.924059)'))) / (select extract(epoch from '2026-07-04 05:48:50'::timestamp) - extract(epoch from '2026-07-04 05:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.810633 -2.924021)', '2026-07-04 05:48:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810676 -2.924059)'), GeomFromEWKT('SRID=4674;POINT (-39.810633 -2.924021)'))) / (select extract(epoch from '2026-07-04 05:48:58'::timestamp) - extract(epoch from '2026-07-04 05:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810676 -2.924059)'), GeomFromEWKT('SRID=4674;POINT (-39.810633 -2.924021)'))) / (select extract(epoch from '2026-07-04 05:48:58'::timestamp) - extract(epoch from '2026-07-04 05:48: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'), 47860, 'SRID=4674;POINT (-39.810593 -2.923999)', '2026-07-04 05:49:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810633 -2.924021)'), GeomFromEWKT('SRID=4674;POINT (-39.810593 -2.923999)'))) / (select extract(epoch from '2026-07-04 05:49:03'::timestamp) - extract(epoch from '2026-07-04 05:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810633 -2.924021)'), GeomFromEWKT('SRID=4674;POINT (-39.810593 -2.923999)'))) / (select extract(epoch from '2026-07-04 05:49:03'::timestamp) - extract(epoch from '2026-07-04 05:48: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'), 47860, 'SRID=4674;POINT (-39.810585 -2.923994)', '2026-07-04 05:49:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810593 -2.923999)'), GeomFromEWKT('SRID=4674;POINT (-39.810585 -2.923994)'))) / (select extract(epoch from '2026-07-04 05:49:04'::timestamp) - extract(epoch from '2026-07-04 05:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810593 -2.923999)'), GeomFromEWKT('SRID=4674;POINT (-39.810585 -2.923994)'))) / (select extract(epoch from '2026-07-04 05:49:04'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.810563 -2.923981)', '2026-07-04 05:49:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810585 -2.923994)'), GeomFromEWKT('SRID=4674;POINT (-39.810563 -2.923981)'))) / (select extract(epoch from '2026-07-04 05:49:07'::timestamp) - extract(epoch from '2026-07-04 05:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810585 -2.923994)'), GeomFromEWKT('SRID=4674;POINT (-39.810563 -2.923981)'))) / (select extract(epoch from '2026-07-04 05:49:07'::timestamp) - extract(epoch from '2026-07-04 05:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.810546 -2.923976)', '2026-07-04 05:49:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810563 -2.923981)'), GeomFromEWKT('SRID=4674;POINT (-39.810546 -2.923976)'))) / (select extract(epoch from '2026-07-04 05:49:09'::timestamp) - extract(epoch from '2026-07-04 05:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810563 -2.923981)'), GeomFromEWKT('SRID=4674;POINT (-39.810546 -2.923976)'))) / (select extract(epoch from '2026-07-04 05:49:09'::timestamp) - extract(epoch from '2026-07-04 05:49: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'), 47860, 'SRID=4674;POINT (-39.810521 -2.923968)', '2026-07-04 05:49:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810546 -2.923976)'), GeomFromEWKT('SRID=4674;POINT (-39.810521 -2.923968)'))) / (select extract(epoch from '2026-07-04 05:49:12'::timestamp) - extract(epoch from '2026-07-04 05:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810546 -2.923976)'), GeomFromEWKT('SRID=4674;POINT (-39.810521 -2.923968)'))) / (select extract(epoch from '2026-07-04 05:49:12'::timestamp) - extract(epoch from '2026-07-04 05:49: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'), 47860, 'SRID=4674;POINT (-39.810492 -2.923958)', '2026-07-04 05:49:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810521 -2.923968)'), GeomFromEWKT('SRID=4674;POINT (-39.810492 -2.923958)'))) / (select extract(epoch from '2026-07-04 05:49:15'::timestamp) - extract(epoch from '2026-07-04 05:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810521 -2.923968)'), GeomFromEWKT('SRID=4674;POINT (-39.810492 -2.923958)'))) / (select extract(epoch from '2026-07-04 05:49:15'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.810453 -2.923939)', '2026-07-04 05:49:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810492 -2.923958)'), GeomFromEWKT('SRID=4674;POINT (-39.810453 -2.923939)'))) / (select extract(epoch from '2026-07-04 05:49:19'::timestamp) - extract(epoch from '2026-07-04 05:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810492 -2.923958)'), GeomFromEWKT('SRID=4674;POINT (-39.810453 -2.923939)'))) / (select extract(epoch from '2026-07-04 05:49:19'::timestamp) - extract(epoch from '2026-07-04 05:49: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'), 47860, 'SRID=4674;POINT (-39.810432 -2.923933)', '2026-07-04 05:49:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810453 -2.923939)'), GeomFromEWKT('SRID=4674;POINT (-39.810432 -2.923933)'))) / (select extract(epoch from '2026-07-04 05:49:21'::timestamp) - extract(epoch from '2026-07-04 05:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810453 -2.923939)'), GeomFromEWKT('SRID=4674;POINT (-39.810432 -2.923933)'))) / (select extract(epoch from '2026-07-04 05:49:21'::timestamp) - extract(epoch from '2026-07-04 05:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.810404 -2.923931)', '2026-07-04 05:49:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810432 -2.923933)'), GeomFromEWKT('SRID=4674;POINT (-39.810404 -2.923931)'))) / (select extract(epoch from '2026-07-04 05:49:24'::timestamp) - extract(epoch from '2026-07-04 05:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810432 -2.923933)'), GeomFromEWKT('SRID=4674;POINT (-39.810404 -2.923931)'))) / (select extract(epoch from '2026-07-04 05:49:24'::timestamp) - extract(epoch from '2026-07-04 05:49: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'), 47860, 'SRID=4674;POINT (-39.810385 -2.923925)', '2026-07-04 05:49:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810404 -2.923931)'), GeomFromEWKT('SRID=4674;POINT (-39.810385 -2.923925)'))) / (select extract(epoch from '2026-07-04 05:49:26'::timestamp) - extract(epoch from '2026-07-04 05:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810404 -2.923931)'), GeomFromEWKT('SRID=4674;POINT (-39.810385 -2.923925)'))) / (select extract(epoch from '2026-07-04 05:49:26'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.810327 -2.923913)', '2026-07-04 05:49:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810385 -2.923925)'), GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.923913)'))) / (select extract(epoch from '2026-07-04 05:49:33'::timestamp) - extract(epoch from '2026-07-04 05:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810385 -2.923925)'), GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.923913)'))) / (select extract(epoch from '2026-07-04 05:49:33'::timestamp) - extract(epoch from '2026-07-04 05:49: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'), 47860, 'SRID=4674;POINT (-39.810278 -2.923896)', '2026-07-04 05:49:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.923913)'), GeomFromEWKT('SRID=4674;POINT (-39.810278 -2.923896)'))) / (select extract(epoch from '2026-07-04 05:49:41'::timestamp) - extract(epoch from '2026-07-04 05:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.923913)'), GeomFromEWKT('SRID=4674;POINT (-39.810278 -2.923896)'))) / (select extract(epoch from '2026-07-04 05:49:41'::timestamp) - extract(epoch from '2026-07-04 05:49: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'), 47860, 'SRID=4674;POINT (-39.8102 -2.923848)', '2026-07-04 05:49:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810278 -2.923896)'), GeomFromEWKT('SRID=4674;POINT (-39.8102 -2.923848)'))) / (select extract(epoch from '2026-07-04 05:49:53'::timestamp) - extract(epoch from '2026-07-04 05:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810278 -2.923896)'), GeomFromEWKT('SRID=4674;POINT (-39.8102 -2.923848)'))) / (select extract(epoch from '2026-07-04 05:49:53'::timestamp) - extract(epoch from '2026-07-04 05:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.810131 -2.923806)', '2026-07-04 05:50:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8102 -2.923848)'), GeomFromEWKT('SRID=4674;POINT (-39.810131 -2.923806)'))) / (select extract(epoch from '2026-07-04 05:50:04'::timestamp) - extract(epoch from '2026-07-04 05:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8102 -2.923848)'), GeomFromEWKT('SRID=4674;POINT (-39.810131 -2.923806)'))) / (select extract(epoch from '2026-07-04 05:50:04'::timestamp) - extract(epoch from '2026-07-04 05:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.810067 -2.923769)', '2026-07-04 05:50:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810131 -2.923806)'), GeomFromEWKT('SRID=4674;POINT (-39.810067 -2.923769)'))) / (select extract(epoch from '2026-07-04 05:50:16'::timestamp) - extract(epoch from '2026-07-04 05:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810131 -2.923806)'), GeomFromEWKT('SRID=4674;POINT (-39.810067 -2.923769)'))) / (select extract(epoch from '2026-07-04 05:50:16'::timestamp) - extract(epoch from '2026-07-04 05:50: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'), 47860, 'SRID=4674;POINT (-39.810004 -2.923712)', '2026-07-04 05:50:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810067 -2.923769)'), GeomFromEWKT('SRID=4674;POINT (-39.810004 -2.923712)'))) / (select extract(epoch from '2026-07-04 05:50:27'::timestamp) - extract(epoch from '2026-07-04 05:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810067 -2.923769)'), GeomFromEWKT('SRID=4674;POINT (-39.810004 -2.923712)'))) / (select extract(epoch from '2026-07-04 05:50:27'::timestamp) - extract(epoch from '2026-07-04 05:50: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'), 47860, 'SRID=4674;POINT (-39.809936 -2.923659)', '2026-07-04 05:50:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810004 -2.923712)'), GeomFromEWKT('SRID=4674;POINT (-39.809936 -2.923659)'))) / (select extract(epoch from '2026-07-04 05:50:39'::timestamp) - extract(epoch from '2026-07-04 05:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810004 -2.923712)'), GeomFromEWKT('SRID=4674;POINT (-39.809936 -2.923659)'))) / (select extract(epoch from '2026-07-04 05:50:39'::timestamp) - extract(epoch from '2026-07-04 05:50: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'), 47860, 'SRID=4674;POINT (-39.809882 -2.923607)', '2026-07-04 05:50:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809936 -2.923659)'), GeomFromEWKT('SRID=4674;POINT (-39.809882 -2.923607)'))) / (select extract(epoch from '2026-07-04 05:50:49'::timestamp) - extract(epoch from '2026-07-04 05:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809936 -2.923659)'), GeomFromEWKT('SRID=4674;POINT (-39.809882 -2.923607)'))) / (select extract(epoch from '2026-07-04 05:50:49'::timestamp) - extract(epoch from '2026-07-04 05:50: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'), 47860, 'SRID=4674;POINT (-39.809806 -2.923547)', '2026-07-04 05:51:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809882 -2.923607)'), GeomFromEWKT('SRID=4674;POINT (-39.809806 -2.923547)'))) / (select extract(epoch from '2026-07-04 05:51:01'::timestamp) - extract(epoch from '2026-07-04 05:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809882 -2.923607)'), GeomFromEWKT('SRID=4674;POINT (-39.809806 -2.923547)'))) / (select extract(epoch from '2026-07-04 05:51:01'::timestamp) - extract(epoch from '2026-07-04 05:50: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'), 47860, 'SRID=4674;POINT (-39.809759 -2.923516)', '2026-07-04 05:51:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809806 -2.923547)'), GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.923516)'))) / (select extract(epoch from '2026-07-04 05:51:08'::timestamp) - extract(epoch from '2026-07-04 05:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809806 -2.923547)'), GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.923516)'))) / (select extract(epoch from '2026-07-04 05:51:08'::timestamp) - extract(epoch from '2026-07-04 05:51: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'), 47860, 'SRID=4674;POINT (-39.809711 -2.923477)', '2026-07-04 05:51:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.923516)'), GeomFromEWKT('SRID=4674;POINT (-39.809711 -2.923477)'))) / (select extract(epoch from '2026-07-04 05:51:16'::timestamp) - extract(epoch from '2026-07-04 05:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.923516)'), GeomFromEWKT('SRID=4674;POINT (-39.809711 -2.923477)'))) / (select extract(epoch from '2026-07-04 05:51:16'::timestamp) - extract(epoch from '2026-07-04 05:51: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'), 47860, 'SRID=4674;POINT (-39.809648 -2.923439)', '2026-07-04 05:51:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809711 -2.923477)'), GeomFromEWKT('SRID=4674;POINT (-39.809648 -2.923439)'))) / (select extract(epoch from '2026-07-04 05:51:27'::timestamp) - extract(epoch from '2026-07-04 05:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809711 -2.923477)'), GeomFromEWKT('SRID=4674;POINT (-39.809648 -2.923439)'))) / (select extract(epoch from '2026-07-04 05:51:27'::timestamp) - extract(epoch from '2026-07-04 05:51: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'), 47860, 'SRID=4674;POINT (-39.809591 -2.923411)', '2026-07-04 05:51:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809648 -2.923439)'), GeomFromEWKT('SRID=4674;POINT (-39.809591 -2.923411)'))) / (select extract(epoch from '2026-07-04 05:51:37'::timestamp) - extract(epoch from '2026-07-04 05:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809648 -2.923439)'), GeomFromEWKT('SRID=4674;POINT (-39.809591 -2.923411)'))) / (select extract(epoch from '2026-07-04 05:51:37'::timestamp) - extract(epoch from '2026-07-04 05:51: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'), 47860, 'SRID=4674;POINT (-39.809536 -2.92337)', '2026-07-04 05:51:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809591 -2.923411)'), GeomFromEWKT('SRID=4674;POINT (-39.809536 -2.92337)'))) / (select extract(epoch from '2026-07-04 05:51:46'::timestamp) - extract(epoch from '2026-07-04 05:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809591 -2.923411)'), GeomFromEWKT('SRID=4674;POINT (-39.809536 -2.92337)'))) / (select extract(epoch from '2026-07-04 05:51:46'::timestamp) - extract(epoch from '2026-07-04 05:51: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'), 47860, 'SRID=4674;POINT (-39.809475 -2.923327)', '2026-07-04 05:51:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809536 -2.92337)'), GeomFromEWKT('SRID=4674;POINT (-39.809475 -2.923327)'))) / (select extract(epoch from '2026-07-04 05:51:55'::timestamp) - extract(epoch from '2026-07-04 05:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809536 -2.92337)'), GeomFromEWKT('SRID=4674;POINT (-39.809475 -2.923327)'))) / (select extract(epoch from '2026-07-04 05:51:55'::timestamp) - extract(epoch from '2026-07-04 05:51: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'), 47860, 'SRID=4674;POINT (-39.809422 -2.923278)', '2026-07-04 05:52:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809475 -2.923327)'), GeomFromEWKT('SRID=4674;POINT (-39.809422 -2.923278)'))) / (select extract(epoch from '2026-07-04 05:52:04'::timestamp) - extract(epoch from '2026-07-04 05:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809475 -2.923327)'), GeomFromEWKT('SRID=4674;POINT (-39.809422 -2.923278)'))) / (select extract(epoch from '2026-07-04 05:52:04'::timestamp) - extract(epoch from '2026-07-04 05:51: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'), 47860, 'SRID=4674;POINT (-39.809357 -2.923232)', '2026-07-04 05:52:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809422 -2.923278)'), GeomFromEWKT('SRID=4674;POINT (-39.809357 -2.923232)'))) / (select extract(epoch from '2026-07-04 05:52:13'::timestamp) - extract(epoch from '2026-07-04 05:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809422 -2.923278)'), GeomFromEWKT('SRID=4674;POINT (-39.809357 -2.923232)'))) / (select extract(epoch from '2026-07-04 05:52:13'::timestamp) - extract(epoch from '2026-07-04 05:52: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'), 47860, 'SRID=4674;POINT (-39.80932 -2.923209)', '2026-07-04 05:52:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809357 -2.923232)'), GeomFromEWKT('SRID=4674;POINT (-39.80932 -2.923209)'))) / (select extract(epoch from '2026-07-04 05:52:20'::timestamp) - extract(epoch from '2026-07-04 05:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809357 -2.923232)'), GeomFromEWKT('SRID=4674;POINT (-39.80932 -2.923209)'))) / (select extract(epoch from '2026-07-04 05:52:20'::timestamp) - extract(epoch from '2026-07-04 05:52: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'), 47860, 'SRID=4674;POINT (-39.809278 -2.923182)', '2026-07-04 05:52:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80932 -2.923209)'), GeomFromEWKT('SRID=4674;POINT (-39.809278 -2.923182)'))) / (select extract(epoch from '2026-07-04 05:52:28'::timestamp) - extract(epoch from '2026-07-04 05:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80932 -2.923209)'), GeomFromEWKT('SRID=4674;POINT (-39.809278 -2.923182)'))) / (select extract(epoch from '2026-07-04 05:52:28'::timestamp) - extract(epoch from '2026-07-04 05:52: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'), 47860, 'SRID=4674;POINT (-39.8092 -2.923129)', '2026-07-04 05:52:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809278 -2.923182)'), GeomFromEWKT('SRID=4674;POINT (-39.8092 -2.923129)'))) / (select extract(epoch from '2026-07-04 05:52:41'::timestamp) - extract(epoch from '2026-07-04 05:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809278 -2.923182)'), GeomFromEWKT('SRID=4674;POINT (-39.8092 -2.923129)'))) / (select extract(epoch from '2026-07-04 05:52:41'::timestamp) - extract(epoch from '2026-07-04 05:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.809139 -2.923091)', '2026-07-04 05:52:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8092 -2.923129)'), GeomFromEWKT('SRID=4674;POINT (-39.809139 -2.923091)'))) / (select extract(epoch from '2026-07-04 05:52:50'::timestamp) - extract(epoch from '2026-07-04 05:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8092 -2.923129)'), GeomFromEWKT('SRID=4674;POINT (-39.809139 -2.923091)'))) / (select extract(epoch from '2026-07-04 05:52:50'::timestamp) - extract(epoch from '2026-07-04 05:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.809083 -2.923059)', '2026-07-04 05:52:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809139 -2.923091)'), GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.923059)'))) / (select extract(epoch from '2026-07-04 05:52:58'::timestamp) - extract(epoch from '2026-07-04 05:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809139 -2.923091)'), GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.923059)'))) / (select extract(epoch from '2026-07-04 05:52:58'::timestamp) - extract(epoch from '2026-07-04 05:52: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'), 47860, 'SRID=4674;POINT (-39.809031 -2.923032)', '2026-07-04 05:53:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.923059)'), GeomFromEWKT('SRID=4674;POINT (-39.809031 -2.923032)'))) / (select extract(epoch from '2026-07-04 05:53:06'::timestamp) - extract(epoch from '2026-07-04 05:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.923059)'), GeomFromEWKT('SRID=4674;POINT (-39.809031 -2.923032)'))) / (select extract(epoch from '2026-07-04 05:53:06'::timestamp) - extract(epoch from '2026-07-04 05:52: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'), 47860, 'SRID=4674;POINT (-39.808982 -2.923002)', '2026-07-04 05:53:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809031 -2.923032)'), GeomFromEWKT('SRID=4674;POINT (-39.808982 -2.923002)'))) / (select extract(epoch from '2026-07-04 05:53:14'::timestamp) - extract(epoch from '2026-07-04 05:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809031 -2.923032)'), GeomFromEWKT('SRID=4674;POINT (-39.808982 -2.923002)'))) / (select extract(epoch from '2026-07-04 05:53:14'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808976 -2.922997)', '2026-07-04 05:53:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808982 -2.923002)'), GeomFromEWKT('SRID=4674;POINT (-39.808976 -2.922997)'))) / (select extract(epoch from '2026-07-04 05:53:15'::timestamp) - extract(epoch from '2026-07-04 05:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808982 -2.923002)'), GeomFromEWKT('SRID=4674;POINT (-39.808976 -2.922997)'))) / (select extract(epoch from '2026-07-04 05:53:15'::timestamp) - extract(epoch from '2026-07-04 05:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.808908 -2.922935)', '2026-07-04 05:53:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808976 -2.922997)'), GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.922935)'))) / (select extract(epoch from '2026-07-04 05:53:26'::timestamp) - extract(epoch from '2026-07-04 05:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808976 -2.922997)'), GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.922935)'))) / (select extract(epoch from '2026-07-04 05:53:26'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808871 -2.922896)', '2026-07-04 05:53:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.922935)'), GeomFromEWKT('SRID=4674;POINT (-39.808871 -2.922896)'))) / (select extract(epoch from '2026-07-04 05:53:32'::timestamp) - extract(epoch from '2026-07-04 05:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.922935)'), GeomFromEWKT('SRID=4674;POINT (-39.808871 -2.922896)'))) / (select extract(epoch from '2026-07-04 05:53:32'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808866 -2.92289)', '2026-07-04 05:53:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808871 -2.922896)'), GeomFromEWKT('SRID=4674;POINT (-39.808866 -2.92289)'))) / (select extract(epoch from '2026-07-04 05:53:33'::timestamp) - extract(epoch from '2026-07-04 05:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808871 -2.922896)'), GeomFromEWKT('SRID=4674;POINT (-39.808866 -2.92289)'))) / (select extract(epoch from '2026-07-04 05:53:33'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.808827 -2.922858)', '2026-07-04 05:53:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808866 -2.92289)'), GeomFromEWKT('SRID=4674;POINT (-39.808827 -2.922858)'))) / (select extract(epoch from '2026-07-04 05:53:39'::timestamp) - extract(epoch from '2026-07-04 05:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808866 -2.92289)'), GeomFromEWKT('SRID=4674;POINT (-39.808827 -2.922858)'))) / (select extract(epoch from '2026-07-04 05:53:39'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808804 -2.922842)', '2026-07-04 05:53:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808827 -2.922858)'), GeomFromEWKT('SRID=4674;POINT (-39.808804 -2.922842)'))) / (select extract(epoch from '2026-07-04 05:53:42'::timestamp) - extract(epoch from '2026-07-04 05:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808827 -2.922858)'), GeomFromEWKT('SRID=4674;POINT (-39.808804 -2.922842)'))) / (select extract(epoch from '2026-07-04 05:53:42'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808783 -2.922824)', '2026-07-04 05:53:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808804 -2.922842)'), GeomFromEWKT('SRID=4674;POINT (-39.808783 -2.922824)'))) / (select extract(epoch from '2026-07-04 05:53:45'::timestamp) - extract(epoch from '2026-07-04 05:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808804 -2.922842)'), GeomFromEWKT('SRID=4674;POINT (-39.808783 -2.922824)'))) / (select extract(epoch from '2026-07-04 05:53:45'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808752 -2.9228)', '2026-07-04 05:53:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808783 -2.922824)'), GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.9228)'))) / (select extract(epoch from '2026-07-04 05:53:49'::timestamp) - extract(epoch from '2026-07-04 05:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808783 -2.922824)'), GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.9228)'))) / (select extract(epoch from '2026-07-04 05:53:49'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808733 -2.922791)', '2026-07-04 05:53:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.9228)'), GeomFromEWKT('SRID=4674;POINT (-39.808733 -2.922791)'))) / (select extract(epoch from '2026-07-04 05:53:51'::timestamp) - extract(epoch from '2026-07-04 05:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.9228)'), GeomFromEWKT('SRID=4674;POINT (-39.808733 -2.922791)'))) / (select extract(epoch from '2026-07-04 05:53:51'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808676 -2.922751)', '2026-07-04 05:53:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808733 -2.922791)'), GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.922751)'))) / (select extract(epoch from '2026-07-04 05:53:58'::timestamp) - extract(epoch from '2026-07-04 05:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808733 -2.922791)'), GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.922751)'))) / (select extract(epoch from '2026-07-04 05:53:58'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808612 -2.922741)', '2026-07-04 05:54:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.922751)'), GeomFromEWKT('SRID=4674;POINT (-39.808612 -2.922741)'))) / (select extract(epoch from '2026-07-04 05:54:06'::timestamp) - extract(epoch from '2026-07-04 05:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.922751)'), GeomFromEWKT('SRID=4674;POINT (-39.808612 -2.922741)'))) / (select extract(epoch from '2026-07-04 05:54:06'::timestamp) - extract(epoch from '2026-07-04 05:53: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'), 47860, 'SRID=4674;POINT (-39.808549 -2.922709)', '2026-07-04 05:54:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808612 -2.922741)'), GeomFromEWKT('SRID=4674;POINT (-39.808549 -2.922709)'))) / (select extract(epoch from '2026-07-04 05:54:17'::timestamp) - extract(epoch from '2026-07-04 05:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808612 -2.922741)'), GeomFromEWKT('SRID=4674;POINT (-39.808549 -2.922709)'))) / (select extract(epoch from '2026-07-04 05:54:17'::timestamp) - extract(epoch from '2026-07-04 05:54: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'), 47860, 'SRID=4674;POINT (-39.808486 -2.92267)', '2026-07-04 05:54:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808549 -2.922709)'), GeomFromEWKT('SRID=4674;POINT (-39.808486 -2.92267)'))) / (select extract(epoch from '2026-07-04 05:54:27'::timestamp) - extract(epoch from '2026-07-04 05:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808549 -2.922709)'), GeomFromEWKT('SRID=4674;POINT (-39.808486 -2.92267)'))) / (select extract(epoch from '2026-07-04 05:54:27'::timestamp) - extract(epoch from '2026-07-04 05:54: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'), 47860, 'SRID=4674;POINT (-39.808445 -2.922647)', '2026-07-04 05:54:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808486 -2.92267)'), GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.922647)'))) / (select extract(epoch from '2026-07-04 05:54:34'::timestamp) - extract(epoch from '2026-07-04 05:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808486 -2.92267)'), GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.922647)'))) / (select extract(epoch from '2026-07-04 05:54:34'::timestamp) - extract(epoch from '2026-07-04 05:54: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'), 47860, 'SRID=4674;POINT (-39.808401 -2.92261)', '2026-07-04 05:54:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.922647)'), GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.92261)'))) / (select extract(epoch from '2026-07-04 05:54:43'::timestamp) - extract(epoch from '2026-07-04 05:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.922647)'), GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.92261)'))) / (select extract(epoch from '2026-07-04 05:54:43'::timestamp) - extract(epoch from '2026-07-04 05:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.808324 -2.922569)', '2026-07-04 05:54:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.92261)'), GeomFromEWKT('SRID=4674;POINT (-39.808324 -2.922569)'))) / (select extract(epoch from '2026-07-04 05:54:56'::timestamp) - extract(epoch from '2026-07-04 05:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.92261)'), GeomFromEWKT('SRID=4674;POINT (-39.808324 -2.922569)'))) / (select extract(epoch from '2026-07-04 05:54:56'::timestamp) - extract(epoch from '2026-07-04 05:54: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'), 47860, 'SRID=4674;POINT (-39.808247 -2.922521)', '2026-07-04 05:55:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808324 -2.922569)'), GeomFromEWKT('SRID=4674;POINT (-39.808247 -2.922521)'))) / (select extract(epoch from '2026-07-04 05:55:07'::timestamp) - extract(epoch from '2026-07-04 05:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808324 -2.922569)'), GeomFromEWKT('SRID=4674;POINT (-39.808247 -2.922521)'))) / (select extract(epoch from '2026-07-04 05:55:07'::timestamp) - extract(epoch from '2026-07-04 05:54: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'), 47860, 'SRID=4674;POINT (-39.808239 -2.922515)', '2026-07-04 05:55:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808247 -2.922521)'), GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.922515)'))) / (select extract(epoch from '2026-07-04 05:55:08'::timestamp) - extract(epoch from '2026-07-04 05:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808247 -2.922521)'), GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.922515)'))) / (select extract(epoch from '2026-07-04 05:55:08'::timestamp) - extract(epoch from '2026-07-04 05:55: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'), 47860, 'SRID=4674;POINT (-39.808202 -2.922487)', '2026-07-04 05:55:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.922515)'), GeomFromEWKT('SRID=4674;POINT (-39.808202 -2.922487)'))) / (select extract(epoch from '2026-07-04 05:55:13'::timestamp) - extract(epoch from '2026-07-04 05:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808239 -2.922515)'), GeomFromEWKT('SRID=4674;POINT (-39.808202 -2.922487)'))) / (select extract(epoch from '2026-07-04 05:55:13'::timestamp) - extract(epoch from '2026-07-04 05:55: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'), 47860, 'SRID=4674;POINT (-39.808144 -2.922432)', '2026-07-04 05:55:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808202 -2.922487)'), GeomFromEWKT('SRID=4674;POINT (-39.808144 -2.922432)'))) / (select extract(epoch from '2026-07-04 05:55:22'::timestamp) - extract(epoch from '2026-07-04 05:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808202 -2.922487)'), GeomFromEWKT('SRID=4674;POINT (-39.808144 -2.922432)'))) / (select extract(epoch from '2026-07-04 05:55:22'::timestamp) - extract(epoch from '2026-07-04 05:55: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'), 47860, 'SRID=4674;POINT (-39.808097 -2.922389)', '2026-07-04 05:55:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808144 -2.922432)'), GeomFromEWKT('SRID=4674;POINT (-39.808097 -2.922389)'))) / (select extract(epoch from '2026-07-04 05:55:29'::timestamp) - extract(epoch from '2026-07-04 05:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808144 -2.922432)'), GeomFromEWKT('SRID=4674;POINT (-39.808097 -2.922389)'))) / (select extract(epoch from '2026-07-04 05:55:29'::timestamp) - extract(epoch from '2026-07-04 05:55: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'), 47860, 'SRID=4674;POINT (-39.808064 -2.922353)', '2026-07-04 05:55:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808097 -2.922389)'), GeomFromEWKT('SRID=4674;POINT (-39.808064 -2.922353)'))) / (select extract(epoch from '2026-07-04 05:55:35'::timestamp) - extract(epoch from '2026-07-04 05:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808097 -2.922389)'), GeomFromEWKT('SRID=4674;POINT (-39.808064 -2.922353)'))) / (select extract(epoch from '2026-07-04 05:55:35'::timestamp) - extract(epoch from '2026-07-04 05:55: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'), 47860, 'SRID=4674;POINT (-39.808005 -2.922315)', '2026-07-04 05:55:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808064 -2.922353)'), GeomFromEWKT('SRID=4674;POINT (-39.808005 -2.922315)'))) / (select extract(epoch from '2026-07-04 05:55:45'::timestamp) - extract(epoch from '2026-07-04 05:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808064 -2.922353)'), GeomFromEWKT('SRID=4674;POINT (-39.808005 -2.922315)'))) / (select extract(epoch from '2026-07-04 05:55:45'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.807942 -2.922282)', '2026-07-04 05:55:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808005 -2.922315)'), GeomFromEWKT('SRID=4674;POINT (-39.807942 -2.922282)'))) / (select extract(epoch from '2026-07-04 05:55:55'::timestamp) - extract(epoch from '2026-07-04 05:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808005 -2.922315)'), GeomFromEWKT('SRID=4674;POINT (-39.807942 -2.922282)'))) / (select extract(epoch from '2026-07-04 05:55:55'::timestamp) - extract(epoch from '2026-07-04 05:55: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'), 47860, 'SRID=4674;POINT (-39.807843 -2.922215)', '2026-07-04 05:56:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807942 -2.922282)'), GeomFromEWKT('SRID=4674;POINT (-39.807843 -2.922215)'))) / (select extract(epoch from '2026-07-04 05:56:11'::timestamp) - extract(epoch from '2026-07-04 05:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807942 -2.922282)'), GeomFromEWKT('SRID=4674;POINT (-39.807843 -2.922215)'))) / (select extract(epoch from '2026-07-04 05:56:11'::timestamp) - extract(epoch from '2026-07-04 05:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.807792 -2.922161)', '2026-07-04 05:56:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807843 -2.922215)'), GeomFromEWKT('SRID=4674;POINT (-39.807792 -2.922161)'))) / (select extract(epoch from '2026-07-04 05:56:20'::timestamp) - extract(epoch from '2026-07-04 05:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807843 -2.922215)'), GeomFromEWKT('SRID=4674;POINT (-39.807792 -2.922161)'))) / (select extract(epoch from '2026-07-04 05:56:20'::timestamp) - extract(epoch from '2026-07-04 05:56: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'), 47860, 'SRID=4674;POINT (-39.807747 -2.922126)', '2026-07-04 05:56:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807792 -2.922161)'), GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.922126)'))) / (select extract(epoch from '2026-07-04 05:56:27'::timestamp) - extract(epoch from '2026-07-04 05:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807792 -2.922161)'), GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.922126)'))) / (select extract(epoch from '2026-07-04 05:56:27'::timestamp) - extract(epoch from '2026-07-04 05:56: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'), 47860, 'SRID=4674;POINT (-39.807696 -2.922097)', '2026-07-04 05:56:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.922126)'), GeomFromEWKT('SRID=4674;POINT (-39.807696 -2.922097)'))) / (select extract(epoch from '2026-07-04 05:56:35'::timestamp) - extract(epoch from '2026-07-04 05:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.922126)'), GeomFromEWKT('SRID=4674;POINT (-39.807696 -2.922097)'))) / (select extract(epoch from '2026-07-04 05:56:35'::timestamp) - extract(epoch from '2026-07-04 05:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.807636 -2.922058)', '2026-07-04 05:56:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807696 -2.922097)'), GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.922058)'))) / (select extract(epoch from '2026-07-04 05:56:46'::timestamp) - extract(epoch from '2026-07-04 05:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807696 -2.922097)'), GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.922058)'))) / (select extract(epoch from '2026-07-04 05:56:46'::timestamp) - extract(epoch from '2026-07-04 05:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.80755 -2.922009)', '2026-07-04 05:56:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.922058)'), GeomFromEWKT('SRID=4674;POINT (-39.80755 -2.922009)'))) / (select extract(epoch from '2026-07-04 05:56:59'::timestamp) - extract(epoch from '2026-07-04 05:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.922058)'), GeomFromEWKT('SRID=4674;POINT (-39.80755 -2.922009)'))) / (select extract(epoch from '2026-07-04 05:56:59'::timestamp) - extract(epoch from '2026-07-04 05:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.807479 -2.921975)', '2026-07-04 05:57:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80755 -2.922009)'), GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.921975)'))) / (select extract(epoch from '2026-07-04 05:57:08'::timestamp) - extract(epoch from '2026-07-04 05:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80755 -2.922009)'), GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.921975)'))) / (select extract(epoch from '2026-07-04 05:57:08'::timestamp) - extract(epoch from '2026-07-04 05:56: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'), 47860, 'SRID=4674;POINT (-39.807434 -2.921951)', '2026-07-04 05:57:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.921975)'), GeomFromEWKT('SRID=4674;POINT (-39.807434 -2.921951)'))) / (select extract(epoch from '2026-07-04 05:57:14'::timestamp) - extract(epoch from '2026-07-04 05:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.921975)'), GeomFromEWKT('SRID=4674;POINT (-39.807434 -2.921951)'))) / (select extract(epoch from '2026-07-04 05:57:14'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.807429 -2.921948)', '2026-07-04 05:57:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807434 -2.921951)'), GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.921948)'))) / (select extract(epoch from '2026-07-04 05:57:15'::timestamp) - extract(epoch from '2026-07-04 05:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807434 -2.921951)'), GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.921948)'))) / (select extract(epoch from '2026-07-04 05:57:15'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.807378 -2.921919)', '2026-07-04 05:57:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.921948)'), GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.921919)'))) / (select extract(epoch from '2026-07-04 05:57:22'::timestamp) - extract(epoch from '2026-07-04 05:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.921948)'), GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.921919)'))) / (select extract(epoch from '2026-07-04 05:57:22'::timestamp) - extract(epoch from '2026-07-04 05:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.807316 -2.921884)', '2026-07-04 05:57:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.921919)'), GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.921884)'))) / (select extract(epoch from '2026-07-04 05:57:30'::timestamp) - extract(epoch from '2026-07-04 05:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.921919)'), GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.921884)'))) / (select extract(epoch from '2026-07-04 05:57:30'::timestamp) - extract(epoch from '2026-07-04 05:57: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'), 47860, 'SRID=4674;POINT (-39.807241 -2.921845)', '2026-07-04 05:57:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.921884)'), GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.921845)'))) / (select extract(epoch from '2026-07-04 05:57:40'::timestamp) - extract(epoch from '2026-07-04 05:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.921884)'), GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.921845)'))) / (select extract(epoch from '2026-07-04 05:57:40'::timestamp) - extract(epoch from '2026-07-04 05:57: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'), 47860, 'SRID=4674;POINT (-39.807183 -2.921799)', '2026-07-04 05:57:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.921845)'), GeomFromEWKT('SRID=4674;POINT (-39.807183 -2.921799)'))) / (select extract(epoch from '2026-07-04 05:57:50'::timestamp) - extract(epoch from '2026-07-04 05:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.921845)'), GeomFromEWKT('SRID=4674;POINT (-39.807183 -2.921799)'))) / (select extract(epoch from '2026-07-04 05:57:50'::timestamp) - extract(epoch from '2026-07-04 05:57: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'), 47860, 'SRID=4674;POINT (-39.807118 -2.921745)', '2026-07-04 05:58:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807183 -2.921799)'), GeomFromEWKT('SRID=4674;POINT (-39.807118 -2.921745)'))) / (select extract(epoch from '2026-07-04 05:58:01'::timestamp) - extract(epoch from '2026-07-04 05:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807183 -2.921799)'), GeomFromEWKT('SRID=4674;POINT (-39.807118 -2.921745)'))) / (select extract(epoch from '2026-07-04 05:58:01'::timestamp) - extract(epoch from '2026-07-04 05:57: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'), 47860, 'SRID=4674;POINT (-39.807065 -2.921718)', '2026-07-04 05:58:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807118 -2.921745)'), GeomFromEWKT('SRID=4674;POINT (-39.807065 -2.921718)'))) / (select extract(epoch from '2026-07-04 05:58:09'::timestamp) - extract(epoch from '2026-07-04 05:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807118 -2.921745)'), GeomFromEWKT('SRID=4674;POINT (-39.807065 -2.921718)'))) / (select extract(epoch from '2026-07-04 05:58:09'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.807013 -2.921684)', '2026-07-04 05:58:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807065 -2.921718)'), GeomFromEWKT('SRID=4674;POINT (-39.807013 -2.921684)'))) / (select extract(epoch from '2026-07-04 05:58:18'::timestamp) - extract(epoch from '2026-07-04 05:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807065 -2.921718)'), GeomFromEWKT('SRID=4674;POINT (-39.807013 -2.921684)'))) / (select extract(epoch from '2026-07-04 05:58:18'::timestamp) - extract(epoch from '2026-07-04 05:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.806962 -2.921649)', '2026-07-04 05:58:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807013 -2.921684)'), GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.921649)'))) / (select extract(epoch from '2026-07-04 05:58:26'::timestamp) - extract(epoch from '2026-07-04 05:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807013 -2.921684)'), GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.921649)'))) / (select extract(epoch from '2026-07-04 05:58:26'::timestamp) - extract(epoch from '2026-07-04 05:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.806909 -2.921599)', '2026-07-04 05:58:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.921649)'), GeomFromEWKT('SRID=4674;POINT (-39.806909 -2.921599)'))) / (select extract(epoch from '2026-07-04 05:58:34'::timestamp) - extract(epoch from '2026-07-04 05:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.921649)'), GeomFromEWKT('SRID=4674;POINT (-39.806909 -2.921599)'))) / (select extract(epoch from '2026-07-04 05:58:34'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.80686 -2.921561)', '2026-07-04 05:58:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806909 -2.921599)'), GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.921561)'))) / (select extract(epoch from '2026-07-04 05:58:42'::timestamp) - extract(epoch from '2026-07-04 05:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806909 -2.921599)'), GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.921561)'))) / (select extract(epoch from '2026-07-04 05:58:42'::timestamp) - extract(epoch from '2026-07-04 05:58: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'), 47860, 'SRID=4674;POINT (-39.806792 -2.921511)', '2026-07-04 05:58:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.921561)'), GeomFromEWKT('SRID=4674;POINT (-39.806792 -2.921511)'))) / (select extract(epoch from '2026-07-04 05:58:52'::timestamp) - extract(epoch from '2026-07-04 05:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.921561)'), GeomFromEWKT('SRID=4674;POINT (-39.806792 -2.921511)'))) / (select extract(epoch from '2026-07-04 05:58:52'::timestamp) - extract(epoch from '2026-07-04 05: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'), 47860, 'SRID=4674;POINT (-39.806724 -2.921475)', '2026-07-04 05:59:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806792 -2.921511)'), GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.921475)'))) / (select extract(epoch from '2026-07-04 05:59:00'::timestamp) - extract(epoch from '2026-07-04 05:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806792 -2.921511)'), GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.921475)'))) / (select extract(epoch from '2026-07-04 05:59:00'::timestamp) - extract(epoch from '2026-07-04 05:58: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'), 47860, 'SRID=4674;POINT (-39.806689 -2.921458)', '2026-07-04 05:59:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.921475)'), GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.921458)'))) / (select extract(epoch from '2026-07-04 05:59:04'::timestamp) - extract(epoch from '2026-07-04 05:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.921475)'), GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.921458)'))) / (select extract(epoch from '2026-07-04 05:59:04'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806664 -2.921444)', '2026-07-04 05:59:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.921458)'), GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.921444)'))) / (select extract(epoch from '2026-07-04 05:59:07'::timestamp) - extract(epoch from '2026-07-04 05:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.921458)'), GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.921444)'))) / (select extract(epoch from '2026-07-04 05:59:07'::timestamp) - extract(epoch from '2026-07-04 05:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.806599 -2.921403)', '2026-07-04 05:59:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.921444)'), GeomFromEWKT('SRID=4674;POINT (-39.806599 -2.921403)'))) / (select extract(epoch from '2026-07-04 05:59:15'::timestamp) - extract(epoch from '2026-07-04 05:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.921444)'), GeomFromEWKT('SRID=4674;POINT (-39.806599 -2.921403)'))) / (select extract(epoch from '2026-07-04 05:59:15'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806552 -2.921371)', '2026-07-04 05:59:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806599 -2.921403)'), GeomFromEWKT('SRID=4674;POINT (-39.806552 -2.921371)'))) / (select extract(epoch from '2026-07-04 05:59:21'::timestamp) - extract(epoch from '2026-07-04 05:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806599 -2.921403)'), GeomFromEWKT('SRID=4674;POINT (-39.806552 -2.921371)'))) / (select extract(epoch from '2026-07-04 05:59:21'::timestamp) - extract(epoch from '2026-07-04 05:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.806539 -2.921362)', '2026-07-04 05:59:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806552 -2.921371)'), GeomFromEWKT('SRID=4674;POINT (-39.806539 -2.921362)'))) / (select extract(epoch from '2026-07-04 05:59:23'::timestamp) - extract(epoch from '2026-07-04 05:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806552 -2.921371)'), GeomFromEWKT('SRID=4674;POINT (-39.806539 -2.921362)'))) / (select extract(epoch from '2026-07-04 05:59:23'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806481 -2.921325)', '2026-07-04 05:59:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806539 -2.921362)'), GeomFromEWKT('SRID=4674;POINT (-39.806481 -2.921325)'))) / (select extract(epoch from '2026-07-04 05:59:30'::timestamp) - extract(epoch from '2026-07-04 05:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806539 -2.921362)'), GeomFromEWKT('SRID=4674;POINT (-39.806481 -2.921325)'))) / (select extract(epoch from '2026-07-04 05:59:30'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806425 -2.921298)', '2026-07-04 05:59:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806481 -2.921325)'), GeomFromEWKT('SRID=4674;POINT (-39.806425 -2.921298)'))) / (select extract(epoch from '2026-07-04 05:59:38'::timestamp) - extract(epoch from '2026-07-04 05:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806481 -2.921325)'), GeomFromEWKT('SRID=4674;POINT (-39.806425 -2.921298)'))) / (select extract(epoch from '2026-07-04 05:59:38'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806365 -2.921256)', '2026-07-04 05:59:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806425 -2.921298)'), GeomFromEWKT('SRID=4674;POINT (-39.806365 -2.921256)'))) / (select extract(epoch from '2026-07-04 05:59:47'::timestamp) - extract(epoch from '2026-07-04 05:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806425 -2.921298)'), GeomFromEWKT('SRID=4674;POINT (-39.806365 -2.921256)'))) / (select extract(epoch from '2026-07-04 05:59:47'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806304 -2.921215)', '2026-07-04 05:59:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806365 -2.921256)'), GeomFromEWKT('SRID=4674;POINT (-39.806304 -2.921215)'))) / (select extract(epoch from '2026-07-04 05:59:56'::timestamp) - extract(epoch from '2026-07-04 05:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806365 -2.921256)'), GeomFromEWKT('SRID=4674;POINT (-39.806304 -2.921215)'))) / (select extract(epoch from '2026-07-04 05:59:56'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806257 -2.921174)', '2026-07-04 06:00:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806304 -2.921215)'), GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.921174)'))) / (select extract(epoch from '2026-07-04 06:00:03'::timestamp) - extract(epoch from '2026-07-04 05:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806304 -2.921215)'), GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.921174)'))) / (select extract(epoch from '2026-07-04 06:00:03'::timestamp) - extract(epoch from '2026-07-04 05:59: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'), 47860, 'SRID=4674;POINT (-39.806193 -2.921127)', '2026-07-04 06:00:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.921174)'), GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.921127)'))) / (select extract(epoch from '2026-07-04 06:00:13'::timestamp) - extract(epoch from '2026-07-04 06:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.921174)'), GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.921127)'))) / (select extract(epoch from '2026-07-04 06:00:13'::timestamp) - extract(epoch from '2026-07-04 06:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.806129 -2.921084)', '2026-07-04 06:00:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.921127)'), GeomFromEWKT('SRID=4674;POINT (-39.806129 -2.921084)'))) / (select extract(epoch from '2026-07-04 06:00:22'::timestamp) - extract(epoch from '2026-07-04 06:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.921127)'), GeomFromEWKT('SRID=4674;POINT (-39.806129 -2.921084)'))) / (select extract(epoch from '2026-07-04 06:00:22'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.806078 -2.921059)', '2026-07-04 06:00:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806129 -2.921084)'), GeomFromEWKT('SRID=4674;POINT (-39.806078 -2.921059)'))) / (select extract(epoch from '2026-07-04 06:00:29'::timestamp) - extract(epoch from '2026-07-04 06:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806129 -2.921084)'), GeomFromEWKT('SRID=4674;POINT (-39.806078 -2.921059)'))) / (select extract(epoch from '2026-07-04 06:00:29'::timestamp) - extract(epoch from '2026-07-04 06:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.806005 -2.921013)', '2026-07-04 06:00:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806078 -2.921059)'), GeomFromEWKT('SRID=4674;POINT (-39.806005 -2.921013)'))) / (select extract(epoch from '2026-07-04 06:00:41'::timestamp) - extract(epoch from '2026-07-04 06:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806078 -2.921059)'), GeomFromEWKT('SRID=4674;POINT (-39.806005 -2.921013)'))) / (select extract(epoch from '2026-07-04 06:00:41'::timestamp) - extract(epoch from '2026-07-04 06:00: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'), 47860, 'SRID=4674;POINT (-39.80598 -2.920999)', '2026-07-04 06:00:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806005 -2.921013)'), GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.920999)'))) / (select extract(epoch from '2026-07-04 06:00:44'::timestamp) - extract(epoch from '2026-07-04 06:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806005 -2.921013)'), GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.920999)'))) / (select extract(epoch from '2026-07-04 06:00:44'::timestamp) - extract(epoch from '2026-07-04 06:00: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'), 47860, 'SRID=4674;POINT (-39.805955 -2.920992)', '2026-07-04 06:00:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.920999)'), GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.920992)'))) / (select extract(epoch from '2026-07-04 06:00:47'::timestamp) - extract(epoch from '2026-07-04 06:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.920999)'), GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.920992)'))) / (select extract(epoch from '2026-07-04 06:00:47'::timestamp) - extract(epoch from '2026-07-04 06:00: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'), 47860, 'SRID=4674;POINT (-39.80594 -2.920989)', '2026-07-04 06:00:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.920992)'), GeomFromEWKT('SRID=4674;POINT (-39.80594 -2.920989)'))) / (select extract(epoch from '2026-07-04 06:00:49'::timestamp) - extract(epoch from '2026-07-04 06:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.920992)'), GeomFromEWKT('SRID=4674;POINT (-39.80594 -2.920989)'))) / (select extract(epoch from '2026-07-04 06:00:49'::timestamp) - extract(epoch from '2026-07-04 06:00: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'), 47860, 'SRID=4674;POINT (-39.80588 -2.920976)', '2026-07-04 06:00:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80594 -2.920989)'), GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.920976)'))) / (select extract(epoch from '2026-07-04 06:00:57'::timestamp) - extract(epoch from '2026-07-04 06:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80594 -2.920989)'), GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.920976)'))) / (select extract(epoch from '2026-07-04 06:00:57'::timestamp) - extract(epoch from '2026-07-04 06:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.805822 -2.920967)', '2026-07-04 06:01:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.920976)'), GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.920967)'))) / (select extract(epoch from '2026-07-04 06:01:05'::timestamp) - extract(epoch from '2026-07-04 06:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.920976)'), GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.920967)'))) / (select extract(epoch from '2026-07-04 06:01:05'::timestamp) - extract(epoch from '2026-07-04 06:00: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'), 47860, 'SRID=4674;POINT (-39.805779 -2.920945)', '2026-07-04 06:01:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.920967)'), GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.920945)'))) / (select extract(epoch from '2026-07-04 06:01:11'::timestamp) - extract(epoch from '2026-07-04 06:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805822 -2.920967)'), GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.920945)'))) / (select extract(epoch from '2026-07-04 06:01:11'::timestamp) - extract(epoch from '2026-07-04 06:01: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'), 47860, 'SRID=4674;POINT (-39.80575 -2.920928)', '2026-07-04 06:01:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.920945)'), GeomFromEWKT('SRID=4674;POINT (-39.80575 -2.920928)'))) / (select extract(epoch from '2026-07-04 06:01:15'::timestamp) - extract(epoch from '2026-07-04 06:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.920945)'), GeomFromEWKT('SRID=4674;POINT (-39.80575 -2.920928)'))) / (select extract(epoch from '2026-07-04 06:01:15'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.805732 -2.92092)', '2026-07-04 06:01:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80575 -2.920928)'), GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.92092)'))) / (select extract(epoch from '2026-07-04 06:01:17'::timestamp) - extract(epoch from '2026-07-04 06:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80575 -2.920928)'), GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.92092)'))) / (select extract(epoch from '2026-07-04 06:01:17'::timestamp) - extract(epoch from '2026-07-04 06:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.805676 -2.920888)', '2026-07-04 06:01:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.92092)'), GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.920888)'))) / (select extract(epoch from '2026-07-04 06:01:24'::timestamp) - extract(epoch from '2026-07-04 06:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.92092)'), GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.920888)'))) / (select extract(epoch from '2026-07-04 06:01:24'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.805669 -2.920882)', '2026-07-04 06:01:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.920888)'), GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.920882)'))) / (select extract(epoch from '2026-07-04 06:01:25'::timestamp) - extract(epoch from '2026-07-04 06:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.920888)'), GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.920882)'))) / (select extract(epoch from '2026-07-04 06:01:25'::timestamp) - extract(epoch from '2026-07-04 06:01: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'), 47860, 'SRID=4674;POINT (-39.805632 -2.92085)', '2026-07-04 06:01:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.920882)'), GeomFromEWKT('SRID=4674;POINT (-39.805632 -2.92085)'))) / (select extract(epoch from '2026-07-04 06:01:30'::timestamp) - extract(epoch from '2026-07-04 06:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.920882)'), GeomFromEWKT('SRID=4674;POINT (-39.805632 -2.92085)'))) / (select extract(epoch from '2026-07-04 06:01:30'::timestamp) - extract(epoch from '2026-07-04 06:01: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'), 47860, 'SRID=4674;POINT (-39.805583 -2.920804)', '2026-07-04 06:01:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805632 -2.92085)'), GeomFromEWKT('SRID=4674;POINT (-39.805583 -2.920804)'))) / (select extract(epoch from '2026-07-04 06:01:37'::timestamp) - extract(epoch from '2026-07-04 06:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805632 -2.92085)'), GeomFromEWKT('SRID=4674;POINT (-39.805583 -2.920804)'))) / (select extract(epoch from '2026-07-04 06:01:37'::timestamp) - extract(epoch from '2026-07-04 06:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.805547 -2.920774)', '2026-07-04 06:01:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805583 -2.920804)'), GeomFromEWKT('SRID=4674;POINT (-39.805547 -2.920774)'))) / (select extract(epoch from '2026-07-04 06:01:42'::timestamp) - extract(epoch from '2026-07-04 06:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805583 -2.920804)'), GeomFromEWKT('SRID=4674;POINT (-39.805547 -2.920774)'))) / (select extract(epoch from '2026-07-04 06:01:42'::timestamp) - extract(epoch from '2026-07-04 06:01: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'), 47860, 'SRID=4674;POINT (-39.805475 -2.920733)', '2026-07-04 06:01:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805547 -2.920774)'), GeomFromEWKT('SRID=4674;POINT (-39.805475 -2.920733)'))) / (select extract(epoch from '2026-07-04 06:01:51'::timestamp) - extract(epoch from '2026-07-04 06:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805547 -2.920774)'), GeomFromEWKT('SRID=4674;POINT (-39.805475 -2.920733)'))) / (select extract(epoch from '2026-07-04 06:01:51'::timestamp) - extract(epoch from '2026-07-04 06:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.805409 -2.920707)', '2026-07-04 06:02:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805475 -2.920733)'), GeomFromEWKT('SRID=4674;POINT (-39.805409 -2.920707)'))) / (select extract(epoch from '2026-07-04 06:02:00'::timestamp) - extract(epoch from '2026-07-04 06:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805475 -2.920733)'), GeomFromEWKT('SRID=4674;POINT (-39.805409 -2.920707)'))) / (select extract(epoch from '2026-07-04 06:02:00'::timestamp) - extract(epoch from '2026-07-04 06:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.80539 -2.920695)', '2026-07-04 06:02:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805409 -2.920707)'), GeomFromEWKT('SRID=4674;POINT (-39.80539 -2.920695)'))) / (select extract(epoch from '2026-07-04 06:02:03'::timestamp) - extract(epoch from '2026-07-04 06:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805409 -2.920707)'), GeomFromEWKT('SRID=4674;POINT (-39.80539 -2.920695)'))) / (select extract(epoch from '2026-07-04 06:02:03'::timestamp) - extract(epoch from '2026-07-04 06:02: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'), 47860, 'SRID=4674;POINT (-39.805373 -2.920688)', '2026-07-04 06:02:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80539 -2.920695)'), GeomFromEWKT('SRID=4674;POINT (-39.805373 -2.920688)'))) / (select extract(epoch from '2026-07-04 06:02:05'::timestamp) - extract(epoch from '2026-07-04 06:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80539 -2.920695)'), GeomFromEWKT('SRID=4674;POINT (-39.805373 -2.920688)'))) / (select extract(epoch from '2026-07-04 06:02:05'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.805367 -2.920683)', '2026-07-04 06:02:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805373 -2.920688)'), GeomFromEWKT('SRID=4674;POINT (-39.805367 -2.920683)'))) / (select extract(epoch from '2026-07-04 06:02:06'::timestamp) - extract(epoch from '2026-07-04 06:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805373 -2.920688)'), GeomFromEWKT('SRID=4674;POINT (-39.805367 -2.920683)'))) / (select extract(epoch from '2026-07-04 06:02:06'::timestamp) - extract(epoch from '2026-07-04 06:02: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'), 47860, 'SRID=4674;POINT (-39.805329 -2.920661)', '2026-07-04 06:02:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805367 -2.920683)'), GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.920661)'))) / (select extract(epoch from '2026-07-04 06:02:11'::timestamp) - extract(epoch from '2026-07-04 06:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805367 -2.920683)'), GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.920661)'))) / (select extract(epoch from '2026-07-04 06:02:11'::timestamp) - extract(epoch from '2026-07-04 06:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.80531 -2.920655)', '2026-07-04 06:02:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.920661)'), GeomFromEWKT('SRID=4674;POINT (-39.80531 -2.920655)'))) / (select extract(epoch from '2026-07-04 06:02:13'::timestamp) - extract(epoch from '2026-07-04 06:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.920661)'), GeomFromEWKT('SRID=4674;POINT (-39.80531 -2.920655)'))) / (select extract(epoch from '2026-07-04 06:02:13'::timestamp) - extract(epoch from '2026-07-04 06:02: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'), 47860, 'SRID=4674;POINT (-39.805285 -2.920644)', '2026-07-04 06:02:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80531 -2.920655)'), GeomFromEWKT('SRID=4674;POINT (-39.805285 -2.920644)'))) / (select extract(epoch from '2026-07-04 06:02:16'::timestamp) - extract(epoch from '2026-07-04 06:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80531 -2.920655)'), GeomFromEWKT('SRID=4674;POINT (-39.805285 -2.920644)'))) / (select extract(epoch from '2026-07-04 06:02:16'::timestamp) - extract(epoch from '2026-07-04 06:02: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'), 47860, 'SRID=4674;POINT (-39.80523 -2.920619)', '2026-07-04 06:02:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805285 -2.920644)'), GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.920619)'))) / (select extract(epoch from '2026-07-04 06:02:24'::timestamp) - extract(epoch from '2026-07-04 06:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805285 -2.920644)'), GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.920619)'))) / (select extract(epoch from '2026-07-04 06:02:24'::timestamp) - extract(epoch from '2026-07-04 06:02: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'), 47860, 'SRID=4674;POINT (-39.805202 -2.920613)', '2026-07-04 06:02:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.920619)'), GeomFromEWKT('SRID=4674;POINT (-39.805202 -2.920613)'))) / (select extract(epoch from '2026-07-04 06:02:30'::timestamp) - extract(epoch from '2026-07-04 06:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80523 -2.920619)'), GeomFromEWKT('SRID=4674;POINT (-39.805202 -2.920613)'))) / (select extract(epoch from '2026-07-04 06:02:30'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.805161 -2.920564)', '2026-07-04 06:02:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805202 -2.920613)'), GeomFromEWKT('SRID=4674;POINT (-39.805161 -2.920564)'))) / (select extract(epoch from '2026-07-04 06:02:39'::timestamp) - extract(epoch from '2026-07-04 06:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805202 -2.920613)'), GeomFromEWKT('SRID=4674;POINT (-39.805161 -2.920564)'))) / (select extract(epoch from '2026-07-04 06:02:39'::timestamp) - extract(epoch from '2026-07-04 06:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.805113 -2.920552)', '2026-07-04 06:02:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805161 -2.920564)'), GeomFromEWKT('SRID=4674;POINT (-39.805113 -2.920552)'))) / (select extract(epoch from '2026-07-04 06:02:45'::timestamp) - extract(epoch from '2026-07-04 06:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805161 -2.920564)'), GeomFromEWKT('SRID=4674;POINT (-39.805113 -2.920552)'))) / (select extract(epoch from '2026-07-04 06:02:45'::timestamp) - extract(epoch from '2026-07-04 06:02: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'), 47860, 'SRID=4674;POINT (-39.805065 -2.920533)', '2026-07-04 06:02:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805113 -2.920552)'), GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.920533)'))) / (select extract(epoch from '2026-07-04 06:02:52'::timestamp) - extract(epoch from '2026-07-04 06:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805113 -2.920552)'), GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.920533)'))) / (select extract(epoch from '2026-07-04 06:02:52'::timestamp) - extract(epoch from '2026-07-04 06:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.805002 -2.920506)', '2026-07-04 06:03:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.920533)'), GeomFromEWKT('SRID=4674;POINT (-39.805002 -2.920506)'))) / (select extract(epoch from '2026-07-04 06:03:00'::timestamp) - extract(epoch from '2026-07-04 06:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805065 -2.920533)'), GeomFromEWKT('SRID=4674;POINT (-39.805002 -2.920506)'))) / (select extract(epoch from '2026-07-04 06:03:00'::timestamp) - extract(epoch from '2026-07-04 06:02: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'), 47860, 'SRID=4674;POINT (-39.804973 -2.920494)', '2026-07-04 06:03:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805002 -2.920506)'), GeomFromEWKT('SRID=4674;POINT (-39.804973 -2.920494)'))) / (select extract(epoch from '2026-07-04 06:03:03'::timestamp) - extract(epoch from '2026-07-04 06:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805002 -2.920506)'), GeomFromEWKT('SRID=4674;POINT (-39.804973 -2.920494)'))) / (select extract(epoch from '2026-07-04 06:03:03'::timestamp) - extract(epoch from '2026-07-04 06:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804959 -2.920487)', '2026-07-04 06:03:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804973 -2.920494)'), GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.920487)'))) / (select extract(epoch from '2026-07-04 06:03:05'::timestamp) - extract(epoch from '2026-07-04 06:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804973 -2.920494)'), GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.920487)'))) / (select extract(epoch from '2026-07-04 06:03:05'::timestamp) - extract(epoch from '2026-07-04 06:03: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'), 47860, 'SRID=4674;POINT (-39.80495 -2.920481)', '2026-07-04 06:03:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.920487)'), GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.920481)'))) / (select extract(epoch from '2026-07-04 06:03:06'::timestamp) - extract(epoch from '2026-07-04 06:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804959 -2.920487)'), GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.920481)'))) / (select extract(epoch from '2026-07-04 06:03:06'::timestamp) - extract(epoch from '2026-07-04 06:03: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'), 47860, 'SRID=4674;POINT (-39.804928 -2.920463)', '2026-07-04 06:03:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.920481)'), GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.920463)'))) / (select extract(epoch from '2026-07-04 06:03:09'::timestamp) - extract(epoch from '2026-07-04 06:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80495 -2.920481)'), GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.920463)'))) / (select extract(epoch from '2026-07-04 06:03:09'::timestamp) - extract(epoch from '2026-07-04 06:03: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'), 47860, 'SRID=4674;POINT (-39.804911 -2.920452)', '2026-07-04 06:03:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.920463)'), GeomFromEWKT('SRID=4674;POINT (-39.804911 -2.920452)'))) / (select extract(epoch from '2026-07-04 06:03:11'::timestamp) - extract(epoch from '2026-07-04 06:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804928 -2.920463)'), GeomFromEWKT('SRID=4674;POINT (-39.804911 -2.920452)'))) / (select extract(epoch from '2026-07-04 06:03:11'::timestamp) - extract(epoch from '2026-07-04 06:03: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'), 47860, 'SRID=4674;POINT (-39.804903 -2.920452)', '2026-07-04 06:03:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804911 -2.920452)'), GeomFromEWKT('SRID=4674;POINT (-39.804903 -2.920452)'))) / (select extract(epoch from '2026-07-04 06:03:12'::timestamp) - extract(epoch from '2026-07-04 06:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804911 -2.920452)'), GeomFromEWKT('SRID=4674;POINT (-39.804903 -2.920452)'))) / (select extract(epoch from '2026-07-04 06:03:12'::timestamp) - extract(epoch from '2026-07-04 06:03: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'), 47860, 'SRID=4674;POINT (-39.804894 -2.920448)', '2026-07-04 06:03:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804903 -2.920452)'), GeomFromEWKT('SRID=4674;POINT (-39.804894 -2.920448)'))) / (select extract(epoch from '2026-07-04 06:03:13'::timestamp) - extract(epoch from '2026-07-04 06:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804903 -2.920452)'), GeomFromEWKT('SRID=4674;POINT (-39.804894 -2.920448)'))) / (select extract(epoch from '2026-07-04 06:03:13'::timestamp) - extract(epoch from '2026-07-04 06:03: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'), 47860, 'SRID=4674;POINT (-39.804866 -2.920434)', '2026-07-04 06:03:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804894 -2.920448)'), GeomFromEWKT('SRID=4674;POINT (-39.804866 -2.920434)'))) / (select extract(epoch from '2026-07-04 06:03:17'::timestamp) - extract(epoch from '2026-07-04 06:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804894 -2.920448)'), GeomFromEWKT('SRID=4674;POINT (-39.804866 -2.920434)'))) / (select extract(epoch from '2026-07-04 06:03:17'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.804805 -2.920398)', '2026-07-04 06:03:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804866 -2.920434)'), GeomFromEWKT('SRID=4674;POINT (-39.804805 -2.920398)'))) / (select extract(epoch from '2026-07-04 06:03:25'::timestamp) - extract(epoch from '2026-07-04 06:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804866 -2.920434)'), GeomFromEWKT('SRID=4674;POINT (-39.804805 -2.920398)'))) / (select extract(epoch from '2026-07-04 06:03:25'::timestamp) - extract(epoch from '2026-07-04 06:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804755 -2.920352)', '2026-07-04 06:03:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804805 -2.920398)'), GeomFromEWKT('SRID=4674;POINT (-39.804755 -2.920352)'))) / (select extract(epoch from '2026-07-04 06:03:33'::timestamp) - extract(epoch from '2026-07-04 06:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804805 -2.920398)'), GeomFromEWKT('SRID=4674;POINT (-39.804755 -2.920352)'))) / (select extract(epoch from '2026-07-04 06:03:33'::timestamp) - extract(epoch from '2026-07-04 06:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804703 -2.920312)', '2026-07-04 06:03:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804755 -2.920352)'), GeomFromEWKT('SRID=4674;POINT (-39.804703 -2.920312)'))) / (select extract(epoch from '2026-07-04 06:03:41'::timestamp) - extract(epoch from '2026-07-04 06:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804755 -2.920352)'), GeomFromEWKT('SRID=4674;POINT (-39.804703 -2.920312)'))) / (select extract(epoch from '2026-07-04 06:03:41'::timestamp) - extract(epoch from '2026-07-04 06:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804654 -2.920278)', '2026-07-04 06:03:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804703 -2.920312)'), GeomFromEWKT('SRID=4674;POINT (-39.804654 -2.920278)'))) / (select extract(epoch from '2026-07-04 06:03:49'::timestamp) - extract(epoch from '2026-07-04 06:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804703 -2.920312)'), GeomFromEWKT('SRID=4674;POINT (-39.804654 -2.920278)'))) / (select extract(epoch from '2026-07-04 06:03:49'::timestamp) - extract(epoch from '2026-07-04 06:03: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'), 47860, 'SRID=4674;POINT (-39.804617 -2.920258)', '2026-07-04 06:03:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804654 -2.920278)'), GeomFromEWKT('SRID=4674;POINT (-39.804617 -2.920258)'))) / (select extract(epoch from '2026-07-04 06:03:57'::timestamp) - extract(epoch from '2026-07-04 06:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804654 -2.920278)'), GeomFromEWKT('SRID=4674;POINT (-39.804617 -2.920258)'))) / (select extract(epoch from '2026-07-04 06:03:57'::timestamp) - extract(epoch from '2026-07-04 06:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804569 -2.920228)', '2026-07-04 06:04:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804617 -2.920258)'), GeomFromEWKT('SRID=4674;POINT (-39.804569 -2.920228)'))) / (select extract(epoch from '2026-07-04 06:04:06'::timestamp) - extract(epoch from '2026-07-04 06:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804617 -2.920258)'), GeomFromEWKT('SRID=4674;POINT (-39.804569 -2.920228)'))) / (select extract(epoch from '2026-07-04 06:04:06'::timestamp) - extract(epoch from '2026-07-04 06:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804519 -2.92018)', '2026-07-04 06:04:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804569 -2.920228)'), GeomFromEWKT('SRID=4674;POINT (-39.804519 -2.92018)'))) / (select extract(epoch from '2026-07-04 06:04:14'::timestamp) - extract(epoch from '2026-07-04 06:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804569 -2.920228)'), GeomFromEWKT('SRID=4674;POINT (-39.804519 -2.92018)'))) / (select extract(epoch from '2026-07-04 06:04:14'::timestamp) - extract(epoch from '2026-07-04 06:04: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'), 47860, 'SRID=4674;POINT (-39.804444 -2.920142)', '2026-07-04 06:04:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804519 -2.92018)'), GeomFromEWKT('SRID=4674;POINT (-39.804444 -2.920142)'))) / (select extract(epoch from '2026-07-04 06:04:24'::timestamp) - extract(epoch from '2026-07-04 06:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804519 -2.92018)'), GeomFromEWKT('SRID=4674;POINT (-39.804444 -2.920142)'))) / (select extract(epoch from '2026-07-04 06:04:24'::timestamp) - extract(epoch from '2026-07-04 06:04: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'), 47860, 'SRID=4674;POINT (-39.804383 -2.92012)', '2026-07-04 06:04:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804444 -2.920142)'), GeomFromEWKT('SRID=4674;POINT (-39.804383 -2.92012)'))) / (select extract(epoch from '2026-07-04 06:04:32'::timestamp) - extract(epoch from '2026-07-04 06:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804444 -2.920142)'), GeomFromEWKT('SRID=4674;POINT (-39.804383 -2.92012)'))) / (select extract(epoch from '2026-07-04 06:04:32'::timestamp) - extract(epoch from '2026-07-04 06:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804353 -2.920113)', '2026-07-04 06:04:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804383 -2.92012)'), GeomFromEWKT('SRID=4674;POINT (-39.804353 -2.920113)'))) / (select extract(epoch from '2026-07-04 06:04:36'::timestamp) - extract(epoch from '2026-07-04 06:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804383 -2.92012)'), GeomFromEWKT('SRID=4674;POINT (-39.804353 -2.920113)'))) / (select extract(epoch from '2026-07-04 06:04:36'::timestamp) - extract(epoch from '2026-07-04 06:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804316 -2.920099)', '2026-07-04 06:04:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804353 -2.920113)'), GeomFromEWKT('SRID=4674;POINT (-39.804316 -2.920099)'))) / (select extract(epoch from '2026-07-04 06:04:40'::timestamp) - extract(epoch from '2026-07-04 06:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804353 -2.920113)'), GeomFromEWKT('SRID=4674;POINT (-39.804316 -2.920099)'))) / (select extract(epoch from '2026-07-04 06:04:40'::timestamp) - extract(epoch from '2026-07-04 06:04: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'), 47860, 'SRID=4674;POINT (-39.804299 -2.920094)', '2026-07-04 06:04:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804316 -2.920099)'), GeomFromEWKT('SRID=4674;POINT (-39.804299 -2.920094)'))) / (select extract(epoch from '2026-07-04 06:04:42'::timestamp) - extract(epoch from '2026-07-04 06:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804316 -2.920099)'), GeomFromEWKT('SRID=4674;POINT (-39.804299 -2.920094)'))) / (select extract(epoch from '2026-07-04 06:04:42'::timestamp) - extract(epoch from '2026-07-04 06:04: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'), 47860, 'SRID=4674;POINT (-39.80427 -2.920091)', '2026-07-04 06:04:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804299 -2.920094)'), GeomFromEWKT('SRID=4674;POINT (-39.80427 -2.920091)'))) / (select extract(epoch from '2026-07-04 06:04:46'::timestamp) - extract(epoch from '2026-07-04 06:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804299 -2.920094)'), GeomFromEWKT('SRID=4674;POINT (-39.80427 -2.920091)'))) / (select extract(epoch from '2026-07-04 06:04:46'::timestamp) - extract(epoch from '2026-07-04 06:04: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'), 47860, 'SRID=4674;POINT (-39.804179 -2.920037)', '2026-07-04 06:04:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80427 -2.920091)'), GeomFromEWKT('SRID=4674;POINT (-39.804179 -2.920037)'))) / (select extract(epoch from '2026-07-04 06:04:59'::timestamp) - extract(epoch from '2026-07-04 06:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80427 -2.920091)'), GeomFromEWKT('SRID=4674;POINT (-39.804179 -2.920037)'))) / (select extract(epoch from '2026-07-04 06:04:59'::timestamp) - extract(epoch from '2026-07-04 06:04: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'), 47860, 'SRID=4674;POINT (-39.804148 -2.920004)', '2026-07-04 06:05:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804179 -2.920037)'), GeomFromEWKT('SRID=4674;POINT (-39.804148 -2.920004)'))) / (select extract(epoch from '2026-07-04 06:05:04'::timestamp) - extract(epoch from '2026-07-04 06:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804179 -2.920037)'), GeomFromEWKT('SRID=4674;POINT (-39.804148 -2.920004)'))) / (select extract(epoch from '2026-07-04 06:05:04'::timestamp) - extract(epoch from '2026-07-04 06:04: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'), 47860, 'SRID=4674;POINT (-39.804136 -2.91999)', '2026-07-04 06:05:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804148 -2.920004)'), GeomFromEWKT('SRID=4674;POINT (-39.804136 -2.91999)'))) / (select extract(epoch from '2026-07-04 06:05:06'::timestamp) - extract(epoch from '2026-07-04 06:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804148 -2.920004)'), GeomFromEWKT('SRID=4674;POINT (-39.804136 -2.91999)'))) / (select extract(epoch from '2026-07-04 06:05:06'::timestamp) - extract(epoch from '2026-07-04 06:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.804076 -2.919939)', '2026-07-04 06:05:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804136 -2.91999)'), GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.919939)'))) / (select extract(epoch from '2026-07-04 06:05:14'::timestamp) - extract(epoch from '2026-07-04 06:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804136 -2.91999)'), GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.919939)'))) / (select extract(epoch from '2026-07-04 06:05:14'::timestamp) - extract(epoch from '2026-07-04 06:05: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'), 47860, 'SRID=4674;POINT (-39.804036 -2.919905)', '2026-07-04 06:05:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.919939)'), GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.919905)'))) / (select extract(epoch from '2026-07-04 06:05:21'::timestamp) - extract(epoch from '2026-07-04 06:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804076 -2.919939)'), GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.919905)'))) / (select extract(epoch from '2026-07-04 06:05:21'::timestamp) - extract(epoch from '2026-07-04 06:05: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'), 47860, 'SRID=4674;POINT (-39.803992 -2.919856)', '2026-07-04 06:05:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.919905)'), GeomFromEWKT('SRID=4674;POINT (-39.803992 -2.919856)'))) / (select extract(epoch from '2026-07-04 06:05:28'::timestamp) - extract(epoch from '2026-07-04 06:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.804036 -2.919905)'), GeomFromEWKT('SRID=4674;POINT (-39.803992 -2.919856)'))) / (select extract(epoch from '2026-07-04 06:05:28'::timestamp) - extract(epoch from '2026-07-04 06:05: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'), 47860, 'SRID=4674;POINT (-39.803944 -2.919827)', '2026-07-04 06:05:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803992 -2.919856)'), GeomFromEWKT('SRID=4674;POINT (-39.803944 -2.919827)'))) / (select extract(epoch from '2026-07-04 06:05:36'::timestamp) - extract(epoch from '2026-07-04 06:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803992 -2.919856)'), GeomFromEWKT('SRID=4674;POINT (-39.803944 -2.919827)'))) / (select extract(epoch from '2026-07-04 06:05:36'::timestamp) - extract(epoch from '2026-07-04 06:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803895 -2.919786)', '2026-07-04 06:05:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803944 -2.919827)'), GeomFromEWKT('SRID=4674;POINT (-39.803895 -2.919786)'))) / (select extract(epoch from '2026-07-04 06:05:45'::timestamp) - extract(epoch from '2026-07-04 06:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803944 -2.919827)'), GeomFromEWKT('SRID=4674;POINT (-39.803895 -2.919786)'))) / (select extract(epoch from '2026-07-04 06:05:45'::timestamp) - extract(epoch from '2026-07-04 06:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803846 -2.919764)', '2026-07-04 06:05:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803895 -2.919786)'), GeomFromEWKT('SRID=4674;POINT (-39.803846 -2.919764)'))) / (select extract(epoch from '2026-07-04 06:05:54'::timestamp) - extract(epoch from '2026-07-04 06:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803895 -2.919786)'), GeomFromEWKT('SRID=4674;POINT (-39.803846 -2.919764)'))) / (select extract(epoch from '2026-07-04 06:05:54'::timestamp) - extract(epoch from '2026-07-04 06:05: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'), 47860, 'SRID=4674;POINT (-39.803776 -2.919732)', '2026-07-04 06:06:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803846 -2.919764)'), GeomFromEWKT('SRID=4674;POINT (-39.803776 -2.919732)'))) / (select extract(epoch from '2026-07-04 06:06:05'::timestamp) - extract(epoch from '2026-07-04 06:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803846 -2.919764)'), GeomFromEWKT('SRID=4674;POINT (-39.803776 -2.919732)'))) / (select extract(epoch from '2026-07-04 06:06:05'::timestamp) - extract(epoch from '2026-07-04 06:05: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'), 47860, 'SRID=4674;POINT (-39.803711 -2.919695)', '2026-07-04 06:06:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803776 -2.919732)'), GeomFromEWKT('SRID=4674;POINT (-39.803711 -2.919695)'))) / (select extract(epoch from '2026-07-04 06:06:15'::timestamp) - extract(epoch from '2026-07-04 06:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803776 -2.919732)'), GeomFromEWKT('SRID=4674;POINT (-39.803711 -2.919695)'))) / (select extract(epoch from '2026-07-04 06:06:15'::timestamp) - extract(epoch from '2026-07-04 06:06: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'), 47860, 'SRID=4674;POINT (-39.803648 -2.919658)', '2026-07-04 06:06:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803711 -2.919695)'), GeomFromEWKT('SRID=4674;POINT (-39.803648 -2.919658)'))) / (select extract(epoch from '2026-07-04 06:06:25'::timestamp) - extract(epoch from '2026-07-04 06:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803711 -2.919695)'), GeomFromEWKT('SRID=4674;POINT (-39.803648 -2.919658)'))) / (select extract(epoch from '2026-07-04 06:06:25'::timestamp) - extract(epoch from '2026-07-04 06:06: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'), 47860, 'SRID=4674;POINT (-39.80363 -2.919659)', '2026-07-04 06:06:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803648 -2.919658)'), GeomFromEWKT('SRID=4674;POINT (-39.80363 -2.919659)'))) / (select extract(epoch from '2026-07-04 06:06:33'::timestamp) - extract(epoch from '2026-07-04 06:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803648 -2.919658)'), GeomFromEWKT('SRID=4674;POINT (-39.80363 -2.919659)'))) / (select extract(epoch from '2026-07-04 06:06:33'::timestamp) - extract(epoch from '2026-07-04 06:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803685 -2.919626)', '2026-07-04 06:06:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80363 -2.919659)'), GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919626)'))) / (select extract(epoch from '2026-07-04 06:06:53'::timestamp) - extract(epoch from '2026-07-04 06:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80363 -2.919659)'), GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919626)'))) / (select extract(epoch from '2026-07-04 06:06:53'::timestamp) - extract(epoch from '2026-07-04 06:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803723 -2.919594)', '2026-07-04 06:07:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919626)'), GeomFromEWKT('SRID=4674;POINT (-39.803723 -2.919594)'))) / (select extract(epoch from '2026-07-04 06:07:02'::timestamp) - extract(epoch from '2026-07-04 06:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919626)'), GeomFromEWKT('SRID=4674;POINT (-39.803723 -2.919594)'))) / (select extract(epoch from '2026-07-04 06:07:02'::timestamp) - extract(epoch from '2026-07-04 06:06: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'), 47860, 'SRID=4674;POINT (-39.803769 -2.919544)', '2026-07-04 06:07:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803723 -2.919594)'), GeomFromEWKT('SRID=4674;POINT (-39.803769 -2.919544)'))) / (select extract(epoch from '2026-07-04 06:07:14'::timestamp) - extract(epoch from '2026-07-04 06:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803723 -2.919594)'), GeomFromEWKT('SRID=4674;POINT (-39.803769 -2.919544)'))) / (select extract(epoch from '2026-07-04 06:07:14'::timestamp) - extract(epoch from '2026-07-04 06:07: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'), 47860, 'SRID=4674;POINT (-39.803791 -2.919516)', '2026-07-04 06:07:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803769 -2.919544)'), GeomFromEWKT('SRID=4674;POINT (-39.803791 -2.919516)'))) / (select extract(epoch from '2026-07-04 06:07:21'::timestamp) - extract(epoch from '2026-07-04 06:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803769 -2.919544)'), GeomFromEWKT('SRID=4674;POINT (-39.803791 -2.919516)'))) / (select extract(epoch from '2026-07-04 06:07:21'::timestamp) - extract(epoch from '2026-07-04 06:07: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'), 47860, 'SRID=4674;POINT (-39.803808 -2.919501)', '2026-07-04 06:07:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803791 -2.919516)'), GeomFromEWKT('SRID=4674;POINT (-39.803808 -2.919501)'))) / (select extract(epoch from '2026-07-04 06:07:28'::timestamp) - extract(epoch from '2026-07-04 06:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803791 -2.919516)'), GeomFromEWKT('SRID=4674;POINT (-39.803808 -2.919501)'))) / (select extract(epoch from '2026-07-04 06:07:28'::timestamp) - extract(epoch from '2026-07-04 06:07: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'), 47860, 'SRID=4674;POINT (-39.803841 -2.919527)', '2026-07-04 06:09:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803808 -2.919501)'), GeomFromEWKT('SRID=4674;POINT (-39.803841 -2.919527)'))) / (select extract(epoch from '2026-07-04 06:09:42'::timestamp) - extract(epoch from '2026-07-04 06:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803808 -2.919501)'), GeomFromEWKT('SRID=4674;POINT (-39.803841 -2.919527)'))) / (select extract(epoch from '2026-07-04 06:09:42'::timestamp) - extract(epoch from '2026-07-04 06:07: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'), 47860, 'SRID=4674;POINT (-39.803801 -2.91956)', '2026-07-04 06:12:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803841 -2.919527)'), GeomFromEWKT('SRID=4674;POINT (-39.803801 -2.91956)'))) / (select extract(epoch from '2026-07-04 06:12:54'::timestamp) - extract(epoch from '2026-07-04 06:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803841 -2.919527)'), GeomFromEWKT('SRID=4674;POINT (-39.803801 -2.91956)'))) / (select extract(epoch from '2026-07-04 06:12:54'::timestamp) - extract(epoch from '2026-07-04 06:09: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'), 47860, 'SRID=4674;POINT (-39.803779 -2.919599)', '2026-07-04 06:13:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803801 -2.91956)'), GeomFromEWKT('SRID=4674;POINT (-39.803779 -2.919599)'))) / (select extract(epoch from '2026-07-04 06:13:02'::timestamp) - extract(epoch from '2026-07-04 06:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803801 -2.91956)'), GeomFromEWKT('SRID=4674;POINT (-39.803779 -2.919599)'))) / (select extract(epoch from '2026-07-04 06:13:02'::timestamp) - extract(epoch from '2026-07-04 06:12: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'), 47860, 'SRID=4674;POINT (-39.803737 -2.919627)', '2026-07-04 06:13:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803779 -2.919599)'), GeomFromEWKT('SRID=4674;POINT (-39.803737 -2.919627)'))) / (select extract(epoch from '2026-07-04 06:13:09'::timestamp) - extract(epoch from '2026-07-04 06:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803779 -2.919599)'), GeomFromEWKT('SRID=4674;POINT (-39.803737 -2.919627)'))) / (select extract(epoch from '2026-07-04 06:13:09'::timestamp) - extract(epoch from '2026-07-04 06:13: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'), 47860, 'SRID=4674;POINT (-39.803729 -2.919631)', '2026-07-04 06:13:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803737 -2.919627)'), GeomFromEWKT('SRID=4674;POINT (-39.803729 -2.919631)'))) / (select extract(epoch from '2026-07-04 06:13:10'::timestamp) - extract(epoch from '2026-07-04 06:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803737 -2.919627)'), GeomFromEWKT('SRID=4674;POINT (-39.803729 -2.919631)'))) / (select extract(epoch from '2026-07-04 06:13:10'::timestamp) - extract(epoch from '2026-07-04 06:13: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'), 47860, 'SRID=4674;POINT (-39.803708 -2.91965)', '2026-07-04 06:13:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803729 -2.919631)'), GeomFromEWKT('SRID=4674;POINT (-39.803708 -2.91965)'))) / (select extract(epoch from '2026-07-04 06:13:14'::timestamp) - extract(epoch from '2026-07-04 06:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803729 -2.919631)'), GeomFromEWKT('SRID=4674;POINT (-39.803708 -2.91965)'))) / (select extract(epoch from '2026-07-04 06:13:14'::timestamp) - extract(epoch from '2026-07-04 06:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803693 -2.919661)', '2026-07-04 06:13:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803708 -2.91965)'), GeomFromEWKT('SRID=4674;POINT (-39.803693 -2.919661)'))) / (select extract(epoch from '2026-07-04 06:13:17'::timestamp) - extract(epoch from '2026-07-04 06:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803708 -2.91965)'), GeomFromEWKT('SRID=4674;POINT (-39.803693 -2.919661)'))) / (select extract(epoch from '2026-07-04 06:13:17'::timestamp) - extract(epoch from '2026-07-04 06:13: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'), 47860, 'SRID=4674;POINT (-39.803671 -2.919679)', '2026-07-04 06:13:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803693 -2.919661)'), GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919679)'))) / (select extract(epoch from '2026-07-04 06:13:24'::timestamp) - extract(epoch from '2026-07-04 06:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803693 -2.919661)'), GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919679)'))) / (select extract(epoch from '2026-07-04 06:13:24'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.803685 -2.919641)', '2026-07-04 06:13:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919679)'), GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919641)'))) / (select extract(epoch from '2026-07-04 06:13:59'::timestamp) - extract(epoch from '2026-07-04 06:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919679)'), GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919641)'))) / (select extract(epoch from '2026-07-04 06:13:59'::timestamp) - extract(epoch from '2026-07-04 06:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803671 -2.919592)', '2026-07-04 06:14:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919641)'), GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919592)'))) / (select extract(epoch from '2026-07-04 06:14:07'::timestamp) - extract(epoch from '2026-07-04 06:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803685 -2.919641)'), GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919592)'))) / (select extract(epoch from '2026-07-04 06:14:07'::timestamp) - extract(epoch from '2026-07-04 06:13: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'), 47860, 'SRID=4674;POINT (-39.803654 -2.919536)', '2026-07-04 06:14:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919592)'), GeomFromEWKT('SRID=4674;POINT (-39.803654 -2.919536)'))) / (select extract(epoch from '2026-07-04 06:14:15'::timestamp) - extract(epoch from '2026-07-04 06:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803671 -2.919592)'), GeomFromEWKT('SRID=4674;POINT (-39.803654 -2.919536)'))) / (select extract(epoch from '2026-07-04 06:14:15'::timestamp) - extract(epoch from '2026-07-04 06:14: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'), 47860, 'SRID=4674;POINT (-39.803645 -2.919484)', '2026-07-04 06:14:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803654 -2.919536)'), GeomFromEWKT('SRID=4674;POINT (-39.803645 -2.919484)'))) / (select extract(epoch from '2026-07-04 06:14:22'::timestamp) - extract(epoch from '2026-07-04 06:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803654 -2.919536)'), GeomFromEWKT('SRID=4674;POINT (-39.803645 -2.919484)'))) / (select extract(epoch from '2026-07-04 06:14:22'::timestamp) - extract(epoch from '2026-07-04 06:14: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'), 47860, 'SRID=4674;POINT (-39.803638 -2.91944)', '2026-07-04 06:14:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803645 -2.919484)'), GeomFromEWKT('SRID=4674;POINT (-39.803638 -2.91944)'))) / (select extract(epoch from '2026-07-04 06:14:28'::timestamp) - extract(epoch from '2026-07-04 06:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803645 -2.919484)'), GeomFromEWKT('SRID=4674;POINT (-39.803638 -2.91944)'))) / (select extract(epoch from '2026-07-04 06:14:28'::timestamp) - extract(epoch from '2026-07-04 06:14: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'), 47860, 'SRID=4674;POINT (-39.803636 -2.919418)', '2026-07-04 06:14:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803638 -2.91944)'), GeomFromEWKT('SRID=4674;POINT (-39.803636 -2.919418)'))) / (select extract(epoch from '2026-07-04 06:14:31'::timestamp) - extract(epoch from '2026-07-04 06:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803638 -2.91944)'), GeomFromEWKT('SRID=4674;POINT (-39.803636 -2.919418)'))) / (select extract(epoch from '2026-07-04 06:14:31'::timestamp) - extract(epoch from '2026-07-04 06:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803626 -2.919395)', '2026-07-04 06:14:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803636 -2.919418)'), GeomFromEWKT('SRID=4674;POINT (-39.803626 -2.919395)'))) / (select extract(epoch from '2026-07-04 06:14:35'::timestamp) - extract(epoch from '2026-07-04 06:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803636 -2.919418)'), GeomFromEWKT('SRID=4674;POINT (-39.803626 -2.919395)'))) / (select extract(epoch from '2026-07-04 06:14:35'::timestamp) - extract(epoch from '2026-07-04 06:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803603 -2.919336)', '2026-07-04 06:14:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803626 -2.919395)'), GeomFromEWKT('SRID=4674;POINT (-39.803603 -2.919336)'))) / (select extract(epoch from '2026-07-04 06:14:44'::timestamp) - extract(epoch from '2026-07-04 06:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803626 -2.919395)'), GeomFromEWKT('SRID=4674;POINT (-39.803603 -2.919336)'))) / (select extract(epoch from '2026-07-04 06:14:44'::timestamp) - extract(epoch from '2026-07-04 06:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803587 -2.919291)', '2026-07-04 06:14:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803603 -2.919336)'), GeomFromEWKT('SRID=4674;POINT (-39.803587 -2.919291)'))) / (select extract(epoch from '2026-07-04 06:14:51'::timestamp) - extract(epoch from '2026-07-04 06:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803603 -2.919336)'), GeomFromEWKT('SRID=4674;POINT (-39.803587 -2.919291)'))) / (select extract(epoch from '2026-07-04 06:14:51'::timestamp) - extract(epoch from '2026-07-04 06:14: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'), 47860, 'SRID=4674;POINT (-39.803564 -2.919249)', '2026-07-04 06:14:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803587 -2.919291)'), GeomFromEWKT('SRID=4674;POINT (-39.803564 -2.919249)'))) / (select extract(epoch from '2026-07-04 06:14:58'::timestamp) - extract(epoch from '2026-07-04 06:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803587 -2.919291)'), GeomFromEWKT('SRID=4674;POINT (-39.803564 -2.919249)'))) / (select extract(epoch from '2026-07-04 06:14:58'::timestamp) - extract(epoch from '2026-07-04 06:14: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'), 47860, 'SRID=4674;POINT (-39.803537 -2.919208)', '2026-07-04 06:15:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803564 -2.919249)'), GeomFromEWKT('SRID=4674;POINT (-39.803537 -2.919208)'))) / (select extract(epoch from '2026-07-04 06:15:06'::timestamp) - extract(epoch from '2026-07-04 06:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803564 -2.919249)'), GeomFromEWKT('SRID=4674;POINT (-39.803537 -2.919208)'))) / (select extract(epoch from '2026-07-04 06:15:06'::timestamp) - extract(epoch from '2026-07-04 06:14: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'), 47860, 'SRID=4674;POINT (-39.803512 -2.919163)', '2026-07-04 06:15:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803537 -2.919208)'), GeomFromEWKT('SRID=4674;POINT (-39.803512 -2.919163)'))) / (select extract(epoch from '2026-07-04 06:15:14'::timestamp) - extract(epoch from '2026-07-04 06:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803537 -2.919208)'), GeomFromEWKT('SRID=4674;POINT (-39.803512 -2.919163)'))) / (select extract(epoch from '2026-07-04 06:15:14'::timestamp) - extract(epoch from '2026-07-04 06:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803489 -2.919119)', '2026-07-04 06:15:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803512 -2.919163)'), GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.919119)'))) / (select extract(epoch from '2026-07-04 06:15:22'::timestamp) - extract(epoch from '2026-07-04 06:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803512 -2.919163)'), GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.919119)'))) / (select extract(epoch from '2026-07-04 06:15:22'::timestamp) - extract(epoch from '2026-07-04 06:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803471 -2.919071)', '2026-07-04 06:15:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.919119)'), GeomFromEWKT('SRID=4674;POINT (-39.803471 -2.919071)'))) / (select extract(epoch from '2026-07-04 06:15:29'::timestamp) - extract(epoch from '2026-07-04 06:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.919119)'), GeomFromEWKT('SRID=4674;POINT (-39.803471 -2.919071)'))) / (select extract(epoch from '2026-07-04 06:15:29'::timestamp) - extract(epoch from '2026-07-04 06:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803461 -2.919025)', '2026-07-04 06:15:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803471 -2.919071)'), GeomFromEWKT('SRID=4674;POINT (-39.803461 -2.919025)'))) / (select extract(epoch from '2026-07-04 06:15:36'::timestamp) - extract(epoch from '2026-07-04 06:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803471 -2.919071)'), GeomFromEWKT('SRID=4674;POINT (-39.803461 -2.919025)'))) / (select extract(epoch from '2026-07-04 06:15:36'::timestamp) - extract(epoch from '2026-07-04 06:15: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'), 47860, 'SRID=4674;POINT (-39.803444 -2.918964)', '2026-07-04 06:15:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803461 -2.919025)'), GeomFromEWKT('SRID=4674;POINT (-39.803444 -2.918964)'))) / (select extract(epoch from '2026-07-04 06:15:45'::timestamp) - extract(epoch from '2026-07-04 06:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803461 -2.919025)'), GeomFromEWKT('SRID=4674;POINT (-39.803444 -2.918964)'))) / (select extract(epoch from '2026-07-04 06:15:45'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.803426 -2.918914)', '2026-07-04 06:15:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803444 -2.918964)'), GeomFromEWKT('SRID=4674;POINT (-39.803426 -2.918914)'))) / (select extract(epoch from '2026-07-04 06:15:53'::timestamp) - extract(epoch from '2026-07-04 06:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803444 -2.918964)'), GeomFromEWKT('SRID=4674;POINT (-39.803426 -2.918914)'))) / (select extract(epoch from '2026-07-04 06:15:53'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.803391 -2.918879)', '2026-07-04 06:16:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803426 -2.918914)'), GeomFromEWKT('SRID=4674;POINT (-39.803391 -2.918879)'))) / (select extract(epoch from '2026-07-04 06:16:01'::timestamp) - extract(epoch from '2026-07-04 06:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803426 -2.918914)'), GeomFromEWKT('SRID=4674;POINT (-39.803391 -2.918879)'))) / (select extract(epoch from '2026-07-04 06:16:01'::timestamp) - extract(epoch from '2026-07-04 06:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803363 -2.918842)', '2026-07-04 06:16:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803391 -2.918879)'), GeomFromEWKT('SRID=4674;POINT (-39.803363 -2.918842)'))) / (select extract(epoch from '2026-07-04 06:16:06'::timestamp) - extract(epoch from '2026-07-04 06:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803391 -2.918879)'), GeomFromEWKT('SRID=4674;POINT (-39.803363 -2.918842)'))) / (select extract(epoch from '2026-07-04 06:16:06'::timestamp) - extract(epoch from '2026-07-04 06:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803356 -2.918837)', '2026-07-04 06:16:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803363 -2.918842)'), GeomFromEWKT('SRID=4674;POINT (-39.803356 -2.918837)'))) / (select extract(epoch from '2026-07-04 06:16:07'::timestamp) - extract(epoch from '2026-07-04 06:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803363 -2.918842)'), GeomFromEWKT('SRID=4674;POINT (-39.803356 -2.918837)'))) / (select extract(epoch from '2026-07-04 06:16:07'::timestamp) - extract(epoch from '2026-07-04 06:16: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'), 47860, 'SRID=4674;POINT (-39.80334 -2.91882)', '2026-07-04 06:16:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803356 -2.918837)'), GeomFromEWKT('SRID=4674;POINT (-39.80334 -2.91882)'))) / (select extract(epoch from '2026-07-04 06:16:10'::timestamp) - extract(epoch from '2026-07-04 06:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803356 -2.918837)'), GeomFromEWKT('SRID=4674;POINT (-39.80334 -2.91882)'))) / (select extract(epoch from '2026-07-04 06:16:10'::timestamp) - extract(epoch from '2026-07-04 06:16: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'), 47860, 'SRID=4674;POINT (-39.803327 -2.918799)', '2026-07-04 06:16:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80334 -2.91882)'), GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.918799)'))) / (select extract(epoch from '2026-07-04 06:16:14'::timestamp) - extract(epoch from '2026-07-04 06:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80334 -2.91882)'), GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.918799)'))) / (select extract(epoch from '2026-07-04 06:16:14'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.803296 -2.918763)', '2026-07-04 06:16:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.918799)'), GeomFromEWKT('SRID=4674;POINT (-39.803296 -2.918763)'))) / (select extract(epoch from '2026-07-04 06:16:21'::timestamp) - extract(epoch from '2026-07-04 06:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.918799)'), GeomFromEWKT('SRID=4674;POINT (-39.803296 -2.918763)'))) / (select extract(epoch from '2026-07-04 06:16:21'::timestamp) - extract(epoch from '2026-07-04 06:16: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'), 47860, 'SRID=4674;POINT (-39.803275 -2.918726)', '2026-07-04 06:16:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803296 -2.918763)'), GeomFromEWKT('SRID=4674;POINT (-39.803275 -2.918726)'))) / (select extract(epoch from '2026-07-04 06:16:28'::timestamp) - extract(epoch from '2026-07-04 06:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803296 -2.918763)'), GeomFromEWKT('SRID=4674;POINT (-39.803275 -2.918726)'))) / (select extract(epoch from '2026-07-04 06:16:28'::timestamp) - extract(epoch from '2026-07-04 06:16: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'), 47860, 'SRID=4674;POINT (-39.803238 -2.918692)', '2026-07-04 06:16:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803275 -2.918726)'), GeomFromEWKT('SRID=4674;POINT (-39.803238 -2.918692)'))) / (select extract(epoch from '2026-07-04 06:16:36'::timestamp) - extract(epoch from '2026-07-04 06:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803275 -2.918726)'), GeomFromEWKT('SRID=4674;POINT (-39.803238 -2.918692)'))) / (select extract(epoch from '2026-07-04 06:16:36'::timestamp) - extract(epoch from '2026-07-04 06:16: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'), 47860, 'SRID=4674;POINT (-39.803216 -2.918657)', '2026-07-04 06:16:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803238 -2.918692)'), GeomFromEWKT('SRID=4674;POINT (-39.803216 -2.918657)'))) / (select extract(epoch from '2026-07-04 06:16:42'::timestamp) - extract(epoch from '2026-07-04 06:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803238 -2.918692)'), GeomFromEWKT('SRID=4674;POINT (-39.803216 -2.918657)'))) / (select extract(epoch from '2026-07-04 06:16:42'::timestamp) - extract(epoch from '2026-07-04 06:16: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'), 47860, 'SRID=4674;POINT (-39.803176 -2.918609)', '2026-07-04 06:16:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803216 -2.918657)'), GeomFromEWKT('SRID=4674;POINT (-39.803176 -2.918609)'))) / (select extract(epoch from '2026-07-04 06:16:51'::timestamp) - extract(epoch from '2026-07-04 06:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803216 -2.918657)'), GeomFromEWKT('SRID=4674;POINT (-39.803176 -2.918609)'))) / (select extract(epoch from '2026-07-04 06:16:51'::timestamp) - extract(epoch from '2026-07-04 06:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803147 -2.918569)', '2026-07-04 06:16:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803176 -2.918609)'), GeomFromEWKT('SRID=4674;POINT (-39.803147 -2.918569)'))) / (select extract(epoch from '2026-07-04 06:16:58'::timestamp) - extract(epoch from '2026-07-04 06:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803176 -2.918609)'), GeomFromEWKT('SRID=4674;POINT (-39.803147 -2.918569)'))) / (select extract(epoch from '2026-07-04 06:16:58'::timestamp) - extract(epoch from '2026-07-04 06:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803114 -2.918527)', '2026-07-04 06:17:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803147 -2.918569)'), GeomFromEWKT('SRID=4674;POINT (-39.803114 -2.918527)'))) / (select extract(epoch from '2026-07-04 06:17:06'::timestamp) - extract(epoch from '2026-07-04 06:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803147 -2.918569)'), GeomFromEWKT('SRID=4674;POINT (-39.803114 -2.918527)'))) / (select extract(epoch from '2026-07-04 06:17:06'::timestamp) - extract(epoch from '2026-07-04 06:16: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'), 47860, 'SRID=4674;POINT (-39.803087 -2.918494)', '2026-07-04 06:17:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803114 -2.918527)'), GeomFromEWKT('SRID=4674;POINT (-39.803087 -2.918494)'))) / (select extract(epoch from '2026-07-04 06:17:14'::timestamp) - extract(epoch from '2026-07-04 06:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803114 -2.918527)'), GeomFromEWKT('SRID=4674;POINT (-39.803087 -2.918494)'))) / (select extract(epoch from '2026-07-04 06:17:14'::timestamp) - extract(epoch from '2026-07-04 06:17: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'), 47860, 'SRID=4674;POINT (-39.803059 -2.918465)', '2026-07-04 06:17:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803087 -2.918494)'), GeomFromEWKT('SRID=4674;POINT (-39.803059 -2.918465)'))) / (select extract(epoch from '2026-07-04 06:17:20'::timestamp) - extract(epoch from '2026-07-04 06:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803087 -2.918494)'), GeomFromEWKT('SRID=4674;POINT (-39.803059 -2.918465)'))) / (select extract(epoch from '2026-07-04 06:17:20'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.80303 -2.918432)', '2026-07-04 06:17:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803059 -2.918465)'), GeomFromEWKT('SRID=4674;POINT (-39.80303 -2.918432)'))) / (select extract(epoch from '2026-07-04 06:17:27'::timestamp) - extract(epoch from '2026-07-04 06:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803059 -2.918465)'), GeomFromEWKT('SRID=4674;POINT (-39.80303 -2.918432)'))) / (select extract(epoch from '2026-07-04 06:17:27'::timestamp) - extract(epoch from '2026-07-04 06:17: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'), 47860, 'SRID=4674;POINT (-39.803002 -2.918408)', '2026-07-04 06:17:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80303 -2.918432)'), GeomFromEWKT('SRID=4674;POINT (-39.803002 -2.918408)'))) / (select extract(epoch from '2026-07-04 06:17:33'::timestamp) - extract(epoch from '2026-07-04 06:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80303 -2.918432)'), GeomFromEWKT('SRID=4674;POINT (-39.803002 -2.918408)'))) / (select extract(epoch from '2026-07-04 06:17:33'::timestamp) - extract(epoch from '2026-07-04 06:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.80299 -2.918399)', '2026-07-04 06:17:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803002 -2.918408)'), GeomFromEWKT('SRID=4674;POINT (-39.80299 -2.918399)'))) / (select extract(epoch from '2026-07-04 06:17:35'::timestamp) - extract(epoch from '2026-07-04 06:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803002 -2.918408)'), GeomFromEWKT('SRID=4674;POINT (-39.80299 -2.918399)'))) / (select extract(epoch from '2026-07-04 06:17:35'::timestamp) - extract(epoch from '2026-07-04 06:17: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'), 47860, 'SRID=4674;POINT (-39.802959 -2.918373)', '2026-07-04 06:17:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80299 -2.918399)'), GeomFromEWKT('SRID=4674;POINT (-39.802959 -2.918373)'))) / (select extract(epoch from '2026-07-04 06:17:41'::timestamp) - extract(epoch from '2026-07-04 06:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80299 -2.918399)'), GeomFromEWKT('SRID=4674;POINT (-39.802959 -2.918373)'))) / (select extract(epoch from '2026-07-04 06:17:41'::timestamp) - extract(epoch from '2026-07-04 06:17: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'), 47860, 'SRID=4674;POINT (-39.802925 -2.918329)', '2026-07-04 06:17:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802959 -2.918373)'), GeomFromEWKT('SRID=4674;POINT (-39.802925 -2.918329)'))) / (select extract(epoch from '2026-07-04 06:17:49'::timestamp) - extract(epoch from '2026-07-04 06:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802959 -2.918373)'), GeomFromEWKT('SRID=4674;POINT (-39.802925 -2.918329)'))) / (select extract(epoch from '2026-07-04 06:17:49'::timestamp) - extract(epoch from '2026-07-04 06:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802899 -2.918297)', '2026-07-04 06:17:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802925 -2.918329)'), GeomFromEWKT('SRID=4674;POINT (-39.802899 -2.918297)'))) / (select extract(epoch from '2026-07-04 06:17:55'::timestamp) - extract(epoch from '2026-07-04 06:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802925 -2.918329)'), GeomFromEWKT('SRID=4674;POINT (-39.802899 -2.918297)'))) / (select extract(epoch from '2026-07-04 06:17:55'::timestamp) - extract(epoch from '2026-07-04 06:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802869 -2.918251)', '2026-07-04 06:18:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802899 -2.918297)'), GeomFromEWKT('SRID=4674;POINT (-39.802869 -2.918251)'))) / (select extract(epoch from '2026-07-04 06:18:03'::timestamp) - extract(epoch from '2026-07-04 06:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802899 -2.918297)'), GeomFromEWKT('SRID=4674;POINT (-39.802869 -2.918251)'))) / (select extract(epoch from '2026-07-04 06:18:03'::timestamp) - extract(epoch from '2026-07-04 06:17: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'), 47860, 'SRID=4674;POINT (-39.802844 -2.918223)', '2026-07-04 06:18:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802869 -2.918251)'), GeomFromEWKT('SRID=4674;POINT (-39.802844 -2.918223)'))) / (select extract(epoch from '2026-07-04 06:18:10'::timestamp) - extract(epoch from '2026-07-04 06:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802869 -2.918251)'), GeomFromEWKT('SRID=4674;POINT (-39.802844 -2.918223)'))) / (select extract(epoch from '2026-07-04 06:18:10'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.802814 -2.918186)', '2026-07-04 06:18:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802844 -2.918223)'), GeomFromEWKT('SRID=4674;POINT (-39.802814 -2.918186)'))) / (select extract(epoch from '2026-07-04 06:18:17'::timestamp) - extract(epoch from '2026-07-04 06:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802844 -2.918223)'), GeomFromEWKT('SRID=4674;POINT (-39.802814 -2.918186)'))) / (select extract(epoch from '2026-07-04 06:18:17'::timestamp) - extract(epoch from '2026-07-04 06:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.8028 -2.918171)', '2026-07-04 06:18:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802814 -2.918186)'), GeomFromEWKT('SRID=4674;POINT (-39.8028 -2.918171)'))) / (select extract(epoch from '2026-07-04 06:18:19'::timestamp) - extract(epoch from '2026-07-04 06:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802814 -2.918186)'), GeomFromEWKT('SRID=4674;POINT (-39.8028 -2.918171)'))) / (select extract(epoch from '2026-07-04 06:18:19'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.802782 -2.918158)', '2026-07-04 06:18:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8028 -2.918171)'), GeomFromEWKT('SRID=4674;POINT (-39.802782 -2.918158)'))) / (select extract(epoch from '2026-07-04 06:18:22'::timestamp) - extract(epoch from '2026-07-04 06:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8028 -2.918171)'), GeomFromEWKT('SRID=4674;POINT (-39.802782 -2.918158)'))) / (select extract(epoch from '2026-07-04 06:18:22'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.802769 -2.918137)', '2026-07-04 06:18:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802782 -2.918158)'), GeomFromEWKT('SRID=4674;POINT (-39.802769 -2.918137)'))) / (select extract(epoch from '2026-07-04 06:18:24'::timestamp) - extract(epoch from '2026-07-04 06:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802782 -2.918158)'), GeomFromEWKT('SRID=4674;POINT (-39.802769 -2.918137)'))) / (select extract(epoch from '2026-07-04 06:18:24'::timestamp) - extract(epoch from '2026-07-04 06:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802751 -2.918134)', '2026-07-04 06:18:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802769 -2.918137)'), GeomFromEWKT('SRID=4674;POINT (-39.802751 -2.918134)'))) / (select extract(epoch from '2026-07-04 06:18:26'::timestamp) - extract(epoch from '2026-07-04 06:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802769 -2.918137)'), GeomFromEWKT('SRID=4674;POINT (-39.802751 -2.918134)'))) / (select extract(epoch from '2026-07-04 06:18:26'::timestamp) - extract(epoch from '2026-07-04 06:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802737 -2.918127)', '2026-07-04 06:18:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802751 -2.918134)'), GeomFromEWKT('SRID=4674;POINT (-39.802737 -2.918127)'))) / (select extract(epoch from '2026-07-04 06:18:28'::timestamp) - extract(epoch from '2026-07-04 06:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802751 -2.918134)'), GeomFromEWKT('SRID=4674;POINT (-39.802737 -2.918127)'))) / (select extract(epoch from '2026-07-04 06:18:28'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.80272 -2.918109)', '2026-07-04 06:18:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802737 -2.918127)'), GeomFromEWKT('SRID=4674;POINT (-39.80272 -2.918109)'))) / (select extract(epoch from '2026-07-04 06:18:31'::timestamp) - extract(epoch from '2026-07-04 06:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802737 -2.918127)'), GeomFromEWKT('SRID=4674;POINT (-39.80272 -2.918109)'))) / (select extract(epoch from '2026-07-04 06:18:31'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.802706 -2.918093)', '2026-07-04 06:18:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80272 -2.918109)'), GeomFromEWKT('SRID=4674;POINT (-39.802706 -2.918093)'))) / (select extract(epoch from '2026-07-04 06:18:34'::timestamp) - extract(epoch from '2026-07-04 06:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80272 -2.918109)'), GeomFromEWKT('SRID=4674;POINT (-39.802706 -2.918093)'))) / (select extract(epoch from '2026-07-04 06:18:34'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.80269 -2.918077)', '2026-07-04 06:18:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802706 -2.918093)'), GeomFromEWKT('SRID=4674;POINT (-39.80269 -2.918077)'))) / (select extract(epoch from '2026-07-04 06:18:37'::timestamp) - extract(epoch from '2026-07-04 06:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802706 -2.918093)'), GeomFromEWKT('SRID=4674;POINT (-39.80269 -2.918077)'))) / (select extract(epoch from '2026-07-04 06:18:37'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.802668 -2.918043)', '2026-07-04 06:18:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80269 -2.918077)'), GeomFromEWKT('SRID=4674;POINT (-39.802668 -2.918043)'))) / (select extract(epoch from '2026-07-04 06:18:43'::timestamp) - extract(epoch from '2026-07-04 06:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80269 -2.918077)'), GeomFromEWKT('SRID=4674;POINT (-39.802668 -2.918043)'))) / (select extract(epoch from '2026-07-04 06:18:43'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.802641 -2.918004)', '2026-07-04 06:18:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802668 -2.918043)'), GeomFromEWKT('SRID=4674;POINT (-39.802641 -2.918004)'))) / (select extract(epoch from '2026-07-04 06:18:51'::timestamp) - extract(epoch from '2026-07-04 06:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802668 -2.918043)'), GeomFromEWKT('SRID=4674;POINT (-39.802641 -2.918004)'))) / (select extract(epoch from '2026-07-04 06:18:51'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.802621 -2.917983)', '2026-07-04 06:18:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802641 -2.918004)'), GeomFromEWKT('SRID=4674;POINT (-39.802621 -2.917983)'))) / (select extract(epoch from '2026-07-04 06:18:57'::timestamp) - extract(epoch from '2026-07-04 06:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802641 -2.918004)'), GeomFromEWKT('SRID=4674;POINT (-39.802621 -2.917983)'))) / (select extract(epoch from '2026-07-04 06:18:57'::timestamp) - extract(epoch from '2026-07-04 06:18: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'), 47860, 'SRID=4674;POINT (-39.802603 -2.917964)', '2026-07-04 06:19:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802621 -2.917983)'), GeomFromEWKT('SRID=4674;POINT (-39.802603 -2.917964)'))) / (select extract(epoch from '2026-07-04 06:19:02'::timestamp) - extract(epoch from '2026-07-04 06:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802621 -2.917983)'), GeomFromEWKT('SRID=4674;POINT (-39.802603 -2.917964)'))) / (select extract(epoch from '2026-07-04 06:19:02'::timestamp) - extract(epoch from '2026-07-04 06:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802594 -2.917953)', '2026-07-04 06:19:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802603 -2.917964)'), GeomFromEWKT('SRID=4674;POINT (-39.802594 -2.917953)'))) / (select extract(epoch from '2026-07-04 06:19:04'::timestamp) - extract(epoch from '2026-07-04 06:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802603 -2.917964)'), GeomFromEWKT('SRID=4674;POINT (-39.802594 -2.917953)'))) / (select extract(epoch from '2026-07-04 06:19:04'::timestamp) - extract(epoch from '2026-07-04 06:19: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'), 47860, 'SRID=4674;POINT (-39.802569 -2.917932)', '2026-07-04 06:19:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802594 -2.917953)'), GeomFromEWKT('SRID=4674;POINT (-39.802569 -2.917932)'))) / (select extract(epoch from '2026-07-04 06:19:09'::timestamp) - extract(epoch from '2026-07-04 06:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802594 -2.917953)'), GeomFromEWKT('SRID=4674;POINT (-39.802569 -2.917932)'))) / (select extract(epoch from '2026-07-04 06:19:09'::timestamp) - extract(epoch from '2026-07-04 06:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802561 -2.917928)', '2026-07-04 06:19:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802569 -2.917932)'), GeomFromEWKT('SRID=4674;POINT (-39.802561 -2.917928)'))) / (select extract(epoch from '2026-07-04 06:19:10'::timestamp) - extract(epoch from '2026-07-04 06:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802569 -2.917932)'), GeomFromEWKT('SRID=4674;POINT (-39.802561 -2.917928)'))) / (select extract(epoch from '2026-07-04 06:19:10'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.802551 -2.917912)', '2026-07-04 06:19:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802561 -2.917928)'), GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917912)'))) / (select extract(epoch from '2026-07-04 06:19:12'::timestamp) - extract(epoch from '2026-07-04 06:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802561 -2.917928)'), GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917912)'))) / (select extract(epoch from '2026-07-04 06:19:12'::timestamp) - extract(epoch from '2026-07-04 06:19: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'), 47860, 'SRID=4674;POINT (-39.802538 -2.917886)', '2026-07-04 06:19:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917912)'), GeomFromEWKT('SRID=4674;POINT (-39.802538 -2.917886)'))) / (select extract(epoch from '2026-07-04 06:19:15'::timestamp) - extract(epoch from '2026-07-04 06:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917912)'), GeomFromEWKT('SRID=4674;POINT (-39.802538 -2.917886)'))) / (select extract(epoch from '2026-07-04 06:19:15'::timestamp) - extract(epoch from '2026-07-04 06:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802531 -2.917882)', '2026-07-04 06:19:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802538 -2.917886)'), GeomFromEWKT('SRID=4674;POINT (-39.802531 -2.917882)'))) / (select extract(epoch from '2026-07-04 06:19:16'::timestamp) - extract(epoch from '2026-07-04 06:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802538 -2.917886)'), GeomFromEWKT('SRID=4674;POINT (-39.802531 -2.917882)'))) / (select extract(epoch from '2026-07-04 06:19:16'::timestamp) - extract(epoch from '2026-07-04 06:19: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'), 47860, 'SRID=4674;POINT (-39.802503 -2.917865)', '2026-07-04 06:19:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802531 -2.917882)'), GeomFromEWKT('SRID=4674;POINT (-39.802503 -2.917865)'))) / (select extract(epoch from '2026-07-04 06:19:21'::timestamp) - extract(epoch from '2026-07-04 06:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802531 -2.917882)'), GeomFromEWKT('SRID=4674;POINT (-39.802503 -2.917865)'))) / (select extract(epoch from '2026-07-04 06:19:21'::timestamp) - extract(epoch from '2026-07-04 06:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802467 -2.917834)', '2026-07-04 06:19:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802503 -2.917865)'), GeomFromEWKT('SRID=4674;POINT (-39.802467 -2.917834)'))) / (select extract(epoch from '2026-07-04 06:19:29'::timestamp) - extract(epoch from '2026-07-04 06:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802503 -2.917865)'), GeomFromEWKT('SRID=4674;POINT (-39.802467 -2.917834)'))) / (select extract(epoch from '2026-07-04 06:19:29'::timestamp) - extract(epoch from '2026-07-04 06:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.80244 -2.917799)', '2026-07-04 06:19:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802467 -2.917834)'), GeomFromEWKT('SRID=4674;POINT (-39.80244 -2.917799)'))) / (select extract(epoch from '2026-07-04 06:19:36'::timestamp) - extract(epoch from '2026-07-04 06:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802467 -2.917834)'), GeomFromEWKT('SRID=4674;POINT (-39.80244 -2.917799)'))) / (select extract(epoch from '2026-07-04 06:19:36'::timestamp) - extract(epoch from '2026-07-04 06:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802412 -2.917762)', '2026-07-04 06:19:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80244 -2.917799)'), GeomFromEWKT('SRID=4674;POINT (-39.802412 -2.917762)'))) / (select extract(epoch from '2026-07-04 06:19:44'::timestamp) - extract(epoch from '2026-07-04 06:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80244 -2.917799)'), GeomFromEWKT('SRID=4674;POINT (-39.802412 -2.917762)'))) / (select extract(epoch from '2026-07-04 06:19:44'::timestamp) - extract(epoch from '2026-07-04 06:19: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'), 47860, 'SRID=4674;POINT (-39.802398 -2.917729)', '2026-07-04 06:19:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802412 -2.917762)'), GeomFromEWKT('SRID=4674;POINT (-39.802398 -2.917729)'))) / (select extract(epoch from '2026-07-04 06:19:51'::timestamp) - extract(epoch from '2026-07-04 06:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802412 -2.917762)'), GeomFromEWKT('SRID=4674;POINT (-39.802398 -2.917729)'))) / (select extract(epoch from '2026-07-04 06:19:51'::timestamp) - extract(epoch from '2026-07-04 06:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802388 -2.917704)', '2026-07-04 06:19:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802398 -2.917729)'), GeomFromEWKT('SRID=4674;POINT (-39.802388 -2.917704)'))) / (select extract(epoch from '2026-07-04 06:19:59'::timestamp) - extract(epoch from '2026-07-04 06:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802398 -2.917729)'), GeomFromEWKT('SRID=4674;POINT (-39.802388 -2.917704)'))) / (select extract(epoch from '2026-07-04 06:19:59'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.80239 -2.917693)', '2026-07-04 06:20:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802388 -2.917704)'), GeomFromEWKT('SRID=4674;POINT (-39.80239 -2.917693)'))) / (select extract(epoch from '2026-07-04 06:20:01'::timestamp) - extract(epoch from '2026-07-04 06:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802388 -2.917704)'), GeomFromEWKT('SRID=4674;POINT (-39.80239 -2.917693)'))) / (select extract(epoch from '2026-07-04 06:20:01'::timestamp) - extract(epoch from '2026-07-04 06:19: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'), 47860, 'SRID=4674;POINT (-39.802415 -2.917677)', '2026-07-04 06:20:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80239 -2.917693)'), GeomFromEWKT('SRID=4674;POINT (-39.802415 -2.917677)'))) / (select extract(epoch from '2026-07-04 06:20:06'::timestamp) - extract(epoch from '2026-07-04 06:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80239 -2.917693)'), GeomFromEWKT('SRID=4674;POINT (-39.802415 -2.917677)'))) / (select extract(epoch from '2026-07-04 06:20:06'::timestamp) - extract(epoch from '2026-07-04 06:20: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'), 47860, 'SRID=4674;POINT (-39.80245 -2.917656)', '2026-07-04 06:20:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802415 -2.917677)'), GeomFromEWKT('SRID=4674;POINT (-39.80245 -2.917656)'))) / (select extract(epoch from '2026-07-04 06:20:15'::timestamp) - extract(epoch from '2026-07-04 06:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802415 -2.917677)'), GeomFromEWKT('SRID=4674;POINT (-39.80245 -2.917656)'))) / (select extract(epoch from '2026-07-04 06:20:15'::timestamp) - extract(epoch from '2026-07-04 06:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802474 -2.917638)', '2026-07-04 06:20:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80245 -2.917656)'), GeomFromEWKT('SRID=4674;POINT (-39.802474 -2.917638)'))) / (select extract(epoch from '2026-07-04 06:20:22'::timestamp) - extract(epoch from '2026-07-04 06:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80245 -2.917656)'), GeomFromEWKT('SRID=4674;POINT (-39.802474 -2.917638)'))) / (select extract(epoch from '2026-07-04 06:20:22'::timestamp) - extract(epoch from '2026-07-04 06:20: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'), 47860, 'SRID=4674;POINT (-39.802526 -2.917609)', '2026-07-04 06:20:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802474 -2.917638)'), GeomFromEWKT('SRID=4674;POINT (-39.802526 -2.917609)'))) / (select extract(epoch from '2026-07-04 06:20:33'::timestamp) - extract(epoch from '2026-07-04 06:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802474 -2.917638)'), GeomFromEWKT('SRID=4674;POINT (-39.802526 -2.917609)'))) / (select extract(epoch from '2026-07-04 06:20:33'::timestamp) - extract(epoch from '2026-07-04 06:20: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'), 47860, 'SRID=4674;POINT (-39.802551 -2.917594)', '2026-07-04 06:20:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802526 -2.917609)'), GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917594)'))) / (select extract(epoch from '2026-07-04 06:20:39'::timestamp) - extract(epoch from '2026-07-04 06:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802526 -2.917609)'), GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917594)'))) / (select extract(epoch from '2026-07-04 06:20:39'::timestamp) - extract(epoch from '2026-07-04 06:20: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'), 47860, 'SRID=4674;POINT (-39.802585 -2.917579)', '2026-07-04 06:20:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917594)'), GeomFromEWKT('SRID=4674;POINT (-39.802585 -2.917579)'))) / (select extract(epoch from '2026-07-04 06:20:47'::timestamp) - extract(epoch from '2026-07-04 06:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802551 -2.917594)'), GeomFromEWKT('SRID=4674;POINT (-39.802585 -2.917579)'))) / (select extract(epoch from '2026-07-04 06:20:47'::timestamp) - extract(epoch from '2026-07-04 06:20: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'), 47860, 'SRID=4674;POINT (-39.802599 -2.917575)', '2026-07-04 06:20:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802585 -2.917579)'), GeomFromEWKT('SRID=4674;POINT (-39.802599 -2.917575)'))) / (select extract(epoch from '2026-07-04 06:20:59'::timestamp) - extract(epoch from '2026-07-04 06:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802585 -2.917579)'), GeomFromEWKT('SRID=4674;POINT (-39.802599 -2.917575)'))) / (select extract(epoch from '2026-07-04 06:20:59'::timestamp) - extract(epoch from '2026-07-04 06:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802595 -2.91764)', '2026-07-04 06:23:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802599 -2.917575)'), GeomFromEWKT('SRID=4674;POINT (-39.802595 -2.91764)'))) / (select extract(epoch from '2026-07-04 06:23:45'::timestamp) - extract(epoch from '2026-07-04 06:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802599 -2.917575)'), GeomFromEWKT('SRID=4674;POINT (-39.802595 -2.91764)'))) / (select extract(epoch from '2026-07-04 06:23:45'::timestamp) - extract(epoch from '2026-07-04 06:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802563 -2.917673)', '2026-07-04 06:23:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802595 -2.91764)'), GeomFromEWKT('SRID=4674;POINT (-39.802563 -2.917673)'))) / (select extract(epoch from '2026-07-04 06:23:52'::timestamp) - extract(epoch from '2026-07-04 06:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802595 -2.91764)'), GeomFromEWKT('SRID=4674;POINT (-39.802563 -2.917673)'))) / (select extract(epoch from '2026-07-04 06:23:52'::timestamp) - extract(epoch from '2026-07-04 06:23: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'), 47860, 'SRID=4674;POINT (-39.802559 -2.917678)', '2026-07-04 06:24:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802563 -2.917673)'), GeomFromEWKT('SRID=4674;POINT (-39.802559 -2.917678)'))) / (select extract(epoch from '2026-07-04 06:24:01'::timestamp) - extract(epoch from '2026-07-04 06:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802563 -2.917673)'), GeomFromEWKT('SRID=4674;POINT (-39.802559 -2.917678)'))) / (select extract(epoch from '2026-07-04 06:24:01'::timestamp) - extract(epoch from '2026-07-04 06:23: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'), 47860, 'SRID=4674;POINT (-39.802511 -2.9177)', '2026-07-04 06:24:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802559 -2.917678)'), GeomFromEWKT('SRID=4674;POINT (-39.802511 -2.9177)'))) / (select extract(epoch from '2026-07-04 06:24:12'::timestamp) - extract(epoch from '2026-07-04 06:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802559 -2.917678)'), GeomFromEWKT('SRID=4674;POINT (-39.802511 -2.9177)'))) / (select extract(epoch from '2026-07-04 06:24:12'::timestamp) - extract(epoch from '2026-07-04 06:24: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'), 47860, 'SRID=4674;POINT (-39.802577 -2.917686)', '2026-07-04 06:24:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802511 -2.9177)'), GeomFromEWKT('SRID=4674;POINT (-39.802577 -2.917686)'))) / (select extract(epoch from '2026-07-04 06:24:35'::timestamp) - extract(epoch from '2026-07-04 06:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802511 -2.9177)'), GeomFromEWKT('SRID=4674;POINT (-39.802577 -2.917686)'))) / (select extract(epoch from '2026-07-04 06:24:35'::timestamp) - extract(epoch from '2026-07-04 06:24: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'), 47860, 'SRID=4674;POINT (-39.802622 -2.9177)', '2026-07-04 06:24:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802577 -2.917686)'), GeomFromEWKT('SRID=4674;POINT (-39.802622 -2.9177)'))) / (select extract(epoch from '2026-07-04 06:24:42'::timestamp) - extract(epoch from '2026-07-04 06:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802577 -2.917686)'), GeomFromEWKT('SRID=4674;POINT (-39.802622 -2.9177)'))) / (select extract(epoch from '2026-07-04 06:24:42'::timestamp) - extract(epoch from '2026-07-04 06:24: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'), 47860, 'SRID=4674;POINT (-39.802671 -2.917705)', '2026-07-04 06:24:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802622 -2.9177)'), GeomFromEWKT('SRID=4674;POINT (-39.802671 -2.917705)'))) / (select extract(epoch from '2026-07-04 06:24:48'::timestamp) - extract(epoch from '2026-07-04 06:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802622 -2.9177)'), GeomFromEWKT('SRID=4674;POINT (-39.802671 -2.917705)'))) / (select extract(epoch from '2026-07-04 06:24:48'::timestamp) - extract(epoch from '2026-07-04 06:24: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'), 47860, 'SRID=4674;POINT (-39.802727 -2.917708)', '2026-07-04 06:24:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802671 -2.917705)'), GeomFromEWKT('SRID=4674;POINT (-39.802727 -2.917708)'))) / (select extract(epoch from '2026-07-04 06:24:55'::timestamp) - extract(epoch from '2026-07-04 06:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802671 -2.917705)'), GeomFromEWKT('SRID=4674;POINT (-39.802727 -2.917708)'))) / (select extract(epoch from '2026-07-04 06:24:55'::timestamp) - extract(epoch from '2026-07-04 06:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.80276 -2.917704)', '2026-07-04 06:25:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802727 -2.917708)'), GeomFromEWKT('SRID=4674;POINT (-39.80276 -2.917704)'))) / (select extract(epoch from '2026-07-04 06:25:00'::timestamp) - extract(epoch from '2026-07-04 06:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802727 -2.917708)'), GeomFromEWKT('SRID=4674;POINT (-39.80276 -2.917704)'))) / (select extract(epoch from '2026-07-04 06:25:00'::timestamp) - extract(epoch from '2026-07-04 06:24: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'), 47860, 'SRID=4674;POINT (-39.802809 -2.917701)', '2026-07-04 06:25:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80276 -2.917704)'), GeomFromEWKT('SRID=4674;POINT (-39.802809 -2.917701)'))) / (select extract(epoch from '2026-07-04 06:25:08'::timestamp) - extract(epoch from '2026-07-04 06:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80276 -2.917704)'), GeomFromEWKT('SRID=4674;POINT (-39.802809 -2.917701)'))) / (select extract(epoch from '2026-07-04 06:25:08'::timestamp) - extract(epoch from '2026-07-04 06:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802864 -2.917702)', '2026-07-04 06:25:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802809 -2.917701)'), GeomFromEWKT('SRID=4674;POINT (-39.802864 -2.917702)'))) / (select extract(epoch from '2026-07-04 06:25:14'::timestamp) - extract(epoch from '2026-07-04 06:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802809 -2.917701)'), GeomFromEWKT('SRID=4674;POINT (-39.802864 -2.917702)'))) / (select extract(epoch from '2026-07-04 06:25:14'::timestamp) - extract(epoch from '2026-07-04 06:25: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'), 47860, 'SRID=4674;POINT (-39.802881 -2.917701)', '2026-07-04 06:25:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802864 -2.917702)'), GeomFromEWKT('SRID=4674;POINT (-39.802881 -2.917701)'))) / (select extract(epoch from '2026-07-04 06:25:16'::timestamp) - extract(epoch from '2026-07-04 06:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802864 -2.917702)'), GeomFromEWKT('SRID=4674;POINT (-39.802881 -2.917701)'))) / (select extract(epoch from '2026-07-04 06:25:16'::timestamp) - extract(epoch from '2026-07-04 06:25: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'), 47860, 'SRID=4674;POINT (-39.802912 -2.917693)', '2026-07-04 06:25:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802881 -2.917701)'), GeomFromEWKT('SRID=4674;POINT (-39.802912 -2.917693)'))) / (select extract(epoch from '2026-07-04 06:25:19'::timestamp) - extract(epoch from '2026-07-04 06:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802881 -2.917701)'), GeomFromEWKT('SRID=4674;POINT (-39.802912 -2.917693)'))) / (select extract(epoch from '2026-07-04 06:25:19'::timestamp) - extract(epoch from '2026-07-04 06:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802922 -2.917696)', '2026-07-04 06:25:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802912 -2.917693)'), GeomFromEWKT('SRID=4674;POINT (-39.802922 -2.917696)'))) / (select extract(epoch from '2026-07-04 06:25:20'::timestamp) - extract(epoch from '2026-07-04 06:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802912 -2.917693)'), GeomFromEWKT('SRID=4674;POINT (-39.802922 -2.917696)'))) / (select extract(epoch from '2026-07-04 06:25:20'::timestamp) - extract(epoch from '2026-07-04 06:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.802966 -2.9177)', '2026-07-04 06:25:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802922 -2.917696)'), GeomFromEWKT('SRID=4674;POINT (-39.802966 -2.9177)'))) / (select extract(epoch from '2026-07-04 06:25:25'::timestamp) - extract(epoch from '2026-07-04 06:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802922 -2.917696)'), GeomFromEWKT('SRID=4674;POINT (-39.802966 -2.9177)'))) / (select extract(epoch from '2026-07-04 06:25:25'::timestamp) - extract(epoch from '2026-07-04 06:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803033 -2.917696)', '2026-07-04 06:25:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802966 -2.9177)'), GeomFromEWKT('SRID=4674;POINT (-39.803033 -2.917696)'))) / (select extract(epoch from '2026-07-04 06:25:34'::timestamp) - extract(epoch from '2026-07-04 06:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.802966 -2.9177)'), GeomFromEWKT('SRID=4674;POINT (-39.803033 -2.917696)'))) / (select extract(epoch from '2026-07-04 06:25:34'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.803074 -2.917695)', '2026-07-04 06:25:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803033 -2.917696)'), GeomFromEWKT('SRID=4674;POINT (-39.803074 -2.917695)'))) / (select extract(epoch from '2026-07-04 06:25:39'::timestamp) - extract(epoch from '2026-07-04 06:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803033 -2.917696)'), GeomFromEWKT('SRID=4674;POINT (-39.803074 -2.917695)'))) / (select extract(epoch from '2026-07-04 06:25:39'::timestamp) - extract(epoch from '2026-07-04 06:25: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'), 47860, 'SRID=4674;POINT (-39.803137 -2.917686)', '2026-07-04 06:25:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803074 -2.917695)'), GeomFromEWKT('SRID=4674;POINT (-39.803137 -2.917686)'))) / (select extract(epoch from '2026-07-04 06:25:48'::timestamp) - extract(epoch from '2026-07-04 06:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803074 -2.917695)'), GeomFromEWKT('SRID=4674;POINT (-39.803137 -2.917686)'))) / (select extract(epoch from '2026-07-04 06:25:48'::timestamp) - extract(epoch from '2026-07-04 06:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803146 -2.917685)', '2026-07-04 06:25:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803137 -2.917686)'), GeomFromEWKT('SRID=4674;POINT (-39.803146 -2.917685)'))) / (select extract(epoch from '2026-07-04 06:25:49'::timestamp) - extract(epoch from '2026-07-04 06:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803137 -2.917686)'), GeomFromEWKT('SRID=4674;POINT (-39.803146 -2.917685)'))) / (select extract(epoch from '2026-07-04 06:25:49'::timestamp) - extract(epoch from '2026-07-04 06:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803181 -2.917678)', '2026-07-04 06:25:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803146 -2.917685)'), GeomFromEWKT('SRID=4674;POINT (-39.803181 -2.917678)'))) / (select extract(epoch from '2026-07-04 06:25:54'::timestamp) - extract(epoch from '2026-07-04 06:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803146 -2.917685)'), GeomFromEWKT('SRID=4674;POINT (-39.803181 -2.917678)'))) / (select extract(epoch from '2026-07-04 06:25:54'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47860, 'SRID=4674;POINT (-39.803251 -2.917673)', '2026-07-04 06:26:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803181 -2.917678)'), GeomFromEWKT('SRID=4674;POINT (-39.803251 -2.917673)'))) / (select extract(epoch from '2026-07-04 06:26:03'::timestamp) - extract(epoch from '2026-07-04 06:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803181 -2.917678)'), GeomFromEWKT('SRID=4674;POINT (-39.803251 -2.917673)'))) / (select extract(epoch from '2026-07-04 06:26:03'::timestamp) - extract(epoch from '2026-07-04 06:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803298 -2.917669)', '2026-07-04 06:26:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803251 -2.917673)'), GeomFromEWKT('SRID=4674;POINT (-39.803298 -2.917669)'))) / (select extract(epoch from '2026-07-04 06:26:10'::timestamp) - extract(epoch from '2026-07-04 06:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803251 -2.917673)'), GeomFromEWKT('SRID=4674;POINT (-39.803298 -2.917669)'))) / (select extract(epoch from '2026-07-04 06:26:10'::timestamp) - extract(epoch from '2026-07-04 06:26: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'), 47860, 'SRID=4674;POINT (-39.803359 -2.91765)', '2026-07-04 06:26:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803298 -2.917669)'), GeomFromEWKT('SRID=4674;POINT (-39.803359 -2.91765)'))) / (select extract(epoch from '2026-07-04 06:26:19'::timestamp) - extract(epoch from '2026-07-04 06:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803298 -2.917669)'), GeomFromEWKT('SRID=4674;POINT (-39.803359 -2.91765)'))) / (select extract(epoch from '2026-07-04 06:26:19'::timestamp) - extract(epoch from '2026-07-04 06:26: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'), 47860, 'SRID=4674;POINT (-39.803411 -2.917635)', '2026-07-04 06:26:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803359 -2.91765)'), GeomFromEWKT('SRID=4674;POINT (-39.803411 -2.917635)'))) / (select extract(epoch from '2026-07-04 06:26:27'::timestamp) - extract(epoch from '2026-07-04 06:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803359 -2.91765)'), GeomFromEWKT('SRID=4674;POINT (-39.803411 -2.917635)'))) / (select extract(epoch from '2026-07-04 06:26:27'::timestamp) - extract(epoch from '2026-07-04 06:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803457 -2.917625)', '2026-07-04 06:26:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803411 -2.917635)'), GeomFromEWKT('SRID=4674;POINT (-39.803457 -2.917625)'))) / (select extract(epoch from '2026-07-04 06:26:35'::timestamp) - extract(epoch from '2026-07-04 06:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803411 -2.917635)'), GeomFromEWKT('SRID=4674;POINT (-39.803457 -2.917625)'))) / (select extract(epoch from '2026-07-04 06:26:35'::timestamp) - extract(epoch from '2026-07-04 06:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803501 -2.917606)', '2026-07-04 06:26:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803457 -2.917625)'), GeomFromEWKT('SRID=4674;POINT (-39.803501 -2.917606)'))) / (select extract(epoch from '2026-07-04 06:26:41'::timestamp) - extract(epoch from '2026-07-04 06:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803457 -2.917625)'), GeomFromEWKT('SRID=4674;POINT (-39.803501 -2.917606)'))) / (select extract(epoch from '2026-07-04 06:26:41'::timestamp) - extract(epoch from '2026-07-04 06:26: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'), 47860, 'SRID=4674;POINT (-39.80354 -2.917636)', '2026-07-04 06:26:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803501 -2.917606)'), GeomFromEWKT('SRID=4674;POINT (-39.80354 -2.917636)'))) / (select extract(epoch from '2026-07-04 06:26:48'::timestamp) - extract(epoch from '2026-07-04 06:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803501 -2.917606)'), GeomFromEWKT('SRID=4674;POINT (-39.80354 -2.917636)'))) / (select extract(epoch from '2026-07-04 06:26:48'::timestamp) - extract(epoch from '2026-07-04 06:26: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'), 47860, 'SRID=4674;POINT (-39.803534 -2.917668)', '2026-07-04 06:26:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80354 -2.917636)'), GeomFromEWKT('SRID=4674;POINT (-39.803534 -2.917668)'))) / (select extract(epoch from '2026-07-04 06:26:54'::timestamp) - extract(epoch from '2026-07-04 06:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80354 -2.917636)'), GeomFromEWKT('SRID=4674;POINT (-39.803534 -2.917668)'))) / (select extract(epoch from '2026-07-04 06:26:54'::timestamp) - extract(epoch from '2026-07-04 06:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803517 -2.91771)', '2026-07-04 06:27:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803534 -2.917668)'), GeomFromEWKT('SRID=4674;POINT (-39.803517 -2.91771)'))) / (select extract(epoch from '2026-07-04 06:27:01'::timestamp) - extract(epoch from '2026-07-04 06:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803534 -2.917668)'), GeomFromEWKT('SRID=4674;POINT (-39.803517 -2.91771)'))) / (select extract(epoch from '2026-07-04 06:27:01'::timestamp) - extract(epoch from '2026-07-04 06:26: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'), 47860, 'SRID=4674;POINT (-39.803489 -2.917727)', '2026-07-04 06:27:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803517 -2.91771)'), GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917727)'))) / (select extract(epoch from '2026-07-04 06:27:08'::timestamp) - extract(epoch from '2026-07-04 06:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803517 -2.91771)'), GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917727)'))) / (select extract(epoch from '2026-07-04 06:27:08'::timestamp) - extract(epoch from '2026-07-04 06:27: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'), 47860, 'SRID=4674;POINT (-39.80348 -2.917753)', '2026-07-04 06:27:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917727)'), GeomFromEWKT('SRID=4674;POINT (-39.80348 -2.917753)'))) / (select extract(epoch from '2026-07-04 06:27:14'::timestamp) - extract(epoch from '2026-07-04 06:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917727)'), GeomFromEWKT('SRID=4674;POINT (-39.80348 -2.917753)'))) / (select extract(epoch from '2026-07-04 06:27:14'::timestamp) - extract(epoch from '2026-07-04 06:27: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'), 47860, 'SRID=4674;POINT (-39.803428 -2.91773)', '2026-07-04 06:27:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80348 -2.917753)'), GeomFromEWKT('SRID=4674;POINT (-39.803428 -2.91773)'))) / (select extract(epoch from '2026-07-04 06:27:20'::timestamp) - extract(epoch from '2026-07-04 06:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80348 -2.917753)'), GeomFromEWKT('SRID=4674;POINT (-39.803428 -2.91773)'))) / (select extract(epoch from '2026-07-04 06:27:20'::timestamp) - extract(epoch from '2026-07-04 06:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803401 -2.917722)', '2026-07-04 06:27:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803428 -2.91773)'), GeomFromEWKT('SRID=4674;POINT (-39.803401 -2.917722)'))) / (select extract(epoch from '2026-07-04 06:27:24'::timestamp) - extract(epoch from '2026-07-04 06:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803428 -2.91773)'), GeomFromEWKT('SRID=4674;POINT (-39.803401 -2.917722)'))) / (select extract(epoch from '2026-07-04 06:27:24'::timestamp) - extract(epoch from '2026-07-04 06:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.80337 -2.917704)', '2026-07-04 06:27:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803401 -2.917722)'), GeomFromEWKT('SRID=4674;POINT (-39.80337 -2.917704)'))) / (select extract(epoch from '2026-07-04 06:27:29'::timestamp) - extract(epoch from '2026-07-04 06:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803401 -2.917722)'), GeomFromEWKT('SRID=4674;POINT (-39.80337 -2.917704)'))) / (select extract(epoch from '2026-07-04 06:27:29'::timestamp) - extract(epoch from '2026-07-04 06:27: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'), 47860, 'SRID=4674;POINT (-39.803338 -2.917693)', '2026-07-04 06:27:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80337 -2.917704)'), GeomFromEWKT('SRID=4674;POINT (-39.803338 -2.917693)'))) / (select extract(epoch from '2026-07-04 06:27:36'::timestamp) - extract(epoch from '2026-07-04 06:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80337 -2.917704)'), GeomFromEWKT('SRID=4674;POINT (-39.803338 -2.917693)'))) / (select extract(epoch from '2026-07-04 06:27:36'::timestamp) - extract(epoch from '2026-07-04 06:27: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'), 47860, 'SRID=4674;POINT (-39.80331 -2.91766)', '2026-07-04 06:27:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803338 -2.917693)'), GeomFromEWKT('SRID=4674;POINT (-39.80331 -2.91766)'))) / (select extract(epoch from '2026-07-04 06:27:43'::timestamp) - extract(epoch from '2026-07-04 06:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803338 -2.917693)'), GeomFromEWKT('SRID=4674;POINT (-39.80331 -2.91766)'))) / (select extract(epoch from '2026-07-04 06:27:43'::timestamp) - extract(epoch from '2026-07-04 06:27: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'), 47860, 'SRID=4674;POINT (-39.803293 -2.917637)', '2026-07-04 06:27:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80331 -2.91766)'), GeomFromEWKT('SRID=4674;POINT (-39.803293 -2.917637)'))) / (select extract(epoch from '2026-07-04 06:27:51'::timestamp) - extract(epoch from '2026-07-04 06:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80331 -2.91766)'), GeomFromEWKT('SRID=4674;POINT (-39.803293 -2.917637)'))) / (select extract(epoch from '2026-07-04 06:27:51'::timestamp) - extract(epoch from '2026-07-04 06:27: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'), 47860, 'SRID=4674;POINT (-39.803327 -2.917645)', '2026-07-04 06:28:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803293 -2.917637)'), GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.917645)'))) / (select extract(epoch from '2026-07-04 06:28:01'::timestamp) - extract(epoch from '2026-07-04 06:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803293 -2.917637)'), GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.917645)'))) / (select extract(epoch from '2026-07-04 06:28:01'::timestamp) - extract(epoch from '2026-07-04 06:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803375 -2.917647)', '2026-07-04 06:28:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.917645)'), GeomFromEWKT('SRID=4674;POINT (-39.803375 -2.917647)'))) / (select extract(epoch from '2026-07-04 06:28:09'::timestamp) - extract(epoch from '2026-07-04 06:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803327 -2.917645)'), GeomFromEWKT('SRID=4674;POINT (-39.803375 -2.917647)'))) / (select extract(epoch from '2026-07-04 06:28:09'::timestamp) - extract(epoch from '2026-07-04 06:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803407 -2.917637)', '2026-07-04 06:28:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803375 -2.917647)'), GeomFromEWKT('SRID=4674;POINT (-39.803407 -2.917637)'))) / (select extract(epoch from '2026-07-04 06:28:16'::timestamp) - extract(epoch from '2026-07-04 06:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803375 -2.917647)'), GeomFromEWKT('SRID=4674;POINT (-39.803407 -2.917637)'))) / (select extract(epoch from '2026-07-04 06:28:16'::timestamp) - extract(epoch from '2026-07-04 06:28: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'), 47860, 'SRID=4674;POINT (-39.803441 -2.917617)', '2026-07-04 06:28:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803407 -2.917637)'), GeomFromEWKT('SRID=4674;POINT (-39.803441 -2.917617)'))) / (select extract(epoch from '2026-07-04 06:28:24'::timestamp) - extract(epoch from '2026-07-04 06:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803407 -2.917637)'), GeomFromEWKT('SRID=4674;POINT (-39.803441 -2.917617)'))) / (select extract(epoch from '2026-07-04 06:28:24'::timestamp) - extract(epoch from '2026-07-04 06:28: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'), 47860, 'SRID=4674;POINT (-39.803483 -2.917587)', '2026-07-04 06:28:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803441 -2.917617)'), GeomFromEWKT('SRID=4674;POINT (-39.803483 -2.917587)'))) / (select extract(epoch from '2026-07-04 06:28:34'::timestamp) - extract(epoch from '2026-07-04 06:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803441 -2.917617)'), GeomFromEWKT('SRID=4674;POINT (-39.803483 -2.917587)'))) / (select extract(epoch from '2026-07-04 06:28:34'::timestamp) - extract(epoch from '2026-07-04 06:28: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'), 47860, 'SRID=4674;POINT (-39.803498 -2.917583)', '2026-07-04 06:28:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803483 -2.917587)'), GeomFromEWKT('SRID=4674;POINT (-39.803498 -2.917583)'))) / (select extract(epoch from '2026-07-04 06:28:44'::timestamp) - extract(epoch from '2026-07-04 06:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803483 -2.917587)'), GeomFromEWKT('SRID=4674;POINT (-39.803498 -2.917583)'))) / (select extract(epoch from '2026-07-04 06:28:44'::timestamp) - extract(epoch from '2026-07-04 06:28: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'), 47860, 'SRID=4674;POINT (-39.803489 -2.917624)', '2026-07-04 06:32:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803498 -2.917583)'), GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917624)'))) / (select extract(epoch from '2026-07-04 06:32:50'::timestamp) - extract(epoch from '2026-07-04 06:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803498 -2.917583)'), GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917624)'))) / (select extract(epoch from '2026-07-04 06:32:50'::timestamp) - extract(epoch from '2026-07-04 06:28: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'), 47860, 'SRID=4674;POINT (-39.803459 -2.917634)', '2026-07-04 06:33:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917624)'), GeomFromEWKT('SRID=4674;POINT (-39.803459 -2.917634)'))) / (select extract(epoch from '2026-07-04 06:33:50'::timestamp) - extract(epoch from '2026-07-04 06:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803489 -2.917624)'), GeomFromEWKT('SRID=4674;POINT (-39.803459 -2.917634)'))) / (select extract(epoch from '2026-07-04 06:33:50'::timestamp) - extract(epoch from '2026-07-04 06:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803436 -2.917664)', '2026-07-04 06:33:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803459 -2.917634)'), GeomFromEWKT('SRID=4674;POINT (-39.803436 -2.917664)'))) / (select extract(epoch from '2026-07-04 06:33:55'::timestamp) - extract(epoch from '2026-07-04 06:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803459 -2.917634)'), GeomFromEWKT('SRID=4674;POINT (-39.803436 -2.917664)'))) / (select extract(epoch from '2026-07-04 06:33:55'::timestamp) - extract(epoch from '2026-07-04 06:33: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'), 47860, 'SRID=4674;POINT (-39.803418 -2.917678)', '2026-07-04 06:33:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803436 -2.917664)'), GeomFromEWKT('SRID=4674;POINT (-39.803418 -2.917678)'))) / (select extract(epoch from '2026-07-04 06:33:58'::timestamp) - extract(epoch from '2026-07-04 06:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803436 -2.917664)'), GeomFromEWKT('SRID=4674;POINT (-39.803418 -2.917678)'))) / (select extract(epoch from '2026-07-04 06:33:58'::timestamp) - extract(epoch from '2026-07-04 06:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47860, 'SRID=4674;POINT (-39.803409 -2.91769)', '2026-07-04 06:34:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803418 -2.917678)'), GeomFromEWKT('SRID=4674;POINT (-39.803409 -2.91769)'))) / (select extract(epoch from '2026-07-04 06:34:02'::timestamp) - extract(epoch from '2026-07-04 06:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803418 -2.917678)'), GeomFromEWKT('SRID=4674;POINT (-39.803409 -2.91769)'))) / (select extract(epoch from '2026-07-04 06:34:02'::timestamp) - extract(epoch from '2026-07-04 06:33: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'), 47860, 'SRID=4674;POINT (-39.803415 -2.917652)', '2026-07-04 06:34:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803409 -2.91769)'), GeomFromEWKT('SRID=4674;POINT (-39.803415 -2.917652)'))) / (select extract(epoch from '2026-07-04 06:34:27'::timestamp) - extract(epoch from '2026-07-04 06:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803409 -2.91769)'), GeomFromEWKT('SRID=4674;POINT (-39.803415 -2.917652)'))) / (select extract(epoch from '2026-07-04 06:34:27'::timestamp) - extract(epoch from '2026-07-04 06:34: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'), 47860, 'SRID=4674;POINT (-39.803446 -2.917607)', '2026-07-04 06:34:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803415 -2.917652)'), GeomFromEWKT('SRID=4674;POINT (-39.803446 -2.917607)'))) / (select extract(epoch from '2026-07-04 06:34:37'::timestamp) - extract(epoch from '2026-07-04 06:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803415 -2.917652)'), GeomFromEWKT('SRID=4674;POINT (-39.803446 -2.917607)'))) / (select extract(epoch from '2026-07-04 06:34:37'::timestamp) - extract(epoch from '2026-07-04 06:34: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'), 47860, 'SRID=4674;POINT (-39.803491 -2.917586)', '2026-07-04 06:34:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803446 -2.917607)'), GeomFromEWKT('SRID=4674;POINT (-39.803491 -2.917586)'))) / (select extract(epoch from '2026-07-04 06:34:45'::timestamp) - extract(epoch from '2026-07-04 06:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803446 -2.917607)'), GeomFromEWKT('SRID=4674;POINT (-39.803491 -2.917586)'))) / (select extract(epoch from '2026-07-04 06:34:45'::timestamp) - extract(epoch from '2026-07-04 06:34: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'), 47860, 'SRID=4674;POINT (-39.80354 -2.917583)', '2026-07-04 06:34:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803491 -2.917586)'), GeomFromEWKT('SRID=4674;POINT (-39.80354 -2.917583)'))) / (select extract(epoch from '2026-07-04 06:34:53'::timestamp) - extract(epoch from '2026-07-04 06:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.803491 -2.917586)'), GeomFromEWKT('SRID=4674;POINT (-39.80354 -2.917583)'))) / (select extract(epoch from '2026-07-04 06:34:53'::timestamp) - extract(epoch from '2026-07-04 06:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
