 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322068 -2.768217)', '2026-07-15 07:28:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322089 -2.768249)'), GeomFromEWKT('SRID=4674;POINT (-40.322068 -2.768217)'))) / (select extract(epoch from '2026-07-15 07:28:10'::timestamp) - extract(epoch from '2026-07-15 07:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322089 -2.768249)'), GeomFromEWKT('SRID=4674;POINT (-40.322068 -2.768217)'))) / (select extract(epoch from '2026-07-15 07:28:10'::timestamp) - extract(epoch from '2026-07-15 07:28: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'), 47643, 'SRID=4674;POINT (-40.322029 -2.768197)', '2026-07-15 07:28:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322068 -2.768217)'), GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.768197)'))) / (select extract(epoch from '2026-07-15 07:28:13'::timestamp) - extract(epoch from '2026-07-15 07:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322068 -2.768217)'), GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.768197)'))) / (select extract(epoch from '2026-07-15 07:28:13'::timestamp) - extract(epoch from '2026-07-15 07:28: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'), 47643, 'SRID=4674;POINT (-40.321947 -2.768209)', '2026-07-15 07:28:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.768197)'), GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.768209)'))) / (select extract(epoch from '2026-07-15 07:28:20'::timestamp) - extract(epoch from '2026-07-15 07:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322029 -2.768197)'), GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.768209)'))) / (select extract(epoch from '2026-07-15 07:28:20'::timestamp) - extract(epoch from '2026-07-15 07:28: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'), 47643, 'SRID=4674;POINT (-40.321935 -2.768215)', '2026-07-15 07:28:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.768209)'), GeomFromEWKT('SRID=4674;POINT (-40.321935 -2.768215)'))) / (select extract(epoch from '2026-07-15 07:28:21'::timestamp) - extract(epoch from '2026-07-15 07:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321947 -2.768209)'), GeomFromEWKT('SRID=4674;POINT (-40.321935 -2.768215)'))) / (select extract(epoch from '2026-07-15 07:28:21'::timestamp) - extract(epoch from '2026-07-15 07:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321912 -2.768232)', '2026-07-15 07:28:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321935 -2.768215)'), GeomFromEWKT('SRID=4674;POINT (-40.321912 -2.768232)'))) / (select extract(epoch from '2026-07-15 07:28:25'::timestamp) - extract(epoch from '2026-07-15 07:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321935 -2.768215)'), GeomFromEWKT('SRID=4674;POINT (-40.321912 -2.768232)'))) / (select extract(epoch from '2026-07-15 07:28:25'::timestamp) - extract(epoch from '2026-07-15 07:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321886 -2.768349)', '2026-07-15 07:28:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321912 -2.768232)'), GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.768349)'))) / (select extract(epoch from '2026-07-15 07:28:39'::timestamp) - extract(epoch from '2026-07-15 07:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321912 -2.768232)'), GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.768349)'))) / (select extract(epoch from '2026-07-15 07:28:39'::timestamp) - extract(epoch from '2026-07-15 07:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321855 -2.768379)', '2026-07-15 07:28:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.768349)'), GeomFromEWKT('SRID=4674;POINT (-40.321855 -2.768379)'))) / (select extract(epoch from '2026-07-15 07:28:50'::timestamp) - extract(epoch from '2026-07-15 07:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321886 -2.768349)'), GeomFromEWKT('SRID=4674;POINT (-40.321855 -2.768379)'))) / (select extract(epoch from '2026-07-15 07:28:50'::timestamp) - extract(epoch from '2026-07-15 07:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321861 -2.76838)', '2026-07-15 07:28:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321855 -2.768379)'), GeomFromEWKT('SRID=4674;POINT (-40.321861 -2.76838)'))) / (select extract(epoch from '2026-07-15 07:28:59'::timestamp) - extract(epoch from '2026-07-15 07:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321855 -2.768379)'), GeomFromEWKT('SRID=4674;POINT (-40.321861 -2.76838)'))) / (select extract(epoch from '2026-07-15 07:28:59'::timestamp) - extract(epoch from '2026-07-15 07:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321883 -2.768399)', '2026-07-15 07:29:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321861 -2.76838)'), GeomFromEWKT('SRID=4674;POINT (-40.321883 -2.768399)'))) / (select extract(epoch from '2026-07-15 07:29:07'::timestamp) - extract(epoch from '2026-07-15 07:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321861 -2.76838)'), GeomFromEWKT('SRID=4674;POINT (-40.321883 -2.768399)'))) / (select extract(epoch from '2026-07-15 07:29:07'::timestamp) - extract(epoch from '2026-07-15 07:28: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'), 47643, 'SRID=4674;POINT (-40.321905 -2.76841)', '2026-07-15 07:29:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321883 -2.768399)'), GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.76841)'))) / (select extract(epoch from '2026-07-15 07:29:20'::timestamp) - extract(epoch from '2026-07-15 07:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321883 -2.768399)'), GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.76841)'))) / (select extract(epoch from '2026-07-15 07:29:20'::timestamp) - extract(epoch from '2026-07-15 07:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321893 -2.768407)', '2026-07-15 07:29:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.76841)'), GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.768407)'))) / (select extract(epoch from '2026-07-15 07:29:35'::timestamp) - extract(epoch from '2026-07-15 07:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.76841)'), GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.768407)'))) / (select extract(epoch from '2026-07-15 07:29:35'::timestamp) - extract(epoch from '2026-07-15 07:29: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'), 47643, 'SRID=4674;POINT (-40.321894 -2.768398)', '2026-07-15 07:29:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.768407)'), GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.768398)'))) / (select extract(epoch from '2026-07-15 07:29:50'::timestamp) - extract(epoch from '2026-07-15 07:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321893 -2.768407)'), GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.768398)'))) / (select extract(epoch from '2026-07-15 07:29:50'::timestamp) - extract(epoch from '2026-07-15 07:29: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'), 47643, 'SRID=4674;POINT (-40.321888 -2.768399)', '2026-07-15 07:29:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.768398)'), GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.768399)'))) / (select extract(epoch from '2026-07-15 07:29:58'::timestamp) - extract(epoch from '2026-07-15 07:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.768398)'), GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.768399)'))) / (select extract(epoch from '2026-07-15 07:29:58'::timestamp) - extract(epoch from '2026-07-15 07:29: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'), 47643, 'SRID=4674;POINT (-40.321888 -2.7684)', '2026-07-15 07:30:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.768399)'), GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.7684)'))) / (select extract(epoch from '2026-07-15 07:30:08'::timestamp) - extract(epoch from '2026-07-15 07:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.768399)'), GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.7684)'))) / (select extract(epoch from '2026-07-15 07:30:08'::timestamp) - extract(epoch from '2026-07-15 07:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321882 -2.768395)', '2026-07-15 07:30:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.7684)'), GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.768395)'))) / (select extract(epoch from '2026-07-15 07:30:21'::timestamp) - extract(epoch from '2026-07-15 07:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321888 -2.7684)'), GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.768395)'))) / (select extract(epoch from '2026-07-15 07:30:21'::timestamp) - extract(epoch from '2026-07-15 07:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321878 -2.768391)', '2026-07-15 07:30:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.768395)'), GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768391)'))) / (select extract(epoch from '2026-07-15 07:30:32'::timestamp) - extract(epoch from '2026-07-15 07:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321882 -2.768395)'), GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768391)'))) / (select extract(epoch from '2026-07-15 07:30:32'::timestamp) - extract(epoch from '2026-07-15 07:30: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'), 47643, 'SRID=4674;POINT (-40.321881 -2.768385)', '2026-07-15 07:30:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768391)'), GeomFromEWKT('SRID=4674;POINT (-40.321881 -2.768385)'))) / (select extract(epoch from '2026-07-15 07:30:43'::timestamp) - extract(epoch from '2026-07-15 07:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768391)'), GeomFromEWKT('SRID=4674;POINT (-40.321881 -2.768385)'))) / (select extract(epoch from '2026-07-15 07:30:43'::timestamp) - extract(epoch from '2026-07-15 07:30: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'), 47643, 'SRID=4674;POINT (-40.321846 -2.768381)', '2026-07-15 07:30:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321881 -2.768385)'), GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768381)'))) / (select extract(epoch from '2026-07-15 07:30:53'::timestamp) - extract(epoch from '2026-07-15 07:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321881 -2.768385)'), GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768381)'))) / (select extract(epoch from '2026-07-15 07:30:53'::timestamp) - extract(epoch from '2026-07-15 07:30: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'), 47643, 'SRID=4674;POINT (-40.321835 -2.768376)', '2026-07-15 07:31:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768381)'), GeomFromEWKT('SRID=4674;POINT (-40.321835 -2.768376)'))) / (select extract(epoch from '2026-07-15 07:31:07'::timestamp) - extract(epoch from '2026-07-15 07:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768381)'), GeomFromEWKT('SRID=4674;POINT (-40.321835 -2.768376)'))) / (select extract(epoch from '2026-07-15 07:31:07'::timestamp) - extract(epoch from '2026-07-15 07:30: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'), 47643, 'SRID=4674;POINT (-40.321788 -2.768354)', '2026-07-15 07:31:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321835 -2.768376)'), GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768354)'))) / (select extract(epoch from '2026-07-15 07:31:22'::timestamp) - extract(epoch from '2026-07-15 07:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321835 -2.768376)'), GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768354)'))) / (select extract(epoch from '2026-07-15 07:31:22'::timestamp) - extract(epoch from '2026-07-15 07:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321786 -2.768358)', '2026-07-15 07:31:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768354)'), GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.768358)'))) / (select extract(epoch from '2026-07-15 07:31:36'::timestamp) - extract(epoch from '2026-07-15 07:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768354)'), GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.768358)'))) / (select extract(epoch from '2026-07-15 07:31:36'::timestamp) - extract(epoch from '2026-07-15 07:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.3218 -2.768372)', '2026-07-15 07:31:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.768358)'), GeomFromEWKT('SRID=4674;POINT (-40.3218 -2.768372)'))) / (select extract(epoch from '2026-07-15 07:31:50'::timestamp) - extract(epoch from '2026-07-15 07:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321786 -2.768358)'), GeomFromEWKT('SRID=4674;POINT (-40.3218 -2.768372)'))) / (select extract(epoch from '2026-07-15 07:31:50'::timestamp) - extract(epoch from '2026-07-15 07:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321817 -2.768397)', '2026-07-15 07:32:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3218 -2.768372)'), GeomFromEWKT('SRID=4674;POINT (-40.321817 -2.768397)'))) / (select extract(epoch from '2026-07-15 07:32:00'::timestamp) - extract(epoch from '2026-07-15 07:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3218 -2.768372)'), GeomFromEWKT('SRID=4674;POINT (-40.321817 -2.768397)'))) / (select extract(epoch from '2026-07-15 07:32:00'::timestamp) - extract(epoch from '2026-07-15 07:31: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'), 47643, 'SRID=4674;POINT (-40.32183 -2.768403)', '2026-07-15 07:32:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321817 -2.768397)'), GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768403)'))) / (select extract(epoch from '2026-07-15 07:32:11'::timestamp) - extract(epoch from '2026-07-15 07:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321817 -2.768397)'), GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768403)'))) / (select extract(epoch from '2026-07-15 07:32:11'::timestamp) - extract(epoch from '2026-07-15 07:32: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'), 47643, 'SRID=4674;POINT (-40.32183 -2.768408)', '2026-07-15 07:32:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768403)'), GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768408)'))) / (select extract(epoch from '2026-07-15 07:32:23'::timestamp) - extract(epoch from '2026-07-15 07:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768403)'), GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768408)'))) / (select extract(epoch from '2026-07-15 07:32:23'::timestamp) - extract(epoch from '2026-07-15 07:32: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'), 47643, 'SRID=4674;POINT (-40.321833 -2.768412)', '2026-07-15 07:32:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768408)'), GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.768412)'))) / (select extract(epoch from '2026-07-15 07:32:33'::timestamp) - extract(epoch from '2026-07-15 07:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32183 -2.768408)'), GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.768412)'))) / (select extract(epoch from '2026-07-15 07:32:33'::timestamp) - extract(epoch from '2026-07-15 07:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321836 -2.768406)', '2026-07-15 07:32:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.768412)'), GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768406)'))) / (select extract(epoch from '2026-07-15 07:32:41'::timestamp) - extract(epoch from '2026-07-15 07:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.768412)'), GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768406)'))) / (select extract(epoch from '2026-07-15 07:32:41'::timestamp) - extract(epoch from '2026-07-15 07:32: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'), 47643, 'SRID=4674;POINT (-40.321829 -2.7684)', '2026-07-15 07:32:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768406)'), GeomFromEWKT('SRID=4674;POINT (-40.321829 -2.7684)'))) / (select extract(epoch from '2026-07-15 07:32:51'::timestamp) - extract(epoch from '2026-07-15 07:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768406)'), GeomFromEWKT('SRID=4674;POINT (-40.321829 -2.7684)'))) / (select extract(epoch from '2026-07-15 07:32:51'::timestamp) - extract(epoch from '2026-07-15 07:32: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'), 47643, 'SRID=4674;POINT (-40.321824 -2.768401)', '2026-07-15 07:33:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321829 -2.7684)'), GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.768401)'))) / (select extract(epoch from '2026-07-15 07:33:02'::timestamp) - extract(epoch from '2026-07-15 07:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321829 -2.7684)'), GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.768401)'))) / (select extract(epoch from '2026-07-15 07:33:02'::timestamp) - extract(epoch from '2026-07-15 07:32: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'), 47643, 'SRID=4674;POINT (-40.321823 -2.768413)', '2026-07-15 07:33:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.768401)'), GeomFromEWKT('SRID=4674;POINT (-40.321823 -2.768413)'))) / (select extract(epoch from '2026-07-15 07:33:11'::timestamp) - extract(epoch from '2026-07-15 07:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.768401)'), GeomFromEWKT('SRID=4674;POINT (-40.321823 -2.768413)'))) / (select extract(epoch from '2026-07-15 07:33:11'::timestamp) - extract(epoch from '2026-07-15 07:33: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'), 47643, 'SRID=4674;POINT (-40.321825 -2.768422)', '2026-07-15 07:33:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321823 -2.768413)'), GeomFromEWKT('SRID=4674;POINT (-40.321825 -2.768422)'))) / (select extract(epoch from '2026-07-15 07:33:22'::timestamp) - extract(epoch from '2026-07-15 07:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321823 -2.768413)'), GeomFromEWKT('SRID=4674;POINT (-40.321825 -2.768422)'))) / (select extract(epoch from '2026-07-15 07:33:22'::timestamp) - extract(epoch from '2026-07-15 07:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321827 -2.768425)', '2026-07-15 07:33:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321825 -2.768422)'), GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768425)'))) / (select extract(epoch from '2026-07-15 07:33:33'::timestamp) - extract(epoch from '2026-07-15 07:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321825 -2.768422)'), GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768425)'))) / (select extract(epoch from '2026-07-15 07:33:33'::timestamp) - extract(epoch from '2026-07-15 07:33: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'), 47643, 'SRID=4674;POINT (-40.321824 -2.76843)', '2026-07-15 07:33:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768425)'), GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.76843)'))) / (select extract(epoch from '2026-07-15 07:33:45'::timestamp) - extract(epoch from '2026-07-15 07:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768425)'), GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.76843)'))) / (select extract(epoch from '2026-07-15 07:33:45'::timestamp) - extract(epoch from '2026-07-15 07:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321827 -2.768432)', '2026-07-15 07:33:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.76843)'), GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768432)'))) / (select extract(epoch from '2026-07-15 07:33:57'::timestamp) - extract(epoch from '2026-07-15 07:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321824 -2.76843)'), GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768432)'))) / (select extract(epoch from '2026-07-15 07:33:57'::timestamp) - extract(epoch from '2026-07-15 07:33: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'), 47643, 'SRID=4674;POINT (-40.321836 -2.768433)', '2026-07-15 07:34:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768432)'), GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768433)'))) / (select extract(epoch from '2026-07-15 07:34:05'::timestamp) - extract(epoch from '2026-07-15 07:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321827 -2.768432)'), GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768433)'))) / (select extract(epoch from '2026-07-15 07:34:05'::timestamp) - extract(epoch from '2026-07-15 07:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321846 -2.768427)', '2026-07-15 07:34:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768433)'), GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768427)'))) / (select extract(epoch from '2026-07-15 07:34:14'::timestamp) - extract(epoch from '2026-07-15 07:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.768433)'), GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768427)'))) / (select extract(epoch from '2026-07-15 07:34:14'::timestamp) - extract(epoch from '2026-07-15 07:34: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'), 47643, 'SRID=4674;POINT (-40.321845 -2.76843)', '2026-07-15 07:34:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768427)'), GeomFromEWKT('SRID=4674;POINT (-40.321845 -2.76843)'))) / (select extract(epoch from '2026-07-15 07:34:25'::timestamp) - extract(epoch from '2026-07-15 07:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768427)'), GeomFromEWKT('SRID=4674;POINT (-40.321845 -2.76843)'))) / (select extract(epoch from '2026-07-15 07:34:25'::timestamp) - extract(epoch from '2026-07-15 07:34: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'), 47643, 'SRID=4674;POINT (-40.321832 -2.768432)', '2026-07-15 07:34:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321845 -2.76843)'), GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768432)'))) / (select extract(epoch from '2026-07-15 07:34:34'::timestamp) - extract(epoch from '2026-07-15 07:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321845 -2.76843)'), GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768432)'))) / (select extract(epoch from '2026-07-15 07:34:34'::timestamp) - extract(epoch from '2026-07-15 07:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321832 -2.768433)', '2026-07-15 07:34:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768432)'), GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768433)'))) / (select extract(epoch from '2026-07-15 07:34:44'::timestamp) - extract(epoch from '2026-07-15 07:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768432)'), GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768433)'))) / (select extract(epoch from '2026-07-15 07:34:44'::timestamp) - extract(epoch from '2026-07-15 07:34: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'), 47643, 'SRID=4674;POINT (-40.321848 -2.768444)', '2026-07-15 07:34:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768433)'), GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'))) / (select extract(epoch from '2026-07-15 07:34:58'::timestamp) - extract(epoch from '2026-07-15 07:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321832 -2.768433)'), GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'))) / (select extract(epoch from '2026-07-15 07:34:58'::timestamp) - extract(epoch from '2026-07-15 07:34: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'), 47643, 'SRID=4674;POINT (-40.321848 -2.768444)', '2026-07-15 07:35:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'), GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'))) / (select extract(epoch from '2026-07-15 07:35:07'::timestamp) - extract(epoch from '2026-07-15 07:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'), GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'))) / (select extract(epoch from '2026-07-15 07:35:07'::timestamp) - extract(epoch from '2026-07-15 07:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321847 -2.768447)', '2026-07-15 07:35:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'), GeomFromEWKT('SRID=4674;POINT (-40.321847 -2.768447)'))) / (select extract(epoch from '2026-07-15 07:35:22'::timestamp) - extract(epoch from '2026-07-15 07:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.768444)'), GeomFromEWKT('SRID=4674;POINT (-40.321847 -2.768447)'))) / (select extract(epoch from '2026-07-15 07:35:22'::timestamp) - extract(epoch from '2026-07-15 07:35: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'), 47643, 'SRID=4674;POINT (-40.321838 -2.768451)', '2026-07-15 07:35:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321847 -2.768447)'), GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.768451)'))) / (select extract(epoch from '2026-07-15 07:35:36'::timestamp) - extract(epoch from '2026-07-15 07:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321847 -2.768447)'), GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.768451)'))) / (select extract(epoch from '2026-07-15 07:35:36'::timestamp) - extract(epoch from '2026-07-15 07:35: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'), 47643, 'SRID=4674;POINT (-40.321848 -2.76845)', '2026-07-15 07:35:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.768451)'), GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.76845)'))) / (select extract(epoch from '2026-07-15 07:35:52'::timestamp) - extract(epoch from '2026-07-15 07:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321838 -2.768451)'), GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.76845)'))) / (select extract(epoch from '2026-07-15 07:35:52'::timestamp) - extract(epoch from '2026-07-15 07:35: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'), 47643, 'SRID=4674;POINT (-40.321857 -2.768443)', '2026-07-15 07:36:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.76845)'), GeomFromEWKT('SRID=4674;POINT (-40.321857 -2.768443)'))) / (select extract(epoch from '2026-07-15 07:36:03'::timestamp) - extract(epoch from '2026-07-15 07:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321848 -2.76845)'), GeomFromEWKT('SRID=4674;POINT (-40.321857 -2.768443)'))) / (select extract(epoch from '2026-07-15 07:36:03'::timestamp) - extract(epoch from '2026-07-15 07:35: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'), 47643, 'SRID=4674;POINT (-40.321846 -2.768454)', '2026-07-15 07:36:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321857 -2.768443)'), GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768454)'))) / (select extract(epoch from '2026-07-15 07:36:10'::timestamp) - extract(epoch from '2026-07-15 07:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321857 -2.768443)'), GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768454)'))) / (select extract(epoch from '2026-07-15 07:36:10'::timestamp) - extract(epoch from '2026-07-15 07:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321759 -2.768471)', '2026-07-15 07:36:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768454)'), GeomFromEWKT('SRID=4674;POINT (-40.321759 -2.768471)'))) / (select extract(epoch from '2026-07-15 07:36:24'::timestamp) - extract(epoch from '2026-07-15 07:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321846 -2.768454)'), GeomFromEWKT('SRID=4674;POINT (-40.321759 -2.768471)'))) / (select extract(epoch from '2026-07-15 07:36:24'::timestamp) - extract(epoch from '2026-07-15 07:36: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'), 47643, 'SRID=4674;POINT (-40.321669 -2.768481)', '2026-07-15 07:36:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321759 -2.768471)'), GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.768481)'))) / (select extract(epoch from '2026-07-15 07:36:42'::timestamp) - extract(epoch from '2026-07-15 07:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321759 -2.768471)'), GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.768481)'))) / (select extract(epoch from '2026-07-15 07:36:42'::timestamp) - extract(epoch from '2026-07-15 07:36: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'), 47643, 'SRID=4674;POINT (-40.321577 -2.768473)', '2026-07-15 07:36:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.768481)'), GeomFromEWKT('SRID=4674;POINT (-40.321577 -2.768473)'))) / (select extract(epoch from '2026-07-15 07:36:58'::timestamp) - extract(epoch from '2026-07-15 07:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321669 -2.768481)'), GeomFromEWKT('SRID=4674;POINT (-40.321577 -2.768473)'))) / (select extract(epoch from '2026-07-15 07:36:58'::timestamp) - extract(epoch from '2026-07-15 07:36: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'), 47643, 'SRID=4674;POINT (-40.321511 -2.768475)', '2026-07-15 07:37:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321577 -2.768473)'), GeomFromEWKT('SRID=4674;POINT (-40.321511 -2.768475)'))) / (select extract(epoch from '2026-07-15 07:37:12'::timestamp) - extract(epoch from '2026-07-15 07:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321577 -2.768473)'), GeomFromEWKT('SRID=4674;POINT (-40.321511 -2.768475)'))) / (select extract(epoch from '2026-07-15 07:37:12'::timestamp) - extract(epoch from '2026-07-15 07:36: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'), 47643, 'SRID=4674;POINT (-40.321504 -2.768469)', '2026-07-15 07:37:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321511 -2.768475)'), GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.768469)'))) / (select extract(epoch from '2026-07-15 07:37:22'::timestamp) - extract(epoch from '2026-07-15 07:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321511 -2.768475)'), GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.768469)'))) / (select extract(epoch from '2026-07-15 07:37:22'::timestamp) - extract(epoch from '2026-07-15 07:37: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'), 47643, 'SRID=4674;POINT (-40.321498 -2.768466)', '2026-07-15 07:37:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.768469)'), GeomFromEWKT('SRID=4674;POINT (-40.321498 -2.768466)'))) / (select extract(epoch from '2026-07-15 07:37:31'::timestamp) - extract(epoch from '2026-07-15 07:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321504 -2.768469)'), GeomFromEWKT('SRID=4674;POINT (-40.321498 -2.768466)'))) / (select extract(epoch from '2026-07-15 07:37:31'::timestamp) - extract(epoch from '2026-07-15 07:37: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'), 47643, 'SRID=4674;POINT (-40.321495 -2.768459)', '2026-07-15 07:37:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321498 -2.768466)'), GeomFromEWKT('SRID=4674;POINT (-40.321495 -2.768459)'))) / (select extract(epoch from '2026-07-15 07:37:40'::timestamp) - extract(epoch from '2026-07-15 07:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321498 -2.768466)'), GeomFromEWKT('SRID=4674;POINT (-40.321495 -2.768459)'))) / (select extract(epoch from '2026-07-15 07:37:40'::timestamp) - extract(epoch from '2026-07-15 07:37: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'), 47643, 'SRID=4674;POINT (-40.321483 -2.76846)', '2026-07-15 07:37:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321495 -2.768459)'), GeomFromEWKT('SRID=4674;POINT (-40.321483 -2.76846)'))) / (select extract(epoch from '2026-07-15 07:37:47'::timestamp) - extract(epoch from '2026-07-15 07:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321495 -2.768459)'), GeomFromEWKT('SRID=4674;POINT (-40.321483 -2.76846)'))) / (select extract(epoch from '2026-07-15 07:37:47'::timestamp) - extract(epoch from '2026-07-15 07:37: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'), 47643, 'SRID=4674;POINT (-40.321479 -2.768469)', '2026-07-15 07:37:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321483 -2.76846)'), GeomFromEWKT('SRID=4674;POINT (-40.321479 -2.768469)'))) / (select extract(epoch from '2026-07-15 07:37:56'::timestamp) - extract(epoch from '2026-07-15 07:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321483 -2.76846)'), GeomFromEWKT('SRID=4674;POINT (-40.321479 -2.768469)'))) / (select extract(epoch from '2026-07-15 07:37:56'::timestamp) - extract(epoch from '2026-07-15 07:37: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'), 47643, 'SRID=4674;POINT (-40.321497 -2.768485)', '2026-07-15 07:38:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321479 -2.768469)'), GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.768485)'))) / (select extract(epoch from '2026-07-15 07:38:05'::timestamp) - extract(epoch from '2026-07-15 07:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321479 -2.768469)'), GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.768485)'))) / (select extract(epoch from '2026-07-15 07:38:05'::timestamp) - extract(epoch from '2026-07-15 07:37: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'), 47643, 'SRID=4674;POINT (-40.3215 -2.768486)', '2026-07-15 07:38:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.768485)'), GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.768486)'))) / (select extract(epoch from '2026-07-15 07:38:15'::timestamp) - extract(epoch from '2026-07-15 07:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321497 -2.768485)'), GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.768486)'))) / (select extract(epoch from '2026-07-15 07:38:15'::timestamp) - extract(epoch from '2026-07-15 07:38: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'), 47643, 'SRID=4674;POINT (-40.321508 -2.768487)', '2026-07-15 07:38:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.768486)'), GeomFromEWKT('SRID=4674;POINT (-40.321508 -2.768487)'))) / (select extract(epoch from '2026-07-15 07:38:22'::timestamp) - extract(epoch from '2026-07-15 07:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.768486)'), GeomFromEWKT('SRID=4674;POINT (-40.321508 -2.768487)'))) / (select extract(epoch from '2026-07-15 07:38:22'::timestamp) - extract(epoch from '2026-07-15 07:38: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'), 47643, 'SRID=4674;POINT (-40.321518 -2.768493)', '2026-07-15 07:38:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321508 -2.768487)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768493)'))) / (select extract(epoch from '2026-07-15 07:38:32'::timestamp) - extract(epoch from '2026-07-15 07:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321508 -2.768487)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768493)'))) / (select extract(epoch from '2026-07-15 07:38:32'::timestamp) - extract(epoch from '2026-07-15 07:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321516 -2.768489)', '2026-07-15 07:38:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768493)'), GeomFromEWKT('SRID=4674;POINT (-40.321516 -2.768489)'))) / (select extract(epoch from '2026-07-15 07:38:40'::timestamp) - extract(epoch from '2026-07-15 07:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768493)'), GeomFromEWKT('SRID=4674;POINT (-40.321516 -2.768489)'))) / (select extract(epoch from '2026-07-15 07:38:40'::timestamp) - extract(epoch from '2026-07-15 07:38: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'), 47643, 'SRID=4674;POINT (-40.321522 -2.768493)', '2026-07-15 07:38:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321516 -2.768489)'), GeomFromEWKT('SRID=4674;POINT (-40.321522 -2.768493)'))) / (select extract(epoch from '2026-07-15 07:38:50'::timestamp) - extract(epoch from '2026-07-15 07:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321516 -2.768489)'), GeomFromEWKT('SRID=4674;POINT (-40.321522 -2.768493)'))) / (select extract(epoch from '2026-07-15 07:38:50'::timestamp) - extract(epoch from '2026-07-15 07:38: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'), 47643, 'SRID=4674;POINT (-40.321521 -2.768495)', '2026-07-15 07:39:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321522 -2.768493)'), GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768495)'))) / (select extract(epoch from '2026-07-15 07:39:02'::timestamp) - extract(epoch from '2026-07-15 07:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321522 -2.768493)'), GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768495)'))) / (select extract(epoch from '2026-07-15 07:39:02'::timestamp) - extract(epoch from '2026-07-15 07:38: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'), 47643, 'SRID=4674;POINT (-40.321523 -2.768498)', '2026-07-15 07:39:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768495)'), GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.768498)'))) / (select extract(epoch from '2026-07-15 07:39:11'::timestamp) - extract(epoch from '2026-07-15 07:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768495)'), GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.768498)'))) / (select extract(epoch from '2026-07-15 07:39:11'::timestamp) - extract(epoch from '2026-07-15 07:39: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'), 47643, 'SRID=4674;POINT (-40.321518 -2.768497)', '2026-07-15 07:39:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.768498)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768497)'))) / (select extract(epoch from '2026-07-15 07:39:24'::timestamp) - extract(epoch from '2026-07-15 07:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321523 -2.768498)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768497)'))) / (select extract(epoch from '2026-07-15 07:39:24'::timestamp) - extract(epoch from '2026-07-15 07:39: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'), 47643, 'SRID=4674;POINT (-40.321518 -2.768506)', '2026-07-15 07:39:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768497)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:39:37'::timestamp) - extract(epoch from '2026-07-15 07:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768497)'), GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:39:37'::timestamp) - extract(epoch from '2026-07-15 07:39: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'), 47643, 'SRID=4674;POINT (-40.32152 -2.768508)', '2026-07-15 07:39:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.32152 -2.768508)'))) / (select extract(epoch from '2026-07-15 07:39:47'::timestamp) - extract(epoch from '2026-07-15 07:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321518 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.32152 -2.768508)'))) / (select extract(epoch from '2026-07-15 07:39:47'::timestamp) - extract(epoch from '2026-07-15 07:39: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'), 47643, 'SRID=4674;POINT (-40.321526 -2.768506)', '2026-07-15 07:39:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32152 -2.768508)'), GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:39:57'::timestamp) - extract(epoch from '2026-07-15 07:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32152 -2.768508)'), GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:39:57'::timestamp) - extract(epoch from '2026-07-15 07:39: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'), 47643, 'SRID=4674;POINT (-40.321525 -2.768508)', '2026-07-15 07:40:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768508)'))) / (select extract(epoch from '2026-07-15 07:40:05'::timestamp) - extract(epoch from '2026-07-15 07:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768508)'))) / (select extract(epoch from '2026-07-15 07:40:05'::timestamp) - extract(epoch from '2026-07-15 07:39: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'), 47643, 'SRID=4674;POINT (-40.321525 -2.768506)', '2026-07-15 07:40:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768508)'), GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:40:16'::timestamp) - extract(epoch from '2026-07-15 07:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768508)'), GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:40:16'::timestamp) - extract(epoch from '2026-07-15 07:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321527 -2.768506)', '2026-07-15 07:40:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.321527 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:40:27'::timestamp) - extract(epoch from '2026-07-15 07:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.321527 -2.768506)'))) / (select extract(epoch from '2026-07-15 07:40:27'::timestamp) - extract(epoch from '2026-07-15 07:40: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'), 47643, 'SRID=4674;POINT (-40.321532 -2.768511)', '2026-07-15 07:40:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321527 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768511)'))) / (select extract(epoch from '2026-07-15 07:40:38'::timestamp) - extract(epoch from '2026-07-15 07:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321527 -2.768506)'), GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768511)'))) / (select extract(epoch from '2026-07-15 07:40:38'::timestamp) - extract(epoch from '2026-07-15 07:40: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'), 47643, 'SRID=4674;POINT (-40.321525 -2.768511)', '2026-07-15 07:40:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768511)'), GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768511)'))) / (select extract(epoch from '2026-07-15 07:40:47'::timestamp) - extract(epoch from '2026-07-15 07:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768511)'), GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768511)'))) / (select extract(epoch from '2026-07-15 07:40:47'::timestamp) - extract(epoch from '2026-07-15 07:40: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'), 47643, 'SRID=4674;POINT (-40.321526 -2.76853)', '2026-07-15 07:40:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768511)'), GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.76853)'))) / (select extract(epoch from '2026-07-15 07:40:56'::timestamp) - extract(epoch from '2026-07-15 07:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321525 -2.768511)'), GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.76853)'))) / (select extract(epoch from '2026-07-15 07:40:56'::timestamp) - extract(epoch from '2026-07-15 07:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321534 -2.768534)', '2026-07-15 07:41:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.76853)'), GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768534)'))) / (select extract(epoch from '2026-07-15 07:41:04'::timestamp) - extract(epoch from '2026-07-15 07:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321526 -2.76853)'), GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768534)'))) / (select extract(epoch from '2026-07-15 07:41:04'::timestamp) - extract(epoch from '2026-07-15 07:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321541 -2.768557)', '2026-07-15 07:41:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768534)'), GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768557)'))) / (select extract(epoch from '2026-07-15 07:41:11'::timestamp) - extract(epoch from '2026-07-15 07:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768534)'), GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768557)'))) / (select extract(epoch from '2026-07-15 07:41:11'::timestamp) - extract(epoch from '2026-07-15 07:41: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'), 47643, 'SRID=4674;POINT (-40.321546 -2.768567)', '2026-07-15 07:41:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768557)'), GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768567)'))) / (select extract(epoch from '2026-07-15 07:41:21'::timestamp) - extract(epoch from '2026-07-15 07:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768557)'), GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768567)'))) / (select extract(epoch from '2026-07-15 07:41:21'::timestamp) - extract(epoch from '2026-07-15 07:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321556 -2.768565)', '2026-07-15 07:41:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768567)'), GeomFromEWKT('SRID=4674;POINT (-40.321556 -2.768565)'))) / (select extract(epoch from '2026-07-15 07:41:33'::timestamp) - extract(epoch from '2026-07-15 07:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768567)'), GeomFromEWKT('SRID=4674;POINT (-40.321556 -2.768565)'))) / (select extract(epoch from '2026-07-15 07:41:33'::timestamp) - extract(epoch from '2026-07-15 07:41: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'), 47643, 'SRID=4674;POINT (-40.321571 -2.768549)', '2026-07-15 07:41:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321556 -2.768565)'), GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.768549)'))) / (select extract(epoch from '2026-07-15 07:41:46'::timestamp) - extract(epoch from '2026-07-15 07:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321556 -2.768565)'), GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.768549)'))) / (select extract(epoch from '2026-07-15 07:41:46'::timestamp) - extract(epoch from '2026-07-15 07:41: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'), 47643, 'SRID=4674;POINT (-40.321628 -2.768543)', '2026-07-15 07:41:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.768549)'), GeomFromEWKT('SRID=4674;POINT (-40.321628 -2.768543)'))) / (select extract(epoch from '2026-07-15 07:41:57'::timestamp) - extract(epoch from '2026-07-15 07:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321571 -2.768549)'), GeomFromEWKT('SRID=4674;POINT (-40.321628 -2.768543)'))) / (select extract(epoch from '2026-07-15 07:41:57'::timestamp) - extract(epoch from '2026-07-15 07:41: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'), 47643, 'SRID=4674;POINT (-40.321677 -2.768549)', '2026-07-15 07:42:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321628 -2.768543)'), GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.768549)'))) / (select extract(epoch from '2026-07-15 07:42:11'::timestamp) - extract(epoch from '2026-07-15 07:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321628 -2.768543)'), GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.768549)'))) / (select extract(epoch from '2026-07-15 07:42:11'::timestamp) - extract(epoch from '2026-07-15 07:41: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'), 47643, 'SRID=4674;POINT (-40.321706 -2.768562)', '2026-07-15 07:42:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.768549)'), GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768562)'))) / (select extract(epoch from '2026-07-15 07:42:28'::timestamp) - extract(epoch from '2026-07-15 07:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.768549)'), GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768562)'))) / (select extract(epoch from '2026-07-15 07:42:28'::timestamp) - extract(epoch from '2026-07-15 07:42: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'), 47643, 'SRID=4674;POINT (-40.321738 -2.768588)', '2026-07-15 07:42:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768562)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768588)'))) / (select extract(epoch from '2026-07-15 07:42:42'::timestamp) - extract(epoch from '2026-07-15 07:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768562)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768588)'))) / (select extract(epoch from '2026-07-15 07:42:42'::timestamp) - extract(epoch from '2026-07-15 07:42: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'), 47643, 'SRID=4674;POINT (-40.321756 -2.768593)', '2026-07-15 07:42:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768588)'), GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768593)'))) / (select extract(epoch from '2026-07-15 07:42:50'::timestamp) - extract(epoch from '2026-07-15 07:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768588)'), GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768593)'))) / (select extract(epoch from '2026-07-15 07:42:50'::timestamp) - extract(epoch from '2026-07-15 07:42: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'), 47643, 'SRID=4674;POINT (-40.321779 -2.768588)', '2026-07-15 07:43:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768593)'), GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768588)'))) / (select extract(epoch from '2026-07-15 07:43:03'::timestamp) - extract(epoch from '2026-07-15 07:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768593)'), GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768588)'))) / (select extract(epoch from '2026-07-15 07:43:03'::timestamp) - extract(epoch from '2026-07-15 07:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321788 -2.768588)', '2026-07-15 07:43:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768588)'), GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768588)'))) / (select extract(epoch from '2026-07-15 07:43:13'::timestamp) - extract(epoch from '2026-07-15 07:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768588)'), GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768588)'))) / (select extract(epoch from '2026-07-15 07:43:13'::timestamp) - extract(epoch from '2026-07-15 07:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321805 -2.768569)', '2026-07-15 07:43:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768588)'), GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768569)'))) / (select extract(epoch from '2026-07-15 07:43:24'::timestamp) - extract(epoch from '2026-07-15 07:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.768588)'), GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768569)'))) / (select extract(epoch from '2026-07-15 07:43:24'::timestamp) - extract(epoch from '2026-07-15 07:43: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'), 47643, 'SRID=4674;POINT (-40.321834 -2.768565)', '2026-07-15 07:43:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768569)'), GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.768565)'))) / (select extract(epoch from '2026-07-15 07:43:31'::timestamp) - extract(epoch from '2026-07-15 07:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321805 -2.768569)'), GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.768565)'))) / (select extract(epoch from '2026-07-15 07:43:31'::timestamp) - extract(epoch from '2026-07-15 07:43: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'), 47643, 'SRID=4674;POINT (-40.32188 -2.76856)', '2026-07-15 07:43:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.768565)'), GeomFromEWKT('SRID=4674;POINT (-40.32188 -2.76856)'))) / (select extract(epoch from '2026-07-15 07:43:39'::timestamp) - extract(epoch from '2026-07-15 07:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321834 -2.768565)'), GeomFromEWKT('SRID=4674;POINT (-40.32188 -2.76856)'))) / (select extract(epoch from '2026-07-15 07:43:39'::timestamp) - extract(epoch from '2026-07-15 07:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321966 -2.768547)', '2026-07-15 07:43:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32188 -2.76856)'), GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.768547)'))) / (select extract(epoch from '2026-07-15 07:43:55'::timestamp) - extract(epoch from '2026-07-15 07:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32188 -2.76856)'), GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.768547)'))) / (select extract(epoch from '2026-07-15 07:43:55'::timestamp) - extract(epoch from '2026-07-15 07:43: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'), 47643, 'SRID=4674;POINT (-40.322059 -2.768515)', '2026-07-15 07:44:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.768547)'), GeomFromEWKT('SRID=4674;POINT (-40.322059 -2.768515)'))) / (select extract(epoch from '2026-07-15 07:44:11'::timestamp) - extract(epoch from '2026-07-15 07:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321966 -2.768547)'), GeomFromEWKT('SRID=4674;POINT (-40.322059 -2.768515)'))) / (select extract(epoch from '2026-07-15 07:44:11'::timestamp) - extract(epoch from '2026-07-15 07:43: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'), 47643, 'SRID=4674;POINT (-40.322127 -2.768535)', '2026-07-15 07:44:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322059 -2.768515)'), GeomFromEWKT('SRID=4674;POINT (-40.322127 -2.768535)'))) / (select extract(epoch from '2026-07-15 07:44:27'::timestamp) - extract(epoch from '2026-07-15 07:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322059 -2.768515)'), GeomFromEWKT('SRID=4674;POINT (-40.322127 -2.768535)'))) / (select extract(epoch from '2026-07-15 07:44:27'::timestamp) - extract(epoch from '2026-07-15 07:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322176 -2.768467)', '2026-07-15 07:44:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322127 -2.768535)'), GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.768467)'))) / (select extract(epoch from '2026-07-15 07:44:36'::timestamp) - extract(epoch from '2026-07-15 07:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322127 -2.768535)'), GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.768467)'))) / (select extract(epoch from '2026-07-15 07:44:36'::timestamp) - extract(epoch from '2026-07-15 07:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322154 -2.768332)', '2026-07-15 07:44:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.768467)'), GeomFromEWKT('SRID=4674;POINT (-40.322154 -2.768332)'))) / (select extract(epoch from '2026-07-15 07:44:45'::timestamp) - extract(epoch from '2026-07-15 07:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322176 -2.768467)'), GeomFromEWKT('SRID=4674;POINT (-40.322154 -2.768332)'))) / (select extract(epoch from '2026-07-15 07:44:45'::timestamp) - extract(epoch from '2026-07-15 07:44: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'), 47643, 'SRID=4674;POINT (-40.322102 -2.768163)', '2026-07-15 07:44:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322154 -2.768332)'), GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.768163)'))) / (select extract(epoch from '2026-07-15 07:44:55'::timestamp) - extract(epoch from '2026-07-15 07:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322154 -2.768332)'), GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.768163)'))) / (select extract(epoch from '2026-07-15 07:44:55'::timestamp) - extract(epoch from '2026-07-15 07:44: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'), 47643, 'SRID=4674;POINT (-40.322051 -2.767987)', '2026-07-15 07:45:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.768163)'), GeomFromEWKT('SRID=4674;POINT (-40.322051 -2.767987)'))) / (select extract(epoch from '2026-07-15 07:45:05'::timestamp) - extract(epoch from '2026-07-15 07:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.768163)'), GeomFromEWKT('SRID=4674;POINT (-40.322051 -2.767987)'))) / (select extract(epoch from '2026-07-15 07:45:05'::timestamp) - extract(epoch from '2026-07-15 07:44: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'), 47643, 'SRID=4674;POINT (-40.321988 -2.76781)', '2026-07-15 07:45:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322051 -2.767987)'), GeomFromEWKT('SRID=4674;POINT (-40.321988 -2.76781)'))) / (select extract(epoch from '2026-07-15 07:45:14'::timestamp) - extract(epoch from '2026-07-15 07:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322051 -2.767987)'), GeomFromEWKT('SRID=4674;POINT (-40.321988 -2.76781)'))) / (select extract(epoch from '2026-07-15 07:45:14'::timestamp) - extract(epoch from '2026-07-15 07:45: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'), 47643, 'SRID=4674;POINT (-40.321958 -2.767666)', '2026-07-15 07:45:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321988 -2.76781)'), GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.767666)'))) / (select extract(epoch from '2026-07-15 07:45:21'::timestamp) - extract(epoch from '2026-07-15 07:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321988 -2.76781)'), GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.767666)'))) / (select extract(epoch from '2026-07-15 07:45:21'::timestamp) - extract(epoch from '2026-07-15 07:45: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'), 47643, 'SRID=4674;POINT (-40.321916 -2.767502)', '2026-07-15 07:45:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.767666)'), GeomFromEWKT('SRID=4674;POINT (-40.321916 -2.767502)'))) / (select extract(epoch from '2026-07-15 07:45:29'::timestamp) - extract(epoch from '2026-07-15 07:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.767666)'), GeomFromEWKT('SRID=4674;POINT (-40.321916 -2.767502)'))) / (select extract(epoch from '2026-07-15 07:45:29'::timestamp) - extract(epoch from '2026-07-15 07:45: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'), 47643, 'SRID=4674;POINT (-40.321897 -2.767343)', '2026-07-15 07:45:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321916 -2.767502)'), GeomFromEWKT('SRID=4674;POINT (-40.321897 -2.767343)'))) / (select extract(epoch from '2026-07-15 07:45:36'::timestamp) - extract(epoch from '2026-07-15 07:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321916 -2.767502)'), GeomFromEWKT('SRID=4674;POINT (-40.321897 -2.767343)'))) / (select extract(epoch from '2026-07-15 07:45:36'::timestamp) - extract(epoch from '2026-07-15 07:45: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'), 47643, 'SRID=4674;POINT (-40.321866 -2.767181)', '2026-07-15 07:45:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321897 -2.767343)'), GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.767181)'))) / (select extract(epoch from '2026-07-15 07:45:43'::timestamp) - extract(epoch from '2026-07-15 07:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321897 -2.767343)'), GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.767181)'))) / (select extract(epoch from '2026-07-15 07:45:43'::timestamp) - extract(epoch from '2026-07-15 07:45: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'), 47643, 'SRID=4674;POINT (-40.321763 -2.767055)', '2026-07-15 07:45:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.767181)'), GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.767055)'))) / (select extract(epoch from '2026-07-15 07:45:50'::timestamp) - extract(epoch from '2026-07-15 07:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321866 -2.767181)'), GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.767055)'))) / (select extract(epoch from '2026-07-15 07:45:50'::timestamp) - extract(epoch from '2026-07-15 07:45: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'), 47643, 'SRID=4674;POINT (-40.321667 -2.766891)', '2026-07-15 07:46:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.767055)'), GeomFromEWKT('SRID=4674;POINT (-40.321667 -2.766891)'))) / (select extract(epoch from '2026-07-15 07:46:00'::timestamp) - extract(epoch from '2026-07-15 07:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.767055)'), GeomFromEWKT('SRID=4674;POINT (-40.321667 -2.766891)'))) / (select extract(epoch from '2026-07-15 07:46:00'::timestamp) - extract(epoch from '2026-07-15 07:45: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'), 47643, 'SRID=4674;POINT (-40.321597 -2.766823)', '2026-07-15 07:46:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321667 -2.766891)'), GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.766823)'))) / (select extract(epoch from '2026-07-15 07:46:07'::timestamp) - extract(epoch from '2026-07-15 07:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321667 -2.766891)'), GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.766823)'))) / (select extract(epoch from '2026-07-15 07:46:07'::timestamp) - extract(epoch from '2026-07-15 07:46: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'), 47643, 'SRID=4674;POINT (-40.321517 -2.766728)', '2026-07-15 07:46:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.766823)'), GeomFromEWKT('SRID=4674;POINT (-40.321517 -2.766728)'))) / (select extract(epoch from '2026-07-15 07:46:15'::timestamp) - extract(epoch from '2026-07-15 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321597 -2.766823)'), GeomFromEWKT('SRID=4674;POINT (-40.321517 -2.766728)'))) / (select extract(epoch from '2026-07-15 07:46:15'::timestamp) - extract(epoch from '2026-07-15 07:46: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'), 47643, 'SRID=4674;POINT (-40.321423 -2.766606)', '2026-07-15 07:46:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321517 -2.766728)'), GeomFromEWKT('SRID=4674;POINT (-40.321423 -2.766606)'))) / (select extract(epoch from '2026-07-15 07:46:23'::timestamp) - extract(epoch from '2026-07-15 07:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321517 -2.766728)'), GeomFromEWKT('SRID=4674;POINT (-40.321423 -2.766606)'))) / (select extract(epoch from '2026-07-15 07:46:23'::timestamp) - extract(epoch from '2026-07-15 07:46: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'), 47643, 'SRID=4674;POINT (-40.321377 -2.766495)', '2026-07-15 07:46:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321423 -2.766606)'), GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766495)'))) / (select extract(epoch from '2026-07-15 07:46:30'::timestamp) - extract(epoch from '2026-07-15 07:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321423 -2.766606)'), GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766495)'))) / (select extract(epoch from '2026-07-15 07:46:30'::timestamp) - extract(epoch from '2026-07-15 07:46: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'), 47643, 'SRID=4674;POINT (-40.321267 -2.76638)', '2026-07-15 07:46:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766495)'), GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.76638)'))) / (select extract(epoch from '2026-07-15 07:46:38'::timestamp) - extract(epoch from '2026-07-15 07:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321377 -2.766495)'), GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.76638)'))) / (select extract(epoch from '2026-07-15 07:46:38'::timestamp) - extract(epoch from '2026-07-15 07:46: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'), 47643, 'SRID=4674;POINT (-40.321173 -2.766249)', '2026-07-15 07:46:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.76638)'), GeomFromEWKT('SRID=4674;POINT (-40.321173 -2.766249)'))) / (select extract(epoch from '2026-07-15 07:46:47'::timestamp) - extract(epoch from '2026-07-15 07:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.76638)'), GeomFromEWKT('SRID=4674;POINT (-40.321173 -2.766249)'))) / (select extract(epoch from '2026-07-15 07:46:47'::timestamp) - extract(epoch from '2026-07-15 07:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321041 -2.766117)', '2026-07-15 07:46:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321173 -2.766249)'), GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.766117)'))) / (select extract(epoch from '2026-07-15 07:46:55'::timestamp) - extract(epoch from '2026-07-15 07:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321173 -2.766249)'), GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.766117)'))) / (select extract(epoch from '2026-07-15 07:46:55'::timestamp) - extract(epoch from '2026-07-15 07:46: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'), 47643, 'SRID=4674;POINT (-40.320968 -2.765993)', '2026-07-15 07:47:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.766117)'), GeomFromEWKT('SRID=4674;POINT (-40.320968 -2.765993)'))) / (select extract(epoch from '2026-07-15 07:47:03'::timestamp) - extract(epoch from '2026-07-15 07:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321041 -2.766117)'), GeomFromEWKT('SRID=4674;POINT (-40.320968 -2.765993)'))) / (select extract(epoch from '2026-07-15 07:47:03'::timestamp) - extract(epoch from '2026-07-15 07:46: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'), 47643, 'SRID=4674;POINT (-40.320889 -2.765924)', '2026-07-15 07:47:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320968 -2.765993)'), GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765924)'))) / (select extract(epoch from '2026-07-15 07:47:10'::timestamp) - extract(epoch from '2026-07-15 07:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320968 -2.765993)'), GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765924)'))) / (select extract(epoch from '2026-07-15 07:47:10'::timestamp) - extract(epoch from '2026-07-15 07:47: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'), 47643, 'SRID=4674;POINT (-40.320769 -2.765816)', '2026-07-15 07:47:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765924)'), GeomFromEWKT('SRID=4674;POINT (-40.320769 -2.765816)'))) / (select extract(epoch from '2026-07-15 07:47:19'::timestamp) - extract(epoch from '2026-07-15 07:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765924)'), GeomFromEWKT('SRID=4674;POINT (-40.320769 -2.765816)'))) / (select extract(epoch from '2026-07-15 07:47:19'::timestamp) - extract(epoch from '2026-07-15 07:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320704 -2.765671)', '2026-07-15 07:47:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320769 -2.765816)'), GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.765671)'))) / (select extract(epoch from '2026-07-15 07:47:28'::timestamp) - extract(epoch from '2026-07-15 07:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320769 -2.765816)'), GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.765671)'))) / (select extract(epoch from '2026-07-15 07:47:28'::timestamp) - extract(epoch from '2026-07-15 07:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320643 -2.765513)', '2026-07-15 07:47:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.765671)'), GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.765513)'))) / (select extract(epoch from '2026-07-15 07:47:36'::timestamp) - extract(epoch from '2026-07-15 07:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.765671)'), GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.765513)'))) / (select extract(epoch from '2026-07-15 07:47:36'::timestamp) - extract(epoch from '2026-07-15 07:47: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'), 47643, 'SRID=4674;POINT (-40.320642 -2.765408)', '2026-07-15 07:47:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.765513)'), GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.765408)'))) / (select extract(epoch from '2026-07-15 07:47:43'::timestamp) - extract(epoch from '2026-07-15 07:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320643 -2.765513)'), GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.765408)'))) / (select extract(epoch from '2026-07-15 07:47:43'::timestamp) - extract(epoch from '2026-07-15 07:47: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'), 47643, 'SRID=4674;POINT (-40.320646 -2.765387)', '2026-07-15 07:47:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.765408)'), GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.765387)'))) / (select extract(epoch from '2026-07-15 07:47:44'::timestamp) - extract(epoch from '2026-07-15 07:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320642 -2.765408)'), GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.765387)'))) / (select extract(epoch from '2026-07-15 07:47:44'::timestamp) - extract(epoch from '2026-07-15 07:47: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'), 47643, 'SRID=4674;POINT (-40.320674 -2.765327)', '2026-07-15 07:47:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.765387)'), GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.765327)'))) / (select extract(epoch from '2026-07-15 07:47:48'::timestamp) - extract(epoch from '2026-07-15 07:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320646 -2.765387)'), GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.765327)'))) / (select extract(epoch from '2026-07-15 07:47:48'::timestamp) - extract(epoch from '2026-07-15 07:47: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'), 47643, 'SRID=4674;POINT (-40.320791 -2.76518)', '2026-07-15 07:47:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.765327)'), GeomFromEWKT('SRID=4674;POINT (-40.320791 -2.76518)'))) / (select extract(epoch from '2026-07-15 07:47:56'::timestamp) - extract(epoch from '2026-07-15 07:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.765327)'), GeomFromEWKT('SRID=4674;POINT (-40.320791 -2.76518)'))) / (select extract(epoch from '2026-07-15 07:47:56'::timestamp) - extract(epoch from '2026-07-15 07:47: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'), 47643, 'SRID=4674;POINT (-40.320825 -2.765055)', '2026-07-15 07:48:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320791 -2.76518)'), GeomFromEWKT('SRID=4674;POINT (-40.320825 -2.765055)'))) / (select extract(epoch from '2026-07-15 07:48:02'::timestamp) - extract(epoch from '2026-07-15 07:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320791 -2.76518)'), GeomFromEWKT('SRID=4674;POINT (-40.320825 -2.765055)'))) / (select extract(epoch from '2026-07-15 07:48:02'::timestamp) - extract(epoch from '2026-07-15 07:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320789 -2.764971)', '2026-07-15 07:48:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320825 -2.765055)'), GeomFromEWKT('SRID=4674;POINT (-40.320789 -2.764971)'))) / (select extract(epoch from '2026-07-15 07:48:08'::timestamp) - extract(epoch from '2026-07-15 07:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320825 -2.765055)'), GeomFromEWKT('SRID=4674;POINT (-40.320789 -2.764971)'))) / (select extract(epoch from '2026-07-15 07:48:08'::timestamp) - extract(epoch from '2026-07-15 07:48: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'), 47643, 'SRID=4674;POINT (-40.320735 -2.764959)', '2026-07-15 07:48:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320789 -2.764971)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.764959)'))) / (select extract(epoch from '2026-07-15 07:48:14'::timestamp) - extract(epoch from '2026-07-15 07:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320789 -2.764971)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.764959)'))) / (select extract(epoch from '2026-07-15 07:48:14'::timestamp) - extract(epoch from '2026-07-15 07:48: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'), 47643, 'SRID=4674;POINT (-40.320743 -2.764969)', '2026-07-15 07:48:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.764959)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.764969)'))) / (select extract(epoch from '2026-07-15 07:48:24'::timestamp) - extract(epoch from '2026-07-15 07:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.764959)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.764969)'))) / (select extract(epoch from '2026-07-15 07:48:24'::timestamp) - extract(epoch from '2026-07-15 07:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320752 -2.765006)', '2026-07-15 07:48:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.764969)'), GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765006)'))) / (select extract(epoch from '2026-07-15 07:48:33'::timestamp) - extract(epoch from '2026-07-15 07:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.764969)'), GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765006)'))) / (select extract(epoch from '2026-07-15 07:48:33'::timestamp) - extract(epoch from '2026-07-15 07:48: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'), 47643, 'SRID=4674;POINT (-40.320765 -2.76504)', '2026-07-15 07:48:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765006)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.76504)'))) / (select extract(epoch from '2026-07-15 07:48:43'::timestamp) - extract(epoch from '2026-07-15 07:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765006)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.76504)'))) / (select extract(epoch from '2026-07-15 07:48:43'::timestamp) - extract(epoch from '2026-07-15 07:48: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'), 47643, 'SRID=4674;POINT (-40.320752 -2.765035)', '2026-07-15 07:48:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.76504)'), GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765035)'))) / (select extract(epoch from '2026-07-15 07:48:51'::timestamp) - extract(epoch from '2026-07-15 07:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.76504)'), GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765035)'))) / (select extract(epoch from '2026-07-15 07:48:51'::timestamp) - extract(epoch from '2026-07-15 07:48: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'), 47643, 'SRID=4674;POINT (-40.320743 -2.765033)', '2026-07-15 07:48:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765035)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765033)'))) / (select extract(epoch from '2026-07-15 07:48:59'::timestamp) - extract(epoch from '2026-07-15 07:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320752 -2.765035)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765033)'))) / (select extract(epoch from '2026-07-15 07:48:59'::timestamp) - extract(epoch from '2026-07-15 07:48: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'), 47643, 'SRID=4674;POINT (-40.320726 -2.765027)', '2026-07-15 07:49:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765033)'), GeomFromEWKT('SRID=4674;POINT (-40.320726 -2.765027)'))) / (select extract(epoch from '2026-07-15 07:49:07'::timestamp) - extract(epoch from '2026-07-15 07:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765033)'), GeomFromEWKT('SRID=4674;POINT (-40.320726 -2.765027)'))) / (select extract(epoch from '2026-07-15 07:49:07'::timestamp) - extract(epoch from '2026-07-15 07:48: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'), 47643, 'SRID=4674;POINT (-40.320722 -2.765028)', '2026-07-15 07:49:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320726 -2.765027)'), GeomFromEWKT('SRID=4674;POINT (-40.320722 -2.765028)'))) / (select extract(epoch from '2026-07-15 07:49:17'::timestamp) - extract(epoch from '2026-07-15 07:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320726 -2.765027)'), GeomFromEWKT('SRID=4674;POINT (-40.320722 -2.765028)'))) / (select extract(epoch from '2026-07-15 07:49:17'::timestamp) - extract(epoch from '2026-07-15 07:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32072 -2.765031)', '2026-07-15 07:49:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320722 -2.765028)'), GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.765031)'))) / (select extract(epoch from '2026-07-15 07:49:27'::timestamp) - extract(epoch from '2026-07-15 07:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320722 -2.765028)'), GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.765031)'))) / (select extract(epoch from '2026-07-15 07:49:27'::timestamp) - extract(epoch from '2026-07-15 07:49: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'), 47643, 'SRID=4674;POINT (-40.320723 -2.765032)', '2026-07-15 07:49:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.765031)'), GeomFromEWKT('SRID=4674;POINT (-40.320723 -2.765032)'))) / (select extract(epoch from '2026-07-15 07:49:36'::timestamp) - extract(epoch from '2026-07-15 07:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.765031)'), GeomFromEWKT('SRID=4674;POINT (-40.320723 -2.765032)'))) / (select extract(epoch from '2026-07-15 07:49:36'::timestamp) - extract(epoch from '2026-07-15 07:49: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'), 47643, 'SRID=4674;POINT (-40.320737 -2.765046)', '2026-07-15 07:49:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320723 -2.765032)'), GeomFromEWKT('SRID=4674;POINT (-40.320737 -2.765046)'))) / (select extract(epoch from '2026-07-15 07:49:46'::timestamp) - extract(epoch from '2026-07-15 07:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320723 -2.765032)'), GeomFromEWKT('SRID=4674;POINT (-40.320737 -2.765046)'))) / (select extract(epoch from '2026-07-15 07:49:46'::timestamp) - extract(epoch from '2026-07-15 07:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320734 -2.765045)', '2026-07-15 07:49:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320737 -2.765046)'), GeomFromEWKT('SRID=4674;POINT (-40.320734 -2.765045)'))) / (select extract(epoch from '2026-07-15 07:49:57'::timestamp) - extract(epoch from '2026-07-15 07:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320737 -2.765046)'), GeomFromEWKT('SRID=4674;POINT (-40.320734 -2.765045)'))) / (select extract(epoch from '2026-07-15 07:49:57'::timestamp) - extract(epoch from '2026-07-15 07:49: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'), 47643, 'SRID=4674;POINT (-40.32074 -2.765046)', '2026-07-15 07:50:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320734 -2.765045)'), GeomFromEWKT('SRID=4674;POINT (-40.32074 -2.765046)'))) / (select extract(epoch from '2026-07-15 07:50:05'::timestamp) - extract(epoch from '2026-07-15 07:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320734 -2.765045)'), GeomFromEWKT('SRID=4674;POINT (-40.32074 -2.765046)'))) / (select extract(epoch from '2026-07-15 07:50:05'::timestamp) - extract(epoch from '2026-07-15 07:49: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'), 47643, 'SRID=4674;POINT (-40.320732 -2.765056)', '2026-07-15 07:50:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32074 -2.765046)'), GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.765056)'))) / (select extract(epoch from '2026-07-15 07:50:14'::timestamp) - extract(epoch from '2026-07-15 07:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32074 -2.765046)'), GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.765056)'))) / (select extract(epoch from '2026-07-15 07:50:14'::timestamp) - extract(epoch from '2026-07-15 07:50: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'), 47643, 'SRID=4674;POINT (-40.320735 -2.765071)', '2026-07-15 07:50:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.765056)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765071)'))) / (select extract(epoch from '2026-07-15 07:50:25'::timestamp) - extract(epoch from '2026-07-15 07:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.765056)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765071)'))) / (select extract(epoch from '2026-07-15 07:50:25'::timestamp) - extract(epoch from '2026-07-15 07:50: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'), 47643, 'SRID=4674;POINT (-40.320735 -2.765084)', '2026-07-15 07:50:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765071)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765084)'))) / (select extract(epoch from '2026-07-15 07:50:36'::timestamp) - extract(epoch from '2026-07-15 07:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765071)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765084)'))) / (select extract(epoch from '2026-07-15 07:50:36'::timestamp) - extract(epoch from '2026-07-15 07:50: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'), 47643, 'SRID=4674;POINT (-40.320735 -2.765089)', '2026-07-15 07:50:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765084)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765089)'))) / (select extract(epoch from '2026-07-15 07:50:47'::timestamp) - extract(epoch from '2026-07-15 07:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765084)'), GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765089)'))) / (select extract(epoch from '2026-07-15 07:50:47'::timestamp) - extract(epoch from '2026-07-15 07:50: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'), 47643, 'SRID=4674;POINT (-40.320742 -2.765092)', '2026-07-15 07:51:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765089)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765092)'))) / (select extract(epoch from '2026-07-15 07:51:00'::timestamp) - extract(epoch from '2026-07-15 07:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320735 -2.765089)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765092)'))) / (select extract(epoch from '2026-07-15 07:51:00'::timestamp) - extract(epoch from '2026-07-15 07:50: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'), 47643, 'SRID=4674;POINT (-40.320742 -2.765093)', '2026-07-15 07:51:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765092)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765093)'))) / (select extract(epoch from '2026-07-15 07:51:09'::timestamp) - extract(epoch from '2026-07-15 07:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765092)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765093)'))) / (select extract(epoch from '2026-07-15 07:51:09'::timestamp) - extract(epoch from '2026-07-15 07:51: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'), 47643, 'SRID=4674;POINT (-40.320742 -2.765096)', '2026-07-15 07:51:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765093)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765096)'))) / (select extract(epoch from '2026-07-15 07:51:20'::timestamp) - extract(epoch from '2026-07-15 07:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765093)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765096)'))) / (select extract(epoch from '2026-07-15 07:51:20'::timestamp) - extract(epoch from '2026-07-15 07:51: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'), 47643, 'SRID=4674;POINT (-40.320742 -2.765102)', '2026-07-15 07:51:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765096)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765102)'))) / (select extract(epoch from '2026-07-15 07:51:31'::timestamp) - extract(epoch from '2026-07-15 07:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765096)'), GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765102)'))) / (select extract(epoch from '2026-07-15 07:51:31'::timestamp) - extract(epoch from '2026-07-15 07:51: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'), 47643, 'SRID=4674;POINT (-40.320741 -2.765106)', '2026-07-15 07:51:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765102)'), GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.765106)'))) / (select extract(epoch from '2026-07-15 07:51:44'::timestamp) - extract(epoch from '2026-07-15 07:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320742 -2.765102)'), GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.765106)'))) / (select extract(epoch from '2026-07-15 07:51:44'::timestamp) - extract(epoch from '2026-07-15 07:51: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'), 47643, 'SRID=4674;POINT (-40.320743 -2.765115)', '2026-07-15 07:51:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.765106)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765115)'))) / (select extract(epoch from '2026-07-15 07:51:53'::timestamp) - extract(epoch from '2026-07-15 07:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.765106)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765115)'))) / (select extract(epoch from '2026-07-15 07:51:53'::timestamp) - extract(epoch from '2026-07-15 07:51: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'), 47643, 'SRID=4674;POINT (-40.320739 -2.765124)', '2026-07-15 07:52:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765115)'), GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.765124)'))) / (select extract(epoch from '2026-07-15 07:52:04'::timestamp) - extract(epoch from '2026-07-15 07:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765115)'), GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.765124)'))) / (select extract(epoch from '2026-07-15 07:52:04'::timestamp) - extract(epoch from '2026-07-15 07:51: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'), 47643, 'SRID=4674;POINT (-40.320736 -2.765126)', '2026-07-15 07:52:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.765124)'), GeomFromEWKT('SRID=4674;POINT (-40.320736 -2.765126)'))) / (select extract(epoch from '2026-07-15 07:52:13'::timestamp) - extract(epoch from '2026-07-15 07:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320739 -2.765124)'), GeomFromEWKT('SRID=4674;POINT (-40.320736 -2.765126)'))) / (select extract(epoch from '2026-07-15 07:52:13'::timestamp) - extract(epoch from '2026-07-15 07:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320696 -2.765132)', '2026-07-15 07:52:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320736 -2.765126)'), GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765132)'))) / (select extract(epoch from '2026-07-15 07:52:25'::timestamp) - extract(epoch from '2026-07-15 07:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320736 -2.765126)'), GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765132)'))) / (select extract(epoch from '2026-07-15 07:52:25'::timestamp) - extract(epoch from '2026-07-15 07:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320647 -2.765136)', '2026-07-15 07:52:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765132)'), GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.765136)'))) / (select extract(epoch from '2026-07-15 07:52:33'::timestamp) - extract(epoch from '2026-07-15 07:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320696 -2.765132)'), GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.765136)'))) / (select extract(epoch from '2026-07-15 07:52:33'::timestamp) - extract(epoch from '2026-07-15 07:52: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'), 47643, 'SRID=4674;POINT (-40.320597 -2.765141)', '2026-07-15 07:52:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.765136)'), GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.765141)'))) / (select extract(epoch from '2026-07-15 07:52:43'::timestamp) - extract(epoch from '2026-07-15 07:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.765136)'), GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.765141)'))) / (select extract(epoch from '2026-07-15 07:52:43'::timestamp) - extract(epoch from '2026-07-15 07:52: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'), 47643, 'SRID=4674;POINT (-40.320502 -2.765126)', '2026-07-15 07:53:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.765141)'), GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.765126)'))) / (select extract(epoch from '2026-07-15 07:53:02'::timestamp) - extract(epoch from '2026-07-15 07:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320597 -2.765141)'), GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.765126)'))) / (select extract(epoch from '2026-07-15 07:53:02'::timestamp) - extract(epoch from '2026-07-15 07:52: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'), 47643, 'SRID=4674;POINT (-40.320478 -2.765125)', '2026-07-15 07:53:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.765126)'), GeomFromEWKT('SRID=4674;POINT (-40.320478 -2.765125)'))) / (select extract(epoch from '2026-07-15 07:53:09'::timestamp) - extract(epoch from '2026-07-15 07:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.765126)'), GeomFromEWKT('SRID=4674;POINT (-40.320478 -2.765125)'))) / (select extract(epoch from '2026-07-15 07:53:09'::timestamp) - extract(epoch from '2026-07-15 07:53: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'), 47643, 'SRID=4674;POINT (-40.32047 -2.765132)', '2026-07-15 07:53:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320478 -2.765125)'), GeomFromEWKT('SRID=4674;POINT (-40.32047 -2.765132)'))) / (select extract(epoch from '2026-07-15 07:53:20'::timestamp) - extract(epoch from '2026-07-15 07:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320478 -2.765125)'), GeomFromEWKT('SRID=4674;POINT (-40.32047 -2.765132)'))) / (select extract(epoch from '2026-07-15 07:53:20'::timestamp) - extract(epoch from '2026-07-15 07:53: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'), 47643, 'SRID=4674;POINT (-40.320454 -2.765124)', '2026-07-15 07:53:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32047 -2.765132)'), GeomFromEWKT('SRID=4674;POINT (-40.320454 -2.765124)'))) / (select extract(epoch from '2026-07-15 07:53:28'::timestamp) - extract(epoch from '2026-07-15 07:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32047 -2.765132)'), GeomFromEWKT('SRID=4674;POINT (-40.320454 -2.765124)'))) / (select extract(epoch from '2026-07-15 07:53:28'::timestamp) - extract(epoch from '2026-07-15 07: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'), 47643, 'SRID=4674;POINT (-40.320417 -2.765109)', '2026-07-15 07:53:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320454 -2.765124)'), GeomFromEWKT('SRID=4674;POINT (-40.320417 -2.765109)'))) / (select extract(epoch from '2026-07-15 07:53:38'::timestamp) - extract(epoch from '2026-07-15 07:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320454 -2.765124)'), GeomFromEWKT('SRID=4674;POINT (-40.320417 -2.765109)'))) / (select extract(epoch from '2026-07-15 07:53:38'::timestamp) - extract(epoch from '2026-07-15 07:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.3204 -2.765125)', '2026-07-15 07:53:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320417 -2.765109)'), GeomFromEWKT('SRID=4674;POINT (-40.3204 -2.765125)'))) / (select extract(epoch from '2026-07-15 07:53:48'::timestamp) - extract(epoch from '2026-07-15 07:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320417 -2.765109)'), GeomFromEWKT('SRID=4674;POINT (-40.3204 -2.765125)'))) / (select extract(epoch from '2026-07-15 07:53:48'::timestamp) - extract(epoch from '2026-07-15 07:53: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'), 47643, 'SRID=4674;POINT (-40.320406 -2.765145)', '2026-07-15 07:53:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3204 -2.765125)'), GeomFromEWKT('SRID=4674;POINT (-40.320406 -2.765145)'))) / (select extract(epoch from '2026-07-15 07:53:57'::timestamp) - extract(epoch from '2026-07-15 07:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3204 -2.765125)'), GeomFromEWKT('SRID=4674;POINT (-40.320406 -2.765145)'))) / (select extract(epoch from '2026-07-15 07:53:57'::timestamp) - extract(epoch from '2026-07-15 07: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'), 47643, 'SRID=4674;POINT (-40.320404 -2.765159)', '2026-07-15 07:54:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320406 -2.765145)'), GeomFromEWKT('SRID=4674;POINT (-40.320404 -2.765159)'))) / (select extract(epoch from '2026-07-15 07:54:08'::timestamp) - extract(epoch from '2026-07-15 07:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320406 -2.765145)'), GeomFromEWKT('SRID=4674;POINT (-40.320404 -2.765159)'))) / (select extract(epoch from '2026-07-15 07:54:08'::timestamp) - extract(epoch from '2026-07-15 07:53: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'), 47643, 'SRID=4674;POINT (-40.320403 -2.765162)', '2026-07-15 07:54:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320404 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320403 -2.765162)'))) / (select extract(epoch from '2026-07-15 07:54:18'::timestamp) - extract(epoch from '2026-07-15 07:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320404 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320403 -2.765162)'))) / (select extract(epoch from '2026-07-15 07:54:18'::timestamp) - extract(epoch from '2026-07-15 07:54: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'), 47643, 'SRID=4674;POINT (-40.320411 -2.765169)', '2026-07-15 07:54:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320403 -2.765162)'), GeomFromEWKT('SRID=4674;POINT (-40.320411 -2.765169)'))) / (select extract(epoch from '2026-07-15 07:54:27'::timestamp) - extract(epoch from '2026-07-15 07:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320403 -2.765162)'), GeomFromEWKT('SRID=4674;POINT (-40.320411 -2.765169)'))) / (select extract(epoch from '2026-07-15 07:54:27'::timestamp) - extract(epoch from '2026-07-15 07: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'), 47643, 'SRID=4674;POINT (-40.320414 -2.765178)', '2026-07-15 07:54:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320411 -2.765169)'), GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765178)'))) / (select extract(epoch from '2026-07-15 07:54:38'::timestamp) - extract(epoch from '2026-07-15 07:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320411 -2.765169)'), GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765178)'))) / (select extract(epoch from '2026-07-15 07:54:38'::timestamp) - extract(epoch from '2026-07-15 07:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320418 -2.765181)', '2026-07-15 07:54:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765178)'), GeomFromEWKT('SRID=4674;POINT (-40.320418 -2.765181)'))) / (select extract(epoch from '2026-07-15 07:54:46'::timestamp) - extract(epoch from '2026-07-15 07:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765178)'), GeomFromEWKT('SRID=4674;POINT (-40.320418 -2.765181)'))) / (select extract(epoch from '2026-07-15 07:54:46'::timestamp) - extract(epoch from '2026-07-15 07:54: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'), 47643, 'SRID=4674;POINT (-40.32042 -2.765182)', '2026-07-15 07:54:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320418 -2.765181)'), GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765182)'))) / (select extract(epoch from '2026-07-15 07:54:58'::timestamp) - extract(epoch from '2026-07-15 07:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320418 -2.765181)'), GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765182)'))) / (select extract(epoch from '2026-07-15 07:54:58'::timestamp) - extract(epoch from '2026-07-15 07:54: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'), 47643, 'SRID=4674;POINT (-40.320422 -2.76519)', '2026-07-15 07:55:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765182)'), GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.76519)'))) / (select extract(epoch from '2026-07-15 07:55:09'::timestamp) - extract(epoch from '2026-07-15 07:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765182)'), GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.76519)'))) / (select extract(epoch from '2026-07-15 07:55:09'::timestamp) - extract(epoch from '2026-07-15 07:54: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'), 47643, 'SRID=4674;POINT (-40.320424 -2.765211)', '2026-07-15 07:55:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.76519)'), GeomFromEWKT('SRID=4674;POINT (-40.320424 -2.765211)'))) / (select extract(epoch from '2026-07-15 07:55:21'::timestamp) - extract(epoch from '2026-07-15 07:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.76519)'), GeomFromEWKT('SRID=4674;POINT (-40.320424 -2.765211)'))) / (select extract(epoch from '2026-07-15 07:55:21'::timestamp) - extract(epoch from '2026-07-15 07:55: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'), 47643, 'SRID=4674;POINT (-40.320429 -2.765225)', '2026-07-15 07:55:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320424 -2.765211)'), GeomFromEWKT('SRID=4674;POINT (-40.320429 -2.765225)'))) / (select extract(epoch from '2026-07-15 07:55:36'::timestamp) - extract(epoch from '2026-07-15 07:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320424 -2.765211)'), GeomFromEWKT('SRID=4674;POINT (-40.320429 -2.765225)'))) / (select extract(epoch from '2026-07-15 07:55:36'::timestamp) - extract(epoch from '2026-07-15 07:55: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'), 47643, 'SRID=4674;POINT (-40.320425 -2.76523)', '2026-07-15 07:55:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320429 -2.765225)'), GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'))) / (select extract(epoch from '2026-07-15 07:55:51'::timestamp) - extract(epoch from '2026-07-15 07:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320429 -2.765225)'), GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'))) / (select extract(epoch from '2026-07-15 07:55:51'::timestamp) - extract(epoch from '2026-07-15 07: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'), 47643, 'SRID=4674;POINT (-40.320427 -2.765234)', '2026-07-15 07:56:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'), GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765234)'))) / (select extract(epoch from '2026-07-15 07:56:04'::timestamp) - extract(epoch from '2026-07-15 07:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'), GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765234)'))) / (select extract(epoch from '2026-07-15 07:56:04'::timestamp) - extract(epoch from '2026-07-15 07:55: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'), 47643, 'SRID=4674;POINT (-40.320425 -2.76523)', '2026-07-15 07:56:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765234)'), GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'))) / (select extract(epoch from '2026-07-15 07:56:14'::timestamp) - extract(epoch from '2026-07-15 07:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765234)'), GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'))) / (select extract(epoch from '2026-07-15 07:56:14'::timestamp) - extract(epoch from '2026-07-15 07: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'), 47643, 'SRID=4674;POINT (-40.320428 -2.765234)', '2026-07-15 07:56:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'), GeomFromEWKT('SRID=4674;POINT (-40.320428 -2.765234)'))) / (select extract(epoch from '2026-07-15 07:56:25'::timestamp) - extract(epoch from '2026-07-15 07:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320425 -2.76523)'), GeomFromEWKT('SRID=4674;POINT (-40.320428 -2.765234)'))) / (select extract(epoch from '2026-07-15 07:56:25'::timestamp) - extract(epoch from '2026-07-15 07:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32043 -2.765244)', '2026-07-15 07:56:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320428 -2.765234)'), GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765244)'))) / (select extract(epoch from '2026-07-15 07:56:41'::timestamp) - extract(epoch from '2026-07-15 07:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320428 -2.765234)'), GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765244)'))) / (select extract(epoch from '2026-07-15 07:56:41'::timestamp) - extract(epoch from '2026-07-15 07:56: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'), 47643, 'SRID=4674;POINT (-40.320439 -2.765243)', '2026-07-15 07:56:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765244)'), GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765243)'))) / (select extract(epoch from '2026-07-15 07:56:53'::timestamp) - extract(epoch from '2026-07-15 07:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765244)'), GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765243)'))) / (select extract(epoch from '2026-07-15 07:56:53'::timestamp) - extract(epoch from '2026-07-15 07:56: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'), 47643, 'SRID=4674;POINT (-40.320436 -2.765241)', '2026-07-15 07:57:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765243)'), GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.765241)'))) / (select extract(epoch from '2026-07-15 07:57:05'::timestamp) - extract(epoch from '2026-07-15 07:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765243)'), GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.765241)'))) / (select extract(epoch from '2026-07-15 07:57:05'::timestamp) - extract(epoch from '2026-07-15 07:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320439 -2.765239)', '2026-07-15 07:57:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.765241)'), GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765239)'))) / (select extract(epoch from '2026-07-15 07:57:19'::timestamp) - extract(epoch from '2026-07-15 07:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320436 -2.765241)'), GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765239)'))) / (select extract(epoch from '2026-07-15 07:57:19'::timestamp) - extract(epoch from '2026-07-15 07:57: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'), 47643, 'SRID=4674;POINT (-40.320439 -2.765242)', '2026-07-15 07:57:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765239)'), GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765242)'))) / (select extract(epoch from '2026-07-15 07:57:30'::timestamp) - extract(epoch from '2026-07-15 07:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765239)'), GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765242)'))) / (select extract(epoch from '2026-07-15 07:57:30'::timestamp) - extract(epoch from '2026-07-15 07:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320444 -2.765235)', '2026-07-15 07:57:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765242)'), GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765235)'))) / (select extract(epoch from '2026-07-15 07:57:42'::timestamp) - extract(epoch from '2026-07-15 07:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320439 -2.765242)'), GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765235)'))) / (select extract(epoch from '2026-07-15 07:57:42'::timestamp) - extract(epoch from '2026-07-15 07:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320442 -2.765227)', '2026-07-15 07:57:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765235)'), GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.765227)'))) / (select extract(epoch from '2026-07-15 07:57:54'::timestamp) - extract(epoch from '2026-07-15 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765235)'), GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.765227)'))) / (select extract(epoch from '2026-07-15 07:57:54'::timestamp) - extract(epoch from '2026-07-15 07:57: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'), 47643, 'SRID=4674;POINT (-40.320432 -2.765234)', '2026-07-15 07:58:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.765227)'), GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765234)'))) / (select extract(epoch from '2026-07-15 07:58:03'::timestamp) - extract(epoch from '2026-07-15 07:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320442 -2.765227)'), GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765234)'))) / (select extract(epoch from '2026-07-15 07:58:03'::timestamp) - extract(epoch from '2026-07-15 07:57: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'), 47643, 'SRID=4674;POINT (-40.320421 -2.765235)', '2026-07-15 07:58:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765234)'), GeomFromEWKT('SRID=4674;POINT (-40.320421 -2.765235)'))) / (select extract(epoch from '2026-07-15 07:58:12'::timestamp) - extract(epoch from '2026-07-15 07:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765234)'), GeomFromEWKT('SRID=4674;POINT (-40.320421 -2.765235)'))) / (select extract(epoch from '2026-07-15 07:58:12'::timestamp) - extract(epoch from '2026-07-15 07:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320433 -2.76523)', '2026-07-15 07:58:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320421 -2.765235)'), GeomFromEWKT('SRID=4674;POINT (-40.320433 -2.76523)'))) / (select extract(epoch from '2026-07-15 07:58:22'::timestamp) - extract(epoch from '2026-07-15 07:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320421 -2.765235)'), GeomFromEWKT('SRID=4674;POINT (-40.320433 -2.76523)'))) / (select extract(epoch from '2026-07-15 07:58:22'::timestamp) - extract(epoch from '2026-07-15 07:58: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'), 47643, 'SRID=4674;POINT (-40.320489 -2.765184)', '2026-07-15 07:58:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320433 -2.76523)'), GeomFromEWKT('SRID=4674;POINT (-40.320489 -2.765184)'))) / (select extract(epoch from '2026-07-15 07:58:38'::timestamp) - extract(epoch from '2026-07-15 07:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320433 -2.76523)'), GeomFromEWKT('SRID=4674;POINT (-40.320489 -2.765184)'))) / (select extract(epoch from '2026-07-15 07:58:38'::timestamp) - extract(epoch from '2026-07-15 07:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320561 -2.765105)', '2026-07-15 07:58:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320489 -2.765184)'), GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.765105)'))) / (select extract(epoch from '2026-07-15 07:58:57'::timestamp) - extract(epoch from '2026-07-15 07:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320489 -2.765184)'), GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.765105)'))) / (select extract(epoch from '2026-07-15 07:58:57'::timestamp) - extract(epoch from '2026-07-15 07: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'), 47643, 'SRID=4674;POINT (-40.320606 -2.765122)', '2026-07-15 07:59:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.765105)'), GeomFromEWKT('SRID=4674;POINT (-40.320606 -2.765122)'))) / (select extract(epoch from '2026-07-15 07:59:09'::timestamp) - extract(epoch from '2026-07-15 07:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320561 -2.765105)'), GeomFromEWKT('SRID=4674;POINT (-40.320606 -2.765122)'))) / (select extract(epoch from '2026-07-15 07:59:09'::timestamp) - extract(epoch from '2026-07-15 07:58: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'), 47643, 'SRID=4674;POINT (-40.320599 -2.76526)', '2026-07-15 07:59:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320606 -2.765122)'), GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.76526)'))) / (select extract(epoch from '2026-07-15 07:59:19'::timestamp) - extract(epoch from '2026-07-15 07:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320606 -2.765122)'), GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.76526)'))) / (select extract(epoch from '2026-07-15 07:59:19'::timestamp) - extract(epoch from '2026-07-15 07:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320603 -2.765381)', '2026-07-15 07:59:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.76526)'), GeomFromEWKT('SRID=4674;POINT (-40.320603 -2.765381)'))) / (select extract(epoch from '2026-07-15 07:59:25'::timestamp) - extract(epoch from '2026-07-15 07:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.76526)'), GeomFromEWKT('SRID=4674;POINT (-40.320603 -2.765381)'))) / (select extract(epoch from '2026-07-15 07:59:25'::timestamp) - extract(epoch from '2026-07-15 07:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320655 -2.765552)', '2026-07-15 07:59:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320603 -2.765381)'), GeomFromEWKT('SRID=4674;POINT (-40.320655 -2.765552)'))) / (select extract(epoch from '2026-07-15 07:59:33'::timestamp) - extract(epoch from '2026-07-15 07:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320603 -2.765381)'), GeomFromEWKT('SRID=4674;POINT (-40.320655 -2.765552)'))) / (select extract(epoch from '2026-07-15 07:59:33'::timestamp) - extract(epoch from '2026-07-15 07:59: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'), 47643, 'SRID=4674;POINT (-40.320708 -2.765667)', '2026-07-15 07:59:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320655 -2.765552)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.765667)'))) / (select extract(epoch from '2026-07-15 07:59:39'::timestamp) - extract(epoch from '2026-07-15 07:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320655 -2.765552)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.765667)'))) / (select extract(epoch from '2026-07-15 07:59:39'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.320819 -2.765805)', '2026-07-15 07:59:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.765667)'), GeomFromEWKT('SRID=4674;POINT (-40.320819 -2.765805)'))) / (select extract(epoch from '2026-07-15 07:59:47'::timestamp) - extract(epoch from '2026-07-15 07:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.765667)'), GeomFromEWKT('SRID=4674;POINT (-40.320819 -2.765805)'))) / (select extract(epoch from '2026-07-15 07:59:47'::timestamp) - extract(epoch from '2026-07-15 07:59: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'), 47643, 'SRID=4674;POINT (-40.320889 -2.765981)', '2026-07-15 07:59:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320819 -2.765805)'), GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765981)'))) / (select extract(epoch from '2026-07-15 07:59:56'::timestamp) - extract(epoch from '2026-07-15 07:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320819 -2.765805)'), GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765981)'))) / (select extract(epoch from '2026-07-15 07:59:56'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.320909 -2.766125)', '2026-07-15 08:00:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765981)'), GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.766125)'))) / (select extract(epoch from '2026-07-15 08:00:03'::timestamp) - extract(epoch from '2026-07-15 07:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320889 -2.765981)'), GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.766125)'))) / (select extract(epoch from '2026-07-15 08:00:03'::timestamp) - extract(epoch from '2026-07-15 07:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320904 -2.766235)', '2026-07-15 08:00:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.766125)'), GeomFromEWKT('SRID=4674;POINT (-40.320904 -2.766235)'))) / (select extract(epoch from '2026-07-15 08:00:09'::timestamp) - extract(epoch from '2026-07-15 08:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.766125)'), GeomFromEWKT('SRID=4674;POINT (-40.320904 -2.766235)'))) / (select extract(epoch from '2026-07-15 08:00:09'::timestamp) - extract(epoch from '2026-07-15 08:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320907 -2.766353)', '2026-07-15 08:00:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320904 -2.766235)'), GeomFromEWKT('SRID=4674;POINT (-40.320907 -2.766353)'))) / (select extract(epoch from '2026-07-15 08:00:15'::timestamp) - extract(epoch from '2026-07-15 08:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320904 -2.766235)'), GeomFromEWKT('SRID=4674;POINT (-40.320907 -2.766353)'))) / (select extract(epoch from '2026-07-15 08:00:15'::timestamp) - extract(epoch from '2026-07-15 08:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.320928 -2.766482)', '2026-07-15 08:00:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320907 -2.766353)'), GeomFromEWKT('SRID=4674;POINT (-40.320928 -2.766482)'))) / (select extract(epoch from '2026-07-15 08:00:22'::timestamp) - extract(epoch from '2026-07-15 08:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320907 -2.766353)'), GeomFromEWKT('SRID=4674;POINT (-40.320928 -2.766482)'))) / (select extract(epoch from '2026-07-15 08:00:22'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.320952 -2.76662)', '2026-07-15 08:00:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320928 -2.766482)'), GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.76662)'))) / (select extract(epoch from '2026-07-15 08:00:29'::timestamp) - extract(epoch from '2026-07-15 08:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320928 -2.766482)'), GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.76662)'))) / (select extract(epoch from '2026-07-15 08:00:29'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.320986 -2.766754)', '2026-07-15 08:00:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.76662)'), GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.766754)'))) / (select extract(epoch from '2026-07-15 08:00:36'::timestamp) - extract(epoch from '2026-07-15 08:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320952 -2.76662)'), GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.766754)'))) / (select extract(epoch from '2026-07-15 08:00:36'::timestamp) - extract(epoch from '2026-07-15 08:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32104 -2.766877)', '2026-07-15 08:00:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.766754)'), GeomFromEWKT('SRID=4674;POINT (-40.32104 -2.766877)'))) / (select extract(epoch from '2026-07-15 08:00:43'::timestamp) - extract(epoch from '2026-07-15 08:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320986 -2.766754)'), GeomFromEWKT('SRID=4674;POINT (-40.32104 -2.766877)'))) / (select extract(epoch from '2026-07-15 08:00:43'::timestamp) - extract(epoch from '2026-07-15 08:00: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'), 47643, 'SRID=4674;POINT (-40.321061 -2.766977)', '2026-07-15 08:00:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32104 -2.766877)'), GeomFromEWKT('SRID=4674;POINT (-40.321061 -2.766977)'))) / (select extract(epoch from '2026-07-15 08:00:48'::timestamp) - extract(epoch from '2026-07-15 08:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32104 -2.766877)'), GeomFromEWKT('SRID=4674;POINT (-40.321061 -2.766977)'))) / (select extract(epoch from '2026-07-15 08:00:48'::timestamp) - extract(epoch from '2026-07-15 08:00: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'), 47643, 'SRID=4674;POINT (-40.321077 -2.767116)', '2026-07-15 08:00:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321061 -2.766977)'), GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.767116)'))) / (select extract(epoch from '2026-07-15 08:00:55'::timestamp) - extract(epoch from '2026-07-15 08:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321061 -2.766977)'), GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.767116)'))) / (select extract(epoch from '2026-07-15 08:00:55'::timestamp) - extract(epoch from '2026-07-15 08:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321107 -2.767248)', '2026-07-15 08:01:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.767116)'), GeomFromEWKT('SRID=4674;POINT (-40.321107 -2.767248)'))) / (select extract(epoch from '2026-07-15 08:01:01'::timestamp) - extract(epoch from '2026-07-15 08:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.767116)'), GeomFromEWKT('SRID=4674;POINT (-40.321107 -2.767248)'))) / (select extract(epoch from '2026-07-15 08:01:01'::timestamp) - extract(epoch from '2026-07-15 08:00: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'), 47643, 'SRID=4674;POINT (-40.321152 -2.767373)', '2026-07-15 08:01:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321107 -2.767248)'), GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.767373)'))) / (select extract(epoch from '2026-07-15 08:01:07'::timestamp) - extract(epoch from '2026-07-15 08:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321107 -2.767248)'), GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.767373)'))) / (select extract(epoch from '2026-07-15 08:01:07'::timestamp) - extract(epoch from '2026-07-15 08:01: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'), 47643, 'SRID=4674;POINT (-40.321174 -2.767478)', '2026-07-15 08:01:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.767373)'), GeomFromEWKT('SRID=4674;POINT (-40.321174 -2.767478)'))) / (select extract(epoch from '2026-07-15 08:01:13'::timestamp) - extract(epoch from '2026-07-15 08:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.767373)'), GeomFromEWKT('SRID=4674;POINT (-40.321174 -2.767478)'))) / (select extract(epoch from '2026-07-15 08:01:13'::timestamp) - extract(epoch from '2026-07-15 08:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321186 -2.767563)', '2026-07-15 08:01:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321174 -2.767478)'), GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.767563)'))) / (select extract(epoch from '2026-07-15 08:01:18'::timestamp) - extract(epoch from '2026-07-15 08:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321174 -2.767478)'), GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.767563)'))) / (select extract(epoch from '2026-07-15 08:01:18'::timestamp) - extract(epoch from '2026-07-15 08:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321205 -2.767681)', '2026-07-15 08:01:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.767563)'), GeomFromEWKT('SRID=4674;POINT (-40.321205 -2.767681)'))) / (select extract(epoch from '2026-07-15 08:01:24'::timestamp) - extract(epoch from '2026-07-15 08:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321186 -2.767563)'), GeomFromEWKT('SRID=4674;POINT (-40.321205 -2.767681)'))) / (select extract(epoch from '2026-07-15 08:01:24'::timestamp) - extract(epoch from '2026-07-15 08:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321254 -2.767824)', '2026-07-15 08:01:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321205 -2.767681)'), GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.767824)'))) / (select extract(epoch from '2026-07-15 08:01:32'::timestamp) - extract(epoch from '2026-07-15 08:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321205 -2.767681)'), GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.767824)'))) / (select extract(epoch from '2026-07-15 08:01:32'::timestamp) - extract(epoch from '2026-07-15 08:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321326 -2.767975)', '2026-07-15 08:01:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.767824)'), GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.767975)'))) / (select extract(epoch from '2026-07-15 08:01:40'::timestamp) - extract(epoch from '2026-07-15 08:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.767824)'), GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.767975)'))) / (select extract(epoch from '2026-07-15 08:01:40'::timestamp) - extract(epoch from '2026-07-15 08:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321335 -2.768013)', '2026-07-15 08:01:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.767975)'), GeomFromEWKT('SRID=4674;POINT (-40.321335 -2.768013)'))) / (select extract(epoch from '2026-07-15 08:01:42'::timestamp) - extract(epoch from '2026-07-15 08:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.767975)'), GeomFromEWKT('SRID=4674;POINT (-40.321335 -2.768013)'))) / (select extract(epoch from '2026-07-15 08:01:42'::timestamp) - extract(epoch from '2026-07-15 08:01: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'), 47643, 'SRID=4674;POINT (-40.321341 -2.768097)', '2026-07-15 08:01:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321335 -2.768013)'), GeomFromEWKT('SRID=4674;POINT (-40.321341 -2.768097)'))) / (select extract(epoch from '2026-07-15 08:01:46'::timestamp) - extract(epoch from '2026-07-15 08:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321335 -2.768013)'), GeomFromEWKT('SRID=4674;POINT (-40.321341 -2.768097)'))) / (select extract(epoch from '2026-07-15 08:01:46'::timestamp) - extract(epoch from '2026-07-15 08:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321403 -2.768232)', '2026-07-15 08:01:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321341 -2.768097)'), GeomFromEWKT('SRID=4674;POINT (-40.321403 -2.768232)'))) / (select extract(epoch from '2026-07-15 08:01:53'::timestamp) - extract(epoch from '2026-07-15 08:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321341 -2.768097)'), GeomFromEWKT('SRID=4674;POINT (-40.321403 -2.768232)'))) / (select extract(epoch from '2026-07-15 08:01:53'::timestamp) - extract(epoch from '2026-07-15 08:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321446 -2.768335)', '2026-07-15 08:01:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321403 -2.768232)'), GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768335)'))) / (select extract(epoch from '2026-07-15 08:01:59'::timestamp) - extract(epoch from '2026-07-15 08:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321403 -2.768232)'), GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768335)'))) / (select extract(epoch from '2026-07-15 08:01:59'::timestamp) - extract(epoch from '2026-07-15 08:01: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'), 47643, 'SRID=4674;POINT (-40.321472 -2.768455)', '2026-07-15 08:02:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768335)'), GeomFromEWKT('SRID=4674;POINT (-40.321472 -2.768455)'))) / (select extract(epoch from '2026-07-15 08:02:06'::timestamp) - extract(epoch from '2026-07-15 08:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768335)'), GeomFromEWKT('SRID=4674;POINT (-40.321472 -2.768455)'))) / (select extract(epoch from '2026-07-15 08:02:06'::timestamp) - extract(epoch from '2026-07-15 08:01: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'), 47643, 'SRID=4674;POINT (-40.321543 -2.768602)', '2026-07-15 08:02:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321472 -2.768455)'), GeomFromEWKT('SRID=4674;POINT (-40.321543 -2.768602)'))) / (select extract(epoch from '2026-07-15 08:02:14'::timestamp) - extract(epoch from '2026-07-15 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321472 -2.768455)'), GeomFromEWKT('SRID=4674;POINT (-40.321543 -2.768602)'))) / (select extract(epoch from '2026-07-15 08:02:14'::timestamp) - extract(epoch from '2026-07-15 08:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321606 -2.768731)', '2026-07-15 08:02:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321543 -2.768602)'), GeomFromEWKT('SRID=4674;POINT (-40.321606 -2.768731)'))) / (select extract(epoch from '2026-07-15 08:02:21'::timestamp) - extract(epoch from '2026-07-15 08:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321543 -2.768602)'), GeomFromEWKT('SRID=4674;POINT (-40.321606 -2.768731)'))) / (select extract(epoch from '2026-07-15 08:02:21'::timestamp) - extract(epoch from '2026-07-15 08:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321637 -2.768848)', '2026-07-15 08:02:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321606 -2.768731)'), GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768848)'))) / (select extract(epoch from '2026-07-15 08:02:27'::timestamp) - extract(epoch from '2026-07-15 08:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321606 -2.768731)'), GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768848)'))) / (select extract(epoch from '2026-07-15 08:02:27'::timestamp) - extract(epoch from '2026-07-15 08:02: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'), 47643, 'SRID=4674;POINT (-40.321646 -2.768937)', '2026-07-15 08:02:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768848)'), GeomFromEWKT('SRID=4674;POINT (-40.321646 -2.768937)'))) / (select extract(epoch from '2026-07-15 08:02:32'::timestamp) - extract(epoch from '2026-07-15 08:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321637 -2.768848)'), GeomFromEWKT('SRID=4674;POINT (-40.321646 -2.768937)'))) / (select extract(epoch from '2026-07-15 08:02:32'::timestamp) - extract(epoch from '2026-07-15 08:02: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'), 47643, 'SRID=4674;POINT (-40.321664 -2.769116)', '2026-07-15 08:02:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321646 -2.768937)'), GeomFromEWKT('SRID=4674;POINT (-40.321664 -2.769116)'))) / (select extract(epoch from '2026-07-15 08:02:41'::timestamp) - extract(epoch from '2026-07-15 08:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321646 -2.768937)'), GeomFromEWKT('SRID=4674;POINT (-40.321664 -2.769116)'))) / (select extract(epoch from '2026-07-15 08:02:41'::timestamp) - extract(epoch from '2026-07-15 08:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321697 -2.769243)', '2026-07-15 08:02:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321664 -2.769116)'), GeomFromEWKT('SRID=4674;POINT (-40.321697 -2.769243)'))) / (select extract(epoch from '2026-07-15 08:02:47'::timestamp) - extract(epoch from '2026-07-15 08:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321664 -2.769116)'), GeomFromEWKT('SRID=4674;POINT (-40.321697 -2.769243)'))) / (select extract(epoch from '2026-07-15 08:02:47'::timestamp) - extract(epoch from '2026-07-15 08:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321732 -2.76936)', '2026-07-15 08:02:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321697 -2.769243)'), GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.76936)'))) / (select extract(epoch from '2026-07-15 08:02:53'::timestamp) - extract(epoch from '2026-07-15 08:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321697 -2.769243)'), GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.76936)'))) / (select extract(epoch from '2026-07-15 08:02:53'::timestamp) - extract(epoch from '2026-07-15 08:02: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'), 47643, 'SRID=4674;POINT (-40.32176 -2.76948)', '2026-07-15 08:02:59', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.76936)'), GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.76948)'))) / (select extract(epoch from '2026-07-15 08:02:59'::timestamp) - extract(epoch from '2026-07-15 08:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321732 -2.76936)'), GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.76948)'))) / (select extract(epoch from '2026-07-15 08:02:59'::timestamp) - extract(epoch from '2026-07-15 08:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321788 -2.769593)', '2026-07-15 08:03:05', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.76948)'), GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.769593)'))) / (select extract(epoch from '2026-07-15 08:03:05'::timestamp) - extract(epoch from '2026-07-15 08:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.76948)'), GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.769593)'))) / (select extract(epoch from '2026-07-15 08:03:05'::timestamp) - extract(epoch from '2026-07-15 08:02: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'), 47643, 'SRID=4674;POINT (-40.321833 -2.769713)', '2026-07-15 08:03:11', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.769593)'), GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.769713)'))) / (select extract(epoch from '2026-07-15 08:03:11'::timestamp) - extract(epoch from '2026-07-15 08:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321788 -2.769593)'), GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.769713)'))) / (select extract(epoch from '2026-07-15 08:03:11'::timestamp) - extract(epoch from '2026-07-15 08:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321874 -2.76982)', '2026-07-15 08:03:18', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.769713)'), GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.76982)'))) / (select extract(epoch from '2026-07-15 08:03:18'::timestamp) - extract(epoch from '2026-07-15 08:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321833 -2.769713)'), GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.76982)'))) / (select extract(epoch from '2026-07-15 08:03:18'::timestamp) - extract(epoch from '2026-07-15 08:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321907 -2.769925)', '2026-07-15 08:03:23', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.76982)'), GeomFromEWKT('SRID=4674;POINT (-40.321907 -2.769925)'))) / (select extract(epoch from '2026-07-15 08:03:23'::timestamp) - extract(epoch from '2026-07-15 08:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321874 -2.76982)'), GeomFromEWKT('SRID=4674;POINT (-40.321907 -2.769925)'))) / (select extract(epoch from '2026-07-15 08:03:23'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.321904 -2.770021)', '2026-07-15 08:03:31', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321907 -2.769925)'), GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.770021)'))) / (select extract(epoch from '2026-07-15 08:03:31'::timestamp) - extract(epoch from '2026-07-15 08:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321907 -2.769925)'), GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.770021)'))) / (select extract(epoch from '2026-07-15 08:03:31'::timestamp) - extract(epoch from '2026-07-15 08:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321894 -2.770074)', '2026-07-15 08:03:37', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.770021)'), GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.770074)'))) / (select extract(epoch from '2026-07-15 08:03:37'::timestamp) - extract(epoch from '2026-07-15 08:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321904 -2.770021)'), GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.770074)'))) / (select extract(epoch from '2026-07-15 08:03:37'::timestamp) - extract(epoch from '2026-07-15 08:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321903 -2.770106)', '2026-07-15 08:03:44', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.770074)'), GeomFromEWKT('SRID=4674;POINT (-40.321903 -2.770106)'))) / (select extract(epoch from '2026-07-15 08:03:44'::timestamp) - extract(epoch from '2026-07-15 08:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321894 -2.770074)'), GeomFromEWKT('SRID=4674;POINT (-40.321903 -2.770106)'))) / (select extract(epoch from '2026-07-15 08:03:44'::timestamp) - extract(epoch from '2026-07-15 08:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321927 -2.77012)', '2026-07-15 08:03:54', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321903 -2.770106)'), GeomFromEWKT('SRID=4674;POINT (-40.321927 -2.77012)'))) / (select extract(epoch from '2026-07-15 08:03:54'::timestamp) - extract(epoch from '2026-07-15 08:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321903 -2.770106)'), GeomFromEWKT('SRID=4674;POINT (-40.321927 -2.77012)'))) / (select extract(epoch from '2026-07-15 08:03:54'::timestamp) - extract(epoch from '2026-07-15 08:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.321952 -2.77012)', '2026-07-15 08:04:07', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321927 -2.77012)'), GeomFromEWKT('SRID=4674;POINT (-40.321952 -2.77012)'))) / (select extract(epoch from '2026-07-15 08:04:07'::timestamp) - extract(epoch from '2026-07-15 08:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321927 -2.77012)'), GeomFromEWKT('SRID=4674;POINT (-40.321952 -2.77012)'))) / (select extract(epoch from '2026-07-15 08:04:07'::timestamp) - extract(epoch from '2026-07-15 08:03: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'), 47643, 'SRID=4674;POINT (-40.321978 -2.770114)', '2026-07-15 08:04:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321952 -2.77012)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.770114)'))) / (select extract(epoch from '2026-07-15 08:04:14'::timestamp) - extract(epoch from '2026-07-15 08:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321952 -2.77012)'), GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.770114)'))) / (select extract(epoch from '2026-07-15 08:04:14'::timestamp) - extract(epoch from '2026-07-15 08:04: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'), 47643, 'SRID=4674;POINT (-40.322067 -2.770105)', '2026-07-15 08:04:31', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.770114)'), GeomFromEWKT('SRID=4674;POINT (-40.322067 -2.770105)'))) / (select extract(epoch from '2026-07-15 08:04:31'::timestamp) - extract(epoch from '2026-07-15 08:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321978 -2.770114)'), GeomFromEWKT('SRID=4674;POINT (-40.322067 -2.770105)'))) / (select extract(epoch from '2026-07-15 08:04:31'::timestamp) - extract(epoch from '2026-07-15 08:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322072 -2.770103)', '2026-07-15 08:04:45', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322067 -2.770105)'), GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770103)'))) / (select extract(epoch from '2026-07-15 08:04:45'::timestamp) - extract(epoch from '2026-07-15 08:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322067 -2.770105)'), GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770103)'))) / (select extract(epoch from '2026-07-15 08:04:45'::timestamp) - extract(epoch from '2026-07-15 08:04: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'), 47643, 'SRID=4674;POINT (-40.322102 -2.770089)', '2026-07-15 08:04:57', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770103)'), GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.770089)'))) / (select extract(epoch from '2026-07-15 08:04:57'::timestamp) - extract(epoch from '2026-07-15 08:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322072 -2.770103)'), GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.770089)'))) / (select extract(epoch from '2026-07-15 08:04:57'::timestamp) - extract(epoch from '2026-07-15 08:04: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'), 47643, 'SRID=4674;POINT (-40.322172 -2.770048)', '2026-07-15 08:05:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.770089)'), GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.770048)'))) / (select extract(epoch from '2026-07-15 08:05:11'::timestamp) - extract(epoch from '2026-07-15 08:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322102 -2.770089)'), GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.770048)'))) / (select extract(epoch from '2026-07-15 08:05:11'::timestamp) - extract(epoch from '2026-07-15 08:04:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322202 -2.770051)', '2026-07-15 08:05:23', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322202 -2.770051)'))) / (select extract(epoch from '2026-07-15 08:05:23'::timestamp) - extract(epoch from '2026-07-15 08:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322172 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322202 -2.770051)'))) / (select extract(epoch from '2026-07-15 08:05:23'::timestamp) - extract(epoch from '2026-07-15 08:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322208 -2.770054)', '2026-07-15 08:05:31', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322202 -2.770051)'), GeomFromEWKT('SRID=4674;POINT (-40.322208 -2.770054)'))) / (select extract(epoch from '2026-07-15 08:05:31'::timestamp) - extract(epoch from '2026-07-15 08:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322202 -2.770051)'), GeomFromEWKT('SRID=4674;POINT (-40.322208 -2.770054)'))) / (select extract(epoch from '2026-07-15 08:05:31'::timestamp) - extract(epoch from '2026-07-15 08: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'), 47643, 'SRID=4674;POINT (-40.322223 -2.770054)', '2026-07-15 08:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322208 -2.770054)'), GeomFromEWKT('SRID=4674;POINT (-40.322223 -2.770054)'))) / (select extract(epoch from '2026-07-15 08:05:43'::timestamp) - extract(epoch from '2026-07-15 08:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322208 -2.770054)'), GeomFromEWKT('SRID=4674;POINT (-40.322223 -2.770054)'))) / (select extract(epoch from '2026-07-15 08:05:43'::timestamp) - extract(epoch from '2026-07-15 08:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322226 -2.77006)', '2026-07-15 08:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322223 -2.770054)'), GeomFromEWKT('SRID=4674;POINT (-40.322226 -2.77006)'))) / (select extract(epoch from '2026-07-15 08:05:55'::timestamp) - extract(epoch from '2026-07-15 08:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322223 -2.770054)'), GeomFromEWKT('SRID=4674;POINT (-40.322226 -2.77006)'))) / (select extract(epoch from '2026-07-15 08:05:55'::timestamp) - extract(epoch from '2026-07-15 08:05: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'), 47643, 'SRID=4674;POINT (-40.322234 -2.770052)', '2026-07-15 08:06:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322226 -2.77006)'), GeomFromEWKT('SRID=4674;POINT (-40.322234 -2.770052)'))) / (select extract(epoch from '2026-07-15 08:06:07'::timestamp) - extract(epoch from '2026-07-15 08:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322226 -2.77006)'), GeomFromEWKT('SRID=4674;POINT (-40.322234 -2.770052)'))) / (select extract(epoch from '2026-07-15 08:06:07'::timestamp) - extract(epoch from '2026-07-15 08:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322243 -2.770048)', '2026-07-15 08:06:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322234 -2.770052)'), GeomFromEWKT('SRID=4674;POINT (-40.322243 -2.770048)'))) / (select extract(epoch from '2026-07-15 08:06:14'::timestamp) - extract(epoch from '2026-07-15 08:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322234 -2.770052)'), GeomFromEWKT('SRID=4674;POINT (-40.322243 -2.770048)'))) / (select extract(epoch from '2026-07-15 08:06:14'::timestamp) - extract(epoch from '2026-07-15 08:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322255 -2.770051)', '2026-07-15 08:06:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322243 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.770051)'))) / (select extract(epoch from '2026-07-15 08:06:20'::timestamp) - extract(epoch from '2026-07-15 08:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322243 -2.770048)'), GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.770051)'))) / (select extract(epoch from '2026-07-15 08:06:20'::timestamp) - extract(epoch from '2026-07-15 08:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322281 -2.770043)', '2026-07-15 08:06:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.770051)'), GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.770043)'))) / (select extract(epoch from '2026-07-15 08:06:36'::timestamp) - extract(epoch from '2026-07-15 08:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322255 -2.770051)'), GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.770043)'))) / (select extract(epoch from '2026-07-15 08:06:36'::timestamp) - extract(epoch from '2026-07-15 08:06: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'), 47643, 'SRID=4674;POINT (-40.322309 -2.770029)', '2026-07-15 08:06:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.770043)'), GeomFromEWKT('SRID=4674;POINT (-40.322309 -2.770029)'))) / (select extract(epoch from '2026-07-15 08:06:47'::timestamp) - extract(epoch from '2026-07-15 08:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.770043)'), GeomFromEWKT('SRID=4674;POINT (-40.322309 -2.770029)'))) / (select extract(epoch from '2026-07-15 08:06:47'::timestamp) - extract(epoch from '2026-07-15 08:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322349 -2.770027)', '2026-07-15 08:07:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322309 -2.770029)'), GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770027)'))) / (select extract(epoch from '2026-07-15 08:07:02'::timestamp) - extract(epoch from '2026-07-15 08:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322309 -2.770029)'), GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770027)'))) / (select extract(epoch from '2026-07-15 08:07:02'::timestamp) - extract(epoch from '2026-07-15 08:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322371 -2.770014)', '2026-07-15 08:07:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770027)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770014)'))) / (select extract(epoch from '2026-07-15 08:07:11'::timestamp) - extract(epoch from '2026-07-15 08:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322349 -2.770027)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770014)'))) / (select extract(epoch from '2026-07-15 08:07:11'::timestamp) - extract(epoch from '2026-07-15 08:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32245 -2.769998)', '2026-07-15 08:07:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770014)'), GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.769998)'))) / (select extract(epoch from '2026-07-15 08:07:27'::timestamp) - extract(epoch from '2026-07-15 08:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.770014)'), GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.769998)'))) / (select extract(epoch from '2026-07-15 08:07:27'::timestamp) - extract(epoch from '2026-07-15 08:07: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'), 47643, 'SRID=4674;POINT (-40.322485 -2.769984)', '2026-07-15 08:07:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.769998)'), GeomFromEWKT('SRID=4674;POINT (-40.322485 -2.769984)'))) / (select extract(epoch from '2026-07-15 08:07:41'::timestamp) - extract(epoch from '2026-07-15 08:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32245 -2.769998)'), GeomFromEWKT('SRID=4674;POINT (-40.322485 -2.769984)'))) / (select extract(epoch from '2026-07-15 08:07:41'::timestamp) - extract(epoch from '2026-07-15 08:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322531 -2.770054)', '2026-07-15 08:07:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322485 -2.769984)'), GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770054)'))) / (select extract(epoch from '2026-07-15 08:07:50'::timestamp) - extract(epoch from '2026-07-15 08:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322485 -2.769984)'), GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770054)'))) / (select extract(epoch from '2026-07-15 08:07:50'::timestamp) - extract(epoch from '2026-07-15 08:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32257 -2.770185)', '2026-07-15 08:07:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770054)'), GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.770185)'))) / (select extract(epoch from '2026-07-15 08:07:58'::timestamp) - extract(epoch from '2026-07-15 08:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322531 -2.770054)'), GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.770185)'))) / (select extract(epoch from '2026-07-15 08:07:58'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.322593 -2.770313)', '2026-07-15 08:08:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.770185)'), GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.770313)'))) / (select extract(epoch from '2026-07-15 08:08:05'::timestamp) - extract(epoch from '2026-07-15 08:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.770185)'), GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.770313)'))) / (select extract(epoch from '2026-07-15 08:08:05'::timestamp) - extract(epoch from '2026-07-15 08:07: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'), 47643, 'SRID=4674;POINT (-40.32261 -2.770414)', '2026-07-15 08:08:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.770313)'), GeomFromEWKT('SRID=4674;POINT (-40.32261 -2.770414)'))) / (select extract(epoch from '2026-07-15 08:08:11'::timestamp) - extract(epoch from '2026-07-15 08:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322593 -2.770313)'), GeomFromEWKT('SRID=4674;POINT (-40.32261 -2.770414)'))) / (select extract(epoch from '2026-07-15 08:08:11'::timestamp) - extract(epoch from '2026-07-15 08:08: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'), 47643, 'SRID=4674;POINT (-40.322594 -2.770543)', '2026-07-15 08:08:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32261 -2.770414)'), GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.770543)'))) / (select extract(epoch from '2026-07-15 08:08:18'::timestamp) - extract(epoch from '2026-07-15 08:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32261 -2.770414)'), GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.770543)'))) / (select extract(epoch from '2026-07-15 08:08:18'::timestamp) - extract(epoch from '2026-07-15 08:08: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'), 47643, 'SRID=4674;POINT (-40.322596 -2.770683)', '2026-07-15 08:08:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.770543)'), GeomFromEWKT('SRID=4674;POINT (-40.322596 -2.770683)'))) / (select extract(epoch from '2026-07-15 08:08:26'::timestamp) - extract(epoch from '2026-07-15 08:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322594 -2.770543)'), GeomFromEWKT('SRID=4674;POINT (-40.322596 -2.770683)'))) / (select extract(epoch from '2026-07-15 08:08:26'::timestamp) - extract(epoch from '2026-07-15 08:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322607 -2.770853)', '2026-07-15 08:08:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322596 -2.770683)'), GeomFromEWKT('SRID=4674;POINT (-40.322607 -2.770853)'))) / (select extract(epoch from '2026-07-15 08:08:35'::timestamp) - extract(epoch from '2026-07-15 08:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322596 -2.770683)'), GeomFromEWKT('SRID=4674;POINT (-40.322607 -2.770853)'))) / (select extract(epoch from '2026-07-15 08:08:35'::timestamp) - extract(epoch from '2026-07-15 08:08: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'), 47643, 'SRID=4674;POINT (-40.322647 -2.770993)', '2026-07-15 08:08:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322607 -2.770853)'), GeomFromEWKT('SRID=4674;POINT (-40.322647 -2.770993)'))) / (select extract(epoch from '2026-07-15 08:08:42'::timestamp) - extract(epoch from '2026-07-15 08:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322607 -2.770853)'), GeomFromEWKT('SRID=4674;POINT (-40.322647 -2.770993)'))) / (select extract(epoch from '2026-07-15 08:08:42'::timestamp) - extract(epoch from '2026-07-15 08:08: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'), 47643, 'SRID=4674;POINT (-40.322701 -2.771149)', '2026-07-15 08:08:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322647 -2.770993)'), GeomFromEWKT('SRID=4674;POINT (-40.322701 -2.771149)'))) / (select extract(epoch from '2026-07-15 08:08:50'::timestamp) - extract(epoch from '2026-07-15 08:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322647 -2.770993)'), GeomFromEWKT('SRID=4674;POINT (-40.322701 -2.771149)'))) / (select extract(epoch from '2026-07-15 08:08:50'::timestamp) - extract(epoch from '2026-07-15 08:08: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'), 47643, 'SRID=4674;POINT (-40.322739 -2.771269)', '2026-07-15 08:08:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322701 -2.771149)'), GeomFromEWKT('SRID=4674;POINT (-40.322739 -2.771269)'))) / (select extract(epoch from '2026-07-15 08:08:56'::timestamp) - extract(epoch from '2026-07-15 08:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322701 -2.771149)'), GeomFromEWKT('SRID=4674;POINT (-40.322739 -2.771269)'))) / (select extract(epoch from '2026-07-15 08:08:56'::timestamp) - extract(epoch from '2026-07-15 08:08: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'), 47643, 'SRID=4674;POINT (-40.322766 -2.771367)', '2026-07-15 08:09:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322739 -2.771269)'), GeomFromEWKT('SRID=4674;POINT (-40.322766 -2.771367)'))) / (select extract(epoch from '2026-07-15 08:09:02'::timestamp) - extract(epoch from '2026-07-15 08:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322739 -2.771269)'), GeomFromEWKT('SRID=4674;POINT (-40.322766 -2.771367)'))) / (select extract(epoch from '2026-07-15 08:09:02'::timestamp) - extract(epoch from '2026-07-15 08:08: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'), 47643, 'SRID=4674;POINT (-40.322771 -2.771467)', '2026-07-15 08:09:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322766 -2.771367)'), GeomFromEWKT('SRID=4674;POINT (-40.322771 -2.771467)'))) / (select extract(epoch from '2026-07-15 08:09:08'::timestamp) - extract(epoch from '2026-07-15 08:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322766 -2.771367)'), GeomFromEWKT('SRID=4674;POINT (-40.322771 -2.771467)'))) / (select extract(epoch from '2026-07-15 08:09:08'::timestamp) - extract(epoch from '2026-07-15 08:09: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'), 47643, 'SRID=4674;POINT (-40.322779 -2.771573)', '2026-07-15 08:09:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322771 -2.771467)'), GeomFromEWKT('SRID=4674;POINT (-40.322779 -2.771573)'))) / (select extract(epoch from '2026-07-15 08:09:14'::timestamp) - extract(epoch from '2026-07-15 08:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322771 -2.771467)'), GeomFromEWKT('SRID=4674;POINT (-40.322779 -2.771573)'))) / (select extract(epoch from '2026-07-15 08:09:14'::timestamp) - extract(epoch from '2026-07-15 08:09: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'), 47643, 'SRID=4674;POINT (-40.322776 -2.771684)', '2026-07-15 08:09:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322779 -2.771573)'), GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.771684)'))) / (select extract(epoch from '2026-07-15 08:09:20'::timestamp) - extract(epoch from '2026-07-15 08:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322779 -2.771573)'), GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.771684)'))) / (select extract(epoch from '2026-07-15 08:09:20'::timestamp) - extract(epoch from '2026-07-15 08:09: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'), 47643, 'SRID=4674;POINT (-40.32282 -2.771803)', '2026-07-15 08:09:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.771684)'), GeomFromEWKT('SRID=4674;POINT (-40.32282 -2.771803)'))) / (select extract(epoch from '2026-07-15 08:09:27'::timestamp) - extract(epoch from '2026-07-15 08:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322776 -2.771684)'), GeomFromEWKT('SRID=4674;POINT (-40.32282 -2.771803)'))) / (select extract(epoch from '2026-07-15 08:09:27'::timestamp) - extract(epoch from '2026-07-15 08:09: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'), 47643, 'SRID=4674;POINT (-40.322908 -2.771923)', '2026-07-15 08:09:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32282 -2.771803)'), GeomFromEWKT('SRID=4674;POINT (-40.322908 -2.771923)'))) / (select extract(epoch from '2026-07-15 08:09:34'::timestamp) - extract(epoch from '2026-07-15 08:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32282 -2.771803)'), GeomFromEWKT('SRID=4674;POINT (-40.322908 -2.771923)'))) / (select extract(epoch from '2026-07-15 08:09:34'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.32295 -2.772049)', '2026-07-15 08:09:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322908 -2.771923)'), GeomFromEWKT('SRID=4674;POINT (-40.32295 -2.772049)'))) / (select extract(epoch from '2026-07-15 08:09:41'::timestamp) - extract(epoch from '2026-07-15 08:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322908 -2.771923)'), GeomFromEWKT('SRID=4674;POINT (-40.32295 -2.772049)'))) / (select extract(epoch from '2026-07-15 08:09:41'::timestamp) - extract(epoch from '2026-07-15 08:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.322984 -2.772198)', '2026-07-15 08:09:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32295 -2.772049)'), GeomFromEWKT('SRID=4674;POINT (-40.322984 -2.772198)'))) / (select extract(epoch from '2026-07-15 08:09:49'::timestamp) - extract(epoch from '2026-07-15 08:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32295 -2.772049)'), GeomFromEWKT('SRID=4674;POINT (-40.322984 -2.772198)'))) / (select extract(epoch from '2026-07-15 08:09:49'::timestamp) - extract(epoch from '2026-07-15 08:09: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'), 47643, 'SRID=4674;POINT (-40.323041 -2.772302)', '2026-07-15 08:09:55', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322984 -2.772198)'), GeomFromEWKT('SRID=4674;POINT (-40.323041 -2.772302)'))) / (select extract(epoch from '2026-07-15 08:09:55'::timestamp) - extract(epoch from '2026-07-15 08:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322984 -2.772198)'), GeomFromEWKT('SRID=4674;POINT (-40.323041 -2.772302)'))) / (select extract(epoch from '2026-07-15 08:09:55'::timestamp) - extract(epoch from '2026-07-15 08:09: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'), 47643, 'SRID=4674;POINT (-40.323106 -2.772463)', '2026-07-15 08:10:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323041 -2.772302)'), GeomFromEWKT('SRID=4674;POINT (-40.323106 -2.772463)'))) / (select extract(epoch from '2026-07-15 08:10:03'::timestamp) - extract(epoch from '2026-07-15 08:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323041 -2.772302)'), GeomFromEWKT('SRID=4674;POINT (-40.323106 -2.772463)'))) / (select extract(epoch from '2026-07-15 08:10:03'::timestamp) - extract(epoch from '2026-07-15 08:09: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'), 47643, 'SRID=4674;POINT (-40.323127 -2.772619)', '2026-07-15 08:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323106 -2.772463)'), GeomFromEWKT('SRID=4674;POINT (-40.323127 -2.772619)'))) / (select extract(epoch from '2026-07-15 08:10:11'::timestamp) - extract(epoch from '2026-07-15 08:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323106 -2.772463)'), GeomFromEWKT('SRID=4674;POINT (-40.323127 -2.772619)'))) / (select extract(epoch from '2026-07-15 08:10:11'::timestamp) - extract(epoch from '2026-07-15 08:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32315 -2.772767)', '2026-07-15 08:10:19', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323127 -2.772619)'), GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.772767)'))) / (select extract(epoch from '2026-07-15 08:10:19'::timestamp) - extract(epoch from '2026-07-15 08:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323127 -2.772619)'), GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.772767)'))) / (select extract(epoch from '2026-07-15 08:10:19'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.323165 -2.772884)', '2026-07-15 08:10:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.772767)'), GeomFromEWKT('SRID=4674;POINT (-40.323165 -2.772884)'))) / (select extract(epoch from '2026-07-15 08:10:25'::timestamp) - extract(epoch from '2026-07-15 08:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.772767)'), GeomFromEWKT('SRID=4674;POINT (-40.323165 -2.772884)'))) / (select extract(epoch from '2026-07-15 08:10:25'::timestamp) - extract(epoch from '2026-07-15 08:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.323174 -2.77298)', '2026-07-15 08:10:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323165 -2.772884)'), GeomFromEWKT('SRID=4674;POINT (-40.323174 -2.77298)'))) / (select extract(epoch from '2026-07-15 08:10:30'::timestamp) - extract(epoch from '2026-07-15 08:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323165 -2.772884)'), GeomFromEWKT('SRID=4674;POINT (-40.323174 -2.77298)'))) / (select extract(epoch from '2026-07-15 08:10:30'::timestamp) - extract(epoch from '2026-07-15 08:10: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'), 47643, 'SRID=4674;POINT (-40.323219 -2.773154)', '2026-07-15 08:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323174 -2.77298)'), GeomFromEWKT('SRID=4674;POINT (-40.323219 -2.773154)'))) / (select extract(epoch from '2026-07-15 08:10:39'::timestamp) - extract(epoch from '2026-07-15 08:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323174 -2.77298)'), GeomFromEWKT('SRID=4674;POINT (-40.323219 -2.773154)'))) / (select extract(epoch from '2026-07-15 08:10:39'::timestamp) - extract(epoch from '2026-07-15 08:10: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'), 47643, 'SRID=4674;POINT (-40.323247 -2.773293)', '2026-07-15 08:10:47', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323219 -2.773154)'), GeomFromEWKT('SRID=4674;POINT (-40.323247 -2.773293)'))) / (select extract(epoch from '2026-07-15 08:10:47'::timestamp) - extract(epoch from '2026-07-15 08:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323219 -2.773154)'), GeomFromEWKT('SRID=4674;POINT (-40.323247 -2.773293)'))) / (select extract(epoch from '2026-07-15 08:10:47'::timestamp) - extract(epoch from '2026-07-15 08:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.323278 -2.77345)', '2026-07-15 08:10:56', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323247 -2.773293)'), GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.77345)'))) / (select extract(epoch from '2026-07-15 08:10:56'::timestamp) - extract(epoch from '2026-07-15 08:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323247 -2.773293)'), GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.77345)'))) / (select extract(epoch from '2026-07-15 08:10:56'::timestamp) - extract(epoch from '2026-07-15 08:10: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'), 47643, 'SRID=4674;POINT (-40.3233 -2.773562)', '2026-07-15 08:11:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.77345)'), GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773562)'))) / (select extract(epoch from '2026-07-15 08:11:02'::timestamp) - extract(epoch from '2026-07-15 08:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.77345)'), GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773562)'))) / (select extract(epoch from '2026-07-15 08:11:02'::timestamp) - extract(epoch from '2026-07-15 08:10: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'), 47643, 'SRID=4674;POINT (-40.3233 -2.773705)', '2026-07-15 08:11:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773562)'), GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773705)'))) / (select extract(epoch from '2026-07-15 08:11:09'::timestamp) - extract(epoch from '2026-07-15 08:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773562)'), GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773705)'))) / (select extract(epoch from '2026-07-15 08:11:09'::timestamp) - extract(epoch from '2026-07-15 08:11: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'), 47643, 'SRID=4674;POINT (-40.323266 -2.773836)', '2026-07-15 08:11:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773705)'), GeomFromEWKT('SRID=4674;POINT (-40.323266 -2.773836)'))) / (select extract(epoch from '2026-07-15 08:11:16'::timestamp) - extract(epoch from '2026-07-15 08:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3233 -2.773705)'), GeomFromEWKT('SRID=4674;POINT (-40.323266 -2.773836)'))) / (select extract(epoch from '2026-07-15 08:11:16'::timestamp) - extract(epoch from '2026-07-15 08:11: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'), 47643, 'SRID=4674;POINT (-40.323254 -2.773958)', '2026-07-15 08:11:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323266 -2.773836)'), GeomFromEWKT('SRID=4674;POINT (-40.323254 -2.773958)'))) / (select extract(epoch from '2026-07-15 08:11:22'::timestamp) - extract(epoch from '2026-07-15 08:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323266 -2.773836)'), GeomFromEWKT('SRID=4674;POINT (-40.323254 -2.773958)'))) / (select extract(epoch from '2026-07-15 08:11:22'::timestamp) - extract(epoch from '2026-07-15 08: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'), 47643, 'SRID=4674;POINT (-40.323263 -2.774083)', '2026-07-15 08:11:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323254 -2.773958)'), GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.774083)'))) / (select extract(epoch from '2026-07-15 08:11:29'::timestamp) - extract(epoch from '2026-07-15 08:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323254 -2.773958)'), GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.774083)'))) / (select extract(epoch from '2026-07-15 08:11:29'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.323289 -2.774196)', '2026-07-15 08:11:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.774083)'), GeomFromEWKT('SRID=4674;POINT (-40.323289 -2.774196)'))) / (select extract(epoch from '2026-07-15 08:11:35'::timestamp) - extract(epoch from '2026-07-15 08:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.774083)'), GeomFromEWKT('SRID=4674;POINT (-40.323289 -2.774196)'))) / (select extract(epoch from '2026-07-15 08:11:35'::timestamp) - extract(epoch from '2026-07-15 08:11: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'), 47643, 'SRID=4674;POINT (-40.323318 -2.774323)', '2026-07-15 08:11:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323289 -2.774196)'), GeomFromEWKT('SRID=4674;POINT (-40.323318 -2.774323)'))) / (select extract(epoch from '2026-07-15 08:11:42'::timestamp) - extract(epoch from '2026-07-15 08:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323289 -2.774196)'), GeomFromEWKT('SRID=4674;POINT (-40.323318 -2.774323)'))) / (select extract(epoch from '2026-07-15 08:11:42'::timestamp) - extract(epoch from '2026-07-15 08:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.323342 -2.774429)', '2026-07-15 08:11:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323318 -2.774323)'), GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.774429)'))) / (select extract(epoch from '2026-07-15 08:11:47'::timestamp) - extract(epoch from '2026-07-15 08:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323318 -2.774323)'), GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.774429)'))) / (select extract(epoch from '2026-07-15 08:11:47'::timestamp) - extract(epoch from '2026-07-15 08:11: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'), 47643, 'SRID=4674;POINT (-40.323389 -2.774561)', '2026-07-15 08:11:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.774429)'), GeomFromEWKT('SRID=4674;POINT (-40.323389 -2.774561)'))) / (select extract(epoch from '2026-07-15 08:11:54'::timestamp) - extract(epoch from '2026-07-15 08:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.774429)'), GeomFromEWKT('SRID=4674;POINT (-40.323389 -2.774561)'))) / (select extract(epoch from '2026-07-15 08:11:54'::timestamp) - extract(epoch from '2026-07-15 08:11: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'), 47643, 'SRID=4674;POINT (-40.323462 -2.774664)', '2026-07-15 08:12:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323389 -2.774561)'), GeomFromEWKT('SRID=4674;POINT (-40.323462 -2.774664)'))) / (select extract(epoch from '2026-07-15 08:12:00'::timestamp) - extract(epoch from '2026-07-15 08:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323389 -2.774561)'), GeomFromEWKT('SRID=4674;POINT (-40.323462 -2.774664)'))) / (select extract(epoch from '2026-07-15 08:12:00'::timestamp) - extract(epoch from '2026-07-15 08:11: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'), 47643, 'SRID=4674;POINT (-40.323514 -2.774779)', '2026-07-15 08:12:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323462 -2.774664)'), GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.774779)'))) / (select extract(epoch from '2026-07-15 08:12:06'::timestamp) - extract(epoch from '2026-07-15 08:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323462 -2.774664)'), GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.774779)'))) / (select extract(epoch from '2026-07-15 08:12:06'::timestamp) - extract(epoch from '2026-07-15 08:12: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'), 47643, 'SRID=4674;POINT (-40.323544 -2.774901)', '2026-07-15 08:12:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.774779)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.774901)'))) / (select extract(epoch from '2026-07-15 08:12:12'::timestamp) - extract(epoch from '2026-07-15 08:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.774779)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.774901)'))) / (select extract(epoch from '2026-07-15 08:12:12'::timestamp) - extract(epoch from '2026-07-15 08:12: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'), 47643, 'SRID=4674;POINT (-40.323554 -2.775011)', '2026-07-15 08:12:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.774901)'), GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.775011)'))) / (select extract(epoch from '2026-07-15 08:12:18'::timestamp) - extract(epoch from '2026-07-15 08:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.774901)'), GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.775011)'))) / (select extract(epoch from '2026-07-15 08:12:18'::timestamp) - extract(epoch from '2026-07-15 08:12: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'), 47643, 'SRID=4674;POINT (-40.323558 -2.775167)', '2026-07-15 08:12:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.775011)'), GeomFromEWKT('SRID=4674;POINT (-40.323558 -2.775167)'))) / (select extract(epoch from '2026-07-15 08:12:26'::timestamp) - extract(epoch from '2026-07-15 08:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.775011)'), GeomFromEWKT('SRID=4674;POINT (-40.323558 -2.775167)'))) / (select extract(epoch from '2026-07-15 08:12:26'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.323568 -2.775304)', '2026-07-15 08:12:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323558 -2.775167)'), GeomFromEWKT('SRID=4674;POINT (-40.323568 -2.775304)'))) / (select extract(epoch from '2026-07-15 08:12:33'::timestamp) - extract(epoch from '2026-07-15 08:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323558 -2.775167)'), GeomFromEWKT('SRID=4674;POINT (-40.323568 -2.775304)'))) / (select extract(epoch from '2026-07-15 08:12:33'::timestamp) - extract(epoch from '2026-07-15 08:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.323583 -2.775387)', '2026-07-15 08:12:37', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323568 -2.775304)'), GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.775387)'))) / (select extract(epoch from '2026-07-15 08:12:37'::timestamp) - extract(epoch from '2026-07-15 08:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323568 -2.775304)'), GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.775387)'))) / (select extract(epoch from '2026-07-15 08:12:37'::timestamp) - extract(epoch from '2026-07-15 08:12: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'), 47643, 'SRID=4674;POINT (-40.323582 -2.775417)', '2026-07-15 08:12:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.775387)'), GeomFromEWKT('SRID=4674;POINT (-40.323582 -2.775417)'))) / (select extract(epoch from '2026-07-15 08:12:39'::timestamp) - extract(epoch from '2026-07-15 08:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323583 -2.775387)'), GeomFromEWKT('SRID=4674;POINT (-40.323582 -2.775417)'))) / (select extract(epoch from '2026-07-15 08:12:39'::timestamp) - extract(epoch from '2026-07-15 08:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.323584 -2.775471)', '2026-07-15 08:12:42', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323582 -2.775417)'), GeomFromEWKT('SRID=4674;POINT (-40.323584 -2.775471)'))) / (select extract(epoch from '2026-07-15 08:12:42'::timestamp) - extract(epoch from '2026-07-15 08:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323582 -2.775417)'), GeomFromEWKT('SRID=4674;POINT (-40.323584 -2.775471)'))) / (select extract(epoch from '2026-07-15 08:12:42'::timestamp) - extract(epoch from '2026-07-15 08:12: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'), 47643, 'SRID=4674;POINT (-40.323611 -2.775601)', '2026-07-15 08:12:49', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323584 -2.775471)'), GeomFromEWKT('SRID=4674;POINT (-40.323611 -2.775601)'))) / (select extract(epoch from '2026-07-15 08:12:49'::timestamp) - extract(epoch from '2026-07-15 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323584 -2.775471)'), GeomFromEWKT('SRID=4674;POINT (-40.323611 -2.775601)'))) / (select extract(epoch from '2026-07-15 08:12:49'::timestamp) - extract(epoch from '2026-07-15 08:12: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'), 47643, 'SRID=4674;POINT (-40.323664 -2.775752)', '2026-07-15 08:12:57', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323611 -2.775601)'), GeomFromEWKT('SRID=4674;POINT (-40.323664 -2.775752)'))) / (select extract(epoch from '2026-07-15 08:12:57'::timestamp) - extract(epoch from '2026-07-15 08:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323611 -2.775601)'), GeomFromEWKT('SRID=4674;POINT (-40.323664 -2.775752)'))) / (select extract(epoch from '2026-07-15 08:12:57'::timestamp) - extract(epoch from '2026-07-15 08:12: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'), 47643, 'SRID=4674;POINT (-40.323701 -2.7759)', '2026-07-15 08:13:05', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323664 -2.775752)'), GeomFromEWKT('SRID=4674;POINT (-40.323701 -2.7759)'))) / (select extract(epoch from '2026-07-15 08:13:05'::timestamp) - extract(epoch from '2026-07-15 08:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323664 -2.775752)'), GeomFromEWKT('SRID=4674;POINT (-40.323701 -2.7759)'))) / (select extract(epoch from '2026-07-15 08:13:05'::timestamp) - extract(epoch from '2026-07-15 08:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32373 -2.776052)', '2026-07-15 08:13:13', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323701 -2.7759)'), GeomFromEWKT('SRID=4674;POINT (-40.32373 -2.776052)'))) / (select extract(epoch from '2026-07-15 08:13:13'::timestamp) - extract(epoch from '2026-07-15 08:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323701 -2.7759)'), GeomFromEWKT('SRID=4674;POINT (-40.32373 -2.776052)'))) / (select extract(epoch from '2026-07-15 08:13:13'::timestamp) - extract(epoch from '2026-07-15 08:13: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'), 47643, 'SRID=4674;POINT (-40.323787 -2.776178)', '2026-07-15 08:13:20', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32373 -2.776052)'), GeomFromEWKT('SRID=4674;POINT (-40.323787 -2.776178)'))) / (select extract(epoch from '2026-07-15 08:13:20'::timestamp) - extract(epoch from '2026-07-15 08:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32373 -2.776052)'), GeomFromEWKT('SRID=4674;POINT (-40.323787 -2.776178)'))) / (select extract(epoch from '2026-07-15 08:13:20'::timestamp) - extract(epoch from '2026-07-15 08:13: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'), 47643, 'SRID=4674;POINT (-40.323862 -2.776299)', '2026-07-15 08:13:28', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323787 -2.776178)'), GeomFromEWKT('SRID=4674;POINT (-40.323862 -2.776299)'))) / (select extract(epoch from '2026-07-15 08:13:28'::timestamp) - extract(epoch from '2026-07-15 08:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323787 -2.776178)'), GeomFromEWKT('SRID=4674;POINT (-40.323862 -2.776299)'))) / (select extract(epoch from '2026-07-15 08:13:28'::timestamp) - extract(epoch from '2026-07-15 08:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.323936 -2.776397)', '2026-07-15 08:13:34', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323862 -2.776299)'), GeomFromEWKT('SRID=4674;POINT (-40.323936 -2.776397)'))) / (select extract(epoch from '2026-07-15 08:13:34'::timestamp) - extract(epoch from '2026-07-15 08:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323862 -2.776299)'), GeomFromEWKT('SRID=4674;POINT (-40.323936 -2.776397)'))) / (select extract(epoch from '2026-07-15 08:13:34'::timestamp) - extract(epoch from '2026-07-15 08:13: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'), 47643, 'SRID=4674;POINT (-40.324024 -2.77651)', '2026-07-15 08:13:42', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323936 -2.776397)'), GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.77651)'))) / (select extract(epoch from '2026-07-15 08:13:42'::timestamp) - extract(epoch from '2026-07-15 08:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323936 -2.776397)'), GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.77651)'))) / (select extract(epoch from '2026-07-15 08:13:42'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.324082 -2.776614)', '2026-07-15 08:13:49', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.77651)'), GeomFromEWKT('SRID=4674;POINT (-40.324082 -2.776614)'))) / (select extract(epoch from '2026-07-15 08:13:49'::timestamp) - extract(epoch from '2026-07-15 08:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324024 -2.77651)'), GeomFromEWKT('SRID=4674;POINT (-40.324082 -2.776614)'))) / (select extract(epoch from '2026-07-15 08:13:49'::timestamp) - extract(epoch from '2026-07-15 08:13: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'), 47643, 'SRID=4674;POINT (-40.324129 -2.776744)', '2026-07-15 08:13:58', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324082 -2.776614)'), GeomFromEWKT('SRID=4674;POINT (-40.324129 -2.776744)'))) / (select extract(epoch from '2026-07-15 08:13:58'::timestamp) - extract(epoch from '2026-07-15 08:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324082 -2.776614)'), GeomFromEWKT('SRID=4674;POINT (-40.324129 -2.776744)'))) / (select extract(epoch from '2026-07-15 08:13:58'::timestamp) - extract(epoch from '2026-07-15 08:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.324158 -2.776844)', '2026-07-15 08:14:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324129 -2.776744)'), GeomFromEWKT('SRID=4674;POINT (-40.324158 -2.776844)'))) / (select extract(epoch from '2026-07-15 08:14:05'::timestamp) - extract(epoch from '2026-07-15 08:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324129 -2.776744)'), GeomFromEWKT('SRID=4674;POINT (-40.324158 -2.776844)'))) / (select extract(epoch from '2026-07-15 08:14:05'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.324198 -2.776919)', '2026-07-15 08:14:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324158 -2.776844)'), GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.776919)'))) / (select extract(epoch from '2026-07-15 08:14:11'::timestamp) - extract(epoch from '2026-07-15 08:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324158 -2.776844)'), GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.776919)'))) / (select extract(epoch from '2026-07-15 08:14:11'::timestamp) - extract(epoch from '2026-07-15 08:14: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'), 47643, 'SRID=4674;POINT (-40.324273 -2.777004)', '2026-07-15 08:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.776919)'), GeomFromEWKT('SRID=4674;POINT (-40.324273 -2.777004)'))) / (select extract(epoch from '2026-07-15 08:14:18'::timestamp) - extract(epoch from '2026-07-15 08:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.776919)'), GeomFromEWKT('SRID=4674;POINT (-40.324273 -2.777004)'))) / (select extract(epoch from '2026-07-15 08:14:18'::timestamp) - extract(epoch from '2026-07-15 08:14: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'), 47643, 'SRID=4674;POINT (-40.324369 -2.777076)', '2026-07-15 08:14:25', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324273 -2.777004)'), GeomFromEWKT('SRID=4674;POINT (-40.324369 -2.777076)'))) / (select extract(epoch from '2026-07-15 08:14:25'::timestamp) - extract(epoch from '2026-07-15 08:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324273 -2.777004)'), GeomFromEWKT('SRID=4674;POINT (-40.324369 -2.777076)'))) / (select extract(epoch from '2026-07-15 08:14:25'::timestamp) - extract(epoch from '2026-07-15 08:14: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'), 47643, 'SRID=4674;POINT (-40.324464 -2.777105)', '2026-07-15 08:14:31', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324369 -2.777076)'), GeomFromEWKT('SRID=4674;POINT (-40.324464 -2.777105)'))) / (select extract(epoch from '2026-07-15 08:14:31'::timestamp) - extract(epoch from '2026-07-15 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324369 -2.777076)'), GeomFromEWKT('SRID=4674;POINT (-40.324464 -2.777105)'))) / (select extract(epoch from '2026-07-15 08:14:31'::timestamp) - extract(epoch from '2026-07-15 08:14: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'), 47643, 'SRID=4674;POINT (-40.324554 -2.777131)', '2026-07-15 08:14:36', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324464 -2.777105)'), GeomFromEWKT('SRID=4674;POINT (-40.324554 -2.777131)'))) / (select extract(epoch from '2026-07-15 08:14:36'::timestamp) - extract(epoch from '2026-07-15 08:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324464 -2.777105)'), GeomFromEWKT('SRID=4674;POINT (-40.324554 -2.777131)'))) / (select extract(epoch from '2026-07-15 08:14:36'::timestamp) - extract(epoch from '2026-07-15 08:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.324645 -2.777143)', '2026-07-15 08:14:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324554 -2.777131)'), GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.777143)'))) / (select extract(epoch from '2026-07-15 08:14:41'::timestamp) - extract(epoch from '2026-07-15 08:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324554 -2.777131)'), GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.777143)'))) / (select extract(epoch from '2026-07-15 08:14:41'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.324741 -2.777173)', '2026-07-15 08:14:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.777143)'), GeomFromEWKT('SRID=4674;POINT (-40.324741 -2.777173)'))) / (select extract(epoch from '2026-07-15 08:14:47'::timestamp) - extract(epoch from '2026-07-15 08:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.777143)'), GeomFromEWKT('SRID=4674;POINT (-40.324741 -2.777173)'))) / (select extract(epoch from '2026-07-15 08:14:47'::timestamp) - extract(epoch from '2026-07-15 08:14:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.324853 -2.777218)', '2026-07-15 08:14:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324741 -2.777173)'), GeomFromEWKT('SRID=4674;POINT (-40.324853 -2.777218)'))) / (select extract(epoch from '2026-07-15 08:14:54'::timestamp) - extract(epoch from '2026-07-15 08:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324741 -2.777173)'), GeomFromEWKT('SRID=4674;POINT (-40.324853 -2.777218)'))) / (select extract(epoch from '2026-07-15 08:14:54'::timestamp) - extract(epoch from '2026-07-15 08:14: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'), 47643, 'SRID=4674;POINT (-40.324964 -2.77725)', '2026-07-15 08:15:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324853 -2.777218)'), GeomFromEWKT('SRID=4674;POINT (-40.324964 -2.77725)'))) / (select extract(epoch from '2026-07-15 08:15:00'::timestamp) - extract(epoch from '2026-07-15 08:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324853 -2.777218)'), GeomFromEWKT('SRID=4674;POINT (-40.324964 -2.77725)'))) / (select extract(epoch from '2026-07-15 08:15:00'::timestamp) - extract(epoch from '2026-07-15 08:14: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'), 47643, 'SRID=4674;POINT (-40.325082 -2.777261)', '2026-07-15 08:15:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324964 -2.77725)'), GeomFromEWKT('SRID=4674;POINT (-40.325082 -2.777261)'))) / (select extract(epoch from '2026-07-15 08:15:07'::timestamp) - extract(epoch from '2026-07-15 08:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324964 -2.77725)'), GeomFromEWKT('SRID=4674;POINT (-40.325082 -2.777261)'))) / (select extract(epoch from '2026-07-15 08:15:07'::timestamp) - extract(epoch from '2026-07-15 08:15: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'), 47643, 'SRID=4674;POINT (-40.325203 -2.777262)', '2026-07-15 08:15:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325082 -2.777261)'), GeomFromEWKT('SRID=4674;POINT (-40.325203 -2.777262)'))) / (select extract(epoch from '2026-07-15 08:15:14'::timestamp) - extract(epoch from '2026-07-15 08:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325082 -2.777261)'), GeomFromEWKT('SRID=4674;POINT (-40.325203 -2.777262)'))) / (select extract(epoch from '2026-07-15 08:15:14'::timestamp) - extract(epoch from '2026-07-15 08:15: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'), 47643, 'SRID=4674;POINT (-40.325329 -2.777273)', '2026-07-15 08:15:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325203 -2.777262)'), GeomFromEWKT('SRID=4674;POINT (-40.325329 -2.777273)'))) / (select extract(epoch from '2026-07-15 08:15:21'::timestamp) - extract(epoch from '2026-07-15 08:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325203 -2.777262)'), GeomFromEWKT('SRID=4674;POINT (-40.325329 -2.777273)'))) / (select extract(epoch from '2026-07-15 08:15:21'::timestamp) - extract(epoch from '2026-07-15 08:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.325455 -2.777274)', '2026-07-15 08:15:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325329 -2.777273)'), GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.777274)'))) / (select extract(epoch from '2026-07-15 08:15:27'::timestamp) - extract(epoch from '2026-07-15 08:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325329 -2.777273)'), GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.777274)'))) / (select extract(epoch from '2026-07-15 08:15:27'::timestamp) - extract(epoch from '2026-07-15 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'), 47643, 'SRID=4674;POINT (-40.325567 -2.777273)', '2026-07-15 08:15:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.777274)'), GeomFromEWKT('SRID=4674;POINT (-40.325567 -2.777273)'))) / (select extract(epoch from '2026-07-15 08:15:33'::timestamp) - extract(epoch from '2026-07-15 08:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325455 -2.777274)'), GeomFromEWKT('SRID=4674;POINT (-40.325567 -2.777273)'))) / (select extract(epoch from '2026-07-15 08:15:33'::timestamp) - extract(epoch from '2026-07-15 08:15: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'), 47643, 'SRID=4674;POINT (-40.325701 -2.777266)', '2026-07-15 08:15:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325567 -2.777273)'), GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.777266)'))) / (select extract(epoch from '2026-07-15 08:15:40'::timestamp) - extract(epoch from '2026-07-15 08:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325567 -2.777273)'), GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.777266)'))) / (select extract(epoch from '2026-07-15 08:15:40'::timestamp) - extract(epoch from '2026-07-15 08:15: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'), 47643, 'SRID=4674;POINT (-40.325793 -2.777254)', '2026-07-15 08:15:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.777266)'), GeomFromEWKT('SRID=4674;POINT (-40.325793 -2.777254)'))) / (select extract(epoch from '2026-07-15 08:15:45'::timestamp) - extract(epoch from '2026-07-15 08:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.777266)'), GeomFromEWKT('SRID=4674;POINT (-40.325793 -2.777254)'))) / (select extract(epoch from '2026-07-15 08:15:45'::timestamp) - extract(epoch from '2026-07-15 08:15: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'), 47643, 'SRID=4674;POINT (-40.325879 -2.777232)', '2026-07-15 08:15:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325793 -2.777254)'), GeomFromEWKT('SRID=4674;POINT (-40.325879 -2.777232)'))) / (select extract(epoch from '2026-07-15 08:15:50'::timestamp) - extract(epoch from '2026-07-15 08:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325793 -2.777254)'), GeomFromEWKT('SRID=4674;POINT (-40.325879 -2.777232)'))) / (select extract(epoch from '2026-07-15 08:15:50'::timestamp) - extract(epoch from '2026-07-15 08:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.325983 -2.777212)', '2026-07-15 08:15:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325879 -2.777232)'), GeomFromEWKT('SRID=4674;POINT (-40.325983 -2.777212)'))) / (select extract(epoch from '2026-07-15 08:15:56'::timestamp) - extract(epoch from '2026-07-15 08:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325879 -2.777232)'), GeomFromEWKT('SRID=4674;POINT (-40.325983 -2.777212)'))) / (select extract(epoch from '2026-07-15 08:15:56'::timestamp) - extract(epoch from '2026-07-15 08:15: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'), 47643, 'SRID=4674;POINT (-40.326135 -2.777215)', '2026-07-15 08:16:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325983 -2.777212)'), GeomFromEWKT('SRID=4674;POINT (-40.326135 -2.777215)'))) / (select extract(epoch from '2026-07-15 08:16:04'::timestamp) - extract(epoch from '2026-07-15 08:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325983 -2.777212)'), GeomFromEWKT('SRID=4674;POINT (-40.326135 -2.777215)'))) / (select extract(epoch from '2026-07-15 08:16:04'::timestamp) - extract(epoch from '2026-07-15 08:15: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'), 47643, 'SRID=4674;POINT (-40.326266 -2.777221)', '2026-07-15 08:16:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326135 -2.777215)'), GeomFromEWKT('SRID=4674;POINT (-40.326266 -2.777221)'))) / (select extract(epoch from '2026-07-15 08:16:11'::timestamp) - extract(epoch from '2026-07-15 08:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326135 -2.777215)'), GeomFromEWKT('SRID=4674;POINT (-40.326266 -2.777221)'))) / (select extract(epoch from '2026-07-15 08:16:11'::timestamp) - extract(epoch from '2026-07-15 08:16: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'), 47643, 'SRID=4674;POINT (-40.32644 -2.777226)', '2026-07-15 08:16:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326266 -2.777221)'), GeomFromEWKT('SRID=4674;POINT (-40.32644 -2.777226)'))) / (select extract(epoch from '2026-07-15 08:16:20'::timestamp) - extract(epoch from '2026-07-15 08:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326266 -2.777221)'), GeomFromEWKT('SRID=4674;POINT (-40.32644 -2.777226)'))) / (select extract(epoch from '2026-07-15 08:16:20'::timestamp) - extract(epoch from '2026-07-15 08:16: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'), 47643, 'SRID=4674;POINT (-40.326587 -2.777234)', '2026-07-15 08:16:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32644 -2.777226)'), GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.777234)'))) / (select extract(epoch from '2026-07-15 08:16:28'::timestamp) - extract(epoch from '2026-07-15 08:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32644 -2.777226)'), GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.777234)'))) / (select extract(epoch from '2026-07-15 08:16:28'::timestamp) - extract(epoch from '2026-07-15 08:16: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'), 47643, 'SRID=4674;POINT (-40.326688 -2.777288)', '2026-07-15 08:16:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.777234)'), GeomFromEWKT('SRID=4674;POINT (-40.326688 -2.777288)'))) / (select extract(epoch from '2026-07-15 08:16:35'::timestamp) - extract(epoch from '2026-07-15 08:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.777234)'), GeomFromEWKT('SRID=4674;POINT (-40.326688 -2.777288)'))) / (select extract(epoch from '2026-07-15 08:16:35'::timestamp) - extract(epoch from '2026-07-15 08:16:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.326788 -2.777348)', '2026-07-15 08:16:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326688 -2.777288)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.777348)'))) / (select extract(epoch from '2026-07-15 08:16:41'::timestamp) - extract(epoch from '2026-07-15 08:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326688 -2.777288)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.777348)'))) / (select extract(epoch from '2026-07-15 08:16:41'::timestamp) - extract(epoch from '2026-07-15 08:16: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'), 47643, 'SRID=4674;POINT (-40.32691 -2.777409)', '2026-07-15 08:16:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.777348)'), GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.777409)'))) / (select extract(epoch from '2026-07-15 08:16:48'::timestamp) - extract(epoch from '2026-07-15 08:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.777348)'), GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.777409)'))) / (select extract(epoch from '2026-07-15 08:16:48'::timestamp) - extract(epoch from '2026-07-15 08:16: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'), 47643, 'SRID=4674;POINT (-40.327053 -2.777462)', '2026-07-15 08:16:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.777409)'), GeomFromEWKT('SRID=4674;POINT (-40.327053 -2.777462)'))) / (select extract(epoch from '2026-07-15 08:16:55'::timestamp) - extract(epoch from '2026-07-15 08:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.777409)'), GeomFromEWKT('SRID=4674;POINT (-40.327053 -2.777462)'))) / (select extract(epoch from '2026-07-15 08:16:55'::timestamp) - extract(epoch from '2026-07-15 08:16: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'), 47643, 'SRID=4674;POINT (-40.327186 -2.777511)', '2026-07-15 08:17:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327053 -2.777462)'), GeomFromEWKT('SRID=4674;POINT (-40.327186 -2.777511)'))) / (select extract(epoch from '2026-07-15 08:17:03'::timestamp) - extract(epoch from '2026-07-15 08:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327053 -2.777462)'), GeomFromEWKT('SRID=4674;POINT (-40.327186 -2.777511)'))) / (select extract(epoch from '2026-07-15 08:17:03'::timestamp) - extract(epoch from '2026-07-15 08:16: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'), 47643, 'SRID=4674;POINT (-40.327306 -2.777565)', '2026-07-15 08:17:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327186 -2.777511)'), GeomFromEWKT('SRID=4674;POINT (-40.327306 -2.777565)'))) / (select extract(epoch from '2026-07-15 08:17:10'::timestamp) - extract(epoch from '2026-07-15 08:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327186 -2.777511)'), GeomFromEWKT('SRID=4674;POINT (-40.327306 -2.777565)'))) / (select extract(epoch from '2026-07-15 08:17:10'::timestamp) - extract(epoch from '2026-07-15 08:17: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'), 47643, 'SRID=4674;POINT (-40.327384 -2.777611)', '2026-07-15 08:17:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327306 -2.777565)'), GeomFromEWKT('SRID=4674;POINT (-40.327384 -2.777611)'))) / (select extract(epoch from '2026-07-15 08:17:15'::timestamp) - extract(epoch from '2026-07-15 08:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327306 -2.777565)'), GeomFromEWKT('SRID=4674;POINT (-40.327384 -2.777611)'))) / (select extract(epoch from '2026-07-15 08:17:15'::timestamp) - extract(epoch from '2026-07-15 08:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.327464 -2.77769)', '2026-07-15 08:17:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327384 -2.777611)'), GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.77769)'))) / (select extract(epoch from '2026-07-15 08:17:22'::timestamp) - extract(epoch from '2026-07-15 08:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327384 -2.777611)'), GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.77769)'))) / (select extract(epoch from '2026-07-15 08:17:22'::timestamp) - extract(epoch from '2026-07-15 08:17: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'), 47643, 'SRID=4674;POINT (-40.327601 -2.777785)', '2026-07-15 08:17:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.77769)'), GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.777785)'))) / (select extract(epoch from '2026-07-15 08:17:32'::timestamp) - extract(epoch from '2026-07-15 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.77769)'), GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.777785)'))) / (select extract(epoch from '2026-07-15 08:17:32'::timestamp) - extract(epoch from '2026-07-15 08:17: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'), 47643, 'SRID=4674;POINT (-40.327718 -2.777787)', '2026-07-15 08:17:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.777785)'), GeomFromEWKT('SRID=4674;POINT (-40.327718 -2.777787)'))) / (select extract(epoch from '2026-07-15 08:17:39'::timestamp) - extract(epoch from '2026-07-15 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.777785)'), GeomFromEWKT('SRID=4674;POINT (-40.327718 -2.777787)'))) / (select extract(epoch from '2026-07-15 08:17:39'::timestamp) - extract(epoch from '2026-07-15 08:17: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'), 47643, 'SRID=4674;POINT (-40.327827 -2.777764)', '2026-07-15 08:17:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327718 -2.777787)'), GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.777764)'))) / (select extract(epoch from '2026-07-15 08:17:45'::timestamp) - extract(epoch from '2026-07-15 08:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327718 -2.777787)'), GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.777764)'))) / (select extract(epoch from '2026-07-15 08:17:45'::timestamp) - extract(epoch from '2026-07-15 08:17: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'), 47643, 'SRID=4674;POINT (-40.32793 -2.777732)', '2026-07-15 08:17:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.777764)'), GeomFromEWKT('SRID=4674;POINT (-40.32793 -2.777732)'))) / (select extract(epoch from '2026-07-15 08:17:51'::timestamp) - extract(epoch from '2026-07-15 08:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.777764)'), GeomFromEWKT('SRID=4674;POINT (-40.32793 -2.777732)'))) / (select extract(epoch from '2026-07-15 08:17:51'::timestamp) - extract(epoch from '2026-07-15 08:17: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'), 47643, 'SRID=4674;POINT (-40.328103 -2.777743)', '2026-07-15 08:18:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32793 -2.777732)'), GeomFromEWKT('SRID=4674;POINT (-40.328103 -2.777743)'))) / (select extract(epoch from '2026-07-15 08:18:01'::timestamp) - extract(epoch from '2026-07-15 08:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32793 -2.777732)'), GeomFromEWKT('SRID=4674;POINT (-40.328103 -2.777743)'))) / (select extract(epoch from '2026-07-15 08:18:01'::timestamp) - extract(epoch from '2026-07-15 08:17: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'), 47643, 'SRID=4674;POINT (-40.328209 -2.777791)', '2026-07-15 08:18:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328103 -2.777743)'), GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.777791)'))) / (select extract(epoch from '2026-07-15 08:18:08'::timestamp) - extract(epoch from '2026-07-15 08:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328103 -2.777743)'), GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.777791)'))) / (select extract(epoch from '2026-07-15 08:18:08'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328343 -2.777803)', '2026-07-15 08:18:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.777791)'), GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.777803)'))) / (select extract(epoch from '2026-07-15 08:18:15'::timestamp) - extract(epoch from '2026-07-15 08:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.777791)'), GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.777803)'))) / (select extract(epoch from '2026-07-15 08:18:15'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328501 -2.777793)', '2026-07-15 08:18:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.777803)'), GeomFromEWKT('SRID=4674;POINT (-40.328501 -2.777793)'))) / (select extract(epoch from '2026-07-15 08:18:23'::timestamp) - extract(epoch from '2026-07-15 08:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.777803)'), GeomFromEWKT('SRID=4674;POINT (-40.328501 -2.777793)'))) / (select extract(epoch from '2026-07-15 08:18:23'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328606 -2.777758)', '2026-07-15 08:18:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328501 -2.777793)'), GeomFromEWKT('SRID=4674;POINT (-40.328606 -2.777758)'))) / (select extract(epoch from '2026-07-15 08:18:29'::timestamp) - extract(epoch from '2026-07-15 08:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328501 -2.777793)'), GeomFromEWKT('SRID=4674;POINT (-40.328606 -2.777758)'))) / (select extract(epoch from '2026-07-15 08:18:29'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328718 -2.777701)', '2026-07-15 08:18:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328606 -2.777758)'), GeomFromEWKT('SRID=4674;POINT (-40.328718 -2.777701)'))) / (select extract(epoch from '2026-07-15 08:18:36'::timestamp) - extract(epoch from '2026-07-15 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328606 -2.777758)'), GeomFromEWKT('SRID=4674;POINT (-40.328718 -2.777701)'))) / (select extract(epoch from '2026-07-15 08:18:36'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328802 -2.77772)', '2026-07-15 08:18:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328718 -2.777701)'), GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.77772)'))) / (select extract(epoch from '2026-07-15 08:18:42'::timestamp) - extract(epoch from '2026-07-15 08:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328718 -2.777701)'), GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.77772)'))) / (select extract(epoch from '2026-07-15 08:18:42'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328837 -2.777781)', '2026-07-15 08:18:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.77772)'), GeomFromEWKT('SRID=4674;POINT (-40.328837 -2.777781)'))) / (select extract(epoch from '2026-07-15 08:18:49'::timestamp) - extract(epoch from '2026-07-15 08:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.77772)'), GeomFromEWKT('SRID=4674;POINT (-40.328837 -2.777781)'))) / (select extract(epoch from '2026-07-15 08:18:49'::timestamp) - extract(epoch from '2026-07-15 08:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328831 -2.777856)', '2026-07-15 08:18:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328837 -2.777781)'), GeomFromEWKT('SRID=4674;POINT (-40.328831 -2.777856)'))) / (select extract(epoch from '2026-07-15 08:18:56'::timestamp) - extract(epoch from '2026-07-15 08:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328837 -2.777781)'), GeomFromEWKT('SRID=4674;POINT (-40.328831 -2.777856)'))) / (select extract(epoch from '2026-07-15 08:18:56'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328788 -2.777948)', '2026-07-15 08:19:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328831 -2.777856)'), GeomFromEWKT('SRID=4674;POINT (-40.328788 -2.777948)'))) / (select extract(epoch from '2026-07-15 08:19:04'::timestamp) - extract(epoch from '2026-07-15 08:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328831 -2.777856)'), GeomFromEWKT('SRID=4674;POINT (-40.328788 -2.777948)'))) / (select extract(epoch from '2026-07-15 08:19:04'::timestamp) - extract(epoch from '2026-07-15 08:18: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'), 47643, 'SRID=4674;POINT (-40.328801 -2.77802)', '2026-07-15 08:19:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328788 -2.777948)'), GeomFromEWKT('SRID=4674;POINT (-40.328801 -2.77802)'))) / (select extract(epoch from '2026-07-15 08:19:10'::timestamp) - extract(epoch from '2026-07-15 08:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328788 -2.777948)'), GeomFromEWKT('SRID=4674;POINT (-40.328801 -2.77802)'))) / (select extract(epoch from '2026-07-15 08:19:10'::timestamp) - extract(epoch from '2026-07-15 08:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328876 -2.778085)', '2026-07-15 08:19:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328801 -2.77802)'), GeomFromEWKT('SRID=4674;POINT (-40.328876 -2.778085)'))) / (select extract(epoch from '2026-07-15 08:19:16'::timestamp) - extract(epoch from '2026-07-15 08:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328801 -2.77802)'), GeomFromEWKT('SRID=4674;POINT (-40.328876 -2.778085)'))) / (select extract(epoch from '2026-07-15 08:19:16'::timestamp) - extract(epoch from '2026-07-15 08:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328961 -2.778119)', '2026-07-15 08:19:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328876 -2.778085)'), GeomFromEWKT('SRID=4674;POINT (-40.328961 -2.778119)'))) / (select extract(epoch from '2026-07-15 08:19:22'::timestamp) - extract(epoch from '2026-07-15 08:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328876 -2.778085)'), GeomFromEWKT('SRID=4674;POINT (-40.328961 -2.778119)'))) / (select extract(epoch from '2026-07-15 08:19:22'::timestamp) - extract(epoch from '2026-07-15 08:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329087 -2.778156)', '2026-07-15 08:19:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328961 -2.778119)'), GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.778156)'))) / (select extract(epoch from '2026-07-15 08:19:30'::timestamp) - extract(epoch from '2026-07-15 08:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328961 -2.778119)'), GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.778156)'))) / (select extract(epoch from '2026-07-15 08:19:30'::timestamp) - extract(epoch from '2026-07-15 08:19: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'), 47643, 'SRID=4674;POINT (-40.329206 -2.77824)', '2026-07-15 08:19:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.778156)'), GeomFromEWKT('SRID=4674;POINT (-40.329206 -2.77824)'))) / (select extract(epoch from '2026-07-15 08:19:37'::timestamp) - extract(epoch from '2026-07-15 08:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.778156)'), GeomFromEWKT('SRID=4674;POINT (-40.329206 -2.77824)'))) / (select extract(epoch from '2026-07-15 08:19:37'::timestamp) - extract(epoch from '2026-07-15 08:19: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'), 47643, 'SRID=4674;POINT (-40.329258 -2.778298)', '2026-07-15 08:19:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329206 -2.77824)'), GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778298)'))) / (select extract(epoch from '2026-07-15 08:19:42'::timestamp) - extract(epoch from '2026-07-15 08:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329206 -2.77824)'), GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778298)'))) / (select extract(epoch from '2026-07-15 08:19:42'::timestamp) - extract(epoch from '2026-07-15 08:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329296 -2.778378)', '2026-07-15 08:19:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778298)'), GeomFromEWKT('SRID=4674;POINT (-40.329296 -2.778378)'))) / (select extract(epoch from '2026-07-15 08:19:51'::timestamp) - extract(epoch from '2026-07-15 08:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329258 -2.778298)'), GeomFromEWKT('SRID=4674;POINT (-40.329296 -2.778378)'))) / (select extract(epoch from '2026-07-15 08:19:51'::timestamp) - extract(epoch from '2026-07-15 08:19: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'), 47643, 'SRID=4674;POINT (-40.329353 -2.778432)', '2026-07-15 08:19:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329296 -2.778378)'), GeomFromEWKT('SRID=4674;POINT (-40.329353 -2.778432)'))) / (select extract(epoch from '2026-07-15 08:19:58'::timestamp) - extract(epoch from '2026-07-15 08:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329296 -2.778378)'), GeomFromEWKT('SRID=4674;POINT (-40.329353 -2.778432)'))) / (select extract(epoch from '2026-07-15 08:19:58'::timestamp) - extract(epoch from '2026-07-15 08:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329354 -2.778482)', '2026-07-15 08:20:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329353 -2.778432)'), GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.778482)'))) / (select extract(epoch from '2026-07-15 08:20:08'::timestamp) - extract(epoch from '2026-07-15 08:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329353 -2.778432)'), GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.778482)'))) / (select extract(epoch from '2026-07-15 08:20:08'::timestamp) - extract(epoch from '2026-07-15 08:19: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'), 47643, 'SRID=4674;POINT (-40.329329 -2.778531)', '2026-07-15 08:20:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.778482)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.778531)'))) / (select extract(epoch from '2026-07-15 08:20:29'::timestamp) - extract(epoch from '2026-07-15 08:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329354 -2.778482)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.778531)'))) / (select extract(epoch from '2026-07-15 08:20:29'::timestamp) - extract(epoch from '2026-07-15 08:20: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'), 47643, 'SRID=4674;POINT (-40.329318 -2.778533)', '2026-07-15 08:20:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.778531)'), GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778533)'))) / (select extract(epoch from '2026-07-15 08:20:38'::timestamp) - extract(epoch from '2026-07-15 08:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.778531)'), GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778533)'))) / (select extract(epoch from '2026-07-15 08:20:38'::timestamp) - extract(epoch from '2026-07-15 08:20: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'), 47643, 'SRID=4674;POINT (-40.329306 -2.778525)', '2026-07-15 08:20:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.778525)'))) / (select extract(epoch from '2026-07-15 08:20:49'::timestamp) - extract(epoch from '2026-07-15 08:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.778525)'))) / (select extract(epoch from '2026-07-15 08:20:49'::timestamp) - extract(epoch from '2026-07-15 08:20: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'), 47643, 'SRID=4674;POINT (-40.329277 -2.778503)', '2026-07-15 08:21:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.778525)'), GeomFromEWKT('SRID=4674;POINT (-40.329277 -2.778503)'))) / (select extract(epoch from '2026-07-15 08:21:02'::timestamp) - extract(epoch from '2026-07-15 08:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.778525)'), GeomFromEWKT('SRID=4674;POINT (-40.329277 -2.778503)'))) / (select extract(epoch from '2026-07-15 08:21:02'::timestamp) - extract(epoch from '2026-07-15 08:20: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'), 47643, 'SRID=4674;POINT (-40.329227 -2.778469)', '2026-07-15 08:21:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329277 -2.778503)'), GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.778469)'))) / (select extract(epoch from '2026-07-15 08:21:16'::timestamp) - extract(epoch from '2026-07-15 08:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329277 -2.778503)'), GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.778469)'))) / (select extract(epoch from '2026-07-15 08:21:16'::timestamp) - extract(epoch from '2026-07-15 08:21: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'), 47643, 'SRID=4674;POINT (-40.329229 -2.778465)', '2026-07-15 08:21:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.778469)'), GeomFromEWKT('SRID=4674;POINT (-40.329229 -2.778465)'))) / (select extract(epoch from '2026-07-15 08:21:29'::timestamp) - extract(epoch from '2026-07-15 08:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329227 -2.778469)'), GeomFromEWKT('SRID=4674;POINT (-40.329229 -2.778465)'))) / (select extract(epoch from '2026-07-15 08:21:29'::timestamp) - extract(epoch from '2026-07-15 08:21: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'), 47643, 'SRID=4674;POINT (-40.329232 -2.77847)', '2026-07-15 08:21:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329229 -2.778465)'), GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.77847)'))) / (select extract(epoch from '2026-07-15 08:21:43'::timestamp) - extract(epoch from '2026-07-15 08:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329229 -2.778465)'), GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.77847)'))) / (select extract(epoch from '2026-07-15 08:21:43'::timestamp) - extract(epoch from '2026-07-15 08:21: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'), 47643, 'SRID=4674;POINT (-40.329234 -2.778473)', '2026-07-15 08:21:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.77847)'), GeomFromEWKT('SRID=4674;POINT (-40.329234 -2.778473)'))) / (select extract(epoch from '2026-07-15 08:21:56'::timestamp) - extract(epoch from '2026-07-15 08:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.77847)'), GeomFromEWKT('SRID=4674;POINT (-40.329234 -2.778473)'))) / (select extract(epoch from '2026-07-15 08:21:56'::timestamp) - extract(epoch from '2026-07-15 08:21: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'), 47643, 'SRID=4674;POINT (-40.329235 -2.778477)', '2026-07-15 08:22:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329234 -2.778473)'), GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.778477)'))) / (select extract(epoch from '2026-07-15 08:22:09'::timestamp) - extract(epoch from '2026-07-15 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329234 -2.778473)'), GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.778477)'))) / (select extract(epoch from '2026-07-15 08:22:09'::timestamp) - extract(epoch from '2026-07-15 08:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329233 -2.778483)', '2026-07-15 08:22:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.778477)'), GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.778483)'))) / (select extract(epoch from '2026-07-15 08:22:20'::timestamp) - extract(epoch from '2026-07-15 08:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329235 -2.778477)'), GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.778483)'))) / (select extract(epoch from '2026-07-15 08:22:20'::timestamp) - extract(epoch from '2026-07-15 08:22: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'), 47643, 'SRID=4674;POINT (-40.329228 -2.778481)', '2026-07-15 08:22:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.778483)'), GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778481)'))) / (select extract(epoch from '2026-07-15 08:22:32'::timestamp) - extract(epoch from '2026-07-15 08:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.778483)'), GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778481)'))) / (select extract(epoch from '2026-07-15 08:22:32'::timestamp) - extract(epoch from '2026-07-15 08:22: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'), 47643, 'SRID=4674;POINT (-40.329228 -2.778483)', '2026-07-15 08:22:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778481)'), GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778483)'))) / (select extract(epoch from '2026-07-15 08:22:44'::timestamp) - extract(epoch from '2026-07-15 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778481)'), GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778483)'))) / (select extract(epoch from '2026-07-15 08:22:44'::timestamp) - extract(epoch from '2026-07-15 08:22: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'), 47643, 'SRID=4674;POINT (-40.329226 -2.778482)', '2026-07-15 08:22:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778483)'), GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778482)'))) / (select extract(epoch from '2026-07-15 08:22:58'::timestamp) - extract(epoch from '2026-07-15 08:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329228 -2.778483)'), GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778482)'))) / (select extract(epoch from '2026-07-15 08:22:58'::timestamp) - extract(epoch from '2026-07-15 08:22: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'), 47643, 'SRID=4674;POINT (-40.329225 -2.778479)', '2026-07-15 08:23:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778482)'), GeomFromEWKT('SRID=4674;POINT (-40.329225 -2.778479)'))) / (select extract(epoch from '2026-07-15 08:23:11'::timestamp) - extract(epoch from '2026-07-15 08:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778482)'), GeomFromEWKT('SRID=4674;POINT (-40.329225 -2.778479)'))) / (select extract(epoch from '2026-07-15 08:23:11'::timestamp) - extract(epoch from '2026-07-15 08:22: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'), 47643, 'SRID=4674;POINT (-40.32923 -2.778484)', '2026-07-15 08:23:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329225 -2.778479)'), GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778484)'))) / (select extract(epoch from '2026-07-15 08:23:28'::timestamp) - extract(epoch from '2026-07-15 08:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329225 -2.778479)'), GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778484)'))) / (select extract(epoch from '2026-07-15 08:23:28'::timestamp) - extract(epoch from '2026-07-15 08:23: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'), 47643, 'SRID=4674;POINT (-40.329231 -2.778485)', '2026-07-15 08:23:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778484)'), GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778485)'))) / (select extract(epoch from '2026-07-15 08:23:42'::timestamp) - extract(epoch from '2026-07-15 08:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778484)'), GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778485)'))) / (select extract(epoch from '2026-07-15 08:23:42'::timestamp) - extract(epoch from '2026-07-15 08:23: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'), 47643, 'SRID=4674;POINT (-40.32923 -2.778489)', '2026-07-15 08:23:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778485)'), GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778489)'))) / (select extract(epoch from '2026-07-15 08:23:54'::timestamp) - extract(epoch from '2026-07-15 08:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778485)'), GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778489)'))) / (select extract(epoch from '2026-07-15 08:23:54'::timestamp) - extract(epoch from '2026-07-15 08:23: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'), 47643, 'SRID=4674;POINT (-40.329226 -2.778485)', '2026-07-15 08:24:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778489)'), GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778485)'))) / (select extract(epoch from '2026-07-15 08:24:05'::timestamp) - extract(epoch from '2026-07-15 08:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32923 -2.778489)'), GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778485)'))) / (select extract(epoch from '2026-07-15 08:24:05'::timestamp) - extract(epoch from '2026-07-15 08:23: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'), 47643, 'SRID=4674;POINT (-40.329194 -2.7785)', '2026-07-15 08:24:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778485)'), GeomFromEWKT('SRID=4674;POINT (-40.329194 -2.7785)'))) / (select extract(epoch from '2026-07-15 08:24:18'::timestamp) - extract(epoch from '2026-07-15 08:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329226 -2.778485)'), GeomFromEWKT('SRID=4674;POINT (-40.329194 -2.7785)'))) / (select extract(epoch from '2026-07-15 08:24:18'::timestamp) - extract(epoch from '2026-07-15 08:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329131 -2.778522)', '2026-07-15 08:24:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329194 -2.7785)'), GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778522)'))) / (select extract(epoch from '2026-07-15 08:24:32'::timestamp) - extract(epoch from '2026-07-15 08:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329194 -2.7785)'), GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778522)'))) / (select extract(epoch from '2026-07-15 08:24:32'::timestamp) - extract(epoch from '2026-07-15 08:24: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'), 47643, 'SRID=4674;POINT (-40.329042 -2.77855)', '2026-07-15 08:24:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778522)'), GeomFromEWKT('SRID=4674;POINT (-40.329042 -2.77855)'))) / (select extract(epoch from '2026-07-15 08:24:50'::timestamp) - extract(epoch from '2026-07-15 08:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329131 -2.778522)'), GeomFromEWKT('SRID=4674;POINT (-40.329042 -2.77855)'))) / (select extract(epoch from '2026-07-15 08:24:50'::timestamp) - extract(epoch from '2026-07-15 08:24: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'), 47643, 'SRID=4674;POINT (-40.328998 -2.778554)', '2026-07-15 08:24:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329042 -2.77855)'), GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.778554)'))) / (select extract(epoch from '2026-07-15 08:24:59'::timestamp) - extract(epoch from '2026-07-15 08:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329042 -2.77855)'), GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.778554)'))) / (select extract(epoch from '2026-07-15 08:24:59'::timestamp) - extract(epoch from '2026-07-15 08:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328975 -2.778549)', '2026-07-15 08:25:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.778554)'), GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.778549)'))) / (select extract(epoch from '2026-07-15 08:25:06'::timestamp) - extract(epoch from '2026-07-15 08:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328998 -2.778554)'), GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.778549)'))) / (select extract(epoch from '2026-07-15 08:25:06'::timestamp) - extract(epoch from '2026-07-15 08:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328971 -2.778549)', '2026-07-15 08:25:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.778549)'), GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778549)'))) / (select extract(epoch from '2026-07-15 08:25:16'::timestamp) - extract(epoch from '2026-07-15 08:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.778549)'), GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778549)'))) / (select extract(epoch from '2026-07-15 08:25:16'::timestamp) - extract(epoch from '2026-07-15 08:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32894 -2.778543)', '2026-07-15 08:25:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778549)'), GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.778543)'))) / (select extract(epoch from '2026-07-15 08:25:30'::timestamp) - extract(epoch from '2026-07-15 08:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328971 -2.778549)'), GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.778543)'))) / (select extract(epoch from '2026-07-15 08:25:30'::timestamp) - extract(epoch from '2026-07-15 08:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328932 -2.778533)', '2026-07-15 08:25:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.778543)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.778533)'))) / (select extract(epoch from '2026-07-15 08:25:43'::timestamp) - extract(epoch from '2026-07-15 08:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.778543)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.778533)'))) / (select extract(epoch from '2026-07-15 08:25:43'::timestamp) - extract(epoch from '2026-07-15 08:25: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'), 47643, 'SRID=4674;POINT (-40.328935 -2.778541)', '2026-07-15 08:25:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778541)'))) / (select extract(epoch from '2026-07-15 08:25:56'::timestamp) - extract(epoch from '2026-07-15 08:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778541)'))) / (select extract(epoch from '2026-07-15 08:25:56'::timestamp) - extract(epoch from '2026-07-15 08:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328933 -2.77854)', '2026-07-15 08:26:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778541)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.77854)'))) / (select extract(epoch from '2026-07-15 08:26:13'::timestamp) - extract(epoch from '2026-07-15 08:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328935 -2.778541)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.77854)'))) / (select extract(epoch from '2026-07-15 08:26:13'::timestamp) - extract(epoch from '2026-07-15 08:25: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'), 47643, 'SRID=4674;POINT (-40.328941 -2.77856)', '2026-07-15 08:26:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.77854)'), GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.77856)'))) / (select extract(epoch from '2026-07-15 08:26:26'::timestamp) - extract(epoch from '2026-07-15 08:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.77854)'), GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.77856)'))) / (select extract(epoch from '2026-07-15 08:26:26'::timestamp) - extract(epoch from '2026-07-15 08:26: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'), 47643, 'SRID=4674;POINT (-40.328939 -2.778566)', '2026-07-15 08:26:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.77856)'), GeomFromEWKT('SRID=4674;POINT (-40.328939 -2.778566)'))) / (select extract(epoch from '2026-07-15 08:26:41'::timestamp) - extract(epoch from '2026-07-15 08:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.77856)'), GeomFromEWKT('SRID=4674;POINT (-40.328939 -2.778566)'))) / (select extract(epoch from '2026-07-15 08:26:41'::timestamp) - extract(epoch from '2026-07-15 08:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328936 -2.778568)', '2026-07-15 08:26:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328939 -2.778566)'), GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778568)'))) / (select extract(epoch from '2026-07-15 08:26:58'::timestamp) - extract(epoch from '2026-07-15 08:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328939 -2.778566)'), GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778568)'))) / (select extract(epoch from '2026-07-15 08:26:58'::timestamp) - extract(epoch from '2026-07-15 08:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328934 -2.778573)', '2026-07-15 08:27:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778568)'), GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778573)'))) / (select extract(epoch from '2026-07-15 08:27:15'::timestamp) - extract(epoch from '2026-07-15 08:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778568)'), GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778573)'))) / (select extract(epoch from '2026-07-15 08:27:15'::timestamp) - extract(epoch from '2026-07-15 08:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.32894 -2.77858)', '2026-07-15 08:27:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778573)'), GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.77858)'))) / (select extract(epoch from '2026-07-15 08:27:26'::timestamp) - extract(epoch from '2026-07-15 08:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328934 -2.778573)'), GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.77858)'))) / (select extract(epoch from '2026-07-15 08:27:26'::timestamp) - extract(epoch from '2026-07-15 08:27: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'), 47643, 'SRID=4674;POINT (-40.328933 -2.778588)', '2026-07-15 08:27:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.77858)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.778588)'))) / (select extract(epoch from '2026-07-15 08:27:47'::timestamp) - extract(epoch from '2026-07-15 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32894 -2.77858)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.778588)'))) / (select extract(epoch from '2026-07-15 08:27:47'::timestamp) - extract(epoch from '2026-07-15 08:27: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'), 47643, 'SRID=4674;POINT (-40.328929 -2.77859)', '2026-07-15 08:27:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.778588)'), GeomFromEWKT('SRID=4674;POINT (-40.328929 -2.77859)'))) / (select extract(epoch from '2026-07-15 08:27:58'::timestamp) - extract(epoch from '2026-07-15 08:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.778588)'), GeomFromEWKT('SRID=4674;POINT (-40.328929 -2.77859)'))) / (select extract(epoch from '2026-07-15 08:27:58'::timestamp) - extract(epoch from '2026-07-15 08:27: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'), 47643, 'SRID=4674;POINT (-40.328928 -2.778603)', '2026-07-15 08:28:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328929 -2.77859)'), GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.778603)'))) / (select extract(epoch from '2026-07-15 08:28:18'::timestamp) - extract(epoch from '2026-07-15 08:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328929 -2.77859)'), GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.778603)'))) / (select extract(epoch from '2026-07-15 08:28:18'::timestamp) - extract(epoch from '2026-07-15 08:27: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'), 47643, 'SRID=4674;POINT (-40.328936 -2.778616)', '2026-07-15 08:28:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.778603)'), GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778616)'))) / (select extract(epoch from '2026-07-15 08:28:32'::timestamp) - extract(epoch from '2026-07-15 08:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.778603)'), GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778616)'))) / (select extract(epoch from '2026-07-15 08:28:32'::timestamp) - extract(epoch from '2026-07-15 08:28: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'), 47643, 'SRID=4674;POINT (-40.328941 -2.778619)', '2026-07-15 08:28:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778616)'), GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.778619)'))) / (select extract(epoch from '2026-07-15 08:28:48'::timestamp) - extract(epoch from '2026-07-15 08:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.778616)'), GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.778619)'))) / (select extract(epoch from '2026-07-15 08:28:48'::timestamp) - extract(epoch from '2026-07-15 08:28: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'), 47643, 'SRID=4674;POINT (-40.328959 -2.778615)', '2026-07-15 08:29:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.778619)'), GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.778615)'))) / (select extract(epoch from '2026-07-15 08:29:00'::timestamp) - extract(epoch from '2026-07-15 08:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328941 -2.778619)'), GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.778615)'))) / (select extract(epoch from '2026-07-15 08:29:00'::timestamp) - extract(epoch from '2026-07-15 08:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.328999 -2.77861)', '2026-07-15 08:29:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.778615)'), GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.77861)'))) / (select extract(epoch from '2026-07-15 08:29:17'::timestamp) - extract(epoch from '2026-07-15 08:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.778615)'), GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.77861)'))) / (select extract(epoch from '2026-07-15 08:29:17'::timestamp) - extract(epoch from '2026-07-15 08:29: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'), 47643, 'SRID=4674;POINT (-40.329078 -2.778604)', '2026-07-15 08:29:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.77861)'), GeomFromEWKT('SRID=4674;POINT (-40.329078 -2.778604)'))) / (select extract(epoch from '2026-07-15 08:29:30'::timestamp) - extract(epoch from '2026-07-15 08:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.77861)'), GeomFromEWKT('SRID=4674;POINT (-40.329078 -2.778604)'))) / (select extract(epoch from '2026-07-15 08:29:30'::timestamp) - extract(epoch from '2026-07-15 08:29: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'), 47643, 'SRID=4674;POINT (-40.329134 -2.778619)', '2026-07-15 08:29:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329078 -2.778604)'), GeomFromEWKT('SRID=4674;POINT (-40.329134 -2.778619)'))) / (select extract(epoch from '2026-07-15 08:29:42'::timestamp) - extract(epoch from '2026-07-15 08:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329078 -2.778604)'), GeomFromEWKT('SRID=4674;POINT (-40.329134 -2.778619)'))) / (select extract(epoch from '2026-07-15 08:29:42'::timestamp) - extract(epoch from '2026-07-15 08:29: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'), 47643, 'SRID=4674;POINT (-40.329209 -2.778639)', '2026-07-15 08:30:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329134 -2.778619)'), GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778639)'))) / (select extract(epoch from '2026-07-15 08:30:00'::timestamp) - extract(epoch from '2026-07-15 08:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329134 -2.778619)'), GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778639)'))) / (select extract(epoch from '2026-07-15 08:30:00'::timestamp) - extract(epoch from '2026-07-15 08:29: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'), 47643, 'SRID=4674;POINT (-40.329247 -2.778644)', '2026-07-15 08:30:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778639)'), GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.778644)'))) / (select extract(epoch from '2026-07-15 08:30:12'::timestamp) - extract(epoch from '2026-07-15 08:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329209 -2.778639)'), GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.778644)'))) / (select extract(epoch from '2026-07-15 08:30:12'::timestamp) - extract(epoch from '2026-07-15 08:30: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'), 47643, 'SRID=4674;POINT (-40.329265 -2.778652)', '2026-07-15 08:30:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.778644)'), GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778652)'))) / (select extract(epoch from '2026-07-15 08:30:26'::timestamp) - extract(epoch from '2026-07-15 08:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.778644)'), GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778652)'))) / (select extract(epoch from '2026-07-15 08:30:26'::timestamp) - extract(epoch from '2026-07-15 08:30: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'), 47643, 'SRID=4674;POINT (-40.329299 -2.778653)', '2026-07-15 08:30:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778652)'), GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778653)'))) / (select extract(epoch from '2026-07-15 08:30:35'::timestamp) - extract(epoch from '2026-07-15 08:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329265 -2.778652)'), GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778653)'))) / (select extract(epoch from '2026-07-15 08:30:35'::timestamp) - extract(epoch from '2026-07-15 08:30: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'), 47643, 'SRID=4674;POINT (-40.329366 -2.778634)', '2026-07-15 08:30:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778653)'), GeomFromEWKT('SRID=4674;POINT (-40.329366 -2.778634)'))) / (select extract(epoch from '2026-07-15 08:30:48'::timestamp) - extract(epoch from '2026-07-15 08:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329299 -2.778653)'), GeomFromEWKT('SRID=4674;POINT (-40.329366 -2.778634)'))) / (select extract(epoch from '2026-07-15 08:30:48'::timestamp) - extract(epoch from '2026-07-15 08:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329423 -2.778627)', '2026-07-15 08:31:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329366 -2.778634)'), GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.778627)'))) / (select extract(epoch from '2026-07-15 08:31:03'::timestamp) - extract(epoch from '2026-07-15 08:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329366 -2.778634)'), GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.778627)'))) / (select extract(epoch from '2026-07-15 08:31:03'::timestamp) - extract(epoch from '2026-07-15 08:30: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'), 47643, 'SRID=4674;POINT (-40.329483 -2.778561)', '2026-07-15 08:31:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.778627)'), GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778561)'))) / (select extract(epoch from '2026-07-15 08:31:13'::timestamp) - extract(epoch from '2026-07-15 08:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.778627)'), GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778561)'))) / (select extract(epoch from '2026-07-15 08:31:13'::timestamp) - extract(epoch from '2026-07-15 08:31: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'), 47643, 'SRID=4674;POINT (-40.329598 -2.7785)', '2026-07-15 08:31:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778561)'), GeomFromEWKT('SRID=4674;POINT (-40.329598 -2.7785)'))) / (select extract(epoch from '2026-07-15 08:31:22'::timestamp) - extract(epoch from '2026-07-15 08:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778561)'), GeomFromEWKT('SRID=4674;POINT (-40.329598 -2.7785)'))) / (select extract(epoch from '2026-07-15 08:31:22'::timestamp) - extract(epoch from '2026-07-15 08:31: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'), 47643, 'SRID=4674;POINT (-40.329616 -2.778508)', '2026-07-15 08:31:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329598 -2.7785)'), GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.778508)'))) / (select extract(epoch from '2026-07-15 08:31:23'::timestamp) - extract(epoch from '2026-07-15 08:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329598 -2.7785)'), GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.778508)'))) / (select extract(epoch from '2026-07-15 08:31:23'::timestamp) - extract(epoch from '2026-07-15 08:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329657 -2.778545)', '2026-07-15 08:31:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.778508)'), GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.778545)'))) / (select extract(epoch from '2026-07-15 08:31:27'::timestamp) - extract(epoch from '2026-07-15 08:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329616 -2.778508)'), GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.778545)'))) / (select extract(epoch from '2026-07-15 08:31:27'::timestamp) - extract(epoch from '2026-07-15 08:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329685 -2.778633)', '2026-07-15 08:31:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.778545)'), GeomFromEWKT('SRID=4674;POINT (-40.329685 -2.778633)'))) / (select extract(epoch from '2026-07-15 08:31:34'::timestamp) - extract(epoch from '2026-07-15 08:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.778545)'), GeomFromEWKT('SRID=4674;POINT (-40.329685 -2.778633)'))) / (select extract(epoch from '2026-07-15 08:31:34'::timestamp) - extract(epoch from '2026-07-15 08:31: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'), 47643, 'SRID=4674;POINT (-40.329681 -2.778643)', '2026-07-15 08:31:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329685 -2.778633)'), GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.778643)'))) / (select extract(epoch from '2026-07-15 08:31:35'::timestamp) - extract(epoch from '2026-07-15 08:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329685 -2.778633)'), GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.778643)'))) / (select extract(epoch from '2026-07-15 08:31:35'::timestamp) - extract(epoch from '2026-07-15 08:31: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'), 47643, 'SRID=4674;POINT (-40.329652 -2.778694)', '2026-07-15 08:31:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.778643)'), GeomFromEWKT('SRID=4674;POINT (-40.329652 -2.778694)'))) / (select extract(epoch from '2026-07-15 08:31:40'::timestamp) - extract(epoch from '2026-07-15 08:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329681 -2.778643)'), GeomFromEWKT('SRID=4674;POINT (-40.329652 -2.778694)'))) / (select extract(epoch from '2026-07-15 08:31:40'::timestamp) - extract(epoch from '2026-07-15 08:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329605 -2.77876)', '2026-07-15 08:31:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329652 -2.778694)'), GeomFromEWKT('SRID=4674;POINT (-40.329605 -2.77876)'))) / (select extract(epoch from '2026-07-15 08:31:47'::timestamp) - extract(epoch from '2026-07-15 08:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329652 -2.778694)'), GeomFromEWKT('SRID=4674;POINT (-40.329605 -2.77876)'))) / (select extract(epoch from '2026-07-15 08:31:47'::timestamp) - extract(epoch from '2026-07-15 08:31: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'), 47643, 'SRID=4674;POINT (-40.32957 -2.778844)', '2026-07-15 08:31:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329605 -2.77876)'), GeomFromEWKT('SRID=4674;POINT (-40.32957 -2.778844)'))) / (select extract(epoch from '2026-07-15 08:31:54'::timestamp) - extract(epoch from '2026-07-15 08:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329605 -2.77876)'), GeomFromEWKT('SRID=4674;POINT (-40.32957 -2.778844)'))) / (select extract(epoch from '2026-07-15 08:31:54'::timestamp) - extract(epoch from '2026-07-15 08:31: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'), 47643, 'SRID=4674;POINT (-40.329549 -2.778958)', '2026-07-15 08:32:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32957 -2.778844)'), GeomFromEWKT('SRID=4674;POINT (-40.329549 -2.778958)'))) / (select extract(epoch from '2026-07-15 08:32:03'::timestamp) - extract(epoch from '2026-07-15 08:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32957 -2.778844)'), GeomFromEWKT('SRID=4674;POINT (-40.329549 -2.778958)'))) / (select extract(epoch from '2026-07-15 08:32:03'::timestamp) - extract(epoch from '2026-07-15 08:31: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'), 47643, 'SRID=4674;POINT (-40.329535 -2.779001)', '2026-07-15 08:32:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329549 -2.778958)'), GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.779001)'))) / (select extract(epoch from '2026-07-15 08:32:07'::timestamp) - extract(epoch from '2026-07-15 08:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329549 -2.778958)'), GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.779001)'))) / (select extract(epoch from '2026-07-15 08:32:07'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329523 -2.779021)', '2026-07-15 08:32:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.779001)'), GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.779021)'))) / (select extract(epoch from '2026-07-15 08:32:09'::timestamp) - extract(epoch from '2026-07-15 08:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.779001)'), GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.779021)'))) / (select extract(epoch from '2026-07-15 08:32:09'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329505 -2.779089)', '2026-07-15 08:32:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.779021)'), GeomFromEWKT('SRID=4674;POINT (-40.329505 -2.779089)'))) / (select extract(epoch from '2026-07-15 08:32:15'::timestamp) - extract(epoch from '2026-07-15 08:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.779021)'), GeomFromEWKT('SRID=4674;POINT (-40.329505 -2.779089)'))) / (select extract(epoch from '2026-07-15 08:32:15'::timestamp) - extract(epoch from '2026-07-15 08:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.3295 -2.779101)', '2026-07-15 08:32:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329505 -2.779089)'), GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.779101)'))) / (select extract(epoch from '2026-07-15 08:32:16'::timestamp) - extract(epoch from '2026-07-15 08:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329505 -2.779089)'), GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.779101)'))) / (select extract(epoch from '2026-07-15 08:32:16'::timestamp) - extract(epoch from '2026-07-15 08:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329501 -2.779113)', '2026-07-15 08:32:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.779101)'), GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.779113)'))) / (select extract(epoch from '2026-07-15 08:32:17'::timestamp) - extract(epoch from '2026-07-15 08:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.779101)'), GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.779113)'))) / (select extract(epoch from '2026-07-15 08:32:17'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329498 -2.779158)', '2026-07-15 08:32:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.779113)'), GeomFromEWKT('SRID=4674;POINT (-40.329498 -2.779158)'))) / (select extract(epoch from '2026-07-15 08:32:21'::timestamp) - extract(epoch from '2026-07-15 08:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.779113)'), GeomFromEWKT('SRID=4674;POINT (-40.329498 -2.779158)'))) / (select extract(epoch from '2026-07-15 08:32:21'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329474 -2.779258)', '2026-07-15 08:32:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329498 -2.779158)'), GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.779258)'))) / (select extract(epoch from '2026-07-15 08:32:29'::timestamp) - extract(epoch from '2026-07-15 08:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329498 -2.779158)'), GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.779258)'))) / (select extract(epoch from '2026-07-15 08:32:29'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.32947 -2.779287)', '2026-07-15 08:32:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.779258)'), GeomFromEWKT('SRID=4674;POINT (-40.32947 -2.779287)'))) / (select extract(epoch from '2026-07-15 08:32:31'::timestamp) - extract(epoch from '2026-07-15 08:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.779258)'), GeomFromEWKT('SRID=4674;POINT (-40.32947 -2.779287)'))) / (select extract(epoch from '2026-07-15 08:32:31'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329465 -2.779328)', '2026-07-15 08:32:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32947 -2.779287)'), GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779328)'))) / (select extract(epoch from '2026-07-15 08:32:34'::timestamp) - extract(epoch from '2026-07-15 08:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32947 -2.779287)'), GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779328)'))) / (select extract(epoch from '2026-07-15 08:32:34'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329462 -2.779342)', '2026-07-15 08:32:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.779342)'))) / (select extract(epoch from '2026-07-15 08:32:35'::timestamp) - extract(epoch from '2026-07-15 08:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.779342)'))) / (select extract(epoch from '2026-07-15 08:32:35'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329454 -2.779427)', '2026-07-15 08:32:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.779342)'), GeomFromEWKT('SRID=4674;POINT (-40.329454 -2.779427)'))) / (select extract(epoch from '2026-07-15 08:32:41'::timestamp) - extract(epoch from '2026-07-15 08:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.779342)'), GeomFromEWKT('SRID=4674;POINT (-40.329454 -2.779427)'))) / (select extract(epoch from '2026-07-15 08:32:41'::timestamp) - extract(epoch from '2026-07-15 08:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329449 -2.779525)', '2026-07-15 08:32:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329454 -2.779427)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.779525)'))) / (select extract(epoch from '2026-07-15 08:32:48'::timestamp) - extract(epoch from '2026-07-15 08:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329454 -2.779427)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.779525)'))) / (select extract(epoch from '2026-07-15 08:32:48'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329446 -2.779589)', '2026-07-15 08:32:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.779525)'), GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.779589)'))) / (select extract(epoch from '2026-07-15 08:32:53'::timestamp) - extract(epoch from '2026-07-15 08:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.779525)'), GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.779589)'))) / (select extract(epoch from '2026-07-15 08:32:53'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329434 -2.779612)', '2026-07-15 08:32:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.779589)'), GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.779612)'))) / (select extract(epoch from '2026-07-15 08:32:55'::timestamp) - extract(epoch from '2026-07-15 08:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.779589)'), GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.779612)'))) / (select extract(epoch from '2026-07-15 08:32:55'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329416 -2.779649)', '2026-07-15 08:32:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.779612)'), GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779649)'))) / (select extract(epoch from '2026-07-15 08:32:58'::timestamp) - extract(epoch from '2026-07-15 08:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.779612)'), GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779649)'))) / (select extract(epoch from '2026-07-15 08:32:58'::timestamp) - extract(epoch from '2026-07-15 08:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329396 -2.779697)', '2026-07-15 08:33:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779649)'), GeomFromEWKT('SRID=4674;POINT (-40.329396 -2.779697)'))) / (select extract(epoch from '2026-07-15 08:33:02'::timestamp) - extract(epoch from '2026-07-15 08:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779649)'), GeomFromEWKT('SRID=4674;POINT (-40.329396 -2.779697)'))) / (select extract(epoch from '2026-07-15 08:33:02'::timestamp) - extract(epoch from '2026-07-15 08:32: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'), 47643, 'SRID=4674;POINT (-40.329356 -2.779778)', '2026-07-15 08:33:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329396 -2.779697)'), GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.779778)'))) / (select extract(epoch from '2026-07-15 08:33:09'::timestamp) - extract(epoch from '2026-07-15 08:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329396 -2.779697)'), GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.779778)'))) / (select extract(epoch from '2026-07-15 08:33:09'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329355 -2.779791)', '2026-07-15 08:33:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.779778)'), GeomFromEWKT('SRID=4674;POINT (-40.329355 -2.779791)'))) / (select extract(epoch from '2026-07-15 08:33:10'::timestamp) - extract(epoch from '2026-07-15 08:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.779778)'), GeomFromEWKT('SRID=4674;POINT (-40.329355 -2.779791)'))) / (select extract(epoch from '2026-07-15 08:33:10'::timestamp) - extract(epoch from '2026-07-15 08:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329347 -2.779845)', '2026-07-15 08:33:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329355 -2.779791)'), GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.779845)'))) / (select extract(epoch from '2026-07-15 08:33:14'::timestamp) - extract(epoch from '2026-07-15 08:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329355 -2.779791)'), GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.779845)'))) / (select extract(epoch from '2026-07-15 08:33:14'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329345 -2.779932)', '2026-07-15 08:33:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.779845)'), GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.779932)'))) / (select extract(epoch from '2026-07-15 08:33:21'::timestamp) - extract(epoch from '2026-07-15 08:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.779845)'), GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.779932)'))) / (select extract(epoch from '2026-07-15 08:33:21'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329342 -2.779942)', '2026-07-15 08:33:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.779932)'), GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.779942)'))) / (select extract(epoch from '2026-07-15 08:33:22'::timestamp) - extract(epoch from '2026-07-15 08:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.779932)'), GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.779942)'))) / (select extract(epoch from '2026-07-15 08:33:22'::timestamp) - extract(epoch from '2026-07-15 08:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329322 -2.780004)', '2026-07-15 08:33:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.779942)'), GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.780004)'))) / (select extract(epoch from '2026-07-15 08:33:28'::timestamp) - extract(epoch from '2026-07-15 08:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.779942)'), GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.780004)'))) / (select extract(epoch from '2026-07-15 08:33:28'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329308 -2.7801)', '2026-07-15 08:33:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.780004)'), GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.7801)'))) / (select extract(epoch from '2026-07-15 08:33:36'::timestamp) - extract(epoch from '2026-07-15 08:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.780004)'), GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.7801)'))) / (select extract(epoch from '2026-07-15 08:33:36'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329321 -2.780231)', '2026-07-15 08:33:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.7801)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.780231)'))) / (select extract(epoch from '2026-07-15 08:33:45'::timestamp) - extract(epoch from '2026-07-15 08:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.7801)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.780231)'))) / (select extract(epoch from '2026-07-15 08:33:45'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329323 -2.780326)', '2026-07-15 08:33:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.780231)'), GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.780326)'))) / (select extract(epoch from '2026-07-15 08:33:51'::timestamp) - extract(epoch from '2026-07-15 08:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.780231)'), GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.780326)'))) / (select extract(epoch from '2026-07-15 08:33:51'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329312 -2.780399)', '2026-07-15 08:33:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.780326)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780399)'))) / (select extract(epoch from '2026-07-15 08:33:57'::timestamp) - extract(epoch from '2026-07-15 08:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.780326)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780399)'))) / (select extract(epoch from '2026-07-15 08:33:57'::timestamp) - extract(epoch from '2026-07-15 08:33: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'), 47643, 'SRID=4674;POINT (-40.329312 -2.780507)', '2026-07-15 08:34:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780399)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780507)'))) / (select extract(epoch from '2026-07-15 08:34:04'::timestamp) - extract(epoch from '2026-07-15 08:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780399)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780507)'))) / (select extract(epoch from '2026-07-15 08:34:04'::timestamp) - extract(epoch from '2026-07-15 08:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329314 -2.780603)', '2026-07-15 08:34:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780507)'), GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.780603)'))) / (select extract(epoch from '2026-07-15 08:34:10'::timestamp) - extract(epoch from '2026-07-15 08:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.780507)'), GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.780603)'))) / (select extract(epoch from '2026-07-15 08:34:10'::timestamp) - extract(epoch from '2026-07-15 08:34: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'), 47643, 'SRID=4674;POINT (-40.329313 -2.780727)', '2026-07-15 08:34:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.780603)'), GeomFromEWKT('SRID=4674;POINT (-40.329313 -2.780727)'))) / (select extract(epoch from '2026-07-15 08:34:18'::timestamp) - extract(epoch from '2026-07-15 08:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329314 -2.780603)'), GeomFromEWKT('SRID=4674;POINT (-40.329313 -2.780727)'))) / (select extract(epoch from '2026-07-15 08:34:18'::timestamp) - extract(epoch from '2026-07-15 08:34: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'), 47643, 'SRID=4674;POINT (-40.329327 -2.780859)', '2026-07-15 08:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329313 -2.780727)'), GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.780859)'))) / (select extract(epoch from '2026-07-15 08:34:25'::timestamp) - extract(epoch from '2026-07-15 08:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329313 -2.780727)'), GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.780859)'))) / (select extract(epoch from '2026-07-15 08:34:25'::timestamp) - extract(epoch from '2026-07-15 08:34: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'), 47643, 'SRID=4674;POINT (-40.329356 -2.780982)', '2026-07-15 08:34:32', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.780859)'), GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.780982)'))) / (select extract(epoch from '2026-07-15 08:34:32'::timestamp) - extract(epoch from '2026-07-15 08:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.780859)'), GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.780982)'))) / (select extract(epoch from '2026-07-15 08:34:32'::timestamp) - extract(epoch from '2026-07-15 08:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329381 -2.781101)', '2026-07-15 08:34:39', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.780982)'), GeomFromEWKT('SRID=4674;POINT (-40.329381 -2.781101)'))) / (select extract(epoch from '2026-07-15 08:34:39'::timestamp) - extract(epoch from '2026-07-15 08:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.780982)'), GeomFromEWKT('SRID=4674;POINT (-40.329381 -2.781101)'))) / (select extract(epoch from '2026-07-15 08:34:39'::timestamp) - extract(epoch from '2026-07-15 08:34: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'), 47643, 'SRID=4674;POINT (-40.329412 -2.781201)', '2026-07-15 08:34:46', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329381 -2.781101)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.781201)'))) / (select extract(epoch from '2026-07-15 08:34:46'::timestamp) - extract(epoch from '2026-07-15 08:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329381 -2.781101)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.781201)'))) / (select extract(epoch from '2026-07-15 08:34:46'::timestamp) - extract(epoch from '2026-07-15 08:34: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'), 47643, 'SRID=4674;POINT (-40.329457 -2.781324)', '2026-07-15 08:34:53', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.781201)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'))) / (select extract(epoch from '2026-07-15 08:34:53'::timestamp) - extract(epoch from '2026-07-15 08:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.781201)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'))) / (select extract(epoch from '2026-07-15 08:34:53'::timestamp) - extract(epoch from '2026-07-15 08:34: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'), 47643, 'SRID=4674;POINT (-40.329478 -2.78144)', '2026-07-15 08:35:00', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'), GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.78144)'))) / (select extract(epoch from '2026-07-15 08:35:00'::timestamp) - extract(epoch from '2026-07-15 08:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'), GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.78144)'))) / (select extract(epoch from '2026-07-15 08:35:00'::timestamp) - extract(epoch from '2026-07-15 08:34: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'), 47643, 'SRID=4674;POINT (-40.329508 -2.781626)', '2026-07-15 08:35:10', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-40.329508 -2.781626)'))) / (select extract(epoch from '2026-07-15 08:35:10'::timestamp) - extract(epoch from '2026-07-15 08:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-40.329508 -2.781626)'))) / (select extract(epoch from '2026-07-15 08:35:10'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.329504 -2.781728)', '2026-07-15 08:35:16', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329508 -2.781626)'), GeomFromEWKT('SRID=4674;POINT (-40.329504 -2.781728)'))) / (select extract(epoch from '2026-07-15 08:35:16'::timestamp) - extract(epoch from '2026-07-15 08:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329508 -2.781626)'), GeomFromEWKT('SRID=4674;POINT (-40.329504 -2.781728)'))) / (select extract(epoch from '2026-07-15 08:35:16'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.32954 -2.781817)', '2026-07-15 08:35:22', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329504 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.781817)'))) / (select extract(epoch from '2026-07-15 08:35:22'::timestamp) - extract(epoch from '2026-07-15 08:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329504 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.781817)'))) / (select extract(epoch from '2026-07-15 08:35:22'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.329636 -2.781822)', '2026-07-15 08:35:27', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.781817)'), GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.781822)'))) / (select extract(epoch from '2026-07-15 08:35:27'::timestamp) - extract(epoch from '2026-07-15 08:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.781817)'), GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.781822)'))) / (select extract(epoch from '2026-07-15 08:35:27'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.329747 -2.781812)', '2026-07-15 08:35:33', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.781822)'), GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.781812)'))) / (select extract(epoch from '2026-07-15 08:35:33'::timestamp) - extract(epoch from '2026-07-15 08:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.781822)'), GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.781812)'))) / (select extract(epoch from '2026-07-15 08:35:33'::timestamp) - extract(epoch from '2026-07-15 08:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329774 -2.781823)', '2026-07-15 08:35:35', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.781812)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.781823)'))) / (select extract(epoch from '2026-07-15 08:35:35'::timestamp) - extract(epoch from '2026-07-15 08:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.781812)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.781823)'))) / (select extract(epoch from '2026-07-15 08:35:35'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.329817 -2.781852)', '2026-07-15 08:35:38', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.781823)'), GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.781852)'))) / (select extract(epoch from '2026-07-15 08:35:38'::timestamp) - extract(epoch from '2026-07-15 08:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.781823)'), GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.781852)'))) / (select extract(epoch from '2026-07-15 08:35:38'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.329866 -2.781955)', '2026-07-15 08:35:46', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.781852)'), GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.781955)'))) / (select extract(epoch from '2026-07-15 08:35:46'::timestamp) - extract(epoch from '2026-07-15 08:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329817 -2.781852)'), GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.781955)'))) / (select extract(epoch from '2026-07-15 08:35:46'::timestamp) - extract(epoch from '2026-07-15 08:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329867 -2.782046)', '2026-07-15 08:35:54', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.781955)'), GeomFromEWKT('SRID=4674;POINT (-40.329867 -2.782046)'))) / (select extract(epoch from '2026-07-15 08:35:54'::timestamp) - extract(epoch from '2026-07-15 08:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.781955)'), GeomFromEWKT('SRID=4674;POINT (-40.329867 -2.782046)'))) / (select extract(epoch from '2026-07-15 08:35:54'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.329866 -2.782061)', '2026-07-15 08:35:56', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329867 -2.782046)'), GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782061)'))) / (select extract(epoch from '2026-07-15 08:35:56'::timestamp) - extract(epoch from '2026-07-15 08:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329867 -2.782046)'), GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782061)'))) / (select extract(epoch from '2026-07-15 08:35:56'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.32986 -2.782078)', '2026-07-15 08:36:00', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782061)'), GeomFromEWKT('SRID=4674;POINT (-40.32986 -2.782078)'))) / (select extract(epoch from '2026-07-15 08:36:00'::timestamp) - extract(epoch from '2026-07-15 08:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329866 -2.782061)'), GeomFromEWKT('SRID=4674;POINT (-40.32986 -2.782078)'))) / (select extract(epoch from '2026-07-15 08:36:00'::timestamp) - extract(epoch from '2026-07-15 08:35: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'), 47643, 'SRID=4674;POINT (-40.329857 -2.782132)', '2026-07-15 08:36:13', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32986 -2.782078)'), GeomFromEWKT('SRID=4674;POINT (-40.329857 -2.782132)'))) / (select extract(epoch from '2026-07-15 08:36:13'::timestamp) - extract(epoch from '2026-07-15 08:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32986 -2.782078)'), GeomFromEWKT('SRID=4674;POINT (-40.329857 -2.782132)'))) / (select extract(epoch from '2026-07-15 08:36:13'::timestamp) - extract(epoch from '2026-07-15 08:36: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'), 47643, 'SRID=4674;POINT (-40.329832 -2.78217)', '2026-07-15 08:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329857 -2.782132)'), GeomFromEWKT('SRID=4674;POINT (-40.329832 -2.78217)'))) / (select extract(epoch from '2026-07-15 08:36:30'::timestamp) - extract(epoch from '2026-07-15 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329857 -2.782132)'), GeomFromEWKT('SRID=4674;POINT (-40.329832 -2.78217)'))) / (select extract(epoch from '2026-07-15 08:36:30'::timestamp) - extract(epoch from '2026-07-15 08:36: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'), 47643, 'SRID=4674;POINT (-40.329818 -2.782161)', '2026-07-15 08:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329832 -2.78217)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.782161)'))) / (select extract(epoch from '2026-07-15 08:36:44'::timestamp) - extract(epoch from '2026-07-15 08:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329832 -2.78217)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.782161)'))) / (select extract(epoch from '2026-07-15 08:36:44'::timestamp) - extract(epoch from '2026-07-15 08:36: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'), 47643, 'SRID=4674;POINT (-40.329786 -2.782157)', '2026-07-15 08:36:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.782161)'), GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782157)'))) / (select extract(epoch from '2026-07-15 08:36:56'::timestamp) - extract(epoch from '2026-07-15 08:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.782161)'), GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782157)'))) / (select extract(epoch from '2026-07-15 08:36:56'::timestamp) - extract(epoch from '2026-07-15 08:36: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'), 47643, 'SRID=4674;POINT (-40.329763 -2.782143)', '2026-07-15 08:37:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782157)'), GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.782143)'))) / (select extract(epoch from '2026-07-15 08:37:06'::timestamp) - extract(epoch from '2026-07-15 08:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782157)'), GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.782143)'))) / (select extract(epoch from '2026-07-15 08:37:06'::timestamp) - extract(epoch from '2026-07-15 08:36: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'), 47643, 'SRID=4674;POINT (-40.329762 -2.782147)', '2026-07-15 08:37:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.782143)'), GeomFromEWKT('SRID=4674;POINT (-40.329762 -2.782147)'))) / (select extract(epoch from '2026-07-15 08:37:17'::timestamp) - extract(epoch from '2026-07-15 08:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.782143)'), GeomFromEWKT('SRID=4674;POINT (-40.329762 -2.782147)'))) / (select extract(epoch from '2026-07-15 08:37:17'::timestamp) - extract(epoch from '2026-07-15 08:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329774 -2.782145)', '2026-07-15 08:37:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329762 -2.782147)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.782145)'))) / (select extract(epoch from '2026-07-15 08:37:27'::timestamp) - extract(epoch from '2026-07-15 08:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329762 -2.782147)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.782145)'))) / (select extract(epoch from '2026-07-15 08:37:27'::timestamp) - extract(epoch from '2026-07-15 08:37: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'), 47643, 'SRID=4674;POINT (-40.329773 -2.782153)', '2026-07-15 08:37:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.782145)'), GeomFromEWKT('SRID=4674;POINT (-40.329773 -2.782153)'))) / (select extract(epoch from '2026-07-15 08:37:44'::timestamp) - extract(epoch from '2026-07-15 08:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.782145)'), GeomFromEWKT('SRID=4674;POINT (-40.329773 -2.782153)'))) / (select extract(epoch from '2026-07-15 08:37:44'::timestamp) - extract(epoch from '2026-07-15 08:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329779 -2.782169)', '2026-07-15 08:37:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329773 -2.782153)'), GeomFromEWKT('SRID=4674;POINT (-40.329779 -2.782169)'))) / (select extract(epoch from '2026-07-15 08:37:55'::timestamp) - extract(epoch from '2026-07-15 08:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329773 -2.782153)'), GeomFromEWKT('SRID=4674;POINT (-40.329779 -2.782169)'))) / (select extract(epoch from '2026-07-15 08:37:55'::timestamp) - extract(epoch from '2026-07-15 08:37: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'), 47643, 'SRID=4674;POINT (-40.329786 -2.782176)', '2026-07-15 08:38:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329779 -2.782169)'), GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782176)'))) / (select extract(epoch from '2026-07-15 08:38:08'::timestamp) - extract(epoch from '2026-07-15 08:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329779 -2.782169)'), GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782176)'))) / (select extract(epoch from '2026-07-15 08:38:08'::timestamp) - extract(epoch from '2026-07-15 08:37: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'), 47643, 'SRID=4674;POINT (-40.329784 -2.782177)', '2026-07-15 08:38:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782176)'), GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782177)'))) / (select extract(epoch from '2026-07-15 08:38:20'::timestamp) - extract(epoch from '2026-07-15 08:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329786 -2.782176)'), GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782177)'))) / (select extract(epoch from '2026-07-15 08:38:20'::timestamp) - extract(epoch from '2026-07-15 08:38: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'), 47643, 'SRID=4674;POINT (-40.329784 -2.782181)', '2026-07-15 08:38:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782177)'), GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782181)'))) / (select extract(epoch from '2026-07-15 08:38:35'::timestamp) - extract(epoch from '2026-07-15 08:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782177)'), GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782181)'))) / (select extract(epoch from '2026-07-15 08:38:35'::timestamp) - extract(epoch from '2026-07-15 08:38: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'), 47643, 'SRID=4674;POINT (-40.329775 -2.782182)', '2026-07-15 08:38:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782181)'), GeomFromEWKT('SRID=4674;POINT (-40.329775 -2.782182)'))) / (select extract(epoch from '2026-07-15 08:38:52'::timestamp) - extract(epoch from '2026-07-15 08:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.782181)'), GeomFromEWKT('SRID=4674;POINT (-40.329775 -2.782182)'))) / (select extract(epoch from '2026-07-15 08:38:52'::timestamp) - extract(epoch from '2026-07-15 08:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329776 -2.782178)', '2026-07-15 08:39:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329775 -2.782182)'), GeomFromEWKT('SRID=4674;POINT (-40.329776 -2.782178)'))) / (select extract(epoch from '2026-07-15 08:39:07'::timestamp) - extract(epoch from '2026-07-15 08:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329775 -2.782182)'), GeomFromEWKT('SRID=4674;POINT (-40.329776 -2.782178)'))) / (select extract(epoch from '2026-07-15 08:39:07'::timestamp) - extract(epoch from '2026-07-15 08:38: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'), 47643, 'SRID=4674;POINT (-40.329782 -2.782185)', '2026-07-15 08:39:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329776 -2.782178)'), GeomFromEWKT('SRID=4674;POINT (-40.329782 -2.782185)'))) / (select extract(epoch from '2026-07-15 08:39:19'::timestamp) - extract(epoch from '2026-07-15 08:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329776 -2.782178)'), GeomFromEWKT('SRID=4674;POINT (-40.329782 -2.782185)'))) / (select extract(epoch from '2026-07-15 08:39:19'::timestamp) - extract(epoch from '2026-07-15 08:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47643, 'SRID=4674;POINT (-40.329779 -2.78219)', '2026-07-15 08:39:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329782 -2.782185)'), GeomFromEWKT('SRID=4674;POINT (-40.329779 -2.78219)'))) / (select extract(epoch from '2026-07-15 08:39:36'::timestamp) - extract(epoch from '2026-07-15 08:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329782 -2.782185)'), GeomFromEWKT('SRID=4674;POINT (-40.329779 -2.78219)'))) / (select extract(epoch from '2026-07-15 08:39:36'::timestamp) - extract(epoch from '2026-07-15 08:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
