 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.307028 -2.801118)', '2026-07-17 03:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306984 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.307028 -2.801118)'))) / (select extract(epoch from '2026-07-17 03:13:16'::timestamp) - extract(epoch from '2026-07-17 03:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306984 -2.801121)'), GeomFromEWKT('SRID=4674;POINT (-40.307028 -2.801118)'))) / (select extract(epoch from '2026-07-17 03:13:16'::timestamp) - extract(epoch from '2026-07-17 03:13: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'), 47836, 'SRID=4674;POINT (-40.307093 -2.80113)', '2026-07-17 03:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307028 -2.801118)'), GeomFromEWKT('SRID=4674;POINT (-40.307093 -2.80113)'))) / (select extract(epoch from '2026-07-17 03:13:30'::timestamp) - extract(epoch from '2026-07-17 03:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307028 -2.801118)'), GeomFromEWKT('SRID=4674;POINT (-40.307093 -2.80113)'))) / (select extract(epoch from '2026-07-17 03:13:30'::timestamp) - extract(epoch from '2026-07-17 03:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.30717 -2.801148)', '2026-07-17 03:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307093 -2.80113)'), GeomFromEWKT('SRID=4674;POINT (-40.30717 -2.801148)'))) / (select extract(epoch from '2026-07-17 03:13:49'::timestamp) - extract(epoch from '2026-07-17 03:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307093 -2.80113)'), GeomFromEWKT('SRID=4674;POINT (-40.30717 -2.801148)'))) / (select extract(epoch from '2026-07-17 03:13:49'::timestamp) - extract(epoch from '2026-07-17 03:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.307221 -2.801159)', '2026-07-17 03:14:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30717 -2.801148)'), GeomFromEWKT('SRID=4674;POINT (-40.307221 -2.801159)'))) / (select extract(epoch from '2026-07-17 03:14:06'::timestamp) - extract(epoch from '2026-07-17 03:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30717 -2.801148)'), GeomFromEWKT('SRID=4674;POINT (-40.307221 -2.801159)'))) / (select extract(epoch from '2026-07-17 03:14:06'::timestamp) - extract(epoch from '2026-07-17 03:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.307274 -2.801143)', '2026-07-17 03:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307221 -2.801159)'), GeomFromEWKT('SRID=4674;POINT (-40.307274 -2.801143)'))) / (select extract(epoch from '2026-07-17 03:14:23'::timestamp) - extract(epoch from '2026-07-17 03:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307221 -2.801159)'), GeomFromEWKT('SRID=4674;POINT (-40.307274 -2.801143)'))) / (select extract(epoch from '2026-07-17 03:14:23'::timestamp) - extract(epoch from '2026-07-17 03:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.307351 -2.80117)', '2026-07-17 03:14:41', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307274 -2.801143)'), GeomFromEWKT('SRID=4674;POINT (-40.307351 -2.80117)'))) / (select extract(epoch from '2026-07-17 03:14:41'::timestamp) - extract(epoch from '2026-07-17 03:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307274 -2.801143)'), GeomFromEWKT('SRID=4674;POINT (-40.307351 -2.80117)'))) / (select extract(epoch from '2026-07-17 03:14:41'::timestamp) - extract(epoch from '2026-07-17 03:14: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'), 47836, 'SRID=4674;POINT (-40.307442 -2.801185)', '2026-07-17 03:15:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307351 -2.80117)'), GeomFromEWKT('SRID=4674;POINT (-40.307442 -2.801185)'))) / (select extract(epoch from '2026-07-17 03:15:01'::timestamp) - extract(epoch from '2026-07-17 03:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307351 -2.80117)'), GeomFromEWKT('SRID=4674;POINT (-40.307442 -2.801185)'))) / (select extract(epoch from '2026-07-17 03:15:01'::timestamp) - extract(epoch from '2026-07-17 03:14: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'), 47836, 'SRID=4674;POINT (-40.307474 -2.801194)', '2026-07-17 03:15:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307442 -2.801185)'), GeomFromEWKT('SRID=4674;POINT (-40.307474 -2.801194)'))) / (select extract(epoch from '2026-07-17 03:15:14'::timestamp) - extract(epoch from '2026-07-17 03:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307442 -2.801185)'), GeomFromEWKT('SRID=4674;POINT (-40.307474 -2.801194)'))) / (select extract(epoch from '2026-07-17 03:15:14'::timestamp) - extract(epoch from '2026-07-17 03:15: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'), 47836, 'SRID=4674;POINT (-40.307511 -2.801206)', '2026-07-17 03:15:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307474 -2.801194)'), GeomFromEWKT('SRID=4674;POINT (-40.307511 -2.801206)'))) / (select extract(epoch from '2026-07-17 03:15:26'::timestamp) - extract(epoch from '2026-07-17 03:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307474 -2.801194)'), GeomFromEWKT('SRID=4674;POINT (-40.307511 -2.801206)'))) / (select extract(epoch from '2026-07-17 03:15:26'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.307534 -2.801209)', '2026-07-17 03:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307511 -2.801206)'), GeomFromEWKT('SRID=4674;POINT (-40.307534 -2.801209)'))) / (select extract(epoch from '2026-07-17 03:15:30'::timestamp) - extract(epoch from '2026-07-17 03:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307511 -2.801206)'), GeomFromEWKT('SRID=4674;POINT (-40.307534 -2.801209)'))) / (select extract(epoch from '2026-07-17 03:15:30'::timestamp) - extract(epoch from '2026-07-17 03:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.3076 -2.80122)', '2026-07-17 03:15:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307534 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.80122)'))) / (select extract(epoch from '2026-07-17 03:15:47'::timestamp) - extract(epoch from '2026-07-17 03:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307534 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.80122)'))) / (select extract(epoch from '2026-07-17 03:15:47'::timestamp) - extract(epoch from '2026-07-17 03:15: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'), 47836, 'SRID=4674;POINT (-40.307627 -2.801208)', '2026-07-17 03:16:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.80122)'), GeomFromEWKT('SRID=4674;POINT (-40.307627 -2.801208)'))) / (select extract(epoch from '2026-07-17 03:16:01'::timestamp) - extract(epoch from '2026-07-17 03:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.80122)'), GeomFromEWKT('SRID=4674;POINT (-40.307627 -2.801208)'))) / (select extract(epoch from '2026-07-17 03:16:01'::timestamp) - extract(epoch from '2026-07-17 03:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.307681 -2.801223)', '2026-07-17 03:16:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307627 -2.801208)'), GeomFromEWKT('SRID=4674;POINT (-40.307681 -2.801223)'))) / (select extract(epoch from '2026-07-17 03:16:19'::timestamp) - extract(epoch from '2026-07-17 03:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307627 -2.801208)'), GeomFromEWKT('SRID=4674;POINT (-40.307681 -2.801223)'))) / (select extract(epoch from '2026-07-17 03:16:19'::timestamp) - extract(epoch from '2026-07-17 03:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.307778 -2.801228)', '2026-07-17 03:16:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307681 -2.801223)'), GeomFromEWKT('SRID=4674;POINT (-40.307778 -2.801228)'))) / (select extract(epoch from '2026-07-17 03:16:37'::timestamp) - extract(epoch from '2026-07-17 03:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307681 -2.801223)'), GeomFromEWKT('SRID=4674;POINT (-40.307778 -2.801228)'))) / (select extract(epoch from '2026-07-17 03:16:37'::timestamp) - extract(epoch from '2026-07-17 03:16: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'), 47836, 'SRID=4674;POINT (-40.307856 -2.801233)', '2026-07-17 03:16:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307778 -2.801228)'), GeomFromEWKT('SRID=4674;POINT (-40.307856 -2.801233)'))) / (select extract(epoch from '2026-07-17 03:16:53'::timestamp) - extract(epoch from '2026-07-17 03:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307778 -2.801228)'), GeomFromEWKT('SRID=4674;POINT (-40.307856 -2.801233)'))) / (select extract(epoch from '2026-07-17 03:16:53'::timestamp) - extract(epoch from '2026-07-17 03:16: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'), 47836, 'SRID=4674;POINT (-40.307928 -2.801254)', '2026-07-17 03:17:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307856 -2.801233)'), GeomFromEWKT('SRID=4674;POINT (-40.307928 -2.801254)'))) / (select extract(epoch from '2026-07-17 03:17:10'::timestamp) - extract(epoch from '2026-07-17 03:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307856 -2.801233)'), GeomFromEWKT('SRID=4674;POINT (-40.307928 -2.801254)'))) / (select extract(epoch from '2026-07-17 03:17:10'::timestamp) - extract(epoch from '2026-07-17 03:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.307962 -2.801248)', '2026-07-17 03:17:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307928 -2.801254)'), GeomFromEWKT('SRID=4674;POINT (-40.307962 -2.801248)'))) / (select extract(epoch from '2026-07-17 03:17:26'::timestamp) - extract(epoch from '2026-07-17 03:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307928 -2.801254)'), GeomFromEWKT('SRID=4674;POINT (-40.307962 -2.801248)'))) / (select extract(epoch from '2026-07-17 03:17:26'::timestamp) - extract(epoch from '2026-07-17 03:17: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'), 47836, 'SRID=4674;POINT (-40.307981 -2.801252)', '2026-07-17 03:17:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307962 -2.801248)'), GeomFromEWKT('SRID=4674;POINT (-40.307981 -2.801252)'))) / (select extract(epoch from '2026-07-17 03:17:40'::timestamp) - extract(epoch from '2026-07-17 03:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307962 -2.801248)'), GeomFromEWKT('SRID=4674;POINT (-40.307981 -2.801252)'))) / (select extract(epoch from '2026-07-17 03:17:40'::timestamp) - extract(epoch from '2026-07-17 03:17: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'), 47836, 'SRID=4674;POINT (-40.308021 -2.801257)', '2026-07-17 03:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307981 -2.801252)'), GeomFromEWKT('SRID=4674;POINT (-40.308021 -2.801257)'))) / (select extract(epoch from '2026-07-17 03:17:55'::timestamp) - extract(epoch from '2026-07-17 03:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307981 -2.801252)'), GeomFromEWKT('SRID=4674;POINT (-40.308021 -2.801257)'))) / (select extract(epoch from '2026-07-17 03:17:55'::timestamp) - extract(epoch from '2026-07-17 03:17: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'), 47836, 'SRID=4674;POINT (-40.308058 -2.801254)', '2026-07-17 03:18:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308021 -2.801257)'), GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.801254)'))) / (select extract(epoch from '2026-07-17 03:18:10'::timestamp) - extract(epoch from '2026-07-17 03:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308021 -2.801257)'), GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.801254)'))) / (select extract(epoch from '2026-07-17 03:18:10'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308117 -2.801264)', '2026-07-17 03:18:25', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.801254)'), GeomFromEWKT('SRID=4674;POINT (-40.308117 -2.801264)'))) / (select extract(epoch from '2026-07-17 03:18:25'::timestamp) - extract(epoch from '2026-07-17 03:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.801254)'), GeomFromEWKT('SRID=4674;POINT (-40.308117 -2.801264)'))) / (select extract(epoch from '2026-07-17 03:18:25'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308201 -2.801274)', '2026-07-17 03:18:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308117 -2.801264)'), GeomFromEWKT('SRID=4674;POINT (-40.308201 -2.801274)'))) / (select extract(epoch from '2026-07-17 03:18:42'::timestamp) - extract(epoch from '2026-07-17 03:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308117 -2.801264)'), GeomFromEWKT('SRID=4674;POINT (-40.308201 -2.801274)'))) / (select extract(epoch from '2026-07-17 03:18:42'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308285 -2.801277)', '2026-07-17 03:18:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308201 -2.801274)'), GeomFromEWKT('SRID=4674;POINT (-40.308285 -2.801277)'))) / (select extract(epoch from '2026-07-17 03:18:59'::timestamp) - extract(epoch from '2026-07-17 03:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308201 -2.801274)'), GeomFromEWKT('SRID=4674;POINT (-40.308285 -2.801277)'))) / (select extract(epoch from '2026-07-17 03:18:59'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308335 -2.801274)', '2026-07-17 03:19:08', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308285 -2.801277)'), GeomFromEWKT('SRID=4674;POINT (-40.308335 -2.801274)'))) / (select extract(epoch from '2026-07-17 03:19:08'::timestamp) - extract(epoch from '2026-07-17 03:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308285 -2.801277)'), GeomFromEWKT('SRID=4674;POINT (-40.308335 -2.801274)'))) / (select extract(epoch from '2026-07-17 03:19:08'::timestamp) - extract(epoch from '2026-07-17 03:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.30836 -2.801277)', '2026-07-17 03:19:17', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308335 -2.801274)'), GeomFromEWKT('SRID=4674;POINT (-40.30836 -2.801277)'))) / (select extract(epoch from '2026-07-17 03:19:17'::timestamp) - extract(epoch from '2026-07-17 03:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308335 -2.801274)'), GeomFromEWKT('SRID=4674;POINT (-40.30836 -2.801277)'))) / (select extract(epoch from '2026-07-17 03:19:17'::timestamp) - extract(epoch from '2026-07-17 03:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308372 -2.801283)', '2026-07-17 03:19:24', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30836 -2.801277)'), GeomFromEWKT('SRID=4674;POINT (-40.308372 -2.801283)'))) / (select extract(epoch from '2026-07-17 03:19:24'::timestamp) - extract(epoch from '2026-07-17 03:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30836 -2.801277)'), GeomFromEWKT('SRID=4674;POINT (-40.308372 -2.801283)'))) / (select extract(epoch from '2026-07-17 03:19:24'::timestamp) - extract(epoch from '2026-07-17 03:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.30839 -2.801282)', '2026-07-17 03:19:32', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308372 -2.801283)'), GeomFromEWKT('SRID=4674;POINT (-40.30839 -2.801282)'))) / (select extract(epoch from '2026-07-17 03:19:32'::timestamp) - extract(epoch from '2026-07-17 03:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308372 -2.801283)'), GeomFromEWKT('SRID=4674;POINT (-40.30839 -2.801282)'))) / (select extract(epoch from '2026-07-17 03:19:32'::timestamp) - extract(epoch from '2026-07-17 03:19: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'), 47836, 'SRID=4674;POINT (-40.308414 -2.801295)', '2026-07-17 03:19:40', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30839 -2.801282)'), GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.801295)'))) / (select extract(epoch from '2026-07-17 03:19:40'::timestamp) - extract(epoch from '2026-07-17 03:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30839 -2.801282)'), GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.801295)'))) / (select extract(epoch from '2026-07-17 03:19:40'::timestamp) - extract(epoch from '2026-07-17 03:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308435 -2.801311)', '2026-07-17 03:19:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.801311)'))) / (select extract(epoch from '2026-07-17 03:19:48'::timestamp) - extract(epoch from '2026-07-17 03:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.801311)'))) / (select extract(epoch from '2026-07-17 03:19:48'::timestamp) - extract(epoch from '2026-07-17 03:19: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'), 47836, 'SRID=4674;POINT (-40.308473 -2.801313)', '2026-07-17 03:19:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.801311)'), GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.801313)'))) / (select extract(epoch from '2026-07-17 03:19:55'::timestamp) - extract(epoch from '2026-07-17 03:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308435 -2.801311)'), GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.801313)'))) / (select extract(epoch from '2026-07-17 03:19:55'::timestamp) - extract(epoch from '2026-07-17 03:19: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'), 47836, 'SRID=4674;POINT (-40.308506 -2.801319)', '2026-07-17 03:20:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.308506 -2.801319)'))) / (select extract(epoch from '2026-07-17 03:20:02'::timestamp) - extract(epoch from '2026-07-17 03:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308473 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.308506 -2.801319)'))) / (select extract(epoch from '2026-07-17 03:20:02'::timestamp) - extract(epoch from '2026-07-17 03:19: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'), 47836, 'SRID=4674;POINT (-40.308531 -2.801331)', '2026-07-17 03:20:09', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308506 -2.801319)'), GeomFromEWKT('SRID=4674;POINT (-40.308531 -2.801331)'))) / (select extract(epoch from '2026-07-17 03:20:09'::timestamp) - extract(epoch from '2026-07-17 03:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308506 -2.801319)'), GeomFromEWKT('SRID=4674;POINT (-40.308531 -2.801331)'))) / (select extract(epoch from '2026-07-17 03:20:09'::timestamp) - extract(epoch from '2026-07-17 03:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308546 -2.801341)', '2026-07-17 03:20:15', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308531 -2.801331)'), GeomFromEWKT('SRID=4674;POINT (-40.308546 -2.801341)'))) / (select extract(epoch from '2026-07-17 03:20:15'::timestamp) - extract(epoch from '2026-07-17 03:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308531 -2.801331)'), GeomFromEWKT('SRID=4674;POINT (-40.308546 -2.801341)'))) / (select extract(epoch from '2026-07-17 03:20:15'::timestamp) - extract(epoch from '2026-07-17 03:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308561 -2.801355)', '2026-07-17 03:20:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308546 -2.801341)'), GeomFromEWKT('SRID=4674;POINT (-40.308561 -2.801355)'))) / (select extract(epoch from '2026-07-17 03:20:23'::timestamp) - extract(epoch from '2026-07-17 03:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308546 -2.801341)'), GeomFromEWKT('SRID=4674;POINT (-40.308561 -2.801355)'))) / (select extract(epoch from '2026-07-17 03:20:23'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308573 -2.801358)', '2026-07-17 03:20:31', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308561 -2.801355)'), GeomFromEWKT('SRID=4674;POINT (-40.308573 -2.801358)'))) / (select extract(epoch from '2026-07-17 03:20:31'::timestamp) - extract(epoch from '2026-07-17 03:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308561 -2.801355)'), GeomFromEWKT('SRID=4674;POINT (-40.308573 -2.801358)'))) / (select extract(epoch from '2026-07-17 03:20:31'::timestamp) - extract(epoch from '2026-07-17 03:20: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'), 47836, 'SRID=4674;POINT (-40.308611 -2.801358)', '2026-07-17 03:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308573 -2.801358)'), GeomFromEWKT('SRID=4674;POINT (-40.308611 -2.801358)'))) / (select extract(epoch from '2026-07-17 03:20:39'::timestamp) - extract(epoch from '2026-07-17 03:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308573 -2.801358)'), GeomFromEWKT('SRID=4674;POINT (-40.308611 -2.801358)'))) / (select extract(epoch from '2026-07-17 03:20:39'::timestamp) - extract(epoch from '2026-07-17 03:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308639 -2.80137)', '2026-07-17 03:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308611 -2.801358)'), GeomFromEWKT('SRID=4674;POINT (-40.308639 -2.80137)'))) / (select extract(epoch from '2026-07-17 03:20:47'::timestamp) - extract(epoch from '2026-07-17 03:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308611 -2.801358)'), GeomFromEWKT('SRID=4674;POINT (-40.308639 -2.80137)'))) / (select extract(epoch from '2026-07-17 03:20:47'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308676 -2.801366)', '2026-07-17 03:20:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308639 -2.80137)'), GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.801366)'))) / (select extract(epoch from '2026-07-17 03:20:57'::timestamp) - extract(epoch from '2026-07-17 03:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308639 -2.80137)'), GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.801366)'))) / (select extract(epoch from '2026-07-17 03:20:57'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308698 -2.801359)', '2026-07-17 03:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.308698 -2.801359)'))) / (select extract(epoch from '2026-07-17 03:21:05'::timestamp) - extract(epoch from '2026-07-17 03:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.801366)'), GeomFromEWKT('SRID=4674;POINT (-40.308698 -2.801359)'))) / (select extract(epoch from '2026-07-17 03:21:05'::timestamp) - extract(epoch from '2026-07-17 03:20: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'), 47836, 'SRID=4674;POINT (-40.308712 -2.80137)', '2026-07-17 03:21:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308698 -2.801359)'), GeomFromEWKT('SRID=4674;POINT (-40.308712 -2.80137)'))) / (select extract(epoch from '2026-07-17 03:21:13'::timestamp) - extract(epoch from '2026-07-17 03:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308698 -2.801359)'), GeomFromEWKT('SRID=4674;POINT (-40.308712 -2.80137)'))) / (select extract(epoch from '2026-07-17 03:21:13'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.30874 -2.801369)', '2026-07-17 03:21:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308712 -2.80137)'), GeomFromEWKT('SRID=4674;POINT (-40.30874 -2.801369)'))) / (select extract(epoch from '2026-07-17 03:21:20'::timestamp) - extract(epoch from '2026-07-17 03:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308712 -2.80137)'), GeomFromEWKT('SRID=4674;POINT (-40.30874 -2.801369)'))) / (select extract(epoch from '2026-07-17 03:21:20'::timestamp) - extract(epoch from '2026-07-17 03:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308758 -2.801373)', '2026-07-17 03:21:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30874 -2.801369)'), GeomFromEWKT('SRID=4674;POINT (-40.308758 -2.801373)'))) / (select extract(epoch from '2026-07-17 03:21:28'::timestamp) - extract(epoch from '2026-07-17 03:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30874 -2.801369)'), GeomFromEWKT('SRID=4674;POINT (-40.308758 -2.801373)'))) / (select extract(epoch from '2026-07-17 03:21:28'::timestamp) - extract(epoch from '2026-07-17 03:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308782 -2.801373)', '2026-07-17 03:21:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308758 -2.801373)'), GeomFromEWKT('SRID=4674;POINT (-40.308782 -2.801373)'))) / (select extract(epoch from '2026-07-17 03:21:37'::timestamp) - extract(epoch from '2026-07-17 03:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308758 -2.801373)'), GeomFromEWKT('SRID=4674;POINT (-40.308782 -2.801373)'))) / (select extract(epoch from '2026-07-17 03:21:37'::timestamp) - extract(epoch from '2026-07-17 03:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.308804 -2.801376)', '2026-07-17 03:21:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308782 -2.801373)'), GeomFromEWKT('SRID=4674;POINT (-40.308804 -2.801376)'))) / (select extract(epoch from '2026-07-17 03:21:46'::timestamp) - extract(epoch from '2026-07-17 03:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308782 -2.801373)'), GeomFromEWKT('SRID=4674;POINT (-40.308804 -2.801376)'))) / (select extract(epoch from '2026-07-17 03:21:46'::timestamp) - extract(epoch from '2026-07-17 03:21: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'), 47836, 'SRID=4674;POINT (-40.308862 -2.801377)', '2026-07-17 03:22:00', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308804 -2.801376)'), GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.801377)'))) / (select extract(epoch from '2026-07-17 03:22:00'::timestamp) - extract(epoch from '2026-07-17 03:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308804 -2.801376)'), GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.801377)'))) / (select extract(epoch from '2026-07-17 03:22:00'::timestamp) - extract(epoch from '2026-07-17 03:21: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'), 47836, 'SRID=4674;POINT (-40.308926 -2.801398)', '2026-07-17 03:22:17', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.801377)'), GeomFromEWKT('SRID=4674;POINT (-40.308926 -2.801398)'))) / (select extract(epoch from '2026-07-17 03:22:17'::timestamp) - extract(epoch from '2026-07-17 03:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.801377)'), GeomFromEWKT('SRID=4674;POINT (-40.308926 -2.801398)'))) / (select extract(epoch from '2026-07-17 03:22:17'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.308987 -2.801425)', '2026-07-17 03:22:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308926 -2.801398)'), GeomFromEWKT('SRID=4674;POINT (-40.308987 -2.801425)'))) / (select extract(epoch from '2026-07-17 03:22:34'::timestamp) - extract(epoch from '2026-07-17 03:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308926 -2.801398)'), GeomFromEWKT('SRID=4674;POINT (-40.308987 -2.801425)'))) / (select extract(epoch from '2026-07-17 03:22:34'::timestamp) - extract(epoch from '2026-07-17 03:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.309077 -2.801433)', '2026-07-17 03:22:53', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308987 -2.801425)'), GeomFromEWKT('SRID=4674;POINT (-40.309077 -2.801433)'))) / (select extract(epoch from '2026-07-17 03:22:53'::timestamp) - extract(epoch from '2026-07-17 03:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308987 -2.801425)'), GeomFromEWKT('SRID=4674;POINT (-40.309077 -2.801433)'))) / (select extract(epoch from '2026-07-17 03:22:53'::timestamp) - extract(epoch from '2026-07-17 03:22: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'), 47836, 'SRID=4674;POINT (-40.309162 -2.801424)', '2026-07-17 03:23:07', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309077 -2.801433)'), GeomFromEWKT('SRID=4674;POINT (-40.309162 -2.801424)'))) / (select extract(epoch from '2026-07-17 03:23:07'::timestamp) - extract(epoch from '2026-07-17 03:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309077 -2.801433)'), GeomFromEWKT('SRID=4674;POINT (-40.309162 -2.801424)'))) / (select extract(epoch from '2026-07-17 03:23:07'::timestamp) - extract(epoch from '2026-07-17 03:22: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'), 47836, 'SRID=4674;POINT (-40.309188 -2.801438)', '2026-07-17 03:23:22', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309162 -2.801424)'), GeomFromEWKT('SRID=4674;POINT (-40.309188 -2.801438)'))) / (select extract(epoch from '2026-07-17 03:23:22'::timestamp) - extract(epoch from '2026-07-17 03:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309162 -2.801424)'), GeomFromEWKT('SRID=4674;POINT (-40.309188 -2.801438)'))) / (select extract(epoch from '2026-07-17 03:23:22'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.30921 -2.801438)', '2026-07-17 03:23:38', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309188 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.30921 -2.801438)'))) / (select extract(epoch from '2026-07-17 03:23:38'::timestamp) - extract(epoch from '2026-07-17 03:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309188 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.30921 -2.801438)'))) / (select extract(epoch from '2026-07-17 03:23:38'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.309239 -2.801438)', '2026-07-17 03:23:50', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30921 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.309239 -2.801438)'))) / (select extract(epoch from '2026-07-17 03:23:50'::timestamp) - extract(epoch from '2026-07-17 03:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30921 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.309239 -2.801438)'))) / (select extract(epoch from '2026-07-17 03:23:50'::timestamp) - extract(epoch from '2026-07-17 03:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.309277 -2.80145)', '2026-07-17 03:24:05', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309239 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.309277 -2.80145)'))) / (select extract(epoch from '2026-07-17 03:24:05'::timestamp) - extract(epoch from '2026-07-17 03:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309239 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.309277 -2.80145)'))) / (select extract(epoch from '2026-07-17 03:24:05'::timestamp) - extract(epoch from '2026-07-17 03:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.30935 -2.801456)', '2026-07-17 03:24:21', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309277 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.30935 -2.801456)'))) / (select extract(epoch from '2026-07-17 03:24:21'::timestamp) - extract(epoch from '2026-07-17 03:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309277 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.30935 -2.801456)'))) / (select extract(epoch from '2026-07-17 03:24:21'::timestamp) - extract(epoch from '2026-07-17 03:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.309394 -2.801477)', '2026-07-17 03:24:35', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30935 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.309394 -2.801477)'))) / (select extract(epoch from '2026-07-17 03:24:35'::timestamp) - extract(epoch from '2026-07-17 03:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30935 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.309394 -2.801477)'))) / (select extract(epoch from '2026-07-17 03:24:35'::timestamp) - extract(epoch from '2026-07-17 03:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.309442 -2.801487)', '2026-07-17 03:24:51', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309394 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.309442 -2.801487)'))) / (select extract(epoch from '2026-07-17 03:24:51'::timestamp) - extract(epoch from '2026-07-17 03:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309394 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.309442 -2.801487)'))) / (select extract(epoch from '2026-07-17 03:24:51'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.30945 -2.80149)', '2026-07-17 03:25:00', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309442 -2.801487)'), GeomFromEWKT('SRID=4674;POINT (-40.30945 -2.80149)'))) / (select extract(epoch from '2026-07-17 03:25:00'::timestamp) - extract(epoch from '2026-07-17 03:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309442 -2.801487)'), GeomFromEWKT('SRID=4674;POINT (-40.30945 -2.80149)'))) / (select extract(epoch from '2026-07-17 03:25:00'::timestamp) - extract(epoch from '2026-07-17 03:24: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'), 47836, 'SRID=4674;POINT (-40.30946 -2.801497)', '2026-07-17 03:25:13', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30945 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.801497)'))) / (select extract(epoch from '2026-07-17 03:25:13'::timestamp) - extract(epoch from '2026-07-17 03:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30945 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.801497)'))) / (select extract(epoch from '2026-07-17 03:25:13'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.309478 -2.801507)', '2026-07-17 03:25:23', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.801497)'), GeomFromEWKT('SRID=4674;POINT (-40.309478 -2.801507)'))) / (select extract(epoch from '2026-07-17 03:25:23'::timestamp) - extract(epoch from '2026-07-17 03:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.801497)'), GeomFromEWKT('SRID=4674;POINT (-40.309478 -2.801507)'))) / (select extract(epoch from '2026-07-17 03:25:23'::timestamp) - extract(epoch from '2026-07-17 03:25: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'), 47836, 'SRID=4674;POINT (-40.309492 -2.801511)', '2026-07-17 03:25:35', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309478 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.309492 -2.801511)'))) / (select extract(epoch from '2026-07-17 03:25:35'::timestamp) - extract(epoch from '2026-07-17 03:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309478 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.309492 -2.801511)'))) / (select extract(epoch from '2026-07-17 03:25:35'::timestamp) - extract(epoch from '2026-07-17 03:25: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'), 47836, 'SRID=4674;POINT (-40.309524 -2.801524)', '2026-07-17 03:25:48', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309492 -2.801511)'), GeomFromEWKT('SRID=4674;POINT (-40.309524 -2.801524)'))) / (select extract(epoch from '2026-07-17 03:25:48'::timestamp) - extract(epoch from '2026-07-17 03:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309492 -2.801511)'), GeomFromEWKT('SRID=4674;POINT (-40.309524 -2.801524)'))) / (select extract(epoch from '2026-07-17 03:25:48'::timestamp) - extract(epoch from '2026-07-17 03:25: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'), 47836, 'SRID=4674;POINT (-40.309609 -2.801535)', '2026-07-17 03:26:03', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309524 -2.801524)'), GeomFromEWKT('SRID=4674;POINT (-40.309609 -2.801535)'))) / (select extract(epoch from '2026-07-17 03:26:03'::timestamp) - extract(epoch from '2026-07-17 03:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309524 -2.801524)'), GeomFromEWKT('SRID=4674;POINT (-40.309609 -2.801535)'))) / (select extract(epoch from '2026-07-17 03:26:03'::timestamp) - extract(epoch from '2026-07-17 03:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.309689 -2.801547)', '2026-07-17 03:26:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309609 -2.801535)'), GeomFromEWKT('SRID=4674;POINT (-40.309689 -2.801547)'))) / (select extract(epoch from '2026-07-17 03:26:20'::timestamp) - extract(epoch from '2026-07-17 03:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309609 -2.801535)'), GeomFromEWKT('SRID=4674;POINT (-40.309689 -2.801547)'))) / (select extract(epoch from '2026-07-17 03:26:20'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.309761 -2.801539)', '2026-07-17 03:26:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309689 -2.801547)'), GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.801539)'))) / (select extract(epoch from '2026-07-17 03:26:38'::timestamp) - extract(epoch from '2026-07-17 03:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309689 -2.801547)'), GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.801539)'))) / (select extract(epoch from '2026-07-17 03:26:38'::timestamp) - extract(epoch from '2026-07-17 03:26: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'), 47836, 'SRID=4674;POINT (-40.309816 -2.801541)', '2026-07-17 03:26:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.801539)'), GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.801541)'))) / (select extract(epoch from '2026-07-17 03:26:55'::timestamp) - extract(epoch from '2026-07-17 03:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.801539)'), GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.801541)'))) / (select extract(epoch from '2026-07-17 03:26:55'::timestamp) - extract(epoch from '2026-07-17 03:26: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'), 47836, 'SRID=4674;POINT (-40.30988 -2.80155)', '2026-07-17 03:27:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.801541)'), GeomFromEWKT('SRID=4674;POINT (-40.30988 -2.80155)'))) / (select extract(epoch from '2026-07-17 03:27:10'::timestamp) - extract(epoch from '2026-07-17 03:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309816 -2.801541)'), GeomFromEWKT('SRID=4674;POINT (-40.30988 -2.80155)'))) / (select extract(epoch from '2026-07-17 03:27:10'::timestamp) - extract(epoch from '2026-07-17 03:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.309954 -2.801559)', '2026-07-17 03:27:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30988 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.309954 -2.801559)'))) / (select extract(epoch from '2026-07-17 03:27:31'::timestamp) - extract(epoch from '2026-07-17 03:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30988 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.309954 -2.801559)'))) / (select extract(epoch from '2026-07-17 03:27:31'::timestamp) - extract(epoch from '2026-07-17 03:27: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'), 47836, 'SRID=4674;POINT (-40.310003 -2.801561)', '2026-07-17 03:27:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309954 -2.801559)'), GeomFromEWKT('SRID=4674;POINT (-40.310003 -2.801561)'))) / (select extract(epoch from '2026-07-17 03:27:50'::timestamp) - extract(epoch from '2026-07-17 03:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309954 -2.801559)'), GeomFromEWKT('SRID=4674;POINT (-40.310003 -2.801561)'))) / (select extract(epoch from '2026-07-17 03:27:50'::timestamp) - extract(epoch from '2026-07-17 03:27: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'), 47836, 'SRID=4674;POINT (-40.310086 -2.801575)', '2026-07-17 03:28:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310003 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.801575)'))) / (select extract(epoch from '2026-07-17 03:28:08'::timestamp) - extract(epoch from '2026-07-17 03:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310003 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.801575)'))) / (select extract(epoch from '2026-07-17 03:28:08'::timestamp) - extract(epoch from '2026-07-17 03:27: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'), 47836, 'SRID=4674;POINT (-40.310145 -2.801579)', '2026-07-17 03:28:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.310145 -2.801579)'))) / (select extract(epoch from '2026-07-17 03:28:25'::timestamp) - extract(epoch from '2026-07-17 03:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.801575)'), GeomFromEWKT('SRID=4674;POINT (-40.310145 -2.801579)'))) / (select extract(epoch from '2026-07-17 03:28:25'::timestamp) - extract(epoch from '2026-07-17 03:28: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'), 47836, 'SRID=4674;POINT (-40.310158 -2.801584)', '2026-07-17 03:28:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310145 -2.801579)'), GeomFromEWKT('SRID=4674;POINT (-40.310158 -2.801584)'))) / (select extract(epoch from '2026-07-17 03:28:40'::timestamp) - extract(epoch from '2026-07-17 03:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310145 -2.801579)'), GeomFromEWKT('SRID=4674;POINT (-40.310158 -2.801584)'))) / (select extract(epoch from '2026-07-17 03:28:40'::timestamp) - extract(epoch from '2026-07-17 03:28: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'), 47836, 'SRID=4674;POINT (-40.310196 -2.801594)', '2026-07-17 03:28:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310158 -2.801584)'), GeomFromEWKT('SRID=4674;POINT (-40.310196 -2.801594)'))) / (select extract(epoch from '2026-07-17 03:28:50'::timestamp) - extract(epoch from '2026-07-17 03:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310158 -2.801584)'), GeomFromEWKT('SRID=4674;POINT (-40.310196 -2.801594)'))) / (select extract(epoch from '2026-07-17 03:28:50'::timestamp) - extract(epoch from '2026-07-17 03:28: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'), 47836, 'SRID=4674;POINT (-40.310238 -2.801602)', '2026-07-17 03:29:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310196 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.310238 -2.801602)'))) / (select extract(epoch from '2026-07-17 03:29:07'::timestamp) - extract(epoch from '2026-07-17 03:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310196 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.310238 -2.801602)'))) / (select extract(epoch from '2026-07-17 03:29:07'::timestamp) - extract(epoch from '2026-07-17 03:28: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'), 47836, 'SRID=4674;POINT (-40.310281 -2.801614)', '2026-07-17 03:29:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310238 -2.801602)'), GeomFromEWKT('SRID=4674;POINT (-40.310281 -2.801614)'))) / (select extract(epoch from '2026-07-17 03:29:25'::timestamp) - extract(epoch from '2026-07-17 03:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310238 -2.801602)'), GeomFromEWKT('SRID=4674;POINT (-40.310281 -2.801614)'))) / (select extract(epoch from '2026-07-17 03:29:25'::timestamp) - extract(epoch from '2026-07-17 03:29: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'), 47836, 'SRID=4674;POINT (-40.3103 -2.801611)', '2026-07-17 03:29:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310281 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.801611)'))) / (select extract(epoch from '2026-07-17 03:29:34'::timestamp) - extract(epoch from '2026-07-17 03:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310281 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.801611)'))) / (select extract(epoch from '2026-07-17 03:29:34'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.310382 -2.801611)', '2026-07-17 03:29:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.310382 -2.801611)'))) / (select extract(epoch from '2026-07-17 03:29:52'::timestamp) - extract(epoch from '2026-07-17 03:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.310382 -2.801611)'))) / (select extract(epoch from '2026-07-17 03:29:52'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.31047 -2.801638)', '2026-07-17 03:30:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310382 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.31047 -2.801638)'))) / (select extract(epoch from '2026-07-17 03:30:08'::timestamp) - extract(epoch from '2026-07-17 03:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310382 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.31047 -2.801638)'))) / (select extract(epoch from '2026-07-17 03:30:08'::timestamp) - extract(epoch from '2026-07-17 03:29: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'), 47836, 'SRID=4674;POINT (-40.310531 -2.801656)', '2026-07-17 03:30:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31047 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.310531 -2.801656)'))) / (select extract(epoch from '2026-07-17 03:30:25'::timestamp) - extract(epoch from '2026-07-17 03:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31047 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.310531 -2.801656)'))) / (select extract(epoch from '2026-07-17 03:30:25'::timestamp) - extract(epoch from '2026-07-17 03:30: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'), 47836, 'SRID=4674;POINT (-40.310585 -2.801683)', '2026-07-17 03:30:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310531 -2.801656)'), GeomFromEWKT('SRID=4674;POINT (-40.310585 -2.801683)'))) / (select extract(epoch from '2026-07-17 03:30:41'::timestamp) - extract(epoch from '2026-07-17 03:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310531 -2.801656)'), GeomFromEWKT('SRID=4674;POINT (-40.310585 -2.801683)'))) / (select extract(epoch from '2026-07-17 03:30:41'::timestamp) - extract(epoch from '2026-07-17 03:30: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'), 47836, 'SRID=4674;POINT (-40.310605 -2.801678)', '2026-07-17 03:30:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310585 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.310605 -2.801678)'))) / (select extract(epoch from '2026-07-17 03:30:56'::timestamp) - extract(epoch from '2026-07-17 03:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310585 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.310605 -2.801678)'))) / (select extract(epoch from '2026-07-17 03:30:56'::timestamp) - extract(epoch from '2026-07-17 03:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310623 -2.801694)', '2026-07-17 03:31:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310605 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.310623 -2.801694)'))) / (select extract(epoch from '2026-07-17 03:31:09'::timestamp) - extract(epoch from '2026-07-17 03:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310605 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.310623 -2.801694)'))) / (select extract(epoch from '2026-07-17 03:31:09'::timestamp) - extract(epoch from '2026-07-17 03:30: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'), 47836, 'SRID=4674;POINT (-40.310665 -2.801715)', '2026-07-17 03:31:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310623 -2.801694)'), GeomFromEWKT('SRID=4674;POINT (-40.310665 -2.801715)'))) / (select extract(epoch from '2026-07-17 03:31:22'::timestamp) - extract(epoch from '2026-07-17 03:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310623 -2.801694)'), GeomFromEWKT('SRID=4674;POINT (-40.310665 -2.801715)'))) / (select extract(epoch from '2026-07-17 03:31:22'::timestamp) - extract(epoch from '2026-07-17 03:31: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'), 47836, 'SRID=4674;POINT (-40.310722 -2.801727)', '2026-07-17 03:31:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310665 -2.801715)'), GeomFromEWKT('SRID=4674;POINT (-40.310722 -2.801727)'))) / (select extract(epoch from '2026-07-17 03:31:36'::timestamp) - extract(epoch from '2026-07-17 03:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310665 -2.801715)'), GeomFromEWKT('SRID=4674;POINT (-40.310722 -2.801727)'))) / (select extract(epoch from '2026-07-17 03:31:36'::timestamp) - extract(epoch from '2026-07-17 03:31: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'), 47836, 'SRID=4674;POINT (-40.310744 -2.801729)', '2026-07-17 03:31:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310722 -2.801727)'), GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.801729)'))) / (select extract(epoch from '2026-07-17 03:31:51'::timestamp) - extract(epoch from '2026-07-17 03:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310722 -2.801727)'), GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.801729)'))) / (select extract(epoch from '2026-07-17 03:31:51'::timestamp) - extract(epoch from '2026-07-17 03:31: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'), 47836, 'SRID=4674;POINT (-40.310737 -2.801738)', '2026-07-17 03:32:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.801729)'), GeomFromEWKT('SRID=4674;POINT (-40.310737 -2.801738)'))) / (select extract(epoch from '2026-07-17 03:32:01'::timestamp) - extract(epoch from '2026-07-17 03:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.801729)'), GeomFromEWKT('SRID=4674;POINT (-40.310737 -2.801738)'))) / (select extract(epoch from '2026-07-17 03:32:01'::timestamp) - extract(epoch from '2026-07-17 03:31: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'), 47836, 'SRID=4674;POINT (-40.310739 -2.801745)', '2026-07-17 03:32:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310737 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.310739 -2.801745)'))) / (select extract(epoch from '2026-07-17 03:32:10'::timestamp) - extract(epoch from '2026-07-17 03:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310737 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.310739 -2.801745)'))) / (select extract(epoch from '2026-07-17 03:32:10'::timestamp) - extract(epoch from '2026-07-17 03:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310775 -2.801756)', '2026-07-17 03:32:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310739 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.310775 -2.801756)'))) / (select extract(epoch from '2026-07-17 03:32:20'::timestamp) - extract(epoch from '2026-07-17 03:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310739 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.310775 -2.801756)'))) / (select extract(epoch from '2026-07-17 03:32:20'::timestamp) - extract(epoch from '2026-07-17 03:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310824 -2.801751)', '2026-07-17 03:32:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310775 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.310824 -2.801751)'))) / (select extract(epoch from '2026-07-17 03:32:28'::timestamp) - extract(epoch from '2026-07-17 03:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310775 -2.801756)'), GeomFromEWKT('SRID=4674;POINT (-40.310824 -2.801751)'))) / (select extract(epoch from '2026-07-17 03:32:28'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.310854 -2.801745)', '2026-07-17 03:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310824 -2.801751)'), GeomFromEWKT('SRID=4674;POINT (-40.310854 -2.801745)'))) / (select extract(epoch from '2026-07-17 03:32:35'::timestamp) - extract(epoch from '2026-07-17 03:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310824 -2.801751)'), GeomFromEWKT('SRID=4674;POINT (-40.310854 -2.801745)'))) / (select extract(epoch from '2026-07-17 03:32:35'::timestamp) - extract(epoch from '2026-07-17 03:32: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'), 47836, 'SRID=4674;POINT (-40.310891 -2.801752)', '2026-07-17 03:32:42', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310854 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.801752)'))) / (select extract(epoch from '2026-07-17 03:32:42'::timestamp) - extract(epoch from '2026-07-17 03:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310854 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.801752)'))) / (select extract(epoch from '2026-07-17 03:32:42'::timestamp) - extract(epoch from '2026-07-17 03:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310931 -2.801739)', '2026-07-17 03:32:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.801752)'), GeomFromEWKT('SRID=4674;POINT (-40.310931 -2.801739)'))) / (select extract(epoch from '2026-07-17 03:32:50'::timestamp) - extract(epoch from '2026-07-17 03:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310891 -2.801752)'), GeomFromEWKT('SRID=4674;POINT (-40.310931 -2.801739)'))) / (select extract(epoch from '2026-07-17 03:32:50'::timestamp) - extract(epoch from '2026-07-17 03:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.31097 -2.801745)', '2026-07-17 03:32:57', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310931 -2.801739)'), GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.801745)'))) / (select extract(epoch from '2026-07-17 03:32:57'::timestamp) - extract(epoch from '2026-07-17 03:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310931 -2.801739)'), GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.801745)'))) / (select extract(epoch from '2026-07-17 03:32:57'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.311004 -2.801738)', '2026-07-17 03:33:04', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.311004 -2.801738)'))) / (select extract(epoch from '2026-07-17 03:33:04'::timestamp) - extract(epoch from '2026-07-17 03:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31097 -2.801745)'), GeomFromEWKT('SRID=4674;POINT (-40.311004 -2.801738)'))) / (select extract(epoch from '2026-07-17 03:33:04'::timestamp) - extract(epoch from '2026-07-17 03:32: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'), 47836, 'SRID=4674;POINT (-40.311045 -2.801746)', '2026-07-17 03:33:11', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311004 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.311045 -2.801746)'))) / (select extract(epoch from '2026-07-17 03:33:11'::timestamp) - extract(epoch from '2026-07-17 03:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311004 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.311045 -2.801746)'))) / (select extract(epoch from '2026-07-17 03:33:11'::timestamp) - extract(epoch from '2026-07-17 03:33: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'), 47836, 'SRID=4674;POINT (-40.311069 -2.801746)', '2026-07-17 03:33:18', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311045 -2.801746)'), GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.801746)'))) / (select extract(epoch from '2026-07-17 03:33:18'::timestamp) - extract(epoch from '2026-07-17 03:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311045 -2.801746)'), GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.801746)'))) / (select extract(epoch from '2026-07-17 03:33:18'::timestamp) - extract(epoch from '2026-07-17 03:33: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'), 47836, 'SRID=4674;POINT (-40.311092 -2.80175)', '2026-07-17 03:33:25', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.801746)'), GeomFromEWKT('SRID=4674;POINT (-40.311092 -2.80175)'))) / (select extract(epoch from '2026-07-17 03:33:25'::timestamp) - extract(epoch from '2026-07-17 03:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311069 -2.801746)'), GeomFromEWKT('SRID=4674;POINT (-40.311092 -2.80175)'))) / (select extract(epoch from '2026-07-17 03:33:25'::timestamp) - extract(epoch from '2026-07-17 03:33: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'), 47836, 'SRID=4674;POINT (-40.311104 -2.801754)', '2026-07-17 03:33:34', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311092 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.801754)'))) / (select extract(epoch from '2026-07-17 03:33:34'::timestamp) - extract(epoch from '2026-07-17 03:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311092 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.801754)'))) / (select extract(epoch from '2026-07-17 03:33:34'::timestamp) - extract(epoch from '2026-07-17 03:33: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'), 47836, 'SRID=4674;POINT (-40.311111 -2.801754)', '2026-07-17 03:33:44', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.801754)'), GeomFromEWKT('SRID=4674;POINT (-40.311111 -2.801754)'))) / (select extract(epoch from '2026-07-17 03:33:44'::timestamp) - extract(epoch from '2026-07-17 03:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311104 -2.801754)'), GeomFromEWKT('SRID=4674;POINT (-40.311111 -2.801754)'))) / (select extract(epoch from '2026-07-17 03:33:44'::timestamp) - extract(epoch from '2026-07-17 03:33: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'), 47836, 'SRID=4674;POINT (-40.311127 -2.801752)', '2026-07-17 03:33:52', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311111 -2.801754)'), GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.801752)'))) / (select extract(epoch from '2026-07-17 03:33:52'::timestamp) - extract(epoch from '2026-07-17 03:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311111 -2.801754)'), GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.801752)'))) / (select extract(epoch from '2026-07-17 03:33:52'::timestamp) - extract(epoch from '2026-07-17 03:33: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'), 47836, 'SRID=4674;POINT (-40.311128 -2.801753)', '2026-07-17 03:34:01', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.801752)'), GeomFromEWKT('SRID=4674;POINT (-40.311128 -2.801753)'))) / (select extract(epoch from '2026-07-17 03:34:01'::timestamp) - extract(epoch from '2026-07-17 03:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311127 -2.801752)'), GeomFromEWKT('SRID=4674;POINT (-40.311128 -2.801753)'))) / (select extract(epoch from '2026-07-17 03:34:01'::timestamp) - extract(epoch from '2026-07-17 03:33: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'), 47836, 'SRID=4674;POINT (-40.311145 -2.801763)', '2026-07-17 03:34:13', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311128 -2.801753)'), GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.801763)'))) / (select extract(epoch from '2026-07-17 03:34:13'::timestamp) - extract(epoch from '2026-07-17 03:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311128 -2.801753)'), GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.801763)'))) / (select extract(epoch from '2026-07-17 03:34:13'::timestamp) - extract(epoch from '2026-07-17 03:34: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'), 47836, 'SRID=4674;POINT (-40.311158 -2.801768)', '2026-07-17 03:34:25', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.311158 -2.801768)'))) / (select extract(epoch from '2026-07-17 03:34:25'::timestamp) - extract(epoch from '2026-07-17 03:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.311158 -2.801768)'))) / (select extract(epoch from '2026-07-17 03:34:25'::timestamp) - extract(epoch from '2026-07-17 03:34: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'), 47836, 'SRID=4674;POINT (-40.31126 -2.801789)', '2026-07-17 03:34:40', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311158 -2.801768)'), GeomFromEWKT('SRID=4674;POINT (-40.31126 -2.801789)'))) / (select extract(epoch from '2026-07-17 03:34:40'::timestamp) - extract(epoch from '2026-07-17 03:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311158 -2.801768)'), GeomFromEWKT('SRID=4674;POINT (-40.31126 -2.801789)'))) / (select extract(epoch from '2026-07-17 03:34:40'::timestamp) - extract(epoch from '2026-07-17 03:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311355 -2.801823)', '2026-07-17 03:34:58', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31126 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.311355 -2.801823)'))) / (select extract(epoch from '2026-07-17 03:34:58'::timestamp) - extract(epoch from '2026-07-17 03:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31126 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.311355 -2.801823)'))) / (select extract(epoch from '2026-07-17 03:34:58'::timestamp) - extract(epoch from '2026-07-17 03:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311408 -2.801832)', '2026-07-17 03:35:13', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311355 -2.801823)'), GeomFromEWKT('SRID=4674;POINT (-40.311408 -2.801832)'))) / (select extract(epoch from '2026-07-17 03:35:13'::timestamp) - extract(epoch from '2026-07-17 03:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311355 -2.801823)'), GeomFromEWKT('SRID=4674;POINT (-40.311408 -2.801832)'))) / (select extract(epoch from '2026-07-17 03:35:13'::timestamp) - extract(epoch from '2026-07-17 03:34: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'), 47836, 'SRID=4674;POINT (-40.311464 -2.801827)', '2026-07-17 03:35:30', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311408 -2.801832)'), GeomFromEWKT('SRID=4674;POINT (-40.311464 -2.801827)'))) / (select extract(epoch from '2026-07-17 03:35:30'::timestamp) - extract(epoch from '2026-07-17 03:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311408 -2.801832)'), GeomFromEWKT('SRID=4674;POINT (-40.311464 -2.801827)'))) / (select extract(epoch from '2026-07-17 03:35:30'::timestamp) - extract(epoch from '2026-07-17 03:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311524 -2.801846)', '2026-07-17 03:35:47', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311464 -2.801827)'), GeomFromEWKT('SRID=4674;POINT (-40.311524 -2.801846)'))) / (select extract(epoch from '2026-07-17 03:35:47'::timestamp) - extract(epoch from '2026-07-17 03:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311464 -2.801827)'), GeomFromEWKT('SRID=4674;POINT (-40.311524 -2.801846)'))) / (select extract(epoch from '2026-07-17 03:35:47'::timestamp) - extract(epoch from '2026-07-17 03:35: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'), 47836, 'SRID=4674;POINT (-40.31158 -2.801858)', '2026-07-17 03:36:03', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311524 -2.801846)'), GeomFromEWKT('SRID=4674;POINT (-40.31158 -2.801858)'))) / (select extract(epoch from '2026-07-17 03:36:03'::timestamp) - extract(epoch from '2026-07-17 03:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311524 -2.801846)'), GeomFromEWKT('SRID=4674;POINT (-40.31158 -2.801858)'))) / (select extract(epoch from '2026-07-17 03:36:03'::timestamp) - extract(epoch from '2026-07-17 03:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311635 -2.801851)', '2026-07-17 03:36:18', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31158 -2.801858)'), GeomFromEWKT('SRID=4674;POINT (-40.311635 -2.801851)'))) / (select extract(epoch from '2026-07-17 03:36:18'::timestamp) - extract(epoch from '2026-07-17 03:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31158 -2.801858)'), GeomFromEWKT('SRID=4674;POINT (-40.311635 -2.801851)'))) / (select extract(epoch from '2026-07-17 03:36:18'::timestamp) - extract(epoch from '2026-07-17 03:36: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'), 47836, 'SRID=4674;POINT (-40.311676 -2.801847)', '2026-07-17 03:36:38', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311635 -2.801851)'), GeomFromEWKT('SRID=4674;POINT (-40.311676 -2.801847)'))) / (select extract(epoch from '2026-07-17 03:36:38'::timestamp) - extract(epoch from '2026-07-17 03:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311635 -2.801851)'), GeomFromEWKT('SRID=4674;POINT (-40.311676 -2.801847)'))) / (select extract(epoch from '2026-07-17 03:36:38'::timestamp) - extract(epoch from '2026-07-17 03:36: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'), 47836, 'SRID=4674;POINT (-40.311694 -2.801868)', '2026-07-17 03:36:50', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311676 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.311694 -2.801868)'))) / (select extract(epoch from '2026-07-17 03:36:50'::timestamp) - extract(epoch from '2026-07-17 03:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311676 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.311694 -2.801868)'))) / (select extract(epoch from '2026-07-17 03:36:50'::timestamp) - extract(epoch from '2026-07-17 03:36: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'), 47836, 'SRID=4674;POINT (-40.311712 -2.801866)', '2026-07-17 03:37:04', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311694 -2.801868)'), GeomFromEWKT('SRID=4674;POINT (-40.311712 -2.801866)'))) / (select extract(epoch from '2026-07-17 03:37:04'::timestamp) - extract(epoch from '2026-07-17 03:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311694 -2.801868)'), GeomFromEWKT('SRID=4674;POINT (-40.311712 -2.801866)'))) / (select extract(epoch from '2026-07-17 03:37:04'::timestamp) - extract(epoch from '2026-07-17 03:36: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'), 47836, 'SRID=4674;POINT (-40.311748 -2.801862)', '2026-07-17 03:37:14', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311712 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.311748 -2.801862)'))) / (select extract(epoch from '2026-07-17 03:37:14'::timestamp) - extract(epoch from '2026-07-17 03:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311712 -2.801866)'), GeomFromEWKT('SRID=4674;POINT (-40.311748 -2.801862)'))) / (select extract(epoch from '2026-07-17 03:37:14'::timestamp) - extract(epoch from '2026-07-17 03:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311818 -2.801854)', '2026-07-17 03:37:32', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311748 -2.801862)'), GeomFromEWKT('SRID=4674;POINT (-40.311818 -2.801854)'))) / (select extract(epoch from '2026-07-17 03:37:32'::timestamp) - extract(epoch from '2026-07-17 03:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311748 -2.801862)'), GeomFromEWKT('SRID=4674;POINT (-40.311818 -2.801854)'))) / (select extract(epoch from '2026-07-17 03:37:32'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.311866 -2.801865)', '2026-07-17 03:37:46', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311818 -2.801854)'), GeomFromEWKT('SRID=4674;POINT (-40.311866 -2.801865)'))) / (select extract(epoch from '2026-07-17 03:37:46'::timestamp) - extract(epoch from '2026-07-17 03:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311818 -2.801854)'), GeomFromEWKT('SRID=4674;POINT (-40.311866 -2.801865)'))) / (select extract(epoch from '2026-07-17 03:37:46'::timestamp) - extract(epoch from '2026-07-17 03:37: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'), 47836, 'SRID=4674;POINT (-40.311927 -2.801885)', '2026-07-17 03:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311866 -2.801865)'), GeomFromEWKT('SRID=4674;POINT (-40.311927 -2.801885)'))) / (select extract(epoch from '2026-07-17 03:38:06'::timestamp) - extract(epoch from '2026-07-17 03:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311866 -2.801865)'), GeomFromEWKT('SRID=4674;POINT (-40.311927 -2.801885)'))) / (select extract(epoch from '2026-07-17 03:38:06'::timestamp) - extract(epoch from '2026-07-17 03:37: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'), 47836, 'SRID=4674;POINT (-40.311965 -2.801883)', '2026-07-17 03:38:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311927 -2.801885)'), GeomFromEWKT('SRID=4674;POINT (-40.311965 -2.801883)'))) / (select extract(epoch from '2026-07-17 03:38:19'::timestamp) - extract(epoch from '2026-07-17 03:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311927 -2.801885)'), GeomFromEWKT('SRID=4674;POINT (-40.311965 -2.801883)'))) / (select extract(epoch from '2026-07-17 03:38:19'::timestamp) - extract(epoch from '2026-07-17 03:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312015 -2.801903)', '2026-07-17 03:38:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311965 -2.801883)'), GeomFromEWKT('SRID=4674;POINT (-40.312015 -2.801903)'))) / (select extract(epoch from '2026-07-17 03:38:28'::timestamp) - extract(epoch from '2026-07-17 03:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311965 -2.801883)'), GeomFromEWKT('SRID=4674;POINT (-40.312015 -2.801903)'))) / (select extract(epoch from '2026-07-17 03:38:28'::timestamp) - extract(epoch from '2026-07-17 03:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312043 -2.8019)', '2026-07-17 03:38:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312015 -2.801903)'), GeomFromEWKT('SRID=4674;POINT (-40.312043 -2.8019)'))) / (select extract(epoch from '2026-07-17 03:38:35'::timestamp) - extract(epoch from '2026-07-17 03:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312015 -2.801903)'), GeomFromEWKT('SRID=4674;POINT (-40.312043 -2.8019)'))) / (select extract(epoch from '2026-07-17 03:38:35'::timestamp) - extract(epoch from '2026-07-17 03:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.31207 -2.801904)', '2026-07-17 03:38:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312043 -2.8019)'), GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.801904)'))) / (select extract(epoch from '2026-07-17 03:38:44'::timestamp) - extract(epoch from '2026-07-17 03:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312043 -2.8019)'), GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.801904)'))) / (select extract(epoch from '2026-07-17 03:38:44'::timestamp) - extract(epoch from '2026-07-17 03:38: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'), 47836, 'SRID=4674;POINT (-40.312103 -2.801917)', '2026-07-17 03:38:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.801904)'), GeomFromEWKT('SRID=4674;POINT (-40.312103 -2.801917)'))) / (select extract(epoch from '2026-07-17 03:38:53'::timestamp) - extract(epoch from '2026-07-17 03:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31207 -2.801904)'), GeomFromEWKT('SRID=4674;POINT (-40.312103 -2.801917)'))) / (select extract(epoch from '2026-07-17 03:38:53'::timestamp) - extract(epoch from '2026-07-17 03:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.31212 -2.801926)', '2026-07-17 03:39:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312103 -2.801917)'), GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.801926)'))) / (select extract(epoch from '2026-07-17 03:39:00'::timestamp) - extract(epoch from '2026-07-17 03:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312103 -2.801917)'), GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.801926)'))) / (select extract(epoch from '2026-07-17 03:39:00'::timestamp) - extract(epoch from '2026-07-17 03:38: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'), 47836, 'SRID=4674;POINT (-40.312141 -2.801925)', '2026-07-17 03:39:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.312141 -2.801925)'))) / (select extract(epoch from '2026-07-17 03:39:08'::timestamp) - extract(epoch from '2026-07-17 03:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31212 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.312141 -2.801925)'))) / (select extract(epoch from '2026-07-17 03:39:08'::timestamp) - extract(epoch from '2026-07-17 03:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312164 -2.801926)', '2026-07-17 03:39:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312141 -2.801925)'), GeomFromEWKT('SRID=4674;POINT (-40.312164 -2.801926)'))) / (select extract(epoch from '2026-07-17 03:39:16'::timestamp) - extract(epoch from '2026-07-17 03:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312141 -2.801925)'), GeomFromEWKT('SRID=4674;POINT (-40.312164 -2.801926)'))) / (select extract(epoch from '2026-07-17 03:39:16'::timestamp) - extract(epoch from '2026-07-17 03:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312191 -2.801932)', '2026-07-17 03:39:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312164 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.312191 -2.801932)'))) / (select extract(epoch from '2026-07-17 03:39:23'::timestamp) - extract(epoch from '2026-07-17 03:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312164 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.312191 -2.801932)'))) / (select extract(epoch from '2026-07-17 03:39:23'::timestamp) - extract(epoch from '2026-07-17 03:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312207 -2.801936)', '2026-07-17 03:39:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312191 -2.801932)'), GeomFromEWKT('SRID=4674;POINT (-40.312207 -2.801936)'))) / (select extract(epoch from '2026-07-17 03:39:30'::timestamp) - extract(epoch from '2026-07-17 03:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312191 -2.801932)'), GeomFromEWKT('SRID=4674;POINT (-40.312207 -2.801936)'))) / (select extract(epoch from '2026-07-17 03:39:30'::timestamp) - extract(epoch from '2026-07-17 03:39: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'), 47836, 'SRID=4674;POINT (-40.312238 -2.801946)', '2026-07-17 03:39:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312207 -2.801936)'), GeomFromEWKT('SRID=4674;POINT (-40.312238 -2.801946)'))) / (select extract(epoch from '2026-07-17 03:39:39'::timestamp) - extract(epoch from '2026-07-17 03:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312207 -2.801936)'), GeomFromEWKT('SRID=4674;POINT (-40.312238 -2.801946)'))) / (select extract(epoch from '2026-07-17 03:39:39'::timestamp) - extract(epoch from '2026-07-17 03:39: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'), 47836, 'SRID=4674;POINT (-40.312253 -2.801957)', '2026-07-17 03:39:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312238 -2.801946)'), GeomFromEWKT('SRID=4674;POINT (-40.312253 -2.801957)'))) / (select extract(epoch from '2026-07-17 03:39:46'::timestamp) - extract(epoch from '2026-07-17 03:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312238 -2.801946)'), GeomFromEWKT('SRID=4674;POINT (-40.312253 -2.801957)'))) / (select extract(epoch from '2026-07-17 03:39:46'::timestamp) - extract(epoch from '2026-07-17 03:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312271 -2.801951)', '2026-07-17 03:39:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312253 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.312271 -2.801951)'))) / (select extract(epoch from '2026-07-17 03:39:54'::timestamp) - extract(epoch from '2026-07-17 03:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312253 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.312271 -2.801951)'))) / (select extract(epoch from '2026-07-17 03:39:54'::timestamp) - extract(epoch from '2026-07-17 03:39: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'), 47836, 'SRID=4674;POINT (-40.312285 -2.801957)', '2026-07-17 03:40:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312271 -2.801951)'), GeomFromEWKT('SRID=4674;POINT (-40.312285 -2.801957)'))) / (select extract(epoch from '2026-07-17 03:40:05'::timestamp) - extract(epoch from '2026-07-17 03:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312271 -2.801951)'), GeomFromEWKT('SRID=4674;POINT (-40.312285 -2.801957)'))) / (select extract(epoch from '2026-07-17 03:40:05'::timestamp) - extract(epoch from '2026-07-17 03:39: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'), 47836, 'SRID=4674;POINT (-40.312337 -2.80197)', '2026-07-17 03:40:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312285 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.312337 -2.80197)'))) / (select extract(epoch from '2026-07-17 03:40:23'::timestamp) - extract(epoch from '2026-07-17 03:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312285 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.312337 -2.80197)'))) / (select extract(epoch from '2026-07-17 03:40:23'::timestamp) - extract(epoch from '2026-07-17 03:40: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'), 47836, 'SRID=4674;POINT (-40.312407 -2.801979)', '2026-07-17 03:40:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312337 -2.80197)'), GeomFromEWKT('SRID=4674;POINT (-40.312407 -2.801979)'))) / (select extract(epoch from '2026-07-17 03:40:37'::timestamp) - extract(epoch from '2026-07-17 03:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312337 -2.80197)'), GeomFromEWKT('SRID=4674;POINT (-40.312407 -2.801979)'))) / (select extract(epoch from '2026-07-17 03:40:37'::timestamp) - extract(epoch from '2026-07-17 03:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.3125 -2.801968)', '2026-07-17 03:40:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312407 -2.801979)'), GeomFromEWKT('SRID=4674;POINT (-40.3125 -2.801968)'))) / (select extract(epoch from '2026-07-17 03:40:54'::timestamp) - extract(epoch from '2026-07-17 03:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312407 -2.801979)'), GeomFromEWKT('SRID=4674;POINT (-40.3125 -2.801968)'))) / (select extract(epoch from '2026-07-17 03:40:54'::timestamp) - extract(epoch from '2026-07-17 03:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312544 -2.801981)', '2026-07-17 03:41:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3125 -2.801968)'), GeomFromEWKT('SRID=4674;POINT (-40.312544 -2.801981)'))) / (select extract(epoch from '2026-07-17 03:41:11'::timestamp) - extract(epoch from '2026-07-17 03:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3125 -2.801968)'), GeomFromEWKT('SRID=4674;POINT (-40.312544 -2.801981)'))) / (select extract(epoch from '2026-07-17 03:41:11'::timestamp) - extract(epoch from '2026-07-17 03:40: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'), 47836, 'SRID=4674;POINT (-40.312593 -2.801998)', '2026-07-17 03:41:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312544 -2.801981)'), GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.801998)'))) / (select extract(epoch from '2026-07-17 03:41:29'::timestamp) - extract(epoch from '2026-07-17 03:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312544 -2.801981)'), GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.801998)'))) / (select extract(epoch from '2026-07-17 03:41:29'::timestamp) - extract(epoch from '2026-07-17 03:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312646 -2.802)', '2026-07-17 03:41:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.801998)'), GeomFromEWKT('SRID=4674;POINT (-40.312646 -2.802)'))) / (select extract(epoch from '2026-07-17 03:41:44'::timestamp) - extract(epoch from '2026-07-17 03:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312593 -2.801998)'), GeomFromEWKT('SRID=4674;POINT (-40.312646 -2.802)'))) / (select extract(epoch from '2026-07-17 03:41:44'::timestamp) - extract(epoch from '2026-07-17 03:41: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'), 47836, 'SRID=4674;POINT (-40.312698 -2.801993)', '2026-07-17 03:41:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312646 -2.802)'), GeomFromEWKT('SRID=4674;POINT (-40.312698 -2.801993)'))) / (select extract(epoch from '2026-07-17 03:41:59'::timestamp) - extract(epoch from '2026-07-17 03:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312646 -2.802)'), GeomFromEWKT('SRID=4674;POINT (-40.312698 -2.801993)'))) / (select extract(epoch from '2026-07-17 03:41:59'::timestamp) - extract(epoch from '2026-07-17 03:41: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'), 47836, 'SRID=4674;POINT (-40.31277 -2.802032)', '2026-07-17 03:42:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312698 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.31277 -2.802032)'))) / (select extract(epoch from '2026-07-17 03:42:18'::timestamp) - extract(epoch from '2026-07-17 03:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312698 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.31277 -2.802032)'))) / (select extract(epoch from '2026-07-17 03:42:18'::timestamp) - extract(epoch from '2026-07-17 03:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312822 -2.802032)', '2026-07-17 03:42:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31277 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.802032)'))) / (select extract(epoch from '2026-07-17 03:42:35'::timestamp) - extract(epoch from '2026-07-17 03:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31277 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.802032)'))) / (select extract(epoch from '2026-07-17 03:42:35'::timestamp) - extract(epoch from '2026-07-17 03:42: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'), 47836, 'SRID=4674;POINT (-40.312872 -2.802037)', '2026-07-17 03:42:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.312872 -2.802037)'))) / (select extract(epoch from '2026-07-17 03:42:50'::timestamp) - extract(epoch from '2026-07-17 03:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312822 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.312872 -2.802037)'))) / (select extract(epoch from '2026-07-17 03:42:50'::timestamp) - extract(epoch from '2026-07-17 03:42: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'), 47836, 'SRID=4674;POINT (-40.312928 -2.802052)', '2026-07-17 03:43:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312872 -2.802037)'), GeomFromEWKT('SRID=4674;POINT (-40.312928 -2.802052)'))) / (select extract(epoch from '2026-07-17 03:43:02'::timestamp) - extract(epoch from '2026-07-17 03:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312872 -2.802037)'), GeomFromEWKT('SRID=4674;POINT (-40.312928 -2.802052)'))) / (select extract(epoch from '2026-07-17 03:43:02'::timestamp) - extract(epoch from '2026-07-17 03:42: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'), 47836, 'SRID=4674;POINT (-40.312994 -2.802049)', '2026-07-17 03:43:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312928 -2.802052)'), GeomFromEWKT('SRID=4674;POINT (-40.312994 -2.802049)'))) / (select extract(epoch from '2026-07-17 03:43:18'::timestamp) - extract(epoch from '2026-07-17 03:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312928 -2.802052)'), GeomFromEWKT('SRID=4674;POINT (-40.312994 -2.802049)'))) / (select extract(epoch from '2026-07-17 03:43:18'::timestamp) - extract(epoch from '2026-07-17 03:43:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313041 -2.802058)', '2026-07-17 03:43:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312994 -2.802049)'), GeomFromEWKT('SRID=4674;POINT (-40.313041 -2.802058)'))) / (select extract(epoch from '2026-07-17 03:43:34'::timestamp) - extract(epoch from '2026-07-17 03:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312994 -2.802049)'), GeomFromEWKT('SRID=4674;POINT (-40.313041 -2.802058)'))) / (select extract(epoch from '2026-07-17 03:43:34'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.313091 -2.802048)', '2026-07-17 03:43:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313041 -2.802058)'), GeomFromEWKT('SRID=4674;POINT (-40.313091 -2.802048)'))) / (select extract(epoch from '2026-07-17 03:43:53'::timestamp) - extract(epoch from '2026-07-17 03:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313041 -2.802058)'), GeomFromEWKT('SRID=4674;POINT (-40.313091 -2.802048)'))) / (select extract(epoch from '2026-07-17 03:43:53'::timestamp) - extract(epoch from '2026-07-17 03:43: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'), 47836, 'SRID=4674;POINT (-40.313145 -2.802076)', '2026-07-17 03:44:10', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313091 -2.802048)'), GeomFromEWKT('SRID=4674;POINT (-40.313145 -2.802076)'))) / (select extract(epoch from '2026-07-17 03:44:10'::timestamp) - extract(epoch from '2026-07-17 03:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313091 -2.802048)'), GeomFromEWKT('SRID=4674;POINT (-40.313145 -2.802076)'))) / (select extract(epoch from '2026-07-17 03:44:10'::timestamp) - extract(epoch from '2026-07-17 03:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313148 -2.80208)', '2026-07-17 03:44:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313145 -2.802076)'), GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.80208)'))) / (select extract(epoch from '2026-07-17 03:44:11'::timestamp) - extract(epoch from '2026-07-17 03:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313145 -2.802076)'), GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.80208)'))) / (select extract(epoch from '2026-07-17 03:44:11'::timestamp) - extract(epoch from '2026-07-17 03:44: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'), 47836, 'SRID=4674;POINT (-40.313219 -2.802073)', '2026-07-17 03:44:28', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.80208)'), GeomFromEWKT('SRID=4674;POINT (-40.313219 -2.802073)'))) / (select extract(epoch from '2026-07-17 03:44:28'::timestamp) - extract(epoch from '2026-07-17 03:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.80208)'), GeomFromEWKT('SRID=4674;POINT (-40.313219 -2.802073)'))) / (select extract(epoch from '2026-07-17 03:44:28'::timestamp) - extract(epoch from '2026-07-17 03:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313291 -2.802077)', '2026-07-17 03:44:41', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313219 -2.802073)'), GeomFromEWKT('SRID=4674;POINT (-40.313291 -2.802077)'))) / (select extract(epoch from '2026-07-17 03:44:41'::timestamp) - extract(epoch from '2026-07-17 03:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313219 -2.802073)'), GeomFromEWKT('SRID=4674;POINT (-40.313291 -2.802077)'))) / (select extract(epoch from '2026-07-17 03:44:41'::timestamp) - extract(epoch from '2026-07-17 03:44: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'), 47836, 'SRID=4674;POINT (-40.313341 -2.802085)', '2026-07-17 03:44:56', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313291 -2.802077)'), GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.802085)'))) / (select extract(epoch from '2026-07-17 03:44:56'::timestamp) - extract(epoch from '2026-07-17 03:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313291 -2.802077)'), GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.802085)'))) / (select extract(epoch from '2026-07-17 03:44:56'::timestamp) - extract(epoch from '2026-07-17 03:44: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'), 47836, 'SRID=4674;POINT (-40.313364 -2.802119)', '2026-07-17 03:45:11', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.802085)'), GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.802119)'))) / (select extract(epoch from '2026-07-17 03:45:11'::timestamp) - extract(epoch from '2026-07-17 03:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313341 -2.802085)'), GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.802119)'))) / (select extract(epoch from '2026-07-17 03:45:11'::timestamp) - extract(epoch from '2026-07-17 03:44: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'), 47836, 'SRID=4674;POINT (-40.31344 -2.802123)', '2026-07-17 03:45:26', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.802119)'), GeomFromEWKT('SRID=4674;POINT (-40.31344 -2.802123)'))) / (select extract(epoch from '2026-07-17 03:45:26'::timestamp) - extract(epoch from '2026-07-17 03:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.802119)'), GeomFromEWKT('SRID=4674;POINT (-40.31344 -2.802123)'))) / (select extract(epoch from '2026-07-17 03:45:26'::timestamp) - extract(epoch from '2026-07-17 03:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313467 -2.802125)', '2026-07-17 03:45:38', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31344 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.313467 -2.802125)'))) / (select extract(epoch from '2026-07-17 03:45:38'::timestamp) - extract(epoch from '2026-07-17 03:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31344 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.313467 -2.802125)'))) / (select extract(epoch from '2026-07-17 03:45:38'::timestamp) - extract(epoch from '2026-07-17 03:45: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'), 47836, 'SRID=4674;POINT (-40.313507 -2.802123)', '2026-07-17 03:45:54', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313467 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.313507 -2.802123)'))) / (select extract(epoch from '2026-07-17 03:45:54'::timestamp) - extract(epoch from '2026-07-17 03:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313467 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.313507 -2.802123)'))) / (select extract(epoch from '2026-07-17 03:45:54'::timestamp) - extract(epoch from '2026-07-17 03:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.31354 -2.802133)', '2026-07-17 03:46:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313507 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.31354 -2.802133)'))) / (select extract(epoch from '2026-07-17 03:46:14'::timestamp) - extract(epoch from '2026-07-17 03:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313507 -2.802123)'), GeomFromEWKT('SRID=4674;POINT (-40.31354 -2.802133)'))) / (select extract(epoch from '2026-07-17 03:46:14'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.313556 -2.802139)', '2026-07-17 03:46:22', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31354 -2.802133)'), GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.802139)'))) / (select extract(epoch from '2026-07-17 03:46:22'::timestamp) - extract(epoch from '2026-07-17 03:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31354 -2.802133)'), GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.802139)'))) / (select extract(epoch from '2026-07-17 03:46:22'::timestamp) - extract(epoch from '2026-07-17 03:46: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'), 47836, 'SRID=4674;POINT (-40.313603 -2.80217)', '2026-07-17 03:46:43', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.802139)'), GeomFromEWKT('SRID=4674;POINT (-40.313603 -2.80217)'))) / (select extract(epoch from '2026-07-17 03:46:43'::timestamp) - extract(epoch from '2026-07-17 03:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313556 -2.802139)'), GeomFromEWKT('SRID=4674;POINT (-40.313603 -2.80217)'))) / (select extract(epoch from '2026-07-17 03:46:43'::timestamp) - extract(epoch from '2026-07-17 03:46:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.31364 -2.802203)', '2026-07-17 03:46:59', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313603 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.802203)'))) / (select extract(epoch from '2026-07-17 03:46:59'::timestamp) - extract(epoch from '2026-07-17 03:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313603 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.802203)'))) / (select extract(epoch from '2026-07-17 03:46:59'::timestamp) - extract(epoch from '2026-07-17 03:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313665 -2.802202)', '2026-07-17 03:47:10', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.802203)'), GeomFromEWKT('SRID=4674;POINT (-40.313665 -2.802202)'))) / (select extract(epoch from '2026-07-17 03:47:10'::timestamp) - extract(epoch from '2026-07-17 03:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.802203)'), GeomFromEWKT('SRID=4674;POINT (-40.313665 -2.802202)'))) / (select extract(epoch from '2026-07-17 03:47:10'::timestamp) - extract(epoch from '2026-07-17 03:46: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'), 47836, 'SRID=4674;POINT (-40.31372 -2.802207)', '2026-07-17 03:47:21', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313665 -2.802202)'), GeomFromEWKT('SRID=4674;POINT (-40.31372 -2.802207)'))) / (select extract(epoch from '2026-07-17 03:47:21'::timestamp) - extract(epoch from '2026-07-17 03:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313665 -2.802202)'), GeomFromEWKT('SRID=4674;POINT (-40.31372 -2.802207)'))) / (select extract(epoch from '2026-07-17 03:47:21'::timestamp) - extract(epoch from '2026-07-17 03:47: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'), 47836, 'SRID=4674;POINT (-40.313804 -2.802233)', '2026-07-17 03:47:39', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31372 -2.802207)'), GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.802233)'))) / (select extract(epoch from '2026-07-17 03:47:39'::timestamp) - extract(epoch from '2026-07-17 03:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31372 -2.802207)'), GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.802233)'))) / (select extract(epoch from '2026-07-17 03:47:39'::timestamp) - extract(epoch from '2026-07-17 03:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313843 -2.802248)', '2026-07-17 03:47:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.313843 -2.802248)'))) / (select extract(epoch from '2026-07-17 03:47:51'::timestamp) - extract(epoch from '2026-07-17 03:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.313843 -2.802248)'))) / (select extract(epoch from '2026-07-17 03:47:51'::timestamp) - extract(epoch from '2026-07-17 03:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313894 -2.802257)', '2026-07-17 03:47:58', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313843 -2.802248)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.802257)'))) / (select extract(epoch from '2026-07-17 03:47:58'::timestamp) - extract(epoch from '2026-07-17 03:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313843 -2.802248)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.802257)'))) / (select extract(epoch from '2026-07-17 03:47:58'::timestamp) - extract(epoch from '2026-07-17 03:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313907 -2.80225)', '2026-07-17 03:48:09', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.802257)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.80225)'))) / (select extract(epoch from '2026-07-17 03:48:09'::timestamp) - extract(epoch from '2026-07-17 03:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.802257)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.80225)'))) / (select extract(epoch from '2026-07-17 03:48:09'::timestamp) - extract(epoch from '2026-07-17 03:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313923 -2.802248)', '2026-07-17 03:48:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.80225)'), GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.802248)'))) / (select extract(epoch from '2026-07-17 03:48:16'::timestamp) - extract(epoch from '2026-07-17 03:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.80225)'), GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.802248)'))) / (select extract(epoch from '2026-07-17 03:48:16'::timestamp) - extract(epoch from '2026-07-17 03:48: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'), 47836, 'SRID=4674;POINT (-40.313941 -2.802259)', '2026-07-17 03:48:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.802248)'), GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.802259)'))) / (select extract(epoch from '2026-07-17 03:48:25'::timestamp) - extract(epoch from '2026-07-17 03:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.802248)'), GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.802259)'))) / (select extract(epoch from '2026-07-17 03:48:25'::timestamp) - extract(epoch from '2026-07-17 03:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313976 -2.802253)', '2026-07-17 03:48:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.802259)'), GeomFromEWKT('SRID=4674;POINT (-40.313976 -2.802253)'))) / (select extract(epoch from '2026-07-17 03:48:32'::timestamp) - extract(epoch from '2026-07-17 03:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313941 -2.802259)'), GeomFromEWKT('SRID=4674;POINT (-40.313976 -2.802253)'))) / (select extract(epoch from '2026-07-17 03:48:32'::timestamp) - extract(epoch from '2026-07-17 03:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314005 -2.802249)', '2026-07-17 03:48:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313976 -2.802253)'), GeomFromEWKT('SRID=4674;POINT (-40.314005 -2.802249)'))) / (select extract(epoch from '2026-07-17 03:48:40'::timestamp) - extract(epoch from '2026-07-17 03:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313976 -2.802253)'), GeomFromEWKT('SRID=4674;POINT (-40.314005 -2.802249)'))) / (select extract(epoch from '2026-07-17 03:48:40'::timestamp) - extract(epoch from '2026-07-17 03:48: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'), 47836, 'SRID=4674;POINT (-40.314034 -2.802257)', '2026-07-17 03:48:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314005 -2.802249)'), GeomFromEWKT('SRID=4674;POINT (-40.314034 -2.802257)'))) / (select extract(epoch from '2026-07-17 03:48:49'::timestamp) - extract(epoch from '2026-07-17 03:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314005 -2.802249)'), GeomFromEWKT('SRID=4674;POINT (-40.314034 -2.802257)'))) / (select extract(epoch from '2026-07-17 03:48:49'::timestamp) - extract(epoch from '2026-07-17 03:48: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'), 47836, 'SRID=4674;POINT (-40.314044 -2.80226)', '2026-07-17 03:48:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314034 -2.802257)'), GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.80226)'))) / (select extract(epoch from '2026-07-17 03:48:58'::timestamp) - extract(epoch from '2026-07-17 03:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314034 -2.802257)'), GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.80226)'))) / (select extract(epoch from '2026-07-17 03:48:58'::timestamp) - extract(epoch from '2026-07-17 03:48: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'), 47836, 'SRID=4674;POINT (-40.314054 -2.802269)', '2026-07-17 03:49:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.314054 -2.802269)'))) / (select extract(epoch from '2026-07-17 03:49:04'::timestamp) - extract(epoch from '2026-07-17 03:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314044 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.314054 -2.802269)'))) / (select extract(epoch from '2026-07-17 03:49:04'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.314065 -2.802276)', '2026-07-17 03:49:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314054 -2.802269)'), GeomFromEWKT('SRID=4674;POINT (-40.314065 -2.802276)'))) / (select extract(epoch from '2026-07-17 03:49:13'::timestamp) - extract(epoch from '2026-07-17 03:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314054 -2.802269)'), GeomFromEWKT('SRID=4674;POINT (-40.314065 -2.802276)'))) / (select extract(epoch from '2026-07-17 03:49:13'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.314088 -2.802293)', '2026-07-17 03:49:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314065 -2.802276)'), GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.802293)'))) / (select extract(epoch from '2026-07-17 03:49:20'::timestamp) - extract(epoch from '2026-07-17 03:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314065 -2.802276)'), GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.802293)'))) / (select extract(epoch from '2026-07-17 03:49:20'::timestamp) - extract(epoch from '2026-07-17 03:49: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'), 47836, 'SRID=4674;POINT (-40.314141 -2.802314)', '2026-07-17 03:49:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.802293)'), GeomFromEWKT('SRID=4674;POINT (-40.314141 -2.802314)'))) / (select extract(epoch from '2026-07-17 03:49:31'::timestamp) - extract(epoch from '2026-07-17 03:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314088 -2.802293)'), GeomFromEWKT('SRID=4674;POINT (-40.314141 -2.802314)'))) / (select extract(epoch from '2026-07-17 03:49:31'::timestamp) - extract(epoch from '2026-07-17 03:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314165 -2.802311)', '2026-07-17 03:49:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314141 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.802311)'))) / (select extract(epoch from '2026-07-17 03:49:36'::timestamp) - extract(epoch from '2026-07-17 03:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314141 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.802311)'))) / (select extract(epoch from '2026-07-17 03:49:36'::timestamp) - extract(epoch from '2026-07-17 03:49: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'), 47836, 'SRID=4674;POINT (-40.31421 -2.802304)', '2026-07-17 03:49:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.802311)'), GeomFromEWKT('SRID=4674;POINT (-40.31421 -2.802304)'))) / (select extract(epoch from '2026-07-17 03:49:43'::timestamp) - extract(epoch from '2026-07-17 03:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.802311)'), GeomFromEWKT('SRID=4674;POINT (-40.31421 -2.802304)'))) / (select extract(epoch from '2026-07-17 03:49:43'::timestamp) - extract(epoch from '2026-07-17 03:49: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'), 47836, 'SRID=4674;POINT (-40.314251 -2.802304)', '2026-07-17 03:49:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31421 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.314251 -2.802304)'))) / (select extract(epoch from '2026-07-17 03:49:52'::timestamp) - extract(epoch from '2026-07-17 03:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31421 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.314251 -2.802304)'))) / (select extract(epoch from '2026-07-17 03:49:52'::timestamp) - extract(epoch from '2026-07-17 03:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314257 -2.802314)', '2026-07-17 03:50:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314251 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.314257 -2.802314)'))) / (select extract(epoch from '2026-07-17 03:50:00'::timestamp) - extract(epoch from '2026-07-17 03:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314251 -2.802304)'), GeomFromEWKT('SRID=4674;POINT (-40.314257 -2.802314)'))) / (select extract(epoch from '2026-07-17 03:50:00'::timestamp) - extract(epoch from '2026-07-17 03:49: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'), 47836, 'SRID=4674;POINT (-40.314301 -2.802319)', '2026-07-17 03:50:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314257 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.314301 -2.802319)'))) / (select extract(epoch from '2026-07-17 03:50:10'::timestamp) - extract(epoch from '2026-07-17 03:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314257 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.314301 -2.802319)'))) / (select extract(epoch from '2026-07-17 03:50:10'::timestamp) - extract(epoch from '2026-07-17 03:50: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'), 47836, 'SRID=4674;POINT (-40.31433 -2.802327)', '2026-07-17 03:50:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314301 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.31433 -2.802327)'))) / (select extract(epoch from '2026-07-17 03:50:17'::timestamp) - extract(epoch from '2026-07-17 03:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314301 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.31433 -2.802327)'))) / (select extract(epoch from '2026-07-17 03:50:17'::timestamp) - extract(epoch from '2026-07-17 03:50: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'), 47836, 'SRID=4674;POINT (-40.31435 -2.802324)', '2026-07-17 03:50:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31433 -2.802327)'), GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.802324)'))) / (select extract(epoch from '2026-07-17 03:50:26'::timestamp) - extract(epoch from '2026-07-17 03:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31433 -2.802327)'), GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.802324)'))) / (select extract(epoch from '2026-07-17 03:50:26'::timestamp) - extract(epoch from '2026-07-17 03:50: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'), 47836, 'SRID=4674;POINT (-40.314376 -2.802314)', '2026-07-17 03:50:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.802324)'), GeomFromEWKT('SRID=4674;POINT (-40.314376 -2.802314)'))) / (select extract(epoch from '2026-07-17 03:50:33'::timestamp) - extract(epoch from '2026-07-17 03:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.802324)'), GeomFromEWKT('SRID=4674;POINT (-40.314376 -2.802314)'))) / (select extract(epoch from '2026-07-17 03:50:33'::timestamp) - extract(epoch from '2026-07-17 03:50: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'), 47836, 'SRID=4674;POINT (-40.314399 -2.802317)', '2026-07-17 03:50:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314376 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.314399 -2.802317)'))) / (select extract(epoch from '2026-07-17 03:50:42'::timestamp) - extract(epoch from '2026-07-17 03:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314376 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.314399 -2.802317)'))) / (select extract(epoch from '2026-07-17 03:50:42'::timestamp) - extract(epoch from '2026-07-17 03:50: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'), 47836, 'SRID=4674;POINT (-40.314419 -2.802319)', '2026-07-17 03:50:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314399 -2.802317)'), GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.802319)'))) / (select extract(epoch from '2026-07-17 03:50:49'::timestamp) - extract(epoch from '2026-07-17 03:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314399 -2.802317)'), GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.802319)'))) / (select extract(epoch from '2026-07-17 03:50:49'::timestamp) - extract(epoch from '2026-07-17 03:50: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'), 47836, 'SRID=4674;POINT (-40.314423 -2.802327)', '2026-07-17 03:50:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.802327)'))) / (select extract(epoch from '2026-07-17 03:50:56'::timestamp) - extract(epoch from '2026-07-17 03:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.802327)'))) / (select extract(epoch from '2026-07-17 03:50:56'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.314441 -2.802344)', '2026-07-17 03:51:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.802327)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.802344)'))) / (select extract(epoch from '2026-07-17 03:51:12'::timestamp) - extract(epoch from '2026-07-17 03:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.802327)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.802344)'))) / (select extract(epoch from '2026-07-17 03:51:12'::timestamp) - extract(epoch from '2026-07-17 03:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314455 -2.802346)', '2026-07-17 03:51:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.802346)'))) / (select extract(epoch from '2026-07-17 03:51:23'::timestamp) - extract(epoch from '2026-07-17 03:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.802346)'))) / (select extract(epoch from '2026-07-17 03:51:23'::timestamp) - extract(epoch from '2026-07-17 03:51: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'), 47836, 'SRID=4674;POINT (-40.314485 -2.802374)', '2026-07-17 03:51:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.802346)'), GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.802374)'))) / (select extract(epoch from '2026-07-17 03:51:33'::timestamp) - extract(epoch from '2026-07-17 03:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.802346)'), GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.802374)'))) / (select extract(epoch from '2026-07-17 03:51:33'::timestamp) - extract(epoch from '2026-07-17 03:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314513 -2.802399)', '2026-07-17 03:51:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.802374)'), GeomFromEWKT('SRID=4674;POINT (-40.314513 -2.802399)'))) / (select extract(epoch from '2026-07-17 03:51:40'::timestamp) - extract(epoch from '2026-07-17 03:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314485 -2.802374)'), GeomFromEWKT('SRID=4674;POINT (-40.314513 -2.802399)'))) / (select extract(epoch from '2026-07-17 03:51:40'::timestamp) - extract(epoch from '2026-07-17 03:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314547 -2.802408)', '2026-07-17 03:51:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314513 -2.802399)'), GeomFromEWKT('SRID=4674;POINT (-40.314547 -2.802408)'))) / (select extract(epoch from '2026-07-17 03:51:47'::timestamp) - extract(epoch from '2026-07-17 03:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314513 -2.802399)'), GeomFromEWKT('SRID=4674;POINT (-40.314547 -2.802408)'))) / (select extract(epoch from '2026-07-17 03:51:47'::timestamp) - extract(epoch from '2026-07-17 03:51: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'), 47836, 'SRID=4674;POINT (-40.314564 -2.802414)', '2026-07-17 03:51:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314547 -2.802408)'), GeomFromEWKT('SRID=4674;POINT (-40.314564 -2.802414)'))) / (select extract(epoch from '2026-07-17 03:51:54'::timestamp) - extract(epoch from '2026-07-17 03:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314547 -2.802408)'), GeomFromEWKT('SRID=4674;POINT (-40.314564 -2.802414)'))) / (select extract(epoch from '2026-07-17 03:51:54'::timestamp) - extract(epoch from '2026-07-17 03:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314583 -2.802422)', '2026-07-17 03:52:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314564 -2.802414)'), GeomFromEWKT('SRID=4674;POINT (-40.314583 -2.802422)'))) / (select extract(epoch from '2026-07-17 03:52:02'::timestamp) - extract(epoch from '2026-07-17 03:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314564 -2.802414)'), GeomFromEWKT('SRID=4674;POINT (-40.314583 -2.802422)'))) / (select extract(epoch from '2026-07-17 03:52:02'::timestamp) - extract(epoch from '2026-07-17 03:51: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'), 47836, 'SRID=4674;POINT (-40.314623 -2.802432)', '2026-07-17 03:52:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314583 -2.802422)'), GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.802432)'))) / (select extract(epoch from '2026-07-17 03:52:09'::timestamp) - extract(epoch from '2026-07-17 03:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314583 -2.802422)'), GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.802432)'))) / (select extract(epoch from '2026-07-17 03:52:09'::timestamp) - extract(epoch from '2026-07-17 03:52: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'), 47836, 'SRID=4674;POINT (-40.314653 -2.802439)', '2026-07-17 03:52:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.802432)'), GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.802439)'))) / (select extract(epoch from '2026-07-17 03:52:15'::timestamp) - extract(epoch from '2026-07-17 03:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314623 -2.802432)'), GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.802439)'))) / (select extract(epoch from '2026-07-17 03:52:15'::timestamp) - extract(epoch from '2026-07-17 03:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314682 -2.802443)', '2026-07-17 03:52:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.802439)'), GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.802443)'))) / (select extract(epoch from '2026-07-17 03:52:22'::timestamp) - extract(epoch from '2026-07-17 03:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314653 -2.802439)'), GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.802443)'))) / (select extract(epoch from '2026-07-17 03:52:22'::timestamp) - extract(epoch from '2026-07-17 03:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314707 -2.802433)', '2026-07-17 03:52:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.802443)'), GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.802433)'))) / (select extract(epoch from '2026-07-17 03:52:29'::timestamp) - extract(epoch from '2026-07-17 03:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.802443)'), GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.802433)'))) / (select extract(epoch from '2026-07-17 03:52:29'::timestamp) - extract(epoch from '2026-07-17 03:52: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'), 47836, 'SRID=4674;POINT (-40.314746 -2.802438)', '2026-07-17 03:52:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.802433)'), GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.802438)'))) / (select extract(epoch from '2026-07-17 03:52:36'::timestamp) - extract(epoch from '2026-07-17 03:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314707 -2.802433)'), GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.802438)'))) / (select extract(epoch from '2026-07-17 03:52:36'::timestamp) - extract(epoch from '2026-07-17 03:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314755 -2.802443)', '2026-07-17 03:52:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.802438)'), GeomFromEWKT('SRID=4674;POINT (-40.314755 -2.802443)'))) / (select extract(epoch from '2026-07-17 03:52:42'::timestamp) - extract(epoch from '2026-07-17 03:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.802438)'), GeomFromEWKT('SRID=4674;POINT (-40.314755 -2.802443)'))) / (select extract(epoch from '2026-07-17 03:52:42'::timestamp) - extract(epoch from '2026-07-17 03:52: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'), 47836, 'SRID=4674;POINT (-40.31478 -2.802454)', '2026-07-17 03:52:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314755 -2.802443)'), GeomFromEWKT('SRID=4674;POINT (-40.31478 -2.802454)'))) / (select extract(epoch from '2026-07-17 03:52:49'::timestamp) - extract(epoch from '2026-07-17 03:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314755 -2.802443)'), GeomFromEWKT('SRID=4674;POINT (-40.31478 -2.802454)'))) / (select extract(epoch from '2026-07-17 03:52:49'::timestamp) - extract(epoch from '2026-07-17 03:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314795 -2.802456)', '2026-07-17 03:52:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31478 -2.802454)'), GeomFromEWKT('SRID=4674;POINT (-40.314795 -2.802456)'))) / (select extract(epoch from '2026-07-17 03:52:56'::timestamp) - extract(epoch from '2026-07-17 03:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31478 -2.802454)'), GeomFromEWKT('SRID=4674;POINT (-40.314795 -2.802456)'))) / (select extract(epoch from '2026-07-17 03:52:56'::timestamp) - extract(epoch from '2026-07-17 03:52: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'), 47836, 'SRID=4674;POINT (-40.314842 -2.80245)', '2026-07-17 03:53:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314795 -2.802456)'), GeomFromEWKT('SRID=4674;POINT (-40.314842 -2.80245)'))) / (select extract(epoch from '2026-07-17 03:53:04'::timestamp) - extract(epoch from '2026-07-17 03:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314795 -2.802456)'), GeomFromEWKT('SRID=4674;POINT (-40.314842 -2.80245)'))) / (select extract(epoch from '2026-07-17 03:53:04'::timestamp) - extract(epoch from '2026-07-17 03:52: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'), 47836, 'SRID=4674;POINT (-40.314867 -2.802444)', '2026-07-17 03:53:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314842 -2.80245)'), GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.802444)'))) / (select extract(epoch from '2026-07-17 03:53:21'::timestamp) - extract(epoch from '2026-07-17 03:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314842 -2.80245)'), GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.802444)'))) / (select extract(epoch from '2026-07-17 03:53:21'::timestamp) - extract(epoch from '2026-07-17 03:53: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'), 47836, 'SRID=4674;POINT (-40.314893 -2.802458)', '2026-07-17 03:53:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.314893 -2.802458)'))) / (select extract(epoch from '2026-07-17 03:53:33'::timestamp) - extract(epoch from '2026-07-17 03:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314867 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.314893 -2.802458)'))) / (select extract(epoch from '2026-07-17 03:53:33'::timestamp) - extract(epoch from '2026-07-17 03:53: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'), 47836, 'SRID=4674;POINT (-40.314932 -2.802483)', '2026-07-17 03:53:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314893 -2.802458)'), GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.802483)'))) / (select extract(epoch from '2026-07-17 03:53:47'::timestamp) - extract(epoch from '2026-07-17 03:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314893 -2.802458)'), GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.802483)'))) / (select extract(epoch from '2026-07-17 03:53:47'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.314952 -2.802488)', '2026-07-17 03:53:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.802483)'), GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.802488)'))) / (select extract(epoch from '2026-07-17 03:53:54'::timestamp) - extract(epoch from '2026-07-17 03:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314932 -2.802483)'), GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.802488)'))) / (select extract(epoch from '2026-07-17 03:53:54'::timestamp) - extract(epoch from '2026-07-17 03:53: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'), 47836, 'SRID=4674;POINT (-40.314973 -2.80249)', '2026-07-17 03:54:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.80249)'))) / (select extract(epoch from '2026-07-17 03:54:02'::timestamp) - extract(epoch from '2026-07-17 03:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314952 -2.802488)'), GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.80249)'))) / (select extract(epoch from '2026-07-17 03:54:02'::timestamp) - extract(epoch from '2026-07-17 03:53: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'), 47836, 'SRID=4674;POINT (-40.315011 -2.802493)', '2026-07-17 03:54:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.80249)'), GeomFromEWKT('SRID=4674;POINT (-40.315011 -2.802493)'))) / (select extract(epoch from '2026-07-17 03:54:10'::timestamp) - extract(epoch from '2026-07-17 03:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.80249)'), GeomFromEWKT('SRID=4674;POINT (-40.315011 -2.802493)'))) / (select extract(epoch from '2026-07-17 03:54:10'::timestamp) - extract(epoch from '2026-07-17 03:54: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'), 47836, 'SRID=4674;POINT (-40.315041 -2.802497)', '2026-07-17 03:54:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315011 -2.802493)'), GeomFromEWKT('SRID=4674;POINT (-40.315041 -2.802497)'))) / (select extract(epoch from '2026-07-17 03:54:19'::timestamp) - extract(epoch from '2026-07-17 03:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315011 -2.802493)'), GeomFromEWKT('SRID=4674;POINT (-40.315041 -2.802497)'))) / (select extract(epoch from '2026-07-17 03:54:19'::timestamp) - extract(epoch from '2026-07-17 03:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315077 -2.802485)', '2026-07-17 03:54:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315041 -2.802497)'), GeomFromEWKT('SRID=4674;POINT (-40.315077 -2.802485)'))) / (select extract(epoch from '2026-07-17 03:54:27'::timestamp) - extract(epoch from '2026-07-17 03:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315041 -2.802497)'), GeomFromEWKT('SRID=4674;POINT (-40.315077 -2.802485)'))) / (select extract(epoch from '2026-07-17 03:54:27'::timestamp) - extract(epoch from '2026-07-17 03:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315114 -2.802471)', '2026-07-17 03:54:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315077 -2.802485)'), GeomFromEWKT('SRID=4674;POINT (-40.315114 -2.802471)'))) / (select extract(epoch from '2026-07-17 03:54:35'::timestamp) - extract(epoch from '2026-07-17 03:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315077 -2.802485)'), GeomFromEWKT('SRID=4674;POINT (-40.315114 -2.802471)'))) / (select extract(epoch from '2026-07-17 03:54:35'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.315133 -2.802496)', '2026-07-17 03:54:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315114 -2.802471)'), GeomFromEWKT('SRID=4674;POINT (-40.315133 -2.802496)'))) / (select extract(epoch from '2026-07-17 03:54:44'::timestamp) - extract(epoch from '2026-07-17 03:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315114 -2.802471)'), GeomFromEWKT('SRID=4674;POINT (-40.315133 -2.802496)'))) / (select extract(epoch from '2026-07-17 03:54:44'::timestamp) - extract(epoch from '2026-07-17 03:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315152 -2.802503)', '2026-07-17 03:54:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315133 -2.802496)'), GeomFromEWKT('SRID=4674;POINT (-40.315152 -2.802503)'))) / (select extract(epoch from '2026-07-17 03:54:52'::timestamp) - extract(epoch from '2026-07-17 03:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315133 -2.802496)'), GeomFromEWKT('SRID=4674;POINT (-40.315152 -2.802503)'))) / (select extract(epoch from '2026-07-17 03:54:52'::timestamp) - extract(epoch from '2026-07-17 03:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315179 -2.802497)', '2026-07-17 03:55:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315152 -2.802503)'), GeomFromEWKT('SRID=4674;POINT (-40.315179 -2.802497)'))) / (select extract(epoch from '2026-07-17 03:55:01'::timestamp) - extract(epoch from '2026-07-17 03:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315152 -2.802503)'), GeomFromEWKT('SRID=4674;POINT (-40.315179 -2.802497)'))) / (select extract(epoch from '2026-07-17 03:55:01'::timestamp) - extract(epoch from '2026-07-17 03:54: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'), 47836, 'SRID=4674;POINT (-40.315211 -2.802503)', '2026-07-17 03:55:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315179 -2.802497)'), GeomFromEWKT('SRID=4674;POINT (-40.315211 -2.802503)'))) / (select extract(epoch from '2026-07-17 03:55:13'::timestamp) - extract(epoch from '2026-07-17 03:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315179 -2.802497)'), GeomFromEWKT('SRID=4674;POINT (-40.315211 -2.802503)'))) / (select extract(epoch from '2026-07-17 03:55:13'::timestamp) - extract(epoch from '2026-07-17 03:55: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'), 47836, 'SRID=4674;POINT (-40.315243 -2.802506)', '2026-07-17 03:55:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315211 -2.802503)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.802506)'))) / (select extract(epoch from '2026-07-17 03:55:31'::timestamp) - extract(epoch from '2026-07-17 03:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315211 -2.802503)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.802506)'))) / (select extract(epoch from '2026-07-17 03:55:31'::timestamp) - extract(epoch from '2026-07-17 03: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'), 47836, 'SRID=4674;POINT (-40.315297 -2.802526)', '2026-07-17 03:55:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.802506)'), GeomFromEWKT('SRID=4674;POINT (-40.315297 -2.802526)'))) / (select extract(epoch from '2026-07-17 03:55:49'::timestamp) - extract(epoch from '2026-07-17 03:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.802506)'), GeomFromEWKT('SRID=4674;POINT (-40.315297 -2.802526)'))) / (select extract(epoch from '2026-07-17 03:55:49'::timestamp) - extract(epoch from '2026-07-17 03:55: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'), 47836, 'SRID=4674;POINT (-40.315341 -2.802535)', '2026-07-17 03:56:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315297 -2.802526)'), GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.802535)'))) / (select extract(epoch from '2026-07-17 03:56:05'::timestamp) - extract(epoch from '2026-07-17 03:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315297 -2.802526)'), GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.802535)'))) / (select extract(epoch from '2026-07-17 03:56:05'::timestamp) - extract(epoch from '2026-07-17 03:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315364 -2.802546)', '2026-07-17 03:56:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.802535)'), GeomFromEWKT('SRID=4674;POINT (-40.315364 -2.802546)'))) / (select extract(epoch from '2026-07-17 03:56:21'::timestamp) - extract(epoch from '2026-07-17 03:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315341 -2.802535)'), GeomFromEWKT('SRID=4674;POINT (-40.315364 -2.802546)'))) / (select extract(epoch from '2026-07-17 03:56:21'::timestamp) - extract(epoch from '2026-07-17 03:56: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'), 47836, 'SRID=4674;POINT (-40.315397 -2.802549)', '2026-07-17 03:56:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315364 -2.802546)'), GeomFromEWKT('SRID=4674;POINT (-40.315397 -2.802549)'))) / (select extract(epoch from '2026-07-17 03:56:29'::timestamp) - extract(epoch from '2026-07-17 03:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315364 -2.802546)'), GeomFromEWKT('SRID=4674;POINT (-40.315397 -2.802549)'))) / (select extract(epoch from '2026-07-17 03:56:29'::timestamp) - extract(epoch from '2026-07-17 03:56: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'), 47836, 'SRID=4674;POINT (-40.315449 -2.802561)', '2026-07-17 03:56:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315397 -2.802549)'), GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.802561)'))) / (select extract(epoch from '2026-07-17 03:56:44'::timestamp) - extract(epoch from '2026-07-17 03:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315397 -2.802549)'), GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.802561)'))) / (select extract(epoch from '2026-07-17 03:56:44'::timestamp) - extract(epoch from '2026-07-17 03:56: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'), 47836, 'SRID=4674;POINT (-40.315509 -2.802585)', '2026-07-17 03:57:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.802561)'), GeomFromEWKT('SRID=4674;POINT (-40.315509 -2.802585)'))) / (select extract(epoch from '2026-07-17 03:57:01'::timestamp) - extract(epoch from '2026-07-17 03:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315449 -2.802561)'), GeomFromEWKT('SRID=4674;POINT (-40.315509 -2.802585)'))) / (select extract(epoch from '2026-07-17 03:57:01'::timestamp) - extract(epoch from '2026-07-17 03:56: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'), 47836, 'SRID=4674;POINT (-40.31557 -2.802591)', '2026-07-17 03:57:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315509 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.802591)'))) / (select extract(epoch from '2026-07-17 03:57:18'::timestamp) - extract(epoch from '2026-07-17 03:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315509 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.802591)'))) / (select extract(epoch from '2026-07-17 03:57:18'::timestamp) - extract(epoch from '2026-07-17 03:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315613 -2.802593)', '2026-07-17 03:57:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.802591)'), GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.802593)'))) / (select extract(epoch from '2026-07-17 03:57:27'::timestamp) - extract(epoch from '2026-07-17 03:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31557 -2.802591)'), GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.802593)'))) / (select extract(epoch from '2026-07-17 03:57:27'::timestamp) - extract(epoch from '2026-07-17 03:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315641 -2.802602)', '2026-07-17 03:57:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.802602)'))) / (select extract(epoch from '2026-07-17 03:57:35'::timestamp) - extract(epoch from '2026-07-17 03:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.802602)'))) / (select extract(epoch from '2026-07-17 03:57:35'::timestamp) - extract(epoch from '2026-07-17 03:57: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'), 47836, 'SRID=4674;POINT (-40.31566 -2.802593)', '2026-07-17 03:57:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.802602)'), GeomFromEWKT('SRID=4674;POINT (-40.31566 -2.802593)'))) / (select extract(epoch from '2026-07-17 03:57:44'::timestamp) - extract(epoch from '2026-07-17 03:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315641 -2.802602)'), GeomFromEWKT('SRID=4674;POINT (-40.31566 -2.802593)'))) / (select extract(epoch from '2026-07-17 03:57:44'::timestamp) - extract(epoch from '2026-07-17 03:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315677 -2.802594)', '2026-07-17 03:57:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31566 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.315677 -2.802594)'))) / (select extract(epoch from '2026-07-17 03:57:51'::timestamp) - extract(epoch from '2026-07-17 03:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31566 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.315677 -2.802594)'))) / (select extract(epoch from '2026-07-17 03:57:51'::timestamp) - extract(epoch from '2026-07-17 03:57: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'), 47836, 'SRID=4674;POINT (-40.315727 -2.802597)', '2026-07-17 03:58:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315677 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.315727 -2.802597)'))) / (select extract(epoch from '2026-07-17 03:58:02'::timestamp) - extract(epoch from '2026-07-17 03:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315677 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.315727 -2.802597)'))) / (select extract(epoch from '2026-07-17 03:58:02'::timestamp) - extract(epoch from '2026-07-17 03:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315749 -2.802602)', '2026-07-17 03:58:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315727 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.802602)'))) / (select extract(epoch from '2026-07-17 03:58:10'::timestamp) - extract(epoch from '2026-07-17 03:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315727 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.802602)'))) / (select extract(epoch from '2026-07-17 03:58:10'::timestamp) - extract(epoch from '2026-07-17 03:58: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'), 47836, 'SRID=4674;POINT (-40.315768 -2.802605)', '2026-07-17 03:58:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.802602)'), GeomFromEWKT('SRID=4674;POINT (-40.315768 -2.802605)'))) / (select extract(epoch from '2026-07-17 03:58:19'::timestamp) - extract(epoch from '2026-07-17 03:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315749 -2.802602)'), GeomFromEWKT('SRID=4674;POINT (-40.315768 -2.802605)'))) / (select extract(epoch from '2026-07-17 03:58:19'::timestamp) - extract(epoch from '2026-07-17 03:58: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'), 47836, 'SRID=4674;POINT (-40.315806 -2.802598)', '2026-07-17 03:58:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315768 -2.802605)'), GeomFromEWKT('SRID=4674;POINT (-40.315806 -2.802598)'))) / (select extract(epoch from '2026-07-17 03:58:28'::timestamp) - extract(epoch from '2026-07-17 03:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315768 -2.802605)'), GeomFromEWKT('SRID=4674;POINT (-40.315806 -2.802598)'))) / (select extract(epoch from '2026-07-17 03:58:28'::timestamp) - extract(epoch from '2026-07-17 03:58: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'), 47836, 'SRID=4674;POINT (-40.315836 -2.802605)', '2026-07-17 03:58:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315806 -2.802598)'), GeomFromEWKT('SRID=4674;POINT (-40.315836 -2.802605)'))) / (select extract(epoch from '2026-07-17 03:58:36'::timestamp) - extract(epoch from '2026-07-17 03:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315806 -2.802598)'), GeomFromEWKT('SRID=4674;POINT (-40.315836 -2.802605)'))) / (select extract(epoch from '2026-07-17 03:58:36'::timestamp) - extract(epoch from '2026-07-17 03:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315848 -2.802608)', '2026-07-17 03:58:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315836 -2.802605)'), GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.802608)'))) / (select extract(epoch from '2026-07-17 03:58:45'::timestamp) - extract(epoch from '2026-07-17 03:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315836 -2.802605)'), GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.802608)'))) / (select extract(epoch from '2026-07-17 03:58:45'::timestamp) - extract(epoch from '2026-07-17 03:58:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315865 -2.80261)', '2026-07-17 03:58:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.802608)'), GeomFromEWKT('SRID=4674;POINT (-40.315865 -2.80261)'))) / (select extract(epoch from '2026-07-17 03:58:53'::timestamp) - extract(epoch from '2026-07-17 03:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.802608)'), GeomFromEWKT('SRID=4674;POINT (-40.315865 -2.80261)'))) / (select extract(epoch from '2026-07-17 03:58:53'::timestamp) - extract(epoch from '2026-07-17 03:58: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'), 47836, 'SRID=4674;POINT (-40.315881 -2.802602)', '2026-07-17 03:59:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315865 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.802602)'))) / (select extract(epoch from '2026-07-17 03:59:01'::timestamp) - extract(epoch from '2026-07-17 03:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315865 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.802602)'))) / (select extract(epoch from '2026-07-17 03:59:01'::timestamp) - extract(epoch from '2026-07-17 03:58: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'), 47836, 'SRID=4674;POINT (-40.315889 -2.802607)', '2026-07-17 03:59:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.802602)'), GeomFromEWKT('SRID=4674;POINT (-40.315889 -2.802607)'))) / (select extract(epoch from '2026-07-17 03:59:08'::timestamp) - extract(epoch from '2026-07-17 03:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.802602)'), GeomFromEWKT('SRID=4674;POINT (-40.315889 -2.802607)'))) / (select extract(epoch from '2026-07-17 03:59:08'::timestamp) - extract(epoch from '2026-07-17 03:59: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'), 47836, 'SRID=4674;POINT (-40.31591 -2.802611)', '2026-07-17 03:59:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315889 -2.802607)'), GeomFromEWKT('SRID=4674;POINT (-40.31591 -2.802611)'))) / (select extract(epoch from '2026-07-17 03:59:22'::timestamp) - extract(epoch from '2026-07-17 03:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315889 -2.802607)'), GeomFromEWKT('SRID=4674;POINT (-40.31591 -2.802611)'))) / (select extract(epoch from '2026-07-17 03:59:22'::timestamp) - extract(epoch from '2026-07-17 03:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315929 -2.802613)', '2026-07-17 03:59:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31591 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.315929 -2.802613)'))) / (select extract(epoch from '2026-07-17 03:59:31'::timestamp) - extract(epoch from '2026-07-17 03:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31591 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.315929 -2.802613)'))) / (select extract(epoch from '2026-07-17 03:59:31'::timestamp) - extract(epoch from '2026-07-17 03:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315986 -2.802596)', '2026-07-17 03:59:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315929 -2.802613)'), GeomFromEWKT('SRID=4674;POINT (-40.315986 -2.802596)'))) / (select extract(epoch from '2026-07-17 03:59:46'::timestamp) - extract(epoch from '2026-07-17 03:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315929 -2.802613)'), GeomFromEWKT('SRID=4674;POINT (-40.315986 -2.802596)'))) / (select extract(epoch from '2026-07-17 03:59:46'::timestamp) - extract(epoch from '2026-07-17 03:59: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'), 47836, 'SRID=4674;POINT (-40.316016 -2.802588)', '2026-07-17 03:59:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315986 -2.802596)'), GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802588)'))) / (select extract(epoch from '2026-07-17 03:59:59'::timestamp) - extract(epoch from '2026-07-17 03:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315986 -2.802596)'), GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802588)'))) / (select extract(epoch from '2026-07-17 03:59:59'::timestamp) - extract(epoch from '2026-07-17 03:59: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'), 47836, 'SRID=4674;POINT (-40.316042 -2.802586)', '2026-07-17 04:00:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.316042 -2.802586)'))) / (select extract(epoch from '2026-07-17 04:00:13'::timestamp) - extract(epoch from '2026-07-17 03:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.316042 -2.802586)'))) / (select extract(epoch from '2026-07-17 04:00:13'::timestamp) - extract(epoch from '2026-07-17 03:59: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'), 47836, 'SRID=4674;POINT (-40.316068 -2.802586)', '2026-07-17 04:00:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316042 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.316068 -2.802586)'))) / (select extract(epoch from '2026-07-17 04:00:24'::timestamp) - extract(epoch from '2026-07-17 04:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316042 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.316068 -2.802586)'))) / (select extract(epoch from '2026-07-17 04:00:24'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.316088 -2.802584)', '2026-07-17 04:00:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316068 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.316088 -2.802584)'))) / (select extract(epoch from '2026-07-17 04:00:37'::timestamp) - extract(epoch from '2026-07-17 04:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316068 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.316088 -2.802584)'))) / (select extract(epoch from '2026-07-17 04:00:37'::timestamp) - extract(epoch from '2026-07-17 04:00: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'), 47836, 'SRID=4674;POINT (-40.316094 -2.802593)', '2026-07-17 04:00:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316088 -2.802584)'), GeomFromEWKT('SRID=4674;POINT (-40.316094 -2.802593)'))) / (select extract(epoch from '2026-07-17 04:00:46'::timestamp) - extract(epoch from '2026-07-17 04:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316088 -2.802584)'), GeomFromEWKT('SRID=4674;POINT (-40.316094 -2.802593)'))) / (select extract(epoch from '2026-07-17 04:00:46'::timestamp) - extract(epoch from '2026-07-17 04:00: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'), 47836, 'SRID=4674;POINT (-40.316104 -2.802598)', '2026-07-17 04:00:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316094 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.316104 -2.802598)'))) / (select extract(epoch from '2026-07-17 04:00:59'::timestamp) - extract(epoch from '2026-07-17 04:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316094 -2.802593)'), GeomFromEWKT('SRID=4674;POINT (-40.316104 -2.802598)'))) / (select extract(epoch from '2026-07-17 04:00:59'::timestamp) - extract(epoch from '2026-07-17 04:00: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'), 47836, 'SRID=4674;POINT (-40.316138 -2.802616)', '2026-07-17 04:01:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316104 -2.802598)'), GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.802616)'))) / (select extract(epoch from '2026-07-17 04:01:14'::timestamp) - extract(epoch from '2026-07-17 04:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316104 -2.802598)'), GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.802616)'))) / (select extract(epoch from '2026-07-17 04:01:14'::timestamp) - extract(epoch from '2026-07-17 04:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.316188 -2.802669)', '2026-07-17 04:01:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.802616)'), GeomFromEWKT('SRID=4674;POINT (-40.316188 -2.802669)'))) / (select extract(epoch from '2026-07-17 04:01:24'::timestamp) - extract(epoch from '2026-07-17 04:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.802616)'), GeomFromEWKT('SRID=4674;POINT (-40.316188 -2.802669)'))) / (select extract(epoch from '2026-07-17 04:01:24'::timestamp) - extract(epoch from '2026-07-17 04:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.316234 -2.802624)', '2026-07-17 04:01:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316188 -2.802669)'), GeomFromEWKT('SRID=4674;POINT (-40.316234 -2.802624)'))) / (select extract(epoch from '2026-07-17 04:01:32'::timestamp) - extract(epoch from '2026-07-17 04:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316188 -2.802669)'), GeomFromEWKT('SRID=4674;POINT (-40.316234 -2.802624)'))) / (select extract(epoch from '2026-07-17 04:01:32'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.31622 -2.802485)', '2026-07-17 04:01:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316234 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.802485)'))) / (select extract(epoch from '2026-07-17 04:01:43'::timestamp) - extract(epoch from '2026-07-17 04:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316234 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.802485)'))) / (select extract(epoch from '2026-07-17 04:01:43'::timestamp) - extract(epoch from '2026-07-17 04:01: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'), 47836, 'SRID=4674;POINT (-40.316114 -2.802393)', '2026-07-17 04:01:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.802485)'), GeomFromEWKT('SRID=4674;POINT (-40.316114 -2.802393)'))) / (select extract(epoch from '2026-07-17 04:01:49'::timestamp) - extract(epoch from '2026-07-17 04:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31622 -2.802485)'), GeomFromEWKT('SRID=4674;POINT (-40.316114 -2.802393)'))) / (select extract(epoch from '2026-07-17 04:01:49'::timestamp) - extract(epoch from '2026-07-17 04:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315965 -2.802265)', '2026-07-17 04:01:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316114 -2.802393)'), GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.802265)'))) / (select extract(epoch from '2026-07-17 04:01:56'::timestamp) - extract(epoch from '2026-07-17 04:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316114 -2.802393)'), GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.802265)'))) / (select extract(epoch from '2026-07-17 04:01:56'::timestamp) - extract(epoch from '2026-07-17 04:01: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'), 47836, 'SRID=4674;POINT (-40.315945 -2.802249)', '2026-07-17 04:01:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.802265)'), GeomFromEWKT('SRID=4674;POINT (-40.315945 -2.802249)'))) / (select extract(epoch from '2026-07-17 04:01:57'::timestamp) - extract(epoch from '2026-07-17 04:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315965 -2.802265)'), GeomFromEWKT('SRID=4674;POINT (-40.315945 -2.802249)'))) / (select extract(epoch from '2026-07-17 04:01:57'::timestamp) - extract(epoch from '2026-07-17 04:01: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'), 47836, 'SRID=4674;POINT (-40.315799 -2.802102)', '2026-07-17 04:02:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315945 -2.802249)'), GeomFromEWKT('SRID=4674;POINT (-40.315799 -2.802102)'))) / (select extract(epoch from '2026-07-17 04:02:04'::timestamp) - extract(epoch from '2026-07-17 04:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315945 -2.802249)'), GeomFromEWKT('SRID=4674;POINT (-40.315799 -2.802102)'))) / (select extract(epoch from '2026-07-17 04:02:04'::timestamp) - extract(epoch from '2026-07-17 04:01: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'), 47836, 'SRID=4674;POINT (-40.315765 -2.802064)', '2026-07-17 04:02:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315799 -2.802102)'), GeomFromEWKT('SRID=4674;POINT (-40.315765 -2.802064)'))) / (select extract(epoch from '2026-07-17 04:02:06'::timestamp) - extract(epoch from '2026-07-17 04:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315799 -2.802102)'), GeomFromEWKT('SRID=4674;POINT (-40.315765 -2.802064)'))) / (select extract(epoch from '2026-07-17 04:02:06'::timestamp) - extract(epoch from '2026-07-17 04:02: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'), 47836, 'SRID=4674;POINT (-40.315644 -2.801917)', '2026-07-17 04:02:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315765 -2.802064)'), GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.801917)'))) / (select extract(epoch from '2026-07-17 04:02:14'::timestamp) - extract(epoch from '2026-07-17 04:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315765 -2.802064)'), GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.801917)'))) / (select extract(epoch from '2026-07-17 04:02:14'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.315629 -2.801899)', '2026-07-17 04:02:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.801917)'), GeomFromEWKT('SRID=4674;POINT (-40.315629 -2.801899)'))) / (select extract(epoch from '2026-07-17 04:02:15'::timestamp) - extract(epoch from '2026-07-17 04:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315644 -2.801917)'), GeomFromEWKT('SRID=4674;POINT (-40.315629 -2.801899)'))) / (select extract(epoch from '2026-07-17 04:02:15'::timestamp) - extract(epoch from '2026-07-17 04:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315496 -2.801766)', '2026-07-17 04:02:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315629 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.315496 -2.801766)'))) / (select extract(epoch from '2026-07-17 04:02:22'::timestamp) - extract(epoch from '2026-07-17 04:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315629 -2.801899)'), GeomFromEWKT('SRID=4674;POINT (-40.315496 -2.801766)'))) / (select extract(epoch from '2026-07-17 04:02:22'::timestamp) - extract(epoch from '2026-07-17 04:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315453 -2.801728)', '2026-07-17 04:02:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315496 -2.801766)'), GeomFromEWKT('SRID=4674;POINT (-40.315453 -2.801728)'))) / (select extract(epoch from '2026-07-17 04:02:24'::timestamp) - extract(epoch from '2026-07-17 04:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315496 -2.801766)'), GeomFromEWKT('SRID=4674;POINT (-40.315453 -2.801728)'))) / (select extract(epoch from '2026-07-17 04:02:24'::timestamp) - extract(epoch from '2026-07-17 04:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315332 -2.8016)', '2026-07-17 04:02:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315453 -2.801728)'), GeomFromEWKT('SRID=4674;POINT (-40.315332 -2.8016)'))) / (select extract(epoch from '2026-07-17 04:02:32'::timestamp) - extract(epoch from '2026-07-17 04:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315453 -2.801728)'), GeomFromEWKT('SRID=4674;POINT (-40.315332 -2.8016)'))) / (select extract(epoch from '2026-07-17 04:02:32'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.315193 -2.801485)', '2026-07-17 04:02:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315332 -2.8016)'), GeomFromEWKT('SRID=4674;POINT (-40.315193 -2.801485)'))) / (select extract(epoch from '2026-07-17 04:02:41'::timestamp) - extract(epoch from '2026-07-17 04:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315332 -2.8016)'), GeomFromEWKT('SRID=4674;POINT (-40.315193 -2.801485)'))) / (select extract(epoch from '2026-07-17 04:02:41'::timestamp) - extract(epoch from '2026-07-17 04:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315062 -2.801387)', '2026-07-17 04:02:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315193 -2.801485)'), GeomFromEWKT('SRID=4674;POINT (-40.315062 -2.801387)'))) / (select extract(epoch from '2026-07-17 04:02:48'::timestamp) - extract(epoch from '2026-07-17 04:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315193 -2.801485)'), GeomFromEWKT('SRID=4674;POINT (-40.315062 -2.801387)'))) / (select extract(epoch from '2026-07-17 04:02:48'::timestamp) - extract(epoch from '2026-07-17 04:02: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'), 47836, 'SRID=4674;POINT (-40.314901 -2.801271)', '2026-07-17 04:02:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315062 -2.801387)'), GeomFromEWKT('SRID=4674;POINT (-40.314901 -2.801271)'))) / (select extract(epoch from '2026-07-17 04:02:56'::timestamp) - extract(epoch from '2026-07-17 04:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315062 -2.801387)'), GeomFromEWKT('SRID=4674;POINT (-40.314901 -2.801271)'))) / (select extract(epoch from '2026-07-17 04:02:56'::timestamp) - extract(epoch from '2026-07-17 04:02: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'), 47836, 'SRID=4674;POINT (-40.314881 -2.801254)', '2026-07-17 04:02:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314901 -2.801271)'), GeomFromEWKT('SRID=4674;POINT (-40.314881 -2.801254)'))) / (select extract(epoch from '2026-07-17 04:02:57'::timestamp) - extract(epoch from '2026-07-17 04:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314901 -2.801271)'), GeomFromEWKT('SRID=4674;POINT (-40.314881 -2.801254)'))) / (select extract(epoch from '2026-07-17 04:02:57'::timestamp) - extract(epoch from '2026-07-17 04:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314735 -2.801133)', '2026-07-17 04:03:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314881 -2.801254)'), GeomFromEWKT('SRID=4674;POINT (-40.314735 -2.801133)'))) / (select extract(epoch from '2026-07-17 04:03:05'::timestamp) - extract(epoch from '2026-07-17 04:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314881 -2.801254)'), GeomFromEWKT('SRID=4674;POINT (-40.314735 -2.801133)'))) / (select extract(epoch from '2026-07-17 04:03:05'::timestamp) - extract(epoch from '2026-07-17 04:02: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'), 47836, 'SRID=4674;POINT (-40.314682 -2.801095)', '2026-07-17 04:03:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314735 -2.801133)'), GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.801095)'))) / (select extract(epoch from '2026-07-17 04:03:08'::timestamp) - extract(epoch from '2026-07-17 04:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314735 -2.801133)'), GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.801095)'))) / (select extract(epoch from '2026-07-17 04:03:08'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.314586 -2.801015)', '2026-07-17 04:03:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.801095)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.801015)'))) / (select extract(epoch from '2026-07-17 04:03:15'::timestamp) - extract(epoch from '2026-07-17 04:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314682 -2.801095)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.801015)'))) / (select extract(epoch from '2026-07-17 04:03:15'::timestamp) - extract(epoch from '2026-07-17 04:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314438 -2.800911)', '2026-07-17 04:03:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.801015)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.800911)'))) / (select extract(epoch from '2026-07-17 04:03:23'::timestamp) - extract(epoch from '2026-07-17 04:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.801015)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.800911)'))) / (select extract(epoch from '2026-07-17 04:03:23'::timestamp) - extract(epoch from '2026-07-17 04:03: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'), 47836, 'SRID=4674;POINT (-40.314418 -2.8009)', '2026-07-17 04:03:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.314418 -2.8009)'))) / (select extract(epoch from '2026-07-17 04:03:24'::timestamp) - extract(epoch from '2026-07-17 04:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.314418 -2.8009)'))) / (select extract(epoch from '2026-07-17 04:03:24'::timestamp) - extract(epoch from '2026-07-17 04:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314283 -2.800813)', '2026-07-17 04:03:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314418 -2.8009)'), GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.800813)'))) / (select extract(epoch from '2026-07-17 04:03:31'::timestamp) - extract(epoch from '2026-07-17 04:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314418 -2.8009)'), GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.800813)'))) / (select extract(epoch from '2026-07-17 04:03:31'::timestamp) - extract(epoch from '2026-07-17 04:03: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'), 47836, 'SRID=4674;POINT (-40.314138 -2.800689)', '2026-07-17 04:03:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.800813)'), GeomFromEWKT('SRID=4674;POINT (-40.314138 -2.800689)'))) / (select extract(epoch from '2026-07-17 04:03:39'::timestamp) - extract(epoch from '2026-07-17 04:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.800813)'), GeomFromEWKT('SRID=4674;POINT (-40.314138 -2.800689)'))) / (select extract(epoch from '2026-07-17 04:03:39'::timestamp) - extract(epoch from '2026-07-17 04:03: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'), 47836, 'SRID=4674;POINT (-40.314124 -2.800675)', '2026-07-17 04:03:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314138 -2.800689)'), GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.800675)'))) / (select extract(epoch from '2026-07-17 04:03:40'::timestamp) - extract(epoch from '2026-07-17 04:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314138 -2.800689)'), GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.800675)'))) / (select extract(epoch from '2026-07-17 04:03:40'::timestamp) - extract(epoch from '2026-07-17 04:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314017 -2.800516)', '2026-07-17 04:03:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.800675)'), GeomFromEWKT('SRID=4674;POINT (-40.314017 -2.800516)'))) / (select extract(epoch from '2026-07-17 04:03:49'::timestamp) - extract(epoch from '2026-07-17 04:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314124 -2.800675)'), GeomFromEWKT('SRID=4674;POINT (-40.314017 -2.800516)'))) / (select extract(epoch from '2026-07-17 04:03:49'::timestamp) - extract(epoch from '2026-07-17 04:03: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'), 47836, 'SRID=4674;POINT (-40.313942 -2.800378)', '2026-07-17 04:03:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314017 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.800378)'))) / (select extract(epoch from '2026-07-17 04:03:56'::timestamp) - extract(epoch from '2026-07-17 04:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314017 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.800378)'))) / (select extract(epoch from '2026-07-17 04:03:56'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.313846 -2.800215)', '2026-07-17 04:04:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.313846 -2.800215)'))) / (select extract(epoch from '2026-07-17 04:04:04'::timestamp) - extract(epoch from '2026-07-17 04:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313942 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.313846 -2.800215)'))) / (select extract(epoch from '2026-07-17 04:04:04'::timestamp) - extract(epoch from '2026-07-17 04:03: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'), 47836, 'SRID=4674;POINT (-40.313749 -2.800095)', '2026-07-17 04:04:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313846 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.800095)'))) / (select extract(epoch from '2026-07-17 04:04:12'::timestamp) - extract(epoch from '2026-07-17 04:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313846 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.800095)'))) / (select extract(epoch from '2026-07-17 04:04:12'::timestamp) - extract(epoch from '2026-07-17 04:04: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'), 47836, 'SRID=4674;POINT (-40.313641 -2.799944)', '2026-07-17 04:04:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.800095)'), GeomFromEWKT('SRID=4674;POINT (-40.313641 -2.799944)'))) / (select extract(epoch from '2026-07-17 04:04:20'::timestamp) - extract(epoch from '2026-07-17 04:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313749 -2.800095)'), GeomFromEWKT('SRID=4674;POINT (-40.313641 -2.799944)'))) / (select extract(epoch from '2026-07-17 04:04:20'::timestamp) - extract(epoch from '2026-07-17 04:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313618 -2.799923)', '2026-07-17 04:04:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313641 -2.799944)'), GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.799923)'))) / (select extract(epoch from '2026-07-17 04:04:21'::timestamp) - extract(epoch from '2026-07-17 04:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313641 -2.799944)'), GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.799923)'))) / (select extract(epoch from '2026-07-17 04:04:21'::timestamp) - extract(epoch from '2026-07-17 04:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313493 -2.799787)', '2026-07-17 04:04:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.799923)'), GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.799787)'))) / (select extract(epoch from '2026-07-17 04:04:28'::timestamp) - extract(epoch from '2026-07-17 04:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313618 -2.799923)'), GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.799787)'))) / (select extract(epoch from '2026-07-17 04:04:28'::timestamp) - extract(epoch from '2026-07-17 04:04: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'), 47836, 'SRID=4674;POINT (-40.313453 -2.799749)', '2026-07-17 04:04:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.313453 -2.799749)'))) / (select extract(epoch from '2026-07-17 04:04:30'::timestamp) - extract(epoch from '2026-07-17 04:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.313453 -2.799749)'))) / (select extract(epoch from '2026-07-17 04:04:30'::timestamp) - extract(epoch from '2026-07-17 04:04: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'), 47836, 'SRID=4674;POINT (-40.313352 -2.799583)', '2026-07-17 04:04:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313453 -2.799749)'), GeomFromEWKT('SRID=4674;POINT (-40.313352 -2.799583)'))) / (select extract(epoch from '2026-07-17 04:04:39'::timestamp) - extract(epoch from '2026-07-17 04:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313453 -2.799749)'), GeomFromEWKT('SRID=4674;POINT (-40.313352 -2.799583)'))) / (select extract(epoch from '2026-07-17 04:04:39'::timestamp) - extract(epoch from '2026-07-17 04:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313251 -2.799446)', '2026-07-17 04:04:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313352 -2.799583)'), GeomFromEWKT('SRID=4674;POINT (-40.313251 -2.799446)'))) / (select extract(epoch from '2026-07-17 04:04:47'::timestamp) - extract(epoch from '2026-07-17 04:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313352 -2.799583)'), GeomFromEWKT('SRID=4674;POINT (-40.313251 -2.799446)'))) / (select extract(epoch from '2026-07-17 04:04:47'::timestamp) - extract(epoch from '2026-07-17 04:04: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'), 47836, 'SRID=4674;POINT (-40.313111 -2.799299)', '2026-07-17 04:04:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313251 -2.799446)'), GeomFromEWKT('SRID=4674;POINT (-40.313111 -2.799299)'))) / (select extract(epoch from '2026-07-17 04:04:55'::timestamp) - extract(epoch from '2026-07-17 04:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313251 -2.799446)'), GeomFromEWKT('SRID=4674;POINT (-40.313111 -2.799299)'))) / (select extract(epoch from '2026-07-17 04:04:55'::timestamp) - extract(epoch from '2026-07-17 04:04: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'), 47836, 'SRID=4674;POINT (-40.312966 -2.799154)', '2026-07-17 04:05:04', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313111 -2.799299)'), GeomFromEWKT('SRID=4674;POINT (-40.312966 -2.799154)'))) / (select extract(epoch from '2026-07-17 04:05:04'::timestamp) - extract(epoch from '2026-07-17 04:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313111 -2.799299)'), GeomFromEWKT('SRID=4674;POINT (-40.312966 -2.799154)'))) / (select extract(epoch from '2026-07-17 04:05:04'::timestamp) - extract(epoch from '2026-07-17 04:04: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'), 47836, 'SRID=4674;POINT (-40.312832 -2.799031)', '2026-07-17 04:05:10', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312966 -2.799154)'), GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.799031)'))) / (select extract(epoch from '2026-07-17 04:05:10'::timestamp) - extract(epoch from '2026-07-17 04:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312966 -2.799154)'), GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.799031)'))) / (select extract(epoch from '2026-07-17 04:05:10'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.312813 -2.799014)', '2026-07-17 04:05:11', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.799031)'), GeomFromEWKT('SRID=4674;POINT (-40.312813 -2.799014)'))) / (select extract(epoch from '2026-07-17 04:05:11'::timestamp) - extract(epoch from '2026-07-17 04:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312832 -2.799031)'), GeomFromEWKT('SRID=4674;POINT (-40.312813 -2.799014)'))) / (select extract(epoch from '2026-07-17 04:05:11'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.31269 -2.798892)', '2026-07-17 04:05:18', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312813 -2.799014)'), GeomFromEWKT('SRID=4674;POINT (-40.31269 -2.798892)'))) / (select extract(epoch from '2026-07-17 04:05:18'::timestamp) - extract(epoch from '2026-07-17 04:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312813 -2.799014)'), GeomFromEWKT('SRID=4674;POINT (-40.31269 -2.798892)'))) / (select extract(epoch from '2026-07-17 04:05:18'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.312598 -2.798763)', '2026-07-17 04:05:26', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31269 -2.798892)'), GeomFromEWKT('SRID=4674;POINT (-40.312598 -2.798763)'))) / (select extract(epoch from '2026-07-17 04:05:26'::timestamp) - extract(epoch from '2026-07-17 04:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31269 -2.798892)'), GeomFromEWKT('SRID=4674;POINT (-40.312598 -2.798763)'))) / (select extract(epoch from '2026-07-17 04:05:26'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.31254 -2.798637)', '2026-07-17 04:05:34', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312598 -2.798763)'), GeomFromEWKT('SRID=4674;POINT (-40.31254 -2.798637)'))) / (select extract(epoch from '2026-07-17 04:05:34'::timestamp) - extract(epoch from '2026-07-17 04:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312598 -2.798763)'), GeomFromEWKT('SRID=4674;POINT (-40.31254 -2.798637)'))) / (select extract(epoch from '2026-07-17 04:05:34'::timestamp) - extract(epoch from '2026-07-17 04:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312426 -2.798498)', '2026-07-17 04:05:41', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31254 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.312426 -2.798498)'))) / (select extract(epoch from '2026-07-17 04:05:41'::timestamp) - extract(epoch from '2026-07-17 04:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31254 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.312426 -2.798498)'))) / (select extract(epoch from '2026-07-17 04:05:41'::timestamp) - extract(epoch from '2026-07-17 04:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312408 -2.79848)', '2026-07-17 04:05:42', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312426 -2.798498)'), GeomFromEWKT('SRID=4674;POINT (-40.312408 -2.79848)'))) / (select extract(epoch from '2026-07-17 04:05:42'::timestamp) - extract(epoch from '2026-07-17 04:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312426 -2.798498)'), GeomFromEWKT('SRID=4674;POINT (-40.312408 -2.79848)'))) / (select extract(epoch from '2026-07-17 04:05:42'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.312318 -2.798391)', '2026-07-17 04:05:48', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312408 -2.79848)'), GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.798391)'))) / (select extract(epoch from '2026-07-17 04:05:48'::timestamp) - extract(epoch from '2026-07-17 04:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312408 -2.79848)'), GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.798391)'))) / (select extract(epoch from '2026-07-17 04:05:48'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.312192 -2.798254)', '2026-07-17 04:05:56', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.798391)'), GeomFromEWKT('SRID=4674;POINT (-40.312192 -2.798254)'))) / (select extract(epoch from '2026-07-17 04:05:56'::timestamp) - extract(epoch from '2026-07-17 04:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312318 -2.798391)'), GeomFromEWKT('SRID=4674;POINT (-40.312192 -2.798254)'))) / (select extract(epoch from '2026-07-17 04:05:56'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.312178 -2.79824)', '2026-07-17 04:05:57', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312192 -2.798254)'), GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.79824)'))) / (select extract(epoch from '2026-07-17 04:05:57'::timestamp) - extract(epoch from '2026-07-17 04:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312192 -2.798254)'), GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.79824)'))) / (select extract(epoch from '2026-07-17 04:05:57'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.312083 -2.798138)', '2026-07-17 04:06:05', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.79824)'), GeomFromEWKT('SRID=4674;POINT (-40.312083 -2.798138)'))) / (select extract(epoch from '2026-07-17 04:06:05'::timestamp) - extract(epoch from '2026-07-17 04:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312178 -2.79824)'), GeomFromEWKT('SRID=4674;POINT (-40.312083 -2.798138)'))) / (select extract(epoch from '2026-07-17 04:06:05'::timestamp) - extract(epoch from '2026-07-17 04:05: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'), 47836, 'SRID=4674;POINT (-40.312031 -2.798067)', '2026-07-17 04:06:14', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312083 -2.798138)'), GeomFromEWKT('SRID=4674;POINT (-40.312031 -2.798067)'))) / (select extract(epoch from '2026-07-17 04:06:14'::timestamp) - extract(epoch from '2026-07-17 04:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312083 -2.798138)'), GeomFromEWKT('SRID=4674;POINT (-40.312031 -2.798067)'))) / (select extract(epoch from '2026-07-17 04:06:14'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.312022 -2.798035)', '2026-07-17 04:06:22', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312031 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.312022 -2.798035)'))) / (select extract(epoch from '2026-07-17 04:06:22'::timestamp) - extract(epoch from '2026-07-17 04:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312031 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.312022 -2.798035)'))) / (select extract(epoch from '2026-07-17 04:06:22'::timestamp) - extract(epoch from '2026-07-17 04:06: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'), 47836, 'SRID=4674;POINT (-40.312126 -2.798051)', '2026-07-17 04:08:41', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312022 -2.798035)'), GeomFromEWKT('SRID=4674;POINT (-40.312126 -2.798051)'))) / (select extract(epoch from '2026-07-17 04:08:41'::timestamp) - extract(epoch from '2026-07-17 04:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312022 -2.798035)'), GeomFromEWKT('SRID=4674;POINT (-40.312126 -2.798051)'))) / (select extract(epoch from '2026-07-17 04:08:41'::timestamp) - extract(epoch from '2026-07-17 04:06: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'), 47836, 'SRID=4674;POINT (-40.312206 -2.798008)', '2026-07-17 04:13:15', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312126 -2.798051)'), GeomFromEWKT('SRID=4674;POINT (-40.312206 -2.798008)'))) / (select extract(epoch from '2026-07-17 04:13:15'::timestamp) - extract(epoch from '2026-07-17 04:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312126 -2.798051)'), GeomFromEWKT('SRID=4674;POINT (-40.312206 -2.798008)'))) / (select extract(epoch from '2026-07-17 04:13:15'::timestamp) - extract(epoch from '2026-07-17 04:08: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'), 47836, 'SRID=4674;POINT (-40.31218 -2.798004)', '2026-07-17 04:24:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312206 -2.798008)'), GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.798004)'))) / (select extract(epoch from '2026-07-17 04:24:20'::timestamp) - extract(epoch from '2026-07-17 04:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312206 -2.798008)'), GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.798004)'))) / (select extract(epoch from '2026-07-17 04:24:20'::timestamp) - extract(epoch from '2026-07-17 04:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312086 -2.798005)', '2026-07-17 04:24:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.798004)'), GeomFromEWKT('SRID=4674;POINT (-40.312086 -2.798005)'))) / (select extract(epoch from '2026-07-17 04:24:34'::timestamp) - extract(epoch from '2026-07-17 04:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31218 -2.798004)'), GeomFromEWKT('SRID=4674;POINT (-40.312086 -2.798005)'))) / (select extract(epoch from '2026-07-17 04:24:34'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.311932 -2.79798)', '2026-07-17 04:24:50', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312086 -2.798005)'), GeomFromEWKT('SRID=4674;POINT (-40.311932 -2.79798)'))) / (select extract(epoch from '2026-07-17 04:24:50'::timestamp) - extract(epoch from '2026-07-17 04:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312086 -2.798005)'), GeomFromEWKT('SRID=4674;POINT (-40.311932 -2.79798)'))) / (select extract(epoch from '2026-07-17 04:24:50'::timestamp) - extract(epoch from '2026-07-17 04:24: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'), 47836, 'SRID=4674;POINT (-40.311836 -2.797917)', '2026-07-17 04:24:56', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311932 -2.79798)'), GeomFromEWKT('SRID=4674;POINT (-40.311836 -2.797917)'))) / (select extract(epoch from '2026-07-17 04:24:56'::timestamp) - extract(epoch from '2026-07-17 04:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311932 -2.79798)'), GeomFromEWKT('SRID=4674;POINT (-40.311836 -2.797917)'))) / (select extract(epoch from '2026-07-17 04:24:56'::timestamp) - extract(epoch from '2026-07-17 04:24: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'), 47836, 'SRID=4674;POINT (-40.311711 -2.797783)', '2026-07-17 04:25:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311836 -2.797917)'), GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.797783)'))) / (select extract(epoch from '2026-07-17 04:25:05'::timestamp) - extract(epoch from '2026-07-17 04:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311836 -2.797917)'), GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.797783)'))) / (select extract(epoch from '2026-07-17 04:25:05'::timestamp) - extract(epoch from '2026-07-17 04:24: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'), 47836, 'SRID=4674;POINT (-40.3117 -2.797767)', '2026-07-17 04:25:06', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.3117 -2.797767)'))) / (select extract(epoch from '2026-07-17 04:25:06'::timestamp) - extract(epoch from '2026-07-17 04:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.3117 -2.797767)'))) / (select extract(epoch from '2026-07-17 04:25:06'::timestamp) - extract(epoch from '2026-07-17 04:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311632 -2.797652)', '2026-07-17 04:25:13', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3117 -2.797767)'), GeomFromEWKT('SRID=4674;POINT (-40.311632 -2.797652)'))) / (select extract(epoch from '2026-07-17 04:25:13'::timestamp) - extract(epoch from '2026-07-17 04:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3117 -2.797767)'), GeomFromEWKT('SRID=4674;POINT (-40.311632 -2.797652)'))) / (select extract(epoch from '2026-07-17 04:25:13'::timestamp) - extract(epoch from '2026-07-17 04:25: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'), 47836, 'SRID=4674;POINT (-40.311569 -2.797522)', '2026-07-17 04:25:20', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311632 -2.797652)'), GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.797522)'))) / (select extract(epoch from '2026-07-17 04:25:20'::timestamp) - extract(epoch from '2026-07-17 04:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311632 -2.797652)'), GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.797522)'))) / (select extract(epoch from '2026-07-17 04:25:20'::timestamp) - extract(epoch from '2026-07-17 04:25: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'), 47836, 'SRID=4674;POINT (-40.311477 -2.797366)', '2026-07-17 04:25:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.797522)'), GeomFromEWKT('SRID=4674;POINT (-40.311477 -2.797366)'))) / (select extract(epoch from '2026-07-17 04:25:28'::timestamp) - extract(epoch from '2026-07-17 04:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311569 -2.797522)'), GeomFromEWKT('SRID=4674;POINT (-40.311477 -2.797366)'))) / (select extract(epoch from '2026-07-17 04:25:28'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.311372 -2.79725)', '2026-07-17 04:25:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311477 -2.797366)'), GeomFromEWKT('SRID=4674;POINT (-40.311372 -2.79725)'))) / (select extract(epoch from '2026-07-17 04:25:35'::timestamp) - extract(epoch from '2026-07-17 04:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311477 -2.797366)'), GeomFromEWKT('SRID=4674;POINT (-40.311372 -2.79725)'))) / (select extract(epoch from '2026-07-17 04:25:35'::timestamp) - extract(epoch from '2026-07-17 04:25: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'), 47836, 'SRID=4674;POINT (-40.311281 -2.797073)', '2026-07-17 04:25:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311372 -2.79725)'), GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.797073)'))) / (select extract(epoch from '2026-07-17 04:25:43'::timestamp) - extract(epoch from '2026-07-17 04:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311372 -2.79725)'), GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.797073)'))) / (select extract(epoch from '2026-07-17 04:25:43'::timestamp) - extract(epoch from '2026-07-17 04:25: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'), 47836, 'SRID=4674;POINT (-40.311235 -2.796883)', '2026-07-17 04:25:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.797073)'), GeomFromEWKT('SRID=4674;POINT (-40.311235 -2.796883)'))) / (select extract(epoch from '2026-07-17 04:25:51'::timestamp) - extract(epoch from '2026-07-17 04:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.797073)'), GeomFromEWKT('SRID=4674;POINT (-40.311235 -2.796883)'))) / (select extract(epoch from '2026-07-17 04:25:51'::timestamp) - extract(epoch from '2026-07-17 04:25: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'), 47836, 'SRID=4674;POINT (-40.311184 -2.796699)', '2026-07-17 04:25:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311235 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.796699)'))) / (select extract(epoch from '2026-07-17 04:25:59'::timestamp) - extract(epoch from '2026-07-17 04:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311235 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.796699)'))) / (select extract(epoch from '2026-07-17 04:25:59'::timestamp) - extract(epoch from '2026-07-17 04:25: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'), 47836, 'SRID=4674;POINT (-40.311161 -2.796631)', '2026-07-17 04:26:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.796699)'), GeomFromEWKT('SRID=4674;POINT (-40.311161 -2.796631)'))) / (select extract(epoch from '2026-07-17 04:26:02'::timestamp) - extract(epoch from '2026-07-17 04:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311184 -2.796699)'), GeomFromEWKT('SRID=4674;POINT (-40.311161 -2.796631)'))) / (select extract(epoch from '2026-07-17 04:26:02'::timestamp) - extract(epoch from '2026-07-17 04:25: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'), 47836, 'SRID=4674;POINT (-40.3111 -2.796437)', '2026-07-17 04:26:11', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311161 -2.796631)'), GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796437)'))) / (select extract(epoch from '2026-07-17 04:26:11'::timestamp) - extract(epoch from '2026-07-17 04:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311161 -2.796631)'), GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796437)'))) / (select extract(epoch from '2026-07-17 04:26:11'::timestamp) - extract(epoch from '2026-07-17 04:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311077 -2.796271)', '2026-07-17 04:26:19', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796437)'), GeomFromEWKT('SRID=4674;POINT (-40.311077 -2.796271)'))) / (select extract(epoch from '2026-07-17 04:26:19'::timestamp) - extract(epoch from '2026-07-17 04:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796437)'), GeomFromEWKT('SRID=4674;POINT (-40.311077 -2.796271)'))) / (select extract(epoch from '2026-07-17 04:26:19'::timestamp) - extract(epoch from '2026-07-17 04:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311071 -2.79616)', '2026-07-17 04:26:27', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311077 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.79616)'))) / (select extract(epoch from '2026-07-17 04:26:27'::timestamp) - extract(epoch from '2026-07-17 04:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311077 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.79616)'))) / (select extract(epoch from '2026-07-17 04:26:27'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.311078 -2.79607)', '2026-07-17 04:26:37', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.79616)'), GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.79607)'))) / (select extract(epoch from '2026-07-17 04:26:37'::timestamp) - extract(epoch from '2026-07-17 04:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311071 -2.79616)'), GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.79607)'))) / (select extract(epoch from '2026-07-17 04:26:37'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.311098 -2.796003)', '2026-07-17 04:26:51', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.79607)'), GeomFromEWKT('SRID=4674;POINT (-40.311098 -2.796003)'))) / (select extract(epoch from '2026-07-17 04:26:51'::timestamp) - extract(epoch from '2026-07-17 04:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311078 -2.79607)'), GeomFromEWKT('SRID=4674;POINT (-40.311098 -2.796003)'))) / (select extract(epoch from '2026-07-17 04:26:51'::timestamp) - extract(epoch from '2026-07-17 04:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.31119 -2.796029)', '2026-07-17 04:28:42', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311098 -2.796003)'), GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.796029)'))) / (select extract(epoch from '2026-07-17 04:28:42'::timestamp) - extract(epoch from '2026-07-17 04:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311098 -2.796003)'), GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.796029)'))) / (select extract(epoch from '2026-07-17 04:28:42'::timestamp) - extract(epoch from '2026-07-17 04:26: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'), 47836, 'SRID=4674;POINT (-40.311281 -2.796028)', '2026-07-17 04:37:26', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.796029)'), GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.796028)'))) / (select extract(epoch from '2026-07-17 04:37:26'::timestamp) - extract(epoch from '2026-07-17 04:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.796029)'), GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.796028)'))) / (select extract(epoch from '2026-07-17 04:37:26'::timestamp) - extract(epoch from '2026-07-17 04:28: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'), 47836, 'SRID=4674;POINT (-40.311198 -2.796015)', '2026-07-17 04:49:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.796028)'), GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.796015)'))) / (select extract(epoch from '2026-07-17 04:49:58'::timestamp) - extract(epoch from '2026-07-17 04:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311281 -2.796028)'), GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.796015)'))) / (select extract(epoch from '2026-07-17 04:49:58'::timestamp) - extract(epoch from '2026-07-17 04:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.3111 -2.796022)', '2026-07-17 04:50:11', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.796015)'), GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796022)'))) / (select extract(epoch from '2026-07-17 04:50:11'::timestamp) - extract(epoch from '2026-07-17 04:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311198 -2.796015)'), GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796022)'))) / (select extract(epoch from '2026-07-17 04:50:11'::timestamp) - extract(epoch from '2026-07-17 04:49: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'), 47836, 'SRID=4674;POINT (-40.311051 -2.796021)', '2026-07-17 04:50:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796022)'), GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.796021)'))) / (select extract(epoch from '2026-07-17 04:50:23'::timestamp) - extract(epoch from '2026-07-17 04:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3111 -2.796022)'), GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.796021)'))) / (select extract(epoch from '2026-07-17 04:50:23'::timestamp) - extract(epoch from '2026-07-17 04:50: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'), 47836, 'SRID=4674;POINT (-40.310991 -2.796006)', '2026-07-17 04:50:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.796021)'), GeomFromEWKT('SRID=4674;POINT (-40.310991 -2.796006)'))) / (select extract(epoch from '2026-07-17 04:50:34'::timestamp) - extract(epoch from '2026-07-17 04:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.796021)'), GeomFromEWKT('SRID=4674;POINT (-40.310991 -2.796006)'))) / (select extract(epoch from '2026-07-17 04:50:34'::timestamp) - extract(epoch from '2026-07-17 04:50: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'), 47836, 'SRID=4674;POINT (-40.310853 -2.795957)', '2026-07-17 04:50:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310991 -2.796006)'), GeomFromEWKT('SRID=4674;POINT (-40.310853 -2.795957)'))) / (select extract(epoch from '2026-07-17 04:50:42'::timestamp) - extract(epoch from '2026-07-17 04:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310991 -2.796006)'), GeomFromEWKT('SRID=4674;POINT (-40.310853 -2.795957)'))) / (select extract(epoch from '2026-07-17 04:50:42'::timestamp) - extract(epoch from '2026-07-17 04:50: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'), 47836, 'SRID=4674;POINT (-40.31071 -2.795863)', '2026-07-17 04:50:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310853 -2.795957)'), GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.795863)'))) / (select extract(epoch from '2026-07-17 04:50:50'::timestamp) - extract(epoch from '2026-07-17 04:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310853 -2.795957)'), GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.795863)'))) / (select extract(epoch from '2026-07-17 04:50:50'::timestamp) - extract(epoch from '2026-07-17 04:50: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'), 47836, 'SRID=4674;POINT (-40.310589 -2.795735)', '2026-07-17 04:50:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.795863)'), GeomFromEWKT('SRID=4674;POINT (-40.310589 -2.795735)'))) / (select extract(epoch from '2026-07-17 04:50:58'::timestamp) - extract(epoch from '2026-07-17 04:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.795863)'), GeomFromEWKT('SRID=4674;POINT (-40.310589 -2.795735)'))) / (select extract(epoch from '2026-07-17 04:50:58'::timestamp) - extract(epoch from '2026-07-17 04:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310468 -2.795579)', '2026-07-17 04:51:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310589 -2.795735)'), GeomFromEWKT('SRID=4674;POINT (-40.310468 -2.795579)'))) / (select extract(epoch from '2026-07-17 04:51:07'::timestamp) - extract(epoch from '2026-07-17 04:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310589 -2.795735)'), GeomFromEWKT('SRID=4674;POINT (-40.310468 -2.795579)'))) / (select extract(epoch from '2026-07-17 04:51:07'::timestamp) - extract(epoch from '2026-07-17 04:50: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'), 47836, 'SRID=4674;POINT (-40.310457 -2.795564)', '2026-07-17 04:51:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310468 -2.795579)'), GeomFromEWKT('SRID=4674;POINT (-40.310457 -2.795564)'))) / (select extract(epoch from '2026-07-17 04:51:08'::timestamp) - extract(epoch from '2026-07-17 04:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310468 -2.795579)'), GeomFromEWKT('SRID=4674;POINT (-40.310457 -2.795564)'))) / (select extract(epoch from '2026-07-17 04:51:08'::timestamp) - extract(epoch from '2026-07-17 04:51: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'), 47836, 'SRID=4674;POINT (-40.310409 -2.795422)', '2026-07-17 04:51:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310457 -2.795564)'), GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.795422)'))) / (select extract(epoch from '2026-07-17 04:51:15'::timestamp) - extract(epoch from '2026-07-17 04:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310457 -2.795564)'), GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.795422)'))) / (select extract(epoch from '2026-07-17 04:51:15'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.310342 -2.795279)', '2026-07-17 04:51:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.310342 -2.795279)'))) / (select extract(epoch from '2026-07-17 04:51:22'::timestamp) - extract(epoch from '2026-07-17 04:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310409 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.310342 -2.795279)'))) / (select extract(epoch from '2026-07-17 04:51:22'::timestamp) - extract(epoch from '2026-07-17 04:51: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'), 47836, 'SRID=4674;POINT (-40.310286 -2.795137)', '2026-07-17 04:51:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310342 -2.795279)'), GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.795137)'))) / (select extract(epoch from '2026-07-17 04:51:29'::timestamp) - extract(epoch from '2026-07-17 04:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310342 -2.795279)'), GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.795137)'))) / (select extract(epoch from '2026-07-17 04:51:29'::timestamp) - extract(epoch from '2026-07-17 04:51: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'), 47836, 'SRID=4674;POINT (-40.310242 -2.794961)', '2026-07-17 04:51:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.795137)'), GeomFromEWKT('SRID=4674;POINT (-40.310242 -2.794961)'))) / (select extract(epoch from '2026-07-17 04:51:37'::timestamp) - extract(epoch from '2026-07-17 04:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.795137)'), GeomFromEWKT('SRID=4674;POINT (-40.310242 -2.794961)'))) / (select extract(epoch from '2026-07-17 04:51:37'::timestamp) - extract(epoch from '2026-07-17 04:51: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'), 47836, 'SRID=4674;POINT (-40.310239 -2.794939)', '2026-07-17 04:51:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310242 -2.794961)'), GeomFromEWKT('SRID=4674;POINT (-40.310239 -2.794939)'))) / (select extract(epoch from '2026-07-17 04:51:38'::timestamp) - extract(epoch from '2026-07-17 04:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310242 -2.794961)'), GeomFromEWKT('SRID=4674;POINT (-40.310239 -2.794939)'))) / (select extract(epoch from '2026-07-17 04:51:38'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.310187 -2.794777)', '2026-07-17 04:51:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310239 -2.794939)'), GeomFromEWKT('SRID=4674;POINT (-40.310187 -2.794777)'))) / (select extract(epoch from '2026-07-17 04:51:46'::timestamp) - extract(epoch from '2026-07-17 04:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310239 -2.794939)'), GeomFromEWKT('SRID=4674;POINT (-40.310187 -2.794777)'))) / (select extract(epoch from '2026-07-17 04:51:46'::timestamp) - extract(epoch from '2026-07-17 04:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310115 -2.794609)', '2026-07-17 04:51:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310187 -2.794777)'), GeomFromEWKT('SRID=4674;POINT (-40.310115 -2.794609)'))) / (select extract(epoch from '2026-07-17 04:51:55'::timestamp) - extract(epoch from '2026-07-17 04:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310187 -2.794777)'), GeomFromEWKT('SRID=4674;POINT (-40.310115 -2.794609)'))) / (select extract(epoch from '2026-07-17 04:51:55'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.31011 -2.794595)', '2026-07-17 04:51:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310115 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.31011 -2.794595)'))) / (select extract(epoch from '2026-07-17 04:51:56'::timestamp) - extract(epoch from '2026-07-17 04:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310115 -2.794609)'), GeomFromEWKT('SRID=4674;POINT (-40.31011 -2.794595)'))) / (select extract(epoch from '2026-07-17 04:51:56'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.310086 -2.794501)', '2026-07-17 04:52:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31011 -2.794595)'), GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.794501)'))) / (select extract(epoch from '2026-07-17 04:52:05'::timestamp) - extract(epoch from '2026-07-17 04:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31011 -2.794595)'), GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.794501)'))) / (select extract(epoch from '2026-07-17 04:52:05'::timestamp) - extract(epoch from '2026-07-17 04:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310059 -2.794448)', '2026-07-17 04:52:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.310059 -2.794448)'))) / (select extract(epoch from '2026-07-17 04:52:14'::timestamp) - extract(epoch from '2026-07-17 04:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.310059 -2.794448)'))) / (select extract(epoch from '2026-07-17 04:52:14'::timestamp) - extract(epoch from '2026-07-17 04:52: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'), 47836, 'SRID=4674;POINT (-40.310051 -2.794431)', '2026-07-17 04:52:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310059 -2.794448)'), GeomFromEWKT('SRID=4674;POINT (-40.310051 -2.794431)'))) / (select extract(epoch from '2026-07-17 04:52:26'::timestamp) - extract(epoch from '2026-07-17 04:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310059 -2.794448)'), GeomFromEWKT('SRID=4674;POINT (-40.310051 -2.794431)'))) / (select extract(epoch from '2026-07-17 04:52:26'::timestamp) - extract(epoch from '2026-07-17 04:52: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'), 47836, 'SRID=4674;POINT (-40.31014 -2.794444)', '2026-07-17 04:53:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310051 -2.794431)'), GeomFromEWKT('SRID=4674;POINT (-40.31014 -2.794444)'))) / (select extract(epoch from '2026-07-17 04:53:14'::timestamp) - extract(epoch from '2026-07-17 04:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310051 -2.794431)'), GeomFromEWKT('SRID=4674;POINT (-40.31014 -2.794444)'))) / (select extract(epoch from '2026-07-17 04:53:14'::timestamp) - extract(epoch from '2026-07-17 04:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310177 -2.794479)', '2026-07-17 04:53:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31014 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.794479)'))) / (select extract(epoch from '2026-07-17 04:53:28'::timestamp) - extract(epoch from '2026-07-17 04:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31014 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.794479)'))) / (select extract(epoch from '2026-07-17 04:53:28'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47836, 'SRID=4674;POINT (-40.310246 -2.794418)', '2026-07-17 04:58:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.794479)'), GeomFromEWKT('SRID=4674;POINT (-40.310246 -2.794418)'))) / (select extract(epoch from '2026-07-17 04:58:37'::timestamp) - extract(epoch from '2026-07-17 04:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.794479)'), GeomFromEWKT('SRID=4674;POINT (-40.310246 -2.794418)'))) / (select extract(epoch from '2026-07-17 04:58:37'::timestamp) - extract(epoch from '2026-07-17 04:53: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'), 47836, 'SRID=4674;POINT (-40.310207 -2.79442)', '2026-07-17 05:06:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310246 -2.794418)'), GeomFromEWKT('SRID=4674;POINT (-40.310207 -2.79442)'))) / (select extract(epoch from '2026-07-17 05:06:31'::timestamp) - extract(epoch from '2026-07-17 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310246 -2.794418)'), GeomFromEWKT('SRID=4674;POINT (-40.310207 -2.79442)'))) / (select extract(epoch from '2026-07-17 05:06:31'::timestamp) - extract(epoch from '2026-07-17 04:58: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'), 47836, 'SRID=4674;POINT (-40.310106 -2.794433)', '2026-07-17 05:06:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310207 -2.79442)'), GeomFromEWKT('SRID=4674;POINT (-40.310106 -2.794433)'))) / (select extract(epoch from '2026-07-17 05:06:47'::timestamp) - extract(epoch from '2026-07-17 05:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310207 -2.79442)'), GeomFromEWKT('SRID=4674;POINT (-40.310106 -2.794433)'))) / (select extract(epoch from '2026-07-17 05:06:47'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47836, 'SRID=4674;POINT (-40.310047 -2.794438)', '2026-07-17 05:06:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310106 -2.794433)'), GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.794438)'))) / (select extract(epoch from '2026-07-17 05:06:59'::timestamp) - extract(epoch from '2026-07-17 05:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310106 -2.794433)'), GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.794438)'))) / (select extract(epoch from '2026-07-17 05:06:59'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47836, 'SRID=4674;POINT (-40.31007 -2.794486)', '2026-07-17 05:07:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.794438)'), GeomFromEWKT('SRID=4674;POINT (-40.31007 -2.794486)'))) / (select extract(epoch from '2026-07-17 05:07:27'::timestamp) - extract(epoch from '2026-07-17 05:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.794438)'), GeomFromEWKT('SRID=4674;POINT (-40.31007 -2.794486)'))) / (select extract(epoch from '2026-07-17 05:07:27'::timestamp) - extract(epoch from '2026-07-17 05:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310206 -2.79456)', '2026-07-17 05:07:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31007 -2.794486)'), GeomFromEWKT('SRID=4674;POINT (-40.310206 -2.79456)'))) / (select extract(epoch from '2026-07-17 05:07:38'::timestamp) - extract(epoch from '2026-07-17 05:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31007 -2.794486)'), GeomFromEWKT('SRID=4674;POINT (-40.310206 -2.79456)'))) / (select extract(epoch from '2026-07-17 05:07:38'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47836, 'SRID=4674;POINT (-40.310316 -2.794597)', '2026-07-17 05:07:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310206 -2.79456)'), GeomFromEWKT('SRID=4674;POINT (-40.310316 -2.794597)'))) / (select extract(epoch from '2026-07-17 05:07:45'::timestamp) - extract(epoch from '2026-07-17 05:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310206 -2.79456)'), GeomFromEWKT('SRID=4674;POINT (-40.310316 -2.794597)'))) / (select extract(epoch from '2026-07-17 05:07:45'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47836, 'SRID=4674;POINT (-40.310412 -2.794615)', '2026-07-17 05:07:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310316 -2.794597)'), GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.794615)'))) / (select extract(epoch from '2026-07-17 05:07:51'::timestamp) - extract(epoch from '2026-07-17 05:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310316 -2.794597)'), GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.794615)'))) / (select extract(epoch from '2026-07-17 05:07:51'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47836, 'SRID=4674;POINT (-40.310549 -2.794677)', '2026-07-17 05:08:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.794677)'))) / (select extract(epoch from '2026-07-17 05:08:00'::timestamp) - extract(epoch from '2026-07-17 05:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.794677)'))) / (select extract(epoch from '2026-07-17 05:08:00'::timestamp) - extract(epoch from '2026-07-17 05:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.310645 -2.794713)', '2026-07-17 05:08:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.310645 -2.794713)'))) / (select extract(epoch from '2026-07-17 05:08:06'::timestamp) - extract(epoch from '2026-07-17 05:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310549 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.310645 -2.794713)'))) / (select extract(epoch from '2026-07-17 05:08:06'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47836, 'SRID=4674;POINT (-40.310791 -2.794776)', '2026-07-17 05:08:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310645 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.794776)'))) / (select extract(epoch from '2026-07-17 05:08:15'::timestamp) - extract(epoch from '2026-07-17 05:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310645 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.794776)'))) / (select extract(epoch from '2026-07-17 05:08:15'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47836, 'SRID=4674;POINT (-40.310897 -2.794824)', '2026-07-17 05:08:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.794776)'), GeomFromEWKT('SRID=4674;POINT (-40.310897 -2.794824)'))) / (select extract(epoch from '2026-07-17 05:08:22'::timestamp) - extract(epoch from '2026-07-17 05:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.794776)'), GeomFromEWKT('SRID=4674;POINT (-40.310897 -2.794824)'))) / (select extract(epoch from '2026-07-17 05:08:22'::timestamp) - extract(epoch from '2026-07-17 05:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311053 -2.794858)', '2026-07-17 05:08:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310897 -2.794824)'), GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.794858)'))) / (select extract(epoch from '2026-07-17 05:08:31'::timestamp) - extract(epoch from '2026-07-17 05:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310897 -2.794824)'), GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.794858)'))) / (select extract(epoch from '2026-07-17 05:08:31'::timestamp) - extract(epoch from '2026-07-17 05:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311175 -2.794899)', '2026-07-17 05:08:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.794858)'), GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.794899)'))) / (select extract(epoch from '2026-07-17 05:08:39'::timestamp) - extract(epoch from '2026-07-17 05:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311053 -2.794858)'), GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.794899)'))) / (select extract(epoch from '2026-07-17 05:08:39'::timestamp) - extract(epoch from '2026-07-17 05:08:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311283 -2.794977)', '2026-07-17 05:08:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.794977)'))) / (select extract(epoch from '2026-07-17 05:08:47'::timestamp) - extract(epoch from '2026-07-17 05:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311175 -2.794899)'), GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.794977)'))) / (select extract(epoch from '2026-07-17 05:08:47'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47836, 'SRID=4674;POINT (-40.311412 -2.795031)', '2026-07-17 05:08:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.794977)'), GeomFromEWKT('SRID=4674;POINT (-40.311412 -2.795031)'))) / (select extract(epoch from '2026-07-17 05:08:55'::timestamp) - extract(epoch from '2026-07-17 05:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311283 -2.794977)'), GeomFromEWKT('SRID=4674;POINT (-40.311412 -2.795031)'))) / (select extract(epoch from '2026-07-17 05:08:55'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47836, 'SRID=4674;POINT (-40.311542 -2.795055)', '2026-07-17 05:09:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311412 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.311542 -2.795055)'))) / (select extract(epoch from '2026-07-17 05:09:04'::timestamp) - extract(epoch from '2026-07-17 05:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311412 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.311542 -2.795055)'))) / (select extract(epoch from '2026-07-17 05:09:04'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47836, 'SRID=4674;POINT (-40.311626 -2.795071)', '2026-07-17 05:09:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311542 -2.795055)'), GeomFromEWKT('SRID=4674;POINT (-40.311626 -2.795071)'))) / (select extract(epoch from '2026-07-17 05:09:13'::timestamp) - extract(epoch from '2026-07-17 05:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311542 -2.795055)'), GeomFromEWKT('SRID=4674;POINT (-40.311626 -2.795071)'))) / (select extract(epoch from '2026-07-17 05:09:13'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47836, 'SRID=4674;POINT (-40.311681 -2.795094)', '2026-07-17 05:09:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311626 -2.795071)'), GeomFromEWKT('SRID=4674;POINT (-40.311681 -2.795094)'))) / (select extract(epoch from '2026-07-17 05:09:23'::timestamp) - extract(epoch from '2026-07-17 05:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311626 -2.795071)'), GeomFromEWKT('SRID=4674;POINT (-40.311681 -2.795094)'))) / (select extract(epoch from '2026-07-17 05:09:23'::timestamp) - extract(epoch from '2026-07-17 05:09:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311746 -2.795132)', '2026-07-17 05:09:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311681 -2.795094)'), GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.795132)'))) / (select extract(epoch from '2026-07-17 05:09:35'::timestamp) - extract(epoch from '2026-07-17 05:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311681 -2.795094)'), GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.795132)'))) / (select extract(epoch from '2026-07-17 05:09:35'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47836, 'SRID=4674;POINT (-40.311771 -2.79515)', '2026-07-17 05:09:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.795132)'), GeomFromEWKT('SRID=4674;POINT (-40.311771 -2.79515)'))) / (select extract(epoch from '2026-07-17 05:09:48'::timestamp) - extract(epoch from '2026-07-17 05:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311746 -2.795132)'), GeomFromEWKT('SRID=4674;POINT (-40.311771 -2.79515)'))) / (select extract(epoch from '2026-07-17 05:09:48'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47836, 'SRID=4674;POINT (-40.311842 -2.795078)', '2026-07-17 05:12:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311771 -2.79515)'), GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.795078)'))) / (select extract(epoch from '2026-07-17 05:12:13'::timestamp) - extract(epoch from '2026-07-17 05:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311771 -2.79515)'), GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.795078)'))) / (select extract(epoch from '2026-07-17 05:12:13'::timestamp) - extract(epoch from '2026-07-17 05:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311847 -2.794991)', '2026-07-17 05:30:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.795078)'), GeomFromEWKT('SRID=4674;POINT (-40.311847 -2.794991)'))) / (select extract(epoch from '2026-07-17 05:30:35'::timestamp) - extract(epoch from '2026-07-17 05:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311842 -2.795078)'), GeomFromEWKT('SRID=4674;POINT (-40.311847 -2.794991)'))) / (select extract(epoch from '2026-07-17 05:30:35'::timestamp) - extract(epoch from '2026-07-17 05:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311805 -2.794988)', '2026-07-17 05:52:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311847 -2.794991)'), GeomFromEWKT('SRID=4674;POINT (-40.311805 -2.794988)'))) / (select extract(epoch from '2026-07-17 05:52:22'::timestamp) - extract(epoch from '2026-07-17 05:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311847 -2.794991)'), GeomFromEWKT('SRID=4674;POINT (-40.311805 -2.794988)'))) / (select extract(epoch from '2026-07-17 05:52:22'::timestamp) - extract(epoch from '2026-07-17 05:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311711 -2.795035)', '2026-07-17 05:52:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311805 -2.794988)'), GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.795035)'))) / (select extract(epoch from '2026-07-17 05:52:32'::timestamp) - extract(epoch from '2026-07-17 05:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311805 -2.794988)'), GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.795035)'))) / (select extract(epoch from '2026-07-17 05:52:32'::timestamp) - extract(epoch from '2026-07-17 05:52: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'), 47836, 'SRID=4674;POINT (-40.31167 -2.795072)', '2026-07-17 05:52:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.795035)'), GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.795072)'))) / (select extract(epoch from '2026-07-17 05:52:41'::timestamp) - extract(epoch from '2026-07-17 05:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311711 -2.795035)'), GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.795072)'))) / (select extract(epoch from '2026-07-17 05:52:41'::timestamp) - extract(epoch from '2026-07-17 05:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.311659 -2.795099)', '2026-07-17 05:52:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.311659 -2.795099)'))) / (select extract(epoch from '2026-07-17 05:52:51'::timestamp) - extract(epoch from '2026-07-17 05:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31167 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.311659 -2.795099)'))) / (select extract(epoch from '2026-07-17 05:52:51'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.311664 -2.795196)', '2026-07-17 05:52:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311659 -2.795099)'), GeomFromEWKT('SRID=4674;POINT (-40.311664 -2.795196)'))) / (select extract(epoch from '2026-07-17 05:52:58'::timestamp) - extract(epoch from '2026-07-17 05:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311659 -2.795099)'), GeomFromEWKT('SRID=4674;POINT (-40.311664 -2.795196)'))) / (select extract(epoch from '2026-07-17 05:52:58'::timestamp) - extract(epoch from '2026-07-17 05:52: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'), 47836, 'SRID=4674;POINT (-40.311731 -2.795297)', '2026-07-17 05:53:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311664 -2.795196)'), GeomFromEWKT('SRID=4674;POINT (-40.311731 -2.795297)'))) / (select extract(epoch from '2026-07-17 05:53:04'::timestamp) - extract(epoch from '2026-07-17 05:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311664 -2.795196)'), GeomFromEWKT('SRID=4674;POINT (-40.311731 -2.795297)'))) / (select extract(epoch from '2026-07-17 05:53:04'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.31187 -2.795403)', '2026-07-17 05:53:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311731 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.31187 -2.795403)'))) / (select extract(epoch from '2026-07-17 05:53:11'::timestamp) - extract(epoch from '2026-07-17 05:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311731 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.31187 -2.795403)'))) / (select extract(epoch from '2026-07-17 05:53:11'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.312001 -2.795541)', '2026-07-17 05:53:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31187 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.312001 -2.795541)'))) / (select extract(epoch from '2026-07-17 05:53:18'::timestamp) - extract(epoch from '2026-07-17 05:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31187 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.312001 -2.795541)'))) / (select extract(epoch from '2026-07-17 05:53:18'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.312017 -2.795557)', '2026-07-17 05:53:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312001 -2.795541)'), GeomFromEWKT('SRID=4674;POINT (-40.312017 -2.795557)'))) / (select extract(epoch from '2026-07-17 05:53:19'::timestamp) - extract(epoch from '2026-07-17 05:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312001 -2.795541)'), GeomFromEWKT('SRID=4674;POINT (-40.312017 -2.795557)'))) / (select extract(epoch from '2026-07-17 05:53:19'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.312149 -2.795683)', '2026-07-17 05:53:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312017 -2.795557)'), GeomFromEWKT('SRID=4674;POINT (-40.312149 -2.795683)'))) / (select extract(epoch from '2026-07-17 05:53:25'::timestamp) - extract(epoch from '2026-07-17 05:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312017 -2.795557)'), GeomFromEWKT('SRID=4674;POINT (-40.312149 -2.795683)'))) / (select extract(epoch from '2026-07-17 05:53:25'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.312234 -2.795755)', '2026-07-17 05:53:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312149 -2.795683)'), GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.795755)'))) / (select extract(epoch from '2026-07-17 05:53:30'::timestamp) - extract(epoch from '2026-07-17 05:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312149 -2.795683)'), GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.795755)'))) / (select extract(epoch from '2026-07-17 05:53:30'::timestamp) - extract(epoch from '2026-07-17 05:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312352 -2.795898)', '2026-07-17 05:53:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.795755)'), GeomFromEWKT('SRID=4674;POINT (-40.312352 -2.795898)'))) / (select extract(epoch from '2026-07-17 05:53:37'::timestamp) - extract(epoch from '2026-07-17 05:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312234 -2.795755)'), GeomFromEWKT('SRID=4674;POINT (-40.312352 -2.795898)'))) / (select extract(epoch from '2026-07-17 05:53:37'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.312482 -2.796038)', '2026-07-17 05:53:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312352 -2.795898)'), GeomFromEWKT('SRID=4674;POINT (-40.312482 -2.796038)'))) / (select extract(epoch from '2026-07-17 05:53:45'::timestamp) - extract(epoch from '2026-07-17 05:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312352 -2.795898)'), GeomFromEWKT('SRID=4674;POINT (-40.312482 -2.796038)'))) / (select extract(epoch from '2026-07-17 05:53:45'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.312641 -2.796126)', '2026-07-17 05:53:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312482 -2.796038)'), GeomFromEWKT('SRID=4674;POINT (-40.312641 -2.796126)'))) / (select extract(epoch from '2026-07-17 05:53:52'::timestamp) - extract(epoch from '2026-07-17 05:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312482 -2.796038)'), GeomFromEWKT('SRID=4674;POINT (-40.312641 -2.796126)'))) / (select extract(epoch from '2026-07-17 05:53:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.312662 -2.796134)', '2026-07-17 05:53:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312641 -2.796126)'), GeomFromEWKT('SRID=4674;POINT (-40.312662 -2.796134)'))) / (select extract(epoch from '2026-07-17 05:53:53'::timestamp) - extract(epoch from '2026-07-17 05:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312641 -2.796126)'), GeomFromEWKT('SRID=4674;POINT (-40.312662 -2.796134)'))) / (select extract(epoch from '2026-07-17 05:53:53'::timestamp) - extract(epoch from '2026-07-17 05:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.312792 -2.796217)', '2026-07-17 05:53:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312662 -2.796134)'), GeomFromEWKT('SRID=4674;POINT (-40.312792 -2.796217)'))) / (select extract(epoch from '2026-07-17 05:53:59'::timestamp) - extract(epoch from '2026-07-17 05:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312662 -2.796134)'), GeomFromEWKT('SRID=4674;POINT (-40.312792 -2.796217)'))) / (select extract(epoch from '2026-07-17 05:53:59'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.312948 -2.796336)', '2026-07-17 05:54:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312792 -2.796217)'), GeomFromEWKT('SRID=4674;POINT (-40.312948 -2.796336)'))) / (select extract(epoch from '2026-07-17 05:54:06'::timestamp) - extract(epoch from '2026-07-17 05:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312792 -2.796217)'), GeomFromEWKT('SRID=4674;POINT (-40.312948 -2.796336)'))) / (select extract(epoch from '2026-07-17 05:54:06'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47836, 'SRID=4674;POINT (-40.31307 -2.796451)', '2026-07-17 05:54:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312948 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.31307 -2.796451)'))) / (select extract(epoch from '2026-07-17 05:54:12'::timestamp) - extract(epoch from '2026-07-17 05:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312948 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.31307 -2.796451)'))) / (select extract(epoch from '2026-07-17 05:54:12'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.313161 -2.796528)', '2026-07-17 05:54:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31307 -2.796451)'), GeomFromEWKT('SRID=4674;POINT (-40.313161 -2.796528)'))) / (select extract(epoch from '2026-07-17 05:54:17'::timestamp) - extract(epoch from '2026-07-17 05:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31307 -2.796451)'), GeomFromEWKT('SRID=4674;POINT (-40.313161 -2.796528)'))) / (select extract(epoch from '2026-07-17 05:54:17'::timestamp) - extract(epoch from '2026-07-17 05:54:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.31329 -2.796587)', '2026-07-17 05:54:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313161 -2.796528)'), GeomFromEWKT('SRID=4674;POINT (-40.31329 -2.796587)'))) / (select extract(epoch from '2026-07-17 05:54:22'::timestamp) - extract(epoch from '2026-07-17 05:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313161 -2.796528)'), GeomFromEWKT('SRID=4674;POINT (-40.31329 -2.796587)'))) / (select extract(epoch from '2026-07-17 05:54:22'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.313413 -2.796663)', '2026-07-17 05:54:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31329 -2.796587)'), GeomFromEWKT('SRID=4674;POINT (-40.313413 -2.796663)'))) / (select extract(epoch from '2026-07-17 05:54:28'::timestamp) - extract(epoch from '2026-07-17 05:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31329 -2.796587)'), GeomFromEWKT('SRID=4674;POINT (-40.313413 -2.796663)'))) / (select extract(epoch from '2026-07-17 05:54:28'::timestamp) - extract(epoch from '2026-07-17 05:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313545 -2.79678)', '2026-07-17 05:54:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313413 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.313545 -2.79678)'))) / (select extract(epoch from '2026-07-17 05:54:35'::timestamp) - extract(epoch from '2026-07-17 05:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313413 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.313545 -2.79678)'))) / (select extract(epoch from '2026-07-17 05:54:35'::timestamp) - extract(epoch from '2026-07-17 05:54: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'), 47836, 'SRID=4674;POINT (-40.31367 -2.796912)', '2026-07-17 05:54:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313545 -2.79678)'), GeomFromEWKT('SRID=4674;POINT (-40.31367 -2.796912)'))) / (select extract(epoch from '2026-07-17 05:54:42'::timestamp) - extract(epoch from '2026-07-17 05:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313545 -2.79678)'), GeomFromEWKT('SRID=4674;POINT (-40.31367 -2.796912)'))) / (select extract(epoch from '2026-07-17 05:54:42'::timestamp) - extract(epoch from '2026-07-17 05:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313686 -2.796931)', '2026-07-17 05:54:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31367 -2.796912)'), GeomFromEWKT('SRID=4674;POINT (-40.313686 -2.796931)'))) / (select extract(epoch from '2026-07-17 05:54:43'::timestamp) - extract(epoch from '2026-07-17 05:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31367 -2.796912)'), GeomFromEWKT('SRID=4674;POINT (-40.313686 -2.796931)'))) / (select extract(epoch from '2026-07-17 05:54:43'::timestamp) - extract(epoch from '2026-07-17 05:54: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'), 47836, 'SRID=4674;POINT (-40.313813 -2.797064)', '2026-07-17 05:54:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313686 -2.796931)'), GeomFromEWKT('SRID=4674;POINT (-40.313813 -2.797064)'))) / (select extract(epoch from '2026-07-17 05:54:50'::timestamp) - extract(epoch from '2026-07-17 05:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313686 -2.796931)'), GeomFromEWKT('SRID=4674;POINT (-40.313813 -2.797064)'))) / (select extract(epoch from '2026-07-17 05:54:50'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.313829 -2.797086)', '2026-07-17 05:54:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313813 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.313829 -2.797086)'))) / (select extract(epoch from '2026-07-17 05:54:51'::timestamp) - extract(epoch from '2026-07-17 05:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313813 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.313829 -2.797086)'))) / (select extract(epoch from '2026-07-17 05:54:51'::timestamp) - extract(epoch from '2026-07-17 05:54: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'), 47836, 'SRID=4674;POINT (-40.313949 -2.797253)', '2026-07-17 05:54:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313829 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.313949 -2.797253)'))) / (select extract(epoch from '2026-07-17 05:54:59'::timestamp) - extract(epoch from '2026-07-17 05:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313829 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.313949 -2.797253)'))) / (select extract(epoch from '2026-07-17 05:54:59'::timestamp) - extract(epoch from '2026-07-17 05:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314058 -2.797354)', '2026-07-17 05:55:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313949 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.314058 -2.797354)'))) / (select extract(epoch from '2026-07-17 05:55:05'::timestamp) - extract(epoch from '2026-07-17 05:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313949 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.314058 -2.797354)'))) / (select extract(epoch from '2026-07-17 05:55:05'::timestamp) - extract(epoch from '2026-07-17 05:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314172 -2.797484)', '2026-07-17 05:55:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314058 -2.797354)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.797484)'))) / (select extract(epoch from '2026-07-17 05:55:12'::timestamp) - extract(epoch from '2026-07-17 05:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314058 -2.797354)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.797484)'))) / (select extract(epoch from '2026-07-17 05:55:12'::timestamp) - extract(epoch from '2026-07-17 05:55: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'), 47836, 'SRID=4674;POINT (-40.314283 -2.797637)', '2026-07-17 05:55:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.797637)'))) / (select extract(epoch from '2026-07-17 05:55:19'::timestamp) - extract(epoch from '2026-07-17 05:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.797637)'))) / (select extract(epoch from '2026-07-17 05:55:19'::timestamp) - extract(epoch from '2026-07-17 05:55: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'), 47836, 'SRID=4674;POINT (-40.314396 -2.797778)', '2026-07-17 05:55:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.314396 -2.797778)'))) / (select extract(epoch from '2026-07-17 05:55:26'::timestamp) - extract(epoch from '2026-07-17 05:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314283 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.314396 -2.797778)'))) / (select extract(epoch from '2026-07-17 05:55:26'::timestamp) - extract(epoch from '2026-07-17 05:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314415 -2.797795)', '2026-07-17 05:55:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314396 -2.797778)'), GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.797795)'))) / (select extract(epoch from '2026-07-17 05:55:27'::timestamp) - extract(epoch from '2026-07-17 05:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314396 -2.797778)'), GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.797795)'))) / (select extract(epoch from '2026-07-17 05:55:27'::timestamp) - extract(epoch from '2026-07-17 05:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314543 -2.797894)', '2026-07-17 05:55:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.797795)'), GeomFromEWKT('SRID=4674;POINT (-40.314543 -2.797894)'))) / (select extract(epoch from '2026-07-17 05:55:35'::timestamp) - extract(epoch from '2026-07-17 05:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.797795)'), GeomFromEWKT('SRID=4674;POINT (-40.314543 -2.797894)'))) / (select extract(epoch from '2026-07-17 05:55:35'::timestamp) - extract(epoch from '2026-07-17 05:55:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314638 -2.79798)', '2026-07-17 05:55:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314543 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.314638 -2.79798)'))) / (select extract(epoch from '2026-07-17 05:55:43'::timestamp) - extract(epoch from '2026-07-17 05:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314543 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.314638 -2.79798)'))) / (select extract(epoch from '2026-07-17 05:55:43'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.314746 -2.798069)', '2026-07-17 05:55:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314638 -2.79798)'), GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.798069)'))) / (select extract(epoch from '2026-07-17 05:55:53'::timestamp) - extract(epoch from '2026-07-17 05:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314638 -2.79798)'), GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.798069)'))) / (select extract(epoch from '2026-07-17 05:55:53'::timestamp) - extract(epoch from '2026-07-17 05:55:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314808 -2.798118)', '2026-07-17 05:55:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.798069)'), GeomFromEWKT('SRID=4674;POINT (-40.314808 -2.798118)'))) / (select extract(epoch from '2026-07-17 05:55:59'::timestamp) - extract(epoch from '2026-07-17 05:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314746 -2.798069)'), GeomFromEWKT('SRID=4674;POINT (-40.314808 -2.798118)'))) / (select extract(epoch from '2026-07-17 05:55:59'::timestamp) - extract(epoch from '2026-07-17 05:55: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'), 47836, 'SRID=4674;POINT (-40.314875 -2.798174)', '2026-07-17 05:56:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314808 -2.798118)'), GeomFromEWKT('SRID=4674;POINT (-40.314875 -2.798174)'))) / (select extract(epoch from '2026-07-17 05:56:05'::timestamp) - extract(epoch from '2026-07-17 05:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314808 -2.798118)'), GeomFromEWKT('SRID=4674;POINT (-40.314875 -2.798174)'))) / (select extract(epoch from '2026-07-17 05:56:05'::timestamp) - extract(epoch from '2026-07-17 05:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314987 -2.798258)', '2026-07-17 05:56:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314875 -2.798174)'), GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.798258)'))) / (select extract(epoch from '2026-07-17 05:56:15'::timestamp) - extract(epoch from '2026-07-17 05:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314875 -2.798174)'), GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.798258)'))) / (select extract(epoch from '2026-07-17 05:56:15'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47836, 'SRID=4674;POINT (-40.315084 -2.798332)', '2026-07-17 05:56:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.798258)'), GeomFromEWKT('SRID=4674;POINT (-40.315084 -2.798332)'))) / (select extract(epoch from '2026-07-17 05:56:23'::timestamp) - extract(epoch from '2026-07-17 05:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314987 -2.798258)'), GeomFromEWKT('SRID=4674;POINT (-40.315084 -2.798332)'))) / (select extract(epoch from '2026-07-17 05:56:23'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47836, 'SRID=4674;POINT (-40.315181 -2.798392)', '2026-07-17 05:56:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315084 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.315181 -2.798392)'))) / (select extract(epoch from '2026-07-17 05:56:31'::timestamp) - extract(epoch from '2026-07-17 05:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315084 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.315181 -2.798392)'))) / (select extract(epoch from '2026-07-17 05:56:31'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47836, 'SRID=4674;POINT (-40.315264 -2.798462)', '2026-07-17 05:56:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315181 -2.798392)'), GeomFromEWKT('SRID=4674;POINT (-40.315264 -2.798462)'))) / (select extract(epoch from '2026-07-17 05:56:40'::timestamp) - extract(epoch from '2026-07-17 05:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315181 -2.798392)'), GeomFromEWKT('SRID=4674;POINT (-40.315264 -2.798462)'))) / (select extract(epoch from '2026-07-17 05:56:40'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47836, 'SRID=4674;POINT (-40.31531 -2.798528)', '2026-07-17 05:56:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315264 -2.798462)'), GeomFromEWKT('SRID=4674;POINT (-40.31531 -2.798528)'))) / (select extract(epoch from '2026-07-17 05:56:46'::timestamp) - extract(epoch from '2026-07-17 05:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315264 -2.798462)'), GeomFromEWKT('SRID=4674;POINT (-40.31531 -2.798528)'))) / (select extract(epoch from '2026-07-17 05:56:46'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47836, 'SRID=4674;POINT (-40.315381 -2.798625)', '2026-07-17 05:56:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31531 -2.798528)'), GeomFromEWKT('SRID=4674;POINT (-40.315381 -2.798625)'))) / (select extract(epoch from '2026-07-17 05:56:55'::timestamp) - extract(epoch from '2026-07-17 05:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31531 -2.798528)'), GeomFromEWKT('SRID=4674;POINT (-40.315381 -2.798625)'))) / (select extract(epoch from '2026-07-17 05:56:55'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.31546 -2.798712)', '2026-07-17 05:57:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315381 -2.798625)'), GeomFromEWKT('SRID=4674;POINT (-40.31546 -2.798712)'))) / (select extract(epoch from '2026-07-17 05:57:03'::timestamp) - extract(epoch from '2026-07-17 05:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315381 -2.798625)'), GeomFromEWKT('SRID=4674;POINT (-40.31546 -2.798712)'))) / (select extract(epoch from '2026-07-17 05:57:03'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47836, 'SRID=4674;POINT (-40.315521 -2.798788)', '2026-07-17 05:57:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31546 -2.798712)'), GeomFromEWKT('SRID=4674;POINT (-40.315521 -2.798788)'))) / (select extract(epoch from '2026-07-17 05:57:10'::timestamp) - extract(epoch from '2026-07-17 05:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31546 -2.798712)'), GeomFromEWKT('SRID=4674;POINT (-40.315521 -2.798788)'))) / (select extract(epoch from '2026-07-17 05:57:10'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47836, 'SRID=4674;POINT (-40.315575 -2.798882)', '2026-07-17 05:57:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315521 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.315575 -2.798882)'))) / (select extract(epoch from '2026-07-17 05:57:18'::timestamp) - extract(epoch from '2026-07-17 05:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315521 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.315575 -2.798882)'))) / (select extract(epoch from '2026-07-17 05:57:18'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47836, 'SRID=4674;POINT (-40.31564 -2.798981)', '2026-07-17 05:57:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315575 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-40.31564 -2.798981)'))) / (select extract(epoch from '2026-07-17 05:57:27'::timestamp) - extract(epoch from '2026-07-17 05:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315575 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-40.31564 -2.798981)'))) / (select extract(epoch from '2026-07-17 05:57:27'::timestamp) - extract(epoch from '2026-07-17 05:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315729 -2.7991)', '2026-07-17 05:57:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31564 -2.798981)'), GeomFromEWKT('SRID=4674;POINT (-40.315729 -2.7991)'))) / (select extract(epoch from '2026-07-17 05:57:38'::timestamp) - extract(epoch from '2026-07-17 05:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31564 -2.798981)'), GeomFromEWKT('SRID=4674;POINT (-40.315729 -2.7991)'))) / (select extract(epoch from '2026-07-17 05:57:38'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47836, 'SRID=4674;POINT (-40.315769 -2.799182)', '2026-07-17 05:57:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315729 -2.7991)'), GeomFromEWKT('SRID=4674;POINT (-40.315769 -2.799182)'))) / (select extract(epoch from '2026-07-17 05:57:45'::timestamp) - extract(epoch from '2026-07-17 05:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315729 -2.7991)'), GeomFromEWKT('SRID=4674;POINT (-40.315769 -2.799182)'))) / (select extract(epoch from '2026-07-17 05:57:45'::timestamp) - extract(epoch from '2026-07-17 05:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315814 -2.799302)', '2026-07-17 05:57:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315769 -2.799182)'), GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799302)'))) / (select extract(epoch from '2026-07-17 05:57:55'::timestamp) - extract(epoch from '2026-07-17 05:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315769 -2.799182)'), GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799302)'))) / (select extract(epoch from '2026-07-17 05:57:55'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47836, 'SRID=4674;POINT (-40.315856 -2.7994)', '2026-07-17 05:58:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799302)'), GeomFromEWKT('SRID=4674;POINT (-40.315856 -2.7994)'))) / (select extract(epoch from '2026-07-17 05:58:03'::timestamp) - extract(epoch from '2026-07-17 05:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315814 -2.799302)'), GeomFromEWKT('SRID=4674;POINT (-40.315856 -2.7994)'))) / (select extract(epoch from '2026-07-17 05:58:03'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47836, 'SRID=4674;POINT (-40.3159 -2.799507)', '2026-07-17 05:58:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315856 -2.7994)'), GeomFromEWKT('SRID=4674;POINT (-40.3159 -2.799507)'))) / (select extract(epoch from '2026-07-17 05:58:11'::timestamp) - extract(epoch from '2026-07-17 05:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315856 -2.7994)'), GeomFromEWKT('SRID=4674;POINT (-40.3159 -2.799507)'))) / (select extract(epoch from '2026-07-17 05:58:11'::timestamp) - extract(epoch from '2026-07-17 05:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315907 -2.799656)', '2026-07-17 05:58:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3159 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.315907 -2.799656)'))) / (select extract(epoch from '2026-07-17 05:58:18'::timestamp) - extract(epoch from '2026-07-17 05:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3159 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.315907 -2.799656)'))) / (select extract(epoch from '2026-07-17 05:58:18'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47836, 'SRID=4674;POINT (-40.315916 -2.799844)', '2026-07-17 05:58:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315907 -2.799656)'), GeomFromEWKT('SRID=4674;POINT (-40.315916 -2.799844)'))) / (select extract(epoch from '2026-07-17 05:58:26'::timestamp) - extract(epoch from '2026-07-17 05:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315907 -2.799656)'), GeomFromEWKT('SRID=4674;POINT (-40.315916 -2.799844)'))) / (select extract(epoch from '2026-07-17 05:58:26'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.315923 -2.800037)', '2026-07-17 05:58:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315916 -2.799844)'), GeomFromEWKT('SRID=4674;POINT (-40.315923 -2.800037)'))) / (select extract(epoch from '2026-07-17 05:58:34'::timestamp) - extract(epoch from '2026-07-17 05:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315916 -2.799844)'), GeomFromEWKT('SRID=4674;POINT (-40.315923 -2.800037)'))) / (select extract(epoch from '2026-07-17 05:58:34'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.315932 -2.800066)', '2026-07-17 05:58:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315923 -2.800037)'), GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.800066)'))) / (select extract(epoch from '2026-07-17 05:58:35'::timestamp) - extract(epoch from '2026-07-17 05:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315923 -2.800037)'), GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.800066)'))) / (select extract(epoch from '2026-07-17 05:58:35'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.315958 -2.800177)', '2026-07-17 05:58:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.315958 -2.800177)'))) / (select extract(epoch from '2026-07-17 05:58:40'::timestamp) - extract(epoch from '2026-07-17 05:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315932 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.315958 -2.800177)'))) / (select extract(epoch from '2026-07-17 05:58:40'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47836, 'SRID=4674;POINT (-40.315977 -2.800299)', '2026-07-17 05:58:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315958 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.315977 -2.800299)'))) / (select extract(epoch from '2026-07-17 05:58:45'::timestamp) - extract(epoch from '2026-07-17 05:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315958 -2.800177)'), GeomFromEWKT('SRID=4674;POINT (-40.315977 -2.800299)'))) / (select extract(epoch from '2026-07-17 05:58:45'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47836, 'SRID=4674;POINT (-40.316004 -2.800463)', '2026-07-17 05:58:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315977 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.316004 -2.800463)'))) / (select extract(epoch from '2026-07-17 05:58:52'::timestamp) - extract(epoch from '2026-07-17 05:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315977 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.316004 -2.800463)'))) / (select extract(epoch from '2026-07-17 05:58:52'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47836, 'SRID=4674;POINT (-40.31602 -2.800634)', '2026-07-17 05:58:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316004 -2.800463)'), GeomFromEWKT('SRID=4674;POINT (-40.31602 -2.800634)'))) / (select extract(epoch from '2026-07-17 05:58:59'::timestamp) - extract(epoch from '2026-07-17 05:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316004 -2.800463)'), GeomFromEWKT('SRID=4674;POINT (-40.31602 -2.800634)'))) / (select extract(epoch from '2026-07-17 05:58:59'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.316045 -2.800802)', '2026-07-17 05:59:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31602 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.316045 -2.800802)'))) / (select extract(epoch from '2026-07-17 05:59:06'::timestamp) - extract(epoch from '2026-07-17 05:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31602 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.316045 -2.800802)'))) / (select extract(epoch from '2026-07-17 05:59:06'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47836, 'SRID=4674;POINT (-40.316079 -2.80094)', '2026-07-17 05:59:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316045 -2.800802)'), GeomFromEWKT('SRID=4674;POINT (-40.316079 -2.80094)'))) / (select extract(epoch from '2026-07-17 05:59:12'::timestamp) - extract(epoch from '2026-07-17 05:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316045 -2.800802)'), GeomFromEWKT('SRID=4674;POINT (-40.316079 -2.80094)'))) / (select extract(epoch from '2026-07-17 05:59:12'::timestamp) - extract(epoch from '2026-07-17 05:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.316108 -2.801089)', '2026-07-17 05:59:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316079 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.316108 -2.801089)'))) / (select extract(epoch from '2026-07-17 05:59:18'::timestamp) - extract(epoch from '2026-07-17 05:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316079 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.316108 -2.801089)'))) / (select extract(epoch from '2026-07-17 05:59:18'::timestamp) - extract(epoch from '2026-07-17 05:59: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'), 47836, 'SRID=4674;POINT (-40.316138 -2.801279)', '2026-07-17 05:59:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316108 -2.801089)'), GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.801279)'))) / (select extract(epoch from '2026-07-17 05:59:26'::timestamp) - extract(epoch from '2026-07-17 05:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316108 -2.801089)'), GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.801279)'))) / (select extract(epoch from '2026-07-17 05:59:26'::timestamp) - extract(epoch from '2026-07-17 05:59: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'), 47836, 'SRID=4674;POINT (-40.316157 -2.801476)', '2026-07-17 05:59:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.801279)'), GeomFromEWKT('SRID=4674;POINT (-40.316157 -2.801476)'))) / (select extract(epoch from '2026-07-17 05:59:34'::timestamp) - extract(epoch from '2026-07-17 05:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316138 -2.801279)'), GeomFromEWKT('SRID=4674;POINT (-40.316157 -2.801476)'))) / (select extract(epoch from '2026-07-17 05:59:34'::timestamp) - extract(epoch from '2026-07-17 05:59: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'), 47836, 'SRID=4674;POINT (-40.316158 -2.801623)', '2026-07-17 05:59:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316157 -2.801476)'), GeomFromEWKT('SRID=4674;POINT (-40.316158 -2.801623)'))) / (select extract(epoch from '2026-07-17 05:59:40'::timestamp) - extract(epoch from '2026-07-17 05:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316157 -2.801476)'), GeomFromEWKT('SRID=4674;POINT (-40.316158 -2.801623)'))) / (select extract(epoch from '2026-07-17 05:59:40'::timestamp) - extract(epoch from '2026-07-17 05:59: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'), 47836, 'SRID=4674;POINT (-40.316179 -2.801807)', '2026-07-17 05:59:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316158 -2.801623)'), GeomFromEWKT('SRID=4674;POINT (-40.316179 -2.801807)'))) / (select extract(epoch from '2026-07-17 05:59:47'::timestamp) - extract(epoch from '2026-07-17 05:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316158 -2.801623)'), GeomFromEWKT('SRID=4674;POINT (-40.316179 -2.801807)'))) / (select extract(epoch from '2026-07-17 05:59:47'::timestamp) - extract(epoch from '2026-07-17 05:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.316168 -2.80196)', '2026-07-17 05:59:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316179 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.316168 -2.80196)'))) / (select extract(epoch from '2026-07-17 05:59:54'::timestamp) - extract(epoch from '2026-07-17 05:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316179 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.316168 -2.80196)'))) / (select extract(epoch from '2026-07-17 05:59:54'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.316147 -2.802115)', '2026-07-17 06:00:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316168 -2.80196)'), GeomFromEWKT('SRID=4674;POINT (-40.316147 -2.802115)'))) / (select extract(epoch from '2026-07-17 06:00:01'::timestamp) - extract(epoch from '2026-07-17 05:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316168 -2.80196)'), GeomFromEWKT('SRID=4674;POINT (-40.316147 -2.802115)'))) / (select extract(epoch from '2026-07-17 06:00:01'::timestamp) - extract(epoch from '2026-07-17 05:59: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'), 47836, 'SRID=4674;POINT (-40.316169 -2.802246)', '2026-07-17 06:00:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316147 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.802246)'))) / (select extract(epoch from '2026-07-17 06:00:09'::timestamp) - extract(epoch from '2026-07-17 06:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316147 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.802246)'))) / (select extract(epoch from '2026-07-17 06:00:09'::timestamp) - extract(epoch from '2026-07-17 06:00: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'), 47836, 'SRID=4674;POINT (-40.316166 -2.802359)', '2026-07-17 06:00:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.802246)'), GeomFromEWKT('SRID=4674;POINT (-40.316166 -2.802359)'))) / (select extract(epoch from '2026-07-17 06:00:17'::timestamp) - extract(epoch from '2026-07-17 06:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.802246)'), GeomFromEWKT('SRID=4674;POINT (-40.316166 -2.802359)'))) / (select extract(epoch from '2026-07-17 06:00:17'::timestamp) - extract(epoch from '2026-07-17 06:00: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'), 47836, 'SRID=4674;POINT (-40.316137 -2.802502)', '2026-07-17 06:00:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316166 -2.802359)'), GeomFromEWKT('SRID=4674;POINT (-40.316137 -2.802502)'))) / (select extract(epoch from '2026-07-17 06:00:28'::timestamp) - extract(epoch from '2026-07-17 06:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316166 -2.802359)'), GeomFromEWKT('SRID=4674;POINT (-40.316137 -2.802502)'))) / (select extract(epoch from '2026-07-17 06:00:28'::timestamp) - extract(epoch from '2026-07-17 06:00: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'), 47836, 'SRID=4674;POINT (-40.316119 -2.802624)', '2026-07-17 06:00:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316137 -2.802502)'), GeomFromEWKT('SRID=4674;POINT (-40.316119 -2.802624)'))) / (select extract(epoch from '2026-07-17 06:00:37'::timestamp) - extract(epoch from '2026-07-17 06:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316137 -2.802502)'), GeomFromEWKT('SRID=4674;POINT (-40.316119 -2.802624)'))) / (select extract(epoch from '2026-07-17 06:00:37'::timestamp) - extract(epoch from '2026-07-17 06:00: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'), 47836, 'SRID=4674;POINT (-40.316118 -2.802737)', '2026-07-17 06:00:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316119 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.316118 -2.802737)'))) / (select extract(epoch from '2026-07-17 06:00:49'::timestamp) - extract(epoch from '2026-07-17 06:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316119 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.316118 -2.802737)'))) / (select extract(epoch from '2026-07-17 06:00:49'::timestamp) - extract(epoch from '2026-07-17 06:00: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'), 47836, 'SRID=4674;POINT (-40.316112 -2.802789)', '2026-07-17 06:01:02', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316118 -2.802737)'), GeomFromEWKT('SRID=4674;POINT (-40.316112 -2.802789)'))) / (select extract(epoch from '2026-07-17 06:01:02'::timestamp) - extract(epoch from '2026-07-17 06:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316118 -2.802737)'), GeomFromEWKT('SRID=4674;POINT (-40.316112 -2.802789)'))) / (select extract(epoch from '2026-07-17 06:01:02'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.316083 -2.802788)', '2026-07-17 06:02:09', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316112 -2.802789)'), GeomFromEWKT('SRID=4674;POINT (-40.316083 -2.802788)'))) / (select extract(epoch from '2026-07-17 06:02:09'::timestamp) - extract(epoch from '2026-07-17 06:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316112 -2.802789)'), GeomFromEWKT('SRID=4674;POINT (-40.316083 -2.802788)'))) / (select extract(epoch from '2026-07-17 06:02:09'::timestamp) - extract(epoch from '2026-07-17 06:01: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'), 47836, 'SRID=4674;POINT (-40.316016 -2.802743)', '2026-07-17 06:02:24', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316083 -2.802788)'), GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802743)'))) / (select extract(epoch from '2026-07-17 06:02:24'::timestamp) - extract(epoch from '2026-07-17 06:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316083 -2.802788)'), GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802743)'))) / (select extract(epoch from '2026-07-17 06:02:24'::timestamp) - extract(epoch from '2026-07-17 06:02: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'), 47836, 'SRID=4674;POINT (-40.315981 -2.802738)', '2026-07-17 06:02:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802743)'), GeomFromEWKT('SRID=4674;POINT (-40.315981 -2.802738)'))) / (select extract(epoch from '2026-07-17 06:02:33'::timestamp) - extract(epoch from '2026-07-17 06:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316016 -2.802743)'), GeomFromEWKT('SRID=4674;POINT (-40.315981 -2.802738)'))) / (select extract(epoch from '2026-07-17 06:02:33'::timestamp) - extract(epoch from '2026-07-17 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'), 47836, 'SRID=4674;POINT (-40.315904 -2.802723)', '2026-07-17 06:02:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315981 -2.802738)'), GeomFromEWKT('SRID=4674;POINT (-40.315904 -2.802723)'))) / (select extract(epoch from '2026-07-17 06:02:51'::timestamp) - extract(epoch from '2026-07-17 06:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315981 -2.802738)'), GeomFromEWKT('SRID=4674;POINT (-40.315904 -2.802723)'))) / (select extract(epoch from '2026-07-17 06:02:51'::timestamp) - extract(epoch from '2026-07-17 06:02: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'), 47836, 'SRID=4674;POINT (-40.315828 -2.802712)', '2026-07-17 06:03:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315904 -2.802723)'), GeomFromEWKT('SRID=4674;POINT (-40.315828 -2.802712)'))) / (select extract(epoch from '2026-07-17 06:03:07'::timestamp) - extract(epoch from '2026-07-17 06:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315904 -2.802723)'), GeomFromEWKT('SRID=4674;POINT (-40.315828 -2.802712)'))) / (select extract(epoch from '2026-07-17 06:03:07'::timestamp) - extract(epoch from '2026-07-17 06:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315746 -2.802692)', '2026-07-17 06:03:22', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315828 -2.802712)'), GeomFromEWKT('SRID=4674;POINT (-40.315746 -2.802692)'))) / (select extract(epoch from '2026-07-17 06:03:22'::timestamp) - extract(epoch from '2026-07-17 06:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315828 -2.802712)'), GeomFromEWKT('SRID=4674;POINT (-40.315746 -2.802692)'))) / (select extract(epoch from '2026-07-17 06:03:22'::timestamp) - extract(epoch from '2026-07-17 06:03: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'), 47836, 'SRID=4674;POINT (-40.315661 -2.802683)', '2026-07-17 06:03:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315746 -2.802692)'), GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.802683)'))) / (select extract(epoch from '2026-07-17 06:03:39'::timestamp) - extract(epoch from '2026-07-17 06:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315746 -2.802692)'), GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.802683)'))) / (select extract(epoch from '2026-07-17 06:03:39'::timestamp) - extract(epoch from '2026-07-17 06:03: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'), 47836, 'SRID=4674;POINT (-40.315583 -2.802669)', '2026-07-17 06:03:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.802683)'), GeomFromEWKT('SRID=4674;POINT (-40.315583 -2.802669)'))) / (select extract(epoch from '2026-07-17 06:03:55'::timestamp) - extract(epoch from '2026-07-17 06:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315661 -2.802683)'), GeomFromEWKT('SRID=4674;POINT (-40.315583 -2.802669)'))) / (select extract(epoch from '2026-07-17 06:03:55'::timestamp) - extract(epoch from '2026-07-17 06:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315489 -2.802663)', '2026-07-17 06:04:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315583 -2.802669)'), GeomFromEWKT('SRID=4674;POINT (-40.315489 -2.802663)'))) / (select extract(epoch from '2026-07-17 06:04:10'::timestamp) - extract(epoch from '2026-07-17 06:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315583 -2.802669)'), GeomFromEWKT('SRID=4674;POINT (-40.315489 -2.802663)'))) / (select extract(epoch from '2026-07-17 06:04:10'::timestamp) - extract(epoch from '2026-07-17 06:03: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'), 47836, 'SRID=4674;POINT (-40.315411 -2.802669)', '2026-07-17 06:04:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315489 -2.802663)'), GeomFromEWKT('SRID=4674;POINT (-40.315411 -2.802669)'))) / (select extract(epoch from '2026-07-17 06:04:26'::timestamp) - extract(epoch from '2026-07-17 06:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315489 -2.802663)'), GeomFromEWKT('SRID=4674;POINT (-40.315411 -2.802669)'))) / (select extract(epoch from '2026-07-17 06:04:26'::timestamp) - extract(epoch from '2026-07-17 06:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315344 -2.802668)', '2026-07-17 06:04:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315411 -2.802669)'), GeomFromEWKT('SRID=4674;POINT (-40.315344 -2.802668)'))) / (select extract(epoch from '2026-07-17 06:04:41'::timestamp) - extract(epoch from '2026-07-17 06:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315411 -2.802669)'), GeomFromEWKT('SRID=4674;POINT (-40.315344 -2.802668)'))) / (select extract(epoch from '2026-07-17 06:04:41'::timestamp) - extract(epoch from '2026-07-17 06:04: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'), 47836, 'SRID=4674;POINT (-40.31526 -2.802651)', '2026-07-17 06:04:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315344 -2.802668)'), GeomFromEWKT('SRID=4674;POINT (-40.31526 -2.802651)'))) / (select extract(epoch from '2026-07-17 06:04:57'::timestamp) - extract(epoch from '2026-07-17 06:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315344 -2.802668)'), GeomFromEWKT('SRID=4674;POINT (-40.31526 -2.802651)'))) / (select extract(epoch from '2026-07-17 06:04:57'::timestamp) - extract(epoch from '2026-07-17 06:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315161 -2.802632)', '2026-07-17 06:05:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31526 -2.802651)'), GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.802632)'))) / (select extract(epoch from '2026-07-17 06:05:15'::timestamp) - extract(epoch from '2026-07-17 06:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31526 -2.802651)'), GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.802632)'))) / (select extract(epoch from '2026-07-17 06:05:15'::timestamp) - extract(epoch from '2026-07-17 06:04:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.315096 -2.802613)', '2026-07-17 06:05:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.802632)'), GeomFromEWKT('SRID=4674;POINT (-40.315096 -2.802613)'))) / (select extract(epoch from '2026-07-17 06:05:29'::timestamp) - extract(epoch from '2026-07-17 06:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315161 -2.802632)'), GeomFromEWKT('SRID=4674;POINT (-40.315096 -2.802613)'))) / (select extract(epoch from '2026-07-17 06:05:29'::timestamp) - extract(epoch from '2026-07-17 06:05: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'), 47836, 'SRID=4674;POINT (-40.315082 -2.802616)', '2026-07-17 06:05:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315096 -2.802613)'), GeomFromEWKT('SRID=4674;POINT (-40.315082 -2.802616)'))) / (select extract(epoch from '2026-07-17 06:05:42'::timestamp) - extract(epoch from '2026-07-17 06:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315096 -2.802613)'), GeomFromEWKT('SRID=4674;POINT (-40.315082 -2.802616)'))) / (select extract(epoch from '2026-07-17 06:05:42'::timestamp) - extract(epoch from '2026-07-17 06:05: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'), 47836, 'SRID=4674;POINT (-40.314973 -2.802615)', '2026-07-17 06:06:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315082 -2.802616)'), GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.802615)'))) / (select extract(epoch from '2026-07-17 06:06:04'::timestamp) - extract(epoch from '2026-07-17 06:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315082 -2.802616)'), GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.802615)'))) / (select extract(epoch from '2026-07-17 06:06:04'::timestamp) - extract(epoch from '2026-07-17 06:05: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'), 47836, 'SRID=4674;POINT (-40.314887 -2.802611)', '2026-07-17 06:06:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.802611)'))) / (select extract(epoch from '2026-07-17 06:06:19'::timestamp) - extract(epoch from '2026-07-17 06:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314973 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.802611)'))) / (select extract(epoch from '2026-07-17 06:06:19'::timestamp) - extract(epoch from '2026-07-17 06:06: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'), 47836, 'SRID=4674;POINT (-40.314809 -2.802601)', '2026-07-17 06:06:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.314809 -2.802601)'))) / (select extract(epoch from '2026-07-17 06:06:36'::timestamp) - extract(epoch from '2026-07-17 06:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314887 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.314809 -2.802601)'))) / (select extract(epoch from '2026-07-17 06:06:36'::timestamp) - extract(epoch from '2026-07-17 06:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314777 -2.802588)', '2026-07-17 06:06:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314809 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.314777 -2.802588)'))) / (select extract(epoch from '2026-07-17 06:06:49'::timestamp) - extract(epoch from '2026-07-17 06:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314809 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.314777 -2.802588)'))) / (select extract(epoch from '2026-07-17 06:06:49'::timestamp) - extract(epoch from '2026-07-17 06:06: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'), 47836, 'SRID=4674;POINT (-40.314694 -2.802581)', '2026-07-17 06:07:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314777 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.314694 -2.802581)'))) / (select extract(epoch from '2026-07-17 06:07:29'::timestamp) - extract(epoch from '2026-07-17 06:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314777 -2.802588)'), GeomFromEWKT('SRID=4674;POINT (-40.314694 -2.802581)'))) / (select extract(epoch from '2026-07-17 06:07:29'::timestamp) - extract(epoch from '2026-07-17 06:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314605 -2.802554)', '2026-07-17 06:07:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314694 -2.802581)'), GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.802554)'))) / (select extract(epoch from '2026-07-17 06:07:45'::timestamp) - extract(epoch from '2026-07-17 06:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314694 -2.802581)'), GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.802554)'))) / (select extract(epoch from '2026-07-17 06:07:45'::timestamp) - extract(epoch from '2026-07-17 06:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314515 -2.802551)', '2026-07-17 06:08:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.802554)'), GeomFromEWKT('SRID=4674;POINT (-40.314515 -2.802551)'))) / (select extract(epoch from '2026-07-17 06:08:01'::timestamp) - extract(epoch from '2026-07-17 06:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.802554)'), GeomFromEWKT('SRID=4674;POINT (-40.314515 -2.802551)'))) / (select extract(epoch from '2026-07-17 06:08:01'::timestamp) - extract(epoch from '2026-07-17 06:07: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'), 47836, 'SRID=4674;POINT (-40.314438 -2.802548)', '2026-07-17 06:08:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314515 -2.802551)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.802548)'))) / (select extract(epoch from '2026-07-17 06:08:18'::timestamp) - extract(epoch from '2026-07-17 06:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314515 -2.802551)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.802548)'))) / (select extract(epoch from '2026-07-17 06:08:18'::timestamp) - extract(epoch from '2026-07-17 06:08: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'), 47836, 'SRID=4674;POINT (-40.31439 -2.802538)', '2026-07-17 06:08:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.802548)'), GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.802538)'))) / (select extract(epoch from '2026-07-17 06:08:31'::timestamp) - extract(epoch from '2026-07-17 06:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.802548)'), GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.802538)'))) / (select extract(epoch from '2026-07-17 06:08:31'::timestamp) - extract(epoch from '2026-07-17 06:08: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'), 47836, 'SRID=4674;POINT (-40.31432 -2.802531)', '2026-07-17 06:08:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.802538)'), GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.802531)'))) / (select extract(epoch from '2026-07-17 06:08:46'::timestamp) - extract(epoch from '2026-07-17 06:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.802538)'), GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.802531)'))) / (select extract(epoch from '2026-07-17 06:08:46'::timestamp) - extract(epoch from '2026-07-17 06:08:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314229 -2.802505)', '2026-07-17 06:09:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.802531)'), GeomFromEWKT('SRID=4674;POINT (-40.314229 -2.802505)'))) / (select extract(epoch from '2026-07-17 06:09:04'::timestamp) - extract(epoch from '2026-07-17 06:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31432 -2.802531)'), GeomFromEWKT('SRID=4674;POINT (-40.314229 -2.802505)'))) / (select extract(epoch from '2026-07-17 06:09:04'::timestamp) - extract(epoch from '2026-07-17 06:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.314131 -2.802496)', '2026-07-17 06:09:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314229 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.802496)'))) / (select extract(epoch from '2026-07-17 06:09:22'::timestamp) - extract(epoch from '2026-07-17 06:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314229 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.802496)'))) / (select extract(epoch from '2026-07-17 06:09:22'::timestamp) - extract(epoch from '2026-07-17 06:09: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'), 47836, 'SRID=4674;POINT (-40.314077 -2.802506)', '2026-07-17 06:09:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.802496)'), GeomFromEWKT('SRID=4674;POINT (-40.314077 -2.802506)'))) / (select extract(epoch from '2026-07-17 06:09:34'::timestamp) - extract(epoch from '2026-07-17 06:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314131 -2.802496)'), GeomFromEWKT('SRID=4674;POINT (-40.314077 -2.802506)'))) / (select extract(epoch from '2026-07-17 06:09:34'::timestamp) - extract(epoch from '2026-07-17 06:09: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'), 47836, 'SRID=4674;POINT (-40.313997 -2.802464)', '2026-07-17 06:09:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314077 -2.802506)'), GeomFromEWKT('SRID=4674;POINT (-40.313997 -2.802464)'))) / (select extract(epoch from '2026-07-17 06:09:51'::timestamp) - extract(epoch from '2026-07-17 06:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314077 -2.802506)'), GeomFromEWKT('SRID=4674;POINT (-40.313997 -2.802464)'))) / (select extract(epoch from '2026-07-17 06:09:51'::timestamp) - extract(epoch from '2026-07-17 06:09: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'), 47836, 'SRID=4674;POINT (-40.31392 -2.802445)', '2026-07-17 06:10:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313997 -2.802464)'), GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.802445)'))) / (select extract(epoch from '2026-07-17 06:10:06'::timestamp) - extract(epoch from '2026-07-17 06:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313997 -2.802464)'), GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.802445)'))) / (select extract(epoch from '2026-07-17 06:10:06'::timestamp) - extract(epoch from '2026-07-17 06:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313834 -2.802435)', '2026-07-17 06:10:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.802445)'), GeomFromEWKT('SRID=4674;POINT (-40.313834 -2.802435)'))) / (select extract(epoch from '2026-07-17 06:10:20'::timestamp) - extract(epoch from '2026-07-17 06:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.802445)'), GeomFromEWKT('SRID=4674;POINT (-40.313834 -2.802435)'))) / (select extract(epoch from '2026-07-17 06:10:20'::timestamp) - extract(epoch from '2026-07-17 06:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313747 -2.802416)', '2026-07-17 06:10:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313834 -2.802435)'), GeomFromEWKT('SRID=4674;POINT (-40.313747 -2.802416)'))) / (select extract(epoch from '2026-07-17 06:10:39'::timestamp) - extract(epoch from '2026-07-17 06:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313834 -2.802435)'), GeomFromEWKT('SRID=4674;POINT (-40.313747 -2.802416)'))) / (select extract(epoch from '2026-07-17 06:10:39'::timestamp) - extract(epoch from '2026-07-17 06:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47836, 'SRID=4674;POINT (-40.313688 -2.802394)', '2026-07-17 06:10:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313747 -2.802416)'), GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.802394)'))) / (select extract(epoch from '2026-07-17 06:10:52'::timestamp) - extract(epoch from '2026-07-17 06:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313747 -2.802416)'), GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.802394)'))) / (select extract(epoch from '2026-07-17 06:10:52'::timestamp) - extract(epoch from '2026-07-17 06:10: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'), 47836, 'SRID=4674;POINT (-40.313645 -2.802381)', '2026-07-17 06:11:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.313645 -2.802381)'))) / (select extract(epoch from '2026-07-17 06:11:03'::timestamp) - extract(epoch from '2026-07-17 06:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.313645 -2.802381)'))) / (select extract(epoch from '2026-07-17 06:11:03'::timestamp) - extract(epoch from '2026-07-17 06:10: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'), 47836, 'SRID=4674;POINT (-40.31357 -2.80236)', '2026-07-17 06:11:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313645 -2.802381)'), GeomFromEWKT('SRID=4674;POINT (-40.31357 -2.80236)'))) / (select extract(epoch from '2026-07-17 06:11:18'::timestamp) - extract(epoch from '2026-07-17 06:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313645 -2.802381)'), GeomFromEWKT('SRID=4674;POINT (-40.31357 -2.80236)'))) / (select extract(epoch from '2026-07-17 06:11:18'::timestamp) - extract(epoch from '2026-07-17 06:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
