BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.826199 -3.545098)', '2026-08-06 04:58:30', 3, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.826016 -3.545121)', '2026-08-06 04:58:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826199 -3.545098)'), GeomFromEWKT('SRID=4674;POINT (-38.826016 -3.545121)'))) / (select extract(epoch from '2026-08-06 04:58:38'::timestamp) - extract(epoch from '2026-08-06 04:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826199 -3.545098)'), GeomFromEWKT('SRID=4674;POINT (-38.826016 -3.545121)'))) / (select extract(epoch from '2026-08-06 04:58:38'::timestamp) - extract(epoch from '2026-08-06 04:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.82588 -3.545137)', '2026-08-06 04:58:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826016 -3.545121)'), GeomFromEWKT('SRID=4674;POINT (-38.82588 -3.545137)'))) / (select extract(epoch from '2026-08-06 04:58:44'::timestamp) - extract(epoch from '2026-08-06 04:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826016 -3.545121)'), GeomFromEWKT('SRID=4674;POINT (-38.82588 -3.545137)'))) / (select extract(epoch from '2026-08-06 04:58:44'::timestamp) - extract(epoch from '2026-08-06 04:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.82574 -3.545125)', '2026-08-06 04:58:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82588 -3.545137)'), GeomFromEWKT('SRID=4674;POINT (-38.82574 -3.545125)'))) / (select extract(epoch from '2026-08-06 04:58:50'::timestamp) - extract(epoch from '2026-08-06 04:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82588 -3.545137)'), GeomFromEWKT('SRID=4674;POINT (-38.82574 -3.545125)'))) / (select extract(epoch from '2026-08-06 04:58:50'::timestamp) - extract(epoch from '2026-08-06 04:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.82561 -3.545104)', '2026-08-06 04:58:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82574 -3.545125)'), GeomFromEWKT('SRID=4674;POINT (-38.82561 -3.545104)'))) / (select extract(epoch from '2026-08-06 04:58:56'::timestamp) - extract(epoch from '2026-08-06 04:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82574 -3.545125)'), GeomFromEWKT('SRID=4674;POINT (-38.82561 -3.545104)'))) / (select extract(epoch from '2026-08-06 04:58:56'::timestamp) - extract(epoch from '2026-08-06 04:58: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'), 48150, 'SRID=4674;POINT (-38.825462 -3.545063)', '2026-08-06 04:59:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82561 -3.545104)'), GeomFromEWKT('SRID=4674;POINT (-38.825462 -3.545063)'))) / (select extract(epoch from '2026-08-06 04:59:03'::timestamp) - extract(epoch from '2026-08-06 04:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82561 -3.545104)'), GeomFromEWKT('SRID=4674;POINT (-38.825462 -3.545063)'))) / (select extract(epoch from '2026-08-06 04:59:03'::timestamp) - extract(epoch from '2026-08-06 04:58: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'), 48150, 'SRID=4674;POINT (-38.825333 -3.545044)', '2026-08-06 04:59:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825462 -3.545063)'), GeomFromEWKT('SRID=4674;POINT (-38.825333 -3.545044)'))) / (select extract(epoch from '2026-08-06 04:59:09'::timestamp) - extract(epoch from '2026-08-06 04:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825462 -3.545063)'), GeomFromEWKT('SRID=4674;POINT (-38.825333 -3.545044)'))) / (select extract(epoch from '2026-08-06 04:59:09'::timestamp) - extract(epoch from '2026-08-06 04:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.825171 -3.545005)', '2026-08-06 04:59:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825333 -3.545044)'), GeomFromEWKT('SRID=4674;POINT (-38.825171 -3.545005)'))) / (select extract(epoch from '2026-08-06 04:59:17'::timestamp) - extract(epoch from '2026-08-06 04:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825333 -3.545044)'), GeomFromEWKT('SRID=4674;POINT (-38.825171 -3.545005)'))) / (select extract(epoch from '2026-08-06 04:59:17'::timestamp) - extract(epoch from '2026-08-06 04:59: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'), 48150, 'SRID=4674;POINT (-38.824986 -3.54494)', '2026-08-06 04:59:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825171 -3.545005)'), GeomFromEWKT('SRID=4674;POINT (-38.824986 -3.54494)'))) / (select extract(epoch from '2026-08-06 04:59:26'::timestamp) - extract(epoch from '2026-08-06 04:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825171 -3.545005)'), GeomFromEWKT('SRID=4674;POINT (-38.824986 -3.54494)'))) / (select extract(epoch from '2026-08-06 04:59:26'::timestamp) - extract(epoch from '2026-08-06 04:59: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'), 48150, 'SRID=4674;POINT (-38.824777 -3.544852)', '2026-08-06 04:59:36', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824986 -3.54494)'), GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.544852)'))) / (select extract(epoch from '2026-08-06 04:59:36'::timestamp) - extract(epoch from '2026-08-06 04:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824986 -3.54494)'), GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.544852)'))) / (select extract(epoch from '2026-08-06 04:59:36'::timestamp) - extract(epoch from '2026-08-06 04: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'), 48150, 'SRID=4674;POINT (-38.824637 -3.544766)', '2026-08-06 04:59:43', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.544852)'), GeomFromEWKT('SRID=4674;POINT (-38.824637 -3.544766)'))) / (select extract(epoch from '2026-08-06 04:59:43'::timestamp) - extract(epoch from '2026-08-06 04:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.544852)'), GeomFromEWKT('SRID=4674;POINT (-38.824637 -3.544766)'))) / (select extract(epoch from '2026-08-06 04:59:43'::timestamp) - extract(epoch from '2026-08-06 04:59: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'), 48150, 'SRID=4674;POINT (-38.824486 -3.544633)', '2026-08-06 04:59:52', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824637 -3.544766)'), GeomFromEWKT('SRID=4674;POINT (-38.824486 -3.544633)'))) / (select extract(epoch from '2026-08-06 04:59:52'::timestamp) - extract(epoch from '2026-08-06 04:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824637 -3.544766)'), GeomFromEWKT('SRID=4674;POINT (-38.824486 -3.544633)'))) / (select extract(epoch from '2026-08-06 04:59:52'::timestamp) - extract(epoch from '2026-08-06 04:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.824359 -3.544538)', '2026-08-06 04:59:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824486 -3.544633)'), GeomFromEWKT('SRID=4674;POINT (-38.824359 -3.544538)'))) / (select extract(epoch from '2026-08-06 04:59:59'::timestamp) - extract(epoch from '2026-08-06 04:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824486 -3.544633)'), GeomFromEWKT('SRID=4674;POINT (-38.824359 -3.544538)'))) / (select extract(epoch from '2026-08-06 04:59:59'::timestamp) - extract(epoch from '2026-08-06 04:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.824212 -3.544437)', '2026-08-06 05:00:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824359 -3.544538)'), GeomFromEWKT('SRID=4674;POINT (-38.824212 -3.544437)'))) / (select extract(epoch from '2026-08-06 05:00:07'::timestamp) - extract(epoch from '2026-08-06 04:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824359 -3.544538)'), GeomFromEWKT('SRID=4674;POINT (-38.824212 -3.544437)'))) / (select extract(epoch from '2026-08-06 05:00:07'::timestamp) - extract(epoch from '2026-08-06 04: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'), 48150, 'SRID=4674;POINT (-38.824038 -3.544315)', '2026-08-06 05:00:17', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824212 -3.544437)'), GeomFromEWKT('SRID=4674;POINT (-38.824038 -3.544315)'))) / (select extract(epoch from '2026-08-06 05:00:17'::timestamp) - extract(epoch from '2026-08-06 05:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824212 -3.544437)'), GeomFromEWKT('SRID=4674;POINT (-38.824038 -3.544315)'))) / (select extract(epoch from '2026-08-06 05:00:17'::timestamp) - extract(epoch from '2026-08-06 05:00: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'), 48150, 'SRID=4674;POINT (-38.8239 -3.544249)', '2026-08-06 05:00:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824038 -3.544315)'), GeomFromEWKT('SRID=4674;POINT (-38.8239 -3.544249)'))) / (select extract(epoch from '2026-08-06 05:00:24'::timestamp) - extract(epoch from '2026-08-06 05:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824038 -3.544315)'), GeomFromEWKT('SRID=4674;POINT (-38.8239 -3.544249)'))) / (select extract(epoch from '2026-08-06 05:00:24'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.823753 -3.544193)', '2026-08-06 05:00:31', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8239 -3.544249)'), GeomFromEWKT('SRID=4674;POINT (-38.823753 -3.544193)'))) / (select extract(epoch from '2026-08-06 05:00:31'::timestamp) - extract(epoch from '2026-08-06 05:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8239 -3.544249)'), GeomFromEWKT('SRID=4674;POINT (-38.823753 -3.544193)'))) / (select extract(epoch from '2026-08-06 05:00:31'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.823552 -3.544129)', '2026-08-06 05:00:40', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823753 -3.544193)'), GeomFromEWKT('SRID=4674;POINT (-38.823552 -3.544129)'))) / (select extract(epoch from '2026-08-06 05:00:40'::timestamp) - extract(epoch from '2026-08-06 05:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823753 -3.544193)'), GeomFromEWKT('SRID=4674;POINT (-38.823552 -3.544129)'))) / (select extract(epoch from '2026-08-06 05:00:40'::timestamp) - extract(epoch from '2026-08-06 05:00:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.823392 -3.544058)', '2026-08-06 05:00:48', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823552 -3.544129)'), GeomFromEWKT('SRID=4674;POINT (-38.823392 -3.544058)'))) / (select extract(epoch from '2026-08-06 05:00:48'::timestamp) - extract(epoch from '2026-08-06 05:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823552 -3.544129)'), GeomFromEWKT('SRID=4674;POINT (-38.823392 -3.544058)'))) / (select extract(epoch from '2026-08-06 05:00:48'::timestamp) - extract(epoch from '2026-08-06 05:00: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'), 48150, 'SRID=4674;POINT (-38.823233 -3.543983)', '2026-08-06 05:00:56', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823392 -3.544058)'), GeomFromEWKT('SRID=4674;POINT (-38.823233 -3.543983)'))) / (select extract(epoch from '2026-08-06 05:00:56'::timestamp) - extract(epoch from '2026-08-06 05:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823392 -3.544058)'), GeomFromEWKT('SRID=4674;POINT (-38.823233 -3.543983)'))) / (select extract(epoch from '2026-08-06 05:00:56'::timestamp) - extract(epoch from '2026-08-06 05:00: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'), 48150, 'SRID=4674;POINT (-38.823026 -3.543895)', '2026-08-06 05:01:06', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823233 -3.543983)'), GeomFromEWKT('SRID=4674;POINT (-38.823026 -3.543895)'))) / (select extract(epoch from '2026-08-06 05:01:06'::timestamp) - extract(epoch from '2026-08-06 05:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823233 -3.543983)'), GeomFromEWKT('SRID=4674;POINT (-38.823026 -3.543895)'))) / (select extract(epoch from '2026-08-06 05:01:06'::timestamp) - extract(epoch from '2026-08-06 05:00: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'), 48150, 'SRID=4674;POINT (-38.822829 -3.543796)', '2026-08-06 05:01:16', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823026 -3.543895)'), GeomFromEWKT('SRID=4674;POINT (-38.822829 -3.543796)'))) / (select extract(epoch from '2026-08-06 05:01:16'::timestamp) - extract(epoch from '2026-08-06 05:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823026 -3.543895)'), GeomFromEWKT('SRID=4674;POINT (-38.822829 -3.543796)'))) / (select extract(epoch from '2026-08-06 05:01:16'::timestamp) - extract(epoch from '2026-08-06 05:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.822574 -3.543665)', '2026-08-06 05:01:29', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822829 -3.543796)'), GeomFromEWKT('SRID=4674;POINT (-38.822574 -3.543665)'))) / (select extract(epoch from '2026-08-06 05:01:29'::timestamp) - extract(epoch from '2026-08-06 05:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822829 -3.543796)'), GeomFromEWKT('SRID=4674;POINT (-38.822574 -3.543665)'))) / (select extract(epoch from '2026-08-06 05:01:29'::timestamp) - extract(epoch from '2026-08-06 05:01: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'), 48150, 'SRID=4674;POINT (-38.822407 -3.543588)', '2026-08-06 05:01:37', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822574 -3.543665)'), GeomFromEWKT('SRID=4674;POINT (-38.822407 -3.543588)'))) / (select extract(epoch from '2026-08-06 05:01:37'::timestamp) - extract(epoch from '2026-08-06 05:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822574 -3.543665)'), GeomFromEWKT('SRID=4674;POINT (-38.822407 -3.543588)'))) / (select extract(epoch from '2026-08-06 05:01:37'::timestamp) - extract(epoch from '2026-08-06 05:01: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'), 48150, 'SRID=4674;POINT (-38.822247 -3.543514)', '2026-08-06 05:01:45', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822407 -3.543588)'), GeomFromEWKT('SRID=4674;POINT (-38.822247 -3.543514)'))) / (select extract(epoch from '2026-08-06 05:01:45'::timestamp) - extract(epoch from '2026-08-06 05:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822407 -3.543588)'), GeomFromEWKT('SRID=4674;POINT (-38.822247 -3.543514)'))) / (select extract(epoch from '2026-08-06 05:01:45'::timestamp) - extract(epoch from '2026-08-06 05:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.822061 -3.543432)', '2026-08-06 05:01:54', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822247 -3.543514)'), GeomFromEWKT('SRID=4674;POINT (-38.822061 -3.543432)'))) / (select extract(epoch from '2026-08-06 05:01:54'::timestamp) - extract(epoch from '2026-08-06 05:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822247 -3.543514)'), GeomFromEWKT('SRID=4674;POINT (-38.822061 -3.543432)'))) / (select extract(epoch from '2026-08-06 05:01:54'::timestamp) - extract(epoch from '2026-08-06 05:01: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'), 48150, 'SRID=4674;POINT (-38.82186 -3.54332)', '2026-08-06 05:02:04', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822061 -3.543432)'), GeomFromEWKT('SRID=4674;POINT (-38.82186 -3.54332)'))) / (select extract(epoch from '2026-08-06 05:02:04'::timestamp) - extract(epoch from '2026-08-06 05:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822061 -3.543432)'), GeomFromEWKT('SRID=4674;POINT (-38.82186 -3.54332)'))) / (select extract(epoch from '2026-08-06 05:02:04'::timestamp) - extract(epoch from '2026-08-06 05:01: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'), 48150, 'SRID=4674;POINT (-38.821701 -3.543241)', '2026-08-06 05:02:12', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82186 -3.54332)'), GeomFromEWKT('SRID=4674;POINT (-38.821701 -3.543241)'))) / (select extract(epoch from '2026-08-06 05:02:12'::timestamp) - extract(epoch from '2026-08-06 05:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82186 -3.54332)'), GeomFromEWKT('SRID=4674;POINT (-38.821701 -3.543241)'))) / (select extract(epoch from '2026-08-06 05:02:12'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.821548 -3.543162)', '2026-08-06 05:02:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821701 -3.543241)'), GeomFromEWKT('SRID=4674;POINT (-38.821548 -3.543162)'))) / (select extract(epoch from '2026-08-06 05:02:20'::timestamp) - extract(epoch from '2026-08-06 05:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821701 -3.543241)'), GeomFromEWKT('SRID=4674;POINT (-38.821548 -3.543162)'))) / (select extract(epoch from '2026-08-06 05:02:20'::timestamp) - extract(epoch from '2026-08-06 05:02: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'), 48150, 'SRID=4674;POINT (-38.821385 -3.543076)', '2026-08-06 05:02:28', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821548 -3.543162)'), GeomFromEWKT('SRID=4674;POINT (-38.821385 -3.543076)'))) / (select extract(epoch from '2026-08-06 05:02:28'::timestamp) - extract(epoch from '2026-08-06 05:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821548 -3.543162)'), GeomFromEWKT('SRID=4674;POINT (-38.821385 -3.543076)'))) / (select extract(epoch from '2026-08-06 05:02:28'::timestamp) - extract(epoch from '2026-08-06 05:02: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'), 48150, 'SRID=4674;POINT (-38.8212 -3.542985)', '2026-08-06 05:02:37', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821385 -3.543076)'), GeomFromEWKT('SRID=4674;POINT (-38.8212 -3.542985)'))) / (select extract(epoch from '2026-08-06 05:02:37'::timestamp) - extract(epoch from '2026-08-06 05:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821385 -3.543076)'), GeomFromEWKT('SRID=4674;POINT (-38.8212 -3.542985)'))) / (select extract(epoch from '2026-08-06 05:02:37'::timestamp) - extract(epoch from '2026-08-06 05:02: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'), 48150, 'SRID=4674;POINT (-38.821035 -3.542916)', '2026-08-06 05:02:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8212 -3.542985)'), GeomFromEWKT('SRID=4674;POINT (-38.821035 -3.542916)'))) / (select extract(epoch from '2026-08-06 05:02:45'::timestamp) - extract(epoch from '2026-08-06 05:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8212 -3.542985)'), GeomFromEWKT('SRID=4674;POINT (-38.821035 -3.542916)'))) / (select extract(epoch from '2026-08-06 05:02:45'::timestamp) - extract(epoch from '2026-08-06 05:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.820865 -3.542852)', '2026-08-06 05:02:53', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821035 -3.542916)'), GeomFromEWKT('SRID=4674;POINT (-38.820865 -3.542852)'))) / (select extract(epoch from '2026-08-06 05:02:53'::timestamp) - extract(epoch from '2026-08-06 05:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821035 -3.542916)'), GeomFromEWKT('SRID=4674;POINT (-38.820865 -3.542852)'))) / (select extract(epoch from '2026-08-06 05:02:53'::timestamp) - extract(epoch from '2026-08-06 05:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.820715 -3.542794)', '2026-08-06 05:03:00', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820865 -3.542852)'), GeomFromEWKT('SRID=4674;POINT (-38.820715 -3.542794)'))) / (select extract(epoch from '2026-08-06 05:03:00'::timestamp) - extract(epoch from '2026-08-06 05:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820865 -3.542852)'), GeomFromEWKT('SRID=4674;POINT (-38.820715 -3.542794)'))) / (select extract(epoch from '2026-08-06 05:03:00'::timestamp) - extract(epoch from '2026-08-06 05:02: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'), 48150, 'SRID=4674;POINT (-38.820563 -3.542725)', '2026-08-06 05:03:08', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820715 -3.542794)'), GeomFromEWKT('SRID=4674;POINT (-38.820563 -3.542725)'))) / (select extract(epoch from '2026-08-06 05:03:08'::timestamp) - extract(epoch from '2026-08-06 05:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820715 -3.542794)'), GeomFromEWKT('SRID=4674;POINT (-38.820563 -3.542725)'))) / (select extract(epoch from '2026-08-06 05:03:08'::timestamp) - extract(epoch from '2026-08-06 05:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.820404 -3.542622)', '2026-08-06 05:03:17', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820563 -3.542725)'), GeomFromEWKT('SRID=4674;POINT (-38.820404 -3.542622)'))) / (select extract(epoch from '2026-08-06 05:03:17'::timestamp) - extract(epoch from '2026-08-06 05:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820563 -3.542725)'), GeomFromEWKT('SRID=4674;POINT (-38.820404 -3.542622)'))) / (select extract(epoch from '2026-08-06 05:03:17'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.820229 -3.542538)', '2026-08-06 05:03:26', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820404 -3.542622)'), GeomFromEWKT('SRID=4674;POINT (-38.820229 -3.542538)'))) / (select extract(epoch from '2026-08-06 05:03:26'::timestamp) - extract(epoch from '2026-08-06 05:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820404 -3.542622)'), GeomFromEWKT('SRID=4674;POINT (-38.820229 -3.542538)'))) / (select extract(epoch from '2026-08-06 05:03:26'::timestamp) - extract(epoch from '2026-08-06 05:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.82004 -3.542465)', '2026-08-06 05:03:35', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820229 -3.542538)'), GeomFromEWKT('SRID=4674;POINT (-38.82004 -3.542465)'))) / (select extract(epoch from '2026-08-06 05:03:35'::timestamp) - extract(epoch from '2026-08-06 05:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820229 -3.542538)'), GeomFromEWKT('SRID=4674;POINT (-38.82004 -3.542465)'))) / (select extract(epoch from '2026-08-06 05:03:35'::timestamp) - extract(epoch from '2026-08-06 05:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.81984 -3.542391)', '2026-08-06 05:03:44', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82004 -3.542465)'), GeomFromEWKT('SRID=4674;POINT (-38.81984 -3.542391)'))) / (select extract(epoch from '2026-08-06 05:03:44'::timestamp) - extract(epoch from '2026-08-06 05:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82004 -3.542465)'), GeomFromEWKT('SRID=4674;POINT (-38.81984 -3.542391)'))) / (select extract(epoch from '2026-08-06 05:03:44'::timestamp) - extract(epoch from '2026-08-06 05:03: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'), 48150, 'SRID=4674;POINT (-38.819683 -3.542337)', '2026-08-06 05:03:51', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81984 -3.542391)'), GeomFromEWKT('SRID=4674;POINT (-38.819683 -3.542337)'))) / (select extract(epoch from '2026-08-06 05:03:51'::timestamp) - extract(epoch from '2026-08-06 05:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81984 -3.542391)'), GeomFromEWKT('SRID=4674;POINT (-38.819683 -3.542337)'))) / (select extract(epoch from '2026-08-06 05:03:51'::timestamp) - extract(epoch from '2026-08-06 05:03: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'), 48150, 'SRID=4674;POINT (-38.819531 -3.542254)', '2026-08-06 05:03:59', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819683 -3.542337)'), GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.542254)'))) / (select extract(epoch from '2026-08-06 05:03:59'::timestamp) - extract(epoch from '2026-08-06 05:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819683 -3.542337)'), GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.542254)'))) / (select extract(epoch from '2026-08-06 05:03:59'::timestamp) - extract(epoch from '2026-08-06 05:03: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'), 48150, 'SRID=4674;POINT (-38.81935 -3.542166)', '2026-08-06 05:04:08', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.542254)'), GeomFromEWKT('SRID=4674;POINT (-38.81935 -3.542166)'))) / (select extract(epoch from '2026-08-06 05:04:08'::timestamp) - extract(epoch from '2026-08-06 05:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.542254)'), GeomFromEWKT('SRID=4674;POINT (-38.81935 -3.542166)'))) / (select extract(epoch from '2026-08-06 05:04:08'::timestamp) - extract(epoch from '2026-08-06 05:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.819186 -3.542094)', '2026-08-06 05:04:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81935 -3.542166)'), GeomFromEWKT('SRID=4674;POINT (-38.819186 -3.542094)'))) / (select extract(epoch from '2026-08-06 05:04:16'::timestamp) - extract(epoch from '2026-08-06 05:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81935 -3.542166)'), GeomFromEWKT('SRID=4674;POINT (-38.819186 -3.542094)'))) / (select extract(epoch from '2026-08-06 05:04:16'::timestamp) - extract(epoch from '2026-08-06 05:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.818974 -3.54199)', '2026-08-06 05:04:26', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819186 -3.542094)'), GeomFromEWKT('SRID=4674;POINT (-38.818974 -3.54199)'))) / (select extract(epoch from '2026-08-06 05:04:26'::timestamp) - extract(epoch from '2026-08-06 05:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819186 -3.542094)'), GeomFromEWKT('SRID=4674;POINT (-38.818974 -3.54199)'))) / (select extract(epoch from '2026-08-06 05:04:26'::timestamp) - extract(epoch from '2026-08-06 05:04: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'), 48150, 'SRID=4674;POINT (-38.818794 -3.541899)', '2026-08-06 05:04:35', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818974 -3.54199)'), GeomFromEWKT('SRID=4674;POINT (-38.818794 -3.541899)'))) / (select extract(epoch from '2026-08-06 05:04:35'::timestamp) - extract(epoch from '2026-08-06 05:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818974 -3.54199)'), GeomFromEWKT('SRID=4674;POINT (-38.818794 -3.541899)'))) / (select extract(epoch from '2026-08-06 05:04:35'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.818653 -3.541825)', '2026-08-06 05:04:42', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818794 -3.541899)'), GeomFromEWKT('SRID=4674;POINT (-38.818653 -3.541825)'))) / (select extract(epoch from '2026-08-06 05:04:42'::timestamp) - extract(epoch from '2026-08-06 05:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818794 -3.541899)'), GeomFromEWKT('SRID=4674;POINT (-38.818653 -3.541825)'))) / (select extract(epoch from '2026-08-06 05:04:42'::timestamp) - extract(epoch from '2026-08-06 05:04: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'), 48150, 'SRID=4674;POINT (-38.818529 -3.541772)', '2026-08-06 05:04:48', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818653 -3.541825)'), GeomFromEWKT('SRID=4674;POINT (-38.818529 -3.541772)'))) / (select extract(epoch from '2026-08-06 05:04:48'::timestamp) - extract(epoch from '2026-08-06 05:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818653 -3.541825)'), GeomFromEWKT('SRID=4674;POINT (-38.818529 -3.541772)'))) / (select extract(epoch from '2026-08-06 05:04:48'::timestamp) - extract(epoch from '2026-08-06 05:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.81834 -3.541699)', '2026-08-06 05:04:57', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818529 -3.541772)'), GeomFromEWKT('SRID=4674;POINT (-38.81834 -3.541699)'))) / (select extract(epoch from '2026-08-06 05:04:57'::timestamp) - extract(epoch from '2026-08-06 05:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818529 -3.541772)'), GeomFromEWKT('SRID=4674;POINT (-38.81834 -3.541699)'))) / (select extract(epoch from '2026-08-06 05:04:57'::timestamp) - extract(epoch from '2026-08-06 05:04: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'), 48150, 'SRID=4674;POINT (-38.818173 -3.541628)', '2026-08-06 05:05:05', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81834 -3.541699)'), GeomFromEWKT('SRID=4674;POINT (-38.818173 -3.541628)'))) / (select extract(epoch from '2026-08-06 05:05:05'::timestamp) - extract(epoch from '2026-08-06 05:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81834 -3.541699)'), GeomFromEWKT('SRID=4674;POINT (-38.818173 -3.541628)'))) / (select extract(epoch from '2026-08-06 05:05:05'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.817989 -3.54154)', '2026-08-06 05:05:14', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818173 -3.541628)'), GeomFromEWKT('SRID=4674;POINT (-38.817989 -3.54154)'))) / (select extract(epoch from '2026-08-06 05:05:14'::timestamp) - extract(epoch from '2026-08-06 05:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818173 -3.541628)'), GeomFromEWKT('SRID=4674;POINT (-38.817989 -3.54154)'))) / (select extract(epoch from '2026-08-06 05:05:14'::timestamp) - extract(epoch from '2026-08-06 05:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.817787 -3.541434)', '2026-08-06 05:05:24', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817989 -3.54154)'), GeomFromEWKT('SRID=4674;POINT (-38.817787 -3.541434)'))) / (select extract(epoch from '2026-08-06 05:05:24'::timestamp) - extract(epoch from '2026-08-06 05:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817989 -3.54154)'), GeomFromEWKT('SRID=4674;POINT (-38.817787 -3.541434)'))) / (select extract(epoch from '2026-08-06 05:05:24'::timestamp) - extract(epoch from '2026-08-06 05:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.817606 -3.541348)', '2026-08-06 05:05:33', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817787 -3.541434)'), GeomFromEWKT('SRID=4674;POINT (-38.817606 -3.541348)'))) / (select extract(epoch from '2026-08-06 05:05:33'::timestamp) - extract(epoch from '2026-08-06 05:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817787 -3.541434)'), GeomFromEWKT('SRID=4674;POINT (-38.817606 -3.541348)'))) / (select extract(epoch from '2026-08-06 05:05:33'::timestamp) - extract(epoch from '2026-08-06 05:05: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'), 48150, 'SRID=4674;POINT (-38.81744 -3.541277)', '2026-08-06 05:05:41', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817606 -3.541348)'), GeomFromEWKT('SRID=4674;POINT (-38.81744 -3.541277)'))) / (select extract(epoch from '2026-08-06 05:05:41'::timestamp) - extract(epoch from '2026-08-06 05:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817606 -3.541348)'), GeomFromEWKT('SRID=4674;POINT (-38.81744 -3.541277)'))) / (select extract(epoch from '2026-08-06 05:05:41'::timestamp) - extract(epoch from '2026-08-06 05:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.817273 -3.541201)', '2026-08-06 05:05:49', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81744 -3.541277)'), GeomFromEWKT('SRID=4674;POINT (-38.817273 -3.541201)'))) / (select extract(epoch from '2026-08-06 05:05:49'::timestamp) - extract(epoch from '2026-08-06 05:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81744 -3.541277)'), GeomFromEWKT('SRID=4674;POINT (-38.817273 -3.541201)'))) / (select extract(epoch from '2026-08-06 05:05:49'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.817101 -3.541131)', '2026-08-06 05:05:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817273 -3.541201)'), GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.541131)'))) / (select extract(epoch from '2026-08-06 05:05:57'::timestamp) - extract(epoch from '2026-08-06 05:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817273 -3.541201)'), GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.541131)'))) / (select extract(epoch from '2026-08-06 05:05:57'::timestamp) - extract(epoch from '2026-08-06 05:05: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'), 48150, 'SRID=4674;POINT (-38.816944 -3.541074)', '2026-08-06 05:06:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.541131)'), GeomFromEWKT('SRID=4674;POINT (-38.816944 -3.541074)'))) / (select extract(epoch from '2026-08-06 05:06:04'::timestamp) - extract(epoch from '2026-08-06 05:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.541131)'), GeomFromEWKT('SRID=4674;POINT (-38.816944 -3.541074)'))) / (select extract(epoch from '2026-08-06 05:06:04'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.816772 -3.541009)', '2026-08-06 05:06:12', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816944 -3.541074)'), GeomFromEWKT('SRID=4674;POINT (-38.816772 -3.541009)'))) / (select extract(epoch from '2026-08-06 05:06:12'::timestamp) - extract(epoch from '2026-08-06 05:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816944 -3.541074)'), GeomFromEWKT('SRID=4674;POINT (-38.816772 -3.541009)'))) / (select extract(epoch from '2026-08-06 05:06:12'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.816651 -3.540958)', '2026-08-06 05:06:18', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816772 -3.541009)'), GeomFromEWKT('SRID=4674;POINT (-38.816651 -3.540958)'))) / (select extract(epoch from '2026-08-06 05:06:18'::timestamp) - extract(epoch from '2026-08-06 05:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816772 -3.541009)'), GeomFromEWKT('SRID=4674;POINT (-38.816651 -3.540958)'))) / (select extract(epoch from '2026-08-06 05:06:18'::timestamp) - extract(epoch from '2026-08-06 05:06: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'), 48150, 'SRID=4674;POINT (-38.816505 -3.540893)', '2026-08-06 05:06:25', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816651 -3.540958)'), GeomFromEWKT('SRID=4674;POINT (-38.816505 -3.540893)'))) / (select extract(epoch from '2026-08-06 05:06:25'::timestamp) - extract(epoch from '2026-08-06 05:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816651 -3.540958)'), GeomFromEWKT('SRID=4674;POINT (-38.816505 -3.540893)'))) / (select extract(epoch from '2026-08-06 05:06:25'::timestamp) - extract(epoch from '2026-08-06 05:06: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'), 48150, 'SRID=4674;POINT (-38.816347 -3.540834)', '2026-08-06 05:06:33', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816505 -3.540893)'), GeomFromEWKT('SRID=4674;POINT (-38.816347 -3.540834)'))) / (select extract(epoch from '2026-08-06 05:06:33'::timestamp) - extract(epoch from '2026-08-06 05:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816505 -3.540893)'), GeomFromEWKT('SRID=4674;POINT (-38.816347 -3.540834)'))) / (select extract(epoch from '2026-08-06 05:06:33'::timestamp) - extract(epoch from '2026-08-06 05:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.816159 -3.540774)', '2026-08-06 05:06:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816347 -3.540834)'), GeomFromEWKT('SRID=4674;POINT (-38.816159 -3.540774)'))) / (select extract(epoch from '2026-08-06 05:06:42'::timestamp) - extract(epoch from '2026-08-06 05:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816347 -3.540834)'), GeomFromEWKT('SRID=4674;POINT (-38.816159 -3.540774)'))) / (select extract(epoch from '2026-08-06 05:06:42'::timestamp) - extract(epoch from '2026-08-06 05:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.816027 -3.540731)', '2026-08-06 05:06:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816159 -3.540774)'), GeomFromEWKT('SRID=4674;POINT (-38.816027 -3.540731)'))) / (select extract(epoch from '2026-08-06 05:06:48'::timestamp) - extract(epoch from '2026-08-06 05:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816159 -3.540774)'), GeomFromEWKT('SRID=4674;POINT (-38.816027 -3.540731)'))) / (select extract(epoch from '2026-08-06 05:06:48'::timestamp) - extract(epoch from '2026-08-06 05:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.815852 -3.54068)', '2026-08-06 05:06:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816027 -3.540731)'), GeomFromEWKT('SRID=4674;POINT (-38.815852 -3.54068)'))) / (select extract(epoch from '2026-08-06 05:06:56'::timestamp) - extract(epoch from '2026-08-06 05:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816027 -3.540731)'), GeomFromEWKT('SRID=4674;POINT (-38.815852 -3.54068)'))) / (select extract(epoch from '2026-08-06 05:06:56'::timestamp) - extract(epoch from '2026-08-06 05:06: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'), 48150, 'SRID=4674;POINT (-38.815686 -3.540631)', '2026-08-06 05:07:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815852 -3.54068)'), GeomFromEWKT('SRID=4674;POINT (-38.815686 -3.540631)'))) / (select extract(epoch from '2026-08-06 05:07:04'::timestamp) - extract(epoch from '2026-08-06 05:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815852 -3.54068)'), GeomFromEWKT('SRID=4674;POINT (-38.815686 -3.540631)'))) / (select extract(epoch from '2026-08-06 05:07:04'::timestamp) - extract(epoch from '2026-08-06 05:06: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'), 48150, 'SRID=4674;POINT (-38.81551 -3.540581)', '2026-08-06 05:07:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815686 -3.540631)'), GeomFromEWKT('SRID=4674;POINT (-38.81551 -3.540581)'))) / (select extract(epoch from '2026-08-06 05:07:12'::timestamp) - extract(epoch from '2026-08-06 05:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815686 -3.540631)'), GeomFromEWKT('SRID=4674;POINT (-38.81551 -3.540581)'))) / (select extract(epoch from '2026-08-06 05:07:12'::timestamp) - extract(epoch from '2026-08-06 05:07: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'), 48150, 'SRID=4674;POINT (-38.815357 -3.540538)', '2026-08-06 05:07:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81551 -3.540581)'), GeomFromEWKT('SRID=4674;POINT (-38.815357 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:07:19'::timestamp) - extract(epoch from '2026-08-06 05:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81551 -3.540581)'), GeomFromEWKT('SRID=4674;POINT (-38.815357 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:07:19'::timestamp) - extract(epoch from '2026-08-06 05:07: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'), 48150, 'SRID=4674;POINT (-38.815186 -3.540476)', '2026-08-06 05:07:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815357 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.815186 -3.540476)'))) / (select extract(epoch from '2026-08-06 05:07:27'::timestamp) - extract(epoch from '2026-08-06 05:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815357 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.815186 -3.540476)'))) / (select extract(epoch from '2026-08-06 05:07:27'::timestamp) - extract(epoch from '2026-08-06 05:07: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'), 48150, 'SRID=4674;POINT (-38.814999 -3.540401)', '2026-08-06 05:07:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815186 -3.540476)'), GeomFromEWKT('SRID=4674;POINT (-38.814999 -3.540401)'))) / (select extract(epoch from '2026-08-06 05:07:36'::timestamp) - extract(epoch from '2026-08-06 05:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815186 -3.540476)'), GeomFromEWKT('SRID=4674;POINT (-38.814999 -3.540401)'))) / (select extract(epoch from '2026-08-06 05:07:36'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.814827 -3.540316)', '2026-08-06 05:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814999 -3.540401)'), GeomFromEWKT('SRID=4674;POINT (-38.814827 -3.540316)'))) / (select extract(epoch from '2026-08-06 05:07:45'::timestamp) - extract(epoch from '2026-08-06 05:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814999 -3.540401)'), GeomFromEWKT('SRID=4674;POINT (-38.814827 -3.540316)'))) / (select extract(epoch from '2026-08-06 05:07:45'::timestamp) - extract(epoch from '2026-08-06 05:07: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'), 48150, 'SRID=4674;POINT (-38.814684 -3.540268)', '2026-08-06 05:07:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814827 -3.540316)'), GeomFromEWKT('SRID=4674;POINT (-38.814684 -3.540268)'))) / (select extract(epoch from '2026-08-06 05:07:52'::timestamp) - extract(epoch from '2026-08-06 05:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814827 -3.540316)'), GeomFromEWKT('SRID=4674;POINT (-38.814684 -3.540268)'))) / (select extract(epoch from '2026-08-06 05:07:52'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.81449 -3.540208)', '2026-08-06 05:08:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814684 -3.540268)'), GeomFromEWKT('SRID=4674;POINT (-38.81449 -3.540208)'))) / (select extract(epoch from '2026-08-06 05:08:01'::timestamp) - extract(epoch from '2026-08-06 05:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814684 -3.540268)'), GeomFromEWKT('SRID=4674;POINT (-38.81449 -3.540208)'))) / (select extract(epoch from '2026-08-06 05:08:01'::timestamp) - extract(epoch from '2026-08-06 05:07: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'), 48150, 'SRID=4674;POINT (-38.814319 -3.540152)', '2026-08-06 05:08:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81449 -3.540208)'), GeomFromEWKT('SRID=4674;POINT (-38.814319 -3.540152)'))) / (select extract(epoch from '2026-08-06 05:08:09'::timestamp) - extract(epoch from '2026-08-06 05:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81449 -3.540208)'), GeomFromEWKT('SRID=4674;POINT (-38.814319 -3.540152)'))) / (select extract(epoch from '2026-08-06 05:08:09'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.81411 -3.540084)', '2026-08-06 05:08:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814319 -3.540152)'), GeomFromEWKT('SRID=4674;POINT (-38.81411 -3.540084)'))) / (select extract(epoch from '2026-08-06 05:08:19'::timestamp) - extract(epoch from '2026-08-06 05:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814319 -3.540152)'), GeomFromEWKT('SRID=4674;POINT (-38.81411 -3.540084)'))) / (select extract(epoch from '2026-08-06 05:08:19'::timestamp) - extract(epoch from '2026-08-06 05:08: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'), 48150, 'SRID=4674;POINT (-38.813895 -3.540004)', '2026-08-06 05:08:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81411 -3.540084)'), GeomFromEWKT('SRID=4674;POINT (-38.813895 -3.540004)'))) / (select extract(epoch from '2026-08-06 05:08:29'::timestamp) - extract(epoch from '2026-08-06 05:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81411 -3.540084)'), GeomFromEWKT('SRID=4674;POINT (-38.813895 -3.540004)'))) / (select extract(epoch from '2026-08-06 05:08:29'::timestamp) - extract(epoch from '2026-08-06 05:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.813737 -3.539936)', '2026-08-06 05:08:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813895 -3.540004)'), GeomFromEWKT('SRID=4674;POINT (-38.813737 -3.539936)'))) / (select extract(epoch from '2026-08-06 05:08:37'::timestamp) - extract(epoch from '2026-08-06 05:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813895 -3.540004)'), GeomFromEWKT('SRID=4674;POINT (-38.813737 -3.539936)'))) / (select extract(epoch from '2026-08-06 05:08:37'::timestamp) - extract(epoch from '2026-08-06 05:08: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'), 48150, 'SRID=4674;POINT (-38.813572 -3.53988)', '2026-08-06 05:08:45', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813737 -3.539936)'), GeomFromEWKT('SRID=4674;POINT (-38.813572 -3.53988)'))) / (select extract(epoch from '2026-08-06 05:08:45'::timestamp) - extract(epoch from '2026-08-06 05:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813737 -3.539936)'), GeomFromEWKT('SRID=4674;POINT (-38.813572 -3.53988)'))) / (select extract(epoch from '2026-08-06 05:08:45'::timestamp) - extract(epoch from '2026-08-06 05:08: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'), 48150, 'SRID=4674;POINT (-38.813395 -3.539837)', '2026-08-06 05:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813572 -3.53988)'), GeomFromEWKT('SRID=4674;POINT (-38.813395 -3.539837)'))) / (select extract(epoch from '2026-08-06 05:08:53'::timestamp) - extract(epoch from '2026-08-06 05:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813572 -3.53988)'), GeomFromEWKT('SRID=4674;POINT (-38.813395 -3.539837)'))) / (select extract(epoch from '2026-08-06 05:08:53'::timestamp) - extract(epoch from '2026-08-06 05:08: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'), 48150, 'SRID=4674;POINT (-38.813219 -3.539802)', '2026-08-06 05:09:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813395 -3.539837)'), GeomFromEWKT('SRID=4674;POINT (-38.813219 -3.539802)'))) / (select extract(epoch from '2026-08-06 05:09:01'::timestamp) - extract(epoch from '2026-08-06 05:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813395 -3.539837)'), GeomFromEWKT('SRID=4674;POINT (-38.813219 -3.539802)'))) / (select extract(epoch from '2026-08-06 05:09:01'::timestamp) - extract(epoch from '2026-08-06 05:08: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'), 48150, 'SRID=4674;POINT (-38.813036 -3.539764)', '2026-08-06 05:09:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813219 -3.539802)'), GeomFromEWKT('SRID=4674;POINT (-38.813036 -3.539764)'))) / (select extract(epoch from '2026-08-06 05:09:10'::timestamp) - extract(epoch from '2026-08-06 05:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813219 -3.539802)'), GeomFromEWKT('SRID=4674;POINT (-38.813036 -3.539764)'))) / (select extract(epoch from '2026-08-06 05:09:10'::timestamp) - extract(epoch from '2026-08-06 05:09: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'), 48150, 'SRID=4674;POINT (-38.812887 -3.539732)', '2026-08-06 05:09:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813036 -3.539764)'), GeomFromEWKT('SRID=4674;POINT (-38.812887 -3.539732)'))) / (select extract(epoch from '2026-08-06 05:09:17'::timestamp) - extract(epoch from '2026-08-06 05:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813036 -3.539764)'), GeomFromEWKT('SRID=4674;POINT (-38.812887 -3.539732)'))) / (select extract(epoch from '2026-08-06 05:09:17'::timestamp) - extract(epoch from '2026-08-06 05:09: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'), 48150, 'SRID=4674;POINT (-38.812735 -3.539704)', '2026-08-06 05:09:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812887 -3.539732)'), GeomFromEWKT('SRID=4674;POINT (-38.812735 -3.539704)'))) / (select extract(epoch from '2026-08-06 05:09:24'::timestamp) - extract(epoch from '2026-08-06 05:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812887 -3.539732)'), GeomFromEWKT('SRID=4674;POINT (-38.812735 -3.539704)'))) / (select extract(epoch from '2026-08-06 05:09:24'::timestamp) - extract(epoch from '2026-08-06 05:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.812606 -3.539681)', '2026-08-06 05:09:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812735 -3.539704)'), GeomFromEWKT('SRID=4674;POINT (-38.812606 -3.539681)'))) / (select extract(epoch from '2026-08-06 05:09:30'::timestamp) - extract(epoch from '2026-08-06 05:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812735 -3.539704)'), GeomFromEWKT('SRID=4674;POINT (-38.812606 -3.539681)'))) / (select extract(epoch from '2026-08-06 05:09:30'::timestamp) - extract(epoch from '2026-08-06 05:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.812434 -3.539643)', '2026-08-06 05:09:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812606 -3.539681)'), GeomFromEWKT('SRID=4674;POINT (-38.812434 -3.539643)'))) / (select extract(epoch from '2026-08-06 05:09:38'::timestamp) - extract(epoch from '2026-08-06 05:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812606 -3.539681)'), GeomFromEWKT('SRID=4674;POINT (-38.812434 -3.539643)'))) / (select extract(epoch from '2026-08-06 05:09:38'::timestamp) - extract(epoch from '2026-08-06 05:09: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'), 48150, 'SRID=4674;POINT (-38.81229 -3.539608)', '2026-08-06 05:09:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812434 -3.539643)'), GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.539608)'))) / (select extract(epoch from '2026-08-06 05:09:45'::timestamp) - extract(epoch from '2026-08-06 05:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812434 -3.539643)'), GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.539608)'))) / (select extract(epoch from '2026-08-06 05:09:45'::timestamp) - extract(epoch from '2026-08-06 05:09: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'), 48150, 'SRID=4674;POINT (-38.812157 -3.53959)', '2026-08-06 05:09:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.539608)'), GeomFromEWKT('SRID=4674;POINT (-38.812157 -3.53959)'))) / (select extract(epoch from '2026-08-06 05:09:51'::timestamp) - extract(epoch from '2026-08-06 05:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.539608)'), GeomFromEWKT('SRID=4674;POINT (-38.812157 -3.53959)'))) / (select extract(epoch from '2026-08-06 05:09:51'::timestamp) - extract(epoch from '2026-08-06 05:09: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'), 48150, 'SRID=4674;POINT (-38.812031 -3.539585)', '2026-08-06 05:09:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812157 -3.53959)'), GeomFromEWKT('SRID=4674;POINT (-38.812031 -3.539585)'))) / (select extract(epoch from '2026-08-06 05:09:57'::timestamp) - extract(epoch from '2026-08-06 05:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812157 -3.53959)'), GeomFromEWKT('SRID=4674;POINT (-38.812031 -3.539585)'))) / (select extract(epoch from '2026-08-06 05:09:57'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.811904 -3.539588)', '2026-08-06 05:10:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812031 -3.539585)'), GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.539588)'))) / (select extract(epoch from '2026-08-06 05:10:03'::timestamp) - extract(epoch from '2026-08-06 05:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812031 -3.539585)'), GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.539588)'))) / (select extract(epoch from '2026-08-06 05:10:03'::timestamp) - extract(epoch from '2026-08-06 05:09: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'), 48150, 'SRID=4674;POINT (-38.811774 -3.539592)', '2026-08-06 05:10:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.539588)'), GeomFromEWKT('SRID=4674;POINT (-38.811774 -3.539592)'))) / (select extract(epoch from '2026-08-06 05:10:09'::timestamp) - extract(epoch from '2026-08-06 05:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.539588)'), GeomFromEWKT('SRID=4674;POINT (-38.811774 -3.539592)'))) / (select extract(epoch from '2026-08-06 05:10:09'::timestamp) - extract(epoch from '2026-08-06 05:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.811621 -3.539583)', '2026-08-06 05:10:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811774 -3.539592)'), GeomFromEWKT('SRID=4674;POINT (-38.811621 -3.539583)'))) / (select extract(epoch from '2026-08-06 05:10:16'::timestamp) - extract(epoch from '2026-08-06 05:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811774 -3.539592)'), GeomFromEWKT('SRID=4674;POINT (-38.811621 -3.539583)'))) / (select extract(epoch from '2026-08-06 05:10:16'::timestamp) - extract(epoch from '2026-08-06 05:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.811452 -3.539578)', '2026-08-06 05:10:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811621 -3.539583)'), GeomFromEWKT('SRID=4674;POINT (-38.811452 -3.539578)'))) / (select extract(epoch from '2026-08-06 05:10:24'::timestamp) - extract(epoch from '2026-08-06 05:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811621 -3.539583)'), GeomFromEWKT('SRID=4674;POINT (-38.811452 -3.539578)'))) / (select extract(epoch from '2026-08-06 05:10:24'::timestamp) - extract(epoch from '2026-08-06 05:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.811298 -3.539583)', '2026-08-06 05:10:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811452 -3.539578)'), GeomFromEWKT('SRID=4674;POINT (-38.811298 -3.539583)'))) / (select extract(epoch from '2026-08-06 05:10:31'::timestamp) - extract(epoch from '2026-08-06 05:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811452 -3.539578)'), GeomFromEWKT('SRID=4674;POINT (-38.811298 -3.539583)'))) / (select extract(epoch from '2026-08-06 05:10:31'::timestamp) - extract(epoch from '2026-08-06 05:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.811133 -3.5396)', '2026-08-06 05:10:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811298 -3.539583)'), GeomFromEWKT('SRID=4674;POINT (-38.811133 -3.5396)'))) / (select extract(epoch from '2026-08-06 05:10:39'::timestamp) - extract(epoch from '2026-08-06 05:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811298 -3.539583)'), GeomFromEWKT('SRID=4674;POINT (-38.811133 -3.5396)'))) / (select extract(epoch from '2026-08-06 05:10:39'::timestamp) - extract(epoch from '2026-08-06 05:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.811 -3.539601)', '2026-08-06 05:10:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811133 -3.5396)'), GeomFromEWKT('SRID=4674;POINT (-38.811 -3.539601)'))) / (select extract(epoch from '2026-08-06 05:10:45'::timestamp) - extract(epoch from '2026-08-06 05:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811133 -3.5396)'), GeomFromEWKT('SRID=4674;POINT (-38.811 -3.539601)'))) / (select extract(epoch from '2026-08-06 05:10:45'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.810865 -3.539597)', '2026-08-06 05:10:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811 -3.539601)'), GeomFromEWKT('SRID=4674;POINT (-38.810865 -3.539597)'))) / (select extract(epoch from '2026-08-06 05:10:51'::timestamp) - extract(epoch from '2026-08-06 05:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811 -3.539601)'), GeomFromEWKT('SRID=4674;POINT (-38.810865 -3.539597)'))) / (select extract(epoch from '2026-08-06 05:10:51'::timestamp) - extract(epoch from '2026-08-06 05:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.810727 -3.539592)', '2026-08-06 05:10:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810865 -3.539597)'), GeomFromEWKT('SRID=4674;POINT (-38.810727 -3.539592)'))) / (select extract(epoch from '2026-08-06 05:10:57'::timestamp) - extract(epoch from '2026-08-06 05:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810865 -3.539597)'), GeomFromEWKT('SRID=4674;POINT (-38.810727 -3.539592)'))) / (select extract(epoch from '2026-08-06 05:10:57'::timestamp) - extract(epoch from '2026-08-06 05:10: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'), 48150, 'SRID=4674;POINT (-38.810575 -3.539593)', '2026-08-06 05:11:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810727 -3.539592)'), GeomFromEWKT('SRID=4674;POINT (-38.810575 -3.539593)'))) / (select extract(epoch from '2026-08-06 05:11:04'::timestamp) - extract(epoch from '2026-08-06 05:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810727 -3.539592)'), GeomFromEWKT('SRID=4674;POINT (-38.810575 -3.539593)'))) / (select extract(epoch from '2026-08-06 05:11:04'::timestamp) - extract(epoch from '2026-08-06 05:10: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'), 48150, 'SRID=4674;POINT (-38.810426 -3.539601)', '2026-08-06 05:11:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810575 -3.539593)'), GeomFromEWKT('SRID=4674;POINT (-38.810426 -3.539601)'))) / (select extract(epoch from '2026-08-06 05:11:11'::timestamp) - extract(epoch from '2026-08-06 05:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810575 -3.539593)'), GeomFromEWKT('SRID=4674;POINT (-38.810426 -3.539601)'))) / (select extract(epoch from '2026-08-06 05:11:11'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.810257 -3.539622)', '2026-08-06 05:11:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810426 -3.539601)'), GeomFromEWKT('SRID=4674;POINT (-38.810257 -3.539622)'))) / (select extract(epoch from '2026-08-06 05:11:20'::timestamp) - extract(epoch from '2026-08-06 05:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810426 -3.539601)'), GeomFromEWKT('SRID=4674;POINT (-38.810257 -3.539622)'))) / (select extract(epoch from '2026-08-06 05:11:20'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.810108 -3.539612)', '2026-08-06 05:11:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810257 -3.539622)'), GeomFromEWKT('SRID=4674;POINT (-38.810108 -3.539612)'))) / (select extract(epoch from '2026-08-06 05:11:27'::timestamp) - extract(epoch from '2026-08-06 05:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810257 -3.539622)'), GeomFromEWKT('SRID=4674;POINT (-38.810108 -3.539612)'))) / (select extract(epoch from '2026-08-06 05:11:27'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.809937 -3.539609)', '2026-08-06 05:11:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810108 -3.539612)'), GeomFromEWKT('SRID=4674;POINT (-38.809937 -3.539609)'))) / (select extract(epoch from '2026-08-06 05:11:35'::timestamp) - extract(epoch from '2026-08-06 05:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810108 -3.539612)'), GeomFromEWKT('SRID=4674;POINT (-38.809937 -3.539609)'))) / (select extract(epoch from '2026-08-06 05:11:35'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.809769 -3.539618)', '2026-08-06 05:11:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809937 -3.539609)'), GeomFromEWKT('SRID=4674;POINT (-38.809769 -3.539618)'))) / (select extract(epoch from '2026-08-06 05:11:43'::timestamp) - extract(epoch from '2026-08-06 05:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809937 -3.539609)'), GeomFromEWKT('SRID=4674;POINT (-38.809769 -3.539618)'))) / (select extract(epoch from '2026-08-06 05:11:43'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.809623 -3.539634)', '2026-08-06 05:11:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809769 -3.539618)'), GeomFromEWKT('SRID=4674;POINT (-38.809623 -3.539634)'))) / (select extract(epoch from '2026-08-06 05:11:50'::timestamp) - extract(epoch from '2026-08-06 05:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809769 -3.539618)'), GeomFromEWKT('SRID=4674;POINT (-38.809623 -3.539634)'))) / (select extract(epoch from '2026-08-06 05:11:50'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.809522 -3.539642)', '2026-08-06 05:11:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809623 -3.539634)'), GeomFromEWKT('SRID=4674;POINT (-38.809522 -3.539642)'))) / (select extract(epoch from '2026-08-06 05:11:55'::timestamp) - extract(epoch from '2026-08-06 05:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809623 -3.539634)'), GeomFromEWKT('SRID=4674;POINT (-38.809522 -3.539642)'))) / (select extract(epoch from '2026-08-06 05:11:55'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.809405 -3.539646)', '2026-08-06 05:12:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809522 -3.539642)'), GeomFromEWKT('SRID=4674;POINT (-38.809405 -3.539646)'))) / (select extract(epoch from '2026-08-06 05:12:01'::timestamp) - extract(epoch from '2026-08-06 05:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809522 -3.539642)'), GeomFromEWKT('SRID=4674;POINT (-38.809405 -3.539646)'))) / (select extract(epoch from '2026-08-06 05:12:01'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48150, 'SRID=4674;POINT (-38.809282 -3.539645)', '2026-08-06 05:12:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809405 -3.539646)'), GeomFromEWKT('SRID=4674;POINT (-38.809282 -3.539645)'))) / (select extract(epoch from '2026-08-06 05:12:07'::timestamp) - extract(epoch from '2026-08-06 05:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809405 -3.539646)'), GeomFromEWKT('SRID=4674;POINT (-38.809282 -3.539645)'))) / (select extract(epoch from '2026-08-06 05:12:07'::timestamp) - extract(epoch from '2026-08-06 05:12: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'), 48150, 'SRID=4674;POINT (-38.809118 -3.539655)', '2026-08-06 05:12:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809282 -3.539645)'), GeomFromEWKT('SRID=4674;POINT (-38.809118 -3.539655)'))) / (select extract(epoch from '2026-08-06 05:12:15'::timestamp) - extract(epoch from '2026-08-06 05:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809282 -3.539645)'), GeomFromEWKT('SRID=4674;POINT (-38.809118 -3.539655)'))) / (select extract(epoch from '2026-08-06 05:12:15'::timestamp) - extract(epoch from '2026-08-06 05:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.808995 -3.539656)', '2026-08-06 05:12:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809118 -3.539655)'), GeomFromEWKT('SRID=4674;POINT (-38.808995 -3.539656)'))) / (select extract(epoch from '2026-08-06 05:12:21'::timestamp) - extract(epoch from '2026-08-06 05:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809118 -3.539655)'), GeomFromEWKT('SRID=4674;POINT (-38.808995 -3.539656)'))) / (select extract(epoch from '2026-08-06 05:12:21'::timestamp) - extract(epoch from '2026-08-06 05:12: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'), 48150, 'SRID=4674;POINT (-38.808811 -3.539673)', '2026-08-06 05:12:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808995 -3.539656)'), GeomFromEWKT('SRID=4674;POINT (-38.808811 -3.539673)'))) / (select extract(epoch from '2026-08-06 05:12:30'::timestamp) - extract(epoch from '2026-08-06 05:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808995 -3.539656)'), GeomFromEWKT('SRID=4674;POINT (-38.808811 -3.539673)'))) / (select extract(epoch from '2026-08-06 05:12:30'::timestamp) - extract(epoch from '2026-08-06 05:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.808672 -3.539684)', '2026-08-06 05:12:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808811 -3.539673)'), GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.539684)'))) / (select extract(epoch from '2026-08-06 05:12:37'::timestamp) - extract(epoch from '2026-08-06 05:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808811 -3.539673)'), GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.539684)'))) / (select extract(epoch from '2026-08-06 05:12:37'::timestamp) - extract(epoch from '2026-08-06 05:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.808528 -3.539677)', '2026-08-06 05:12:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.539684)'), GeomFromEWKT('SRID=4674;POINT (-38.808528 -3.539677)'))) / (select extract(epoch from '2026-08-06 05:12:44'::timestamp) - extract(epoch from '2026-08-06 05:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.539684)'), GeomFromEWKT('SRID=4674;POINT (-38.808528 -3.539677)'))) / (select extract(epoch from '2026-08-06 05:12:44'::timestamp) - extract(epoch from '2026-08-06 05:12: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'), 48150, 'SRID=4674;POINT (-38.808378 -3.539694)', '2026-08-06 05:12:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808528 -3.539677)'), GeomFromEWKT('SRID=4674;POINT (-38.808378 -3.539694)'))) / (select extract(epoch from '2026-08-06 05:12:51'::timestamp) - extract(epoch from '2026-08-06 05:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808528 -3.539677)'), GeomFromEWKT('SRID=4674;POINT (-38.808378 -3.539694)'))) / (select extract(epoch from '2026-08-06 05:12:51'::timestamp) - extract(epoch from '2026-08-06 05:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.808249 -3.539711)', '2026-08-06 05:12:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808378 -3.539694)'), GeomFromEWKT('SRID=4674;POINT (-38.808249 -3.539711)'))) / (select extract(epoch from '2026-08-06 05:12:57'::timestamp) - extract(epoch from '2026-08-06 05:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808378 -3.539694)'), GeomFromEWKT('SRID=4674;POINT (-38.808249 -3.539711)'))) / (select extract(epoch from '2026-08-06 05:12:57'::timestamp) - extract(epoch from '2026-08-06 05:12:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.808108 -3.539744)', '2026-08-06 05:13:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808249 -3.539711)'), GeomFromEWKT('SRID=4674;POINT (-38.808108 -3.539744)'))) / (select extract(epoch from '2026-08-06 05:13:04'::timestamp) - extract(epoch from '2026-08-06 05:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808249 -3.539711)'), GeomFromEWKT('SRID=4674;POINT (-38.808108 -3.539744)'))) / (select extract(epoch from '2026-08-06 05:13:04'::timestamp) - extract(epoch from '2026-08-06 05:12: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'), 48150, 'SRID=4674;POINT (-38.807988 -3.539781)', '2026-08-06 05:13:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808108 -3.539744)'), GeomFromEWKT('SRID=4674;POINT (-38.807988 -3.539781)'))) / (select extract(epoch from '2026-08-06 05:13:10'::timestamp) - extract(epoch from '2026-08-06 05:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808108 -3.539744)'), GeomFromEWKT('SRID=4674;POINT (-38.807988 -3.539781)'))) / (select extract(epoch from '2026-08-06 05:13:10'::timestamp) - extract(epoch from '2026-08-06 05:13: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'), 48150, 'SRID=4674;POINT (-38.807851 -3.53983)', '2026-08-06 05:13:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807988 -3.539781)'), GeomFromEWKT('SRID=4674;POINT (-38.807851 -3.53983)'))) / (select extract(epoch from '2026-08-06 05:13:17'::timestamp) - extract(epoch from '2026-08-06 05:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807988 -3.539781)'), GeomFromEWKT('SRID=4674;POINT (-38.807851 -3.53983)'))) / (select extract(epoch from '2026-08-06 05:13:17'::timestamp) - extract(epoch from '2026-08-06 05:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.807712 -3.539863)', '2026-08-06 05:13:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807851 -3.53983)'), GeomFromEWKT('SRID=4674;POINT (-38.807712 -3.539863)'))) / (select extract(epoch from '2026-08-06 05:13:24'::timestamp) - extract(epoch from '2026-08-06 05:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807851 -3.53983)'), GeomFromEWKT('SRID=4674;POINT (-38.807712 -3.539863)'))) / (select extract(epoch from '2026-08-06 05:13:24'::timestamp) - extract(epoch from '2026-08-06 05:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.807591 -3.53989)', '2026-08-06 05:13:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807712 -3.539863)'), GeomFromEWKT('SRID=4674;POINT (-38.807591 -3.53989)'))) / (select extract(epoch from '2026-08-06 05:13:30'::timestamp) - extract(epoch from '2026-08-06 05:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807712 -3.539863)'), GeomFromEWKT('SRID=4674;POINT (-38.807591 -3.53989)'))) / (select extract(epoch from '2026-08-06 05:13:30'::timestamp) - extract(epoch from '2026-08-06 05:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.807478 -3.53991)', '2026-08-06 05:13:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807591 -3.53989)'), GeomFromEWKT('SRID=4674;POINT (-38.807478 -3.53991)'))) / (select extract(epoch from '2026-08-06 05:13:36'::timestamp) - extract(epoch from '2026-08-06 05:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807591 -3.53989)'), GeomFromEWKT('SRID=4674;POINT (-38.807478 -3.53991)'))) / (select extract(epoch from '2026-08-06 05:13:36'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.80732 -3.539957)', '2026-08-06 05:13:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807478 -3.53991)'), GeomFromEWKT('SRID=4674;POINT (-38.80732 -3.539957)'))) / (select extract(epoch from '2026-08-06 05:13:44'::timestamp) - extract(epoch from '2026-08-06 05:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807478 -3.53991)'), GeomFromEWKT('SRID=4674;POINT (-38.80732 -3.539957)'))) / (select extract(epoch from '2026-08-06 05:13:44'::timestamp) - extract(epoch from '2026-08-06 05:13: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'), 48150, 'SRID=4674;POINT (-38.807217 -3.539983)', '2026-08-06 05:13:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80732 -3.539957)'), GeomFromEWKT('SRID=4674;POINT (-38.807217 -3.539983)'))) / (select extract(epoch from '2026-08-06 05:13:49'::timestamp) - extract(epoch from '2026-08-06 05:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80732 -3.539957)'), GeomFromEWKT('SRID=4674;POINT (-38.807217 -3.539983)'))) / (select extract(epoch from '2026-08-06 05:13:49'::timestamp) - extract(epoch from '2026-08-06 05:13: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'), 48150, 'SRID=4674;POINT (-38.80707 -3.540002)', '2026-08-06 05:13:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807217 -3.539983)'), GeomFromEWKT('SRID=4674;POINT (-38.80707 -3.540002)'))) / (select extract(epoch from '2026-08-06 05:13:56'::timestamp) - extract(epoch from '2026-08-06 05:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807217 -3.539983)'), GeomFromEWKT('SRID=4674;POINT (-38.80707 -3.540002)'))) / (select extract(epoch from '2026-08-06 05:13:56'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.806929 -3.540007)', '2026-08-06 05:14:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80707 -3.540002)'), GeomFromEWKT('SRID=4674;POINT (-38.806929 -3.540007)'))) / (select extract(epoch from '2026-08-06 05:14:03'::timestamp) - extract(epoch from '2026-08-06 05:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80707 -3.540002)'), GeomFromEWKT('SRID=4674;POINT (-38.806929 -3.540007)'))) / (select extract(epoch from '2026-08-06 05:14:03'::timestamp) - extract(epoch from '2026-08-06 05:13: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'), 48150, 'SRID=4674;POINT (-38.80681 -3.540011)', '2026-08-06 05:14:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806929 -3.540007)'), GeomFromEWKT('SRID=4674;POINT (-38.80681 -3.540011)'))) / (select extract(epoch from '2026-08-06 05:14:09'::timestamp) - extract(epoch from '2026-08-06 05:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806929 -3.540007)'), GeomFromEWKT('SRID=4674;POINT (-38.80681 -3.540011)'))) / (select extract(epoch from '2026-08-06 05:14:09'::timestamp) - extract(epoch from '2026-08-06 05:14: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'), 48150, 'SRID=4674;POINT (-38.806685 -3.54001)', '2026-08-06 05:14:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80681 -3.540011)'), GeomFromEWKT('SRID=4674;POINT (-38.806685 -3.54001)'))) / (select extract(epoch from '2026-08-06 05:14:15'::timestamp) - extract(epoch from '2026-08-06 05:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80681 -3.540011)'), GeomFromEWKT('SRID=4674;POINT (-38.806685 -3.54001)'))) / (select extract(epoch from '2026-08-06 05:14:15'::timestamp) - extract(epoch from '2026-08-06 05:14: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'), 48150, 'SRID=4674;POINT (-38.806533 -3.540013)', '2026-08-06 05:14:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806685 -3.54001)'), GeomFromEWKT('SRID=4674;POINT (-38.806533 -3.540013)'))) / (select extract(epoch from '2026-08-06 05:14:22'::timestamp) - extract(epoch from '2026-08-06 05:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806685 -3.54001)'), GeomFromEWKT('SRID=4674;POINT (-38.806533 -3.540013)'))) / (select extract(epoch from '2026-08-06 05:14:22'::timestamp) - extract(epoch from '2026-08-06 05:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80641 -3.540033)', '2026-08-06 05:14:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806533 -3.540013)'), GeomFromEWKT('SRID=4674;POINT (-38.80641 -3.540033)'))) / (select extract(epoch from '2026-08-06 05:14:28'::timestamp) - extract(epoch from '2026-08-06 05:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806533 -3.540013)'), GeomFromEWKT('SRID=4674;POINT (-38.80641 -3.540033)'))) / (select extract(epoch from '2026-08-06 05:14:28'::timestamp) - extract(epoch from '2026-08-06 05:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.806308 -3.540049)', '2026-08-06 05:14:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80641 -3.540033)'), GeomFromEWKT('SRID=4674;POINT (-38.806308 -3.540049)'))) / (select extract(epoch from '2026-08-06 05:14:33'::timestamp) - extract(epoch from '2026-08-06 05:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80641 -3.540033)'), GeomFromEWKT('SRID=4674;POINT (-38.806308 -3.540049)'))) / (select extract(epoch from '2026-08-06 05:14:33'::timestamp) - extract(epoch from '2026-08-06 05:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.806162 -3.540077)', '2026-08-06 05:14:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806308 -3.540049)'), GeomFromEWKT('SRID=4674;POINT (-38.806162 -3.540077)'))) / (select extract(epoch from '2026-08-06 05:14:40'::timestamp) - extract(epoch from '2026-08-06 05:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806308 -3.540049)'), GeomFromEWKT('SRID=4674;POINT (-38.806162 -3.540077)'))) / (select extract(epoch from '2026-08-06 05:14:40'::timestamp) - extract(epoch from '2026-08-06 05:14: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'), 48150, 'SRID=4674;POINT (-38.806042 -3.540105)', '2026-08-06 05:14:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806162 -3.540077)'), GeomFromEWKT('SRID=4674;POINT (-38.806042 -3.540105)'))) / (select extract(epoch from '2026-08-06 05:14:46'::timestamp) - extract(epoch from '2026-08-06 05:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806162 -3.540077)'), GeomFromEWKT('SRID=4674;POINT (-38.806042 -3.540105)'))) / (select extract(epoch from '2026-08-06 05:14:46'::timestamp) - extract(epoch from '2026-08-06 05:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.805922 -3.540118)', '2026-08-06 05:14:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806042 -3.540105)'), GeomFromEWKT('SRID=4674;POINT (-38.805922 -3.540118)'))) / (select extract(epoch from '2026-08-06 05:14:52'::timestamp) - extract(epoch from '2026-08-06 05:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806042 -3.540105)'), GeomFromEWKT('SRID=4674;POINT (-38.805922 -3.540118)'))) / (select extract(epoch from '2026-08-06 05:14:52'::timestamp) - extract(epoch from '2026-08-06 05:14: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'), 48150, 'SRID=4674;POINT (-38.8058 -3.540149)', '2026-08-06 05:14:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805922 -3.540118)'), GeomFromEWKT('SRID=4674;POINT (-38.8058 -3.540149)'))) / (select extract(epoch from '2026-08-06 05:14:58'::timestamp) - extract(epoch from '2026-08-06 05:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805922 -3.540118)'), GeomFromEWKT('SRID=4674;POINT (-38.8058 -3.540149)'))) / (select extract(epoch from '2026-08-06 05:14:58'::timestamp) - extract(epoch from '2026-08-06 05:14: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'), 48150, 'SRID=4674;POINT (-38.805681 -3.540193)', '2026-08-06 05:15:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8058 -3.540149)'), GeomFromEWKT('SRID=4674;POINT (-38.805681 -3.540193)'))) / (select extract(epoch from '2026-08-06 05:15:04'::timestamp) - extract(epoch from '2026-08-06 05:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8058 -3.540149)'), GeomFromEWKT('SRID=4674;POINT (-38.805681 -3.540193)'))) / (select extract(epoch from '2026-08-06 05:15:04'::timestamp) - extract(epoch from '2026-08-06 05:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.805561 -3.540235)', '2026-08-06 05:15:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805681 -3.540193)'), GeomFromEWKT('SRID=4674;POINT (-38.805561 -3.540235)'))) / (select extract(epoch from '2026-08-06 05:15:10'::timestamp) - extract(epoch from '2026-08-06 05:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805681 -3.540193)'), GeomFromEWKT('SRID=4674;POINT (-38.805561 -3.540235)'))) / (select extract(epoch from '2026-08-06 05:15:10'::timestamp) - extract(epoch from '2026-08-06 05:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.805442 -3.540282)', '2026-08-06 05:15:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805561 -3.540235)'), GeomFromEWKT('SRID=4674;POINT (-38.805442 -3.540282)'))) / (select extract(epoch from '2026-08-06 05:15:16'::timestamp) - extract(epoch from '2026-08-06 05:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805561 -3.540235)'), GeomFromEWKT('SRID=4674;POINT (-38.805442 -3.540282)'))) / (select extract(epoch from '2026-08-06 05:15:16'::timestamp) - extract(epoch from '2026-08-06 05:15: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'), 48150, 'SRID=4674;POINT (-38.805323 -3.540326)', '2026-08-06 05:15:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805442 -3.540282)'), GeomFromEWKT('SRID=4674;POINT (-38.805323 -3.540326)'))) / (select extract(epoch from '2026-08-06 05:15:22'::timestamp) - extract(epoch from '2026-08-06 05:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805442 -3.540282)'), GeomFromEWKT('SRID=4674;POINT (-38.805323 -3.540326)'))) / (select extract(epoch from '2026-08-06 05:15:22'::timestamp) - extract(epoch from '2026-08-06 05:15: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'), 48150, 'SRID=4674;POINT (-38.8052 -3.540335)', '2026-08-06 05:15:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805323 -3.540326)'), GeomFromEWKT('SRID=4674;POINT (-38.8052 -3.540335)'))) / (select extract(epoch from '2026-08-06 05:15:28'::timestamp) - extract(epoch from '2026-08-06 05:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805323 -3.540326)'), GeomFromEWKT('SRID=4674;POINT (-38.8052 -3.540335)'))) / (select extract(epoch from '2026-08-06 05:15:28'::timestamp) - extract(epoch from '2026-08-06 05:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.805082 -3.540319)', '2026-08-06 05:15:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8052 -3.540335)'), GeomFromEWKT('SRID=4674;POINT (-38.805082 -3.540319)'))) / (select extract(epoch from '2026-08-06 05:15:34'::timestamp) - extract(epoch from '2026-08-06 05:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8052 -3.540335)'), GeomFromEWKT('SRID=4674;POINT (-38.805082 -3.540319)'))) / (select extract(epoch from '2026-08-06 05:15:34'::timestamp) - extract(epoch from '2026-08-06 05:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80498 -3.540287)', '2026-08-06 05:15:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805082 -3.540319)'), GeomFromEWKT('SRID=4674;POINT (-38.80498 -3.540287)'))) / (select extract(epoch from '2026-08-06 05:15:39'::timestamp) - extract(epoch from '2026-08-06 05:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805082 -3.540319)'), GeomFromEWKT('SRID=4674;POINT (-38.80498 -3.540287)'))) / (select extract(epoch from '2026-08-06 05:15:39'::timestamp) - extract(epoch from '2026-08-06 05:15: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'), 48150, 'SRID=4674;POINT (-38.804877 -3.540247)', '2026-08-06 05:15:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80498 -3.540287)'), GeomFromEWKT('SRID=4674;POINT (-38.804877 -3.540247)'))) / (select extract(epoch from '2026-08-06 05:15:44'::timestamp) - extract(epoch from '2026-08-06 05:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80498 -3.540287)'), GeomFromEWKT('SRID=4674;POINT (-38.804877 -3.540247)'))) / (select extract(epoch from '2026-08-06 05:15:44'::timestamp) - extract(epoch from '2026-08-06 05:15: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'), 48150, 'SRID=4674;POINT (-38.80473 -3.540222)', '2026-08-06 05:15:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804877 -3.540247)'), GeomFromEWKT('SRID=4674;POINT (-38.80473 -3.540222)'))) / (select extract(epoch from '2026-08-06 05:15:51'::timestamp) - extract(epoch from '2026-08-06 05:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804877 -3.540247)'), GeomFromEWKT('SRID=4674;POINT (-38.80473 -3.540222)'))) / (select extract(epoch from '2026-08-06 05:15:51'::timestamp) - extract(epoch from '2026-08-06 05:15: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'), 48150, 'SRID=4674;POINT (-38.804603 -3.540218)', '2026-08-06 05:15:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80473 -3.540222)'), GeomFromEWKT('SRID=4674;POINT (-38.804603 -3.540218)'))) / (select extract(epoch from '2026-08-06 05:15:57'::timestamp) - extract(epoch from '2026-08-06 05:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80473 -3.540222)'), GeomFromEWKT('SRID=4674;POINT (-38.804603 -3.540218)'))) / (select extract(epoch from '2026-08-06 05:15:57'::timestamp) - extract(epoch from '2026-08-06 05:15: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'), 48150, 'SRID=4674;POINT (-38.80449 -3.5402)', '2026-08-06 05:16:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804603 -3.540218)'), GeomFromEWKT('SRID=4674;POINT (-38.80449 -3.5402)'))) / (select extract(epoch from '2026-08-06 05:16:03'::timestamp) - extract(epoch from '2026-08-06 05:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804603 -3.540218)'), GeomFromEWKT('SRID=4674;POINT (-38.80449 -3.5402)'))) / (select extract(epoch from '2026-08-06 05:16:03'::timestamp) - extract(epoch from '2026-08-06 05:15: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'), 48150, 'SRID=4674;POINT (-38.804408 -3.540224)', '2026-08-06 05:16:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80449 -3.5402)'), GeomFromEWKT('SRID=4674;POINT (-38.804408 -3.540224)'))) / (select extract(epoch from '2026-08-06 05:16:08'::timestamp) - extract(epoch from '2026-08-06 05:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80449 -3.5402)'), GeomFromEWKT('SRID=4674;POINT (-38.804408 -3.540224)'))) / (select extract(epoch from '2026-08-06 05:16:08'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.804314 -3.540249)', '2026-08-06 05:16:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804408 -3.540224)'), GeomFromEWKT('SRID=4674;POINT (-38.804314 -3.540249)'))) / (select extract(epoch from '2026-08-06 05:16:13'::timestamp) - extract(epoch from '2026-08-06 05:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804408 -3.540224)'), GeomFromEWKT('SRID=4674;POINT (-38.804314 -3.540249)'))) / (select extract(epoch from '2026-08-06 05:16:13'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.804217 -3.540249)', '2026-08-06 05:16:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804314 -3.540249)'), GeomFromEWKT('SRID=4674;POINT (-38.804217 -3.540249)'))) / (select extract(epoch from '2026-08-06 05:16:18'::timestamp) - extract(epoch from '2026-08-06 05:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804314 -3.540249)'), GeomFromEWKT('SRID=4674;POINT (-38.804217 -3.540249)'))) / (select extract(epoch from '2026-08-06 05:16:18'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.80412 -3.540268)', '2026-08-06 05:16:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804217 -3.540249)'), GeomFromEWKT('SRID=4674;POINT (-38.80412 -3.540268)'))) / (select extract(epoch from '2026-08-06 05:16:23'::timestamp) - extract(epoch from '2026-08-06 05:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804217 -3.540249)'), GeomFromEWKT('SRID=4674;POINT (-38.80412 -3.540268)'))) / (select extract(epoch from '2026-08-06 05:16:23'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.804021 -3.540299)', '2026-08-06 05:16:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80412 -3.540268)'), GeomFromEWKT('SRID=4674;POINT (-38.804021 -3.540299)'))) / (select extract(epoch from '2026-08-06 05:16:30'::timestamp) - extract(epoch from '2026-08-06 05:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80412 -3.540268)'), GeomFromEWKT('SRID=4674;POINT (-38.804021 -3.540299)'))) / (select extract(epoch from '2026-08-06 05:16:30'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.803974 -3.540343)', '2026-08-06 05:16:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804021 -3.540299)'), GeomFromEWKT('SRID=4674;POINT (-38.803974 -3.540343)'))) / (select extract(epoch from '2026-08-06 05:16:34'::timestamp) - extract(epoch from '2026-08-06 05:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804021 -3.540299)'), GeomFromEWKT('SRID=4674;POINT (-38.803974 -3.540343)'))) / (select extract(epoch from '2026-08-06 05:16:34'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.803948 -3.54039)', '2026-08-06 05:16:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803974 -3.540343)'), GeomFromEWKT('SRID=4674;POINT (-38.803948 -3.54039)'))) / (select extract(epoch from '2026-08-06 05:16:37'::timestamp) - extract(epoch from '2026-08-06 05:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803974 -3.540343)'), GeomFromEWKT('SRID=4674;POINT (-38.803948 -3.54039)'))) / (select extract(epoch from '2026-08-06 05:16:37'::timestamp) - extract(epoch from '2026-08-06 05:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803882 -3.540511)', '2026-08-06 05:16:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803948 -3.54039)'), GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:16:43'::timestamp) - extract(epoch from '2026-08-06 05:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803948 -3.54039)'), GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:16:43'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803833 -3.540634)', '2026-08-06 05:16:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803833 -3.540634)'))) / (select extract(epoch from '2026-08-06 05:16:49'::timestamp) - extract(epoch from '2026-08-06 05:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803833 -3.540634)'))) / (select extract(epoch from '2026-08-06 05:16:49'::timestamp) - extract(epoch from '2026-08-06 05:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803834 -3.540651)', '2026-08-06 05:16:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803833 -3.540634)'), GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540651)'))) / (select extract(epoch from '2026-08-06 05:16:50'::timestamp) - extract(epoch from '2026-08-06 05:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803833 -3.540634)'), GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540651)'))) / (select extract(epoch from '2026-08-06 05:16:50'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.803829 -3.540668)', '2026-08-06 05:16:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540651)'), GeomFromEWKT('SRID=4674;POINT (-38.803829 -3.540668)'))) / (select extract(epoch from '2026-08-06 05:16:51'::timestamp) - extract(epoch from '2026-08-06 05:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540651)'), GeomFromEWKT('SRID=4674;POINT (-38.803829 -3.540668)'))) / (select extract(epoch from '2026-08-06 05:16:51'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.803785 -3.540712)', '2026-08-06 05:16:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803829 -3.540668)'), GeomFromEWKT('SRID=4674;POINT (-38.803785 -3.540712)'))) / (select extract(epoch from '2026-08-06 05:16:54'::timestamp) - extract(epoch from '2026-08-06 05:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803829 -3.540668)'), GeomFromEWKT('SRID=4674;POINT (-38.803785 -3.540712)'))) / (select extract(epoch from '2026-08-06 05:16:54'::timestamp) - extract(epoch from '2026-08-06 05:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803687 -3.54078)', '2026-08-06 05:17:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803785 -3.540712)'), GeomFromEWKT('SRID=4674;POINT (-38.803687 -3.54078)'))) / (select extract(epoch from '2026-08-06 05:17:00'::timestamp) - extract(epoch from '2026-08-06 05:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803785 -3.540712)'), GeomFromEWKT('SRID=4674;POINT (-38.803687 -3.54078)'))) / (select extract(epoch from '2026-08-06 05:17:00'::timestamp) - extract(epoch from '2026-08-06 05:16: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'), 48150, 'SRID=4674;POINT (-38.80362 -3.54084)', '2026-08-06 05:17:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803687 -3.54078)'), GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.54084)'))) / (select extract(epoch from '2026-08-06 05:17:05'::timestamp) - extract(epoch from '2026-08-06 05:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803687 -3.54078)'), GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.54084)'))) / (select extract(epoch from '2026-08-06 05:17:05'::timestamp) - extract(epoch from '2026-08-06 05:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803515 -3.540916)', '2026-08-06 05:17:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.54084)'), GeomFromEWKT('SRID=4674;POINT (-38.803515 -3.540916)'))) / (select extract(epoch from '2026-08-06 05:17:12'::timestamp) - extract(epoch from '2026-08-06 05:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.54084)'), GeomFromEWKT('SRID=4674;POINT (-38.803515 -3.540916)'))) / (select extract(epoch from '2026-08-06 05:17:12'::timestamp) - extract(epoch from '2026-08-06 05:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803472 -3.54093)', '2026-08-06 05:17:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803515 -3.540916)'), GeomFromEWKT('SRID=4674;POINT (-38.803472 -3.54093)'))) / (select extract(epoch from '2026-08-06 05:17:18'::timestamp) - extract(epoch from '2026-08-06 05:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803515 -3.540916)'), GeomFromEWKT('SRID=4674;POINT (-38.803472 -3.54093)'))) / (select extract(epoch from '2026-08-06 05:17:18'::timestamp) - extract(epoch from '2026-08-06 05:17: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'), 48150, 'SRID=4674;POINT (-38.803454 -3.540932)', '2026-08-06 05:17:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803472 -3.54093)'), GeomFromEWKT('SRID=4674;POINT (-38.803454 -3.540932)'))) / (select extract(epoch from '2026-08-06 05:17:25'::timestamp) - extract(epoch from '2026-08-06 05:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803472 -3.54093)'), GeomFromEWKT('SRID=4674;POINT (-38.803454 -3.540932)'))) / (select extract(epoch from '2026-08-06 05:17:25'::timestamp) - extract(epoch from '2026-08-06 05:17: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'), 48150, 'SRID=4674;POINT (-38.80346 -3.540928)', '2026-08-06 05:17:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803454 -3.540932)'), GeomFromEWKT('SRID=4674;POINT (-38.80346 -3.540928)'))) / (select extract(epoch from '2026-08-06 05:17:34'::timestamp) - extract(epoch from '2026-08-06 05:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803454 -3.540932)'), GeomFromEWKT('SRID=4674;POINT (-38.80346 -3.540928)'))) / (select extract(epoch from '2026-08-06 05:17:34'::timestamp) - extract(epoch from '2026-08-06 05:17: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'), 48150, 'SRID=4674;POINT (-38.803487 -3.540896)', '2026-08-06 05:17:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80346 -3.540928)'), GeomFromEWKT('SRID=4674;POINT (-38.803487 -3.540896)'))) / (select extract(epoch from '2026-08-06 05:17:42'::timestamp) - extract(epoch from '2026-08-06 05:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80346 -3.540928)'), GeomFromEWKT('SRID=4674;POINT (-38.803487 -3.540896)'))) / (select extract(epoch from '2026-08-06 05:17:42'::timestamp) - extract(epoch from '2026-08-06 05:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803499 -3.540877)', '2026-08-06 05:17:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803487 -3.540896)'), GeomFromEWKT('SRID=4674;POINT (-38.803499 -3.540877)'))) / (select extract(epoch from '2026-08-06 05:17:50'::timestamp) - extract(epoch from '2026-08-06 05:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803487 -3.540896)'), GeomFromEWKT('SRID=4674;POINT (-38.803499 -3.540877)'))) / (select extract(epoch from '2026-08-06 05:17:50'::timestamp) - extract(epoch from '2026-08-06 05:17: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'), 48150, 'SRID=4674;POINT (-38.803527 -3.540865)', '2026-08-06 05:17:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803499 -3.540877)'), GeomFromEWKT('SRID=4674;POINT (-38.803527 -3.540865)'))) / (select extract(epoch from '2026-08-06 05:17:57'::timestamp) - extract(epoch from '2026-08-06 05:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803499 -3.540877)'), GeomFromEWKT('SRID=4674;POINT (-38.803527 -3.540865)'))) / (select extract(epoch from '2026-08-06 05:17:57'::timestamp) - extract(epoch from '2026-08-06 05:17: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'), 48150, 'SRID=4674;POINT (-38.803565 -3.540833)', '2026-08-06 05:18:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803527 -3.540865)'), GeomFromEWKT('SRID=4674;POINT (-38.803565 -3.540833)'))) / (select extract(epoch from '2026-08-06 05:18:07'::timestamp) - extract(epoch from '2026-08-06 05:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803527 -3.540865)'), GeomFromEWKT('SRID=4674;POINT (-38.803565 -3.540833)'))) / (select extract(epoch from '2026-08-06 05:18:07'::timestamp) - extract(epoch from '2026-08-06 05:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803586 -3.540803)', '2026-08-06 05:18:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803565 -3.540833)'), GeomFromEWKT('SRID=4674;POINT (-38.803586 -3.540803)'))) / (select extract(epoch from '2026-08-06 05:18:19'::timestamp) - extract(epoch from '2026-08-06 05:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803565 -3.540833)'), GeomFromEWKT('SRID=4674;POINT (-38.803586 -3.540803)'))) / (select extract(epoch from '2026-08-06 05:18:19'::timestamp) - extract(epoch from '2026-08-06 05:18: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'), 48150, 'SRID=4674;POINT (-38.803598 -3.540784)', '2026-08-06 05:18:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803586 -3.540803)'), GeomFromEWKT('SRID=4674;POINT (-38.803598 -3.540784)'))) / (select extract(epoch from '2026-08-06 05:18:25'::timestamp) - extract(epoch from '2026-08-06 05:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803586 -3.540803)'), GeomFromEWKT('SRID=4674;POINT (-38.803598 -3.540784)'))) / (select extract(epoch from '2026-08-06 05:18:25'::timestamp) - extract(epoch from '2026-08-06 05:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803613 -3.540762)', '2026-08-06 05:18:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803598 -3.540784)'), GeomFromEWKT('SRID=4674;POINT (-38.803613 -3.540762)'))) / (select extract(epoch from '2026-08-06 05:18:33'::timestamp) - extract(epoch from '2026-08-06 05:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803598 -3.540784)'), GeomFromEWKT('SRID=4674;POINT (-38.803613 -3.540762)'))) / (select extract(epoch from '2026-08-06 05:18:33'::timestamp) - extract(epoch from '2026-08-06 05:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803619 -3.540752)', '2026-08-06 05:18:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803613 -3.540762)'), GeomFromEWKT('SRID=4674;POINT (-38.803619 -3.540752)'))) / (select extract(epoch from '2026-08-06 05:18:40'::timestamp) - extract(epoch from '2026-08-06 05:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803613 -3.540762)'), GeomFromEWKT('SRID=4674;POINT (-38.803619 -3.540752)'))) / (select extract(epoch from '2026-08-06 05:18:40'::timestamp) - extract(epoch from '2026-08-06 05:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803646 -3.540726)', '2026-08-06 05:18:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803619 -3.540752)'), GeomFromEWKT('SRID=4674;POINT (-38.803646 -3.540726)'))) / (select extract(epoch from '2026-08-06 05:18:51'::timestamp) - extract(epoch from '2026-08-06 05:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803619 -3.540752)'), GeomFromEWKT('SRID=4674;POINT (-38.803646 -3.540726)'))) / (select extract(epoch from '2026-08-06 05:18:51'::timestamp) - extract(epoch from '2026-08-06 05:18: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'), 48150, 'SRID=4674;POINT (-38.803658 -3.540714)', '2026-08-06 05:18:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803646 -3.540726)'), GeomFromEWKT('SRID=4674;POINT (-38.803658 -3.540714)'))) / (select extract(epoch from '2026-08-06 05:18:58'::timestamp) - extract(epoch from '2026-08-06 05:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803646 -3.540726)'), GeomFromEWKT('SRID=4674;POINT (-38.803658 -3.540714)'))) / (select extract(epoch from '2026-08-06 05:18:58'::timestamp) - extract(epoch from '2026-08-06 05:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803673 -3.540701)', '2026-08-06 05:19:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803658 -3.540714)'), GeomFromEWKT('SRID=4674;POINT (-38.803673 -3.540701)'))) / (select extract(epoch from '2026-08-06 05:19:06'::timestamp) - extract(epoch from '2026-08-06 05:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803658 -3.540714)'), GeomFromEWKT('SRID=4674;POINT (-38.803673 -3.540701)'))) / (select extract(epoch from '2026-08-06 05:19:06'::timestamp) - extract(epoch from '2026-08-06 05:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803706 -3.54066)', '2026-08-06 05:19:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803673 -3.540701)'), GeomFromEWKT('SRID=4674;POINT (-38.803706 -3.54066)'))) / (select extract(epoch from '2026-08-06 05:19:16'::timestamp) - extract(epoch from '2026-08-06 05:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803673 -3.540701)'), GeomFromEWKT('SRID=4674;POINT (-38.803706 -3.54066)'))) / (select extract(epoch from '2026-08-06 05:19:16'::timestamp) - extract(epoch from '2026-08-06 05:19: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'), 48150, 'SRID=4674;POINT (-38.803728 -3.540631)', '2026-08-06 05:19:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803706 -3.54066)'), GeomFromEWKT('SRID=4674;POINT (-38.803728 -3.540631)'))) / (select extract(epoch from '2026-08-06 05:19:23'::timestamp) - extract(epoch from '2026-08-06 05:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803706 -3.54066)'), GeomFromEWKT('SRID=4674;POINT (-38.803728 -3.540631)'))) / (select extract(epoch from '2026-08-06 05:19:23'::timestamp) - extract(epoch from '2026-08-06 05:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803744 -3.540606)', '2026-08-06 05:19:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803728 -3.540631)'), GeomFromEWKT('SRID=4674;POINT (-38.803744 -3.540606)'))) / (select extract(epoch from '2026-08-06 05:19:31'::timestamp) - extract(epoch from '2026-08-06 05:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803728 -3.540631)'), GeomFromEWKT('SRID=4674;POINT (-38.803744 -3.540606)'))) / (select extract(epoch from '2026-08-06 05:19:31'::timestamp) - extract(epoch from '2026-08-06 05:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803768 -3.540587)', '2026-08-06 05:19:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803744 -3.540606)'), GeomFromEWKT('SRID=4674;POINT (-38.803768 -3.540587)'))) / (select extract(epoch from '2026-08-06 05:19:37'::timestamp) - extract(epoch from '2026-08-06 05:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803744 -3.540606)'), GeomFromEWKT('SRID=4674;POINT (-38.803768 -3.540587)'))) / (select extract(epoch from '2026-08-06 05:19:37'::timestamp) - extract(epoch from '2026-08-06 05:19: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'), 48150, 'SRID=4674;POINT (-38.80377 -3.540582)', '2026-08-06 05:19:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803768 -3.540587)'), GeomFromEWKT('SRID=4674;POINT (-38.80377 -3.540582)'))) / (select extract(epoch from '2026-08-06 05:19:43'::timestamp) - extract(epoch from '2026-08-06 05:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803768 -3.540587)'), GeomFromEWKT('SRID=4674;POINT (-38.80377 -3.540582)'))) / (select extract(epoch from '2026-08-06 05:19:43'::timestamp) - extract(epoch from '2026-08-06 05:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803765 -3.540598)', '2026-08-06 05:19:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80377 -3.540582)'), GeomFromEWKT('SRID=4674;POINT (-38.803765 -3.540598)'))) / (select extract(epoch from '2026-08-06 05:19:52'::timestamp) - extract(epoch from '2026-08-06 05:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80377 -3.540582)'), GeomFromEWKT('SRID=4674;POINT (-38.803765 -3.540598)'))) / (select extract(epoch from '2026-08-06 05:19:52'::timestamp) - extract(epoch from '2026-08-06 05:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803781 -3.540621)', '2026-08-06 05:20:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803765 -3.540598)'), GeomFromEWKT('SRID=4674;POINT (-38.803781 -3.540621)'))) / (select extract(epoch from '2026-08-06 05:20:03'::timestamp) - extract(epoch from '2026-08-06 05:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803765 -3.540598)'), GeomFromEWKT('SRID=4674;POINT (-38.803781 -3.540621)'))) / (select extract(epoch from '2026-08-06 05:20:03'::timestamp) - extract(epoch from '2026-08-06 05:19: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'), 48150, 'SRID=4674;POINT (-38.803807 -3.540598)', '2026-08-06 05:20:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803781 -3.540621)'), GeomFromEWKT('SRID=4674;POINT (-38.803807 -3.540598)'))) / (select extract(epoch from '2026-08-06 05:20:13'::timestamp) - extract(epoch from '2026-08-06 05:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803781 -3.540621)'), GeomFromEWKT('SRID=4674;POINT (-38.803807 -3.540598)'))) / (select extract(epoch from '2026-08-06 05:20:13'::timestamp) - extract(epoch from '2026-08-06 05:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803838 -3.540568)', '2026-08-06 05:20:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803807 -3.540598)'), GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540568)'))) / (select extract(epoch from '2026-08-06 05:20:25'::timestamp) - extract(epoch from '2026-08-06 05:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803807 -3.540598)'), GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540568)'))) / (select extract(epoch from '2026-08-06 05:20:25'::timestamp) - extract(epoch from '2026-08-06 05:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803842 -3.540559)', '2026-08-06 05:20:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540568)'), GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540559)'))) / (select extract(epoch from '2026-08-06 05:20:34'::timestamp) - extract(epoch from '2026-08-06 05:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540568)'), GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540559)'))) / (select extract(epoch from '2026-08-06 05:20:34'::timestamp) - extract(epoch from '2026-08-06 05:20: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'), 48150, 'SRID=4674;POINT (-38.803847 -3.54056)', '2026-08-06 05:20:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540559)'), GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.54056)'))) / (select extract(epoch from '2026-08-06 05:20:44'::timestamp) - extract(epoch from '2026-08-06 05:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540559)'), GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.54056)'))) / (select extract(epoch from '2026-08-06 05:20:44'::timestamp) - extract(epoch from '2026-08-06 05:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803847 -3.540559)', '2026-08-06 05:20:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.54056)'), GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540559)'))) / (select extract(epoch from '2026-08-06 05:20:57'::timestamp) - extract(epoch from '2026-08-06 05:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.54056)'), GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540559)'))) / (select extract(epoch from '2026-08-06 05:20:57'::timestamp) - extract(epoch from '2026-08-06 05:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80385 -3.540552)', '2026-08-06 05:21:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540559)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:21:11'::timestamp) - extract(epoch from '2026-08-06 05:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540559)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:21:11'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803855 -3.540546)', '2026-08-06 05:21:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:21:21'::timestamp) - extract(epoch from '2026-08-06 05:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:21:21'::timestamp) - extract(epoch from '2026-08-06 05:21: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'), 48150, 'SRID=4674;POINT (-38.803853 -3.540556)', '2026-08-06 05:21:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540556)'))) / (select extract(epoch from '2026-08-06 05:21:33'::timestamp) - extract(epoch from '2026-08-06 05:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540556)'))) / (select extract(epoch from '2026-08-06 05:21:33'::timestamp) - extract(epoch from '2026-08-06 05:21: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'), 48150, 'SRID=4674;POINT (-38.803846 -3.540554)', '2026-08-06 05:21:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540556)'), GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:21:46'::timestamp) - extract(epoch from '2026-08-06 05:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540556)'), GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:21:46'::timestamp) - extract(epoch from '2026-08-06 05:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803839 -3.540555)', '2026-08-06 05:21:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:21:56'::timestamp) - extract(epoch from '2026-08-06 05:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:21:56'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803849 -3.540554)', '2026-08-06 05:22:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:22:18'::timestamp) - extract(epoch from '2026-08-06 05:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:22:18'::timestamp) - extract(epoch from '2026-08-06 05:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803848 -3.540552)', '2026-08-06 05:22:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:22:28'::timestamp) - extract(epoch from '2026-08-06 05:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:22:28'::timestamp) - extract(epoch from '2026-08-06 05:22: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'), 48150, 'SRID=4674;POINT (-38.803858 -3.540554)', '2026-08-06 05:22:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:22:45'::timestamp) - extract(epoch from '2026-08-06 05:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:22:45'::timestamp) - extract(epoch from '2026-08-06 05:22: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'), 48150, 'SRID=4674;POINT (-38.803864 -3.540549)', '2026-08-06 05:22:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540549)'))) / (select extract(epoch from '2026-08-06 05:22:57'::timestamp) - extract(epoch from '2026-08-06 05:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540549)'))) / (select extract(epoch from '2026-08-06 05:22:57'::timestamp) - extract(epoch from '2026-08-06 05:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803878 -3.540552)', '2026-08-06 05:23:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540549)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:23:05'::timestamp) - extract(epoch from '2026-08-06 05:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540549)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:23:05'::timestamp) - extract(epoch from '2026-08-06 05:22: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'), 48150, 'SRID=4674;POINT (-38.803873 -3.540545)', '2026-08-06 05:23:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540545)'))) / (select extract(epoch from '2026-08-06 05:23:16'::timestamp) - extract(epoch from '2026-08-06 05:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540545)'))) / (select extract(epoch from '2026-08-06 05:23:16'::timestamp) - extract(epoch from '2026-08-06 05:23: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'), 48150, 'SRID=4674;POINT (-38.803877 -3.540548)', '2026-08-06 05:23:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540545)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540548)'))) / (select extract(epoch from '2026-08-06 05:23:25'::timestamp) - extract(epoch from '2026-08-06 05:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540545)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540548)'))) / (select extract(epoch from '2026-08-06 05:23:25'::timestamp) - extract(epoch from '2026-08-06 05:23: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'), 48150, 'SRID=4674;POINT (-38.803869 -3.540552)', '2026-08-06 05:23:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540548)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:23:40'::timestamp) - extract(epoch from '2026-08-06 05:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540548)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:23:40'::timestamp) - extract(epoch from '2026-08-06 05:23: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'), 48150, 'SRID=4674;POINT (-38.803867 -3.540548)', '2026-08-06 05:23:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540548)'))) / (select extract(epoch from '2026-08-06 05:23:58'::timestamp) - extract(epoch from '2026-08-06 05:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540548)'))) / (select extract(epoch from '2026-08-06 05:23:58'::timestamp) - extract(epoch from '2026-08-06 05:23: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'), 48150, 'SRID=4674;POINT (-38.803869 -3.54055)', '2026-08-06 05:24:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540548)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.54055)'))) / (select extract(epoch from '2026-08-06 05:24:05'::timestamp) - extract(epoch from '2026-08-06 05:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540548)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.54055)'))) / (select extract(epoch from '2026-08-06 05:24:05'::timestamp) - extract(epoch from '2026-08-06 05:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803865 -3.54055)', '2026-08-06 05:24:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.54055)'))) / (select extract(epoch from '2026-08-06 05:24:16'::timestamp) - extract(epoch from '2026-08-06 05:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.54055)'))) / (select extract(epoch from '2026-08-06 05:24:16'::timestamp) - extract(epoch from '2026-08-06 05:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803863 -3.540555)', '2026-08-06 05:24:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:24:24'::timestamp) - extract(epoch from '2026-08-06 05:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:24:24'::timestamp) - extract(epoch from '2026-08-06 05:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803861 -3.540546)', '2026-08-06 05:24:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:24:40'::timestamp) - extract(epoch from '2026-08-06 05:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:24:40'::timestamp) - extract(epoch from '2026-08-06 05:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803865 -3.540544)', '2026-08-06 05:24:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:24:51'::timestamp) - extract(epoch from '2026-08-06 05:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:24:51'::timestamp) - extract(epoch from '2026-08-06 05:24: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.540538)', '2026-08-06 05:24:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:24:59'::timestamp) - extract(epoch from '2026-08-06 05:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:24:59'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803869 -3.540535)', '2026-08-06 05:25:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:25:11'::timestamp) - extract(epoch from '2026-08-06 05:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:25:11'::timestamp) - extract(epoch from '2026-08-06 05:24: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'), 48150, 'SRID=4674;POINT (-38.80387 -3.540534)', '2026-08-06 05:25:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:25:21'::timestamp) - extract(epoch from '2026-08-06 05:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:25:21'::timestamp) - extract(epoch from '2026-08-06 05:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803871 -3.540536)', '2026-08-06 05:25:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:25:28'::timestamp) - extract(epoch from '2026-08-06 05:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:25:28'::timestamp) - extract(epoch from '2026-08-06 05:25: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'), 48150, 'SRID=4674;POINT (-38.803873 -3.54053)', '2026-08-06 05:25:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:25:38'::timestamp) - extract(epoch from '2026-08-06 05:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:25:38'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803877 -3.540525)', '2026-08-06 05:25:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540525)'))) / (select extract(epoch from '2026-08-06 05:25:49'::timestamp) - extract(epoch from '2026-08-06 05:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540525)'))) / (select extract(epoch from '2026-08-06 05:25:49'::timestamp) - extract(epoch from '2026-08-06 05:25: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'), 48150, 'SRID=4674;POINT (-38.803871 -3.540522)', '2026-08-06 05:25:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540525)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540522)'))) / (select extract(epoch from '2026-08-06 05:25:59'::timestamp) - extract(epoch from '2026-08-06 05:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540525)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540522)'))) / (select extract(epoch from '2026-08-06 05:25:59'::timestamp) - extract(epoch from '2026-08-06 05:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803876 -3.540534)', '2026-08-06 05:26:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540522)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:26:09'::timestamp) - extract(epoch from '2026-08-06 05:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540522)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:26:09'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803876 -3.540535)', '2026-08-06 05:26:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:26:19'::timestamp) - extract(epoch from '2026-08-06 05:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:26:19'::timestamp) - extract(epoch from '2026-08-06 05:26: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'), 48150, 'SRID=4674;POINT (-38.803882 -3.54054)', '2026-08-06 05:26:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:26:26'::timestamp) - extract(epoch from '2026-08-06 05:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:26:26'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.80388 -3.54053)', '2026-08-06 05:26:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:26:38'::timestamp) - extract(epoch from '2026-08-06 05:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:26:38'::timestamp) - extract(epoch from '2026-08-06 05:26: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'), 48150, 'SRID=4674;POINT (-38.803887 -3.540539)', '2026-08-06 05:26:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:26:50'::timestamp) - extract(epoch from '2026-08-06 05:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:26:50'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803877 -3.54053)', '2026-08-06 05:27:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:27:02'::timestamp) - extract(epoch from '2026-08-06 05:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:27:02'::timestamp) - extract(epoch from '2026-08-06 05:26: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'), 48150, 'SRID=4674;POINT (-38.803874 -3.540534)', '2026-08-06 05:27:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:27:10'::timestamp) - extract(epoch from '2026-08-06 05:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:27:10'::timestamp) - extract(epoch from '2026-08-06 05:27: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'), 48150, 'SRID=4674;POINT (-38.803875 -3.540531)', '2026-08-06 05:27:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:27:23'::timestamp) - extract(epoch from '2026-08-06 05:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:27:23'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.80387 -3.540528)', '2026-08-06 05:27:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:27:41'::timestamp) - extract(epoch from '2026-08-06 05:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:27:41'::timestamp) - extract(epoch from '2026-08-06 05:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803869 -3.540531)', '2026-08-06 05:27:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:27:48'::timestamp) - extract(epoch from '2026-08-06 05:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:27:48'::timestamp) - extract(epoch from '2026-08-06 05:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803871 -3.54053)', '2026-08-06 05:28:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:28:04'::timestamp) - extract(epoch from '2026-08-06 05:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:28:04'::timestamp) - extract(epoch from '2026-08-06 05:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803863 -3.540525)', '2026-08-06 05:28:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540525)'))) / (select extract(epoch from '2026-08-06 05:28:11'::timestamp) - extract(epoch from '2026-08-06 05:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540525)'))) / (select extract(epoch from '2026-08-06 05:28:11'::timestamp) - extract(epoch from '2026-08-06 05:28: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'), 48150, 'SRID=4674;POINT (-38.803858 -3.540524)', '2026-08-06 05:28:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540525)'), GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:28:21'::timestamp) - extract(epoch from '2026-08-06 05:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540525)'), GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:28:21'::timestamp) - extract(epoch from '2026-08-06 05:28: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.54053)', '2026-08-06 05:28:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:28:36'::timestamp) - extract(epoch from '2026-08-06 05:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803858 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:28:36'::timestamp) - extract(epoch from '2026-08-06 05:28: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'), 48150, 'SRID=4674;POINT (-38.803866 -3.540531)', '2026-08-06 05:28:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:28:48'::timestamp) - extract(epoch from '2026-08-06 05:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:28:48'::timestamp) - extract(epoch from '2026-08-06 05:28: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'), 48150, 'SRID=4674;POINT (-38.803876 -3.540539)', '2026-08-06 05:29:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:29:06'::timestamp) - extract(epoch from '2026-08-06 05:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:29:06'::timestamp) - extract(epoch from '2026-08-06 05:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803877 -3.540537)', '2026-08-06 05:29:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540537)'))) / (select extract(epoch from '2026-08-06 05:29:19'::timestamp) - extract(epoch from '2026-08-06 05:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540537)'))) / (select extract(epoch from '2026-08-06 05:29:19'::timestamp) - extract(epoch from '2026-08-06 05:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803867 -3.540524)', '2026-08-06 05:29:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540537)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:29:31'::timestamp) - extract(epoch from '2026-08-06 05:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540537)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:29:31'::timestamp) - extract(epoch from '2026-08-06 05:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80386 -3.540513)', '2026-08-06 05:29:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.80386 -3.540513)'))) / (select extract(epoch from '2026-08-06 05:29:43'::timestamp) - extract(epoch from '2026-08-06 05:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.80386 -3.540513)'))) / (select extract(epoch from '2026-08-06 05:29:43'::timestamp) - extract(epoch from '2026-08-06 05:29: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'), 48150, 'SRID=4674;POINT (-38.803867 -3.540527)', '2026-08-06 05:30:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80386 -3.540513)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:30:03'::timestamp) - extract(epoch from '2026-08-06 05:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80386 -3.540513)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:30:03'::timestamp) - extract(epoch from '2026-08-06 05:29: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'), 48150, 'SRID=4674;POINT (-38.803861 -3.540532)', '2026-08-06 05:30:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540532)'))) / (select extract(epoch from '2026-08-06 05:30:11'::timestamp) - extract(epoch from '2026-08-06 05:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540532)'))) / (select extract(epoch from '2026-08-06 05:30:11'::timestamp) - extract(epoch from '2026-08-06 05:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803865 -3.540533)', '2026-08-06 05:30:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540532)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540533)'))) / (select extract(epoch from '2026-08-06 05:30:18'::timestamp) - extract(epoch from '2026-08-06 05:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540532)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540533)'))) / (select extract(epoch from '2026-08-06 05:30:18'::timestamp) - extract(epoch from '2026-08-06 05:30: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.540528)', '2026-08-06 05:30:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540533)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:30:30'::timestamp) - extract(epoch from '2026-08-06 05:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540533)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:30:30'::timestamp) - extract(epoch from '2026-08-06 05:30: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'), 48150, 'SRID=4674;POINT (-38.803875 -3.540536)', '2026-08-06 05:30:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:30:46'::timestamp) - extract(epoch from '2026-08-06 05:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:30:46'::timestamp) - extract(epoch from '2026-08-06 05:30: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'), 48150, 'SRID=4674;POINT (-38.80388 -3.54053)', '2026-08-06 05:30:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:30:55'::timestamp) - extract(epoch from '2026-08-06 05:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:30:55'::timestamp) - extract(epoch from '2026-08-06 05:30: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'), 48150, 'SRID=4674;POINT (-38.803874 -3.540527)', '2026-08-06 05:31:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:31:06'::timestamp) - extract(epoch from '2026-08-06 05:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:31:06'::timestamp) - extract(epoch from '2026-08-06 05:30: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'), 48150, 'SRID=4674;POINT (-38.803867 -3.540527)', '2026-08-06 05:31:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:31:17'::timestamp) - extract(epoch from '2026-08-06 05:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:31:17'::timestamp) - extract(epoch from '2026-08-06 05:31: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'), 48150, 'SRID=4674;POINT (-38.803865 -3.540543)', '2026-08-06 05:31:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:31:26'::timestamp) - extract(epoch from '2026-08-06 05:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:31:26'::timestamp) - extract(epoch from '2026-08-06 05:31: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'), 48150, 'SRID=4674;POINT (-38.803871 -3.540535)', '2026-08-06 05:31:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:31:35'::timestamp) - extract(epoch from '2026-08-06 05:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:31:35'::timestamp) - extract(epoch from '2026-08-06 05:31: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.540533)', '2026-08-06 05:31:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540533)'))) / (select extract(epoch from '2026-08-06 05:31:44'::timestamp) - extract(epoch from '2026-08-06 05:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540533)'))) / (select extract(epoch from '2026-08-06 05:31:44'::timestamp) - extract(epoch from '2026-08-06 05:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80387 -3.540535)', '2026-08-06 05:31:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540533)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:31:51'::timestamp) - extract(epoch from '2026-08-06 05:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540533)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:31:51'::timestamp) - extract(epoch from '2026-08-06 05:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803872 -3.54053)', '2026-08-06 05:32:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:32:05'::timestamp) - extract(epoch from '2026-08-06 05:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:32:05'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803874 -3.540535)', '2026-08-06 05:32:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:32:15'::timestamp) - extract(epoch from '2026-08-06 05:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:32:15'::timestamp) - extract(epoch from '2026-08-06 05:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803871 -3.540529)', '2026-08-06 05:32:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540529)'))) / (select extract(epoch from '2026-08-06 05:32:23'::timestamp) - extract(epoch from '2026-08-06 05:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540529)'))) / (select extract(epoch from '2026-08-06 05:32:23'::timestamp) - extract(epoch from '2026-08-06 05:32: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'), 48150, 'SRID=4674;POINT (-38.803862 -3.540528)', '2026-08-06 05:32:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540529)'), GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:32:32'::timestamp) - extract(epoch from '2026-08-06 05:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540529)'), GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:32:32'::timestamp) - extract(epoch from '2026-08-06 05:32: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'), 48150, 'SRID=4674;POINT (-38.803867 -3.540531)', '2026-08-06 05:32:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:32:42'::timestamp) - extract(epoch from '2026-08-06 05:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:32:42'::timestamp) - extract(epoch from '2026-08-06 05:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803864 -3.540528)', '2026-08-06 05:32:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:32:55'::timestamp) - extract(epoch from '2026-08-06 05:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:32:55'::timestamp) - extract(epoch from '2026-08-06 05:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803863 -3.54054)', '2026-08-06 05:33:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:33:09'::timestamp) - extract(epoch from '2026-08-06 05:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:33:09'::timestamp) - extract(epoch from '2026-08-06 05:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803869 -3.540546)', '2026-08-06 05:33:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:33:15'::timestamp) - extract(epoch from '2026-08-06 05:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:33:15'::timestamp) - extract(epoch from '2026-08-06 05:33: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'), 48150, 'SRID=4674;POINT (-38.803869 -3.540547)', '2026-08-06 05:33:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540547)'))) / (select extract(epoch from '2026-08-06 05:33:25'::timestamp) - extract(epoch from '2026-08-06 05:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540547)'))) / (select extract(epoch from '2026-08-06 05:33:25'::timestamp) - extract(epoch from '2026-08-06 05:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803869 -3.540551)', '2026-08-06 05:33:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540547)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540551)'))) / (select extract(epoch from '2026-08-06 05:33:35'::timestamp) - extract(epoch from '2026-08-06 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540547)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540551)'))) / (select extract(epoch from '2026-08-06 05:33:35'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.540548)', '2026-08-06 05:33:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540551)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540548)'))) / (select extract(epoch from '2026-08-06 05:33:41'::timestamp) - extract(epoch from '2026-08-06 05:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540551)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540548)'))) / (select extract(epoch from '2026-08-06 05:33:41'::timestamp) - extract(epoch from '2026-08-06 05:33: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'), 48150, 'SRID=4674;POINT (-38.80387 -3.540555)', '2026-08-06 05:33:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540548)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:33:50'::timestamp) - extract(epoch from '2026-08-06 05:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540548)'), GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:33:50'::timestamp) - extract(epoch from '2026-08-06 05:33: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'), 48150, 'SRID=4674;POINT (-38.803878 -3.540551)', '2026-08-06 05:33:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540551)'))) / (select extract(epoch from '2026-08-06 05:33:56'::timestamp) - extract(epoch from '2026-08-06 05:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80387 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540551)'))) / (select extract(epoch from '2026-08-06 05:33:56'::timestamp) - extract(epoch from '2026-08-06 05:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803877 -3.540542)', '2026-08-06 05:34:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540551)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:34:07'::timestamp) - extract(epoch from '2026-08-06 05:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540551)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:34:07'::timestamp) - extract(epoch from '2026-08-06 05:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803869 -3.540531)', '2026-08-06 05:34:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:34:19'::timestamp) - extract(epoch from '2026-08-06 05:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'))) / (select extract(epoch from '2026-08-06 05:34:19'::timestamp) - extract(epoch from '2026-08-06 05:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803869 -3.540535)', '2026-08-06 05:34:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:34:25'::timestamp) - extract(epoch from '2026-08-06 05:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540531)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:34:25'::timestamp) - extract(epoch from '2026-08-06 05:34: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'), 48150, 'SRID=4674;POINT (-38.803874 -3.54053)', '2026-08-06 05:34:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:34:35'::timestamp) - extract(epoch from '2026-08-06 05:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54053)'))) / (select extract(epoch from '2026-08-06 05:34:35'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803869 -3.540537)', '2026-08-06 05:34:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540537)'))) / (select extract(epoch from '2026-08-06 05:34:49'::timestamp) - extract(epoch from '2026-08-06 05:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54053)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540537)'))) / (select extract(epoch from '2026-08-06 05:34:49'::timestamp) - extract(epoch from '2026-08-06 05:34: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'), 48150, 'SRID=4674;POINT (-38.803867 -3.540543)', '2026-08-06 05:34:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540537)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:34:57'::timestamp) - extract(epoch from '2026-08-06 05:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540537)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:34:57'::timestamp) - extract(epoch from '2026-08-06 05:34: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'), 48150, 'SRID=4674;POINT (-38.803863 -3.540538)', '2026-08-06 05:35:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:35:08'::timestamp) - extract(epoch from '2026-08-06 05:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:35:08'::timestamp) - extract(epoch from '2026-08-06 05:34: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'), 48150, 'SRID=4674;POINT (-38.803864 -3.54054)', '2026-08-06 05:35:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:35:20'::timestamp) - extract(epoch from '2026-08-06 05:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:35:20'::timestamp) - extract(epoch from '2026-08-06 05:35: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'), 48150, 'SRID=4674;POINT (-38.803852 -3.540538)', '2026-08-06 05:35:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:35:34'::timestamp) - extract(epoch from '2026-08-06 05:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803864 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540538)'))) / (select extract(epoch from '2026-08-06 05:35:34'::timestamp) - extract(epoch from '2026-08-06 05:35: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'), 48150, 'SRID=4674;POINT (-38.803849 -3.540533)', '2026-08-06 05:35:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540533)'))) / (select extract(epoch from '2026-08-06 05:35:44'::timestamp) - extract(epoch from '2026-08-06 05:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540533)'))) / (select extract(epoch from '2026-08-06 05:35:44'::timestamp) - extract(epoch from '2026-08-06 05:35: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'), 48150, 'SRID=4674;POINT (-38.803844 -3.540532)', '2026-08-06 05:35:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540533)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540532)'))) / (select extract(epoch from '2026-08-06 05:35:58'::timestamp) - extract(epoch from '2026-08-06 05:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540533)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540532)'))) / (select extract(epoch from '2026-08-06 05:35:58'::timestamp) - extract(epoch from '2026-08-06 05:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803844 -3.540536)', '2026-08-06 05:36:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540532)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:36:07'::timestamp) - extract(epoch from '2026-08-06 05:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540532)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:36:07'::timestamp) - extract(epoch from '2026-08-06 05:35: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'), 48150, 'SRID=4674;POINT (-38.803849 -3.540515)', '2026-08-06 05:36:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:36:23'::timestamp) - extract(epoch from '2026-08-06 05:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:36:23'::timestamp) - extract(epoch from '2026-08-06 05:36: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'), 48150, 'SRID=4674;POINT (-38.803857 -3.540524)', '2026-08-06 05:36:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:36:41'::timestamp) - extract(epoch from '2026-08-06 05:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:36:41'::timestamp) - extract(epoch from '2026-08-06 05:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803852 -3.540526)', '2026-08-06 05:36:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540526)'))) / (select extract(epoch from '2026-08-06 05:36:50'::timestamp) - extract(epoch from '2026-08-06 05:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540526)'))) / (select extract(epoch from '2026-08-06 05:36:50'::timestamp) - extract(epoch from '2026-08-06 05:36: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'), 48150, 'SRID=4674;POINT (-38.803852 -3.540518)', '2026-08-06 05:37:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540526)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:37:05'::timestamp) - extract(epoch from '2026-08-06 05:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540526)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:37:05'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.80384 -3.540505)', '2026-08-06 05:37:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:37:18'::timestamp) - extract(epoch from '2026-08-06 05:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:37:18'::timestamp) - extract(epoch from '2026-08-06 05:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803838 -3.540509)', '2026-08-06 05:37:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:37:28'::timestamp) - extract(epoch from '2026-08-06 05:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:37:28'::timestamp) - extract(epoch from '2026-08-06 05:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80384 -3.540508)', '2026-08-06 05:37:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540508)'))) / (select extract(epoch from '2026-08-06 05:37:35'::timestamp) - extract(epoch from '2026-08-06 05:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803838 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540508)'))) / (select extract(epoch from '2026-08-06 05:37:35'::timestamp) - extract(epoch from '2026-08-06 05:37: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'), 48150, 'SRID=4674;POINT (-38.803842 -3.540508)', '2026-08-06 05:37:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540508)'), GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540508)'))) / (select extract(epoch from '2026-08-06 05:37:48'::timestamp) - extract(epoch from '2026-08-06 05:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80384 -3.540508)'), GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540508)'))) / (select extract(epoch from '2026-08-06 05:37:48'::timestamp) - extract(epoch from '2026-08-06 05:37: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'), 48150, 'SRID=4674;POINT (-38.803843 -3.540502)', '2026-08-06 05:38:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540508)'), GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540502)'))) / (select extract(epoch from '2026-08-06 05:38:10'::timestamp) - extract(epoch from '2026-08-06 05:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540508)'), GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540502)'))) / (select extract(epoch from '2026-08-06 05:38:10'::timestamp) - extract(epoch from '2026-08-06 05:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803844 -3.540504)', '2026-08-06 05:38:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540502)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540504)'))) / (select extract(epoch from '2026-08-06 05:38:17'::timestamp) - extract(epoch from '2026-08-06 05:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540502)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540504)'))) / (select extract(epoch from '2026-08-06 05:38:17'::timestamp) - extract(epoch from '2026-08-06 05:38: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'), 48150, 'SRID=4674;POINT (-38.803848 -3.540515)', '2026-08-06 05:38:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540504)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:38:28'::timestamp) - extract(epoch from '2026-08-06 05:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540504)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:38:28'::timestamp) - extract(epoch from '2026-08-06 05:38: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'), 48150, 'SRID=4674;POINT (-38.803849 -3.540509)', '2026-08-06 05:38:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:38:34'::timestamp) - extract(epoch from '2026-08-06 05:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:38:34'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803851 -3.540513)', '2026-08-06 05:38:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540513)'))) / (select extract(epoch from '2026-08-06 05:38:39'::timestamp) - extract(epoch from '2026-08-06 05:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540513)'))) / (select extract(epoch from '2026-08-06 05:38:39'::timestamp) - extract(epoch from '2026-08-06 05:38: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'), 48150, 'SRID=4674;POINT (-38.803848 -3.540515)', '2026-08-06 05:38:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540513)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:38:46'::timestamp) - extract(epoch from '2026-08-06 05:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540513)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:38:46'::timestamp) - extract(epoch from '2026-08-06 05:38: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'), 48150, 'SRID=4674;POINT (-38.80385 -3.54052)', '2026-08-06 05:38:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'))) / (select extract(epoch from '2026-08-06 05:38:59'::timestamp) - extract(epoch from '2026-08-06 05:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'))) / (select extract(epoch from '2026-08-06 05:38:59'::timestamp) - extract(epoch from '2026-08-06 05:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803853 -3.540524)', '2026-08-06 05:39:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'), GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:39:07'::timestamp) - extract(epoch from '2026-08-06 05:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'), GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:39:07'::timestamp) - extract(epoch from '2026-08-06 05:38: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'), 48150, 'SRID=4674;POINT (-38.80385 -3.54052)', '2026-08-06 05:39:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'))) / (select extract(epoch from '2026-08-06 05:39:18'::timestamp) - extract(epoch from '2026-08-06 05:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803853 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'))) / (select extract(epoch from '2026-08-06 05:39:18'::timestamp) - extract(epoch from '2026-08-06 05:39: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'), 48150, 'SRID=4674;POINT (-38.803845 -3.540514)', '2026-08-06 05:39:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'), GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540514)'))) / (select extract(epoch from '2026-08-06 05:39:32'::timestamp) - extract(epoch from '2026-08-06 05:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.54052)'), GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540514)'))) / (select extract(epoch from '2026-08-06 05:39:32'::timestamp) - extract(epoch from '2026-08-06 05:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803845 -3.540515)', '2026-08-06 05:39:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540514)'), GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:39:41'::timestamp) - extract(epoch from '2026-08-06 05:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540514)'), GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:39:41'::timestamp) - extract(epoch from '2026-08-06 05:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803844 -3.54051)', '2026-08-06 05:39:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.54051)'))) / (select extract(epoch from '2026-08-06 05:39:50'::timestamp) - extract(epoch from '2026-08-06 05:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.54051)'))) / (select extract(epoch from '2026-08-06 05:39:50'::timestamp) - extract(epoch from '2026-08-06 05:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803843 -3.540511)', '2026-08-06 05:40:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.54051)'), GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:40:04'::timestamp) - extract(epoch from '2026-08-06 05:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.54051)'), GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:40:04'::timestamp) - extract(epoch from '2026-08-06 05:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803845 -3.540503)', '2026-08-06 05:40:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540503)'))) / (select extract(epoch from '2026-08-06 05:40:19'::timestamp) - extract(epoch from '2026-08-06 05:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540503)'))) / (select extract(epoch from '2026-08-06 05:40:19'::timestamp) - extract(epoch from '2026-08-06 05:40: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'), 48150, 'SRID=4674;POINT (-38.803848 -3.540497)', '2026-08-06 05:40:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540503)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540497)'))) / (select extract(epoch from '2026-08-06 05:40:32'::timestamp) - extract(epoch from '2026-08-06 05:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803845 -3.540503)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540497)'))) / (select extract(epoch from '2026-08-06 05:40:32'::timestamp) - extract(epoch from '2026-08-06 05:40: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'), 48150, 'SRID=4674;POINT (-38.803855 -3.540497)', '2026-08-06 05:40:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540497)'), GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540497)'))) / (select extract(epoch from '2026-08-06 05:40:46'::timestamp) - extract(epoch from '2026-08-06 05:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.540497)'), GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540497)'))) / (select extract(epoch from '2026-08-06 05:40:46'::timestamp) - extract(epoch from '2026-08-06 05:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803846 -3.540502)', '2026-08-06 05:40:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540497)'), GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540502)'))) / (select extract(epoch from '2026-08-06 05:40:56'::timestamp) - extract(epoch from '2026-08-06 05:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803855 -3.540497)'), GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540502)'))) / (select extract(epoch from '2026-08-06 05:40:56'::timestamp) - extract(epoch from '2026-08-06 05:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803849 -3.540507)', '2026-08-06 05:41:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540502)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540507)'))) / (select extract(epoch from '2026-08-06 05:41:05'::timestamp) - extract(epoch from '2026-08-06 05:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803846 -3.540502)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540507)'))) / (select extract(epoch from '2026-08-06 05:41:05'::timestamp) - extract(epoch from '2026-08-06 05:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803839 -3.540503)', '2026-08-06 05:41:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540507)'), GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540503)'))) / (select extract(epoch from '2026-08-06 05:41:16'::timestamp) - extract(epoch from '2026-08-06 05:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540507)'), GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540503)'))) / (select extract(epoch from '2026-08-06 05:41:16'::timestamp) - extract(epoch from '2026-08-06 05:41: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'), 48150, 'SRID=4674;POINT (-38.803831 -3.540506)', '2026-08-06 05:41:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540503)'), GeomFromEWKT('SRID=4674;POINT (-38.803831 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:41:24'::timestamp) - extract(epoch from '2026-08-06 05:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803839 -3.540503)'), GeomFromEWKT('SRID=4674;POINT (-38.803831 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:41:24'::timestamp) - extract(epoch from '2026-08-06 05:41: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'), 48150, 'SRID=4674;POINT (-38.80383 -3.5405)', '2026-08-06 05:41:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803831 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.5405)'))) / (select extract(epoch from '2026-08-06 05:41:37'::timestamp) - extract(epoch from '2026-08-06 05:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803831 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.5405)'))) / (select extract(epoch from '2026-08-06 05:41:37'::timestamp) - extract(epoch from '2026-08-06 05:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80383 -3.540502)', '2026-08-06 05:41:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.5405)'), GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540502)'))) / (select extract(epoch from '2026-08-06 05:41:47'::timestamp) - extract(epoch from '2026-08-06 05:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.5405)'), GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540502)'))) / (select extract(epoch from '2026-08-06 05:41:47'::timestamp) - extract(epoch from '2026-08-06 05:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803827 -3.540506)', '2026-08-06 05:41:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540502)'), GeomFromEWKT('SRID=4674;POINT (-38.803827 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:41:55'::timestamp) - extract(epoch from '2026-08-06 05:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540502)'), GeomFromEWKT('SRID=4674;POINT (-38.803827 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:41:55'::timestamp) - extract(epoch from '2026-08-06 05:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803834 -3.540507)', '2026-08-06 05:42:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803827 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540507)'))) / (select extract(epoch from '2026-08-06 05:42:06'::timestamp) - extract(epoch from '2026-08-06 05:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803827 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540507)'))) / (select extract(epoch from '2026-08-06 05:42:06'::timestamp) - extract(epoch from '2026-08-06 05:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80383 -3.540496)', '2026-08-06 05:42:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540507)'), GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540496)'))) / (select extract(epoch from '2026-08-06 05:42:23'::timestamp) - extract(epoch from '2026-08-06 05:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803834 -3.540507)'), GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540496)'))) / (select extract(epoch from '2026-08-06 05:42:23'::timestamp) - extract(epoch from '2026-08-06 05:42: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'), 48150, 'SRID=4674;POINT (-38.803826 -3.540506)', '2026-08-06 05:42:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540496)'), GeomFromEWKT('SRID=4674;POINT (-38.803826 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:42:29'::timestamp) - extract(epoch from '2026-08-06 05:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80383 -3.540496)'), GeomFromEWKT('SRID=4674;POINT (-38.803826 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:42:29'::timestamp) - extract(epoch from '2026-08-06 05:42: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'), 48150, 'SRID=4674;POINT (-38.803844 -3.540512)', '2026-08-06 05:42:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803826 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540512)'))) / (select extract(epoch from '2026-08-06 05:42:41'::timestamp) - extract(epoch from '2026-08-06 05:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803826 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540512)'))) / (select extract(epoch from '2026-08-06 05:42:41'::timestamp) - extract(epoch from '2026-08-06 05:42: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'), 48150, 'SRID=4674;POINT (-38.803843 -3.540517)', '2026-08-06 05:42:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540512)'), GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540517)'))) / (select extract(epoch from '2026-08-06 05:42:50'::timestamp) - extract(epoch from '2026-08-06 05:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803844 -3.540512)'), GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540517)'))) / (select extract(epoch from '2026-08-06 05:42:50'::timestamp) - extract(epoch from '2026-08-06 05:42: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'), 48150, 'SRID=4674;POINT (-38.803842 -3.540512)', '2026-08-06 05:42:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540517)'), GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540512)'))) / (select extract(epoch from '2026-08-06 05:42:56'::timestamp) - extract(epoch from '2026-08-06 05:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803843 -3.540517)'), GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540512)'))) / (select extract(epoch from '2026-08-06 05:42:56'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803856 -3.540511)', '2026-08-06 05:43:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540512)'), GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:43:03'::timestamp) - extract(epoch from '2026-08-06 05:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803842 -3.540512)'), GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:43:03'::timestamp) - extract(epoch from '2026-08-06 05:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803856 -3.540515)', '2026-08-06 05:43:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:43:14'::timestamp) - extract(epoch from '2026-08-06 05:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:43:14'::timestamp) - extract(epoch from '2026-08-06 05:43: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'), 48150, 'SRID=4674;POINT (-38.803867 -3.540511)', '2026-08-06 05:43:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:43:30'::timestamp) - extract(epoch from '2026-08-06 05:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540511)'))) / (select extract(epoch from '2026-08-06 05:43:30'::timestamp) - extract(epoch from '2026-08-06 05:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803877 -3.540515)', '2026-08-06 05:43:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:43:40'::timestamp) - extract(epoch from '2026-08-06 05:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540511)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:43:40'::timestamp) - extract(epoch from '2026-08-06 05:43: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'), 48150, 'SRID=4674;POINT (-38.803878 -3.540521)', '2026-08-06 05:43:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540521)'))) / (select extract(epoch from '2026-08-06 05:43:52'::timestamp) - extract(epoch from '2026-08-06 05:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540521)'))) / (select extract(epoch from '2026-08-06 05:43:52'::timestamp) - extract(epoch from '2026-08-06 05:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803874 -3.54052)', '2026-08-06 05:44:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540521)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54052)'))) / (select extract(epoch from '2026-08-06 05:44:08'::timestamp) - extract(epoch from '2026-08-06 05:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540521)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54052)'))) / (select extract(epoch from '2026-08-06 05:44:08'::timestamp) - extract(epoch from '2026-08-06 05:43: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'), 48150, 'SRID=4674;POINT (-38.803866 -3.540524)', '2026-08-06 05:44:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54052)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:44:16'::timestamp) - extract(epoch from '2026-08-06 05:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.54052)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540524)'))) / (select extract(epoch from '2026-08-06 05:44:16'::timestamp) - extract(epoch from '2026-08-06 05:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803866 -3.540521)', '2026-08-06 05:44:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540521)'))) / (select extract(epoch from '2026-08-06 05:44:24'::timestamp) - extract(epoch from '2026-08-06 05:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540524)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540521)'))) / (select extract(epoch from '2026-08-06 05:44:24'::timestamp) - extract(epoch from '2026-08-06 05:44: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.540528)', '2026-08-06 05:44:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540521)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:44:31'::timestamp) - extract(epoch from '2026-08-06 05:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540521)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'))) / (select extract(epoch from '2026-08-06 05:44:31'::timestamp) - extract(epoch from '2026-08-06 05:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803875 -3.540523)', '2026-08-06 05:44:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:44:41'::timestamp) - extract(epoch from '2026-08-06 05:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540528)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:44:41'::timestamp) - extract(epoch from '2026-08-06 05:44: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'), 48150, 'SRID=4674;POINT (-38.803873 -3.540527)', '2026-08-06 05:44:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:44:50'::timestamp) - extract(epoch from '2026-08-06 05:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:44:50'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803874 -3.540526)', '2026-08-06 05:44:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540526)'))) / (select extract(epoch from '2026-08-06 05:44:56'::timestamp) - extract(epoch from '2026-08-06 05:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540526)'))) / (select extract(epoch from '2026-08-06 05:44:56'::timestamp) - extract(epoch from '2026-08-06 05:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803875 -3.540516)', '2026-08-06 05:45:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540526)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540516)'))) / (select extract(epoch from '2026-08-06 05:45:04'::timestamp) - extract(epoch from '2026-08-06 05:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540526)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540516)'))) / (select extract(epoch from '2026-08-06 05:45:04'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803871 -3.540515)', '2026-08-06 05:45:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540516)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:45:13'::timestamp) - extract(epoch from '2026-08-06 05:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540516)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:45:13'::timestamp) - extract(epoch from '2026-08-06 05:45: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'), 48150, 'SRID=4674;POINT (-38.803866 -3.540517)', '2026-08-06 05:45:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540517)'))) / (select extract(epoch from '2026-08-06 05:45:23'::timestamp) - extract(epoch from '2026-08-06 05:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540517)'))) / (select extract(epoch from '2026-08-06 05:45:23'::timestamp) - extract(epoch from '2026-08-06 05:45: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'), 48150, 'SRID=4674;POINT (-38.803872 -3.540523)', '2026-08-06 05:45:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540517)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:45:31'::timestamp) - extract(epoch from '2026-08-06 05:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540517)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:45:31'::timestamp) - extract(epoch from '2026-08-06 05:45: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'), 48150, 'SRID=4674;POINT (-38.803872 -3.540518)', '2026-08-06 05:45:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:45:45'::timestamp) - extract(epoch from '2026-08-06 05:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:45:45'::timestamp) - extract(epoch from '2026-08-06 05:45: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'), 48150, 'SRID=4674;POINT (-38.803872 -3.540523)', '2026-08-06 05:45:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:45:52'::timestamp) - extract(epoch from '2026-08-06 05:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:45:52'::timestamp) - extract(epoch from '2026-08-06 05:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803877 -3.540518)', '2026-08-06 05:46:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:46:08'::timestamp) - extract(epoch from '2026-08-06 05:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803872 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:46:08'::timestamp) - extract(epoch from '2026-08-06 05:45: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'), 48150, 'SRID=4674;POINT (-38.803871 -3.540518)', '2026-08-06 05:46:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:46:17'::timestamp) - extract(epoch from '2026-08-06 05:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803877 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:46:17'::timestamp) - extract(epoch from '2026-08-06 05:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803869 -3.540512)', '2026-08-06 05:46:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540512)'))) / (select extract(epoch from '2026-08-06 05:46:26'::timestamp) - extract(epoch from '2026-08-06 05:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540512)'))) / (select extract(epoch from '2026-08-06 05:46:26'::timestamp) - extract(epoch from '2026-08-06 05:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803868 -3.540509)', '2026-08-06 05:46:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540512)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:46:38'::timestamp) - extract(epoch from '2026-08-06 05:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803869 -3.540512)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:46:38'::timestamp) - extract(epoch from '2026-08-06 05:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803871 -3.540515)', '2026-08-06 05:46:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:46:46'::timestamp) - extract(epoch from '2026-08-06 05:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'))) / (select extract(epoch from '2026-08-06 05:46:46'::timestamp) - extract(epoch from '2026-08-06 05:46: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'), 48150, 'SRID=4674;POINT (-38.803863 -3.540514)', '2026-08-06 05:47:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540514)'))) / (select extract(epoch from '2026-08-06 05:47:01'::timestamp) - extract(epoch from '2026-08-06 05:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540515)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540514)'))) / (select extract(epoch from '2026-08-06 05:47:01'::timestamp) - extract(epoch from '2026-08-06 05:46: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'), 48150, 'SRID=4674;POINT (-38.803865 -3.540514)', '2026-08-06 05:47:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540514)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540514)'))) / (select extract(epoch from '2026-08-06 05:47:13'::timestamp) - extract(epoch from '2026-08-06 05:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540514)'), GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540514)'))) / (select extract(epoch from '2026-08-06 05:47:13'::timestamp) - extract(epoch from '2026-08-06 05:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803862 -3.540517)', '2026-08-06 05:47:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540514)'), GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540517)'))) / (select extract(epoch from '2026-08-06 05:47:24'::timestamp) - extract(epoch from '2026-08-06 05:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803865 -3.540514)'), GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540517)'))) / (select extract(epoch from '2026-08-06 05:47:24'::timestamp) - extract(epoch from '2026-08-06 05:47: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.540523)', '2026-08-06 05:47:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540517)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:47:37'::timestamp) - extract(epoch from '2026-08-06 05:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540517)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:47:37'::timestamp) - extract(epoch from '2026-08-06 05:47: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'), 48150, 'SRID=4674;POINT (-38.803873 -3.540523)', '2026-08-06 05:47:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:47:52'::timestamp) - extract(epoch from '2026-08-06 05:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:47:52'::timestamp) - extract(epoch from '2026-08-06 05:47: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'), 48150, 'SRID=4674;POINT (-38.803862 -3.540523)', '2026-08-06 05:48:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:48:05'::timestamp) - extract(epoch from '2026-08-06 05:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540523)'))) / (select extract(epoch from '2026-08-06 05:48:05'::timestamp) - extract(epoch from '2026-08-06 05:47: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'), 48150, 'SRID=4674;POINT (-38.803857 -3.540505)', '2026-08-06 05:48:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:48:14'::timestamp) - extract(epoch from '2026-08-06 05:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803862 -3.540523)'), GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:48:14'::timestamp) - extract(epoch from '2026-08-06 05:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803863 -3.540505)', '2026-08-06 05:48:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:48:22'::timestamp) - extract(epoch from '2026-08-06 05:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:48:22'::timestamp) - extract(epoch from '2026-08-06 05:48: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'), 48150, 'SRID=4674;POINT (-38.803859 -3.540499)', '2026-08-06 05:48:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803859 -3.540499)'))) / (select extract(epoch from '2026-08-06 05:48:31'::timestamp) - extract(epoch from '2026-08-06 05:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803863 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803859 -3.540499)'))) / (select extract(epoch from '2026-08-06 05:48:31'::timestamp) - extract(epoch from '2026-08-06 05:48: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'), 48150, 'SRID=4674;POINT (-38.80385 -3.540499)', '2026-08-06 05:48:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803859 -3.540499)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540499)'))) / (select extract(epoch from '2026-08-06 05:48:39'::timestamp) - extract(epoch from '2026-08-06 05:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803859 -3.540499)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540499)'))) / (select extract(epoch from '2026-08-06 05:48:39'::timestamp) - extract(epoch from '2026-08-06 05:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803856 -3.540496)', '2026-08-06 05:48:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540499)'), GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540496)'))) / (select extract(epoch from '2026-08-06 05:48:47'::timestamp) - extract(epoch from '2026-08-06 05:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540499)'), GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540496)'))) / (select extract(epoch from '2026-08-06 05:48:47'::timestamp) - extract(epoch from '2026-08-06 05:48: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'), 48150, 'SRID=4674;POINT (-38.803849 -3.540501)', '2026-08-06 05:48:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540496)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540501)'))) / (select extract(epoch from '2026-08-06 05:48:53'::timestamp) - extract(epoch from '2026-08-06 05:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803856 -3.540496)'), GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540501)'))) / (select extract(epoch from '2026-08-06 05:48:53'::timestamp) - extract(epoch from '2026-08-06 05:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803847 -3.540497)', '2026-08-06 05:49:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540501)'), GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540497)'))) / (select extract(epoch from '2026-08-06 05:49:03'::timestamp) - extract(epoch from '2026-08-06 05:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803849 -3.540501)'), GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540497)'))) / (select extract(epoch from '2026-08-06 05:49:03'::timestamp) - extract(epoch from '2026-08-06 05:48: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'), 48150, 'SRID=4674;POINT (-38.80385 -3.540498)', '2026-08-06 05:49:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540497)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540498)'))) / (select extract(epoch from '2026-08-06 05:49:13'::timestamp) - extract(epoch from '2026-08-06 05:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803847 -3.540497)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540498)'))) / (select extract(epoch from '2026-08-06 05:49:13'::timestamp) - extract(epoch from '2026-08-06 05:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803854 -3.540504)', '2026-08-06 05:49:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540498)'), GeomFromEWKT('SRID=4674;POINT (-38.803854 -3.540504)'))) / (select extract(epoch from '2026-08-06 05:49:24'::timestamp) - extract(epoch from '2026-08-06 05:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.540498)'), GeomFromEWKT('SRID=4674;POINT (-38.803854 -3.540504)'))) / (select extract(epoch from '2026-08-06 05:49:24'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803851 -3.540507)', '2026-08-06 05:49:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803854 -3.540504)'), GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540507)'))) / (select extract(epoch from '2026-08-06 05:49:31'::timestamp) - extract(epoch from '2026-08-06 05:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803854 -3.540504)'), GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540507)'))) / (select extract(epoch from '2026-08-06 05:49:31'::timestamp) - extract(epoch from '2026-08-06 05:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803857 -3.54051)', '2026-08-06 05:49:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540507)'), GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.54051)'))) / (select extract(epoch from '2026-08-06 05:49:37'::timestamp) - extract(epoch from '2026-08-06 05:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803851 -3.540507)'), GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.54051)'))) / (select extract(epoch from '2026-08-06 05:49:37'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803868 -3.540508)', '2026-08-06 05:49:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.54051)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540508)'))) / (select extract(epoch from '2026-08-06 05:49:45'::timestamp) - extract(epoch from '2026-08-06 05:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803857 -3.54051)'), GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540508)'))) / (select extract(epoch from '2026-08-06 05:49:45'::timestamp) - extract(epoch from '2026-08-06 05:49: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'), 48150, 'SRID=4674;POINT (-38.803871 -3.540506)', '2026-08-06 05:49:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540508)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:49:54'::timestamp) - extract(epoch from '2026-08-06 05:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803868 -3.540508)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540506)'))) / (select extract(epoch from '2026-08-06 05:49:54'::timestamp) - extract(epoch from '2026-08-06 05:49: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'), 48150, 'SRID=4674;POINT (-38.803886 -3.540509)', '2026-08-06 05:50:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:50:02'::timestamp) - extract(epoch from '2026-08-06 05:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:50:02'::timestamp) - extract(epoch from '2026-08-06 05:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803881 -3.540505)', '2026-08-06 05:50:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:50:10'::timestamp) - extract(epoch from '2026-08-06 05:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540505)'))) / (select extract(epoch from '2026-08-06 05:50:10'::timestamp) - extract(epoch from '2026-08-06 05:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803873 -3.540509)', '2026-08-06 05:50:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:50:28'::timestamp) - extract(epoch from '2026-08-06 05:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540505)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540509)'))) / (select extract(epoch from '2026-08-06 05:50:28'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803866 -3.540513)', '2026-08-06 05:50:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540513)'))) / (select extract(epoch from '2026-08-06 05:50:38'::timestamp) - extract(epoch from '2026-08-06 05:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540509)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540513)'))) / (select extract(epoch from '2026-08-06 05:50:38'::timestamp) - extract(epoch from '2026-08-06 05:50: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'), 48150, 'SRID=4674;POINT (-38.803866 -3.540518)', '2026-08-06 05:50:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540513)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:50:51'::timestamp) - extract(epoch from '2026-08-06 05:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540513)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540518)'))) / (select extract(epoch from '2026-08-06 05:50:51'::timestamp) - extract(epoch from '2026-08-06 05:50: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'), 48150, 'SRID=4674;POINT (-38.803861 -3.540527)', '2026-08-06 05:51:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:51:01'::timestamp) - extract(epoch from '2026-08-06 05:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540518)'), GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:51:01'::timestamp) - extract(epoch from '2026-08-06 05:50: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'), 48150, 'SRID=4674;POINT (-38.803871 -3.540527)', '2026-08-06 05:51:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:51:08'::timestamp) - extract(epoch from '2026-08-06 05:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803861 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540527)'))) / (select extract(epoch from '2026-08-06 05:51:08'::timestamp) - extract(epoch from '2026-08-06 05:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803866 -3.540534)', '2026-08-06 05:51:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:51:14'::timestamp) - extract(epoch from '2026-08-06 05:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803871 -3.540527)'), GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:51:14'::timestamp) - extract(epoch from '2026-08-06 05:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803867 -3.540535)', '2026-08-06 05:51:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:51:23'::timestamp) - extract(epoch from '2026-08-06 05:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803866 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:51:23'::timestamp) - extract(epoch from '2026-08-06 05:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80388 -3.540542)', '2026-08-06 05:51:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:51:35'::timestamp) - extract(epoch from '2026-08-06 05:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803867 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:51:35'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803878 -3.540543)', '2026-08-06 05:51:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:51:48'::timestamp) - extract(epoch from '2026-08-06 05:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:51:48'::timestamp) - extract(epoch from '2026-08-06 05:51: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'), 48150, 'SRID=4674;POINT (-38.803887 -3.540542)', '2026-08-06 05:51:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:51:57'::timestamp) - extract(epoch from '2026-08-06 05:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:51:57'::timestamp) - extract(epoch from '2026-08-06 05:51: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'), 48150, 'SRID=4674;POINT (-38.803885 -3.540542)', '2026-08-06 05:52:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:52:06'::timestamp) - extract(epoch from '2026-08-06 05:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540542)'))) / (select extract(epoch from '2026-08-06 05:52:06'::timestamp) - extract(epoch from '2026-08-06 05:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803889 -3.540544)', '2026-08-06 05:52:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:52:13'::timestamp) - extract(epoch from '2026-08-06 05:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540542)'), GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:52:13'::timestamp) - extract(epoch from '2026-08-06 05:52: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'), 48150, 'SRID=4674;POINT (-38.803892 -3.540544)', '2026-08-06 05:52:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803892 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:52:22'::timestamp) - extract(epoch from '2026-08-06 05:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803892 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:52:22'::timestamp) - extract(epoch from '2026-08-06 05:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803891 -3.54054)', '2026-08-06 05:52:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803892 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803891 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:52:34'::timestamp) - extract(epoch from '2026-08-06 05:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803892 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803891 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:52:34'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803897 -3.540539)', '2026-08-06 05:52:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803891 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803897 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:52:44'::timestamp) - extract(epoch from '2026-08-06 05:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803891 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803897 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:52:44'::timestamp) - extract(epoch from '2026-08-06 05:52: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'), 48150, 'SRID=4674;POINT (-38.803896 -3.540543)', '2026-08-06 05:52:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803897 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:52:53'::timestamp) - extract(epoch from '2026-08-06 05:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803897 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540543)'))) / (select extract(epoch from '2026-08-06 05:52:53'::timestamp) - extract(epoch from '2026-08-06 05:52: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'), 48150, 'SRID=4674;POINT (-38.80389 -3.540537)', '2026-08-06 05:53:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540537)'))) / (select extract(epoch from '2026-08-06 05:53:03'::timestamp) - extract(epoch from '2026-08-06 05:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540543)'), GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540537)'))) / (select extract(epoch from '2026-08-06 05:53:03'::timestamp) - extract(epoch from '2026-08-06 05:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803885 -3.540536)', '2026-08-06 05:53:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540537)'), GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:53:10'::timestamp) - extract(epoch from '2026-08-06 05:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540537)'), GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540536)'))) / (select extract(epoch from '2026-08-06 05:53:10'::timestamp) - extract(epoch from '2026-08-06 05:53: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'), 48150, 'SRID=4674;POINT (-38.803881 -3.540534)', '2026-08-06 05:53:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:53:21'::timestamp) - extract(epoch from '2026-08-06 05:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803885 -3.540536)'), GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540534)'))) / (select extract(epoch from '2026-08-06 05:53:21'::timestamp) - extract(epoch from '2026-08-06 05:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803893 -3.540532)', '2026-08-06 05:53:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803893 -3.540532)'))) / (select extract(epoch from '2026-08-06 05:53:32'::timestamp) - extract(epoch from '2026-08-06 05:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803881 -3.540534)'), GeomFromEWKT('SRID=4674;POINT (-38.803893 -3.540532)'))) / (select extract(epoch from '2026-08-06 05:53:32'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803899 -3.540535)', '2026-08-06 05:53:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803893 -3.540532)'), GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:53:41'::timestamp) - extract(epoch from '2026-08-06 05:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803893 -3.540532)'), GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540535)'))) / (select extract(epoch from '2026-08-06 05:53:41'::timestamp) - extract(epoch from '2026-08-06 05:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803896 -3.540539)', '2026-08-06 05:53:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:53:53'::timestamp) - extract(epoch from '2026-08-06 05:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540535)'), GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540539)'))) / (select extract(epoch from '2026-08-06 05:53:53'::timestamp) - extract(epoch from '2026-08-06 05:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803902 -3.540546)', '2026-08-06 05:54:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803902 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:54:03'::timestamp) - extract(epoch from '2026-08-06 05:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803896 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.803902 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:54:03'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803899 -3.54055)', '2026-08-06 05:54:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803902 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.54055)'))) / (select extract(epoch from '2026-08-06 05:54:09'::timestamp) - extract(epoch from '2026-08-06 05:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803902 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.54055)'))) / (select extract(epoch from '2026-08-06 05:54:09'::timestamp) - extract(epoch from '2026-08-06 05:54: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'), 48150, 'SRID=4674;POINT (-38.803895 -3.540556)', '2026-08-06 05:54:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803895 -3.540556)'))) / (select extract(epoch from '2026-08-06 05:54:14'::timestamp) - extract(epoch from '2026-08-06 05:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803895 -3.540556)'))) / (select extract(epoch from '2026-08-06 05:54:14'::timestamp) - extract(epoch from '2026-08-06 05:54: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'), 48150, 'SRID=4674;POINT (-38.803898 -3.540553)', '2026-08-06 05:54:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803895 -3.540556)'), GeomFromEWKT('SRID=4674;POINT (-38.803898 -3.540553)'))) / (select extract(epoch from '2026-08-06 05:54:19'::timestamp) - extract(epoch from '2026-08-06 05:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803895 -3.540556)'), GeomFromEWKT('SRID=4674;POINT (-38.803898 -3.540553)'))) / (select extract(epoch from '2026-08-06 05:54:19'::timestamp) - extract(epoch from '2026-08-06 05:54: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'), 48150, 'SRID=4674;POINT (-38.803903 -3.540551)', '2026-08-06 05:54:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803898 -3.540553)'), GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540551)'))) / (select extract(epoch from '2026-08-06 05:54:26'::timestamp) - extract(epoch from '2026-08-06 05:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803898 -3.540553)'), GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540551)'))) / (select extract(epoch from '2026-08-06 05:54:26'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.80391 -3.540556)', '2026-08-06 05:54:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540551)'), GeomFromEWKT('SRID=4674;POINT (-38.80391 -3.540556)'))) / (select extract(epoch from '2026-08-06 05:54:34'::timestamp) - extract(epoch from '2026-08-06 05:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540551)'), GeomFromEWKT('SRID=4674;POINT (-38.80391 -3.540556)'))) / (select extract(epoch from '2026-08-06 05:54:34'::timestamp) - extract(epoch from '2026-08-06 05:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803903 -3.540566)', '2026-08-06 05:54:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80391 -3.540556)'), GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540566)'))) / (select extract(epoch from '2026-08-06 05:54:42'::timestamp) - extract(epoch from '2026-08-06 05:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80391 -3.540556)'), GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540566)'))) / (select extract(epoch from '2026-08-06 05:54:42'::timestamp) - extract(epoch from '2026-08-06 05:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803907 -3.540562)', '2026-08-06 05:54:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540566)'), GeomFromEWKT('SRID=4674;POINT (-38.803907 -3.540562)'))) / (select extract(epoch from '2026-08-06 05:54:48'::timestamp) - extract(epoch from '2026-08-06 05:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803903 -3.540566)'), GeomFromEWKT('SRID=4674;POINT (-38.803907 -3.540562)'))) / (select extract(epoch from '2026-08-06 05:54:48'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803904 -3.540566)', '2026-08-06 05:54:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803907 -3.540562)'), GeomFromEWKT('SRID=4674;POINT (-38.803904 -3.540566)'))) / (select extract(epoch from '2026-08-06 05:54:59'::timestamp) - extract(epoch from '2026-08-06 05:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803907 -3.540562)'), GeomFromEWKT('SRID=4674;POINT (-38.803904 -3.540566)'))) / (select extract(epoch from '2026-08-06 05:54:59'::timestamp) - extract(epoch from '2026-08-06 05:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803899 -3.540563)', '2026-08-06 05:55:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803904 -3.540566)'), GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540563)'))) / (select extract(epoch from '2026-08-06 05:55:05'::timestamp) - extract(epoch from '2026-08-06 05:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803904 -3.540566)'), GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540563)'))) / (select extract(epoch from '2026-08-06 05:55:05'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803894 -3.540569)', '2026-08-06 05:55:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540563)'), GeomFromEWKT('SRID=4674;POINT (-38.803894 -3.540569)'))) / (select extract(epoch from '2026-08-06 05:55:14'::timestamp) - extract(epoch from '2026-08-06 05:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803899 -3.540563)'), GeomFromEWKT('SRID=4674;POINT (-38.803894 -3.540569)'))) / (select extract(epoch from '2026-08-06 05:55:14'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.80389 -3.540562)', '2026-08-06 05:55:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803894 -3.540569)'), GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540562)'))) / (select extract(epoch from '2026-08-06 05:55:24'::timestamp) - extract(epoch from '2026-08-06 05:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803894 -3.540569)'), GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540562)'))) / (select extract(epoch from '2026-08-06 05:55:24'::timestamp) - extract(epoch from '2026-08-06 05:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803889 -3.540563)', '2026-08-06 05:55:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540562)'), GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540563)'))) / (select extract(epoch from '2026-08-06 05:55:36'::timestamp) - extract(epoch from '2026-08-06 05:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80389 -3.540562)'), GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540563)'))) / (select extract(epoch from '2026-08-06 05:55:36'::timestamp) - extract(epoch from '2026-08-06 05:55: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'), 48150, 'SRID=4674;POINT (-38.803887 -3.540565)', '2026-08-06 05:55:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540563)'), GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540565)'))) / (select extract(epoch from '2026-08-06 05:55:42'::timestamp) - extract(epoch from '2026-08-06 05:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540563)'), GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540565)'))) / (select extract(epoch from '2026-08-06 05:55:42'::timestamp) - extract(epoch from '2026-08-06 05:55: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'), 48150, 'SRID=4674;POINT (-38.803883 -3.540566)', '2026-08-06 05:55:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540565)'), GeomFromEWKT('SRID=4674;POINT (-38.803883 -3.540566)'))) / (select extract(epoch from '2026-08-06 05:55:54'::timestamp) - extract(epoch from '2026-08-06 05:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803887 -3.540565)'), GeomFromEWKT('SRID=4674;POINT (-38.803883 -3.540566)'))) / (select extract(epoch from '2026-08-06 05:55:54'::timestamp) - extract(epoch from '2026-08-06 05:55: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'), 48150, 'SRID=4674;POINT (-38.803873 -3.54056)', '2026-08-06 05:56:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803883 -3.540566)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54056)'))) / (select extract(epoch from '2026-08-06 05:56:03'::timestamp) - extract(epoch from '2026-08-06 05:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803883 -3.540566)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54056)'))) / (select extract(epoch from '2026-08-06 05:56:03'::timestamp) - extract(epoch from '2026-08-06 05:55: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'), 48150, 'SRID=4674;POINT (-38.803875 -3.540569)', '2026-08-06 05:56:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54056)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540569)'))) / (select extract(epoch from '2026-08-06 05:56:08'::timestamp) - extract(epoch from '2026-08-06 05:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.54056)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540569)'))) / (select extract(epoch from '2026-08-06 05:56:08'::timestamp) - extract(epoch from '2026-08-06 05:56: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'), 48150, 'SRID=4674;POINT (-38.803874 -3.540578)', '2026-08-06 05:56:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540569)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540578)'))) / (select extract(epoch from '2026-08-06 05:56:14'::timestamp) - extract(epoch from '2026-08-06 05:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540569)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540578)'))) / (select extract(epoch from '2026-08-06 05:56:14'::timestamp) - extract(epoch from '2026-08-06 05:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803874 -3.540568)', '2026-08-06 05:56:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540578)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540568)'))) / (select extract(epoch from '2026-08-06 05:56:22'::timestamp) - extract(epoch from '2026-08-06 05:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540578)'), GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540568)'))) / (select extract(epoch from '2026-08-06 05:56:22'::timestamp) - extract(epoch from '2026-08-06 05:56: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'), 48150, 'SRID=4674;POINT (-38.803879 -3.540555)', '2026-08-06 05:56:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540568)'), GeomFromEWKT('SRID=4674;POINT (-38.803879 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:56:35'::timestamp) - extract(epoch from '2026-08-06 05:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803874 -3.540568)'), GeomFromEWKT('SRID=4674;POINT (-38.803879 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:56:35'::timestamp) - extract(epoch from '2026-08-06 05:56: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'), 48150, 'SRID=4674;POINT (-38.803888 -3.540555)', '2026-08-06 05:56:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803879 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803888 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:56:45'::timestamp) - extract(epoch from '2026-08-06 05:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803879 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803888 -3.540555)'))) / (select extract(epoch from '2026-08-06 05:56:45'::timestamp) - extract(epoch from '2026-08-06 05:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803889 -3.540561)', '2026-08-06 05:56:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803888 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540561)'))) / (select extract(epoch from '2026-08-06 05:56:53'::timestamp) - extract(epoch from '2026-08-06 05:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803888 -3.540555)'), GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540561)'))) / (select extract(epoch from '2026-08-06 05:56:53'::timestamp) - extract(epoch from '2026-08-06 05:56: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'), 48150, 'SRID=4674;POINT (-38.803886 -3.540565)', '2026-08-06 05:57:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540561)'), GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540565)'))) / (select extract(epoch from '2026-08-06 05:57:04'::timestamp) - extract(epoch from '2026-08-06 05:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803889 -3.540561)'), GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540565)'))) / (select extract(epoch from '2026-08-06 05:57:04'::timestamp) - extract(epoch from '2026-08-06 05:56: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'), 48150, 'SRID=4674;POINT (-38.803884 -3.540554)', '2026-08-06 05:57:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540565)'), GeomFromEWKT('SRID=4674;POINT (-38.803884 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:57:17'::timestamp) - extract(epoch from '2026-08-06 05:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803886 -3.540565)'), GeomFromEWKT('SRID=4674;POINT (-38.803884 -3.540554)'))) / (select extract(epoch from '2026-08-06 05:57:17'::timestamp) - extract(epoch from '2026-08-06 05:57: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'), 48150, 'SRID=4674;POINT (-38.803882 -3.540553)', '2026-08-06 05:57:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803884 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540553)'))) / (select extract(epoch from '2026-08-06 05:57:28'::timestamp) - extract(epoch from '2026-08-06 05:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803884 -3.540554)'), GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540553)'))) / (select extract(epoch from '2026-08-06 05:57:28'::timestamp) - extract(epoch from '2026-08-06 05:57: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'), 48150, 'SRID=4674;POINT (-38.803878 -3.540552)', '2026-08-06 05:57:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540553)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:57:37'::timestamp) - extract(epoch from '2026-08-06 05:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803882 -3.540553)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'))) / (select extract(epoch from '2026-08-06 05:57:37'::timestamp) - extract(epoch from '2026-08-06 05:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803878 -3.540546)', '2026-08-06 05:57:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:57:47'::timestamp) - extract(epoch from '2026-08-06 05:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540552)'), GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540546)'))) / (select extract(epoch from '2026-08-06 05:57:47'::timestamp) - extract(epoch from '2026-08-06 05:57: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'), 48150, 'SRID=4674;POINT (-38.80388 -3.540544)', '2026-08-06 05:57:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:57:55'::timestamp) - extract(epoch from '2026-08-06 05:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803878 -3.540546)'), GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:57:55'::timestamp) - extract(epoch from '2026-08-06 05:57: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'), 48150, 'SRID=4674;POINT (-38.803875 -3.540544)', '2026-08-06 05:58:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:58:08'::timestamp) - extract(epoch from '2026-08-06 05:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80388 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540544)'))) / (select extract(epoch from '2026-08-06 05:58:08'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803876 -3.54054)', '2026-08-06 05:58:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:58:22'::timestamp) - extract(epoch from '2026-08-06 05:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803875 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.54054)'))) / (select extract(epoch from '2026-08-06 05:58:22'::timestamp) - extract(epoch from '2026-08-06 05:58: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'), 48150, 'SRID=4674;POINT (-38.803873 -3.540547)', '2026-08-06 05:58:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540547)'))) / (select extract(epoch from '2026-08-06 05:58:34'::timestamp) - extract(epoch from '2026-08-06 05:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803876 -3.54054)'), GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540547)'))) / (select extract(epoch from '2026-08-06 05:58:34'::timestamp) - extract(epoch from '2026-08-06 05:58: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'), 48150, 'SRID=4674;POINT (-38.803852 -3.540568)', '2026-08-06 05:58:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540547)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540568)'))) / (select extract(epoch from '2026-08-06 05:58:50'::timestamp) - extract(epoch from '2026-08-06 05:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803873 -3.540547)'), GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540568)'))) / (select extract(epoch from '2026-08-06 05:58:50'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803808 -3.540615)', '2026-08-06 05:59:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540568)'), GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.540615)'))) / (select extract(epoch from '2026-08-06 05:59:00'::timestamp) - extract(epoch from '2026-08-06 05:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803852 -3.540568)'), GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.540615)'))) / (select extract(epoch from '2026-08-06 05:59:00'::timestamp) - extract(epoch from '2026-08-06 05:58: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'), 48150, 'SRID=4674;POINT (-38.803792 -3.540636)', '2026-08-06 05:59:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.540615)'), GeomFromEWKT('SRID=4674;POINT (-38.803792 -3.540636)'))) / (select extract(epoch from '2026-08-06 05:59:07'::timestamp) - extract(epoch from '2026-08-06 05:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.540615)'), GeomFromEWKT('SRID=4674;POINT (-38.803792 -3.540636)'))) / (select extract(epoch from '2026-08-06 05:59:07'::timestamp) - extract(epoch from '2026-08-06 05:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803749 -3.540682)', '2026-08-06 05:59:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803792 -3.540636)'), GeomFromEWKT('SRID=4674;POINT (-38.803749 -3.540682)'))) / (select extract(epoch from '2026-08-06 05:59:17'::timestamp) - extract(epoch from '2026-08-06 05:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803792 -3.540636)'), GeomFromEWKT('SRID=4674;POINT (-38.803749 -3.540682)'))) / (select extract(epoch from '2026-08-06 05:59:17'::timestamp) - extract(epoch from '2026-08-06 05:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803683 -3.540737)', '2026-08-06 05:59:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803749 -3.540682)'), GeomFromEWKT('SRID=4674;POINT (-38.803683 -3.540737)'))) / (select extract(epoch from '2026-08-06 05:59:30'::timestamp) - extract(epoch from '2026-08-06 05:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803749 -3.540682)'), GeomFromEWKT('SRID=4674;POINT (-38.803683 -3.540737)'))) / (select extract(epoch from '2026-08-06 05:59:30'::timestamp) - extract(epoch from '2026-08-06 05:59: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'), 48150, 'SRID=4674;POINT (-38.80364 -3.54077)', '2026-08-06 05:59:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803683 -3.540737)'), GeomFromEWKT('SRID=4674;POINT (-38.80364 -3.54077)'))) / (select extract(epoch from '2026-08-06 05:59:40'::timestamp) - extract(epoch from '2026-08-06 05:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803683 -3.540737)'), GeomFromEWKT('SRID=4674;POINT (-38.80364 -3.54077)'))) / (select extract(epoch from '2026-08-06 05:59:40'::timestamp) - extract(epoch from '2026-08-06 05:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80362 -3.540798)', '2026-08-06 05:59:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80364 -3.54077)'), GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.540798)'))) / (select extract(epoch from '2026-08-06 05:59:48'::timestamp) - extract(epoch from '2026-08-06 05:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80364 -3.54077)'), GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.540798)'))) / (select extract(epoch from '2026-08-06 05:59:48'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803587 -3.540843)', '2026-08-06 05:59:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.540798)'), GeomFromEWKT('SRID=4674;POINT (-38.803587 -3.540843)'))) / (select extract(epoch from '2026-08-06 05:59:59'::timestamp) - extract(epoch from '2026-08-06 05:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80362 -3.540798)'), GeomFromEWKT('SRID=4674;POINT (-38.803587 -3.540843)'))) / (select extract(epoch from '2026-08-06 05:59:59'::timestamp) - extract(epoch from '2026-08-06 05:59: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'), 48150, 'SRID=4674;POINT (-38.803572 -3.540864)', '2026-08-06 06:00:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803587 -3.540843)'), GeomFromEWKT('SRID=4674;POINT (-38.803572 -3.540864)'))) / (select extract(epoch from '2026-08-06 06:00:09'::timestamp) - extract(epoch from '2026-08-06 05:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803587 -3.540843)'), GeomFromEWKT('SRID=4674;POINT (-38.803572 -3.540864)'))) / (select extract(epoch from '2026-08-06 06:00:09'::timestamp) - extract(epoch from '2026-08-06 05: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'), 48150, 'SRID=4674;POINT (-38.803576 -3.540864)', '2026-08-06 06:00:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803572 -3.540864)'), GeomFromEWKT('SRID=4674;POINT (-38.803576 -3.540864)'))) / (select extract(epoch from '2026-08-06 06:00:13'::timestamp) - extract(epoch from '2026-08-06 06:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803572 -3.540864)'), GeomFromEWKT('SRID=4674;POINT (-38.803576 -3.540864)'))) / (select extract(epoch from '2026-08-06 06:00:13'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.80358 -3.540859)', '2026-08-06 06:00:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803576 -3.540864)'), GeomFromEWKT('SRID=4674;POINT (-38.80358 -3.540859)'))) / (select extract(epoch from '2026-08-06 06:00:19'::timestamp) - extract(epoch from '2026-08-06 06:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803576 -3.540864)'), GeomFromEWKT('SRID=4674;POINT (-38.80358 -3.540859)'))) / (select extract(epoch from '2026-08-06 06:00:19'::timestamp) - extract(epoch from '2026-08-06 06:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803589 -3.540845)', '2026-08-06 06:00:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80358 -3.540859)'), GeomFromEWKT('SRID=4674;POINT (-38.803589 -3.540845)'))) / (select extract(epoch from '2026-08-06 06:00:27'::timestamp) - extract(epoch from '2026-08-06 06:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80358 -3.540859)'), GeomFromEWKT('SRID=4674;POINT (-38.803589 -3.540845)'))) / (select extract(epoch from '2026-08-06 06:00:27'::timestamp) - extract(epoch from '2026-08-06 06:00: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'), 48150, 'SRID=4674;POINT (-38.803614 -3.5408)', '2026-08-06 06:00:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803589 -3.540845)'), GeomFromEWKT('SRID=4674;POINT (-38.803614 -3.5408)'))) / (select extract(epoch from '2026-08-06 06:00:38'::timestamp) - extract(epoch from '2026-08-06 06:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803589 -3.540845)'), GeomFromEWKT('SRID=4674;POINT (-38.803614 -3.5408)'))) / (select extract(epoch from '2026-08-06 06:00:38'::timestamp) - extract(epoch from '2026-08-06 06:00: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'), 48150, 'SRID=4674;POINT (-38.803651 -3.540748)', '2026-08-06 06:00:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803614 -3.5408)'), GeomFromEWKT('SRID=4674;POINT (-38.803651 -3.540748)'))) / (select extract(epoch from '2026-08-06 06:00:47'::timestamp) - extract(epoch from '2026-08-06 06:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803614 -3.5408)'), GeomFromEWKT('SRID=4674;POINT (-38.803651 -3.540748)'))) / (select extract(epoch from '2026-08-06 06:00:47'::timestamp) - extract(epoch from '2026-08-06 06:00: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'), 48150, 'SRID=4674;POINT (-38.803661 -3.540726)', '2026-08-06 06:00:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803651 -3.540748)'), GeomFromEWKT('SRID=4674;POINT (-38.803661 -3.540726)'))) / (select extract(epoch from '2026-08-06 06:00:52'::timestamp) - extract(epoch from '2026-08-06 06:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803651 -3.540748)'), GeomFromEWKT('SRID=4674;POINT (-38.803661 -3.540726)'))) / (select extract(epoch from '2026-08-06 06:00:52'::timestamp) - extract(epoch from '2026-08-06 06:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803686 -3.540671)', '2026-08-06 06:01:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803661 -3.540726)'), GeomFromEWKT('SRID=4674;POINT (-38.803686 -3.540671)'))) / (select extract(epoch from '2026-08-06 06:01:02'::timestamp) - extract(epoch from '2026-08-06 06:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803661 -3.540726)'), GeomFromEWKT('SRID=4674;POINT (-38.803686 -3.540671)'))) / (select extract(epoch from '2026-08-06 06:01:02'::timestamp) - extract(epoch from '2026-08-06 06:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803694 -3.540645)', '2026-08-06 06:01:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803686 -3.540671)'), GeomFromEWKT('SRID=4674;POINT (-38.803694 -3.540645)'))) / (select extract(epoch from '2026-08-06 06:01:04'::timestamp) - extract(epoch from '2026-08-06 06:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803686 -3.540671)'), GeomFromEWKT('SRID=4674;POINT (-38.803694 -3.540645)'))) / (select extract(epoch from '2026-08-06 06:01:04'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.803662 -3.54061)', '2026-08-06 06:01:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803694 -3.540645)'), GeomFromEWKT('SRID=4674;POINT (-38.803662 -3.54061)'))) / (select extract(epoch from '2026-08-06 06:01:07'::timestamp) - extract(epoch from '2026-08-06 06:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803694 -3.540645)'), GeomFromEWKT('SRID=4674;POINT (-38.803662 -3.54061)'))) / (select extract(epoch from '2026-08-06 06:01:07'::timestamp) - extract(epoch from '2026-08-06 06:01: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'), 48150, 'SRID=4674;POINT (-38.803558 -3.540578)', '2026-08-06 06:01:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803662 -3.54061)'), GeomFromEWKT('SRID=4674;POINT (-38.803558 -3.540578)'))) / (select extract(epoch from '2026-08-06 06:01:13'::timestamp) - extract(epoch from '2026-08-06 06:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803662 -3.54061)'), GeomFromEWKT('SRID=4674;POINT (-38.803558 -3.540578)'))) / (select extract(epoch from '2026-08-06 06:01:13'::timestamp) - extract(epoch from '2026-08-06 06:01: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'), 48150, 'SRID=4674;POINT (-38.803458 -3.540567)', '2026-08-06 06:01:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803558 -3.540578)'), GeomFromEWKT('SRID=4674;POINT (-38.803458 -3.540567)'))) / (select extract(epoch from '2026-08-06 06:01:18'::timestamp) - extract(epoch from '2026-08-06 06:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803558 -3.540578)'), GeomFromEWKT('SRID=4674;POINT (-38.803458 -3.540567)'))) / (select extract(epoch from '2026-08-06 06:01:18'::timestamp) - extract(epoch from '2026-08-06 06:01: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'), 48150, 'SRID=4674;POINT (-38.803335 -3.54055)', '2026-08-06 06:01:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803458 -3.540567)'), GeomFromEWKT('SRID=4674;POINT (-38.803335 -3.54055)'))) / (select extract(epoch from '2026-08-06 06:01:25'::timestamp) - extract(epoch from '2026-08-06 06:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803458 -3.540567)'), GeomFromEWKT('SRID=4674;POINT (-38.803335 -3.54055)'))) / (select extract(epoch from '2026-08-06 06:01:25'::timestamp) - extract(epoch from '2026-08-06 06:01: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'), 48150, 'SRID=4674;POINT (-38.803182 -3.540544)', '2026-08-06 06:01:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803335 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803182 -3.540544)'))) / (select extract(epoch from '2026-08-06 06:01:33'::timestamp) - extract(epoch from '2026-08-06 06:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803335 -3.54055)'), GeomFromEWKT('SRID=4674;POINT (-38.803182 -3.540544)'))) / (select extract(epoch from '2026-08-06 06:01:33'::timestamp) - extract(epoch from '2026-08-06 06:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.803069 -3.540538)', '2026-08-06 06:01:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803182 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803069 -3.540538)'))) / (select extract(epoch from '2026-08-06 06:01:39'::timestamp) - extract(epoch from '2026-08-06 06:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803182 -3.540544)'), GeomFromEWKT('SRID=4674;POINT (-38.803069 -3.540538)'))) / (select extract(epoch from '2026-08-06 06:01:39'::timestamp) - extract(epoch from '2026-08-06 06:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.802958 -3.540577)', '2026-08-06 06:01:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803069 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.802958 -3.540577)'))) / (select extract(epoch from '2026-08-06 06:01:46'::timestamp) - extract(epoch from '2026-08-06 06:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803069 -3.540538)'), GeomFromEWKT('SRID=4674;POINT (-38.802958 -3.540577)'))) / (select extract(epoch from '2026-08-06 06:01:46'::timestamp) - extract(epoch from '2026-08-06 06:01: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'), 48150, 'SRID=4674;POINT (-38.802857 -3.540561)', '2026-08-06 06:01:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802958 -3.540577)'), GeomFromEWKT('SRID=4674;POINT (-38.802857 -3.540561)'))) / (select extract(epoch from '2026-08-06 06:01:52'::timestamp) - extract(epoch from '2026-08-06 06:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802958 -3.540577)'), GeomFromEWKT('SRID=4674;POINT (-38.802857 -3.540561)'))) / (select extract(epoch from '2026-08-06 06:01:52'::timestamp) - extract(epoch from '2026-08-06 06:01: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'), 48150, 'SRID=4674;POINT (-38.802737 -3.540539)', '2026-08-06 06:01:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802857 -3.540561)'), GeomFromEWKT('SRID=4674;POINT (-38.802737 -3.540539)'))) / (select extract(epoch from '2026-08-06 06:01:58'::timestamp) - extract(epoch from '2026-08-06 06:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802857 -3.540561)'), GeomFromEWKT('SRID=4674;POINT (-38.802737 -3.540539)'))) / (select extract(epoch from '2026-08-06 06:01:58'::timestamp) - extract(epoch from '2026-08-06 06:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.802625 -3.540506)', '2026-08-06 06:02:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802737 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.802625 -3.540506)'))) / (select extract(epoch from '2026-08-06 06:02:04'::timestamp) - extract(epoch from '2026-08-06 06:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802737 -3.540539)'), GeomFromEWKT('SRID=4674;POINT (-38.802625 -3.540506)'))) / (select extract(epoch from '2026-08-06 06:02:04'::timestamp) - extract(epoch from '2026-08-06 06:01: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'), 48150, 'SRID=4674;POINT (-38.802455 -3.540462)', '2026-08-06 06:02:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802625 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.802455 -3.540462)'))) / (select extract(epoch from '2026-08-06 06:02:12'::timestamp) - extract(epoch from '2026-08-06 06:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802625 -3.540506)'), GeomFromEWKT('SRID=4674;POINT (-38.802455 -3.540462)'))) / (select extract(epoch from '2026-08-06 06:02:12'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.802331 -3.540428)', '2026-08-06 06:02:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802455 -3.540462)'), GeomFromEWKT('SRID=4674;POINT (-38.802331 -3.540428)'))) / (select extract(epoch from '2026-08-06 06:02:18'::timestamp) - extract(epoch from '2026-08-06 06:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802455 -3.540462)'), GeomFromEWKT('SRID=4674;POINT (-38.802331 -3.540428)'))) / (select extract(epoch from '2026-08-06 06:02:18'::timestamp) - extract(epoch from '2026-08-06 06:02: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'), 48150, 'SRID=4674;POINT (-38.802183 -3.540386)', '2026-08-06 06:02:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802331 -3.540428)'), GeomFromEWKT('SRID=4674;POINT (-38.802183 -3.540386)'))) / (select extract(epoch from '2026-08-06 06:02:25'::timestamp) - extract(epoch from '2026-08-06 06:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802331 -3.540428)'), GeomFromEWKT('SRID=4674;POINT (-38.802183 -3.540386)'))) / (select extract(epoch from '2026-08-06 06:02:25'::timestamp) - extract(epoch from '2026-08-06 06:02: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'), 48150, 'SRID=4674;POINT (-38.802057 -3.540303)', '2026-08-06 06:02:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802183 -3.540386)'), GeomFromEWKT('SRID=4674;POINT (-38.802057 -3.540303)'))) / (select extract(epoch from '2026-08-06 06:02:32'::timestamp) - extract(epoch from '2026-08-06 06:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802183 -3.540386)'), GeomFromEWKT('SRID=4674;POINT (-38.802057 -3.540303)'))) / (select extract(epoch from '2026-08-06 06:02:32'::timestamp) - extract(epoch from '2026-08-06 06:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.801959 -3.540206)', '2026-08-06 06:02:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802057 -3.540303)'), GeomFromEWKT('SRID=4674;POINT (-38.801959 -3.540206)'))) / (select extract(epoch from '2026-08-06 06:02:38'::timestamp) - extract(epoch from '2026-08-06 06:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802057 -3.540303)'), GeomFromEWKT('SRID=4674;POINT (-38.801959 -3.540206)'))) / (select extract(epoch from '2026-08-06 06:02:38'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.801874 -3.54013)', '2026-08-06 06:02:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801959 -3.540206)'), GeomFromEWKT('SRID=4674;POINT (-38.801874 -3.54013)'))) / (select extract(epoch from '2026-08-06 06:02:43'::timestamp) - extract(epoch from '2026-08-06 06:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801959 -3.540206)'), GeomFromEWKT('SRID=4674;POINT (-38.801874 -3.54013)'))) / (select extract(epoch from '2026-08-06 06:02:43'::timestamp) - extract(epoch from '2026-08-06 06:02: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'), 48150, 'SRID=4674;POINT (-38.801767 -3.540056)', '2026-08-06 06:02:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801874 -3.54013)'), GeomFromEWKT('SRID=4674;POINT (-38.801767 -3.540056)'))) / (select extract(epoch from '2026-08-06 06:02:49'::timestamp) - extract(epoch from '2026-08-06 06:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801874 -3.54013)'), GeomFromEWKT('SRID=4674;POINT (-38.801767 -3.540056)'))) / (select extract(epoch from '2026-08-06 06:02:49'::timestamp) - extract(epoch from '2026-08-06 06:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.801658 -3.539996)', '2026-08-06 06:02:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801767 -3.540056)'), GeomFromEWKT('SRID=4674;POINT (-38.801658 -3.539996)'))) / (select extract(epoch from '2026-08-06 06:02:55'::timestamp) - extract(epoch from '2026-08-06 06:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801767 -3.540056)'), GeomFromEWKT('SRID=4674;POINT (-38.801658 -3.539996)'))) / (select extract(epoch from '2026-08-06 06:02:55'::timestamp) - extract(epoch from '2026-08-06 06:02: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'), 48150, 'SRID=4674;POINT (-38.801545 -3.539929)', '2026-08-06 06:03:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801658 -3.539996)'), GeomFromEWKT('SRID=4674;POINT (-38.801545 -3.539929)'))) / (select extract(epoch from '2026-08-06 06:03:02'::timestamp) - extract(epoch from '2026-08-06 06:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801658 -3.539996)'), GeomFromEWKT('SRID=4674;POINT (-38.801545 -3.539929)'))) / (select extract(epoch from '2026-08-06 06:03:02'::timestamp) - extract(epoch from '2026-08-06 06:02: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'), 48150, 'SRID=4674;POINT (-38.801437 -3.539868)', '2026-08-06 06:03:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801545 -3.539929)'), GeomFromEWKT('SRID=4674;POINT (-38.801437 -3.539868)'))) / (select extract(epoch from '2026-08-06 06:03:08'::timestamp) - extract(epoch from '2026-08-06 06:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801545 -3.539929)'), GeomFromEWKT('SRID=4674;POINT (-38.801437 -3.539868)'))) / (select extract(epoch from '2026-08-06 06:03:08'::timestamp) - extract(epoch from '2026-08-06 06:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.801327 -3.539783)', '2026-08-06 06:03:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801437 -3.539868)'), GeomFromEWKT('SRID=4674;POINT (-38.801327 -3.539783)'))) / (select extract(epoch from '2026-08-06 06:03:15'::timestamp) - extract(epoch from '2026-08-06 06:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801437 -3.539868)'), GeomFromEWKT('SRID=4674;POINT (-38.801327 -3.539783)'))) / (select extract(epoch from '2026-08-06 06:03:15'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.801232 -3.539723)', '2026-08-06 06:03:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801327 -3.539783)'), GeomFromEWKT('SRID=4674;POINT (-38.801232 -3.539723)'))) / (select extract(epoch from '2026-08-06 06:03:21'::timestamp) - extract(epoch from '2026-08-06 06:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801327 -3.539783)'), GeomFromEWKT('SRID=4674;POINT (-38.801232 -3.539723)'))) / (select extract(epoch from '2026-08-06 06:03:21'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.801162 -3.539656)', '2026-08-06 06:03:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801232 -3.539723)'), GeomFromEWKT('SRID=4674;POINT (-38.801162 -3.539656)'))) / (select extract(epoch from '2026-08-06 06:03:26'::timestamp) - extract(epoch from '2026-08-06 06:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801232 -3.539723)'), GeomFromEWKT('SRID=4674;POINT (-38.801162 -3.539656)'))) / (select extract(epoch from '2026-08-06 06:03:26'::timestamp) - extract(epoch from '2026-08-06 06:03: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'), 48150, 'SRID=4674;POINT (-38.801076 -3.539571)', '2026-08-06 06:03:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801162 -3.539656)'), GeomFromEWKT('SRID=4674;POINT (-38.801076 -3.539571)'))) / (select extract(epoch from '2026-08-06 06:03:32'::timestamp) - extract(epoch from '2026-08-06 06:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801162 -3.539656)'), GeomFromEWKT('SRID=4674;POINT (-38.801076 -3.539571)'))) / (select extract(epoch from '2026-08-06 06:03:32'::timestamp) - extract(epoch from '2026-08-06 06:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.800965 -3.539459)', '2026-08-06 06:03:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801076 -3.539571)'), GeomFromEWKT('SRID=4674;POINT (-38.800965 -3.539459)'))) / (select extract(epoch from '2026-08-06 06:03:40'::timestamp) - extract(epoch from '2026-08-06 06:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801076 -3.539571)'), GeomFromEWKT('SRID=4674;POINT (-38.800965 -3.539459)'))) / (select extract(epoch from '2026-08-06 06:03:40'::timestamp) - extract(epoch from '2026-08-06 06:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.800866 -3.539396)', '2026-08-06 06:03:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800965 -3.539459)'), GeomFromEWKT('SRID=4674;POINT (-38.800866 -3.539396)'))) / (select extract(epoch from '2026-08-06 06:03:46'::timestamp) - extract(epoch from '2026-08-06 06:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800965 -3.539459)'), GeomFromEWKT('SRID=4674;POINT (-38.800866 -3.539396)'))) / (select extract(epoch from '2026-08-06 06:03:46'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.800752 -3.53936)', '2026-08-06 06:03:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800866 -3.539396)'), GeomFromEWKT('SRID=4674;POINT (-38.800752 -3.53936)'))) / (select extract(epoch from '2026-08-06 06:03:52'::timestamp) - extract(epoch from '2026-08-06 06:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800866 -3.539396)'), GeomFromEWKT('SRID=4674;POINT (-38.800752 -3.53936)'))) / (select extract(epoch from '2026-08-06 06:03:52'::timestamp) - extract(epoch from '2026-08-06 06:03: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'), 48150, 'SRID=4674;POINT (-38.800667 -3.53932)', '2026-08-06 06:03:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800752 -3.53936)'), GeomFromEWKT('SRID=4674;POINT (-38.800667 -3.53932)'))) / (select extract(epoch from '2026-08-06 06:03:57'::timestamp) - extract(epoch from '2026-08-06 06:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800752 -3.53936)'), GeomFromEWKT('SRID=4674;POINT (-38.800667 -3.53932)'))) / (select extract(epoch from '2026-08-06 06:03:57'::timestamp) - extract(epoch from '2026-08-06 06:03: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'), 48150, 'SRID=4674;POINT (-38.800525 -3.539271)', '2026-08-06 06:04:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800667 -3.53932)'), GeomFromEWKT('SRID=4674;POINT (-38.800525 -3.539271)'))) / (select extract(epoch from '2026-08-06 06:04:05'::timestamp) - extract(epoch from '2026-08-06 06:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800667 -3.53932)'), GeomFromEWKT('SRID=4674;POINT (-38.800525 -3.539271)'))) / (select extract(epoch from '2026-08-06 06:04:05'::timestamp) - extract(epoch from '2026-08-06 06:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.800423 -3.539237)', '2026-08-06 06:04:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800525 -3.539271)'), GeomFromEWKT('SRID=4674;POINT (-38.800423 -3.539237)'))) / (select extract(epoch from '2026-08-06 06:04:11'::timestamp) - extract(epoch from '2026-08-06 06:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800525 -3.539271)'), GeomFromEWKT('SRID=4674;POINT (-38.800423 -3.539237)'))) / (select extract(epoch from '2026-08-06 06:04:11'::timestamp) - extract(epoch from '2026-08-06 06:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.80028 -3.539188)', '2026-08-06 06:04:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800423 -3.539237)'), GeomFromEWKT('SRID=4674;POINT (-38.80028 -3.539188)'))) / (select extract(epoch from '2026-08-06 06:04:19'::timestamp) - extract(epoch from '2026-08-06 06:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800423 -3.539237)'), GeomFromEWKT('SRID=4674;POINT (-38.80028 -3.539188)'))) / (select extract(epoch from '2026-08-06 06:04:19'::timestamp) - extract(epoch from '2026-08-06 06:04: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'), 48150, 'SRID=4674;POINT (-38.800135 -3.539134)', '2026-08-06 06:04:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80028 -3.539188)'), GeomFromEWKT('SRID=4674;POINT (-38.800135 -3.539134)'))) / (select extract(epoch from '2026-08-06 06:04:27'::timestamp) - extract(epoch from '2026-08-06 06:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80028 -3.539188)'), GeomFromEWKT('SRID=4674;POINT (-38.800135 -3.539134)'))) / (select extract(epoch from '2026-08-06 06:04:27'::timestamp) - extract(epoch from '2026-08-06 06:04: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'), 48150, 'SRID=4674;POINT (-38.800033 -3.5391)', '2026-08-06 06:04:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800135 -3.539134)'), GeomFromEWKT('SRID=4674;POINT (-38.800033 -3.5391)'))) / (select extract(epoch from '2026-08-06 06:04:33'::timestamp) - extract(epoch from '2026-08-06 06:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800135 -3.539134)'), GeomFromEWKT('SRID=4674;POINT (-38.800033 -3.5391)'))) / (select extract(epoch from '2026-08-06 06:04:33'::timestamp) - extract(epoch from '2026-08-06 06:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799911 -3.53905)', '2026-08-06 06:04:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800033 -3.5391)'), GeomFromEWKT('SRID=4674;POINT (-38.799911 -3.53905)'))) / (select extract(epoch from '2026-08-06 06:04:40'::timestamp) - extract(epoch from '2026-08-06 06:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800033 -3.5391)'), GeomFromEWKT('SRID=4674;POINT (-38.799911 -3.53905)'))) / (select extract(epoch from '2026-08-06 06:04:40'::timestamp) - extract(epoch from '2026-08-06 06:04: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'), 48150, 'SRID=4674;POINT (-38.799784 -3.538976)', '2026-08-06 06:04:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799911 -3.53905)'), GeomFromEWKT('SRID=4674;POINT (-38.799784 -3.538976)'))) / (select extract(epoch from '2026-08-06 06:04:48'::timestamp) - extract(epoch from '2026-08-06 06:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799911 -3.53905)'), GeomFromEWKT('SRID=4674;POINT (-38.799784 -3.538976)'))) / (select extract(epoch from '2026-08-06 06:04:48'::timestamp) - extract(epoch from '2026-08-06 06:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799674 -3.538928)', '2026-08-06 06:04:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799784 -3.538976)'), GeomFromEWKT('SRID=4674;POINT (-38.799674 -3.538928)'))) / (select extract(epoch from '2026-08-06 06:04:54'::timestamp) - extract(epoch from '2026-08-06 06:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799784 -3.538976)'), GeomFromEWKT('SRID=4674;POINT (-38.799674 -3.538928)'))) / (select extract(epoch from '2026-08-06 06:04:54'::timestamp) - extract(epoch from '2026-08-06 06:04: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'), 48150, 'SRID=4674;POINT (-38.799578 -3.538873)', '2026-08-06 06:05:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799674 -3.538928)'), GeomFromEWKT('SRID=4674;POINT (-38.799578 -3.538873)'))) / (select extract(epoch from '2026-08-06 06:05:00'::timestamp) - extract(epoch from '2026-08-06 06:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799674 -3.538928)'), GeomFromEWKT('SRID=4674;POINT (-38.799578 -3.538873)'))) / (select extract(epoch from '2026-08-06 06:05:00'::timestamp) - extract(epoch from '2026-08-06 06:04: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'), 48150, 'SRID=4674;POINT (-38.799472 -3.538817)', '2026-08-06 06:05:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799578 -3.538873)'), GeomFromEWKT('SRID=4674;POINT (-38.799472 -3.538817)'))) / (select extract(epoch from '2026-08-06 06:05:06'::timestamp) - extract(epoch from '2026-08-06 06:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799578 -3.538873)'), GeomFromEWKT('SRID=4674;POINT (-38.799472 -3.538817)'))) / (select extract(epoch from '2026-08-06 06:05:06'::timestamp) - extract(epoch from '2026-08-06 06:05: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'), 48150, 'SRID=4674;POINT (-38.799354 -3.538776)', '2026-08-06 06:05:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799472 -3.538817)'), GeomFromEWKT('SRID=4674;POINT (-38.799354 -3.538776)'))) / (select extract(epoch from '2026-08-06 06:05:12'::timestamp) - extract(epoch from '2026-08-06 06:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799472 -3.538817)'), GeomFromEWKT('SRID=4674;POINT (-38.799354 -3.538776)'))) / (select extract(epoch from '2026-08-06 06:05:12'::timestamp) - extract(epoch from '2026-08-06 06:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799254 -3.538717)', '2026-08-06 06:05:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799354 -3.538776)'), GeomFromEWKT('SRID=4674;POINT (-38.799254 -3.538717)'))) / (select extract(epoch from '2026-08-06 06:05:18'::timestamp) - extract(epoch from '2026-08-06 06:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799354 -3.538776)'), GeomFromEWKT('SRID=4674;POINT (-38.799254 -3.538717)'))) / (select extract(epoch from '2026-08-06 06:05:18'::timestamp) - extract(epoch from '2026-08-06 06:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799161 -3.538683)', '2026-08-06 06:05:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799254 -3.538717)'), GeomFromEWKT('SRID=4674;POINT (-38.799161 -3.538683)'))) / (select extract(epoch from '2026-08-06 06:05:23'::timestamp) - extract(epoch from '2026-08-06 06:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799254 -3.538717)'), GeomFromEWKT('SRID=4674;POINT (-38.799161 -3.538683)'))) / (select extract(epoch from '2026-08-06 06:05:23'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.799012 -3.538641)', '2026-08-06 06:05:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799161 -3.538683)'), GeomFromEWKT('SRID=4674;POINT (-38.799012 -3.538641)'))) / (select extract(epoch from '2026-08-06 06:05:31'::timestamp) - extract(epoch from '2026-08-06 06:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799161 -3.538683)'), GeomFromEWKT('SRID=4674;POINT (-38.799012 -3.538641)'))) / (select extract(epoch from '2026-08-06 06:05:31'::timestamp) - extract(epoch from '2026-08-06 06:05: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'), 48150, 'SRID=4674;POINT (-38.798909 -3.538621)', '2026-08-06 06:05:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799012 -3.538641)'), GeomFromEWKT('SRID=4674;POINT (-38.798909 -3.538621)'))) / (select extract(epoch from '2026-08-06 06:05:37'::timestamp) - extract(epoch from '2026-08-06 06:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799012 -3.538641)'), GeomFromEWKT('SRID=4674;POINT (-38.798909 -3.538621)'))) / (select extract(epoch from '2026-08-06 06:05:37'::timestamp) - extract(epoch from '2026-08-06 06:05: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'), 48150, 'SRID=4674;POINT (-38.798849 -3.538611)', '2026-08-06 06:05:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798909 -3.538621)'), GeomFromEWKT('SRID=4674;POINT (-38.798849 -3.538611)'))) / (select extract(epoch from '2026-08-06 06:05:42'::timestamp) - extract(epoch from '2026-08-06 06:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798909 -3.538621)'), GeomFromEWKT('SRID=4674;POINT (-38.798849 -3.538611)'))) / (select extract(epoch from '2026-08-06 06:05:42'::timestamp) - extract(epoch from '2026-08-06 06:05: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'), 48150, 'SRID=4674;POINT (-38.79882 -3.538616)', '2026-08-06 06:05:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798849 -3.538611)'), GeomFromEWKT('SRID=4674;POINT (-38.79882 -3.538616)'))) / (select extract(epoch from '2026-08-06 06:05:48'::timestamp) - extract(epoch from '2026-08-06 06:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798849 -3.538611)'), GeomFromEWKT('SRID=4674;POINT (-38.79882 -3.538616)'))) / (select extract(epoch from '2026-08-06 06:05:48'::timestamp) - extract(epoch from '2026-08-06 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'), 48150, 'SRID=4674;POINT (-38.798825 -3.538622)', '2026-08-06 06:05:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79882 -3.538616)'), GeomFromEWKT('SRID=4674;POINT (-38.798825 -3.538622)'))) / (select extract(epoch from '2026-08-06 06:05:57'::timestamp) - extract(epoch from '2026-08-06 06:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79882 -3.538616)'), GeomFromEWKT('SRID=4674;POINT (-38.798825 -3.538622)'))) / (select extract(epoch from '2026-08-06 06:05:57'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.798868 -3.538605)', '2026-08-06 06:06:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798825 -3.538622)'), GeomFromEWKT('SRID=4674;POINT (-38.798868 -3.538605)'))) / (select extract(epoch from '2026-08-06 06:06:06'::timestamp) - extract(epoch from '2026-08-06 06:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798825 -3.538622)'), GeomFromEWKT('SRID=4674;POINT (-38.798868 -3.538605)'))) / (select extract(epoch from '2026-08-06 06:06:06'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48150, 'SRID=4674;POINT (-38.798911 -3.538575)', '2026-08-06 06:06:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798868 -3.538605)'), GeomFromEWKT('SRID=4674;POINT (-38.798911 -3.538575)'))) / (select extract(epoch from '2026-08-06 06:06:16'::timestamp) - extract(epoch from '2026-08-06 06:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798868 -3.538605)'), GeomFromEWKT('SRID=4674;POINT (-38.798911 -3.538575)'))) / (select extract(epoch from '2026-08-06 06:06:16'::timestamp) - extract(epoch from '2026-08-06 06:06: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'), 48150, 'SRID=4674;POINT (-38.798959 -3.538518)', '2026-08-06 06:06:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798911 -3.538575)'), GeomFromEWKT('SRID=4674;POINT (-38.798959 -3.538518)'))) / (select extract(epoch from '2026-08-06 06:06:27'::timestamp) - extract(epoch from '2026-08-06 06:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798911 -3.538575)'), GeomFromEWKT('SRID=4674;POINT (-38.798959 -3.538518)'))) / (select extract(epoch from '2026-08-06 06:06:27'::timestamp) - extract(epoch from '2026-08-06 06:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799003 -3.53848)', '2026-08-06 06:06:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798959 -3.538518)'), GeomFromEWKT('SRID=4674;POINT (-38.799003 -3.53848)'))) / (select extract(epoch from '2026-08-06 06:06:37'::timestamp) - extract(epoch from '2026-08-06 06:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798959 -3.538518)'), GeomFromEWKT('SRID=4674;POINT (-38.799003 -3.53848)'))) / (select extract(epoch from '2026-08-06 06:06:37'::timestamp) - extract(epoch from '2026-08-06 06:06: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'), 48150, 'SRID=4674;POINT (-38.799037 -3.538452)', '2026-08-06 06:06:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799003 -3.53848)'), GeomFromEWKT('SRID=4674;POINT (-38.799037 -3.538452)'))) / (select extract(epoch from '2026-08-06 06:06:46'::timestamp) - extract(epoch from '2026-08-06 06:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799003 -3.53848)'), GeomFromEWKT('SRID=4674;POINT (-38.799037 -3.538452)'))) / (select extract(epoch from '2026-08-06 06:06:46'::timestamp) - extract(epoch from '2026-08-06 06:06: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'), 48150, 'SRID=4674;POINT (-38.799065 -3.53844)', '2026-08-06 06:06:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799037 -3.538452)'), GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.53844)'))) / (select extract(epoch from '2026-08-06 06:06:58'::timestamp) - extract(epoch from '2026-08-06 06:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799037 -3.538452)'), GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.53844)'))) / (select extract(epoch from '2026-08-06 06:06:58'::timestamp) - extract(epoch from '2026-08-06 06:06: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'), 48150, 'SRID=4674;POINT (-38.799081 -3.538427)', '2026-08-06 06:07:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.53844)'), GeomFromEWKT('SRID=4674;POINT (-38.799081 -3.538427)'))) / (select extract(epoch from '2026-08-06 06:07:08'::timestamp) - extract(epoch from '2026-08-06 06:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.53844)'), GeomFromEWKT('SRID=4674;POINT (-38.799081 -3.538427)'))) / (select extract(epoch from '2026-08-06 06:07:08'::timestamp) - extract(epoch from '2026-08-06 06:06: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'), 48150, 'SRID=4674;POINT (-38.799129 -3.538432)', '2026-08-06 06:07:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799081 -3.538427)'), GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.538432)'))) / (select extract(epoch from '2026-08-06 06:07:17'::timestamp) - extract(epoch from '2026-08-06 06:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799081 -3.538427)'), GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.538432)'))) / (select extract(epoch from '2026-08-06 06:07:17'::timestamp) - extract(epoch from '2026-08-06 06:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799156 -3.538421)', '2026-08-06 06:07:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.538432)'), GeomFromEWKT('SRID=4674;POINT (-38.799156 -3.538421)'))) / (select extract(epoch from '2026-08-06 06:07:25'::timestamp) - extract(epoch from '2026-08-06 06:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.538432)'), GeomFromEWKT('SRID=4674;POINT (-38.799156 -3.538421)'))) / (select extract(epoch from '2026-08-06 06:07:25'::timestamp) - extract(epoch from '2026-08-06 06:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799181 -3.538412)', '2026-08-06 06:07:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799156 -3.538421)'), GeomFromEWKT('SRID=4674;POINT (-38.799181 -3.538412)'))) / (select extract(epoch from '2026-08-06 06:07:32'::timestamp) - extract(epoch from '2026-08-06 06:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799156 -3.538421)'), GeomFromEWKT('SRID=4674;POINT (-38.799181 -3.538412)'))) / (select extract(epoch from '2026-08-06 06:07:32'::timestamp) - extract(epoch from '2026-08-06 06:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48150, 'SRID=4674;POINT (-38.799214 -3.538387)', '2026-08-06 06:07:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799181 -3.538412)'), GeomFromEWKT('SRID=4674;POINT (-38.799214 -3.538387)'))) / (select extract(epoch from '2026-08-06 06:07:39'::timestamp) - extract(epoch from '2026-08-06 06:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799181 -3.538412)'), GeomFromEWKT('SRID=4674;POINT (-38.799214 -3.538387)'))) / (select extract(epoch from '2026-08-06 06:07:39'::timestamp) - extract(epoch from '2026-08-06 06:07:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
