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'), 48200, 'SRID=4674;POINT (-40.132981035858 -2.8163607884198)', '2026-08-06 03:26:52', 3.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'), 48200, 'SRID=4674;POINT (-40.133227463812 -2.8164580184966)', '2026-08-06 03:27:46', 33.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132981035858 -2.8163607884198)'), GeomFromEWKT('SRID=4674;POINT (-40.133227463812 -2.8164580184966)'))) / (select extract(epoch from '2026-08-06 03:27:46'::timestamp) - extract(epoch from '2026-08-06 03:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132981035858 -2.8163607884198)'), GeomFromEWKT('SRID=4674;POINT (-40.133227463812 -2.8164580184966)'))) / (select extract(epoch from '2026-08-06 03:27:46'::timestamp) - extract(epoch from '2026-08-06 03:26: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'), 48200, 'SRID=4674;POINT (-40.135246664286 -2.8090199176222)', '2026-08-06 05:11:11', 0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133227463812 -2.8164580184966)'), GeomFromEWKT('SRID=4674;POINT (-40.135246664286 -2.8090199176222)'))) / (select extract(epoch from '2026-08-06 05:11:11'::timestamp) - extract(epoch from '2026-08-06 03:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133227463812 -2.8164580184966)'), GeomFromEWKT('SRID=4674;POINT (-40.135246664286 -2.8090199176222)'))) / (select extract(epoch from '2026-08-06 05:11:11'::timestamp) - extract(epoch from '2026-08-06 03:27: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'), 48200, 'SRID=4674;POINT (-40.135246999562 -2.8090155590326)', '2026-08-06 05:11:16', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135246664286 -2.8090199176222)'), GeomFromEWKT('SRID=4674;POINT (-40.135246999562 -2.8090155590326)'))) / (select extract(epoch from '2026-08-06 05:11:16'::timestamp) - extract(epoch from '2026-08-06 05:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135246664286 -2.8090199176222)'), GeomFromEWKT('SRID=4674;POINT (-40.135246999562 -2.8090155590326)'))) / (select extract(epoch from '2026-08-06 05:11:16'::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'), 48200, 'SRID=4674;POINT (-40.12934261933 -2.811527531594)', '2026-08-06 06:43:28', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135246999562 -2.8090155590326)'), GeomFromEWKT('SRID=4674;POINT (-40.12934261933 -2.811527531594)'))) / (select extract(epoch from '2026-08-06 06:43:28'::timestamp) - extract(epoch from '2026-08-06 05:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135246999562 -2.8090155590326)'), GeomFromEWKT('SRID=4674;POINT (-40.12934261933 -2.811527531594)'))) / (select extract(epoch from '2026-08-06 06:43:28'::timestamp) - extract(epoch from '2026-08-06 05:11: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'), 48200, 'SRID=4674;POINT (-40.129427025095 -2.8117145318538)', '2026-08-06 06:43:36', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12934261933 -2.811527531594)'), GeomFromEWKT('SRID=4674;POINT (-40.129427025095 -2.8117145318538)'))) / (select extract(epoch from '2026-08-06 06:43:36'::timestamp) - extract(epoch from '2026-08-06 06:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12934261933 -2.811527531594)'), GeomFromEWKT('SRID=4674;POINT (-40.129427025095 -2.8117145318538)'))) / (select extract(epoch from '2026-08-06 06:43:36'::timestamp) - extract(epoch from '2026-08-06 06:43: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'), 48200, 'SRID=4674;POINT (-40.12954252772 -2.8119151946157)', '2026-08-06 06:43:45', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129427025095 -2.8117145318538)'), GeomFromEWKT('SRID=4674;POINT (-40.12954252772 -2.8119151946157)'))) / (select extract(epoch from '2026-08-06 06:43:45'::timestamp) - extract(epoch from '2026-08-06 06:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129427025095 -2.8117145318538)'), GeomFromEWKT('SRID=4674;POINT (-40.12954252772 -2.8119151946157)'))) / (select extract(epoch from '2026-08-06 06:43:45'::timestamp) - extract(epoch from '2026-08-06 06:43: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'), 48200, 'SRID=4674;POINT (-40.129671022296 -2.8120197169483)', '2026-08-06 06:43:52', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12954252772 -2.8119151946157)'), GeomFromEWKT('SRID=4674;POINT (-40.129671022296 -2.8120197169483)'))) / (select extract(epoch from '2026-08-06 06:43:52'::timestamp) - extract(epoch from '2026-08-06 06:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12954252772 -2.8119151946157)'), GeomFromEWKT('SRID=4674;POINT (-40.129671022296 -2.8120197169483)'))) / (select extract(epoch from '2026-08-06 06:43:52'::timestamp) - extract(epoch from '2026-08-06 06:43: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'), 48200, 'SRID=4674;POINT (-40.129748722538 -2.8121174499393)', '2026-08-06 06:43:58', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129671022296 -2.8120197169483)'), GeomFromEWKT('SRID=4674;POINT (-40.129748722538 -2.8121174499393)'))) / (select extract(epoch from '2026-08-06 06:43:58'::timestamp) - extract(epoch from '2026-08-06 06:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129671022296 -2.8120197169483)'), GeomFromEWKT('SRID=4674;POINT (-40.129748722538 -2.8121174499393)'))) / (select extract(epoch from '2026-08-06 06:43:58'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.12977973558 -2.8123035281897)', '2026-08-06 06:44:06', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129748722538 -2.8121174499393)'), GeomFromEWKT('SRID=4674;POINT (-40.12977973558 -2.8123035281897)'))) / (select extract(epoch from '2026-08-06 06:44:06'::timestamp) - extract(epoch from '2026-08-06 06:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129748722538 -2.8121174499393)'), GeomFromEWKT('SRID=4674;POINT (-40.12977973558 -2.8123035281897)'))) / (select extract(epoch from '2026-08-06 06:44:06'::timestamp) - extract(epoch from '2026-08-06 06:43: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'), 48200, 'SRID=4674;POINT (-40.129817118868 -2.8124427516013)', '2026-08-06 06:44:12', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12977973558 -2.8123035281897)'), GeomFromEWKT('SRID=4674;POINT (-40.129817118868 -2.8124427516013)'))) / (select extract(epoch from '2026-08-06 06:44:12'::timestamp) - extract(epoch from '2026-08-06 06:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12977973558 -2.8123035281897)'), GeomFromEWKT('SRID=4674;POINT (-40.129817118868 -2.8124427516013)'))) / (select extract(epoch from '2026-08-06 06:44:12'::timestamp) - extract(epoch from '2026-08-06 06:44: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'), 48200, 'SRID=4674;POINT (-40.12989398092 -2.8126147482544)', '2026-08-06 06:44:20', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129817118868 -2.8124427516013)'), GeomFromEWKT('SRID=4674;POINT (-40.12989398092 -2.8126147482544)'))) / (select extract(epoch from '2026-08-06 06:44:20'::timestamp) - extract(epoch from '2026-08-06 06:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129817118868 -2.8124427516013)'), GeomFromEWKT('SRID=4674;POINT (-40.12989398092 -2.8126147482544)'))) / (select extract(epoch from '2026-08-06 06:44:20'::timestamp) - extract(epoch from '2026-08-06 06:44: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'), 48200, 'SRID=4674;POINT (-40.129962628707 -2.8128134831786)', '2026-08-06 06:44:29', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12989398092 -2.8126147482544)'), GeomFromEWKT('SRID=4674;POINT (-40.129962628707 -2.8128134831786)'))) / (select extract(epoch from '2026-08-06 06:44:29'::timestamp) - extract(epoch from '2026-08-06 06:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12989398092 -2.8126147482544)'), GeomFromEWKT('SRID=4674;POINT (-40.129962628707 -2.8128134831786)'))) / (select extract(epoch from '2026-08-06 06:44:29'::timestamp) - extract(epoch from '2026-08-06 06:44: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'), 48200, 'SRID=4674;POINT (-40.130021721125 -2.8130014892668)', '2026-08-06 06:44:37', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129962628707 -2.8128134831786)'), GeomFromEWKT('SRID=4674;POINT (-40.130021721125 -2.8130014892668)'))) / (select extract(epoch from '2026-08-06 06:44:37'::timestamp) - extract(epoch from '2026-08-06 06:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129962628707 -2.8128134831786)'), GeomFromEWKT('SRID=4674;POINT (-40.130021721125 -2.8130014892668)'))) / (select extract(epoch from '2026-08-06 06:44:37'::timestamp) - extract(epoch from '2026-08-06 06:44: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'), 48200, 'SRID=4674;POINT (-40.13015717268 -2.8132120426744)', '2026-08-06 06:44:47', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130021721125 -2.8130014892668)'), GeomFromEWKT('SRID=4674;POINT (-40.13015717268 -2.8132120426744)'))) / (select extract(epoch from '2026-08-06 06:44:47'::timestamp) - extract(epoch from '2026-08-06 06:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130021721125 -2.8130014892668)'), GeomFromEWKT('SRID=4674;POINT (-40.13015717268 -2.8132120426744)'))) / (select extract(epoch from '2026-08-06 06:44:47'::timestamp) - extract(epoch from '2026-08-06 06:44: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'), 48200, 'SRID=4674;POINT (-40.13029304333 -2.8133912477642)', '2026-08-06 06:44:56', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13015717268 -2.8132120426744)'), GeomFromEWKT('SRID=4674;POINT (-40.13029304333 -2.8133912477642)'))) / (select extract(epoch from '2026-08-06 06:44:56'::timestamp) - extract(epoch from '2026-08-06 06:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13015717268 -2.8132120426744)'), GeomFromEWKT('SRID=4674;POINT (-40.13029304333 -2.8133912477642)'))) / (select extract(epoch from '2026-08-06 06:44:56'::timestamp) - extract(epoch from '2026-08-06 06:44: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'), 48200, 'SRID=4674;POINT (-40.130425058305 -2.8136043995619)', '2026-08-06 06:45:06', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13029304333 -2.8133912477642)'), GeomFromEWKT('SRID=4674;POINT (-40.130425058305 -2.8136043995619)'))) / (select extract(epoch from '2026-08-06 06:45:06'::timestamp) - extract(epoch from '2026-08-06 06:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13029304333 -2.8133912477642)'), GeomFromEWKT('SRID=4674;POINT (-40.130425058305 -2.8136043995619)'))) / (select extract(epoch from '2026-08-06 06:45:06'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.130572747439 -2.8138317167759)', '2026-08-06 06:45:17', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130425058305 -2.8136043995619)'), GeomFromEWKT('SRID=4674;POINT (-40.130572747439 -2.8138317167759)'))) / (select extract(epoch from '2026-08-06 06:45:17'::timestamp) - extract(epoch from '2026-08-06 06:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130425058305 -2.8136043995619)'), GeomFromEWKT('SRID=4674;POINT (-40.130572747439 -2.8138317167759)'))) / (select extract(epoch from '2026-08-06 06:45:17'::timestamp) - extract(epoch from '2026-08-06 06:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.130782378837 -2.8140850178897)', '2026-08-06 06:45:30', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130572747439 -2.8138317167759)'), GeomFromEWKT('SRID=4674;POINT (-40.130782378837 -2.8140850178897)'))) / (select extract(epoch from '2026-08-06 06:45:30'::timestamp) - extract(epoch from '2026-08-06 06:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130572747439 -2.8138317167759)'), GeomFromEWKT('SRID=4674;POINT (-40.130782378837 -2.8140850178897)'))) / (select extract(epoch from '2026-08-06 06:45:30'::timestamp) - extract(epoch from '2026-08-06 06:45: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'), 48200, 'SRID=4674;POINT (-40.130983460695 -2.8143105749041)', '2026-08-06 06:45:42', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130782378837 -2.8140850178897)'), GeomFromEWKT('SRID=4674;POINT (-40.130983460695 -2.8143105749041)'))) / (select extract(epoch from '2026-08-06 06:45:42'::timestamp) - extract(epoch from '2026-08-06 06:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130782378837 -2.8140850178897)'), GeomFromEWKT('SRID=4674;POINT (-40.130983460695 -2.8143105749041)'))) / (select extract(epoch from '2026-08-06 06:45:42'::timestamp) - extract(epoch from '2026-08-06 06:45: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'), 48200, 'SRID=4674;POINT (-40.131206251681 -2.8145467769355)', '2026-08-06 06:45:55', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130983460695 -2.8143105749041)'), GeomFromEWKT('SRID=4674;POINT (-40.131206251681 -2.8145467769355)'))) / (select extract(epoch from '2026-08-06 06:45:55'::timestamp) - extract(epoch from '2026-08-06 06:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130983460695 -2.8143105749041)'), GeomFromEWKT('SRID=4674;POINT (-40.131206251681 -2.8145467769355)'))) / (select extract(epoch from '2026-08-06 06:45:55'::timestamp) - extract(epoch from '2026-08-06 06:45: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'), 48200, 'SRID=4674;POINT (-40.131381182 -2.8147631976753)', '2026-08-06 06:46:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131206251681 -2.8145467769355)'), GeomFromEWKT('SRID=4674;POINT (-40.131381182 -2.8147631976753)'))) / (select extract(epoch from '2026-08-06 06:46:06'::timestamp) - extract(epoch from '2026-08-06 06:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131206251681 -2.8145467769355)'), GeomFromEWKT('SRID=4674;POINT (-40.131381182 -2.8147631976753)'))) / (select extract(epoch from '2026-08-06 06:46:06'::timestamp) - extract(epoch from '2026-08-06 06:45: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'), 48200, 'SRID=4674;POINT (-40.131534319371 -2.8149593342096)', '2026-08-06 06:46:16', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131381182 -2.8147631976753)'), GeomFromEWKT('SRID=4674;POINT (-40.131534319371 -2.8149593342096)'))) / (select extract(epoch from '2026-08-06 06:46:16'::timestamp) - extract(epoch from '2026-08-06 06:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131381182 -2.8147631976753)'), GeomFromEWKT('SRID=4674;POINT (-40.131534319371 -2.8149593342096)'))) / (select extract(epoch from '2026-08-06 06:46:16'::timestamp) - extract(epoch from '2026-08-06 06:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.131731964648 -2.8151860646904)', '2026-08-06 06:46:28', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131534319371 -2.8149593342096)'), GeomFromEWKT('SRID=4674;POINT (-40.131731964648 -2.8151860646904)'))) / (select extract(epoch from '2026-08-06 06:46:28'::timestamp) - extract(epoch from '2026-08-06 06:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131534319371 -2.8149593342096)'), GeomFromEWKT('SRID=4674;POINT (-40.131731964648 -2.8151860646904)'))) / (select extract(epoch from '2026-08-06 06:46:28'::timestamp) - extract(epoch from '2026-08-06 06:46: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'), 48200, 'SRID=4674;POINT (-40.131926089525 -2.8153785970062)', '2026-08-06 06:46:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131731964648 -2.8151860646904)'), GeomFromEWKT('SRID=4674;POINT (-40.131926089525 -2.8153785970062)'))) / (select extract(epoch from '2026-08-06 06:46:39'::timestamp) - extract(epoch from '2026-08-06 06:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131731964648 -2.8151860646904)'), GeomFromEWKT('SRID=4674;POINT (-40.131926089525 -2.8153785970062)'))) / (select extract(epoch from '2026-08-06 06:46:39'::timestamp) - extract(epoch from '2026-08-06 06:46: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'), 48200, 'SRID=4674;POINT (-40.132097834721 -2.815629048273)', '2026-08-06 06:46:51', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131926089525 -2.8153785970062)'), GeomFromEWKT('SRID=4674;POINT (-40.132097834721 -2.815629048273)'))) / (select extract(epoch from '2026-08-06 06:46:51'::timestamp) - extract(epoch from '2026-08-06 06:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131926089525 -2.8153785970062)'), GeomFromEWKT('SRID=4674;POINT (-40.132097834721 -2.815629048273)'))) / (select extract(epoch from '2026-08-06 06:46:51'::timestamp) - extract(epoch from '2026-08-06 06:46: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'), 48200, 'SRID=4674;POINT (-40.132280895486 -2.8158358298242)', '2026-08-06 06:47:02', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132097834721 -2.815629048273)'), GeomFromEWKT('SRID=4674;POINT (-40.132280895486 -2.8158358298242)'))) / (select extract(epoch from '2026-08-06 06:47:02'::timestamp) - extract(epoch from '2026-08-06 06:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132097834721 -2.815629048273)'), GeomFromEWKT('SRID=4674;POINT (-40.132280895486 -2.8158358298242)'))) / (select extract(epoch from '2026-08-06 06:47:02'::timestamp) - extract(epoch from '2026-08-06 06:46: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'), 48200, 'SRID=4674;POINT (-40.132405869663 -2.8160583693534)', '2026-08-06 06:47:12', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132280895486 -2.8158358298242)'), GeomFromEWKT('SRID=4674;POINT (-40.132405869663 -2.8160583693534)'))) / (select extract(epoch from '2026-08-06 06:47:12'::timestamp) - extract(epoch from '2026-08-06 06:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132280895486 -2.8158358298242)'), GeomFromEWKT('SRID=4674;POINT (-40.132405869663 -2.8160583693534)'))) / (select extract(epoch from '2026-08-06 06:47:12'::timestamp) - extract(epoch from '2026-08-06 06:47: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'), 48200, 'SRID=4674;POINT (-40.132558336481 -2.8162491414696)', '2026-08-06 06:47:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132405869663 -2.8160583693534)'), GeomFromEWKT('SRID=4674;POINT (-40.132558336481 -2.8162491414696)'))) / (select extract(epoch from '2026-08-06 06:47:22'::timestamp) - extract(epoch from '2026-08-06 06:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132405869663 -2.8160583693534)'), GeomFromEWKT('SRID=4674;POINT (-40.132558336481 -2.8162491414696)'))) / (select extract(epoch from '2026-08-06 06:47:22'::timestamp) - extract(epoch from '2026-08-06 06:47: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'), 48200, 'SRID=4674;POINT (-40.132749192417 -2.8164515644312)', '2026-08-06 06:47:33', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132558336481 -2.8162491414696)'), GeomFromEWKT('SRID=4674;POINT (-40.132749192417 -2.8164515644312)'))) / (select extract(epoch from '2026-08-06 06:47:33'::timestamp) - extract(epoch from '2026-08-06 06:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132558336481 -2.8162491414696)'), GeomFromEWKT('SRID=4674;POINT (-40.132749192417 -2.8164515644312)'))) / (select extract(epoch from '2026-08-06 06:47:33'::timestamp) - extract(epoch from '2026-08-06 06:47: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'), 48200, 'SRID=4674;POINT (-40.132890427485 -2.8167235571891)', '2026-08-06 06:47:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132749192417 -2.8164515644312)'), GeomFromEWKT('SRID=4674;POINT (-40.132890427485 -2.8167235571891)'))) / (select extract(epoch from '2026-08-06 06:47:45'::timestamp) - extract(epoch from '2026-08-06 06:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132749192417 -2.8164515644312)'), GeomFromEWKT('SRID=4674;POINT (-40.132890427485 -2.8167235571891)'))) / (select extract(epoch from '2026-08-06 06:47:45'::timestamp) - extract(epoch from '2026-08-06 06:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.133052198216 -2.8169826418161)', '2026-08-06 06:47:57', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132890427485 -2.8167235571891)'), GeomFromEWKT('SRID=4674;POINT (-40.133052198216 -2.8169826418161)'))) / (select extract(epoch from '2026-08-06 06:47:57'::timestamp) - extract(epoch from '2026-08-06 06:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132890427485 -2.8167235571891)'), GeomFromEWKT('SRID=4674;POINT (-40.133052198216 -2.8169826418161)'))) / (select extract(epoch from '2026-08-06 06:47:57'::timestamp) - extract(epoch from '2026-08-06 06:47: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'), 48200, 'SRID=4674;POINT (-40.133103076369 -2.817161930725)', '2026-08-06 06:48:05', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133052198216 -2.8169826418161)'), GeomFromEWKT('SRID=4674;POINT (-40.133103076369 -2.817161930725)'))) / (select extract(epoch from '2026-08-06 06:48:05'::timestamp) - extract(epoch from '2026-08-06 06:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133052198216 -2.8169826418161)'), GeomFromEWKT('SRID=4674;POINT (-40.133103076369 -2.817161930725)'))) / (select extract(epoch from '2026-08-06 06:48:05'::timestamp) - extract(epoch from '2026-08-06 06:47: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'), 48200, 'SRID=4674;POINT (-40.133211286739 -2.8173221927136)', '2026-08-06 06:48:13', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133103076369 -2.817161930725)'), GeomFromEWKT('SRID=4674;POINT (-40.133211286739 -2.8173221927136)'))) / (select extract(epoch from '2026-08-06 06:48:13'::timestamp) - extract(epoch from '2026-08-06 06:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133103076369 -2.817161930725)'), GeomFromEWKT('SRID=4674;POINT (-40.133211286739 -2.8173221927136)'))) / (select extract(epoch from '2026-08-06 06:48:13'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.13336434029 -2.8174866456538)', '2026-08-06 06:48:22', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133211286739 -2.8173221927136)'), GeomFromEWKT('SRID=4674;POINT (-40.13336434029 -2.8174866456538)'))) / (select extract(epoch from '2026-08-06 06:48:22'::timestamp) - extract(epoch from '2026-08-06 06:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133211286739 -2.8173221927136)'), GeomFromEWKT('SRID=4674;POINT (-40.13336434029 -2.8174866456538)'))) / (select extract(epoch from '2026-08-06 06:48:22'::timestamp) - extract(epoch from '2026-08-06 06:48: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'), 48200, 'SRID=4674;POINT (-40.133514543995 -2.8177427966148)', '2026-08-06 06:48:34', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13336434029 -2.8174866456538)'), GeomFromEWKT('SRID=4674;POINT (-40.133514543995 -2.8177427966148)'))) / (select extract(epoch from '2026-08-06 06:48:34'::timestamp) - extract(epoch from '2026-08-06 06:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13336434029 -2.8174866456538)'), GeomFromEWKT('SRID=4674;POINT (-40.133514543995 -2.8177427966148)'))) / (select extract(epoch from '2026-08-06 06:48:34'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.133625185117 -2.8179711196572)', '2026-08-06 06:48:44', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133514543995 -2.8177427966148)'), GeomFromEWKT('SRID=4674;POINT (-40.133625185117 -2.8179711196572)'))) / (select extract(epoch from '2026-08-06 06:48:44'::timestamp) - extract(epoch from '2026-08-06 06:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133514543995 -2.8177427966148)'), GeomFromEWKT('SRID=4674;POINT (-40.133625185117 -2.8179711196572)'))) / (select extract(epoch from '2026-08-06 06:48:44'::timestamp) - extract(epoch from '2026-08-06 06:48: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'), 48200, 'SRID=4674;POINT (-40.133754853159 -2.818245543167)', '2026-08-06 06:48:56', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133625185117 -2.8179711196572)'), GeomFromEWKT('SRID=4674;POINT (-40.133754853159 -2.818245543167)'))) / (select extract(epoch from '2026-08-06 06:48:56'::timestamp) - extract(epoch from '2026-08-06 06:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133625185117 -2.8179711196572)'), GeomFromEWKT('SRID=4674;POINT (-40.133754853159 -2.818245543167)'))) / (select extract(epoch from '2026-08-06 06:48:56'::timestamp) - extract(epoch from '2026-08-06 06:48: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'), 48200, 'SRID=4674;POINT (-40.133955683559 -2.8185470402241)', '2026-08-06 06:49:10', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133754853159 -2.818245543167)'), GeomFromEWKT('SRID=4674;POINT (-40.133955683559 -2.8185470402241)'))) / (select extract(epoch from '2026-08-06 06:49:10'::timestamp) - extract(epoch from '2026-08-06 06:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133754853159 -2.818245543167)'), GeomFromEWKT('SRID=4674;POINT (-40.133955683559 -2.8185470402241)'))) / (select extract(epoch from '2026-08-06 06:49:10'::timestamp) - extract(epoch from '2026-08-06 06:48: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'), 48200, 'SRID=4674;POINT (-40.134091218933 -2.8188425861299)', '2026-08-06 06:49:23', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133955683559 -2.8185470402241)'), GeomFromEWKT('SRID=4674;POINT (-40.134091218933 -2.8188425861299)'))) / (select extract(epoch from '2026-08-06 06:49:23'::timestamp) - extract(epoch from '2026-08-06 06:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133955683559 -2.8185470402241)'), GeomFromEWKT('SRID=4674;POINT (-40.134091218933 -2.8188425861299)'))) / (select extract(epoch from '2026-08-06 06:49:23'::timestamp) - extract(epoch from '2026-08-06 06:49: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'), 48200, 'SRID=4674;POINT (-40.134271262214 -2.8191779460758)', '2026-08-06 06:49:38', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134091218933 -2.8188425861299)'), GeomFromEWKT('SRID=4674;POINT (-40.134271262214 -2.8191779460758)'))) / (select extract(epoch from '2026-08-06 06:49:38'::timestamp) - extract(epoch from '2026-08-06 06:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134091218933 -2.8188425861299)'), GeomFromEWKT('SRID=4674;POINT (-40.134271262214 -2.8191779460758)'))) / (select extract(epoch from '2026-08-06 06:49:38'::timestamp) - extract(epoch from '2026-08-06 06:49: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'), 48200, 'SRID=4674;POINT (-40.134472176433 -2.8194694686681)', '2026-08-06 06:49:52', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134271262214 -2.8191779460758)'), GeomFromEWKT('SRID=4674;POINT (-40.134472176433 -2.8194694686681)'))) / (select extract(epoch from '2026-08-06 06:49:52'::timestamp) - extract(epoch from '2026-08-06 06:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134271262214 -2.8191779460758)'), GeomFromEWKT('SRID=4674;POINT (-40.134472176433 -2.8194694686681)'))) / (select extract(epoch from '2026-08-06 06:49:52'::timestamp) - extract(epoch from '2026-08-06 06:49: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'), 48200, 'SRID=4674;POINT (-40.134678790346 -2.8197853825986)', '2026-08-06 06:50:07', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134472176433 -2.8194694686681)'), GeomFromEWKT('SRID=4674;POINT (-40.134678790346 -2.8197853825986)'))) / (select extract(epoch from '2026-08-06 06:50:07'::timestamp) - extract(epoch from '2026-08-06 06:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134472176433 -2.8194694686681)'), GeomFromEWKT('SRID=4674;POINT (-40.134678790346 -2.8197853825986)'))) / (select extract(epoch from '2026-08-06 06:50:07'::timestamp) - extract(epoch from '2026-08-06 06:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.134857073426 -2.8201112709939)', '2026-08-06 06:50:22', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134678790346 -2.8197853825986)'), GeomFromEWKT('SRID=4674;POINT (-40.134857073426 -2.8201112709939)'))) / (select extract(epoch from '2026-08-06 06:50:22'::timestamp) - extract(epoch from '2026-08-06 06:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134678790346 -2.8197853825986)'), GeomFromEWKT('SRID=4674;POINT (-40.134857073426 -2.8201112709939)'))) / (select extract(epoch from '2026-08-06 06:50:22'::timestamp) - extract(epoch from '2026-08-06 06:50: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'), 48200, 'SRID=4674;POINT (-40.135020017624 -2.8204422723502)', '2026-08-06 06:50:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134857073426 -2.8201112709939)'), GeomFromEWKT('SRID=4674;POINT (-40.135020017624 -2.8204422723502)'))) / (select extract(epoch from '2026-08-06 06:50:37'::timestamp) - extract(epoch from '2026-08-06 06:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134857073426 -2.8201112709939)'), GeomFromEWKT('SRID=4674;POINT (-40.135020017624 -2.8204422723502)'))) / (select extract(epoch from '2026-08-06 06:50:37'::timestamp) - extract(epoch from '2026-08-06 06:50: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'), 48200, 'SRID=4674;POINT (-40.135210370645 -2.8207578510046)', '2026-08-06 06:50:52', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135020017624 -2.8204422723502)'), GeomFromEWKT('SRID=4674;POINT (-40.135210370645 -2.8207578510046)'))) / (select extract(epoch from '2026-08-06 06:50:52'::timestamp) - extract(epoch from '2026-08-06 06:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135020017624 -2.8204422723502)'), GeomFromEWKT('SRID=4674;POINT (-40.135210370645 -2.8207578510046)'))) / (select extract(epoch from '2026-08-06 06:50:52'::timestamp) - extract(epoch from '2026-08-06 06:50: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'), 48200, 'SRID=4674;POINT (-40.135311037302 -2.8210305981338)', '2026-08-06 06:51:04', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135210370645 -2.8207578510046)'), GeomFromEWKT('SRID=4674;POINT (-40.135311037302 -2.8210305981338)'))) / (select extract(epoch from '2026-08-06 06:51:04'::timestamp) - extract(epoch from '2026-08-06 06:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135210370645 -2.8207578510046)'), GeomFromEWKT('SRID=4674;POINT (-40.135311037302 -2.8210305981338)'))) / (select extract(epoch from '2026-08-06 06:51:04'::timestamp) - extract(epoch from '2026-08-06 06:50: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'), 48200, 'SRID=4674;POINT (-40.13541597873 -2.8213511221111)', '2026-08-06 06:51:18', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135311037302 -2.8210305981338)'), GeomFromEWKT('SRID=4674;POINT (-40.13541597873 -2.8213511221111)'))) / (select extract(epoch from '2026-08-06 06:51:18'::timestamp) - extract(epoch from '2026-08-06 06:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135311037302 -2.8210305981338)'), GeomFromEWKT('SRID=4674;POINT (-40.13541597873 -2.8213511221111)'))) / (select extract(epoch from '2026-08-06 06:51:18'::timestamp) - extract(epoch from '2026-08-06 06:51: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'), 48200, 'SRID=4674;POINT (-40.135573893785 -2.8216789383441)', '2026-08-06 06:51:33', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13541597873 -2.8213511221111)'), GeomFromEWKT('SRID=4674;POINT (-40.135573893785 -2.8216789383441)'))) / (select extract(epoch from '2026-08-06 06:51:33'::timestamp) - extract(epoch from '2026-08-06 06:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13541597873 -2.8213511221111)'), GeomFromEWKT('SRID=4674;POINT (-40.135573893785 -2.8216789383441)'))) / (select extract(epoch from '2026-08-06 06:51:33'::timestamp) - extract(epoch from '2026-08-06 06:51: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'), 48200, 'SRID=4674;POINT (-40.135749159381 -2.8220278769732)', '2026-08-06 06:51:49', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135573893785 -2.8216789383441)'), GeomFromEWKT('SRID=4674;POINT (-40.135749159381 -2.8220278769732)'))) / (select extract(epoch from '2026-08-06 06:51:49'::timestamp) - extract(epoch from '2026-08-06 06:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135573893785 -2.8216789383441)'), GeomFromEWKT('SRID=4674;POINT (-40.135749159381 -2.8220278769732)'))) / (select extract(epoch from '2026-08-06 06:51:49'::timestamp) - extract(epoch from '2026-08-06 06:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.135925095528 -2.8222860395908)', '2026-08-06 06:52:02', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135749159381 -2.8220278769732)'), GeomFromEWKT('SRID=4674;POINT (-40.135925095528 -2.8222860395908)'))) / (select extract(epoch from '2026-08-06 06:52:02'::timestamp) - extract(epoch from '2026-08-06 06:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135749159381 -2.8220278769732)'), GeomFromEWKT('SRID=4674;POINT (-40.135925095528 -2.8222860395908)'))) / (select extract(epoch from '2026-08-06 06:52:02'::timestamp) - extract(epoch from '2026-08-06 06:51: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'), 48200, 'SRID=4674;POINT (-40.136144449934 -2.8226533345878)', '2026-08-06 06:52:20', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135925095528 -2.8222860395908)'), GeomFromEWKT('SRID=4674;POINT (-40.136144449934 -2.8226533345878)'))) / (select extract(epoch from '2026-08-06 06:52:20'::timestamp) - extract(epoch from '2026-08-06 06:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135925095528 -2.8222860395908)'), GeomFromEWKT('SRID=4674;POINT (-40.136144449934 -2.8226533345878)'))) / (select extract(epoch from '2026-08-06 06:52:20'::timestamp) - extract(epoch from '2026-08-06 06:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.136225251481 -2.8229167778045)', '2026-08-06 06:52:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136144449934 -2.8226533345878)'), GeomFromEWKT('SRID=4674;POINT (-40.136225251481 -2.8229167778045)'))) / (select extract(epoch from '2026-08-06 06:52:32'::timestamp) - extract(epoch from '2026-08-06 06:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136144449934 -2.8226533345878)'), GeomFromEWKT('SRID=4674;POINT (-40.136225251481 -2.8229167778045)'))) / (select extract(epoch from '2026-08-06 06:52:32'::timestamp) - extract(epoch from '2026-08-06 06:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.136329019442 -2.8231947217137)', '2026-08-06 06:52:45', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136225251481 -2.8229167778045)'), GeomFromEWKT('SRID=4674;POINT (-40.136329019442 -2.8231947217137)'))) / (select extract(epoch from '2026-08-06 06:52:45'::timestamp) - extract(epoch from '2026-08-06 06:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136225251481 -2.8229167778045)'), GeomFromEWKT('SRID=4674;POINT (-40.136329019442 -2.8231947217137)'))) / (select extract(epoch from '2026-08-06 06:52:45'::timestamp) - extract(epoch from '2026-08-06 06:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.13647377491 -2.8233857452869)', '2026-08-06 06:52:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136329019442 -2.8231947217137)'), GeomFromEWKT('SRID=4674;POINT (-40.13647377491 -2.8233857452869)'))) / (select extract(epoch from '2026-08-06 06:52:56'::timestamp) - extract(epoch from '2026-08-06 06:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136329019442 -2.8231947217137)'), GeomFromEWKT('SRID=4674;POINT (-40.13647377491 -2.8233857452869)'))) / (select extract(epoch from '2026-08-06 06:52:56'::timestamp) - extract(epoch from '2026-08-06 06:52: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'), 48200, 'SRID=4674;POINT (-40.13658634387 -2.8236292395741)', '2026-08-06 06:53:08', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13647377491 -2.8233857452869)'), GeomFromEWKT('SRID=4674;POINT (-40.13658634387 -2.8236292395741)'))) / (select extract(epoch from '2026-08-06 06:53:08'::timestamp) - extract(epoch from '2026-08-06 06:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13647377491 -2.8233857452869)'), GeomFromEWKT('SRID=4674;POINT (-40.13658634387 -2.8236292395741)'))) / (select extract(epoch from '2026-08-06 06:53:08'::timestamp) - extract(epoch from '2026-08-06 06:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.13669799082 -2.8238731529564)', '2026-08-06 06:53:20', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13658634387 -2.8236292395741)'), GeomFromEWKT('SRID=4674;POINT (-40.13669799082 -2.8238731529564)'))) / (select extract(epoch from '2026-08-06 06:53:20'::timestamp) - extract(epoch from '2026-08-06 06:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13658634387 -2.8236292395741)'), GeomFromEWKT('SRID=4674;POINT (-40.13669799082 -2.8238731529564)'))) / (select extract(epoch from '2026-08-06 06:53:20'::timestamp) - extract(epoch from '2026-08-06 06:53: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'), 48200, 'SRID=4674;POINT (-40.136856995523 -2.8241617418826)', '2026-08-06 06:53:35', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13669799082 -2.8238731529564)'), GeomFromEWKT('SRID=4674;POINT (-40.136856995523 -2.8241617418826)'))) / (select extract(epoch from '2026-08-06 06:53:35'::timestamp) - extract(epoch from '2026-08-06 06:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13669799082 -2.8238731529564)'), GeomFromEWKT('SRID=4674;POINT (-40.136856995523 -2.8241617418826)'))) / (select extract(epoch from '2026-08-06 06:53:35'::timestamp) - extract(epoch from '2026-08-06 06:53: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'), 48200, 'SRID=4674;POINT (-40.137029578909 -2.8243975248188)', '2026-08-06 06:53:48', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136856995523 -2.8241617418826)'), GeomFromEWKT('SRID=4674;POINT (-40.137029578909 -2.8243975248188)'))) / (select extract(epoch from '2026-08-06 06:53:48'::timestamp) - extract(epoch from '2026-08-06 06:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136856995523 -2.8241617418826)'), GeomFromEWKT('SRID=4674;POINT (-40.137029578909 -2.8243975248188)'))) / (select extract(epoch from '2026-08-06 06:53:48'::timestamp) - extract(epoch from '2026-08-06 06:53: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'), 48200, 'SRID=4674;POINT (-40.137246083468 -2.8246552683413)', '2026-08-06 06:54:02', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137029578909 -2.8243975248188)'), GeomFromEWKT('SRID=4674;POINT (-40.137246083468 -2.8246552683413)'))) / (select extract(epoch from '2026-08-06 06:54:02'::timestamp) - extract(epoch from '2026-08-06 06:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137029578909 -2.8243975248188)'), GeomFromEWKT('SRID=4674;POINT (-40.137246083468 -2.8246552683413)'))) / (select extract(epoch from '2026-08-06 06:54:02'::timestamp) - extract(epoch from '2026-08-06 06:53: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'), 48200, 'SRID=4674;POINT (-40.13747189194 -2.8249547537416)', '2026-08-06 06:54:18', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137246083468 -2.8246552683413)'), GeomFromEWKT('SRID=4674;POINT (-40.13747189194 -2.8249547537416)'))) / (select extract(epoch from '2026-08-06 06:54:18'::timestamp) - extract(epoch from '2026-08-06 06:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137246083468 -2.8246552683413)'), GeomFromEWKT('SRID=4674;POINT (-40.13747189194 -2.8249547537416)'))) / (select extract(epoch from '2026-08-06 06:54:18'::timestamp) - extract(epoch from '2026-08-06 06:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.137653360143 -2.8251399938017)', '2026-08-06 06:54:29', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13747189194 -2.8249547537416)'), GeomFromEWKT('SRID=4674;POINT (-40.137653360143 -2.8251399938017)'))) / (select extract(epoch from '2026-08-06 06:54:29'::timestamp) - extract(epoch from '2026-08-06 06:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13747189194 -2.8249547537416)'), GeomFromEWKT('SRID=4674;POINT (-40.137653360143 -2.8251399938017)'))) / (select extract(epoch from '2026-08-06 06:54:29'::timestamp) - extract(epoch from '2026-08-06 06:54: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'), 48200, 'SRID=4674;POINT (-40.137910265476 -2.8253108169883)', '2026-08-06 06:54:42', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137653360143 -2.8251399938017)'), GeomFromEWKT('SRID=4674;POINT (-40.137910265476 -2.8253108169883)'))) / (select extract(epoch from '2026-08-06 06:54:42'::timestamp) - extract(epoch from '2026-08-06 06:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137653360143 -2.8251399938017)'), GeomFromEWKT('SRID=4674;POINT (-40.137910265476 -2.8253108169883)'))) / (select extract(epoch from '2026-08-06 06:54:42'::timestamp) - extract(epoch from '2026-08-06 06:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.138094583526 -2.8255193587393)', '2026-08-06 06:54:53', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137910265476 -2.8253108169883)'), GeomFromEWKT('SRID=4674;POINT (-40.138094583526 -2.8255193587393)'))) / (select extract(epoch from '2026-08-06 06:54:53'::timestamp) - extract(epoch from '2026-08-06 06:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137910265476 -2.8253108169883)'), GeomFromEWKT('SRID=4674;POINT (-40.138094583526 -2.8255193587393)'))) / (select extract(epoch from '2026-08-06 06:54:53'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.138279236853 -2.8257561475039)', '2026-08-06 06:55:05', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138094583526 -2.8255193587393)'), GeomFromEWKT('SRID=4674;POINT (-40.138279236853 -2.8257561475039)'))) / (select extract(epoch from '2026-08-06 06:55:05'::timestamp) - extract(epoch from '2026-08-06 06:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138094583526 -2.8255193587393)'), GeomFromEWKT('SRID=4674;POINT (-40.138279236853 -2.8257561475039)'))) / (select extract(epoch from '2026-08-06 06:55:05'::timestamp) - extract(epoch from '2026-08-06 06:54: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'), 48200, 'SRID=4674;POINT (-40.138341095299 -2.825965359807)', '2026-08-06 06:55:14', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138279236853 -2.8257561475039)'), GeomFromEWKT('SRID=4674;POINT (-40.138341095299 -2.825965359807)'))) / (select extract(epoch from '2026-08-06 06:55:14'::timestamp) - extract(epoch from '2026-08-06 06:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138279236853 -2.8257561475039)'), GeomFromEWKT('SRID=4674;POINT (-40.138341095299 -2.825965359807)'))) / (select extract(epoch from '2026-08-06 06:55:14'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.138342939317 -2.8262225165963)', '2026-08-06 06:55:25', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138341095299 -2.825965359807)'), GeomFromEWKT('SRID=4674;POINT (-40.138342939317 -2.8262225165963)'))) / (select extract(epoch from '2026-08-06 06:55:25'::timestamp) - extract(epoch from '2026-08-06 06:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138341095299 -2.825965359807)'), GeomFromEWKT('SRID=4674;POINT (-40.138342939317 -2.8262225165963)'))) / (select extract(epoch from '2026-08-06 06:55:25'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.138397840783 -2.826483445242)', '2026-08-06 06:55:36', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138342939317 -2.8262225165963)'), GeomFromEWKT('SRID=4674;POINT (-40.138397840783 -2.826483445242)'))) / (select extract(epoch from '2026-08-06 06:55:36'::timestamp) - extract(epoch from '2026-08-06 06:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138342939317 -2.8262225165963)'), GeomFromEWKT('SRID=4674;POINT (-40.138397840783 -2.826483445242)'))) / (select extract(epoch from '2026-08-06 06:55:36'::timestamp) - extract(epoch from '2026-08-06 06:55: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'), 48200, 'SRID=4674;POINT (-40.138507224619 -2.8266799170524)', '2026-08-06 06:55:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138397840783 -2.826483445242)'), GeomFromEWKT('SRID=4674;POINT (-40.138507224619 -2.8266799170524)'))) / (select extract(epoch from '2026-08-06 06:55:46'::timestamp) - extract(epoch from '2026-08-06 06:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138397840783 -2.826483445242)'), GeomFromEWKT('SRID=4674;POINT (-40.138507224619 -2.8266799170524)'))) / (select extract(epoch from '2026-08-06 06:55:46'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.138499764726 -2.8268198948354)', '2026-08-06 06:55:53', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138507224619 -2.8266799170524)'), GeomFromEWKT('SRID=4674;POINT (-40.138499764726 -2.8268198948354)'))) / (select extract(epoch from '2026-08-06 06:55:53'::timestamp) - extract(epoch from '2026-08-06 06:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138507224619 -2.8266799170524)'), GeomFromEWKT('SRID=4674;POINT (-40.138499764726 -2.8268198948354)'))) / (select extract(epoch from '2026-08-06 06:55:53'::timestamp) - extract(epoch from '2026-08-06 06:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.13845006004 -2.8270451165736)', '2026-08-06 06:56:04', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138499764726 -2.8268198948354)'), GeomFromEWKT('SRID=4674;POINT (-40.13845006004 -2.8270451165736)'))) / (select extract(epoch from '2026-08-06 06:56:04'::timestamp) - extract(epoch from '2026-08-06 06:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138499764726 -2.8268198948354)'), GeomFromEWKT('SRID=4674;POINT (-40.13845006004 -2.8270451165736)'))) / (select extract(epoch from '2026-08-06 06:56:04'::timestamp) - extract(epoch from '2026-08-06 06:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.138400942087 -2.8272744454443)', '2026-08-06 06:56:15', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13845006004 -2.8270451165736)'), GeomFromEWKT('SRID=4674;POINT (-40.138400942087 -2.8272744454443)'))) / (select extract(epoch from '2026-08-06 06:56:15'::timestamp) - extract(epoch from '2026-08-06 06:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13845006004 -2.8270451165736)'), GeomFromEWKT('SRID=4674;POINT (-40.138400942087 -2.8272744454443)'))) / (select extract(epoch from '2026-08-06 06:56:15'::timestamp) - extract(epoch from '2026-08-06 06:56: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'), 48200, 'SRID=4674;POINT (-40.13831502758 -2.8273359686136)', '2026-08-06 06:56:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138400942087 -2.8272744454443)'), GeomFromEWKT('SRID=4674;POINT (-40.13831502758 -2.8273359686136)'))) / (select extract(epoch from '2026-08-06 06:56:20'::timestamp) - extract(epoch from '2026-08-06 06:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138400942087 -2.8272744454443)'), GeomFromEWKT('SRID=4674;POINT (-40.13831502758 -2.8273359686136)'))) / (select extract(epoch from '2026-08-06 06:56:20'::timestamp) - extract(epoch from '2026-08-06 06:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.138137331232 -2.8273268323392)', '2026-08-06 06:56:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13831502758 -2.8273359686136)'), GeomFromEWKT('SRID=4674;POINT (-40.138137331232 -2.8273268323392)'))) / (select extract(epoch from '2026-08-06 06:56:28'::timestamp) - extract(epoch from '2026-08-06 06:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13831502758 -2.8273359686136)'), GeomFromEWKT('SRID=4674;POINT (-40.138137331232 -2.8273268323392)'))) / (select extract(epoch from '2026-08-06 06:56:28'::timestamp) - extract(epoch from '2026-08-06 06:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.137816052884 -2.8272202983499)', '2026-08-06 06:56:42', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138137331232 -2.8273268323392)'), GeomFromEWKT('SRID=4674;POINT (-40.137816052884 -2.8272202983499)'))) / (select extract(epoch from '2026-08-06 06:56:42'::timestamp) - extract(epoch from '2026-08-06 06:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138137331232 -2.8273268323392)'), GeomFromEWKT('SRID=4674;POINT (-40.137816052884 -2.8272202983499)'))) / (select extract(epoch from '2026-08-06 06:56:42'::timestamp) - extract(epoch from '2026-08-06 06:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.137504329905 -2.8270785603672)', '2026-08-06 06:56:56', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137816052884 -2.8272202983499)'), GeomFromEWKT('SRID=4674;POINT (-40.137504329905 -2.8270785603672)'))) / (select extract(epoch from '2026-08-06 06:56:56'::timestamp) - extract(epoch from '2026-08-06 06:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137816052884 -2.8272202983499)'), GeomFromEWKT('SRID=4674;POINT (-40.137504329905 -2.8270785603672)'))) / (select extract(epoch from '2026-08-06 06:56:56'::timestamp) - extract(epoch from '2026-08-06 06:56: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'), 48200, 'SRID=4674;POINT (-40.137226218358 -2.82690086402)', '2026-08-06 06:57:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137504329905 -2.8270785603672)'), GeomFromEWKT('SRID=4674;POINT (-40.137226218358 -2.82690086402)'))) / (select extract(epoch from '2026-08-06 06:57:09'::timestamp) - extract(epoch from '2026-08-06 06:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137504329905 -2.8270785603672)'), GeomFromEWKT('SRID=4674;POINT (-40.137226218358 -2.82690086402)'))) / (select extract(epoch from '2026-08-06 06:57:09'::timestamp) - extract(epoch from '2026-08-06 06:56: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'), 48200, 'SRID=4674;POINT (-40.136967971921 -2.8268342278898)', '2026-08-06 06:57:20', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137226218358 -2.82690086402)'), GeomFromEWKT('SRID=4674;POINT (-40.136967971921 -2.8268342278898)'))) / (select extract(epoch from '2026-08-06 06:57:20'::timestamp) - extract(epoch from '2026-08-06 06:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137226218358 -2.82690086402)'), GeomFromEWKT('SRID=4674;POINT (-40.136967971921 -2.8268342278898)'))) / (select extract(epoch from '2026-08-06 06:57:20'::timestamp) - extract(epoch from '2026-08-06 06:57: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'), 48200, 'SRID=4674;POINT (-40.136690530926 -2.8267303761095)', '2026-08-06 06:57:32', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136967971921 -2.8268342278898)'), GeomFromEWKT('SRID=4674;POINT (-40.136690530926 -2.8267303761095)'))) / (select extract(epoch from '2026-08-06 06:57:32'::timestamp) - extract(epoch from '2026-08-06 06:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136967971921 -2.8268342278898)'), GeomFromEWKT('SRID=4674;POINT (-40.136690530926 -2.8267303761095)'))) / (select extract(epoch from '2026-08-06 06:57:32'::timestamp) - extract(epoch from '2026-08-06 06:57: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'), 48200, 'SRID=4674;POINT (-40.136442258954 -2.8266665898263)', '2026-08-06 06:57:43', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136690530926 -2.8267303761095)'), GeomFromEWKT('SRID=4674;POINT (-40.136442258954 -2.8266665898263)'))) / (select extract(epoch from '2026-08-06 06:57:43'::timestamp) - extract(epoch from '2026-08-06 06:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136690530926 -2.8267303761095)'), GeomFromEWKT('SRID=4674;POINT (-40.136442258954 -2.8266665898263)'))) / (select extract(epoch from '2026-08-06 06:57:43'::timestamp) - extract(epoch from '2026-08-06 06:57: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'), 48200, 'SRID=4674;POINT (-40.136167919263 -2.8266032226384)', '2026-08-06 06:57:56', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136442258954 -2.8266665898263)'), GeomFromEWKT('SRID=4674;POINT (-40.136167919263 -2.8266032226384)'))) / (select extract(epoch from '2026-08-06 06:57:56'::timestamp) - extract(epoch from '2026-08-06 06:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136442258954 -2.8266665898263)'), GeomFromEWKT('SRID=4674;POINT (-40.136167919263 -2.8266032226384)'))) / (select extract(epoch from '2026-08-06 06:57:56'::timestamp) - extract(epoch from '2026-08-06 06:57:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.135998772457 -2.8265486564487)', '2026-08-06 06:58:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136167919263 -2.8266032226384)'), GeomFromEWKT('SRID=4674;POINT (-40.135998772457 -2.8265486564487)'))) / (select extract(epoch from '2026-08-06 06:58:06'::timestamp) - extract(epoch from '2026-08-06 06:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136167919263 -2.8266032226384)'), GeomFromEWKT('SRID=4674;POINT (-40.135998772457 -2.8265486564487)'))) / (select extract(epoch from '2026-08-06 06:58:06'::timestamp) - extract(epoch from '2026-08-06 06:57: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'), 48200, 'SRID=4674;POINT (-40.135936075822 -2.8265024721622)', '2026-08-06 06:58:16', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135998772457 -2.8265486564487)'), GeomFromEWKT('SRID=4674;POINT (-40.135936075822 -2.8265024721622)'))) / (select extract(epoch from '2026-08-06 06:58:16'::timestamp) - extract(epoch from '2026-08-06 06:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135998772457 -2.8265486564487)'), GeomFromEWKT('SRID=4674;POINT (-40.135936075822 -2.8265024721622)'))) / (select extract(epoch from '2026-08-06 06:58:16'::timestamp) - extract(epoch from '2026-08-06 06:58: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'), 48200, 'SRID=4674;POINT (-40.13593272306 -2.8265048190951)', '2026-08-06 06:58:38', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135936075822 -2.8265024721622)'), GeomFromEWKT('SRID=4674;POINT (-40.13593272306 -2.8265048190951)'))) / (select extract(epoch from '2026-08-06 06:58:38'::timestamp) - extract(epoch from '2026-08-06 06:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135936075822 -2.8265024721622)'), GeomFromEWKT('SRID=4674;POINT (-40.13593272306 -2.8265048190951)'))) / (select extract(epoch from '2026-08-06 06:58:38'::timestamp) - extract(epoch from '2026-08-06 06:58: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'), 48200, 'SRID=4674;POINT (-40.135923670605 -2.8265028912574)', '2026-08-06 06:58:52', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13593272306 -2.8265048190951)'), GeomFromEWKT('SRID=4674;POINT (-40.135923670605 -2.8265028912574)'))) / (select extract(epoch from '2026-08-06 06:58:52'::timestamp) - extract(epoch from '2026-08-06 06:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13593272306 -2.8265048190951)'), GeomFromEWKT('SRID=4674;POINT (-40.135923670605 -2.8265028912574)'))) / (select extract(epoch from '2026-08-06 06:58:52'::timestamp) - extract(epoch from '2026-08-06 06: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'), 48200, 'SRID=4674;POINT (-40.135924760252 -2.8264927491546)', '2026-08-06 07:00:07', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135923670605 -2.8265028912574)'), GeomFromEWKT('SRID=4674;POINT (-40.135924760252 -2.8264927491546)'))) / (select extract(epoch from '2026-08-06 07:00:07'::timestamp) - extract(epoch from '2026-08-06 06:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135923670605 -2.8265028912574)'), GeomFromEWKT('SRID=4674;POINT (-40.135924760252 -2.8264927491546)'))) / (select extract(epoch from '2026-08-06 07:00:07'::timestamp) - extract(epoch from '2026-08-06 06:58:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.135906487703 -2.8264757338911)', '2026-08-06 07:05:23', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135924760252 -2.8264927491546)'), GeomFromEWKT('SRID=4674;POINT (-40.135906487703 -2.8264757338911)'))) / (select extract(epoch from '2026-08-06 07:05:23'::timestamp) - extract(epoch from '2026-08-06 07:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135924760252 -2.8264927491546)'), GeomFromEWKT('SRID=4674;POINT (-40.135906487703 -2.8264757338911)'))) / (select extract(epoch from '2026-08-06 07:05:23'::timestamp) - extract(epoch from '2026-08-06 07: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'), 48200, 'SRID=4674;POINT (-40.135903721675 -2.8264371771365)', '2026-08-06 07:08:07', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135906487703 -2.8264757338911)'), GeomFromEWKT('SRID=4674;POINT (-40.135903721675 -2.8264371771365)'))) / (select extract(epoch from '2026-08-06 07:08:07'::timestamp) - extract(epoch from '2026-08-06 07:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135906487703 -2.8264757338911)'), GeomFromEWKT('SRID=4674;POINT (-40.135903721675 -2.8264371771365)'))) / (select extract(epoch from '2026-08-06 07:08:07'::timestamp) - extract(epoch from '2026-08-06 07: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'), 48200, 'SRID=4674;POINT (-40.135916378349 -2.8264004644006)', '2026-08-06 07:08:59', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135903721675 -2.8264371771365)'), GeomFromEWKT('SRID=4674;POINT (-40.135916378349 -2.8264004644006)'))) / (select extract(epoch from '2026-08-06 07:08:59'::timestamp) - extract(epoch from '2026-08-06 07:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135903721675 -2.8264371771365)'), GeomFromEWKT('SRID=4674;POINT (-40.135916378349 -2.8264004644006)'))) / (select extract(epoch from '2026-08-06 07:08:59'::timestamp) - extract(epoch from '2026-08-06 07:08: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'), 48200, 'SRID=4674;POINT (-40.135082295164 -2.8269955795258)', '2026-08-06 07:58:41', 21.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135916378349 -2.8264004644006)'), GeomFromEWKT('SRID=4674;POINT (-40.135082295164 -2.8269955795258)'))) / (select extract(epoch from '2026-08-06 07:58:41'::timestamp) - extract(epoch from '2026-08-06 07:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135916378349 -2.8264004644006)'), GeomFromEWKT('SRID=4674;POINT (-40.135082295164 -2.8269955795258)'))) / (select extract(epoch from '2026-08-06 07:58:41'::timestamp) - extract(epoch from '2026-08-06 07:08: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'), 48200, 'SRID=4674;POINT (-40.134874340147 -2.8271078970283)', '2026-08-06 07:58:49', 11.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135082295164 -2.8269955795258)'), GeomFromEWKT('SRID=4674;POINT (-40.134874340147 -2.8271078970283)'))) / (select extract(epoch from '2026-08-06 07:58:49'::timestamp) - extract(epoch from '2026-08-06 07:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135082295164 -2.8269955795258)'), GeomFromEWKT('SRID=4674;POINT (-40.134874340147 -2.8271078970283)'))) / (select extract(epoch from '2026-08-06 07:58:49'::timestamp) - extract(epoch from '2026-08-06 07:58: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'), 48200, 'SRID=4674;POINT (-40.134679796174 -2.8272743616253)', '2026-08-06 07:58:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134874340147 -2.8271078970283)'), GeomFromEWKT('SRID=4674;POINT (-40.134679796174 -2.8272743616253)'))) / (select extract(epoch from '2026-08-06 07:58:58'::timestamp) - extract(epoch from '2026-08-06 07:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134874340147 -2.8271078970283)'), GeomFromEWKT('SRID=4674;POINT (-40.134679796174 -2.8272743616253)'))) / (select extract(epoch from '2026-08-06 07:58:58'::timestamp) - extract(epoch from '2026-08-06 07:58: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'), 48200, 'SRID=4674;POINT (-40.134452981874 -2.8274457715452)', '2026-08-06 07:59:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134679796174 -2.8272743616253)'), GeomFromEWKT('SRID=4674;POINT (-40.134452981874 -2.8274457715452)'))) / (select extract(epoch from '2026-08-06 07:59:08'::timestamp) - extract(epoch from '2026-08-06 07:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134679796174 -2.8272743616253)'), GeomFromEWKT('SRID=4674;POINT (-40.134452981874 -2.8274457715452)'))) / (select extract(epoch from '2026-08-06 07:59:08'::timestamp) - extract(epoch from '2026-08-06 07:58: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'), 48200, 'SRID=4674;POINT (-40.134299425408 -2.8275713324547)', '2026-08-06 07:59:15', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134452981874 -2.8274457715452)'), GeomFromEWKT('SRID=4674;POINT (-40.134299425408 -2.8275713324547)'))) / (select extract(epoch from '2026-08-06 07:59:15'::timestamp) - extract(epoch from '2026-08-06 07:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134452981874 -2.8274457715452)'), GeomFromEWKT('SRID=4674;POINT (-40.134299425408 -2.8275713324547)'))) / (select extract(epoch from '2026-08-06 07:59:15'::timestamp) - extract(epoch from '2026-08-06 07:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.134112341329 -2.8278165869415)', '2026-08-06 07:59:26', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134299425408 -2.8275713324547)'), GeomFromEWKT('SRID=4674;POINT (-40.134112341329 -2.8278165869415)'))) / (select extract(epoch from '2026-08-06 07:59:26'::timestamp) - extract(epoch from '2026-08-06 07:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134299425408 -2.8275713324547)'), GeomFromEWKT('SRID=4674;POINT (-40.134112341329 -2.8278165869415)'))) / (select extract(epoch from '2026-08-06 07:59:26'::timestamp) - extract(epoch from '2026-08-06 07:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.134054590017 -2.8280052635819)', '2026-08-06 07:59:33', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134112341329 -2.8278165869415)'), GeomFromEWKT('SRID=4674;POINT (-40.134054590017 -2.8280052635819)'))) / (select extract(epoch from '2026-08-06 07:59:33'::timestamp) - extract(epoch from '2026-08-06 07:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134112341329 -2.8278165869415)'), GeomFromEWKT('SRID=4674;POINT (-40.134054590017 -2.8280052635819)'))) / (select extract(epoch from '2026-08-06 07:59:33'::timestamp) - extract(epoch from '2026-08-06 07: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'), 48200, 'SRID=4674;POINT (-40.133965238929 -2.8283943515271)', '2026-08-06 07:59:47', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134054590017 -2.8280052635819)'), GeomFromEWKT('SRID=4674;POINT (-40.133965238929 -2.8283943515271)'))) / (select extract(epoch from '2026-08-06 07:59:47'::timestamp) - extract(epoch from '2026-08-06 07:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134054590017 -2.8280052635819)'), GeomFromEWKT('SRID=4674;POINT (-40.133965238929 -2.8283943515271)'))) / (select extract(epoch from '2026-08-06 07:59:47'::timestamp) - extract(epoch from '2026-08-06 07:59: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'), 48200, 'SRID=4674;POINT (-40.133855268359 -2.8286553639919)', '2026-08-06 07:59:57', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133965238929 -2.8283943515271)'), GeomFromEWKT('SRID=4674;POINT (-40.133855268359 -2.8286553639919)'))) / (select extract(epoch from '2026-08-06 07:59:57'::timestamp) - extract(epoch from '2026-08-06 07:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133965238929 -2.8283943515271)'), GeomFromEWKT('SRID=4674;POINT (-40.133855268359 -2.8286553639919)'))) / (select extract(epoch from '2026-08-06 07:59:57'::timestamp) - extract(epoch from '2026-08-06 07:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.133724762127 -2.8288795799017)', '2026-08-06 08:00:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133855268359 -2.8286553639919)'), GeomFromEWKT('SRID=4674;POINT (-40.133724762127 -2.8288795799017)'))) / (select extract(epoch from '2026-08-06 08:00:06'::timestamp) - extract(epoch from '2026-08-06 07:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133855268359 -2.8286553639919)'), GeomFromEWKT('SRID=4674;POINT (-40.133724762127 -2.8288795799017)'))) / (select extract(epoch from '2026-08-06 08:00:06'::timestamp) - extract(epoch from '2026-08-06 07:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.133641529828 -2.8291224874556)', '2026-08-06 08:00:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133724762127 -2.8288795799017)'), GeomFromEWKT('SRID=4674;POINT (-40.133641529828 -2.8291224874556)'))) / (select extract(epoch from '2026-08-06 08:00:15'::timestamp) - extract(epoch from '2026-08-06 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133724762127 -2.8288795799017)'), GeomFromEWKT('SRID=4674;POINT (-40.133641529828 -2.8291224874556)'))) / (select extract(epoch from '2026-08-06 08:00:15'::timestamp) - extract(epoch from '2026-08-06 08:00: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'), 48200, 'SRID=4674;POINT (-40.133546730503 -2.8292829170823)', '2026-08-06 08:00:22', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133641529828 -2.8291224874556)'), GeomFromEWKT('SRID=4674;POINT (-40.133546730503 -2.8292829170823)'))) / (select extract(epoch from '2026-08-06 08:00:22'::timestamp) - extract(epoch from '2026-08-06 08:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133641529828 -2.8291224874556)'), GeomFromEWKT('SRID=4674;POINT (-40.133546730503 -2.8292829170823)'))) / (select extract(epoch from '2026-08-06 08:00:22'::timestamp) - extract(epoch from '2026-08-06 08:00: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'), 48200, 'SRID=4674;POINT (-40.133350593969 -2.8294978290796)', '2026-08-06 08:00:33', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133546730503 -2.8292829170823)'), GeomFromEWKT('SRID=4674;POINT (-40.133350593969 -2.8294978290796)'))) / (select extract(epoch from '2026-08-06 08:00:33'::timestamp) - extract(epoch from '2026-08-06 08:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133546730503 -2.8292829170823)'), GeomFromEWKT('SRID=4674;POINT (-40.133350593969 -2.8294978290796)'))) / (select extract(epoch from '2026-08-06 08:00:33'::timestamp) - extract(epoch from '2026-08-06 08:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.133261745796 -2.8296854998916)', '2026-08-06 08:00:41', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133350593969 -2.8294978290796)'), GeomFromEWKT('SRID=4674;POINT (-40.133261745796 -2.8296854998916)'))) / (select extract(epoch from '2026-08-06 08:00:41'::timestamp) - extract(epoch from '2026-08-06 08:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133350593969 -2.8294978290796)'), GeomFromEWKT('SRID=4674;POINT (-40.133261745796 -2.8296854998916)'))) / (select extract(epoch from '2026-08-06 08:00:41'::timestamp) - extract(epoch from '2026-08-06 08:00: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'), 48200, 'SRID=4674;POINT (-40.133094191551 -2.8300866577774)', '2026-08-06 08:00:58', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133261745796 -2.8296854998916)'), GeomFromEWKT('SRID=4674;POINT (-40.133094191551 -2.8300866577774)'))) / (select extract(epoch from '2026-08-06 08:00:58'::timestamp) - extract(epoch from '2026-08-06 08:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133261745796 -2.8296854998916)'), GeomFromEWKT('SRID=4674;POINT (-40.133094191551 -2.8300866577774)'))) / (select extract(epoch from '2026-08-06 08:00:58'::timestamp) - extract(epoch from '2026-08-06 08:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.132977096364 -2.8304305672646)', '2026-08-06 08:01:12', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133094191551 -2.8300866577774)'), GeomFromEWKT('SRID=4674;POINT (-40.132977096364 -2.8304305672646)'))) / (select extract(epoch from '2026-08-06 08:01:12'::timestamp) - extract(epoch from '2026-08-06 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133094191551 -2.8300866577774)'), GeomFromEWKT('SRID=4674;POINT (-40.132977096364 -2.8304305672646)'))) / (select extract(epoch from '2026-08-06 08:01:12'::timestamp) - extract(epoch from '2026-08-06 08:00: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'), 48200, 'SRID=4674;POINT (-40.132860420272 -2.8307512588799)', '2026-08-06 08:01:25', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132977096364 -2.8304305672646)'), GeomFromEWKT('SRID=4674;POINT (-40.132860420272 -2.8307512588799)'))) / (select extract(epoch from '2026-08-06 08:01:25'::timestamp) - extract(epoch from '2026-08-06 08:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132977096364 -2.8304305672646)'), GeomFromEWKT('SRID=4674;POINT (-40.132860420272 -2.8307512588799)'))) / (select extract(epoch from '2026-08-06 08:01:25'::timestamp) - extract(epoch from '2026-08-06 08:01: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'), 48200, 'SRID=4674;POINT (-40.132746761665 -2.831108244136)', '2026-08-06 08:01:39', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132860420272 -2.8307512588799)'), GeomFromEWKT('SRID=4674;POINT (-40.132746761665 -2.831108244136)'))) / (select extract(epoch from '2026-08-06 08:01:39'::timestamp) - extract(epoch from '2026-08-06 08:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132860420272 -2.8307512588799)'), GeomFromEWKT('SRID=4674;POINT (-40.132746761665 -2.831108244136)'))) / (select extract(epoch from '2026-08-06 08:01:39'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.132613070309 -2.8313977550715)', '2026-08-06 08:01:51', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132746761665 -2.831108244136)'), GeomFromEWKT('SRID=4674;POINT (-40.132613070309 -2.8313977550715)'))) / (select extract(epoch from '2026-08-06 08:01:51'::timestamp) - extract(epoch from '2026-08-06 08:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132746761665 -2.831108244136)'), GeomFromEWKT('SRID=4674;POINT (-40.132613070309 -2.8313977550715)'))) / (select extract(epoch from '2026-08-06 08:01:51'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.13250569813 -2.8316486254334)', '2026-08-06 08:02:01', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132613070309 -2.8313977550715)'), GeomFromEWKT('SRID=4674;POINT (-40.13250569813 -2.8316486254334)'))) / (select extract(epoch from '2026-08-06 08:02:01'::timestamp) - extract(epoch from '2026-08-06 08:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132613070309 -2.8313977550715)'), GeomFromEWKT('SRID=4674;POINT (-40.13250569813 -2.8316486254334)'))) / (select extract(epoch from '2026-08-06 08:02:01'::timestamp) - extract(epoch from '2026-08-06 08:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.132428416982 -2.8319345321506)', '2026-08-06 08:02:12', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13250569813 -2.8316486254334)'), GeomFromEWKT('SRID=4674;POINT (-40.132428416982 -2.8319345321506)'))) / (select extract(epoch from '2026-08-06 08:02:12'::timestamp) - extract(epoch from '2026-08-06 08:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13250569813 -2.8316486254334)'), GeomFromEWKT('SRID=4674;POINT (-40.132428416982 -2.8319345321506)'))) / (select extract(epoch from '2026-08-06 08:02:12'::timestamp) - extract(epoch from '2026-08-06 08:02: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'), 48200, 'SRID=4674;POINT (-40.132330181077 -2.8321245498955)', '2026-08-06 08:02:20', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132428416982 -2.8319345321506)'), GeomFromEWKT('SRID=4674;POINT (-40.132330181077 -2.8321245498955)'))) / (select extract(epoch from '2026-08-06 08:02:20'::timestamp) - extract(epoch from '2026-08-06 08:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132428416982 -2.8319345321506)'), GeomFromEWKT('SRID=4674;POINT (-40.132330181077 -2.8321245498955)'))) / (select extract(epoch from '2026-08-06 08:02:20'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.132180983201 -2.8323830477893)', '2026-08-06 08:02:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132330181077 -2.8321245498955)'), GeomFromEWKT('SRID=4674;POINT (-40.132180983201 -2.8323830477893)'))) / (select extract(epoch from '2026-08-06 08:02:31'::timestamp) - extract(epoch from '2026-08-06 08:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132330181077 -2.8321245498955)'), GeomFromEWKT('SRID=4674;POINT (-40.132180983201 -2.8323830477893)'))) / (select extract(epoch from '2026-08-06 08:02:31'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.132002364844 -2.8326920885593)', '2026-08-06 08:02:44', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132180983201 -2.8323830477893)'), GeomFromEWKT('SRID=4674;POINT (-40.132002364844 -2.8326920885593)'))) / (select extract(epoch from '2026-08-06 08:02:44'::timestamp) - extract(epoch from '2026-08-06 08:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132180983201 -2.8323830477893)'), GeomFromEWKT('SRID=4674;POINT (-40.132002364844 -2.8326920885593)'))) / (select extract(epoch from '2026-08-06 08:02:44'::timestamp) - extract(epoch from '2026-08-06 08:02: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'), 48200, 'SRID=4674;POINT (-40.131895076483 -2.8329253569245)', '2026-08-06 08:02:54', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132002364844 -2.8326920885593)'), GeomFromEWKT('SRID=4674;POINT (-40.131895076483 -2.8329253569245)'))) / (select extract(epoch from '2026-08-06 08:02:54'::timestamp) - extract(epoch from '2026-08-06 08:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132002364844 -2.8326920885593)'), GeomFromEWKT('SRID=4674;POINT (-40.131895076483 -2.8329253569245)'))) / (select extract(epoch from '2026-08-06 08:02:54'::timestamp) - extract(epoch from '2026-08-06 08:02: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'), 48200, 'SRID=4674;POINT (-40.131756439805 -2.8332528378814)', '2026-08-06 08:03:07', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131895076483 -2.8329253569245)'), GeomFromEWKT('SRID=4674;POINT (-40.131756439805 -2.8332528378814)'))) / (select extract(epoch from '2026-08-06 08:03:07'::timestamp) - extract(epoch from '2026-08-06 08:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131895076483 -2.8329253569245)'), GeomFromEWKT('SRID=4674;POINT (-40.131756439805 -2.8332528378814)'))) / (select extract(epoch from '2026-08-06 08:03:07'::timestamp) - extract(epoch from '2026-08-06 08:02: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'), 48200, 'SRID=4674;POINT (-40.131629453972 -2.8335256688297)', '2026-08-06 08:03:18', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131756439805 -2.8332528378814)'), GeomFromEWKT('SRID=4674;POINT (-40.131629453972 -2.8335256688297)'))) / (select extract(epoch from '2026-08-06 08:03:18'::timestamp) - extract(epoch from '2026-08-06 08:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131756439805 -2.8332528378814)'), GeomFromEWKT('SRID=4674;POINT (-40.131629453972 -2.8335256688297)'))) / (select extract(epoch from '2026-08-06 08:03:18'::timestamp) - extract(epoch from '2026-08-06 08:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.131491823122 -2.8338159341365)', '2026-08-06 08:03:30', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131629453972 -2.8335256688297)'), GeomFromEWKT('SRID=4674;POINT (-40.131491823122 -2.8338159341365)'))) / (select extract(epoch from '2026-08-06 08:03:30'::timestamp) - extract(epoch from '2026-08-06 08:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131629453972 -2.8335256688297)'), GeomFromEWKT('SRID=4674;POINT (-40.131491823122 -2.8338159341365)'))) / (select extract(epoch from '2026-08-06 08:03:30'::timestamp) - extract(epoch from '2026-08-06 08:03: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'), 48200, 'SRID=4674;POINT (-40.131359053776 -2.8341090492904)', '2026-08-06 08:03:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131491823122 -2.8338159341365)'), GeomFromEWKT('SRID=4674;POINT (-40.131359053776 -2.8341090492904)'))) / (select extract(epoch from '2026-08-06 08:03:42'::timestamp) - extract(epoch from '2026-08-06 08:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131491823122 -2.8338159341365)'), GeomFromEWKT('SRID=4674;POINT (-40.131359053776 -2.8341090492904)'))) / (select extract(epoch from '2026-08-06 08:03:42'::timestamp) - extract(epoch from '2026-08-06 08:03: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'), 48200, 'SRID=4674;POINT (-40.131216645241 -2.8344359435141)', '2026-08-06 08:03:55', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131359053776 -2.8341090492904)'), GeomFromEWKT('SRID=4674;POINT (-40.131216645241 -2.8344359435141)'))) / (select extract(epoch from '2026-08-06 08:03:55'::timestamp) - extract(epoch from '2026-08-06 08:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131359053776 -2.8341090492904)'), GeomFromEWKT('SRID=4674;POINT (-40.131216645241 -2.8344359435141)'))) / (select extract(epoch from '2026-08-06 08:03:55'::timestamp) - extract(epoch from '2026-08-06 08:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.131083037704 -2.8347936831415)', '2026-08-06 08:04:09', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131216645241 -2.8344359435141)'), GeomFromEWKT('SRID=4674;POINT (-40.131083037704 -2.8347936831415)'))) / (select extract(epoch from '2026-08-06 08:04:09'::timestamp) - extract(epoch from '2026-08-06 08:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131216645241 -2.8344359435141)'), GeomFromEWKT('SRID=4674;POINT (-40.131083037704 -2.8347936831415)'))) / (select extract(epoch from '2026-08-06 08:04:09'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.130932079628 -2.8351826872677)', '2026-08-06 08:04:24', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131083037704 -2.8347936831415)'), GeomFromEWKT('SRID=4674;POINT (-40.130932079628 -2.8351826872677)'))) / (select extract(epoch from '2026-08-06 08:04:24'::timestamp) - extract(epoch from '2026-08-06 08:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131083037704 -2.8347936831415)'), GeomFromEWKT('SRID=4674;POINT (-40.130932079628 -2.8351826872677)'))) / (select extract(epoch from '2026-08-06 08:04:24'::timestamp) - extract(epoch from '2026-08-06 08:04: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'), 48200, 'SRID=4674;POINT (-40.130830490962 -2.8354657441378)', '2026-08-06 08:04:35', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130932079628 -2.8351826872677)'), GeomFromEWKT('SRID=4674;POINT (-40.130830490962 -2.8354657441378)'))) / (select extract(epoch from '2026-08-06 08:04:35'::timestamp) - extract(epoch from '2026-08-06 08:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130932079628 -2.8351826872677)'), GeomFromEWKT('SRID=4674;POINT (-40.130830490962 -2.8354657441378)'))) / (select extract(epoch from '2026-08-06 08:04:35'::timestamp) - extract(epoch from '2026-08-06 08:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.130724962801 -2.8357748687267)', '2026-08-06 08:04:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130830490962 -2.8354657441378)'), GeomFromEWKT('SRID=4674;POINT (-40.130724962801 -2.8357748687267)'))) / (select extract(epoch from '2026-08-06 08:04:47'::timestamp) - extract(epoch from '2026-08-06 08:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130830490962 -2.8354657441378)'), GeomFromEWKT('SRID=4674;POINT (-40.130724962801 -2.8357748687267)'))) / (select extract(epoch from '2026-08-06 08:04:47'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.130592864007 -2.836100673303)', '2026-08-06 08:05:00', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130724962801 -2.8357748687267)'), GeomFromEWKT('SRID=4674;POINT (-40.130592864007 -2.836100673303)'))) / (select extract(epoch from '2026-08-06 08:05:00'::timestamp) - extract(epoch from '2026-08-06 08:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130724962801 -2.8357748687267)'), GeomFromEWKT('SRID=4674;POINT (-40.130592864007 -2.836100673303)'))) / (select extract(epoch from '2026-08-06 08:05:00'::timestamp) - extract(epoch from '2026-08-06 08:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.13049127534 -2.8364410623908)', '2026-08-06 08:05:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130592864007 -2.836100673303)'), GeomFromEWKT('SRID=4674;POINT (-40.13049127534 -2.8364410623908)'))) / (select extract(epoch from '2026-08-06 08:05:13'::timestamp) - extract(epoch from '2026-08-06 08:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130592864007 -2.836100673303)'), GeomFromEWKT('SRID=4674;POINT (-40.13049127534 -2.8364410623908)'))) / (select extract(epoch from '2026-08-06 08:05:13'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.130418688059 -2.8367601614445)', '2026-08-06 08:05:25', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13049127534 -2.8364410623908)'), GeomFromEWKT('SRID=4674;POINT (-40.130418688059 -2.8367601614445)'))) / (select extract(epoch from '2026-08-06 08:05:25'::timestamp) - extract(epoch from '2026-08-06 08:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13049127534 -2.8364410623908)'), GeomFromEWKT('SRID=4674;POINT (-40.130418688059 -2.8367601614445)'))) / (select extract(epoch from '2026-08-06 08:05:25'::timestamp) - extract(epoch from '2026-08-06 08:05: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'), 48200, 'SRID=4674;POINT (-40.130352219567 -2.837136676535)', '2026-08-06 08:05:39', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130418688059 -2.8367601614445)'), GeomFromEWKT('SRID=4674;POINT (-40.130352219567 -2.837136676535)'))) / (select extract(epoch from '2026-08-06 08:05:39'::timestamp) - extract(epoch from '2026-08-06 08:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130418688059 -2.8367601614445)'), GeomFromEWKT('SRID=4674;POINT (-40.130352219567 -2.837136676535)'))) / (select extract(epoch from '2026-08-06 08:05:39'::timestamp) - extract(epoch from '2026-08-06 08:05: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'), 48200, 'SRID=4674;POINT (-40.130313159898 -2.8375430312008)', '2026-08-06 08:05:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130352219567 -2.837136676535)'), GeomFromEWKT('SRID=4674;POINT (-40.130313159898 -2.8375430312008)'))) / (select extract(epoch from '2026-08-06 08:05:54'::timestamp) - extract(epoch from '2026-08-06 08:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130352219567 -2.837136676535)'), GeomFromEWKT('SRID=4674;POINT (-40.130313159898 -2.8375430312008)'))) / (select extract(epoch from '2026-08-06 08:05:54'::timestamp) - extract(epoch from '2026-08-06 08:05: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'), 48200, 'SRID=4674;POINT (-40.13026622124 -2.8379729390144)', '2026-08-06 08:06:10', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130313159898 -2.8375430312008)'), GeomFromEWKT('SRID=4674;POINT (-40.13026622124 -2.8379729390144)'))) / (select extract(epoch from '2026-08-06 08:06:10'::timestamp) - extract(epoch from '2026-08-06 08:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130313159898 -2.8375430312008)'), GeomFromEWKT('SRID=4674;POINT (-40.13026622124 -2.8379729390144)'))) / (select extract(epoch from '2026-08-06 08:06:10'::timestamp) - extract(epoch from '2026-08-06 08:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.130246859044 -2.838397230953)', '2026-08-06 08:06:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13026622124 -2.8379729390144)'), GeomFromEWKT('SRID=4674;POINT (-40.130246859044 -2.838397230953)'))) / (select extract(epoch from '2026-08-06 08:06:26'::timestamp) - extract(epoch from '2026-08-06 08:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13026622124 -2.8379729390144)'), GeomFromEWKT('SRID=4674;POINT (-40.130246859044 -2.838397230953)'))) / (select extract(epoch from '2026-08-06 08:06:26'::timestamp) - extract(epoch from '2026-08-06 08:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.130200590938 -2.8388100396842)', '2026-08-06 08:06:42', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130246859044 -2.838397230953)'), GeomFromEWKT('SRID=4674;POINT (-40.130200590938 -2.8388100396842)'))) / (select extract(epoch from '2026-08-06 08:06:42'::timestamp) - extract(epoch from '2026-08-06 08:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130246859044 -2.838397230953)'), GeomFromEWKT('SRID=4674;POINT (-40.130200590938 -2.8388100396842)'))) / (select extract(epoch from '2026-08-06 08:06:42'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.130149293691 -2.8391639236361)', '2026-08-06 08:06:56', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130200590938 -2.8388100396842)'), GeomFromEWKT('SRID=4674;POINT (-40.130149293691 -2.8391639236361)'))) / (select extract(epoch from '2026-08-06 08:06:56'::timestamp) - extract(epoch from '2026-08-06 08:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130200590938 -2.8388100396842)'), GeomFromEWKT('SRID=4674;POINT (-40.130149293691 -2.8391639236361)'))) / (select extract(epoch from '2026-08-06 08:06:56'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.130072934553 -2.8394837770611)', '2026-08-06 08:07:09', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130149293691 -2.8391639236361)'), GeomFromEWKT('SRID=4674;POINT (-40.130072934553 -2.8394837770611)'))) / (select extract(epoch from '2026-08-06 08:07:09'::timestamp) - extract(epoch from '2026-08-06 08:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130149293691 -2.8391639236361)'), GeomFromEWKT('SRID=4674;POINT (-40.130072934553 -2.8394837770611)'))) / (select extract(epoch from '2026-08-06 08:07:09'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.130031444132 -2.8397828433663)', '2026-08-06 08:07:21', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130072934553 -2.8394837770611)'), GeomFromEWKT('SRID=4674;POINT (-40.130031444132 -2.8397828433663)'))) / (select extract(epoch from '2026-08-06 08:07:21'::timestamp) - extract(epoch from '2026-08-06 08:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130072934553 -2.8394837770611)'), GeomFromEWKT('SRID=4674;POINT (-40.130031444132 -2.8397828433663)'))) / (select extract(epoch from '2026-08-06 08:07:21'::timestamp) - extract(epoch from '2026-08-06 08:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.129957096651 -2.8401103243232)', '2026-08-06 08:07:34', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130031444132 -2.8397828433663)'), GeomFromEWKT('SRID=4674;POINT (-40.129957096651 -2.8401103243232)'))) / (select extract(epoch from '2026-08-06 08:07:34'::timestamp) - extract(epoch from '2026-08-06 08:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130031444132 -2.8397828433663)'), GeomFromEWKT('SRID=4674;POINT (-40.129957096651 -2.8401103243232)'))) / (select extract(epoch from '2026-08-06 08:07:34'::timestamp) - extract(epoch from '2026-08-06 08:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.129867242649 -2.8405079618096)', '2026-08-06 08:07:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129957096651 -2.8401103243232)'), GeomFromEWKT('SRID=4674;POINT (-40.129867242649 -2.8405079618096)'))) / (select extract(epoch from '2026-08-06 08:07:50'::timestamp) - extract(epoch from '2026-08-06 08:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129957096651 -2.8401103243232)'), GeomFromEWKT('SRID=4674;POINT (-40.129867242649 -2.8405079618096)'))) / (select extract(epoch from '2026-08-06 08:07:50'::timestamp) - extract(epoch from '2026-08-06 08:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.12981007807 -2.8408306650817)', '2026-08-06 08:08:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129867242649 -2.8405079618096)'), GeomFromEWKT('SRID=4674;POINT (-40.12981007807 -2.8408306650817)'))) / (select extract(epoch from '2026-08-06 08:08:03'::timestamp) - extract(epoch from '2026-08-06 08:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129867242649 -2.8405079618096)'), GeomFromEWKT('SRID=4674;POINT (-40.12981007807 -2.8408306650817)'))) / (select extract(epoch from '2026-08-06 08:08:03'::timestamp) - extract(epoch from '2026-08-06 08:07: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'), 48200, 'SRID=4674;POINT (-40.129699772224 -2.8411073517054)', '2026-08-06 08:08:15', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12981007807 -2.8408306650817)'), GeomFromEWKT('SRID=4674;POINT (-40.129699772224 -2.8411073517054)'))) / (select extract(epoch from '2026-08-06 08:08:15'::timestamp) - extract(epoch from '2026-08-06 08:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12981007807 -2.8408306650817)'), GeomFromEWKT('SRID=4674;POINT (-40.129699772224 -2.8411073517054)'))) / (select extract(epoch from '2026-08-06 08:08:15'::timestamp) - extract(epoch from '2026-08-06 08:08: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'), 48200, 'SRID=4674;POINT (-40.129537666216 -2.841418068856)', '2026-08-06 08:08:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129699772224 -2.8411073517054)'), GeomFromEWKT('SRID=4674;POINT (-40.129537666216 -2.841418068856)'))) / (select extract(epoch from '2026-08-06 08:08:29'::timestamp) - extract(epoch from '2026-08-06 08:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129699772224 -2.8411073517054)'), GeomFromEWKT('SRID=4674;POINT (-40.129537666216 -2.841418068856)'))) / (select extract(epoch from '2026-08-06 08:08:29'::timestamp) - extract(epoch from '2026-08-06 08:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.129368854687 -2.8417840227485)', '2026-08-06 08:08:45', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129537666216 -2.841418068856)'), GeomFromEWKT('SRID=4674;POINT (-40.129368854687 -2.8417840227485)'))) / (select extract(epoch from '2026-08-06 08:08:45'::timestamp) - extract(epoch from '2026-08-06 08:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129537666216 -2.841418068856)'), GeomFromEWKT('SRID=4674;POINT (-40.129368854687 -2.8417840227485)'))) / (select extract(epoch from '2026-08-06 08:08:45'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.129221081734 -2.8420539200306)', '2026-08-06 08:08:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129368854687 -2.8417840227485)'), GeomFromEWKT('SRID=4674;POINT (-40.129221081734 -2.8420539200306)'))) / (select extract(epoch from '2026-08-06 08:08:57'::timestamp) - extract(epoch from '2026-08-06 08:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129368854687 -2.8417840227485)'), GeomFromEWKT('SRID=4674;POINT (-40.129221081734 -2.8420539200306)'))) / (select extract(epoch from '2026-08-06 08:08:57'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.12903265655 -2.842385424301)', '2026-08-06 08:09:12', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129221081734 -2.8420539200306)'), GeomFromEWKT('SRID=4674;POINT (-40.12903265655 -2.842385424301)'))) / (select extract(epoch from '2026-08-06 08:09:12'::timestamp) - extract(epoch from '2026-08-06 08:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129221081734 -2.8420539200306)'), GeomFromEWKT('SRID=4674;POINT (-40.12903265655 -2.842385424301)'))) / (select extract(epoch from '2026-08-06 08:09:12'::timestamp) - extract(epoch from '2026-08-06 08:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.128861581907 -2.8427329380065)', '2026-08-06 08:09:27', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12903265655 -2.842385424301)'), GeomFromEWKT('SRID=4674;POINT (-40.128861581907 -2.8427329380065)'))) / (select extract(epoch from '2026-08-06 08:09:27'::timestamp) - extract(epoch from '2026-08-06 08:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12903265655 -2.842385424301)'), GeomFromEWKT('SRID=4674;POINT (-40.128861581907 -2.8427329380065)'))) / (select extract(epoch from '2026-08-06 08:09:27'::timestamp) - extract(epoch from '2026-08-06 08:09: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'), 48200, 'SRID=4674;POINT (-40.128720430657 -2.8430298250169)', '2026-08-06 08:09:40', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128861581907 -2.8427329380065)'), GeomFromEWKT('SRID=4674;POINT (-40.128720430657 -2.8430298250169)'))) / (select extract(epoch from '2026-08-06 08:09:40'::timestamp) - extract(epoch from '2026-08-06 08:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128861581907 -2.8427329380065)'), GeomFromEWKT('SRID=4674;POINT (-40.128720430657 -2.8430298250169)'))) / (select extract(epoch from '2026-08-06 08:09:40'::timestamp) - extract(epoch from '2026-08-06 08:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.128557654098 -2.8433477506042)', '2026-08-06 08:09:54', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128720430657 -2.8430298250169)'), GeomFromEWKT('SRID=4674;POINT (-40.128557654098 -2.8433477506042)'))) / (select extract(epoch from '2026-08-06 08:09:54'::timestamp) - extract(epoch from '2026-08-06 08:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128720430657 -2.8430298250169)'), GeomFromEWKT('SRID=4674;POINT (-40.128557654098 -2.8433477506042)'))) / (select extract(epoch from '2026-08-06 08:09:54'::timestamp) - extract(epoch from '2026-08-06 08:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.128364535049 -2.8437373414636)', '2026-08-06 08:10:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128557654098 -2.8433477506042)'), GeomFromEWKT('SRID=4674;POINT (-40.128364535049 -2.8437373414636)'))) / (select extract(epoch from '2026-08-06 08:10:11'::timestamp) - extract(epoch from '2026-08-06 08:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128557654098 -2.8433477506042)'), GeomFromEWKT('SRID=4674;POINT (-40.128364535049 -2.8437373414636)'))) / (select extract(epoch from '2026-08-06 08:10:11'::timestamp) - extract(epoch from '2026-08-06 08:09: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'), 48200, 'SRID=4674;POINT (-40.128251546994 -2.8439866192639)', '2026-08-06 08:10:22', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128364535049 -2.8437373414636)'), GeomFromEWKT('SRID=4674;POINT (-40.128251546994 -2.8439866192639)'))) / (select extract(epoch from '2026-08-06 08:10:22'::timestamp) - extract(epoch from '2026-08-06 08:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128364535049 -2.8437373414636)'), GeomFromEWKT('SRID=4674;POINT (-40.128251546994 -2.8439866192639)'))) / (select extract(epoch from '2026-08-06 08:10:22'::timestamp) - extract(epoch from '2026-08-06 08:10: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'), 48200, 'SRID=4674;POINT (-40.128137972206 -2.844216870144)', '2026-08-06 08:10:32', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128251546994 -2.8439866192639)'), GeomFromEWKT('SRID=4674;POINT (-40.128137972206 -2.844216870144)'))) / (select extract(epoch from '2026-08-06 08:10:32'::timestamp) - extract(epoch from '2026-08-06 08:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128251546994 -2.8439866192639)'), GeomFromEWKT('SRID=4674;POINT (-40.128137972206 -2.844216870144)'))) / (select extract(epoch from '2026-08-06 08:10:32'::timestamp) - extract(epoch from '2026-08-06 08:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.127996234223 -2.8444670699537)', '2026-08-06 08:10:43', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128137972206 -2.844216870144)'), GeomFromEWKT('SRID=4674;POINT (-40.127996234223 -2.8444670699537)'))) / (select extract(epoch from '2026-08-06 08:10:43'::timestamp) - extract(epoch from '2026-08-06 08:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128137972206 -2.844216870144)'), GeomFromEWKT('SRID=4674;POINT (-40.127996234223 -2.8444670699537)'))) / (select extract(epoch from '2026-08-06 08:10:43'::timestamp) - extract(epoch from '2026-08-06 08:10: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'), 48200, 'SRID=4674;POINT (-40.127770844847 -2.8448056988418)', '2026-08-06 08:10:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127996234223 -2.8444670699537)'), GeomFromEWKT('SRID=4674;POINT (-40.127770844847 -2.8448056988418)'))) / (select extract(epoch from '2026-08-06 08:10:59'::timestamp) - extract(epoch from '2026-08-06 08:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127996234223 -2.8444670699537)'), GeomFromEWKT('SRID=4674;POINT (-40.127770844847 -2.8448056988418)'))) / (select extract(epoch from '2026-08-06 08:10:59'::timestamp) - extract(epoch from '2026-08-06 08:10: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'), 48200, 'SRID=4674;POINT (-40.127614689991 -2.8450633585453)', '2026-08-06 08:11:11', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127770844847 -2.8448056988418)'), GeomFromEWKT('SRID=4674;POINT (-40.127614689991 -2.8450633585453)'))) / (select extract(epoch from '2026-08-06 08:11:11'::timestamp) - extract(epoch from '2026-08-06 08:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127770844847 -2.8448056988418)'), GeomFromEWKT('SRID=4674;POINT (-40.127614689991 -2.8450633585453)'))) / (select extract(epoch from '2026-08-06 08:11:11'::timestamp) - extract(epoch from '2026-08-06 08:10: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'), 48200, 'SRID=4674;POINT (-40.127446549013 -2.8452811203897)', '2026-08-06 08:11:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127614689991 -2.8450633585453)'), GeomFromEWKT('SRID=4674;POINT (-40.127446549013 -2.8452811203897)'))) / (select extract(epoch from '2026-08-06 08:11:22'::timestamp) - extract(epoch from '2026-08-06 08:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127614689991 -2.8450633585453)'), GeomFromEWKT('SRID=4674;POINT (-40.127446549013 -2.8452811203897)'))) / (select extract(epoch from '2026-08-06 08:11:22'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.12726072222 -2.8455238603055)', '2026-08-06 08:11:34', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127446549013 -2.8452811203897)'), GeomFromEWKT('SRID=4674;POINT (-40.12726072222 -2.8455238603055)'))) / (select extract(epoch from '2026-08-06 08:11:34'::timestamp) - extract(epoch from '2026-08-06 08:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127446549013 -2.8452811203897)'), GeomFromEWKT('SRID=4674;POINT (-40.12726072222 -2.8455238603055)'))) / (select extract(epoch from '2026-08-06 08:11:34'::timestamp) - extract(epoch from '2026-08-06 08:11: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'), 48200, 'SRID=4674;POINT (-40.127155194059 -2.8457817714661)', '2026-08-06 08:11:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12726072222 -2.8455238603055)'), GeomFromEWKT('SRID=4674;POINT (-40.127155194059 -2.8457817714661)'))) / (select extract(epoch from '2026-08-06 08:11:45'::timestamp) - extract(epoch from '2026-08-06 08:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12726072222 -2.8455238603055)'), GeomFromEWKT('SRID=4674;POINT (-40.127155194059 -2.8457817714661)'))) / (select extract(epoch from '2026-08-06 08:11:45'::timestamp) - extract(epoch from '2026-08-06 08:11: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'), 48200, 'SRID=4674;POINT (-40.127081684768 -2.8461233340204)', '2026-08-06 08:11:59', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127155194059 -2.8457817714661)'), GeomFromEWKT('SRID=4674;POINT (-40.127081684768 -2.8461233340204)'))) / (select extract(epoch from '2026-08-06 08:11:59'::timestamp) - extract(epoch from '2026-08-06 08:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127155194059 -2.8457817714661)'), GeomFromEWKT('SRID=4674;POINT (-40.127081684768 -2.8461233340204)'))) / (select extract(epoch from '2026-08-06 08:11:59'::timestamp) - extract(epoch from '2026-08-06 08:11: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'), 48200, 'SRID=4674;POINT (-40.127032399178 -2.8463943209499)', '2026-08-06 08:12:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127081684768 -2.8461233340204)'), GeomFromEWKT('SRID=4674;POINT (-40.127032399178 -2.8463943209499)'))) / (select extract(epoch from '2026-08-06 08:12:10'::timestamp) - extract(epoch from '2026-08-06 08:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127081684768 -2.8461233340204)'), GeomFromEWKT('SRID=4674;POINT (-40.127032399178 -2.8463943209499)'))) / (select extract(epoch from '2026-08-06 08:12:10'::timestamp) - extract(epoch from '2026-08-06 08:11: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'), 48200, 'SRID=4674;POINT (-40.126990154386 -2.8465913794935)', '2026-08-06 08:12:18', 0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127032399178 -2.8463943209499)'), GeomFromEWKT('SRID=4674;POINT (-40.126990154386 -2.8465913794935)'))) / (select extract(epoch from '2026-08-06 08:12:18'::timestamp) - extract(epoch from '2026-08-06 08:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127032399178 -2.8463943209499)'), GeomFromEWKT('SRID=4674;POINT (-40.126990154386 -2.8465913794935)'))) / (select extract(epoch from '2026-08-06 08:12:18'::timestamp) - extract(epoch from '2026-08-06 08:12: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'), 48200, 'SRID=4674;POINT (-40.126977832988 -2.8468568343669)', '2026-08-06 08:12:29', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126990154386 -2.8465913794935)'), GeomFromEWKT('SRID=4674;POINT (-40.126977832988 -2.8468568343669)'))) / (select extract(epoch from '2026-08-06 08:12:29'::timestamp) - extract(epoch from '2026-08-06 08:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126990154386 -2.8465913794935)'), GeomFromEWKT('SRID=4674;POINT (-40.126977832988 -2.8468568343669)'))) / (select extract(epoch from '2026-08-06 08:12:29'::timestamp) - extract(epoch from '2026-08-06 08:12: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'), 48200, 'SRID=4674;POINT (-40.126931061968 -2.8471368737519)', '2026-08-06 08:12:41', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126977832988 -2.8468568343669)'), GeomFromEWKT('SRID=4674;POINT (-40.126931061968 -2.8471368737519)'))) / (select extract(epoch from '2026-08-06 08:12:41'::timestamp) - extract(epoch from '2026-08-06 08:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126977832988 -2.8468568343669)'), GeomFromEWKT('SRID=4674;POINT (-40.126931061968 -2.8471368737519)'))) / (select extract(epoch from '2026-08-06 08:12:41'::timestamp) - extract(epoch from '2026-08-06 08:12: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'), 48200, 'SRID=4674;POINT (-40.126882698387 -2.8473850619048)', '2026-08-06 08:12:51', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126931061968 -2.8471368737519)'), GeomFromEWKT('SRID=4674;POINT (-40.126882698387 -2.8473850619048)'))) / (select extract(epoch from '2026-08-06 08:12:51'::timestamp) - extract(epoch from '2026-08-06 08:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126931061968 -2.8471368737519)'), GeomFromEWKT('SRID=4674;POINT (-40.126882698387 -2.8473850619048)'))) / (select extract(epoch from '2026-08-06 08:12:51'::timestamp) - extract(epoch from '2026-08-06 08:12:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.126788737252 -2.8476408775896)', '2026-08-06 08:13:02', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126882698387 -2.8473850619048)'), GeomFromEWKT('SRID=4674;POINT (-40.126788737252 -2.8476408775896)'))) / (select extract(epoch from '2026-08-06 08:13:02'::timestamp) - extract(epoch from '2026-08-06 08:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126882698387 -2.8473850619048)'), GeomFromEWKT('SRID=4674;POINT (-40.126788737252 -2.8476408775896)'))) / (select extract(epoch from '2026-08-06 08:13:02'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.126718329266 -2.8479242697358)', '2026-08-06 08:13:14', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126788737252 -2.8476408775896)'), GeomFromEWKT('SRID=4674;POINT (-40.126718329266 -2.8479242697358)'))) / (select extract(epoch from '2026-08-06 08:13:14'::timestamp) - extract(epoch from '2026-08-06 08:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126788737252 -2.8476408775896)'), GeomFromEWKT('SRID=4674;POINT (-40.126718329266 -2.8479242697358)'))) / (select extract(epoch from '2026-08-06 08:13:14'::timestamp) - extract(epoch from '2026-08-06 08:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.126712881029 -2.8481665905565)', '2026-08-06 08:13:24', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126718329266 -2.8479242697358)'), GeomFromEWKT('SRID=4674;POINT (-40.126712881029 -2.8481665905565)'))) / (select extract(epoch from '2026-08-06 08:13:24'::timestamp) - extract(epoch from '2026-08-06 08:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126718329266 -2.8479242697358)'), GeomFromEWKT('SRID=4674;POINT (-40.126712881029 -2.8481665905565)'))) / (select extract(epoch from '2026-08-06 08:13:24'::timestamp) - extract(epoch from '2026-08-06 08:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.126724364236 -2.8483962547034)', '2026-08-06 08:13:34', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126712881029 -2.8481665905565)'), GeomFromEWKT('SRID=4674;POINT (-40.126724364236 -2.8483962547034)'))) / (select extract(epoch from '2026-08-06 08:13:34'::timestamp) - extract(epoch from '2026-08-06 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126712881029 -2.8481665905565)'), GeomFromEWKT('SRID=4674;POINT (-40.126724364236 -2.8483962547034)'))) / (select extract(epoch from '2026-08-06 08:13:34'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.126799969003 -2.8486121725291)', '2026-08-06 08:13:44', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126724364236 -2.8483962547034)'), GeomFromEWKT('SRID=4674;POINT (-40.126799969003 -2.8486121725291)'))) / (select extract(epoch from '2026-08-06 08:13:44'::timestamp) - extract(epoch from '2026-08-06 08:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126724364236 -2.8483962547034)'), GeomFromEWKT('SRID=4674;POINT (-40.126799969003 -2.8486121725291)'))) / (select extract(epoch from '2026-08-06 08:13:44'::timestamp) - extract(epoch from '2026-08-06 08:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48200, 'SRID=4674;POINT (-40.126922428608 -2.8488685749471)', '2026-08-06 08:13:58', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126799969003 -2.8486121725291)'), GeomFromEWKT('SRID=4674;POINT (-40.126922428608 -2.8488685749471)'))) / (select extract(epoch from '2026-08-06 08:13:58'::timestamp) - extract(epoch from '2026-08-06 08:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126799969003 -2.8486121725291)'), GeomFromEWKT('SRID=4674;POINT (-40.126922428608 -2.8488685749471)'))) / (select extract(epoch from '2026-08-06 08:13:58'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.127083361149 -2.8490296751261)', '2026-08-06 08:14:09', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126922428608 -2.8488685749471)'), GeomFromEWKT('SRID=4674;POINT (-40.127083361149 -2.8490296751261)'))) / (select extract(epoch from '2026-08-06 08:14:09'::timestamp) - extract(epoch from '2026-08-06 08:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126922428608 -2.8488685749471)'), GeomFromEWKT('SRID=4674;POINT (-40.127083361149 -2.8490296751261)'))) / (select extract(epoch from '2026-08-06 08:14:09'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.127263991162 -2.8492109756917)', '2026-08-06 08:14:22', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127083361149 -2.8490296751261)'), GeomFromEWKT('SRID=4674;POINT (-40.127263991162 -2.8492109756917)'))) / (select extract(epoch from '2026-08-06 08:14:22'::timestamp) - extract(epoch from '2026-08-06 08:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127083361149 -2.8490296751261)'), GeomFromEWKT('SRID=4674;POINT (-40.127263991162 -2.8492109756917)'))) / (select extract(epoch from '2026-08-06 08:14:22'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.127437999472 -2.8493789490312)', '2026-08-06 08:14:36', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127263991162 -2.8492109756917)'), GeomFromEWKT('SRID=4674;POINT (-40.127437999472 -2.8493789490312)'))) / (select extract(epoch from '2026-08-06 08:14:36'::timestamp) - extract(epoch from '2026-08-06 08:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127263991162 -2.8492109756917)'), GeomFromEWKT('SRID=4674;POINT (-40.127437999472 -2.8493789490312)'))) / (select extract(epoch from '2026-08-06 08:14:36'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.12754813768 -2.849489338696)', '2026-08-06 08:14:46', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127437999472 -2.8493789490312)'), GeomFromEWKT('SRID=4674;POINT (-40.12754813768 -2.849489338696)'))) / (select extract(epoch from '2026-08-06 08:14:46'::timestamp) - extract(epoch from '2026-08-06 08:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127437999472 -2.8493789490312)'), GeomFromEWKT('SRID=4674;POINT (-40.12754813768 -2.849489338696)'))) / (select extract(epoch from '2026-08-06 08:14:46'::timestamp) - extract(epoch from '2026-08-06 08:14: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'), 48200, 'SRID=4674;POINT (-40.127649558708 -2.8495970461518)', '2026-08-06 08:14:59', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12754813768 -2.849489338696)'), GeomFromEWKT('SRID=4674;POINT (-40.127649558708 -2.8495970461518)'))) / (select extract(epoch from '2026-08-06 08:14:59'::timestamp) - extract(epoch from '2026-08-06 08:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12754813768 -2.849489338696)'), GeomFromEWKT('SRID=4674;POINT (-40.127649558708 -2.8495970461518)'))) / (select extract(epoch from '2026-08-06 08:14:59'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.127678392455 -2.8496931865811)', '2026-08-06 08:15:10', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127649558708 -2.8495970461518)'), GeomFromEWKT('SRID=4674;POINT (-40.127678392455 -2.8496931865811)'))) / (select extract(epoch from '2026-08-06 08:15:10'::timestamp) - extract(epoch from '2026-08-06 08:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127649558708 -2.8495970461518)'), GeomFromEWKT('SRID=4674;POINT (-40.127678392455 -2.8496931865811)'))) / (select extract(epoch from '2026-08-06 08:15:10'::timestamp) - extract(epoch from '2026-08-06 08:14: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'), 48200, 'SRID=4674;POINT (-40.127672525123 -2.8497354313731)', '2026-08-06 08:15:21', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127678392455 -2.8496931865811)'), GeomFromEWKT('SRID=4674;POINT (-40.127672525123 -2.8497354313731)'))) / (select extract(epoch from '2026-08-06 08:15:21'::timestamp) - extract(epoch from '2026-08-06 08:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127678392455 -2.8496931865811)'), GeomFromEWKT('SRID=4674;POINT (-40.127672525123 -2.8497354313731)'))) / (select extract(epoch from '2026-08-06 08:15:21'::timestamp) - extract(epoch from '2026-08-06 08: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'), 48200, 'SRID=4674;POINT (-40.127763552591 -2.8498132992536)', '2026-08-06 08:16:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127672525123 -2.8497354313731)'), GeomFromEWKT('SRID=4674;POINT (-40.127763552591 -2.8498132992536)'))) / (select extract(epoch from '2026-08-06 08:16:24'::timestamp) - extract(epoch from '2026-08-06 08:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127672525123 -2.8497354313731)'), GeomFromEWKT('SRID=4674;POINT (-40.127763552591 -2.8498132992536)'))) / (select extract(epoch from '2026-08-06 08:16:24'::timestamp) - extract(epoch from '2026-08-06 08:15: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'), 48200, 'SRID=4674;POINT (-40.12776455842 -2.8498907480389)', '2026-08-06 08:16:44', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127763552591 -2.8498132992536)'), GeomFromEWKT('SRID=4674;POINT (-40.12776455842 -2.8498907480389)'))) / (select extract(epoch from '2026-08-06 08:16:44'::timestamp) - extract(epoch from '2026-08-06 08:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127763552591 -2.8498132992536)'), GeomFromEWKT('SRID=4674;POINT (-40.12776455842 -2.8498907480389)'))) / (select extract(epoch from '2026-08-06 08:16:44'::timestamp) - extract(epoch from '2026-08-06 08:16: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'), 48200, 'SRID=4674;POINT (-40.127735892311 -2.8499852959067)', '2026-08-06 08:17:02', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12776455842 -2.8498907480389)'), GeomFromEWKT('SRID=4674;POINT (-40.127735892311 -2.8499852959067)'))) / (select extract(epoch from '2026-08-06 08:17:02'::timestamp) - extract(epoch from '2026-08-06 08:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12776455842 -2.8498907480389)'), GeomFromEWKT('SRID=4674;POINT (-40.127735892311 -2.8499852959067)'))) / (select extract(epoch from '2026-08-06 08:17:02'::timestamp) - extract(epoch from '2026-08-06 08:16: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'), 48200, 'SRID=4674;POINT (-40.127729941159 -2.8500095196068)', '2026-08-06 08:17:14', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127735892311 -2.8499852959067)'), GeomFromEWKT('SRID=4674;POINT (-40.127729941159 -2.8500095196068)'))) / (select extract(epoch from '2026-08-06 08:17:14'::timestamp) - extract(epoch from '2026-08-06 08:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127735892311 -2.8499852959067)'), GeomFromEWKT('SRID=4674;POINT (-40.127729941159 -2.8500095196068)'))) / (select extract(epoch from '2026-08-06 08:17:14'::timestamp) - extract(epoch from '2026-08-06 08:17: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'), 48200, 'SRID=4674;POINT (-40.127729941159 -2.8500095196068)', '2026-08-06 08:21:13', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127729941159 -2.8500095196068)'), GeomFromEWKT('SRID=4674;POINT (-40.127729941159 -2.8500095196068)'))) / (select extract(epoch from '2026-08-06 08:21:13'::timestamp) - extract(epoch from '2026-08-06 08:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127729941159 -2.8500095196068)'), GeomFromEWKT('SRID=4674;POINT (-40.127729941159 -2.8500095196068)'))) / (select extract(epoch from '2026-08-06 08:21:13'::timestamp) - extract(epoch from '2026-08-06 08:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
