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'), 47683, 'SRID=4674;POINT (-36.315304934978 -5.0712626427412)', '2026-07-23 03:03:37', 1.3999938964844, 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'), 47683, 'SRID=4674;POINT (-36.315309461206 -5.0712212361395)', '2026-07-23 03:03:39', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315304934978 -5.0712626427412)'), GeomFromEWKT('SRID=4674;POINT (-36.315309461206 -5.0712212361395)'))) / (select extract(epoch from '2026-07-23 03:03:39'::timestamp) - extract(epoch from '2026-07-23 03:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315304934978 -5.0712626427412)'), GeomFromEWKT('SRID=4674;POINT (-36.315309461206 -5.0712212361395)'))) / (select extract(epoch from '2026-07-23 03:03:39'::timestamp) - extract(epoch from '2026-07-23 03:03: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'), 47683, 'SRID=4674;POINT (-36.315310047939 -5.0711866188794)', '2026-07-23 03:03:41', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315309461206 -5.0712212361395)'), GeomFromEWKT('SRID=4674;POINT (-36.315310047939 -5.0711866188794)'))) / (select extract(epoch from '2026-07-23 03:03:41'::timestamp) - extract(epoch from '2026-07-23 03:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315309461206 -5.0712212361395)'), GeomFromEWKT('SRID=4674;POINT (-36.315310047939 -5.0711866188794)'))) / (select extract(epoch from '2026-07-23 03:03:41'::timestamp) - extract(epoch from '2026-07-23 03:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.315315077081 -5.0710861198604)', '2026-07-23 03:03:47', 0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315310047939 -5.0711866188794)'), GeomFromEWKT('SRID=4674;POINT (-36.315315077081 -5.0710861198604)'))) / (select extract(epoch from '2026-07-23 03:03:47'::timestamp) - extract(epoch from '2026-07-23 03:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315310047939 -5.0711866188794)'), GeomFromEWKT('SRID=4674;POINT (-36.315315077081 -5.0710861198604)'))) / (select extract(epoch from '2026-07-23 03:03:47'::timestamp) - extract(epoch from '2026-07-23 03:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.315338881686 -5.0709270313382)', '2026-07-23 03:03:55', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315315077081 -5.0710861198604)'), GeomFromEWKT('SRID=4674;POINT (-36.315338881686 -5.0709270313382)'))) / (select extract(epoch from '2026-07-23 03:03:55'::timestamp) - extract(epoch from '2026-07-23 03:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315315077081 -5.0710861198604)'), GeomFromEWKT('SRID=4674;POINT (-36.315338881686 -5.0709270313382)'))) / (select extract(epoch from '2026-07-23 03:03:55'::timestamp) - extract(epoch from '2026-07-23 03:03: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'), 47683, 'SRID=4674;POINT (-36.315388837829 -5.0707742292434)', '2026-07-23 03:04:02', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315338881686 -5.0709270313382)'), GeomFromEWKT('SRID=4674;POINT (-36.315388837829 -5.0707742292434)'))) / (select extract(epoch from '2026-07-23 03:04:02'::timestamp) - extract(epoch from '2026-07-23 03:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315338881686 -5.0709270313382)'), GeomFromEWKT('SRID=4674;POINT (-36.315388837829 -5.0707742292434)'))) / (select extract(epoch from '2026-07-23 03:04:02'::timestamp) - extract(epoch from '2026-07-23 03:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.31543208845 -5.0706353411078)', '2026-07-23 03:04:08', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315388837829 -5.0707742292434)'), GeomFromEWKT('SRID=4674;POINT (-36.31543208845 -5.0706353411078)'))) / (select extract(epoch from '2026-07-23 03:04:08'::timestamp) - extract(epoch from '2026-07-23 03:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315388837829 -5.0707742292434)'), GeomFromEWKT('SRID=4674;POINT (-36.31543208845 -5.0706353411078)'))) / (select extract(epoch from '2026-07-23 03:04:08'::timestamp) - extract(epoch from '2026-07-23 03:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.315473746508 -5.0705052539706)', '2026-07-23 03:04:14', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31543208845 -5.0706353411078)'), GeomFromEWKT('SRID=4674;POINT (-36.315473746508 -5.0705052539706)'))) / (select extract(epoch from '2026-07-23 03:04:14'::timestamp) - extract(epoch from '2026-07-23 03:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31543208845 -5.0706353411078)'), GeomFromEWKT('SRID=4674;POINT (-36.315473746508 -5.0705052539706)'))) / (select extract(epoch from '2026-07-23 03:04:14'::timestamp) - extract(epoch from '2026-07-23 03:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.315544489771 -5.0703956186771)', '2026-07-23 03:04:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315473746508 -5.0705052539706)'), GeomFromEWKT('SRID=4674;POINT (-36.315544489771 -5.0703956186771)'))) / (select extract(epoch from '2026-07-23 03:04:20'::timestamp) - extract(epoch from '2026-07-23 03:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315473746508 -5.0705052539706)'), GeomFromEWKT('SRID=4674;POINT (-36.315544489771 -5.0703956186771)'))) / (select extract(epoch from '2026-07-23 03:04:20'::timestamp) - extract(epoch from '2026-07-23 03:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.315648760647 -5.0702928565443)', '2026-07-23 03:04:27', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315544489771 -5.0703956186771)'), GeomFromEWKT('SRID=4674;POINT (-36.315648760647 -5.0702928565443)'))) / (select extract(epoch from '2026-07-23 03:04:27'::timestamp) - extract(epoch from '2026-07-23 03:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315544489771 -5.0703956186771)'), GeomFromEWKT('SRID=4674;POINT (-36.315648760647 -5.0702928565443)'))) / (select extract(epoch from '2026-07-23 03:04:27'::timestamp) - extract(epoch from '2026-07-23 03:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.315768035129 -5.0701985601336)', '2026-07-23 03:04:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315648760647 -5.0702928565443)'), GeomFromEWKT('SRID=4674;POINT (-36.315768035129 -5.0701985601336)'))) / (select extract(epoch from '2026-07-23 03:04:34'::timestamp) - extract(epoch from '2026-07-23 03:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315648760647 -5.0702928565443)'), GeomFromEWKT('SRID=4674;POINT (-36.315768035129 -5.0701985601336)'))) / (select extract(epoch from '2026-07-23 03:04:34'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47683, 'SRID=4674;POINT (-36.31586224772 -5.070165451616)', '2026-07-23 03:04:39', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315768035129 -5.0701985601336)'), GeomFromEWKT('SRID=4674;POINT (-36.31586224772 -5.070165451616)'))) / (select extract(epoch from '2026-07-23 03:04:39'::timestamp) - extract(epoch from '2026-07-23 03:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.315768035129 -5.0701985601336)'), GeomFromEWKT('SRID=4674;POINT (-36.31586224772 -5.070165451616)'))) / (select extract(epoch from '2026-07-23 03:04:39'::timestamp) - extract(epoch from '2026-07-23 03:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.316002141684 -5.0701818801463)', '2026-07-23 03:04:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31586224772 -5.070165451616)'), GeomFromEWKT('SRID=4674;POINT (-36.316002141684 -5.0701818801463)'))) / (select extract(epoch from '2026-07-23 03:04:46'::timestamp) - extract(epoch from '2026-07-23 03:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31586224772 -5.070165451616)'), GeomFromEWKT('SRID=4674;POINT (-36.316002141684 -5.0701818801463)'))) / (select extract(epoch from '2026-07-23 03:04:46'::timestamp) - extract(epoch from '2026-07-23 03:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.316150920466 -5.0702184252441)', '2026-07-23 03:04:53', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316002141684 -5.0701818801463)'), GeomFromEWKT('SRID=4674;POINT (-36.316150920466 -5.0702184252441)'))) / (select extract(epoch from '2026-07-23 03:04:53'::timestamp) - extract(epoch from '2026-07-23 03:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316002141684 -5.0701818801463)'), GeomFromEWKT('SRID=4674;POINT (-36.316150920466 -5.0702184252441)'))) / (select extract(epoch from '2026-07-23 03:04:53'::timestamp) - extract(epoch from '2026-07-23 03:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.31625091657 -5.0702478457242)', '2026-07-23 03:04:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316150920466 -5.0702184252441)'), GeomFromEWKT('SRID=4674;POINT (-36.31625091657 -5.0702478457242)'))) / (select extract(epoch from '2026-07-23 03:04:58'::timestamp) - extract(epoch from '2026-07-23 03:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316150920466 -5.0702184252441)'), GeomFromEWKT('SRID=4674;POINT (-36.31625091657 -5.0702478457242)'))) / (select extract(epoch from '2026-07-23 03:04:58'::timestamp) - extract(epoch from '2026-07-23 03:04: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'), 47683, 'SRID=4674;POINT (-36.31626826711 -5.0702460855246)', '2026-07-23 03:04:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31625091657 -5.0702478457242)'), GeomFromEWKT('SRID=4674;POINT (-36.31626826711 -5.0702460855246)'))) / (select extract(epoch from '2026-07-23 03:04:59'::timestamp) - extract(epoch from '2026-07-23 03:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31625091657 -5.0702478457242)'), GeomFromEWKT('SRID=4674;POINT (-36.31626826711 -5.0702460855246)'))) / (select extract(epoch from '2026-07-23 03:04:59'::timestamp) - extract(epoch from '2026-07-23 03:04: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'), 47683, 'SRID=4674;POINT (-36.316364994273 -5.0702531263232)', '2026-07-23 03:05:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31626826711 -5.0702460855246)'), GeomFromEWKT('SRID=4674;POINT (-36.316364994273 -5.0702531263232)'))) / (select extract(epoch from '2026-07-23 03:05:04'::timestamp) - extract(epoch from '2026-07-23 03:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31626826711 -5.0702460855246)'), GeomFromEWKT('SRID=4674;POINT (-36.316364994273 -5.0702531263232)'))) / (select extract(epoch from '2026-07-23 03:05:04'::timestamp) - extract(epoch from '2026-07-23 03:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.316471360624 -5.0702538806945)', '2026-07-23 03:05:10', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316364994273 -5.0702531263232)'), GeomFromEWKT('SRID=4674;POINT (-36.316471360624 -5.0702538806945)'))) / (select extract(epoch from '2026-07-23 03:05:10'::timestamp) - extract(epoch from '2026-07-23 03:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316364994273 -5.0702531263232)'), GeomFromEWKT('SRID=4674;POINT (-36.316471360624 -5.0702538806945)'))) / (select extract(epoch from '2026-07-23 03:05:10'::timestamp) - extract(epoch from '2026-07-23 03:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.31659717299 -5.0702565629035)', '2026-07-23 03:05:16', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316471360624 -5.0702538806945)'), GeomFromEWKT('SRID=4674;POINT (-36.31659717299 -5.0702565629035)'))) / (select extract(epoch from '2026-07-23 03:05:16'::timestamp) - extract(epoch from '2026-07-23 03:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316471360624 -5.0702538806945)'), GeomFromEWKT('SRID=4674;POINT (-36.31659717299 -5.0702565629035)'))) / (select extract(epoch from '2026-07-23 03:05:16'::timestamp) - extract(epoch from '2026-07-23 03:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.316731199622 -5.0702595803887)', '2026-07-23 03:05:22', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31659717299 -5.0702565629035)'), GeomFromEWKT('SRID=4674;POINT (-36.316731199622 -5.0702595803887)'))) / (select extract(epoch from '2026-07-23 03:05:22'::timestamp) - extract(epoch from '2026-07-23 03:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31659717299 -5.0702565629035)'), GeomFromEWKT('SRID=4674;POINT (-36.316731199622 -5.0702595803887)'))) / (select extract(epoch from '2026-07-23 03:05:22'::timestamp) - extract(epoch from '2026-07-23 03:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.316839158535 -5.0702425651252)', '2026-07-23 03:05:27', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316731199622 -5.0702595803887)'), GeomFromEWKT('SRID=4674;POINT (-36.316839158535 -5.0702425651252)'))) / (select extract(epoch from '2026-07-23 03:05:27'::timestamp) - extract(epoch from '2026-07-23 03:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316731199622 -5.0702595803887)'), GeomFromEWKT('SRID=4674;POINT (-36.316839158535 -5.0702425651252)'))) / (select extract(epoch from '2026-07-23 03:05:27'::timestamp) - extract(epoch from '2026-07-23 03:05: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'), 47683, 'SRID=4674;POINT (-36.316996151581 -5.0702227838337)', '2026-07-23 03:05:34', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316839158535 -5.0702425651252)'), GeomFromEWKT('SRID=4674;POINT (-36.316996151581 -5.0702227838337)'))) / (select extract(epoch from '2026-07-23 03:05:34'::timestamp) - extract(epoch from '2026-07-23 03:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316839158535 -5.0702425651252)'), GeomFromEWKT('SRID=4674;POINT (-36.316996151581 -5.0702227838337)'))) / (select extract(epoch from '2026-07-23 03:05:34'::timestamp) - extract(epoch from '2026-07-23 03:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.317153898999 -5.0702033378184)', '2026-07-23 03:05:42', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316996151581 -5.0702227838337)'), GeomFromEWKT('SRID=4674;POINT (-36.317153898999 -5.0702033378184)'))) / (select extract(epoch from '2026-07-23 03:05:42'::timestamp) - extract(epoch from '2026-07-23 03:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.316996151581 -5.0702227838337)'), GeomFromEWKT('SRID=4674;POINT (-36.317153898999 -5.0702033378184)'))) / (select extract(epoch from '2026-07-23 03:05:42'::timestamp) - extract(epoch from '2026-07-23 03:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.317317262292 -5.07015472278)', '2026-07-23 03:05:50', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317153898999 -5.0702033378184)'), GeomFromEWKT('SRID=4674;POINT (-36.317317262292 -5.07015472278)'))) / (select extract(epoch from '2026-07-23 03:05:50'::timestamp) - extract(epoch from '2026-07-23 03:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317153898999 -5.0702033378184)'), GeomFromEWKT('SRID=4674;POINT (-36.317317262292 -5.07015472278)'))) / (select extract(epoch from '2026-07-23 03:05:50'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47683, 'SRID=4674;POINT (-36.317425137386 -5.0701314210892)', '2026-07-23 03:05:55', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317317262292 -5.07015472278)'), GeomFromEWKT('SRID=4674;POINT (-36.317425137386 -5.0701314210892)'))) / (select extract(epoch from '2026-07-23 03:05:55'::timestamp) - extract(epoch from '2026-07-23 03:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317317262292 -5.07015472278)'), GeomFromEWKT('SRID=4674;POINT (-36.317425137386 -5.0701314210892)'))) / (select extract(epoch from '2026-07-23 03:05:55'::timestamp) - extract(epoch from '2026-07-23 03:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.317540556192 -5.0700877513736)', '2026-07-23 03:06:01', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317425137386 -5.0701314210892)'), GeomFromEWKT('SRID=4674;POINT (-36.317540556192 -5.0700877513736)'))) / (select extract(epoch from '2026-07-23 03:06:01'::timestamp) - extract(epoch from '2026-07-23 03:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317425137386 -5.0701314210892)'), GeomFromEWKT('SRID=4674;POINT (-36.317540556192 -5.0700877513736)'))) / (select extract(epoch from '2026-07-23 03:06:01'::timestamp) - extract(epoch from '2026-07-23 03:05: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'), 47683, 'SRID=4674;POINT (-36.317663853988 -5.0700609292835)', '2026-07-23 03:06:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317540556192 -5.0700877513736)'), GeomFromEWKT('SRID=4674;POINT (-36.317663853988 -5.0700609292835)'))) / (select extract(epoch from '2026-07-23 03:06:07'::timestamp) - extract(epoch from '2026-07-23 03:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317540556192 -5.0700877513736)'), GeomFromEWKT('SRID=4674;POINT (-36.317663853988 -5.0700609292835)'))) / (select extract(epoch from '2026-07-23 03:06:07'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47683, 'SRID=4674;POINT (-36.317769717425 -5.0700614321977)', '2026-07-23 03:06:12', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317663853988 -5.0700609292835)'), GeomFromEWKT('SRID=4674;POINT (-36.317769717425 -5.0700614321977)'))) / (select extract(epoch from '2026-07-23 03:06:12'::timestamp) - extract(epoch from '2026-07-23 03:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317663853988 -5.0700609292835)'), GeomFromEWKT('SRID=4674;POINT (-36.317769717425 -5.0700614321977)'))) / (select extract(epoch from '2026-07-23 03:06:12'::timestamp) - extract(epoch from '2026-07-23 03:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.317879687995 -5.0700714904815)', '2026-07-23 03:06:17', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317769717425 -5.0700614321977)'), GeomFromEWKT('SRID=4674;POINT (-36.317879687995 -5.0700714904815)'))) / (select extract(epoch from '2026-07-23 03:06:17'::timestamp) - extract(epoch from '2026-07-23 03:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317769717425 -5.0700614321977)'), GeomFromEWKT('SRID=4674;POINT (-36.317879687995 -5.0700714904815)'))) / (select extract(epoch from '2026-07-23 03:06:17'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47683, 'SRID=4674;POINT (-36.31807054393 -5.0700776930898)', '2026-07-23 03:06:26', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317879687995 -5.0700714904815)'), GeomFromEWKT('SRID=4674;POINT (-36.31807054393 -5.0700776930898)'))) / (select extract(epoch from '2026-07-23 03:06:26'::timestamp) - extract(epoch from '2026-07-23 03:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.317879687995 -5.0700714904815)'), GeomFromEWKT('SRID=4674;POINT (-36.31807054393 -5.0700776930898)'))) / (select extract(epoch from '2026-07-23 03:06:26'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47683, 'SRID=4674;POINT (-36.318111279979 -5.0700723286718)', '2026-07-23 03:06:28', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31807054393 -5.0700776930898)'), GeomFromEWKT('SRID=4674;POINT (-36.318111279979 -5.0700723286718)'))) / (select extract(epoch from '2026-07-23 03:06:28'::timestamp) - extract(epoch from '2026-07-23 03:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31807054393 -5.0700776930898)'), GeomFromEWKT('SRID=4674;POINT (-36.318111279979 -5.0700723286718)'))) / (select extract(epoch from '2026-07-23 03:06:28'::timestamp) - extract(epoch from '2026-07-23 03:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.318267518654 -5.0700525473803)', '2026-07-23 03:06:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318111279979 -5.0700723286718)'), GeomFromEWKT('SRID=4674;POINT (-36.318267518654 -5.0700525473803)'))) / (select extract(epoch from '2026-07-23 03:06:35'::timestamp) - extract(epoch from '2026-07-23 03:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318111279979 -5.0700723286718)'), GeomFromEWKT('SRID=4674;POINT (-36.318267518654 -5.0700525473803)'))) / (select extract(epoch from '2026-07-23 03:06:35'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47683, 'SRID=4674;POINT (-36.318405484781 -5.0700296647847)', '2026-07-23 03:06:41', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318267518654 -5.0700525473803)'), GeomFromEWKT('SRID=4674;POINT (-36.318405484781 -5.0700296647847)'))) / (select extract(epoch from '2026-07-23 03:06:41'::timestamp) - extract(epoch from '2026-07-23 03:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318267518654 -5.0700525473803)'), GeomFromEWKT('SRID=4674;POINT (-36.318405484781 -5.0700296647847)'))) / (select extract(epoch from '2026-07-23 03:06:41'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47683, 'SRID=4674;POINT (-36.318490225822 -5.0699756853282)', '2026-07-23 03:06:46', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318405484781 -5.0700296647847)'), GeomFromEWKT('SRID=4674;POINT (-36.318490225822 -5.0699756853282)'))) / (select extract(epoch from '2026-07-23 03:06:46'::timestamp) - extract(epoch from '2026-07-23 03:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318405484781 -5.0700296647847)'), GeomFromEWKT('SRID=4674;POINT (-36.318490225822 -5.0699756853282)'))) / (select extract(epoch from '2026-07-23 03:06:46'::timestamp) - extract(epoch from '2026-07-23 03:06: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'), 47683, 'SRID=4674;POINT (-36.318501038477 -5.0699613522738)', '2026-07-23 03:06:47', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318490225822 -5.0699756853282)'), GeomFromEWKT('SRID=4674;POINT (-36.318501038477 -5.0699613522738)'))) / (select extract(epoch from '2026-07-23 03:06:47'::timestamp) - extract(epoch from '2026-07-23 03:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318490225822 -5.0699756853282)'), GeomFromEWKT('SRID=4674;POINT (-36.318501038477 -5.0699613522738)'))) / (select extract(epoch from '2026-07-23 03:06:47'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47683, 'SRID=4674;POINT (-36.318526268005 -5.0699130725116)', '2026-07-23 03:06:50', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318501038477 -5.0699613522738)'), GeomFromEWKT('SRID=4674;POINT (-36.318526268005 -5.0699130725116)'))) / (select extract(epoch from '2026-07-23 03:06:50'::timestamp) - extract(epoch from '2026-07-23 03:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318501038477 -5.0699613522738)'), GeomFromEWKT('SRID=4674;POINT (-36.318526268005 -5.0699130725116)'))) / (select extract(epoch from '2026-07-23 03:06:50'::timestamp) - extract(epoch from '2026-07-23 03:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.318560130894 -5.0698040239513)', '2026-07-23 03:06:56', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318526268005 -5.0699130725116)'), GeomFromEWKT('SRID=4674;POINT (-36.318560130894 -5.0698040239513)'))) / (select extract(epoch from '2026-07-23 03:06:56'::timestamp) - extract(epoch from '2026-07-23 03:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318526268005 -5.0699130725116)'), GeomFromEWKT('SRID=4674;POINT (-36.318560130894 -5.0698040239513)'))) / (select extract(epoch from '2026-07-23 03:06:56'::timestamp) - extract(epoch from '2026-07-23 03:06:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.318562477827 -5.0696936342865)', '2026-07-23 03:07:02', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318560130894 -5.0698040239513)'), GeomFromEWKT('SRID=4674;POINT (-36.318562477827 -5.0696936342865)'))) / (select extract(epoch from '2026-07-23 03:07:02'::timestamp) - extract(epoch from '2026-07-23 03:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318560130894 -5.0698040239513)'), GeomFromEWKT('SRID=4674;POINT (-36.318562477827 -5.0696936342865)'))) / (select extract(epoch from '2026-07-23 03:07:02'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47683, 'SRID=4674;POINT (-36.318551246077 -5.069583998993)', '2026-07-23 03:07:08', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318562477827 -5.0696936342865)'), GeomFromEWKT('SRID=4674;POINT (-36.318551246077 -5.069583998993)'))) / (select extract(epoch from '2026-07-23 03:07:08'::timestamp) - extract(epoch from '2026-07-23 03:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318562477827 -5.0696936342865)'), GeomFromEWKT('SRID=4674;POINT (-36.318551246077 -5.069583998993)'))) / (select extract(epoch from '2026-07-23 03:07:08'::timestamp) - extract(epoch from '2026-07-23 03:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.318555185571 -5.069443937391)', '2026-07-23 03:07:15', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318551246077 -5.069583998993)'), GeomFromEWKT('SRID=4674;POINT (-36.318555185571 -5.069443937391)'))) / (select extract(epoch from '2026-07-23 03:07:15'::timestamp) - extract(epoch from '2026-07-23 03:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318551246077 -5.069583998993)'), GeomFromEWKT('SRID=4674;POINT (-36.318555185571 -5.069443937391)'))) / (select extract(epoch from '2026-07-23 03:07:15'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47683, 'SRID=4674;POINT (-36.318563567474 -5.0693394988775)', '2026-07-23 03:07:20', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318555185571 -5.069443937391)'), GeomFromEWKT('SRID=4674;POINT (-36.318563567474 -5.0693394988775)'))) / (select extract(epoch from '2026-07-23 03:07:20'::timestamp) - extract(epoch from '2026-07-23 03:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318555185571 -5.069443937391)'), GeomFromEWKT('SRID=4674;POINT (-36.318563567474 -5.0693394988775)'))) / (select extract(epoch from '2026-07-23 03:07:20'::timestamp) - extract(epoch from '2026-07-23 03:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.318582342938 -5.0692204758525)', '2026-07-23 03:07:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318563567474 -5.0693394988775)'), GeomFromEWKT('SRID=4674;POINT (-36.318582342938 -5.0692204758525)'))) / (select extract(epoch from '2026-07-23 03:07:26'::timestamp) - extract(epoch from '2026-07-23 03:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318563567474 -5.0693394988775)'), GeomFromEWKT('SRID=4674;POINT (-36.318582342938 -5.0692204758525)'))) / (select extract(epoch from '2026-07-23 03:07:26'::timestamp) - extract(epoch from '2026-07-23 03:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.3186046388 -5.069042192772)', '2026-07-23 03:07:35', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318582342938 -5.0692204758525)'), GeomFromEWKT('SRID=4674;POINT (-36.3186046388 -5.069042192772)'))) / (select extract(epoch from '2026-07-23 03:07:35'::timestamp) - extract(epoch from '2026-07-23 03:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318582342938 -5.0692204758525)'), GeomFromEWKT('SRID=4674;POINT (-36.3186046388 -5.069042192772)'))) / (select extract(epoch from '2026-07-23 03:07:35'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47683, 'SRID=4674;POINT (-36.318619139493 -5.0689262710512)', '2026-07-23 03:07:41', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.3186046388 -5.069042192772)'), GeomFromEWKT('SRID=4674;POINT (-36.318619139493 -5.0689262710512)'))) / (select extract(epoch from '2026-07-23 03:07:41'::timestamp) - extract(epoch from '2026-07-23 03:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.3186046388 -5.069042192772)'), GeomFromEWKT('SRID=4674;POINT (-36.318619139493 -5.0689262710512)'))) / (select extract(epoch from '2026-07-23 03:07:41'::timestamp) - extract(epoch from '2026-07-23 03:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.318623330444 -5.0688112713397)', '2026-07-23 03:07:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318619139493 -5.0689262710512)'), GeomFromEWKT('SRID=4674;POINT (-36.318623330444 -5.0688112713397)'))) / (select extract(epoch from '2026-07-23 03:07:47'::timestamp) - extract(epoch from '2026-07-23 03:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318619139493 -5.0689262710512)'), GeomFromEWKT('SRID=4674;POINT (-36.318623330444 -5.0688112713397)'))) / (select extract(epoch from '2026-07-23 03:07:47'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47683, 'SRID=4674;POINT (-36.318630035967 -5.0686712935567)', '2026-07-23 03:07:54', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318623330444 -5.0688112713397)'), GeomFromEWKT('SRID=4674;POINT (-36.318630035967 -5.0686712935567)'))) / (select extract(epoch from '2026-07-23 03:07:54'::timestamp) - extract(epoch from '2026-07-23 03:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318623330444 -5.0688112713397)'), GeomFromEWKT('SRID=4674;POINT (-36.318630035967 -5.0686712935567)'))) / (select extract(epoch from '2026-07-23 03:07:54'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47683, 'SRID=4674;POINT (-36.318636154756 -5.068508349359)', '2026-07-23 03:08:02', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318630035967 -5.0686712935567)'), GeomFromEWKT('SRID=4674;POINT (-36.318636154756 -5.068508349359)'))) / (select extract(epoch from '2026-07-23 03:08:02'::timestamp) - extract(epoch from '2026-07-23 03:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318630035967 -5.0686712935567)'), GeomFromEWKT('SRID=4674;POINT (-36.318636154756 -5.068508349359)'))) / (select extract(epoch from '2026-07-23 03:08:02'::timestamp) - extract(epoch from '2026-07-23 03:07: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'), 47683, 'SRID=4674;POINT (-36.318635232747 -5.0683961994946)', '2026-07-23 03:08:08', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318636154756 -5.068508349359)'), GeomFromEWKT('SRID=4674;POINT (-36.318635232747 -5.0683961994946)'))) / (select extract(epoch from '2026-07-23 03:08:08'::timestamp) - extract(epoch from '2026-07-23 03:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318636154756 -5.068508349359)'), GeomFromEWKT('SRID=4674;POINT (-36.318635232747 -5.0683961994946)'))) / (select extract(epoch from '2026-07-23 03:08:08'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47683, 'SRID=4674;POINT (-36.318645123392 -5.0683239474893)', '2026-07-23 03:08:14', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318635232747 -5.0683961994946)'), GeomFromEWKT('SRID=4674;POINT (-36.318645123392 -5.0683239474893)'))) / (select extract(epoch from '2026-07-23 03:08:14'::timestamp) - extract(epoch from '2026-07-23 03:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318635232747 -5.0683961994946)'), GeomFromEWKT('SRID=4674;POINT (-36.318645123392 -5.0683239474893)'))) / (select extract(epoch from '2026-07-23 03:08:14'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47683, 'SRID=4674;POINT (-36.318649062887 -5.0683033280075)', '2026-07-23 03:08:16', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318645123392 -5.0683239474893)'), GeomFromEWKT('SRID=4674;POINT (-36.318649062887 -5.0683033280075)'))) / (select extract(epoch from '2026-07-23 03:08:16'::timestamp) - extract(epoch from '2026-07-23 03:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318645123392 -5.0683239474893)'), GeomFromEWKT('SRID=4674;POINT (-36.318649062887 -5.0683033280075)'))) / (select extract(epoch from '2026-07-23 03:08:16'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47683, 'SRID=4674;POINT (-36.318660965189 -5.0682670343667)', '2026-07-23 03:08:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318649062887 -5.0683033280075)'), GeomFromEWKT('SRID=4674;POINT (-36.318660965189 -5.0682670343667)'))) / (select extract(epoch from '2026-07-23 03:08:20'::timestamp) - extract(epoch from '2026-07-23 03:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318649062887 -5.0683033280075)'), GeomFromEWKT('SRID=4674;POINT (-36.318660965189 -5.0682670343667)'))) / (select extract(epoch from '2026-07-23 03:08:20'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47683, 'SRID=4674;POINT (-36.318681584671 -5.0682218559086)', '2026-07-23 03:08:28', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318660965189 -5.0682670343667)'), GeomFromEWKT('SRID=4674;POINT (-36.318681584671 -5.0682218559086)'))) / (select extract(epoch from '2026-07-23 03:08:28'::timestamp) - extract(epoch from '2026-07-23 03:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318660965189 -5.0682670343667)'), GeomFromEWKT('SRID=4674;POINT (-36.318681584671 -5.0682218559086)'))) / (select extract(epoch from '2026-07-23 03:08:28'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47683, 'SRID=4674;POINT (-36.31871108897 -5.0681939441711)', '2026-07-23 03:08:36', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318681584671 -5.0682218559086)'), GeomFromEWKT('SRID=4674;POINT (-36.31871108897 -5.0681939441711)'))) / (select extract(epoch from '2026-07-23 03:08:36'::timestamp) - extract(epoch from '2026-07-23 03:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.318681584671 -5.0682218559086)'), GeomFromEWKT('SRID=4674;POINT (-36.31871108897 -5.0681939441711)'))) / (select extract(epoch from '2026-07-23 03:08:36'::timestamp) - extract(epoch from '2026-07-23 03:08: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'), 47683, 'SRID=4674;POINT (-36.31985027343 -5.0677721668035)', '2026-07-23 03:12:24', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31871108897 -5.0681939441711)'), GeomFromEWKT('SRID=4674;POINT (-36.31985027343 -5.0677721668035)'))) / (select extract(epoch from '2026-07-23 03:12:24'::timestamp) - extract(epoch from '2026-07-23 03:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31871108897 -5.0681939441711)'), GeomFromEWKT('SRID=4674;POINT (-36.31985027343 -5.0677721668035)'))) / (select extract(epoch from '2026-07-23 03:12:24'::timestamp) - extract(epoch from '2026-07-23 03:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.319847255945 -5.0677779503167)', '2026-07-23 03:12:26', -6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31985027343 -5.0677721668035)'), GeomFromEWKT('SRID=4674;POINT (-36.319847255945 -5.0677779503167)'))) / (select extract(epoch from '2026-07-23 03:12:26'::timestamp) - extract(epoch from '2026-07-23 03:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31985027343 -5.0677721668035)'), GeomFromEWKT('SRID=4674;POINT (-36.319847255945 -5.0677779503167)'))) / (select extract(epoch from '2026-07-23 03:12:26'::timestamp) - extract(epoch from '2026-07-23 03:12: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'), 47683, 'SRID=4674;POINT (-36.319864857942 -5.0677512958646)', '2026-07-23 03:12:34', -4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319847255945 -5.0677779503167)'), GeomFromEWKT('SRID=4674;POINT (-36.319864857942 -5.0677512958646)'))) / (select extract(epoch from '2026-07-23 03:12:34'::timestamp) - extract(epoch from '2026-07-23 03:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319847255945 -5.0677779503167)'), GeomFromEWKT('SRID=4674;POINT (-36.319864857942 -5.0677512958646)'))) / (select extract(epoch from '2026-07-23 03:12:34'::timestamp) - extract(epoch from '2026-07-23 03:12: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'), 47683, 'SRID=4674;POINT (-36.319907689467 -5.0677482783794)', '2026-07-23 03:12:43', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319864857942 -5.0677512958646)'), GeomFromEWKT('SRID=4674;POINT (-36.319907689467 -5.0677482783794)'))) / (select extract(epoch from '2026-07-23 03:12:43'::timestamp) - extract(epoch from '2026-07-23 03:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319864857942 -5.0677512958646)'), GeomFromEWKT('SRID=4674;POINT (-36.319907689467 -5.0677482783794)'))) / (select extract(epoch from '2026-07-23 03:12:43'::timestamp) - extract(epoch from '2026-07-23 03:12: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'), 47683, 'SRID=4674;POINT (-36.31998966448 -5.0677035190165)', '2026-07-23 03:12:57', -3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319907689467 -5.0677482783794)'), GeomFromEWKT('SRID=4674;POINT (-36.31998966448 -5.0677035190165)'))) / (select extract(epoch from '2026-07-23 03:12:57'::timestamp) - extract(epoch from '2026-07-23 03:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319907689467 -5.0677482783794)'), GeomFromEWKT('SRID=4674;POINT (-36.31998966448 -5.0677035190165)'))) / (select extract(epoch from '2026-07-23 03:12:57'::timestamp) - extract(epoch from '2026-07-23 03:12: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'), 47683, 'SRID=4674;POINT (-36.320059737191 -5.0676794629544)', '2026-07-23 03:13:10', -3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31998966448 -5.0677035190165)'), GeomFromEWKT('SRID=4674;POINT (-36.320059737191 -5.0676794629544)'))) / (select extract(epoch from '2026-07-23 03:13:10'::timestamp) - extract(epoch from '2026-07-23 03:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.31998966448 -5.0677035190165)'), GeomFromEWKT('SRID=4674;POINT (-36.320059737191 -5.0676794629544)'))) / (select extract(epoch from '2026-07-23 03:13:10'::timestamp) - extract(epoch from '2026-07-23 03: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'), 47683, 'SRID=4674;POINT (-36.320101227611 -5.0676692370325)', '2026-07-23 03:13:20', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320059737191 -5.0676794629544)'), GeomFromEWKT('SRID=4674;POINT (-36.320101227611 -5.0676692370325)'))) / (select extract(epoch from '2026-07-23 03:13:20'::timestamp) - extract(epoch from '2026-07-23 03:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320059737191 -5.0676794629544)'), GeomFromEWKT('SRID=4674;POINT (-36.320101227611 -5.0676692370325)'))) / (select extract(epoch from '2026-07-23 03:13:20'::timestamp) - extract(epoch from '2026-07-23 03:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.320130564272 -5.0676475279033)', '2026-07-23 03:13:30', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320101227611 -5.0676692370325)'), GeomFromEWKT('SRID=4674;POINT (-36.320130564272 -5.0676475279033)'))) / (select extract(epoch from '2026-07-23 03:13:30'::timestamp) - extract(epoch from '2026-07-23 03:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320101227611 -5.0676692370325)'), GeomFromEWKT('SRID=4674;POINT (-36.320130564272 -5.0676475279033)'))) / (select extract(epoch from '2026-07-23 03:13:30'::timestamp) - extract(epoch from '2026-07-23 03:13: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'), 47683, 'SRID=4674;POINT (-36.320184543729 -5.0676234718412)', '2026-07-23 03:13:47', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320130564272 -5.0676475279033)'), GeomFromEWKT('SRID=4674;POINT (-36.320184543729 -5.0676234718412)'))) / (select extract(epoch from '2026-07-23 03:13:47'::timestamp) - extract(epoch from '2026-07-23 03:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320130564272 -5.0676475279033)'), GeomFromEWKT('SRID=4674;POINT (-36.320184543729 -5.0676234718412)'))) / (select extract(epoch from '2026-07-23 03:13:47'::timestamp) - extract(epoch from '2026-07-23 03:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.320224860683 -5.0676145870239)', '2026-07-23 03:13:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320184543729 -5.0676234718412)'), GeomFromEWKT('SRID=4674;POINT (-36.320224860683 -5.0676145870239)'))) / (select extract(epoch from '2026-07-23 03:13:58'::timestamp) - extract(epoch from '2026-07-23 03:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320184543729 -5.0676234718412)'), GeomFromEWKT('SRID=4674;POINT (-36.320224860683 -5.0676145870239)'))) / (select extract(epoch from '2026-07-23 03:13:58'::timestamp) - extract(epoch from '2026-07-23 03:13: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'), 47683, 'SRID=4674;POINT (-36.32024413906 -5.0676083844155)', '2026-07-23 03:14:04', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320224860683 -5.0676145870239)'), GeomFromEWKT('SRID=4674;POINT (-36.32024413906 -5.0676083844155)'))) / (select extract(epoch from '2026-07-23 03:14:04'::timestamp) - extract(epoch from '2026-07-23 03:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320224860683 -5.0676145870239)'), GeomFromEWKT('SRID=4674;POINT (-36.32024413906 -5.0676083844155)'))) / (select extract(epoch from '2026-07-23 03:14:04'::timestamp) - extract(epoch from '2026-07-23 03:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47683, 'SRID=4674;POINT (-36.320272386074 -5.0675869267434)', '2026-07-23 03:14:13', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32024413906 -5.0676083844155)'), GeomFromEWKT('SRID=4674;POINT (-36.320272386074 -5.0675869267434)'))) / (select extract(epoch from '2026-07-23 03:14:13'::timestamp) - extract(epoch from '2026-07-23 03:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32024413906 -5.0676083844155)'), GeomFromEWKT('SRID=4674;POINT (-36.320272386074 -5.0675869267434)'))) / (select extract(epoch from '2026-07-23 03:14:13'::timestamp) - extract(epoch from '2026-07-23 03:14: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'), 47683, 'SRID=4674;POINT (-36.320329969749 -5.067556751892)', '2026-07-23 03:14:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320272386074 -5.0675869267434)'), GeomFromEWKT('SRID=4674;POINT (-36.320329969749 -5.067556751892)'))) / (select extract(epoch from '2026-07-23 03:14:25'::timestamp) - extract(epoch from '2026-07-23 03:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320272386074 -5.0675869267434)'), GeomFromEWKT('SRID=4674;POINT (-36.320329969749 -5.067556751892)'))) / (select extract(epoch from '2026-07-23 03:14:25'::timestamp) - extract(epoch from '2026-07-23 03:14: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'), 47683, 'SRID=4674;POINT (-36.320346146822 -5.0675523933023)', '2026-07-23 03:14:29', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320329969749 -5.067556751892)'), GeomFromEWKT('SRID=4674;POINT (-36.320346146822 -5.0675523933023)'))) / (select extract(epoch from '2026-07-23 03:14:29'::timestamp) - extract(epoch from '2026-07-23 03:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320329969749 -5.067556751892)'), GeomFromEWKT('SRID=4674;POINT (-36.320346146822 -5.0675523933023)'))) / (select extract(epoch from '2026-07-23 03:14:29'::timestamp) - extract(epoch from '2026-07-23 03:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
